1 2011-05-13 Glenn Morris <rgm@gnu.org>
3 * calendar/appt.el (appt-make-list): Simplify.
5 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7 * progmodes/ld-script.el (ld-script-keywords)
8 (ld-script-builtins): Update keywords list.
10 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14 * shell.el (shell-completion-vars): New function.
16 * simple.el (read-shell-command): Use it.
17 (blink-matching-open): No need for " [...]" in minibuffer-message.
19 2011-05-12 Glenn Morris <rgm@gnu.org>
21 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22 (appt-check): Simplify.
24 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26 * smerge-mode.el (smerge-resolve): Use null-device rather than a
29 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
31 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
34 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
36 * progmodes/which-func.el (which-function):
37 Use add-log-current-defun instead of add-log-current-defun-function,
38 which might not be defined (Bug#8260).
40 2011-05-12 Glenn Morris <rgm@gnu.org>
42 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
43 Let byte-compile-initial-macro-environment always take precedence.
45 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
47 * net/rcirc.el: Add support for SSL/TLS connections.
48 (rcirc-server-alist): New field `encryption'.
49 (rcirc): Check `encryption' settings.
50 (rcirc-connect): New arg `encryption'. Use open-network-stream.
51 Merge make-local-variable into `set'.
52 (rcirc--connection-open-p): New function.
53 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
54 the process is not a network process (e.g. running gnutls-cli).
55 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
56 Make rcirc-(en|de)code-coding-system local here.
57 (rcirc-mode): Merge make-local-variable into `set'.
58 (rcirc-parent-buffer): Make permanent buffer-local.
59 (rcirc-multiline-minor-mode): Don't do it here.
60 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
61 there's no server buffer.
63 2011-05-11 Glenn Morris <rgm@gnu.org>
65 * newcomment.el (comment-kill): Prefix "unused" local.
67 * term/w32console.el (get-screen-color): Declare.
69 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
70 Handle symbol elements of byte-compile-initial-macro-environment.
72 2011-05-10 Leo Liu <sdl.web@gmail.com>
74 * bookmark.el (bookmark-bmenu-mode-map):
75 Bind bookmark-bmenu-search to `/'.
77 * mail/footnote.el: Convert to utf-8 encoding.
78 (footnote-unicode-string, footnote-unicode-regexp): New variable.
79 (Footnote-unicode): New function.
80 (footnote-style-alist): Add unicode style to the list.
81 (footnote-style): Doc fix.
83 2011-05-10 Jim Meyering <meyering@redhat.com>
85 Fix doubled-word typos.
86 * international/quail.el (quail-insert-kbd-layout): and and -> and
87 * kermit.el: and and -> and
88 * net/ldap.el (ldap-search-internal): to to -> to
89 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
90 * progmodes/js.el (js-mode): and and -> and
91 * textmodes/artist.el (artist-move-to-xy): at at -> at
92 (artist-draw-region-trim-line-endings): if if -> if
93 And Safetyc -> Safety.
94 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
96 2011-05-10 Glenn Morris <rgm@gnu.org>
97 Stefan Monnier <monnier@iro.umontreal.ca>
99 * files.el (hack-one-local-variable-eval-safep):
100 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
102 2011-05-10 Glenn Morris <rgm@gnu.org>
104 * calendar/diary-lib.el (diary-list-entries-hook)
105 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
106 (diary-nongregorian-marking-hook, diary-list-entries)
107 (diary-include-other-diary-files, diary-mark-entries)
108 (diary-mark-included-diary-files): Doc fixes.
110 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
112 * misc.el: Require tabulated-list.el during compilation.
114 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
116 * progmodes/compile.el (compilation-start):
117 Run compilation-filter-hook for the async case too.
118 (compilation-filter-hook): Doc fix.
120 2011-05-09 Deniz Dogan <deniz@dogan.se>
122 * wdired.el: Remove outdated installation comment. Fix usage
125 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
127 * misc.el: Implement new command `list-dynamic-libraries'.
128 (list-dynamic-libraries--loaded-only-p): New variable.
129 (list-dynamic-libraries--refresh): New function.
130 (list-dynamic-libraries): New command.
132 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
135 Fix the ant regexp to handle end-line and end-column info from jikes.
136 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
137 higher priority to avoid clobbering by gnu.
139 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
141 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
142 if the face has existing theme settings (Bug#8454).
144 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
146 * progmodes/perl-mode.el (perl-imenu-generic-expression):
147 Only match variables declared via `my' or `our' (Bug#8261).
149 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
150 special file names `.' and `..' (Bug#8259).
152 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
154 * progmodes/grep.el (grep-mode-font-lock-keywords):
155 Remove buffer-changing entries.
156 (grep-filter): New function.
157 (grep-mode): Add it to compilation-filter-hook.
159 * progmodes/compile.el (compilation-filter-hook)
160 (compilation-filter-start): New defvars.
161 (compilation-filter): Call compilation-filter-hook prior to
162 updating the process mark.
164 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
166 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
168 2011-05-07 Eli Zaretskii <eliz@gnu.org>
170 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
171 mailclient-send-it even if window-system is nil. (Bug#8595)
173 * term/w32console.el (terminal-init-w32console):
174 Call get-screen-color and use its output to set the frame
175 background-mode. (Bug#8597)
177 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
179 Make bytecomp.el understand that defmethod defines funs (bug#8631).
180 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
182 (defgeneric, eieio--defmethod): Use them.
183 (eieio-defgeneric): Remove.
184 (defmethod): Call defgeneric in a way visible to the byte-compiler.
186 2011-05-07 Glenn Morris <rgm@gnu.org>
188 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
189 Use let rather than let*.
190 (timeclock-find-discrep): Remove unused local.
192 * calendar/diary-lib.el (diary-comment-start): Doc fix.
194 * calendar/appt.el (appt-time-msg-list): Doc fix.
196 2011-05-06 Noah Friedman <friedman@splode.com>
198 * apropos.el (apropos-print-doc): Only use
199 emacs-lisp-docstring-fill-column when it is bound to an integer,
200 per that variable's documentation.
202 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
204 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
205 and warnings are not silently discarded (e.g. use -d instead of -P).
207 2011-05-06 Glenn Morris <rgm@gnu.org>
209 * calendar/appt.el (appt-message-warning-time): Doc fix.
210 (appt-warning-time-regexp): New option.
211 (appt-make-list): Respect appt-message-warning-time.
213 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
215 (diary-add-to-list): Strip comments from the displayed string.
216 (diary-mode): Set comment-start and comment-end.
218 * vc/diff-mode.el (smerge-refine-subst): Declare.
219 (diff-refine-hunk): Don't require smerge-mode when compiling.
221 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
223 * simple.el (list-processes): Return nil as the docstring says.
225 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
227 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
229 (ange-ftp-write-region, ange-ftp-insert-file-contents)
230 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
231 determining of binary transfer. (Bug#7383)
233 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
235 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
236 Fix port computation bug. (Bug#8618)
238 2011-05-05 Glenn Morris <rgm@gnu.org>
240 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
242 * simple.el (shell-dynamic-complete-functions)
243 (comint-dynamic-complete-functions): Declare.
245 * net/network-stream.el (gnutls-negotiate):
246 * simple.el (tabulated-list-print): Fix declarations.
248 * progmodes/gud.el (syntax-symbol, syntax-point):
249 Remove unnecessary and incorrect declarations.
251 * emacs-lisp/check-declare.el (check-declare-scan):
252 Handle byte-compile-initial-macro-environment in bytecomp.el
254 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
256 Fix earlier half-done eieio-defmethod change (bug#8338).
257 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
258 Streamline and change calling convention.
259 (defmethod): Adjust accordingly and simplify.
260 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
261 new eieio--defmethod.
262 (slot-boundp): Minor CSE simplification.
264 2011-05-05 Milan Zamazal <pdm@zamazal.org>
266 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
267 (glasses-make-readable): Use glasses-separate-capital-groups.
269 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
271 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
272 (warning-series): Doc fix.
273 (display-warning): Don't try to create the buffer if we just found it.
275 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
277 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
278 (autoload-find-generated-file): New function.
279 (generate-file-autoloads): Bind generated-autoload-file to
281 (update-file-autoloads, update-directory-autoloads):
282 Use autoload-find-generated-file. If called interactively, prompt for
283 output file (Bug#7989).
284 (batch-update-autoloads): Doc fix.
286 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
288 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
290 2011-05-04 Glenn Morris <rgm@gnu.org>
292 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
293 function, so it follows changes in calendar-date-style.
294 (diary-fancy-date-matcher): New function.
295 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
296 (diary-fancy-font-lock-fontify-region-function):
297 Use diary-fancy-date-pattern as a function.
299 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
300 non-numbers for `year' etc pseudo-variables. (Bug#8583)
302 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
304 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
305 instead of positional arguments. Allow :keylist and :crlfiles
307 (open-gnutls-stream): Call it.
309 * net/network-stream.el (network-stream-open-starttls): Adjust to
310 call `gnutls-negotiate' with :process and :hostname arguments.
312 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
314 * minibuffer.el (completion--message): New function.
315 (completion--do-completion, minibuffer-complete)
316 (minibuffer-force-complete, minibuffer-complete-word): Use it.
317 (completion--do-completion): Don't ignore completion-auto-help when in
320 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
321 internal encoding (e.g. tibetan zero is not whitespace).
322 (global-whitespace-mode): Prefer save-current-buffer.
323 (whitespace-trailing-regexp): Remove useless save-match-data.
324 (whitespace-empty-at-bob-regexp): Minor simplification.
326 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
328 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
330 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
332 * textmodes/ispell.el (ispell-add-per-file-word-list):
333 Use `concat' to create string for insertion.
335 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
337 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
338 Avoid open-line which runs post-self-insert-hook.
339 (bibtex-fill-entry): Remove unused `end' var.
341 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
343 * textmodes/ispell.el (ispell-add-per-file-word-list):
344 Protect against `nil' value of `comment-start' (Bug#8579).
346 2011-05-03 Leo Liu <sdl.web@gmail.com>
348 * isearch.el (isearch-yank-pop): New command.
349 (isearch-mode-map): Bind it to `M-y'.
350 (isearch-forward): Mention it.
352 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
354 * simple.el (minibuffer-complete-shell-command): Remove.
355 (minibuffer-local-shell-command-map): Use completion-at-point.
356 (read-shell-command): Setup completion vars here instead.
357 (read-expression-map): Bind TAB to symbol completion.
359 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
360 error directly rather via storing it into `results'.
362 2011-05-02 Leo Liu <sdl.web@gmail.com>
364 * vc/diff.el: Fix description.
366 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
368 * server.el (server-eval-at): New function.
370 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
372 * net/network-stream.el (open-network-stream): Take a :nowait
373 parameter and pass it on to `make-network-process'.
374 (network-stream-open-plain): Ditto.
376 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
378 * faces.el (face-spec-set-match-display): Don't match toolkit
379 options on terminal frames.
381 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
383 * progmodes/pascal.el: Use lexical binding.
384 (pascal-mode-map): Remove author preferences.
386 * pcomplete.el (pcomplete-std-complete): Don't abuse
389 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
391 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
392 removing code that has been dead since 1991 or so.
394 * startup.el (command-line): When warning about "_emacs", use a
395 delayed warning to allow the user to filter it out.
397 2011-04-28 Deniz Dogan <deniz@dogan.se>
399 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
402 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
404 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
405 aren't any completions at point.
407 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
409 * subr.el (display-delayed-warnings): New function.
410 (delayed-warnings-hook): New variable.
412 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
414 * minibuffer.el (completion-at-point, completion-help-at-point):
415 Don't presume that a given completion-at-point-function will always
416 use the same calling convention.
418 * pcomplete.el (pcomplete-completions-at-point):
419 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
420 pcomplete-seen is non-nil.
421 (pcomplete-comint-setup): Also recognize the new comint/shell
422 completion functions.
423 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
424 pcomplete-seen is non-nil.
426 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
428 * calendar/icalendar.el (diary-lib): Add require statement.
429 (icalendar--create-uid): Read out a uid from a text-property on
430 the first character in the entry. This allows for code to add its
431 own uid to the entry.
432 (icalendar--convert-float-to-ical): Add export of
433 `diary-float'-entries save for those with the optional DAY
436 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
438 * subr.el (shell-quote-argument): Use alternate escaping strategy
439 when we spot a variable reference in a string.
441 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
443 * cus-start.el (all): Define customization for debug-on-event.
445 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
447 * subr.el (shell-quote-argument): Escape correctly under Windows.
449 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
451 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
453 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
455 * net/tramp.el (tramp-process-actions): Add POS argument.
456 Delete region between POS and (pos).
458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
459 Use `nil' position in `tramp-process-actions' call.
460 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
462 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
463 position in `tramp-process-actions' call.
465 * net/trampver.el: Update release number.
467 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
469 * custom.el (defcustom): Obey lexical-binding.
471 Fix octave-inf completion problems reported by Alexander Klimov.
472 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
473 Inherit from octave-mode-syntax-table.
474 (inferior-octave-mode): Set info-lookup-mode.
475 (inferior-octave-completion-at-point): New function.
476 (inferior-octave-complete): Use it and completion-in-region.
477 (inferior-octave-dynamic-complete-functions): Use it as well, and use
478 comint-filename-completion.
479 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
480 symbol elements which shouldn't be word elements.
481 (octave-font-lock-keywords, octave-beginning-of-defun)
482 (octave-function-header-regexp): Adjust regexps accordingly.
483 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
485 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
487 * net/gnutls.el (gnutls-errorp): Declare before first use.
489 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
491 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
492 verify-error, and verify-hostname-error parameters. Check whether
493 default trustfile exists before going to use it. Add missing
494 argument to gnutls-message-maybe call. Return return value.
495 Reported by Claudio Bley <claudio.bley@gmail.com>.
496 (open-gnutls-stream): Add usage example.
498 * net/network-stream.el (network-stream-open-starttls): Give host
499 parameter to `gnutls-negotiate'.
500 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
501 * subr.el (shell-quote-argument): Escape correctly under Windows.
503 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
505 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
506 Use correct match group (bug#8438).
508 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
510 * emacs-lisp/package.el (package-built-in-p): Fix typo.
511 (package-menu--generate): New arg specifying packages to show.
512 (package-menu-refresh, package-menu-execute, list-packages):
514 (package-show-package-list): New function, replacing deleted
515 package--list-packages (renamed because it is non-internal).
517 * finder.el (finder-list-matches): Use package-show-package-list
518 instead of deleted package--list-packages.
520 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
521 Based on a previous implementation by Juanma Barranquero (Bug#8366).
522 (vc-annotate-mode-map): Bind it to RET.
524 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
526 * progmodes/etags.el (next-file): Don't use set-buffer to change
529 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
531 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
533 * apropos.el (apropos-label-face): Avoid variable-pitch face.
534 (apropos-accumulator): Doc fix.
535 (apropos-function, apropos-macro, apropos-command)
536 (apropos-variable, apropos-face, apropos-group, apropos-widget)
537 (apropos-plist): Add face property.
538 (apropos-symbols-internal): Fix indentation.
539 (apropos-print): Simplify help, and recognize apropos-multi-type.
540 (apropos-print-doc): Use button-type-get to extract the button's
541 face property. Fill docstring (Bug#8352).
543 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
545 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
547 * play/mpuz.el (mpuz-silent): Doc fix.
548 (mpuz-mode-map): Use mapc.
549 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
550 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
551 Fix typos in docstrings.
553 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
554 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
556 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
558 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
560 * minibuffer.el (completion--do-completion): Avoid the "Next char
561 not unique" prompt if icomplete-mode is enabled (Bug#5849).
563 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
564 mouse-2 into unread-command-events, it is interpreted correctly.
566 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
567 (image-toggle-display): Doc fix.
569 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
571 * textmodes/page.el (what-page): Use line-number-at-pos to
572 calculate line number (Bug#6825).
574 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
576 * eshell/esh-mode.el (find-tag-interactive): Declare function.
577 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
578 Pass argument NO-DEFAULT to `find-tag-interactive'.
580 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
582 Lexical-binding cleanup.
584 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
585 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
586 * progmodes/ada-prj.el (ada-prj-initialize-values)
587 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
588 (ada-prj-show-value):
589 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
590 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
591 (antlr-invalidate-context-cache, antlr-options-menu-filter)
592 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
593 * progmodes/bug-reference.el (bug-reference-push-button):
594 * progmodes/fortran.el (fortran-line-length):
595 * progmodes/glasses.el (glasses-change):
596 * progmodes/octave-mod.el (octave-fill-paragraph):
597 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
598 (python-pdbtrack-grub-for-buffer, python-sentinel):
599 * progmodes/sql.el (sql-save-connection):
600 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
601 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
602 Mark unused parameters.
604 * progmodes/compile.el (compilation--flush-directory-cache)
605 (compilation--flush-parse, compile-internal): Mark unused parameters.
606 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
607 (compilation-next-error-function): Remove unused variable `timestamp'.
609 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
610 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
612 * progmodes/dcl-mode.el (dcl-end-of-command):
613 Remove unused variable `start'.
614 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
615 (dcl-option-value-basic, dcl-option-value-offset)
616 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
617 Mark unused parameters.
618 (dcl-save-local-variable): Remove unused variable `val'.
621 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
622 Mark unused parameters.
623 (delphi-ignore-changes): Move before first use.
624 (delphi-charset-token-at): Remove unused variable `start'.
625 (delphi-else-start): Remove unused variable `if-count'.
626 (delphi-comment-block-start, delphi-comment-block-end):
627 Remove unused variable `kind'.
628 (delphi-indent-line): Remove unused variable `new-point'.
630 * progmodes/ebrowse.el (ebrowse-files-list)
631 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
632 Mark unused parameters. Don't quote `lambda'.
633 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
634 Don't quote `lambda'.
635 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
636 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
637 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
638 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
640 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
641 (ebrowse-view/find-file-and-search-pattern)
642 (ebrowse-view/find-member-declaration/definition):
643 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
644 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
645 Rename parameter PREFIX-ARG to PREFIX.
646 (ebrowse-tags-read-name): Remove unused variables `start' and
648 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
651 * progmodes/etags.el (local-find-tag-hook): Declare.
652 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
653 Mark unused parameters.
655 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
656 (executable-interpret): Mark unused parameter.
658 * progmodes/flymake.el (flymake-process-sentinel)
659 (flymake-after-change-function)
660 (flymake-create-temp-with-folder-structure)
661 (flymake-get-include-dirs-dot): Mark unused parameters.
662 (flymake-safe-delete-directory): Remove unused variable `err'.
664 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
665 (speedbar-timer-fn, speedbar-line-text)
666 (speedbar-change-expand-button-char, speedbar-delete-subblock)
667 (speedbar-center-buffer-smartly): Declare functions.
668 (gdb-find-watch-expression): Remove unused variable `array'.
669 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
670 (gdb-starting): Mark unused parameters.
671 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
672 (gdb-table-string): Remove unused variable `res'.
673 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
674 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
675 (gdb-display-buffer): Remove unused variable `cur-size'.
677 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
678 allow lexical-binding compilation.
679 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
680 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
681 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
682 Mark unused parameters.
683 (gud-gdb-marker-filter): Remove unused variable `match'.
684 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
685 lambda expressions and funcall them, instead of using `fset'.
687 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
688 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
690 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
691 variable `header-beg'; use `let'.
693 * progmodes/icon.el (indent-icon-exp): Remove unused variables
694 `restart', `last-sexp' and `at-do'.
696 * progmodes/js.el (js--debug): Mark unused parameter.
697 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
698 (js--splice-into-items): Remove unused variable `item'.
699 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
701 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
702 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
703 (makefile-complete): Remove unused variable `try'.
704 (makefile-fill-paragraph, makefile-match-function-end):
705 Mark unused parameters.
707 * progmodes/octave-inf.el (inferior-octave-complete):
708 Remove unused variable `proc'.
709 (inferior-octave-output-digest): Mark unused parameter.
711 * progmodes/perl-mode.el (perl-calculate-indent):
712 Remove unused variable `err'.
714 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
715 (prolog-indent-line): Mark unused parameters.
716 (prolog-indent-line): Remove unused variable `beg'.
718 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
719 (reporter-dont-compact-list): Declare.
721 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
722 Remove unused variable `char'.
723 (sh-debug): Mark unused parameter.
724 (sh-get-indent-info): Remove unused variable `start'.
725 (sh-calculate-indent): Remove unused variable `var'.
727 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
728 (simula-electric-keyword): Remove unused variable `null'.
729 (simula-search-backward, simula-search-forward): Remove unused
730 variables `begin' and `end'.
732 * progmodes/vera-mode.el (vera-guess-basic-syntax):
733 Remove unused variable `pos'.
734 (vera-electric-tab, vera-comment-uncomment-region):
735 Mark unused parameters.
736 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
738 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
740 * emacs-lisp/package.el (package--builtins, package-alist)
741 (package-load-descriptor, package-built-in-p, package-activate)
742 (define-package, package-installed-p)
743 (package-compute-transaction, package-buffer-info)
744 (package--push): Doc fix. Distinguish more clearly between
745 version strings and version lists.
747 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
749 Lexical-binding cleanup.
751 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
752 (5x5-make-mutate-best):
753 * play/fortune.el (fortune-in-buffer):
754 * play/gomoku.el (gomoku-init-display):
755 * play/solitaire.el (solitaire, solitaire-do-check):
756 * play/tetris.el (tetris-default-update-speed-function):
757 Mark unused parameters.
759 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
760 (bubbles--shift): Remove unused variable `char-org'.
761 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
762 (bubbles--show-images): Remove unused variable `char'.
764 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
765 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
766 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
767 (decipher-analyze-buffer): Use ?\s.
768 (decipher-make-checkpoint): Remove unused variable `mapping'.
770 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
772 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
773 Remove unused variable `result'; use `let'.
775 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
776 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
777 (gametree-children-shown-p, gametree-compute-reduced-score):
780 * play/handwrite.el (ps-lpr-switches): Declare.
781 (handwrite): Remove unused variables `pmin' and `lastp'.
783 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
785 * play/landmark.el (landmark-init-display)
786 (landmark-update-naught-weights): Mark unused parameters.
787 (landmark-y): Remove unused variable `noise'. Simplify.
788 (landmark-human-plays): Remove unused variable `score'.
790 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
791 (mpuz-try-proposal): Remove unused variable `game'.
793 * play/zone.el (life-patterns): Declare.
795 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
797 * vc/vc.el (ediff-vc-internal): Declare function.
799 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
801 * shell.el: Use lexical-binding and std completion UI.
802 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
803 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
804 comint-preoutput-filter-functions rather than on
805 comint-output-filter-functions.
806 (shell-command-completion, shell--command-completion-data)
807 (shell-filename-completion, shell-environment-variable-completion)
808 (shell-c-a-p-replace-by-expanded-directory): New functions.
809 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
810 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
811 (shell-dynamic-complete-environment-variable): Use them.
812 (shell-dynamic-complete-as-environment-variable)
813 (shell-dynamic-complete-as-command): Remove.
814 (shell-match-partial-variable): Match past point.
815 * comint.el: Clean up use of completion-at-point-functions.
816 (comint-completion-at-point): New function.
817 (comint-mode): Use it completion-at-point-functions.
818 (comint-dynamic-complete): Make it obsolete.
819 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
820 (comint-c-a-p-replace-by-expanded-history): New function.
821 (comint-dynamic-complete-functions)
822 (comint-replace-by-expanded-history): Use it.
823 * minibuffer.el (completion-table-with-terminator): Allow dynamic
824 termination strings. Try harder to avoid second try-completion.
825 (completion-in-region-mode-map): Disable bindings that don't work yet.
827 * comint.el: Use lexical-binding. Require CL.
828 (comint-dynamic-complete-functions): Use comint-filename-completion.
829 (comint-completion-addsuffix): Tweak custom type.
830 (comint-filename-completion, comint--common-suffix)
831 (comint--common-quoted-suffix, comint--table-subvert)
832 (comint--complete-file-name-data): New functions.
833 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
834 (comint-dynamic-list-filename-completions): Use them.
835 (comint-dynamic-simple-complete): Make obsolete.
837 * minibuffer.el (completion-in-region-mode):
838 Keep completion-in-region-mode--predicate global.
839 (completion-in-region--postch):
840 Assume completion-in-region-mode--predicate is not null.
842 * progmodes/flymake.el (flymake-start-syntax-check-process):
843 Obey `dir'. Simplify.
845 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
846 we're in VC after all.
848 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
850 * vc/vc.el (vc-diff-build-argument-list-internal)
851 (vc-version-ediff, vc-ediff): New commands.
852 (vc-version-diff): Use vc-diff-build-argument-list-internal.
854 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
856 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
859 * obsolete/erc-hecomplete.el: Make obsolete.
860 * obsolete/: Standardize obsolescence info in the header.
862 2011-04-20 Glenn Morris <rgm@gnu.org>
864 * calendar/solar.el (solar-horizontal-coordinates):
865 Use the longitude argument rather than `calendar-longitude'.
866 (solar-date-next-longitude): Remove unused locals.
868 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
870 * whitespace.el: New version 13.2.1.
872 2011-04-20 felix <EmacsWiki> (tiny change)
874 * whitespace.el (global-whitespace-mode): keep highlight when
875 switching between major modes on a file.
877 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
879 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
880 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
881 multi-line comments as well.
883 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
885 Lexical-binding cleanup.
887 * arc-mode.el (archive-mode-revert):
888 * cmuscheme.el (scheme-interactively-start-process):
889 * custom.el (custom-initialize-delay):
890 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
891 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
892 * emacs-lock.el (emacs-lock-clear-sentinel):
893 * ezimage.el (defezimage):
894 * follow.el (follow-avoid-tail-recenter):
895 * fringe.el (set-fringe-mode-1):
896 * generic-x.el (bat-generic-mode-compile):
897 * help-mode.el (help-info-variable, help-do-xref)
898 (help-mode-revert-buffer):
899 * help.el (view-emacs-todo):
900 * iswitchb.el (iswitchb-completion-help):
901 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
902 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
903 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
904 * locate.el (locate-update):
905 * longlines.el (longlines-encode-region)
906 (longlines-after-change-function):
907 * outline.el (outline-isearch-open-invisible):
908 * ps-def.el (declare-function, charset-dimension, char-width)
910 * ps-mule.el (ps-mule-plot-string):
911 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
912 (recentf-edit-list-select, recentf-edit-list-validate)
913 (recentf-open-files-action):
914 * rect.el (delete-whitespace-rectangle-line)
915 (rectangle-number-line-callback):
916 * register.el (window-configuration-to-register)
917 (frame-configuration-to-register):
918 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
919 * select.el (xselect-convert-to-string, xselect-convert-to-length)
920 (xselect-convert-to-targets, xselect-convert-to-delete)
921 (xselect-convert-to-filename, xselect-convert-to-charpos)
922 (xselect-convert-to-lineno, xselect-convert-to-colno)
923 (xselect-convert-to-os, xselect-convert-to-host)
924 (xselect-convert-to-user, xselect-convert-to-class)
925 (xselect-convert-to-name, xselect-convert-to-integer)
926 (xselect-convert-to-atom, xselect-convert-to-identity):
927 * subr.el (declare, ignore, process-kill-without-query)
928 (text-clone-maintain):
929 * terminal.el (te-get-char, te-tic-sentinel):
930 * tool-bar.el (tool-bar-make-keymap):
931 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
932 * type-break.el (type-break-mode, type-break-noninteractive-query):
933 * view.el (View-back-to-mark):
934 * wid-browse.el (widget-browse-action, widget-browse-widget)
935 (widget-browse-widgets, widget-browse-sexp):
936 * widget.el (define-widget-keywords):
937 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
938 Mark unused parameters.
940 * align.el (align-adjust-col-for-rule): Mark unused parameter.
941 (align-areas): Remove unused variable `look'.
942 (align-region): Remove unused variables `real-end' and `pos-list'.
944 * apropos.el (apropos-score-doc): Remove unused variable `i'.
946 * bindings.el (mode-line-modified, mode-line-remote):
947 Mark unused parameters.
948 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
950 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
951 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
953 * comint.el (comint-history-isearch-pop-state)
954 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
955 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
956 (comint-substitute-in-file-name): Doc fix.
958 * completion.el (cmpl-statistics-block): Mark unused parameter.
959 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
960 (save-completions-to-file, load-completions-from-file):
961 Remove unused local variable `e'.
963 * composite.el (compose-chars): Remove unused variable `len'.
964 (lgstring-insert-glyph): Remove unused variable `g'.
965 (compose-glyph-string): Remove unused variables `ascent',
966 `descent', `lbearing' and `rbearing'.
967 (compose-glyph-string-relative): Remove unused variables
968 `lbearing', `rbearing' and `wadjust'.
969 (compose-gstring-for-graphic): Remove unused variables `header',
970 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
971 (compose-gstring-for-terminal): Remove unused variables `header'
972 and `nchars'. Use `let', not `let*'.
974 * cus-edit.el (Custom-set, Custom-save, custom-reset)
975 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
976 (Custom-buffer-done, custom-buffer-create-internal)
977 (custom-browse-visibility-action, custom-browse-group-tag-action)
978 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
979 (widget-magic-mouse-down-action, custom-toggle-parent)
980 (custom-add-parent-links, custom-toggle-hide-variable)
981 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
982 (custom-toggle-hide-face, face, hook, custom-group-link-action)
983 (custom-face-menu-create, custom-variable-menu-create, get)
984 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
985 (custom-reset-standard-save-and-update): Remove unused variable `value'.
986 (customize-apropos): Remove unused variable `tests'.
987 (custom-group-value-create): Remove unused variable `hidden-p'.
988 (sort-fold-case): Declare.
990 * cus-theme.el (custom-reset-standard-faces-list)
991 (custom-reset-standard-variables-list): Declare.
992 (customize-create-theme, custom-theme-revert, custom-theme-write)
993 (custom-theme-choose-mode, customize-themes, custom-theme-save):
994 Mark unused parameters.
996 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
998 * delim-col.el (delimit-columns-max): Move defvar before first use.
1000 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1001 (describe-char): Don't quote `lambda'. Mark unused parameter.
1003 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1004 (auto-insert): Declare.
1005 (desktop-restore-file-buffer): Rename desktop-* parameters;
1007 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1008 (desktop-buffer): Rename desktop-* parameters.
1010 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1011 (dframe-reposition-frame-xemacs, dframe-help-echo)
1012 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1013 Mark unused parameters.
1015 * dired-aux.el (backup-extract-version-start, overwrite-query)
1016 (overwrite-backup-query, rename-regexp-query)
1017 (rename-non-directory-query): Declare.
1018 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1019 (dired-add-entry): Remove unused variable `orig-file-name'.
1020 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1021 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1022 `dired-copy-preserve-time' directly.
1023 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1024 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1026 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1027 (dired-virtual-revert, dired-make-relative-symlink):
1028 Mark unused parameters.
1029 (manual-program): Declare.
1030 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1031 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1032 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1034 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1036 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1038 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1041 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1043 * electric.el (Electric-command-loop): Rename parameter
1044 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1046 * expand.el (expand-in-literal): Remove unused variable `here'.
1048 * facemenu.el (facemenu-add-new-color):
1049 Remove unused variable `docstring'.
1051 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1052 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1053 (face-attr-construct): Mark unused parameter. Doc fix.
1054 (read-color): Remove unused variable `hex-string'.
1056 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1057 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1058 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1059 (display-buffer-other-frame): Remove unused variable `old-window'.
1060 (kill-buffer-hook): Declare.
1061 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1062 Mark unused parameters.
1063 (after-find-file): Pass 1 to `auto-save-mode', not t.
1065 * files-x.el (auto-insert): Declare.
1066 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1068 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1069 variable `buf'. Mark unused parameter.
1070 (find-lisp-insert-directory): Mark unused parameter.
1072 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1073 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1074 (format-common-tail): Remove, unused.
1075 (format-deannotate-region): Remove unused variable `loc'.
1076 (format-annotate-region): Remove unused variable `p'.
1077 (format-annotate-single-property-change): Remove unused variables
1078 `default' and `tail'.
1080 * forms.el (read-file-filter): Declare.
1081 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1083 * frame.el (frame-creation-function-alist): Mark unused parameter.
1084 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1086 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1087 Remove unused parameters.
1088 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1089 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1091 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1092 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1093 (hfy-prepare-tag-map): Mark unused parameters.
1094 (htmlfontify-buffer): Use `called-interactively-p'.
1096 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1097 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1098 (ibuffer-do-occur): Mark unused parameters.
1099 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1100 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1102 * ibuffer.el: Don't quote `lambda'.
1103 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1104 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1105 Mark unused parameters.
1107 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1108 (ido-completing-read): Mark unused parameters.
1109 (ido-copy-current-word): Mark unused parameters;
1110 remove unused variable `name'.
1111 (ido-sort-merged-list): Remove unused parameter `dirs'.
1113 * ielm.el (ielm-input-sender): Mark unused parameter.
1114 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1115 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1116 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1117 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1118 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1120 * image-dired.el (image-dired-display-thumbs): Remove unused
1121 variables `curr-file' and `count'.
1122 (image-dired-remove-tag): Remove unused variable `start'.
1123 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1124 variable `curr-file'
1125 (image-dired-rotate-original): Remove unused variable `temp-file'.
1126 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1127 Remove unused variable `file'.
1128 (image-dired-gallery-generate): Remove unused variable `curr'.
1129 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1131 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1133 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1135 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1137 * isearch.el (minibuffer-history-symbol): Declare.
1138 (isearch-edit-string): Remove unused variable `err'.
1139 (isearch-message-prefix, isearch-message-suffix):
1140 Mark unused parameters.
1142 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1144 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1146 * makesum.el (double-column): Remove unused variable `cnt'.
1148 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1149 (ido-ignore-item-temp-list): Declare.
1151 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1152 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1153 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1154 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1157 * mouse-sel.el (mouse-extend-internal):
1158 Remove unused variable `orig-window-frame'.
1160 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1161 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1162 Move declarations before first use.
1163 (pcomplete-opt): Mark unused parameters; doc fix.
1165 * proced.el (proced-revert): Mark unused parameter.
1166 (proced-send-signal): Remove unused variable `err'.
1168 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1169 Rename parameter PREFIX-ARG to ARG.
1170 (ps-basic-plot-string, ps-basic-plot-whitespace):
1171 Mark unused parameters.
1173 * replace.el (replace-count): Define.
1174 (occur-revert-function): Mark unused parameters.
1175 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1176 (isearch-case-fold-search, isearch-string): Declare.
1177 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1178 bind `case-fold-search'. Remove unused variables `beg' and `end',
1180 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1181 COUNT and bind `replace-count'.
1182 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1185 * savehist.el (print-readably, print-string-length): Declare.
1187 * shadowfile.el (shadow-expand-cluster-in-file-name):
1188 Remove unused variable `cluster'.
1189 (shadow-copy-file): Remove unused variable `i'.
1190 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1191 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1192 (shadow-define-literal-group, shadow-define-regexp-group)
1193 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1195 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1196 (shell): Use `called-interactively-p'.
1197 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1199 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1200 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1201 (delete-backward-char): Remove unused variable `ocol'.
1202 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1203 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1204 (event-apply-hyper-modifier, event-apply-shift-modifier)
1205 (event-apply-control-modifier, event-apply-meta-modifier):
1206 Mark unused parameters.
1207 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1208 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1210 * speedbar.el (speedbar-ignored-directory-expressions)
1211 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1212 (speedbar-find-file, speedbar-dir-follow)
1213 (speedbar-directory-buttons-follow, speedbar-tag-find)
1214 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1215 (speedbar-buffers-line-directory, speedbar-buffer-click):
1216 Mark unused parameters.
1217 (speedbar-tag-file): Remove unused variable `mode'.
1218 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1220 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1222 * talk.el (talk): Remove unused variable `display'.
1224 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1225 (tar-write-region-annotate): Mark unused parameter.
1227 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1228 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1229 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1232 * time-stamp.el (time-stamp-string-preprocess):
1233 Remove unused variable `require-padding'.
1235 * tree-widget.el (widget-glyph-enable): Declare.
1236 (tree-widget-action): Mark unused parameter.
1238 * w32-fns.el (x-get-selection): Mark unused parameter.
1239 (autoload-make-program, generated-autoload-file): Declare.
1241 * wdired.el (wdired-revert): Mark unused parameters.
1242 (wdired-xcase-word): Remove unused variable `err'.
1244 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1245 (whitespace-help-scroll): Remove unused variable `data-help'.
1247 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1248 (widget-image-insert, widget-after-change, default)
1249 (widget-default-format-handler, widget-default-notify)
1250 (widget-default-prompt-value, widget-info-link-action)
1251 (widget-url-link-action, widget-function-link-action)
1252 (widget-variable-link-action, widget-file-link-action)
1253 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1254 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1255 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1256 (widget-insert-button-action, widget-delete-button-action, visibility)
1257 (widget-documentation-link-action, widget-documentation-string-action)
1258 (widget-const-prompt-value, widget-regexp-match, symbol)
1259 (widget-coding-system-prompt-value)
1260 (widget-key-sequence-value-to-external, sexp)
1261 (widget-sexp-value-to-internal, character, vector, cons)
1262 (widget-choice-prompt-value, widget-boolean-prompt-value)
1263 (widget-color--choose-action): Mark unused parameters.
1264 (widget-item-match-inline, widget-choice-match-inline)
1265 (widget-checklist-match, widget-checklist-match-inline)
1266 (widget-group-match): Rename parameter VALUES to VALS.
1267 (widget-field-value-set): Remove unused variable `size'.
1268 (widget-color-action): Remove unused variables `value' and `start'.
1270 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1271 variable `dir'. Doc fix.
1272 (windmove-find-other-window): Don't pass it.
1274 * window.el (count-windows): Mark unused parameter.
1275 (bw-adjust-window): Remove unused variable `err'.
1277 * woman.el (woman-file-name): Remove unused variable `default'.
1278 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1279 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1280 (global-font-lock-mode): Declare.
1281 (woman-decode-region): Mark unused parameter.
1282 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1284 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1285 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1286 (x-dnd-handle-moz-url): Remove unused variable `title'.
1287 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1289 * xml.el (xml-parse-tag, xml-parse-attlist):
1290 Remove unused variable `pos'.
1292 2011-04-19 Glenn Morris <rgm@gnu.org>
1294 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1295 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1296 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1297 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1298 * calendar/cal-html.el (cal-html-insert-minical):
1299 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1300 (calendar-mark-date-pattern):
1301 Prefix "unused" locals.
1303 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1304 optional argument `style'.
1306 * calendar/appt.el (appt-make-list):
1307 * calendar/cal-china.el (calendar-chinese-date-string):
1308 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1309 (diary-hebrew-yahrzeit):
1310 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1311 * calendar/calendar.el (calendar-generate-window):
1312 * calendar/time-date.el (time-to-days):
1313 Remove unused local variables.
1315 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1317 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1318 glyphless-char-display table.
1319 (tabulated-list-glyphless-char-display): New var.
1321 2011-04-18 Sam Steingold <sds@gnu.org>
1323 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1326 2011-04-17 Glenn Morris <rgm@gnu.org>
1328 * calendar/diary-lib.el (diary-sexp-entry):
1329 * calendar/holidays.el (holiday-sexp):
1330 Set debug-on-error rather than the removed stack-trace-on-error.
1332 2011-04-16 Glenn Morris <rgm@gnu.org>
1334 * progmodes/f90.el: Use lexical-binding.
1335 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1337 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1340 (mail-mode): Setup mailalias completion here instead.
1341 * mail/mailalias.el: Use lexical-binding.
1342 (pattern, mailalias-done): Declare dynamic.
1343 (mail-completion-at-point-function): New function, from mail-complete.
1344 (mail-complete): Use it.
1345 (mail-completion-expand): New function.
1346 (mail-get-names): Use it.
1347 (mail-directory, mail-directory-process, mail-directory-stream):
1348 Don't use `pattern' for lexically bound arg.
1350 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1352 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1353 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1354 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1356 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1357 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1358 (byte-interactive-p): Define them again, for use when inlining
1361 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1363 * loadup.el: Use `string-to-number', not `string-to-int'.
1365 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1368 gud-gdb-complete-command.
1369 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1370 (gud-gdb-completion-at-point): New function.
1371 (gud-gdb-completions): Remove.
1373 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1375 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1376 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1377 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1378 whether `executable-find' is bound.
1380 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1382 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * minibuffer.el (completion-in-region-mode-predicate)
1385 (completion-in-region-mode--predicate): New vars.
1386 (completion-in-region, completion-in-region--postch)
1387 (completion-in-region-mode): Use them.
1388 (completion--capf-wrapper): Also return the hook function.
1389 (completion-at-point, completion-help-at-point):
1390 Adjust and provide a predicate.
1392 Preserve arg names for advice of subr and lexical functions (bug#8457).
1393 * help-fns.el (help-function-arglist): Consolidate the subr and
1394 new-byte-code cases. Add argument `preserve-names' to extract names
1395 from the docstring when needed.
1396 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1397 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1398 (ad-arglist): Use help-function-arglist's new arg.
1399 (ad-definition-type): Use cond.
1401 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1403 * autorevert.el (auto-revert-handler):
1404 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1405 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1408 * image-mode.el (image-transform-set-scale):
1409 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1411 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1413 * net/network-stream.el (network-stream-open-starttls): Only do
1414 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1415 Upgrades via gnutls-cli are too slow to be done opportunistically.
1417 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1419 * dframe.el (dframe-current-frame): Remove spurious quote.
1421 2011-04-12 Glenn Morris <rgm@gnu.org>
1423 * calendar/cal-tex.el (cal-tex-end-document):
1424 Try to automatically use latin1 input if needed.
1426 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1427 Don't try to cons a mark onto an empty element.
1429 2011-04-11 Leo Liu <sdl.web@gmail.com>
1431 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1433 (ido-kill-buffer-at-head): Support killing virtual buffers.
1435 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1437 * minibuffer.el (completion-show-inline-help): New var.
1438 (completion--do-completion, minibuffer-complete)
1439 (minibuffer-force-complete, minibuffer-complete-word):
1440 Inhibit minibuffer messages if completion-show-inline-help is nil.
1442 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1443 to avoid interference from inline help (Bug#5849).
1445 2011-04-10 Leo Liu <sdl.web@gmail.com>
1447 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1450 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1452 * image-mode.el (image-toggle-display-image): Signal an error if
1454 (image-transform-mode, image-transform-resize)
1455 (image-transform-set-rotation): Doc fix.
1456 (image-transform-set-resize): Delete.
1457 (image-transform-set-scale, image-transform-fit-to-height)
1458 (image-transform-fit-to-width): Handle image-toggle-display-image
1459 and image-transform-resize directly.
1461 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1463 * doc-view.el (doc-view-fit-width-to-window)
1464 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1465 New functions for fitting the shown image to the Emacs window size.
1466 (doc-view-mode-map): Add bindings for the new functions.
1468 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1470 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1471 Fix typo in docstring.
1473 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1475 * files.el (file-size-human-readable): Produce one digit after
1476 decimal, like "ls -lh" does.
1478 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1479 the file size representation.
1481 * simple.el (list-processes): If async subprocesses are not
1482 available, error out with a clear error message.
1484 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1486 * help.el (help-form-show): New function, to be called from C.
1487 Put help-form output in a buffer named differently than *Help*.
1489 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1491 * files.el (file-size-human-readable): New function.
1493 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1494 computing the representation inline. Don't require `cl'.
1496 2011-04-08 Glenn Morris <rgm@gnu.org>
1498 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1500 * net/browse-url.el (browse-url-firefox):
1501 Test system-type, not system-configuration.
1503 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1504 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1505 Use log-edit-empty-buffer-p. (Bug#7598)
1507 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1508 (rlogin-mode-map): Initialize in the defvar.
1509 (rlogin): Use ignore-errors.
1511 * replace.el (occur-mode-map): Some fixes for menu items.
1513 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1515 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1517 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1519 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1520 issuing unused warnings.
1522 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1525 * simple.el: Lisp reimplement of list-processes. Based on an
1526 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1527 (process-menu-mode): New major mode.
1528 (list-processes--refresh, list-processes):
1529 (process-menu-visit-buffer): New functions.
1531 * files.el (save-buffers-kill-emacs): Don't assume any return
1532 value of list-processes, which is undocumented anyway.
1534 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1536 * emacs-lisp/tabulated-list.el: New file.
1538 * emacs-lisp/package.el: Use Tabulated List mode.
1539 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1540 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1541 table format using Tabulated List mode variables.
1542 (package--push): New macro, replacing package-list-maybe-add.
1543 (package-menu--generate): Use package--push. Renamed from
1544 package--generate-package-list.
1545 (package-menu-refresh, list-packages): Use it.
1546 (package-menu--print-info): Rename from package-print-package.
1547 Return insertion data instead of inserting it directly.
1548 (package-menu-describe-package, package-menu-execute):
1549 Use tabulated-list-get-id.
1550 (package-menu-mark-delete, package-menu-mark-install)
1551 (package-menu-mark-unmark, package-menu-backup-unmark)
1552 (package-menu-mark-obsolete-for-deletion):
1553 Use tabulated-list-put-tag.
1554 (package--list-packages, package-menu-revert)
1555 (package-menu-get-package, package-menu-get-version)
1556 (package-menu-sort-by-column): Functions deleted.
1557 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1558 (package-menu--status-predicate, package-menu--version-predicate)
1559 (package-menu--name-predicate)
1560 (package-menu--description-predicate): Handle arguments in the
1561 Tabulated List format.
1562 (package-list-packages-no-fetch): Call list-packages.
1564 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1566 * files.el (after-find-file-from-revert-buffer): Remove variable.
1567 (after-find-file): Don't bind it.
1568 (revert-buffer-in-progress-p): New variable.
1569 (revert-buffer): Bind it.
1570 Pass nil for `after-find-file-from-revert-buffer'.
1572 * saveplace.el (save-place-find-file-hook): Use new variable
1573 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1575 2011-04-06 Glenn Morris <rgm@gnu.org>
1577 * Makefile.in (AUTOGEN_VCS): New variable.
1578 (autoloads): Use $AUTOGEN_VCS.
1580 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1581 * calendar/calendar.el (calendar-mode-map):
1582 Check for toolkit scroll bars. (Bug#8305)
1584 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1586 * minibuffer.el (completion-in-region--postch)
1587 (completion-in-region-mode): Remove unnecessary messages.
1589 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1591 * font-lock.el (font-lock-refresh-defaults):
1592 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1593 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1595 * info.el (Info-directory-list, Info-read-node-name-2)
1596 (Info-split-parameter-string): Doc fixes.
1597 (Info-virtual-nodes): Reflow docstring.
1598 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1599 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1600 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1601 Fix typos in docstrings.
1602 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1603 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1604 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1605 (Info-restore-desktop-buffer): Mark unused parameters.
1606 (Info-directory-find-file, Info-directory-find-node)
1607 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1608 (Info-virtual-index-find-node, Info-apropos-find-file)
1609 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1610 Mark unused parameters; fix typos in docstrings.
1611 (Info-virtual-index): Remove unused local variable `nodename'.
1613 2011-04-05 Deniz Dogan <deniz@dogan.se>
1615 * net/rcirc.el: Update my e-mail address.
1616 (rcirc-mode-map): Remove M-o binding.
1618 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1620 * startup.el (command-line): Save the cursor's theme-face
1621 directly, instead of using face-override-spec.
1623 * custom.el (load-theme): Minor optimization in assigning faces.
1625 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1627 * help-fns.el (describe-variable): Complete all variables having
1628 documentation, including keywords.
1629 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1631 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1633 Convert to lexical-binding.
1635 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1636 (bs--get-marked-string, bs--get-modified-string)
1637 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1638 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1639 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1641 * ehelp.el (electric-help-execute-extended)
1642 (electric-help-ctrl-x-prefix):
1643 * hexl.el (hexl-revert-buffer-function):
1644 * linum.el (linum-after-change, linum-after-scroll):
1645 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1647 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1649 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1656 * epg.el: Use lexical binding.
1658 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1660 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1662 * textmodes/flyspell.el (flyspell-word): Recognize default
1663 dictionary case for flyspell-mark-duplications-exceptions.
1664 Use regexp matching for languages.
1665 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1666 default dictionary (Bug#7926).
1668 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1670 * emacs-lisp/package.el (package--with-work-buffer):
1671 Recognize https URLs.
1673 * net/network-stream.el: Move from gnus/proto-stream.el.
1674 Change prefix to network-stream throughout.
1675 (open-protocol-stream): Merge into open-network-stream, leaving
1676 open-protocol-stream as an alias. Handle nil BUFFER args.
1678 * subr.el (open-network-stream): Move to net/network-stream.el.
1680 2011-04-02 Glenn Morris <rgm@gnu.org>
1682 * find-dired.el (find-exec-terminator): New option.
1683 (find-ls-option): Test for -ls support.
1684 (find-ls-subdir-switches): Test for -b in find-ls-option.
1685 (find-dired, find-grep-dired): Doc fixes.
1686 (find-dired): Use find-exec-terminator.
1688 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1689 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1690 (find-name-arg): Remove purecopy.
1692 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1693 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1694 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1695 accordingly. Don't add the null-device if not needed.
1697 * files.el (save-some-buffers): Doc fix.
1699 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1701 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1703 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1705 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1706 Use `dolist' rather than `mapcar'.
1708 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1710 Add lexical binding.
1712 * subr.el (apply-partially): Use new closures rather than CL.
1713 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1714 (dolist, dotimes): Use slightly different expansion for lexical code.
1715 (functionp): Move to C.
1716 (letrec): New macro.
1717 (with-wrapper-hook): Use it and apply-partially instead of CL.
1718 (eval-after-load): Preserve lexical-binding.
1719 (save-window-excursion, with-output-to-temp-buffer): Turn them
1722 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1724 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1726 (help-add-fundoc-usage): Don't add `Not documented'.
1727 (help-function-arglist): Handle closures, subroutines, and new
1728 byte-code-functions.
1729 (help-make-usage): Remove leading underscores.
1730 (describe-function-1): Handle closures.
1731 (describe-variable): Use special-variable-p for completion.
1733 * files.el (lexical-binding): Declare safe.
1735 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1736 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1737 (pcase): Add `let' pattern.
1738 Change memoization so it actually works.
1739 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1740 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1743 * emacs-lisp/macroexp.el: Use lexical binding.
1744 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1745 Don't convert ' to #' without checking that it's indeed quoting
1748 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1749 Use eval-sexp-add-defvars.
1750 (eval-sexp-add-defvars): New fun.
1752 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1754 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1756 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1757 than the internal `byte-compile-lambda'.
1758 (defmethod): Don't hide code under quotes.
1759 (eieio-defmethod): New `code' argument.
1761 * emacs-lisp/eieio-comp.el: Remove.
1763 * emacs-lisp/edebug.el (edebug-eval-defun)
1764 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1765 (edebug-toggle): Avoid `eval'.
1767 * emacs-lisp/disass.el (disassemble-internal): Handle new
1769 (disassemble-1): Handle new byte codes.
1771 * emacs-lisp/cl.el (pushnew): Silence warning.
1773 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1774 (cl-byte-compile-throw): Remove.
1775 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1777 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1780 * emacs-lisp/cconv.el: New file.
1782 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1783 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1784 (byte-compile-initial-macro-environment):
1785 Handle declare-function here.
1786 (byte-compile--lexical-environment): New var.
1787 (byte-stack-ref, byte-stack-set, byte-discardN)
1788 (byte-discardN-preserve-tos): New lap codes.
1789 (byte-interactive-p): Don't use any more.
1790 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1792 (byte-compile-lapcode): Use them and handle new lap codes.
1793 (byte-compile-obsolete): Remove.
1794 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1795 (byte-compile-arglist-warn): Check late def of inlinable funs.
1796 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1797 since they should have been expanded by now.
1798 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1799 (byte-compile-from-buffer): Remove unused second arg.
1800 (byte-compile-preprocess): New function.
1801 (byte-compile-toplevel-file-form): New function to distinguish
1802 file-form calls from outside from file-form calls from hunk-handlers.
1803 (byte-compile-file-form): Simplify.
1804 (byte-compile-file-form-defsubst): Remove.
1805 (byte-compile-file-form-defmumble): Simplify now that
1806 byte-compile-lambda always returns a byte-code-function.
1807 (byte-compile): Preprocess.
1808 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1809 Remove, not used any more.
1810 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1811 (byte-compile-make-args-desc): New funs.
1812 (byte-compile-lambda): Handle lexical functions. Always return
1813 a byte-code-function.
1814 (byte-compile-reserved-constants): New var, to make up room for
1815 closed-over variables.
1816 (byte-compile-constants-vector): Obey it.
1817 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1818 (byte-compile-macroexpand-declare-function): New function.
1819 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1820 byte-code-functions.
1821 (byte-compile-form): Check obsolescence here.
1822 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1823 (byte-compile-variable-ref): Remove.
1824 (byte-compile-dynamic-variable-op): New fun.
1825 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1826 (byte-compile-variable-set): New funs.
1827 (byte-compile-discard): Add 2 args.
1828 (byte-compile-stack-ref, byte-compile-stack-set)
1829 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1830 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1831 macroexpand-all instead.
1832 (byte-compile-quote-form): Remove.
1833 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1834 (byte-compile-bind, byte-compile-unbind): New funs.
1835 (byte-compile-let): Handle let* and lexical binding.
1836 (byte-compile-let*): Remove.
1837 (byte-compile-catch, byte-compile-unwind-protect)
1838 (byte-compile-track-mouse, byte-compile-condition-case):
1839 Handle a new :fun-body form, used for lexical scoping.
1840 (byte-compile-save-window-excursion)
1841 (byte-compile-with-output-to-temp-buffer): Remove.
1842 (byte-compile-defun): Simplify.
1843 (byte-compile-stack-adjustment): New fun.
1844 (byte-compile-out): Use it.
1845 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1847 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1850 * emacs-lisp/byte-opt.el: Use lexical binding.
1851 (byte-inline-lapcode): Remove (to bytecomp).
1852 (byte-compile-inline-expand): Pay attention to inlining to/from
1853 lexically bound code.
1854 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1856 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1857 any more and don't call compiler-macros.
1858 (byte-compile-splice-in-already-compiled-code): Remove.
1859 (byte-code): Don't inline any more.
1860 (disassemble-offset): Receive `bytes' as argument rather than via
1862 (byte-compile-tag-number): Declare before first use.
1863 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1864 `return' even if make-spliceable.
1865 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1866 obsolete interactive-p.
1867 (byte-optimize-lapcode): Optimize new lap-codes.
1868 Don't trip up on new form of `byte-constant' lap code.
1870 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1872 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1874 * custom.el (custom-initialize-default, custom-declare-variable):
1877 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1879 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1880 (COMPILE_FIRST): Add macroexp and cconv.
1881 * makefile.w32-in: Mirror changes in Makefile.in.
1887 * vc/smerge-mode.el:
1888 * textmodes/bibtex-style.el:
1897 * emacs-lisp/smie.el:
1900 * abbrev.el: Use lexical binding.
1902 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1904 * info.el (info-display-manual): New function.
1906 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1910 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1912 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1913 an entry for that server in rcirc-authinfo. (Bug#8385)
1915 2011-03-31 Glenn Morris <rgm@gnu.org>
1917 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1919 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1921 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1923 * progmodes/python.el (python-default-interpreter)
1924 (python-python-command-args, python-jython-command-args)
1925 (python-which-shell, python-which-args, python-which-bufname)
1926 (python-file-queue, python-comint-output-filter-function)
1927 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1928 variables and functions.
1930 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1933 (completion-in-region-mode): New minor mode.
1934 (completion-in-region): Use it.
1935 (completion-in-region--data, completion-in-region-mode-map): New vars.
1936 (completion-in-region--postch): New function.
1937 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1939 (completion--capf-wrapper): New function.
1940 (completion-at-point): Use it to track well-behavedness of
1942 (completion-help-at-point): New command.
1944 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1946 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1947 syntax class to search for whitespace on a single line
1948 (Message-ID: <4D938140.4030905@redhat.com>).
1950 2011-03-30 Leo Liu <sdl.web@gmail.com>
1952 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1954 (edit-abbrevs-map): Bind them here.
1955 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1957 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1959 * allout.el (allout-hide-by-annotation, allout-flag-region):
1960 Reduce possibility of overlay leakage by making them volatile.
1962 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1963 hash is not shared between buffers. Mode initialization is
1964 responsible for giving it a useful starting value.
1965 (allout-item-span): Reduce possibility of overlay leakage by
1966 making them volatile.
1967 (allout-widgets-count-buttons-in-region): Add diagnostic function
1968 for tracking down button overlay leaks.
1970 2011-03-29 Leo Liu <sdl.web@gmail.com>
1972 * ido.el (ido-read-internal): Use the default history var
1973 minibuffer-history if no HISTORY is specified.
1975 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1977 * net/imap.el (imap-shell-open, imap-process-connection-type):
1978 Use imap-process-connection-type for 'shell' streams as well as
1979 Kerberos, SSL, other subprocesses.
1981 2011-03-28 Leo Liu <sdl.web@gmail.com>
1983 * abbrev.el (abbrev-table-empty-p): New function.
1984 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1985 nonempty ones. (Bug#5937)
1987 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1989 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1991 2011-03-27 Leo Liu <sdl.web@gmail.com>
1993 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1994 for foreground and background colors.
1995 (ansi-color-make-color-map): Adapt.
1997 2011-03-25 Leo Liu <sdl.web@gmail.com>
1999 * midnight.el (midnight-time-float): Remove. Note it calculates
2000 the microsecond component incorrectly and seconds-to-time does the
2002 Remove redundant (require 'timer).
2004 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2005 (ido-completions): Remove unused arguments. (Bug#8329)
2007 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * minibuffer.el (completion--flush-all-sorted-completions):
2010 Remove itself from hook.
2011 (completion-at-point): Let the functions perform the completion
2012 immediately and return nil or t.
2013 * comint.el (comint-dynamic-complete-functions): Now identical to
2014 completion-at-point-functions.
2015 (comint-dynamic-list-input-ring): Remove unused var `index'.
2016 (comint--match-partial-filename, comint--unquote&expand-filename):
2017 New funs, split from comint-match-partial-filename.
2018 (comint-dynamic-complete): Use completion-at-point.
2019 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2021 2011-03-24 Drew Adams <drew.adams@oracle.com>
2023 * thingatpt.el: Support `defun'.
2025 2011-03-23 Leo Liu <sdl.web@gmail.com>
2027 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2029 * help-mode.el (help-mode-finish): Tweak regexp.
2031 2011-03-23 Glenn Morris <rgm@gnu.org>
2033 * eshell/esh-opt.el (eshell-eval-using-options):
2034 Do not bind unused local variable `eshell-option-stub'.
2036 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2038 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2040 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2041 keymap variable in `with-no-warnings' to avoid a warning when the
2042 keymap has been already `defconst'ed.
2044 2011-03-22 Leo Liu <sdl.web@gmail.com>
2046 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2047 encode all chars in abbrevs; otherwise use emacs-mule or
2048 utf-8-emacs. (Bug#8308)
2050 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2052 * simple.el (backward-delete-char-untabify):
2053 Avoid warning about using `delete-backward-char'.
2055 * image.el (image-type-file-name-regexps): Make it variable.
2056 `imagemagick-register-types' modifies it, and the user may want
2057 to add new extensions for known image types.
2058 (imagemagick-register-types): Throw error if not using ImageMagick.
2060 2011-03-22 Leo Liu <sdl.web@gmail.com>
2062 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2063 located before rcirc-prompt-end-marker.
2064 (rcirc-complete): Error if point is not after rcirc prompt.
2065 Handle the case when table is nil.
2066 (rcirc-user-authenticated): Define to fix compiler warning.
2068 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2070 * custom.el (custom--inhibit-theme-enable): Make it affect only
2071 custom-theme-set-variables and custom-theme-set-faces.
2072 (provide-theme): Ignore custom--inhibit-theme-enable.
2073 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2074 (custom-enabling-themes): Delete variable.
2075 (enable-theme): Accept only loaded themes as arguments.
2076 Ignore the special custom-enabled-themes variable.
2077 (custom-enabled-themes): Forbid themes from setting this.
2078 Eliminate use of custom-enabling-themes.
2079 (custom-push-theme): Quote "changed" custom var entry.
2081 2011-03-21 Leo Liu <sdl.web@gmail.com>
2083 * ido.el (ido-read-internal): Add ido-selected to history instead
2086 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * subr.el (deferred-action-list, deferred-action-function):
2091 2011-03-21 Leo Liu <sdl.web@gmail.com>
2093 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2094 change on 2011-02-13 (bug#8309).
2096 * minibuffer.el (read-file-name-function): Change default value.
2097 (read-file-name--defaults): Rename from read-file-name-defaults.
2098 (read-file-name-default): Rename from read-file-name.
2099 (read-file-name): Call read-file-name-function.
2101 2011-03-21 Glenn Morris <rgm@gnu.org>
2103 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2106 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2108 * cus-theme.el: Add missing provide statement.
2109 (customize-create-theme): Extract theme value correctly.
2110 (custom-theme-visit-theme): Autoload.
2111 (customize-create-theme): Prompt before inserting default faces.
2113 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2115 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2116 units and musical notes.
2118 2011-03-20 Leo <sdl.web@gmail.com>
2120 * ido.el (ido-read-internal): Use completing-read-default.
2121 (ido-completing-read): Fix compatibility with completing-read.
2123 2011-03-20 Christian Ohler <ohler@gnu.org>
2125 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2126 (ert-delete-all-tests): Use `called-interactively-p' rather than
2128 (ert--make-xrefs-region): Respect END.
2130 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2132 * dired-aux.el (dired-create-directory): Signal an error if the
2133 directory already exists (Bug#8246).
2135 * facemenu.el (list-colors-display): Call list-faces-display
2136 inside with-help-window.
2137 (list-colors-print): Use display property to align the final
2138 column, instead of checking window-width.
2140 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2142 * emerge.el (emerge-metachars): Separate value for ms-dos and
2144 (emerge-protect-metachars): Quote correctly for ms-dos and
2147 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2149 * info.el (info-initialize): Replace all uses of `:' with
2150 path-separator for compatibility with non-Unix systems.
2151 Cache quoting of path-separator. (Bug#8258)
2153 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2155 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2156 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2157 (mouse-avoidance-mode): Fix typos in docstrings.
2159 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2161 * startup.el (package-subdirectory-regexp): Move from package.el.
2162 Omit \\` and \\', and let callers add them.
2164 * emacs-lisp/package.el (package-strip-version)
2165 (package-load-all-descriptors): Add \\` and \\' to
2166 package-subdirectory-regexp before using it.
2167 (package-untar-buffer): New arg DIR; ensure that file untars only
2168 into this expected directory. Remove superfluous delete-region.
2169 (package-unpack): Caller changed.
2170 (package-tar-file-info): Use package-subdirectory-regexp.
2172 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2175 diff-mode-shared-map (bug#8284).
2176 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2178 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2180 * calendar/time-date.el (format-seconds): Use assoc instead of
2181 assoc-string, since assoc-string doesn't exist in XEmacs.
2183 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2185 * custom.el (custom-known-themes): Reflow docstring.
2186 (custom-theme-load-path): Fix typo in docstring.
2187 (load-theme): Fix typo in error message.
2188 (custom-available-themes, custom-variable-theme-value):
2189 Use `let', not `let*'.
2191 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2193 * calc/README: Mention inclusion of musical notes.
2195 * calc/calc-units.el (calc-lu-quant): Rename from
2196 `calc-logunits-quantity'.
2197 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2198 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2199 (calc-db): Rename from `calc-dblevel'.
2200 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2201 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2202 (calc-np): Rename from `calc-nplevel'.
2203 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2204 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2205 (calc-lu-plus): Rename from `calc-logunits-add'.
2206 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2207 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2208 (calc-lu-minus): Rename from `calc-logunits-sub'.
2209 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2210 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2211 (calc-lu-times): Rename from `calc-logunits-mul'.
2212 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2213 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2214 (calc-lu-divide): Rename from `calc-logunits-div'.
2215 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2216 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2218 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2219 functions being autoloaded.
2221 * calc/calc.el (calc-lu-power-reference): Rename from
2222 `calc-logunits-power-reference'.
2223 (calc-lu-field-reference): Rename from
2224 `calc-logunits-field-reference'.
2226 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2228 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2230 * minibuffer.el (completion-all-sorted-completions):
2231 Use :completion-cycle-penalty text property if present.
2233 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2235 * allout.el (allout-yank-processing): Adjust for new rebulleting
2236 regime so bullet being yanked is used without prompting the user
2239 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2241 * startup.el (command-line): Warn the user that _emacs is deprecated.
2243 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2245 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2246 (delphi-verbose, delphi-comment-face, delphi-string-face)
2247 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2248 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2249 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2250 (delphi-new-comment-line, delphi-font-lock-defaults)
2251 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2252 Fix typos in docstrings.
2254 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2256 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2257 Invert the roles of character and string values for INSTEAD, so a
2258 string is used for the more common case of a defaulting prompt.
2260 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * progmodes/ruby-mode.el (ruby-backward-sexp):
2263 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2264 * play/gamegrid.el (gamegrid-make-face):
2265 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2266 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2267 * notifications.el (notifications-notify):
2268 * net/xesam.el (xesam-search-engines):
2269 * net/quickurl.el (quickurl-list-insert):
2270 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2272 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2274 * startup.el (command-line): Update package subdirectory regexp.
2276 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * allout.el (allout-abbreviate-flattened-numbering)
2279 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2281 * subr.el (read-char-choice): Only show the cursor after the prompt,
2282 not after the answer.
2284 2011-03-15 Kevin Ryde <user42@zip.com.au>
2286 * help-fns.el (variable-at-point): Skip leading quotes, if any
2289 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2294 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2296 * shell.el (shell): When called interactively, offer to change the
2297 shell file name on remote hosts.
2299 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2301 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2302 integration for LDAP parameters. The host, base, user or binddn,
2303 and secret tokens can be specified in a netrc file, for instance.
2304 This is optional because an `auth-source' parameter must be
2305 specified in the search attributes.
2307 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2309 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2311 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2314 into declaration. Remove redundant and harmful binding.
2316 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2318 * files.el (file-ownership-preserved-p): Pass `integer' as an
2319 explicit 2nd argument to `file-attributes'. If the file's owner
2320 is the Administrators group on Windows, and the current user is
2321 Administrator, consider that a match.
2323 * server.el (server-ensure-safe-dir): Consider server directory
2324 safe on MS-Windows if its owner is the Administrators group while
2325 the current Emacs user is Administrator. Use `=' to compare
2326 numerical UIDs, since they could be integers or floats.
2328 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2330 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2332 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2334 Sync with Tramp 2.2.1.
2336 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2338 * net/trampver.el: Update release number.
2340 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2342 * progmodes/compile.el (compilation--previous-directory): Fix up
2343 various nil/dead-marker mismatches (bug#8014).
2344 (compilation-directory-properties, compilation-error-properties):
2345 Don't call it at a position past the one we're about to change.
2347 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2348 Disable obsolescence warnings in the file that declares it.
2350 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2352 * allout-widgets.el (allout-widgets-tally):
2353 Initialize allout-widgets-tally as a hash table rather than nil to
2354 prevent mode-line redisplay warnings. Also, clarify the module
2355 description and fix a comment typo.
2357 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2359 * help-fns.el (describe-variable): Don't complete keywords.
2360 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2362 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2364 * emacs-lisp/package.el (package-version-join): Impose a standard
2365 string representation for pre/alpha/beta version lists.
2366 (package-unpack-single): Standardize the directory name by passing
2367 it through package-version-join.
2368 (package-strip-rcs-id): Accept any version string that does not
2369 signal an error in version-to-list.
2371 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2373 * simple.el (delete-trailing-whitespace): Return nil for the
2374 benefit of `write-file-functions'.
2376 2011-03-10 Glenn Morris <rgm@gnu.org>
2378 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2380 * vc/vc-git.el (vc-git-program): New option.
2381 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2382 (vc-git--call): Use it.
2384 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2386 * cus-edit.el (Custom-newline): If no button at point, look
2387 for a subgroup button at start-of-line. (Bug#2298)
2389 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2391 2011-03-10 Julien Danjou <julien@danjou.info>
2393 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2394 `cursor-type' is nil.
2396 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2398 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2400 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2402 * allout.el Summary: Change so yank of distinctive-bullet items
2403 preserves the existing header prefix, rebulleting it if necessary,
2404 rather than replacing it. This is necessary for proper operation
2405 of cooperative addons like allout-widgets.
2406 (allout-make-topic-prefix, allout-rebullet-heading): Change
2407 SOLICIT arg to INSTEAD, and interpret additionally a string value
2408 as alternate bullet to be used, instead of prompting the user for
2411 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2414 Do not use `tramp-file-name-port', because this returns also
2415 `tramp-default-port'.
2417 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2419 * net/rcirc.el (rcirc-handler-001): Remove useless
2420 with-rcirc-process-buffer.
2421 (rcirc-check-auth-status): Swap arguments to string-match.
2423 2011-03-09 Glenn Morris <rgm@gnu.org>
2425 * shell.el (shell-mode):
2426 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2428 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2429 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2431 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2433 * emacs-lisp/package.el (package-refresh-contents)
2434 (package-menu-execute): Use condition-case-no-debug.
2436 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2438 * simple.el (shell-command-to-string): Use `process-file'.
2440 * emacs-lisp/package.el (package-tar-file-info): Handle also
2443 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2444 Use `equal' for upload base check.
2446 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2448 * textmodes/texinfo.el (texinfo-environments):
2449 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2451 2011-03-08 Glenn Morris <rgm@gnu.org>
2453 * cus-start.el (cursor-in-non-selected-windows):
2454 Fix :set quoting oddness. (Bug#8192)
2456 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2457 in some setf expressions. (Bug#2159)
2459 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2461 * custom.el (custom-available-themes): Return themes in
2464 See ChangeLog.15 for earlier changes.
2470 Copyright (C) 2011 Free Software Foundation, Inc.
2472 This file is part of GNU Emacs.
2474 GNU Emacs is free software: you can redistribute it and/or modify
2475 it under the terms of the GNU General Public License as published by
2476 the Free Software Foundation, either version 3 of the License, or
2477 (at your option) any later version.
2479 GNU Emacs is distributed in the hope that it will be useful,
2480 but WITHOUT ANY WARRANTY; without even the implied warranty of
2481 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2482 GNU General Public License for more details.
2484 You should have received a copy of the GNU General Public License
2485 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.