1 2011-05-13 Glenn Morris <rgm@gnu.org>
3 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5 * mail/sendmail.el (sendmail-program): Try executable-find first.
6 (sendmail-send-it): sendmail-program cannot be unbound.
8 * calendar/appt.el (appt-make-list): Simplify.
9 (appt-time-msg-list): Doc fix.
10 (appt-check): Change mode-line message at the time of the appointment.
12 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14 * progmodes/ld-script.el (ld-script-keywords)
15 (ld-script-builtins): Update keywords list.
17 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21 * shell.el (shell-completion-vars): New function.
23 * simple.el (read-shell-command): Use it.
24 (blink-matching-open): No need for " [...]" in minibuffer-message.
26 2011-05-12 Glenn Morris <rgm@gnu.org>
28 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
29 (appt-check): Simplify.
31 2011-05-12 Eli Zaretskii <eliz@gnu.org>
33 * smerge-mode.el (smerge-resolve): Use null-device rather than a
36 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
38 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
41 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
43 * progmodes/which-func.el (which-function):
44 Use add-log-current-defun instead of add-log-current-defun-function,
45 which might not be defined (Bug#8260).
47 2011-05-12 Glenn Morris <rgm@gnu.org>
49 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
50 Let byte-compile-initial-macro-environment always take precedence.
52 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
54 * net/rcirc.el: Add support for SSL/TLS connections.
55 (rcirc-server-alist): New field `encryption'.
56 (rcirc): Check `encryption' settings.
57 (rcirc-connect): New arg `encryption'. Use open-network-stream.
58 Merge make-local-variable into `set'.
59 (rcirc--connection-open-p): New function.
60 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
61 the process is not a network process (e.g. running gnutls-cli).
62 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
63 Make rcirc-(en|de)code-coding-system local here.
64 (rcirc-mode): Merge make-local-variable into `set'.
65 (rcirc-parent-buffer): Make permanent buffer-local.
66 (rcirc-multiline-minor-mode): Don't do it here.
67 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
68 there's no server buffer.
70 2011-05-11 Glenn Morris <rgm@gnu.org>
72 * newcomment.el (comment-kill): Prefix "unused" local.
74 * term/w32console.el (get-screen-color): Declare.
76 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
77 Handle symbol elements of byte-compile-initial-macro-environment.
79 2011-05-10 Leo Liu <sdl.web@gmail.com>
81 * bookmark.el (bookmark-bmenu-mode-map):
82 Bind bookmark-bmenu-search to `/'.
84 * mail/footnote.el: Convert to utf-8 encoding.
85 (footnote-unicode-string, footnote-unicode-regexp): New variable.
86 (Footnote-unicode): New function.
87 (footnote-style-alist): Add unicode style to the list.
88 (footnote-style): Doc fix.
90 2011-05-10 Jim Meyering <meyering@redhat.com>
92 Fix doubled-word typos.
93 * international/quail.el (quail-insert-kbd-layout): and and -> and
94 * kermit.el: and and -> and
95 * net/ldap.el (ldap-search-internal): to to -> to
96 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
97 * progmodes/js.el (js-mode): and and -> and
98 * textmodes/artist.el (artist-move-to-xy): at at -> at
99 (artist-draw-region-trim-line-endings): if if -> if
100 And Safetyc -> Safety.
101 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
103 2011-05-10 Glenn Morris <rgm@gnu.org>
104 Stefan Monnier <monnier@iro.umontreal.ca>
106 * files.el (hack-one-local-variable-eval-safep):
107 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
109 2011-05-10 Glenn Morris <rgm@gnu.org>
111 * calendar/diary-lib.el (diary-list-entries-hook)
112 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
113 (diary-nongregorian-marking-hook, diary-list-entries)
114 (diary-include-other-diary-files, diary-mark-entries)
115 (diary-mark-included-diary-files): Doc fixes.
117 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
119 * misc.el: Require tabulated-list.el during compilation.
121 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
123 * progmodes/compile.el (compilation-start):
124 Run compilation-filter-hook for the async case too.
125 (compilation-filter-hook): Doc fix.
127 2011-05-09 Deniz Dogan <deniz@dogan.se>
129 * wdired.el: Remove outdated installation comment. Fix usage
132 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
134 * misc.el: Implement new command `list-dynamic-libraries'.
135 (list-dynamic-libraries--loaded-only-p): New variable.
136 (list-dynamic-libraries--refresh): New function.
137 (list-dynamic-libraries): New command.
139 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
142 Fix the ant regexp to handle end-line and end-column info from jikes.
143 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
144 higher priority to avoid clobbering by gnu.
146 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
148 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
149 if the face has existing theme settings (Bug#8454).
151 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
153 * progmodes/perl-mode.el (perl-imenu-generic-expression):
154 Only match variables declared via `my' or `our' (Bug#8261).
156 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
157 special file names `.' and `..' (Bug#8259).
159 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
161 * progmodes/grep.el (grep-mode-font-lock-keywords):
162 Remove buffer-changing entries.
163 (grep-filter): New function.
164 (grep-mode): Add it to compilation-filter-hook.
166 * progmodes/compile.el (compilation-filter-hook)
167 (compilation-filter-start): New defvars.
168 (compilation-filter): Call compilation-filter-hook prior to
169 updating the process mark.
171 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
173 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
175 2011-05-07 Eli Zaretskii <eliz@gnu.org>
177 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
178 mailclient-send-it even if window-system is nil. (Bug#8595)
180 * term/w32console.el (terminal-init-w32console):
181 Call get-screen-color and use its output to set the frame
182 background-mode. (Bug#8597)
184 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
186 Make bytecomp.el understand that defmethod defines funs (bug#8631).
187 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
189 (defgeneric, eieio--defmethod): Use them.
190 (eieio-defgeneric): Remove.
191 (defmethod): Call defgeneric in a way visible to the byte-compiler.
193 2011-05-07 Glenn Morris <rgm@gnu.org>
195 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
196 Use let rather than let*.
197 (timeclock-find-discrep): Remove unused local.
199 * calendar/diary-lib.el (diary-comment-start): Doc fix.
201 * calendar/appt.el (appt-time-msg-list): Doc fix.
203 2011-05-06 Noah Friedman <friedman@splode.com>
205 * apropos.el (apropos-print-doc): Only use
206 emacs-lisp-docstring-fill-column when it is bound to an integer,
207 per that variable's documentation.
209 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
211 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
212 and warnings are not silently discarded (e.g. use -d instead of -P).
214 2011-05-06 Glenn Morris <rgm@gnu.org>
216 * calendar/appt.el (appt-message-warning-time): Doc fix.
217 (appt-warning-time-regexp): New option.
218 (appt-make-list): Respect appt-message-warning-time.
220 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
222 (diary-add-to-list): Strip comments from the displayed string.
223 (diary-mode): Set comment-start and comment-end.
225 * vc/diff-mode.el (smerge-refine-subst): Declare.
226 (diff-refine-hunk): Don't require smerge-mode when compiling.
228 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
230 * simple.el (list-processes): Return nil as the docstring says.
232 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
234 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
236 (ange-ftp-write-region, ange-ftp-insert-file-contents)
237 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
238 determining of binary transfer. (Bug#7383)
240 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
243 Fix port computation bug. (Bug#8618)
245 2011-05-05 Glenn Morris <rgm@gnu.org>
247 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
249 * simple.el (shell-dynamic-complete-functions)
250 (comint-dynamic-complete-functions): Declare.
252 * net/network-stream.el (gnutls-negotiate):
253 * simple.el (tabulated-list-print): Fix declarations.
255 * progmodes/gud.el (syntax-symbol, syntax-point):
256 Remove unnecessary and incorrect declarations.
258 * emacs-lisp/check-declare.el (check-declare-scan):
259 Handle byte-compile-initial-macro-environment in bytecomp.el
261 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
263 Fix earlier half-done eieio-defmethod change (bug#8338).
264 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
265 Streamline and change calling convention.
266 (defmethod): Adjust accordingly and simplify.
267 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
268 new eieio--defmethod.
269 (slot-boundp): Minor CSE simplification.
271 2011-05-05 Milan Zamazal <pdm@zamazal.org>
273 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
274 (glasses-make-readable): Use glasses-separate-capital-groups.
276 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
278 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
279 (warning-series): Doc fix.
280 (display-warning): Don't try to create the buffer if we just found it.
282 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
284 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
285 (autoload-find-generated-file): New function.
286 (generate-file-autoloads): Bind generated-autoload-file to
288 (update-file-autoloads, update-directory-autoloads):
289 Use autoload-find-generated-file. If called interactively, prompt for
290 output file (Bug#7989).
291 (batch-update-autoloads): Doc fix.
293 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
295 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
297 2011-05-04 Glenn Morris <rgm@gnu.org>
299 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
300 function, so it follows changes in calendar-date-style.
301 (diary-fancy-date-matcher): New function.
302 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
303 (diary-fancy-font-lock-fontify-region-function):
304 Use diary-fancy-date-pattern as a function.
306 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
307 non-numbers for `year' etc pseudo-variables. (Bug#8583)
309 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
311 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
312 instead of positional arguments. Allow :keylist and :crlfiles
314 (open-gnutls-stream): Call it.
316 * net/network-stream.el (network-stream-open-starttls): Adjust to
317 call `gnutls-negotiate' with :process and :hostname arguments.
319 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
321 * minibuffer.el (completion--message): New function.
322 (completion--do-completion, minibuffer-complete)
323 (minibuffer-force-complete, minibuffer-complete-word): Use it.
324 (completion--do-completion): Don't ignore completion-auto-help when in
327 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
328 internal encoding (e.g. tibetan zero is not whitespace).
329 (global-whitespace-mode): Prefer save-current-buffer.
330 (whitespace-trailing-regexp): Remove useless save-match-data.
331 (whitespace-empty-at-bob-regexp): Minor simplification.
333 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
335 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
337 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
339 * textmodes/ispell.el (ispell-add-per-file-word-list):
340 Use `concat' to create string for insertion.
342 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
344 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
345 Avoid open-line which runs post-self-insert-hook.
346 (bibtex-fill-entry): Remove unused `end' var.
348 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
350 * textmodes/ispell.el (ispell-add-per-file-word-list):
351 Protect against `nil' value of `comment-start' (Bug#8579).
353 2011-05-03 Leo Liu <sdl.web@gmail.com>
355 * isearch.el (isearch-yank-pop): New command.
356 (isearch-mode-map): Bind it to `M-y'.
357 (isearch-forward): Mention it.
359 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
361 * simple.el (minibuffer-complete-shell-command): Remove.
362 (minibuffer-local-shell-command-map): Use completion-at-point.
363 (read-shell-command): Setup completion vars here instead.
364 (read-expression-map): Bind TAB to symbol completion.
366 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
367 error directly rather via storing it into `results'.
369 2011-05-02 Leo Liu <sdl.web@gmail.com>
371 * vc/diff.el: Fix description.
373 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
375 * server.el (server-eval-at): New function.
377 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
379 * net/network-stream.el (open-network-stream): Take a :nowait
380 parameter and pass it on to `make-network-process'.
381 (network-stream-open-plain): Ditto.
383 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
385 * faces.el (face-spec-set-match-display): Don't match toolkit
386 options on terminal frames.
388 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
390 * progmodes/pascal.el: Use lexical binding.
391 (pascal-mode-map): Remove author preferences.
393 * pcomplete.el (pcomplete-std-complete): Don't abuse
396 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
398 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
399 removing code that has been dead since 1991 or so.
401 * startup.el (command-line): When warning about "_emacs", use a
402 delayed warning to allow the user to filter it out.
404 2011-04-28 Deniz Dogan <deniz@dogan.se>
406 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
409 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
411 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
412 aren't any completions at point.
414 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
416 * subr.el (display-delayed-warnings): New function.
417 (delayed-warnings-hook): New variable.
419 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
421 * minibuffer.el (completion-at-point, completion-help-at-point):
422 Don't presume that a given completion-at-point-function will always
423 use the same calling convention.
425 * pcomplete.el (pcomplete-completions-at-point):
426 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
427 pcomplete-seen is non-nil.
428 (pcomplete-comint-setup): Also recognize the new comint/shell
429 completion functions.
430 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
431 pcomplete-seen is non-nil.
433 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
435 * calendar/icalendar.el (diary-lib): Add require statement.
436 (icalendar--create-uid): Read out a uid from a text-property on
437 the first character in the entry. This allows for code to add its
438 own uid to the entry.
439 (icalendar--convert-float-to-ical): Add export of
440 `diary-float'-entries save for those with the optional DAY
443 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
445 * subr.el (shell-quote-argument): Use alternate escaping strategy
446 when we spot a variable reference in a string.
448 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
450 * cus-start.el (all): Define customization for debug-on-event.
452 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
454 * subr.el (shell-quote-argument): Escape correctly under Windows.
456 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
458 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
460 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
462 * net/tramp.el (tramp-process-actions): Add POS argument.
463 Delete region between POS and (pos).
465 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
466 Use `nil' position in `tramp-process-actions' call.
467 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
469 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
470 position in `tramp-process-actions' call.
472 * net/trampver.el: Update release number.
474 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
476 * custom.el (defcustom): Obey lexical-binding.
478 Fix octave-inf completion problems reported by Alexander Klimov.
479 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
480 Inherit from octave-mode-syntax-table.
481 (inferior-octave-mode): Set info-lookup-mode.
482 (inferior-octave-completion-at-point): New function.
483 (inferior-octave-complete): Use it and completion-in-region.
484 (inferior-octave-dynamic-complete-functions): Use it as well, and use
485 comint-filename-completion.
486 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
487 symbol elements which shouldn't be word elements.
488 (octave-font-lock-keywords, octave-beginning-of-defun)
489 (octave-function-header-regexp): Adjust regexps accordingly.
490 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
492 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
494 * net/gnutls.el (gnutls-errorp): Declare before first use.
496 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
498 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
499 verify-error, and verify-hostname-error parameters. Check whether
500 default trustfile exists before going to use it. Add missing
501 argument to gnutls-message-maybe call. Return return value.
502 Reported by Claudio Bley <claudio.bley@gmail.com>.
503 (open-gnutls-stream): Add usage example.
505 * net/network-stream.el (network-stream-open-starttls): Give host
506 parameter to `gnutls-negotiate'.
507 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
508 * subr.el (shell-quote-argument): Escape correctly under Windows.
510 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
512 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
513 Use correct match group (bug#8438).
515 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
517 * emacs-lisp/package.el (package-built-in-p): Fix typo.
518 (package-menu--generate): New arg specifying packages to show.
519 (package-menu-refresh, package-menu-execute, list-packages):
521 (package-show-package-list): New function, replacing deleted
522 package--list-packages (renamed because it is non-internal).
524 * finder.el (finder-list-matches): Use package-show-package-list
525 instead of deleted package--list-packages.
527 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
528 Based on a previous implementation by Juanma Barranquero (Bug#8366).
529 (vc-annotate-mode-map): Bind it to RET.
531 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
533 * progmodes/etags.el (next-file): Don't use set-buffer to change
536 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
538 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
540 * apropos.el (apropos-label-face): Avoid variable-pitch face.
541 (apropos-accumulator): Doc fix.
542 (apropos-function, apropos-macro, apropos-command)
543 (apropos-variable, apropos-face, apropos-group, apropos-widget)
544 (apropos-plist): Add face property.
545 (apropos-symbols-internal): Fix indentation.
546 (apropos-print): Simplify help, and recognize apropos-multi-type.
547 (apropos-print-doc): Use button-type-get to extract the button's
548 face property. Fill docstring (Bug#8352).
550 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
552 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
554 * play/mpuz.el (mpuz-silent): Doc fix.
555 (mpuz-mode-map): Use mapc.
556 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
557 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
558 Fix typos in docstrings.
560 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
561 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
563 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
565 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
567 * minibuffer.el (completion--do-completion): Avoid the "Next char
568 not unique" prompt if icomplete-mode is enabled (Bug#5849).
570 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
571 mouse-2 into unread-command-events, it is interpreted correctly.
573 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
574 (image-toggle-display): Doc fix.
576 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
578 * textmodes/page.el (what-page): Use line-number-at-pos to
579 calculate line number (Bug#6825).
581 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
583 * eshell/esh-mode.el (find-tag-interactive): Declare function.
584 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
585 Pass argument NO-DEFAULT to `find-tag-interactive'.
587 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
589 Lexical-binding cleanup.
591 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
592 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
593 * progmodes/ada-prj.el (ada-prj-initialize-values)
594 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
595 (ada-prj-show-value):
596 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
597 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
598 (antlr-invalidate-context-cache, antlr-options-menu-filter)
599 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
600 * progmodes/bug-reference.el (bug-reference-push-button):
601 * progmodes/fortran.el (fortran-line-length):
602 * progmodes/glasses.el (glasses-change):
603 * progmodes/octave-mod.el (octave-fill-paragraph):
604 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
605 (python-pdbtrack-grub-for-buffer, python-sentinel):
606 * progmodes/sql.el (sql-save-connection):
607 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
608 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
609 Mark unused parameters.
611 * progmodes/compile.el (compilation--flush-directory-cache)
612 (compilation--flush-parse, compile-internal): Mark unused parameters.
613 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
614 (compilation-next-error-function): Remove unused variable `timestamp'.
616 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
617 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
619 * progmodes/dcl-mode.el (dcl-end-of-command):
620 Remove unused variable `start'.
621 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
622 (dcl-option-value-basic, dcl-option-value-offset)
623 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
624 Mark unused parameters.
625 (dcl-save-local-variable): Remove unused variable `val'.
628 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
629 Mark unused parameters.
630 (delphi-ignore-changes): Move before first use.
631 (delphi-charset-token-at): Remove unused variable `start'.
632 (delphi-else-start): Remove unused variable `if-count'.
633 (delphi-comment-block-start, delphi-comment-block-end):
634 Remove unused variable `kind'.
635 (delphi-indent-line): Remove unused variable `new-point'.
637 * progmodes/ebrowse.el (ebrowse-files-list)
638 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
639 Mark unused parameters. Don't quote `lambda'.
640 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
641 Don't quote `lambda'.
642 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
643 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
644 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
645 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
647 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
648 (ebrowse-view/find-file-and-search-pattern)
649 (ebrowse-view/find-member-declaration/definition):
650 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
651 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
652 Rename parameter PREFIX-ARG to PREFIX.
653 (ebrowse-tags-read-name): Remove unused variables `start' and
655 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
658 * progmodes/etags.el (local-find-tag-hook): Declare.
659 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
660 Mark unused parameters.
662 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
663 (executable-interpret): Mark unused parameter.
665 * progmodes/flymake.el (flymake-process-sentinel)
666 (flymake-after-change-function)
667 (flymake-create-temp-with-folder-structure)
668 (flymake-get-include-dirs-dot): Mark unused parameters.
669 (flymake-safe-delete-directory): Remove unused variable `err'.
671 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
672 (speedbar-timer-fn, speedbar-line-text)
673 (speedbar-change-expand-button-char, speedbar-delete-subblock)
674 (speedbar-center-buffer-smartly): Declare functions.
675 (gdb-find-watch-expression): Remove unused variable `array'.
676 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
677 (gdb-starting): Mark unused parameters.
678 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
679 (gdb-table-string): Remove unused variable `res'.
680 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
681 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
682 (gdb-display-buffer): Remove unused variable `cur-size'.
684 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
685 allow lexical-binding compilation.
686 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
687 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
688 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
689 Mark unused parameters.
690 (gud-gdb-marker-filter): Remove unused variable `match'.
691 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
692 lambda expressions and funcall them, instead of using `fset'.
694 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
695 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
697 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
698 variable `header-beg'; use `let'.
700 * progmodes/icon.el (indent-icon-exp): Remove unused variables
701 `restart', `last-sexp' and `at-do'.
703 * progmodes/js.el (js--debug): Mark unused parameter.
704 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
705 (js--splice-into-items): Remove unused variable `item'.
706 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
708 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
709 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
710 (makefile-complete): Remove unused variable `try'.
711 (makefile-fill-paragraph, makefile-match-function-end):
712 Mark unused parameters.
714 * progmodes/octave-inf.el (inferior-octave-complete):
715 Remove unused variable `proc'.
716 (inferior-octave-output-digest): Mark unused parameter.
718 * progmodes/perl-mode.el (perl-calculate-indent):
719 Remove unused variable `err'.
721 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
722 (prolog-indent-line): Mark unused parameters.
723 (prolog-indent-line): Remove unused variable `beg'.
725 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
726 (reporter-dont-compact-list): Declare.
728 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
729 Remove unused variable `char'.
730 (sh-debug): Mark unused parameter.
731 (sh-get-indent-info): Remove unused variable `start'.
732 (sh-calculate-indent): Remove unused variable `var'.
734 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
735 (simula-electric-keyword): Remove unused variable `null'.
736 (simula-search-backward, simula-search-forward): Remove unused
737 variables `begin' and `end'.
739 * progmodes/vera-mode.el (vera-guess-basic-syntax):
740 Remove unused variable `pos'.
741 (vera-electric-tab, vera-comment-uncomment-region):
742 Mark unused parameters.
743 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
745 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
747 * emacs-lisp/package.el (package--builtins, package-alist)
748 (package-load-descriptor, package-built-in-p, package-activate)
749 (define-package, package-installed-p)
750 (package-compute-transaction, package-buffer-info)
751 (package--push): Doc fix. Distinguish more clearly between
752 version strings and version lists.
754 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
756 Lexical-binding cleanup.
758 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
759 (5x5-make-mutate-best):
760 * play/fortune.el (fortune-in-buffer):
761 * play/gomoku.el (gomoku-init-display):
762 * play/solitaire.el (solitaire, solitaire-do-check):
763 * play/tetris.el (tetris-default-update-speed-function):
764 Mark unused parameters.
766 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
767 (bubbles--shift): Remove unused variable `char-org'.
768 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
769 (bubbles--show-images): Remove unused variable `char'.
771 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
772 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
773 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
774 (decipher-analyze-buffer): Use ?\s.
775 (decipher-make-checkpoint): Remove unused variable `mapping'.
777 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
779 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
780 Remove unused variable `result'; use `let'.
782 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
783 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
784 (gametree-children-shown-p, gametree-compute-reduced-score):
787 * play/handwrite.el (ps-lpr-switches): Declare.
788 (handwrite): Remove unused variables `pmin' and `lastp'.
790 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
792 * play/landmark.el (landmark-init-display)
793 (landmark-update-naught-weights): Mark unused parameters.
794 (landmark-y): Remove unused variable `noise'. Simplify.
795 (landmark-human-plays): Remove unused variable `score'.
797 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
798 (mpuz-try-proposal): Remove unused variable `game'.
800 * play/zone.el (life-patterns): Declare.
802 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
804 * vc/vc.el (ediff-vc-internal): Declare function.
806 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
808 * shell.el: Use lexical-binding and std completion UI.
809 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
810 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
811 comint-preoutput-filter-functions rather than on
812 comint-output-filter-functions.
813 (shell-command-completion, shell--command-completion-data)
814 (shell-filename-completion, shell-environment-variable-completion)
815 (shell-c-a-p-replace-by-expanded-directory): New functions.
816 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
817 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
818 (shell-dynamic-complete-environment-variable): Use them.
819 (shell-dynamic-complete-as-environment-variable)
820 (shell-dynamic-complete-as-command): Remove.
821 (shell-match-partial-variable): Match past point.
822 * comint.el: Clean up use of completion-at-point-functions.
823 (comint-completion-at-point): New function.
824 (comint-mode): Use it completion-at-point-functions.
825 (comint-dynamic-complete): Make it obsolete.
826 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
827 (comint-c-a-p-replace-by-expanded-history): New function.
828 (comint-dynamic-complete-functions)
829 (comint-replace-by-expanded-history): Use it.
830 * minibuffer.el (completion-table-with-terminator): Allow dynamic
831 termination strings. Try harder to avoid second try-completion.
832 (completion-in-region-mode-map): Disable bindings that don't work yet.
834 * comint.el: Use lexical-binding. Require CL.
835 (comint-dynamic-complete-functions): Use comint-filename-completion.
836 (comint-completion-addsuffix): Tweak custom type.
837 (comint-filename-completion, comint--common-suffix)
838 (comint--common-quoted-suffix, comint--table-subvert)
839 (comint--complete-file-name-data): New functions.
840 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
841 (comint-dynamic-list-filename-completions): Use them.
842 (comint-dynamic-simple-complete): Make obsolete.
844 * minibuffer.el (completion-in-region-mode):
845 Keep completion-in-region-mode--predicate global.
846 (completion-in-region--postch):
847 Assume completion-in-region-mode--predicate is not null.
849 * progmodes/flymake.el (flymake-start-syntax-check-process):
850 Obey `dir'. Simplify.
852 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
853 we're in VC after all.
855 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
857 * vc/vc.el (vc-diff-build-argument-list-internal)
858 (vc-version-ediff, vc-ediff): New commands.
859 (vc-version-diff): Use vc-diff-build-argument-list-internal.
861 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
863 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
866 * obsolete/erc-hecomplete.el: Make obsolete.
867 * obsolete/: Standardize obsolescence info in the header.
869 2011-04-20 Glenn Morris <rgm@gnu.org>
871 * calendar/solar.el (solar-horizontal-coordinates):
872 Use the longitude argument rather than `calendar-longitude'.
873 (solar-date-next-longitude): Remove unused locals.
875 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
877 * whitespace.el: New version 13.2.1.
879 2011-04-20 felix <EmacsWiki> (tiny change)
881 * whitespace.el (global-whitespace-mode): keep highlight when
882 switching between major modes on a file.
884 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
886 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
887 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
888 multi-line comments as well.
890 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
892 Lexical-binding cleanup.
894 * arc-mode.el (archive-mode-revert):
895 * cmuscheme.el (scheme-interactively-start-process):
896 * custom.el (custom-initialize-delay):
897 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
898 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
899 * emacs-lock.el (emacs-lock-clear-sentinel):
900 * ezimage.el (defezimage):
901 * follow.el (follow-avoid-tail-recenter):
902 * fringe.el (set-fringe-mode-1):
903 * generic-x.el (bat-generic-mode-compile):
904 * help-mode.el (help-info-variable, help-do-xref)
905 (help-mode-revert-buffer):
906 * help.el (view-emacs-todo):
907 * iswitchb.el (iswitchb-completion-help):
908 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
909 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
910 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
911 * locate.el (locate-update):
912 * longlines.el (longlines-encode-region)
913 (longlines-after-change-function):
914 * outline.el (outline-isearch-open-invisible):
915 * ps-def.el (declare-function, charset-dimension, char-width)
917 * ps-mule.el (ps-mule-plot-string):
918 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
919 (recentf-edit-list-select, recentf-edit-list-validate)
920 (recentf-open-files-action):
921 * rect.el (delete-whitespace-rectangle-line)
922 (rectangle-number-line-callback):
923 * register.el (window-configuration-to-register)
924 (frame-configuration-to-register):
925 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
926 * select.el (xselect-convert-to-string, xselect-convert-to-length)
927 (xselect-convert-to-targets, xselect-convert-to-delete)
928 (xselect-convert-to-filename, xselect-convert-to-charpos)
929 (xselect-convert-to-lineno, xselect-convert-to-colno)
930 (xselect-convert-to-os, xselect-convert-to-host)
931 (xselect-convert-to-user, xselect-convert-to-class)
932 (xselect-convert-to-name, xselect-convert-to-integer)
933 (xselect-convert-to-atom, xselect-convert-to-identity):
934 * subr.el (declare, ignore, process-kill-without-query)
935 (text-clone-maintain):
936 * terminal.el (te-get-char, te-tic-sentinel):
937 * tool-bar.el (tool-bar-make-keymap):
938 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
939 * type-break.el (type-break-mode, type-break-noninteractive-query):
940 * view.el (View-back-to-mark):
941 * wid-browse.el (widget-browse-action, widget-browse-widget)
942 (widget-browse-widgets, widget-browse-sexp):
943 * widget.el (define-widget-keywords):
944 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
945 Mark unused parameters.
947 * align.el (align-adjust-col-for-rule): Mark unused parameter.
948 (align-areas): Remove unused variable `look'.
949 (align-region): Remove unused variables `real-end' and `pos-list'.
951 * apropos.el (apropos-score-doc): Remove unused variable `i'.
953 * bindings.el (mode-line-modified, mode-line-remote):
954 Mark unused parameters.
955 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
957 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
958 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
960 * comint.el (comint-history-isearch-pop-state)
961 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
962 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
963 (comint-substitute-in-file-name): Doc fix.
965 * completion.el (cmpl-statistics-block): Mark unused parameter.
966 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
967 (save-completions-to-file, load-completions-from-file):
968 Remove unused local variable `e'.
970 * composite.el (compose-chars): Remove unused variable `len'.
971 (lgstring-insert-glyph): Remove unused variable `g'.
972 (compose-glyph-string): Remove unused variables `ascent',
973 `descent', `lbearing' and `rbearing'.
974 (compose-glyph-string-relative): Remove unused variables
975 `lbearing', `rbearing' and `wadjust'.
976 (compose-gstring-for-graphic): Remove unused variables `header',
977 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
978 (compose-gstring-for-terminal): Remove unused variables `header'
979 and `nchars'. Use `let', not `let*'.
981 * cus-edit.el (Custom-set, Custom-save, custom-reset)
982 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
983 (Custom-buffer-done, custom-buffer-create-internal)
984 (custom-browse-visibility-action, custom-browse-group-tag-action)
985 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
986 (widget-magic-mouse-down-action, custom-toggle-parent)
987 (custom-add-parent-links, custom-toggle-hide-variable)
988 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
989 (custom-toggle-hide-face, face, hook, custom-group-link-action)
990 (custom-face-menu-create, custom-variable-menu-create, get)
991 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
992 (custom-reset-standard-save-and-update): Remove unused variable `value'.
993 (customize-apropos): Remove unused variable `tests'.
994 (custom-group-value-create): Remove unused variable `hidden-p'.
995 (sort-fold-case): Declare.
997 * cus-theme.el (custom-reset-standard-faces-list)
998 (custom-reset-standard-variables-list): Declare.
999 (customize-create-theme, custom-theme-revert, custom-theme-write)
1000 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1001 Mark unused parameters.
1003 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1005 * delim-col.el (delimit-columns-max): Move defvar before first use.
1007 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1008 (describe-char): Don't quote `lambda'. Mark unused parameter.
1010 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1011 (auto-insert): Declare.
1012 (desktop-restore-file-buffer): Rename desktop-* parameters;
1014 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1015 (desktop-buffer): Rename desktop-* parameters.
1017 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1018 (dframe-reposition-frame-xemacs, dframe-help-echo)
1019 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1020 Mark unused parameters.
1022 * dired-aux.el (backup-extract-version-start, overwrite-query)
1023 (overwrite-backup-query, rename-regexp-query)
1024 (rename-non-directory-query): Declare.
1025 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1026 (dired-add-entry): Remove unused variable `orig-file-name'.
1027 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1028 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1029 `dired-copy-preserve-time' directly.
1030 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1031 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1033 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1034 (dired-virtual-revert, dired-make-relative-symlink):
1035 Mark unused parameters.
1036 (manual-program): Declare.
1037 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1038 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1039 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1041 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1043 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1045 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1048 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1050 * electric.el (Electric-command-loop): Rename parameter
1051 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1053 * expand.el (expand-in-literal): Remove unused variable `here'.
1055 * facemenu.el (facemenu-add-new-color):
1056 Remove unused variable `docstring'.
1058 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1059 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1060 (face-attr-construct): Mark unused parameter. Doc fix.
1061 (read-color): Remove unused variable `hex-string'.
1063 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1064 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1065 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1066 (display-buffer-other-frame): Remove unused variable `old-window'.
1067 (kill-buffer-hook): Declare.
1068 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1069 Mark unused parameters.
1070 (after-find-file): Pass 1 to `auto-save-mode', not t.
1072 * files-x.el (auto-insert): Declare.
1073 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1075 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1076 variable `buf'. Mark unused parameter.
1077 (find-lisp-insert-directory): Mark unused parameter.
1079 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1080 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1081 (format-common-tail): Remove, unused.
1082 (format-deannotate-region): Remove unused variable `loc'.
1083 (format-annotate-region): Remove unused variable `p'.
1084 (format-annotate-single-property-change): Remove unused variables
1085 `default' and `tail'.
1087 * forms.el (read-file-filter): Declare.
1088 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1090 * frame.el (frame-creation-function-alist): Mark unused parameter.
1091 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1093 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1094 Remove unused parameters.
1095 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1096 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1098 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1099 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1100 (hfy-prepare-tag-map): Mark unused parameters.
1101 (htmlfontify-buffer): Use `called-interactively-p'.
1103 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1104 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1105 (ibuffer-do-occur): Mark unused parameters.
1106 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1107 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1109 * ibuffer.el: Don't quote `lambda'.
1110 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1111 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1112 Mark unused parameters.
1114 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1115 (ido-completing-read): Mark unused parameters.
1116 (ido-copy-current-word): Mark unused parameters;
1117 remove unused variable `name'.
1118 (ido-sort-merged-list): Remove unused parameter `dirs'.
1120 * ielm.el (ielm-input-sender): Mark unused parameter.
1121 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1122 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1123 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1124 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1125 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1127 * image-dired.el (image-dired-display-thumbs): Remove unused
1128 variables `curr-file' and `count'.
1129 (image-dired-remove-tag): Remove unused variable `start'.
1130 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1131 variable `curr-file'
1132 (image-dired-rotate-original): Remove unused variable `temp-file'.
1133 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1134 Remove unused variable `file'.
1135 (image-dired-gallery-generate): Remove unused variable `curr'.
1136 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1138 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1140 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1142 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1144 * isearch.el (minibuffer-history-symbol): Declare.
1145 (isearch-edit-string): Remove unused variable `err'.
1146 (isearch-message-prefix, isearch-message-suffix):
1147 Mark unused parameters.
1149 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1151 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1153 * makesum.el (double-column): Remove unused variable `cnt'.
1155 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1156 (ido-ignore-item-temp-list): Declare.
1158 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1159 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1160 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1161 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1164 * mouse-sel.el (mouse-extend-internal):
1165 Remove unused variable `orig-window-frame'.
1167 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1168 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1169 Move declarations before first use.
1170 (pcomplete-opt): Mark unused parameters; doc fix.
1172 * proced.el (proced-revert): Mark unused parameter.
1173 (proced-send-signal): Remove unused variable `err'.
1175 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1176 Rename parameter PREFIX-ARG to ARG.
1177 (ps-basic-plot-string, ps-basic-plot-whitespace):
1178 Mark unused parameters.
1180 * replace.el (replace-count): Define.
1181 (occur-revert-function): Mark unused parameters.
1182 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1183 (isearch-case-fold-search, isearch-string): Declare.
1184 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1185 bind `case-fold-search'. Remove unused variables `beg' and `end',
1187 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1188 COUNT and bind `replace-count'.
1189 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1192 * savehist.el (print-readably, print-string-length): Declare.
1194 * shadowfile.el (shadow-expand-cluster-in-file-name):
1195 Remove unused variable `cluster'.
1196 (shadow-copy-file): Remove unused variable `i'.
1197 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1198 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1199 (shadow-define-literal-group, shadow-define-regexp-group)
1200 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1202 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1203 (shell): Use `called-interactively-p'.
1204 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1206 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1207 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1208 (delete-backward-char): Remove unused variable `ocol'.
1209 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1210 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1211 (event-apply-hyper-modifier, event-apply-shift-modifier)
1212 (event-apply-control-modifier, event-apply-meta-modifier):
1213 Mark unused parameters.
1214 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1215 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1217 * speedbar.el (speedbar-ignored-directory-expressions)
1218 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1219 (speedbar-find-file, speedbar-dir-follow)
1220 (speedbar-directory-buttons-follow, speedbar-tag-find)
1221 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1222 (speedbar-buffers-line-directory, speedbar-buffer-click):
1223 Mark unused parameters.
1224 (speedbar-tag-file): Remove unused variable `mode'.
1225 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1227 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1229 * talk.el (talk): Remove unused variable `display'.
1231 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1232 (tar-write-region-annotate): Mark unused parameter.
1234 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1235 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1236 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1239 * time-stamp.el (time-stamp-string-preprocess):
1240 Remove unused variable `require-padding'.
1242 * tree-widget.el (widget-glyph-enable): Declare.
1243 (tree-widget-action): Mark unused parameter.
1245 * w32-fns.el (x-get-selection): Mark unused parameter.
1246 (autoload-make-program, generated-autoload-file): Declare.
1248 * wdired.el (wdired-revert): Mark unused parameters.
1249 (wdired-xcase-word): Remove unused variable `err'.
1251 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1252 (whitespace-help-scroll): Remove unused variable `data-help'.
1254 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1255 (widget-image-insert, widget-after-change, default)
1256 (widget-default-format-handler, widget-default-notify)
1257 (widget-default-prompt-value, widget-info-link-action)
1258 (widget-url-link-action, widget-function-link-action)
1259 (widget-variable-link-action, widget-file-link-action)
1260 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1261 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1262 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1263 (widget-insert-button-action, widget-delete-button-action, visibility)
1264 (widget-documentation-link-action, widget-documentation-string-action)
1265 (widget-const-prompt-value, widget-regexp-match, symbol)
1266 (widget-coding-system-prompt-value)
1267 (widget-key-sequence-value-to-external, sexp)
1268 (widget-sexp-value-to-internal, character, vector, cons)
1269 (widget-choice-prompt-value, widget-boolean-prompt-value)
1270 (widget-color--choose-action): Mark unused parameters.
1271 (widget-item-match-inline, widget-choice-match-inline)
1272 (widget-checklist-match, widget-checklist-match-inline)
1273 (widget-group-match): Rename parameter VALUES to VALS.
1274 (widget-field-value-set): Remove unused variable `size'.
1275 (widget-color-action): Remove unused variables `value' and `start'.
1277 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1278 variable `dir'. Doc fix.
1279 (windmove-find-other-window): Don't pass it.
1281 * window.el (count-windows): Mark unused parameter.
1282 (bw-adjust-window): Remove unused variable `err'.
1284 * woman.el (woman-file-name): Remove unused variable `default'.
1285 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1286 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1287 (global-font-lock-mode): Declare.
1288 (woman-decode-region): Mark unused parameter.
1289 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1291 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1292 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1293 (x-dnd-handle-moz-url): Remove unused variable `title'.
1294 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1296 * xml.el (xml-parse-tag, xml-parse-attlist):
1297 Remove unused variable `pos'.
1299 2011-04-19 Glenn Morris <rgm@gnu.org>
1301 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1302 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1303 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1304 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1305 * calendar/cal-html.el (cal-html-insert-minical):
1306 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1307 (calendar-mark-date-pattern):
1308 Prefix "unused" locals.
1310 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1311 optional argument `style'.
1313 * calendar/appt.el (appt-make-list):
1314 * calendar/cal-china.el (calendar-chinese-date-string):
1315 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1316 (diary-hebrew-yahrzeit):
1317 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1318 * calendar/calendar.el (calendar-generate-window):
1319 * calendar/time-date.el (time-to-days):
1320 Remove unused local variables.
1322 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1324 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1325 glyphless-char-display table.
1326 (tabulated-list-glyphless-char-display): New var.
1328 2011-04-18 Sam Steingold <sds@gnu.org>
1330 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1333 2011-04-17 Glenn Morris <rgm@gnu.org>
1335 * calendar/diary-lib.el (diary-sexp-entry):
1336 * calendar/holidays.el (holiday-sexp):
1337 Set debug-on-error rather than the removed stack-trace-on-error.
1339 2011-04-16 Glenn Morris <rgm@gnu.org>
1341 * progmodes/f90.el: Use lexical-binding.
1342 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1344 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1347 (mail-mode): Setup mailalias completion here instead.
1348 * mail/mailalias.el: Use lexical-binding.
1349 (pattern, mailalias-done): Declare dynamic.
1350 (mail-completion-at-point-function): New function, from mail-complete.
1351 (mail-complete): Use it.
1352 (mail-completion-expand): New function.
1353 (mail-get-names): Use it.
1354 (mail-directory, mail-directory-process, mail-directory-stream):
1355 Don't use `pattern' for lexically bound arg.
1357 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1359 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1360 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1361 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1363 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1364 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1365 (byte-interactive-p): Define them again, for use when inlining
1368 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1370 * loadup.el: Use `string-to-number', not `string-to-int'.
1372 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1374 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1375 gud-gdb-complete-command.
1376 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1377 (gud-gdb-completion-at-point): New function.
1378 (gud-gdb-completions): Remove.
1380 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1382 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1383 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1384 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1385 whether `executable-find' is bound.
1387 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1389 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * minibuffer.el (completion-in-region-mode-predicate)
1392 (completion-in-region-mode--predicate): New vars.
1393 (completion-in-region, completion-in-region--postch)
1394 (completion-in-region-mode): Use them.
1395 (completion--capf-wrapper): Also return the hook function.
1396 (completion-at-point, completion-help-at-point):
1397 Adjust and provide a predicate.
1399 Preserve arg names for advice of subr and lexical functions (bug#8457).
1400 * help-fns.el (help-function-arglist): Consolidate the subr and
1401 new-byte-code cases. Add argument `preserve-names' to extract names
1402 from the docstring when needed.
1403 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1404 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1405 (ad-arglist): Use help-function-arglist's new arg.
1406 (ad-definition-type): Use cond.
1408 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1410 * autorevert.el (auto-revert-handler):
1411 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1412 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1415 * image-mode.el (image-transform-set-scale):
1416 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1418 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1420 * net/network-stream.el (network-stream-open-starttls): Only do
1421 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1422 Upgrades via gnutls-cli are too slow to be done opportunistically.
1424 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1426 * dframe.el (dframe-current-frame): Remove spurious quote.
1428 2011-04-12 Glenn Morris <rgm@gnu.org>
1430 * calendar/cal-tex.el (cal-tex-end-document):
1431 Try to automatically use latin1 input if needed.
1433 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1434 Don't try to cons a mark onto an empty element.
1436 2011-04-11 Leo Liu <sdl.web@gmail.com>
1438 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1440 (ido-kill-buffer-at-head): Support killing virtual buffers.
1442 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1444 * minibuffer.el (completion-show-inline-help): New var.
1445 (completion--do-completion, minibuffer-complete)
1446 (minibuffer-force-complete, minibuffer-complete-word):
1447 Inhibit minibuffer messages if completion-show-inline-help is nil.
1449 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1450 to avoid interference from inline help (Bug#5849).
1452 2011-04-10 Leo Liu <sdl.web@gmail.com>
1454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1457 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1459 * image-mode.el (image-toggle-display-image): Signal an error if
1461 (image-transform-mode, image-transform-resize)
1462 (image-transform-set-rotation): Doc fix.
1463 (image-transform-set-resize): Delete.
1464 (image-transform-set-scale, image-transform-fit-to-height)
1465 (image-transform-fit-to-width): Handle image-toggle-display-image
1466 and image-transform-resize directly.
1468 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1470 * doc-view.el (doc-view-fit-width-to-window)
1471 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1472 New functions for fitting the shown image to the Emacs window size.
1473 (doc-view-mode-map): Add bindings for the new functions.
1475 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1477 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1478 Fix typo in docstring.
1480 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1482 * files.el (file-size-human-readable): Produce one digit after
1483 decimal, like "ls -lh" does.
1485 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1486 the file size representation.
1488 * simple.el (list-processes): If async subprocesses are not
1489 available, error out with a clear error message.
1491 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1493 * help.el (help-form-show): New function, to be called from C.
1494 Put help-form output in a buffer named differently than *Help*.
1496 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1498 * files.el (file-size-human-readable): New function.
1500 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1501 computing the representation inline. Don't require `cl'.
1503 2011-04-08 Glenn Morris <rgm@gnu.org>
1505 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1507 * net/browse-url.el (browse-url-firefox):
1508 Test system-type, not system-configuration.
1510 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1511 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1512 Use log-edit-empty-buffer-p. (Bug#7598)
1514 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1515 (rlogin-mode-map): Initialize in the defvar.
1516 (rlogin): Use ignore-errors.
1518 * replace.el (occur-mode-map): Some fixes for menu items.
1520 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1522 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1524 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1526 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1527 issuing unused warnings.
1529 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1532 * simple.el: Lisp reimplement of list-processes. Based on an
1533 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1534 (process-menu-mode): New major mode.
1535 (list-processes--refresh, list-processes):
1536 (process-menu-visit-buffer): New functions.
1538 * files.el (save-buffers-kill-emacs): Don't assume any return
1539 value of list-processes, which is undocumented anyway.
1541 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1543 * emacs-lisp/tabulated-list.el: New file.
1545 * emacs-lisp/package.el: Use Tabulated List mode.
1546 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1547 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1548 table format using Tabulated List mode variables.
1549 (package--push): New macro, replacing package-list-maybe-add.
1550 (package-menu--generate): Use package--push. Renamed from
1551 package--generate-package-list.
1552 (package-menu-refresh, list-packages): Use it.
1553 (package-menu--print-info): Rename from package-print-package.
1554 Return insertion data instead of inserting it directly.
1555 (package-menu-describe-package, package-menu-execute):
1556 Use tabulated-list-get-id.
1557 (package-menu-mark-delete, package-menu-mark-install)
1558 (package-menu-mark-unmark, package-menu-backup-unmark)
1559 (package-menu-mark-obsolete-for-deletion):
1560 Use tabulated-list-put-tag.
1561 (package--list-packages, package-menu-revert)
1562 (package-menu-get-package, package-menu-get-version)
1563 (package-menu-sort-by-column): Functions deleted.
1564 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1565 (package-menu--status-predicate, package-menu--version-predicate)
1566 (package-menu--name-predicate)
1567 (package-menu--description-predicate): Handle arguments in the
1568 Tabulated List format.
1569 (package-list-packages-no-fetch): Call list-packages.
1571 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1573 * files.el (after-find-file-from-revert-buffer): Remove variable.
1574 (after-find-file): Don't bind it.
1575 (revert-buffer-in-progress-p): New variable.
1576 (revert-buffer): Bind it.
1577 Pass nil for `after-find-file-from-revert-buffer'.
1579 * saveplace.el (save-place-find-file-hook): Use new variable
1580 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1582 2011-04-06 Glenn Morris <rgm@gnu.org>
1584 * Makefile.in (AUTOGEN_VCS): New variable.
1585 (autoloads): Use $AUTOGEN_VCS.
1587 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1588 * calendar/calendar.el (calendar-mode-map):
1589 Check for toolkit scroll bars. (Bug#8305)
1591 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1593 * minibuffer.el (completion-in-region--postch)
1594 (completion-in-region-mode): Remove unnecessary messages.
1596 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1598 * font-lock.el (font-lock-refresh-defaults):
1599 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1600 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1602 * info.el (Info-directory-list, Info-read-node-name-2)
1603 (Info-split-parameter-string): Doc fixes.
1604 (Info-virtual-nodes): Reflow docstring.
1605 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1606 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1607 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1608 Fix typos in docstrings.
1609 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1610 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1611 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1612 (Info-restore-desktop-buffer): Mark unused parameters.
1613 (Info-directory-find-file, Info-directory-find-node)
1614 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1615 (Info-virtual-index-find-node, Info-apropos-find-file)
1616 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1617 Mark unused parameters; fix typos in docstrings.
1618 (Info-virtual-index): Remove unused local variable `nodename'.
1620 2011-04-05 Deniz Dogan <deniz@dogan.se>
1622 * net/rcirc.el: Update my e-mail address.
1623 (rcirc-mode-map): Remove M-o binding.
1625 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1627 * startup.el (command-line): Save the cursor's theme-face
1628 directly, instead of using face-override-spec.
1630 * custom.el (load-theme): Minor optimization in assigning faces.
1632 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1634 * help-fns.el (describe-variable): Complete all variables having
1635 documentation, including keywords.
1636 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1638 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1640 Convert to lexical-binding.
1642 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1643 (bs--get-marked-string, bs--get-modified-string)
1644 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1645 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1646 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1648 * ehelp.el (electric-help-execute-extended)
1649 (electric-help-ctrl-x-prefix):
1650 * hexl.el (hexl-revert-buffer-function):
1651 * linum.el (linum-after-change, linum-after-scroll):
1652 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1654 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1656 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1663 * epg.el: Use lexical binding.
1665 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1667 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1669 * textmodes/flyspell.el (flyspell-word): Recognize default
1670 dictionary case for flyspell-mark-duplications-exceptions.
1671 Use regexp matching for languages.
1672 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1673 default dictionary (Bug#7926).
1675 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1677 * emacs-lisp/package.el (package--with-work-buffer):
1678 Recognize https URLs.
1680 * net/network-stream.el: Move from gnus/proto-stream.el.
1681 Change prefix to network-stream throughout.
1682 (open-protocol-stream): Merge into open-network-stream, leaving
1683 open-protocol-stream as an alias. Handle nil BUFFER args.
1685 * subr.el (open-network-stream): Move to net/network-stream.el.
1687 2011-04-02 Glenn Morris <rgm@gnu.org>
1689 * find-dired.el (find-exec-terminator): New option.
1690 (find-ls-option): Test for -ls support.
1691 (find-ls-subdir-switches): Test for -b in find-ls-option.
1692 (find-dired, find-grep-dired): Doc fixes.
1693 (find-dired): Use find-exec-terminator.
1695 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1696 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1697 (find-name-arg): Remove purecopy.
1699 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1700 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1701 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1702 accordingly. Don't add the null-device if not needed.
1704 * files.el (save-some-buffers): Doc fix.
1706 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1708 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1710 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1712 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1713 Use `dolist' rather than `mapcar'.
1715 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1717 Add lexical binding.
1719 * subr.el (apply-partially): Use new closures rather than CL.
1720 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1721 (dolist, dotimes): Use slightly different expansion for lexical code.
1722 (functionp): Move to C.
1723 (letrec): New macro.
1724 (with-wrapper-hook): Use it and apply-partially instead of CL.
1725 (eval-after-load): Preserve lexical-binding.
1726 (save-window-excursion, with-output-to-temp-buffer): Turn them
1729 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1731 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1733 (help-add-fundoc-usage): Don't add `Not documented'.
1734 (help-function-arglist): Handle closures, subroutines, and new
1735 byte-code-functions.
1736 (help-make-usage): Remove leading underscores.
1737 (describe-function-1): Handle closures.
1738 (describe-variable): Use special-variable-p for completion.
1740 * files.el (lexical-binding): Declare safe.
1742 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1743 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1744 (pcase): Add `let' pattern.
1745 Change memoization so it actually works.
1746 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1747 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1750 * emacs-lisp/macroexp.el: Use lexical binding.
1751 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1752 Don't convert ' to #' without checking that it's indeed quoting
1755 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1756 Use eval-sexp-add-defvars.
1757 (eval-sexp-add-defvars): New fun.
1759 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1761 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1763 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1764 than the internal `byte-compile-lambda'.
1765 (defmethod): Don't hide code under quotes.
1766 (eieio-defmethod): New `code' argument.
1768 * emacs-lisp/eieio-comp.el: Remove.
1770 * emacs-lisp/edebug.el (edebug-eval-defun)
1771 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1772 (edebug-toggle): Avoid `eval'.
1774 * emacs-lisp/disass.el (disassemble-internal): Handle new
1776 (disassemble-1): Handle new byte codes.
1778 * emacs-lisp/cl.el (pushnew): Silence warning.
1780 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1781 (cl-byte-compile-throw): Remove.
1782 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1784 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1787 * emacs-lisp/cconv.el: New file.
1789 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1790 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1791 (byte-compile-initial-macro-environment):
1792 Handle declare-function here.
1793 (byte-compile--lexical-environment): New var.
1794 (byte-stack-ref, byte-stack-set, byte-discardN)
1795 (byte-discardN-preserve-tos): New lap codes.
1796 (byte-interactive-p): Don't use any more.
1797 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1799 (byte-compile-lapcode): Use them and handle new lap codes.
1800 (byte-compile-obsolete): Remove.
1801 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1802 (byte-compile-arglist-warn): Check late def of inlinable funs.
1803 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1804 since they should have been expanded by now.
1805 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1806 (byte-compile-from-buffer): Remove unused second arg.
1807 (byte-compile-preprocess): New function.
1808 (byte-compile-toplevel-file-form): New function to distinguish
1809 file-form calls from outside from file-form calls from hunk-handlers.
1810 (byte-compile-file-form): Simplify.
1811 (byte-compile-file-form-defsubst): Remove.
1812 (byte-compile-file-form-defmumble): Simplify now that
1813 byte-compile-lambda always returns a byte-code-function.
1814 (byte-compile): Preprocess.
1815 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1816 Remove, not used any more.
1817 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1818 (byte-compile-make-args-desc): New funs.
1819 (byte-compile-lambda): Handle lexical functions. Always return
1820 a byte-code-function.
1821 (byte-compile-reserved-constants): New var, to make up room for
1822 closed-over variables.
1823 (byte-compile-constants-vector): Obey it.
1824 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1825 (byte-compile-macroexpand-declare-function): New function.
1826 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1827 byte-code-functions.
1828 (byte-compile-form): Check obsolescence here.
1829 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1830 (byte-compile-variable-ref): Remove.
1831 (byte-compile-dynamic-variable-op): New fun.
1832 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1833 (byte-compile-variable-set): New funs.
1834 (byte-compile-discard): Add 2 args.
1835 (byte-compile-stack-ref, byte-compile-stack-set)
1836 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1837 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1838 macroexpand-all instead.
1839 (byte-compile-quote-form): Remove.
1840 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1841 (byte-compile-bind, byte-compile-unbind): New funs.
1842 (byte-compile-let): Handle let* and lexical binding.
1843 (byte-compile-let*): Remove.
1844 (byte-compile-catch, byte-compile-unwind-protect)
1845 (byte-compile-track-mouse, byte-compile-condition-case):
1846 Handle a new :fun-body form, used for lexical scoping.
1847 (byte-compile-save-window-excursion)
1848 (byte-compile-with-output-to-temp-buffer): Remove.
1849 (byte-compile-defun): Simplify.
1850 (byte-compile-stack-adjustment): New fun.
1851 (byte-compile-out): Use it.
1852 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1854 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1857 * emacs-lisp/byte-opt.el: Use lexical binding.
1858 (byte-inline-lapcode): Remove (to bytecomp).
1859 (byte-compile-inline-expand): Pay attention to inlining to/from
1860 lexically bound code.
1861 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1863 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1864 any more and don't call compiler-macros.
1865 (byte-compile-splice-in-already-compiled-code): Remove.
1866 (byte-code): Don't inline any more.
1867 (disassemble-offset): Receive `bytes' as argument rather than via
1869 (byte-compile-tag-number): Declare before first use.
1870 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1871 `return' even if make-spliceable.
1872 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1873 obsolete interactive-p.
1874 (byte-optimize-lapcode): Optimize new lap-codes.
1875 Don't trip up on new form of `byte-constant' lap code.
1877 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1879 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1881 * custom.el (custom-initialize-default, custom-declare-variable):
1884 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1886 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1887 (COMPILE_FIRST): Add macroexp and cconv.
1888 * makefile.w32-in: Mirror changes in Makefile.in.
1894 * vc/smerge-mode.el:
1895 * textmodes/bibtex-style.el:
1904 * emacs-lisp/smie.el:
1907 * abbrev.el: Use lexical binding.
1909 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1911 * info.el (info-display-manual): New function.
1913 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1915 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1917 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1919 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1920 an entry for that server in rcirc-authinfo. (Bug#8385)
1922 2011-03-31 Glenn Morris <rgm@gnu.org>
1924 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1926 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1928 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1930 * progmodes/python.el (python-default-interpreter)
1931 (python-python-command-args, python-jython-command-args)
1932 (python-which-shell, python-which-args, python-which-bufname)
1933 (python-file-queue, python-comint-output-filter-function)
1934 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1935 variables and functions.
1937 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1940 (completion-in-region-mode): New minor mode.
1941 (completion-in-region): Use it.
1942 (completion-in-region--data, completion-in-region-mode-map): New vars.
1943 (completion-in-region--postch): New function.
1944 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1946 (completion--capf-wrapper): New function.
1947 (completion-at-point): Use it to track well-behavedness of
1949 (completion-help-at-point): New command.
1951 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1953 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1954 syntax class to search for whitespace on a single line
1955 (Message-ID: <4D938140.4030905@redhat.com>).
1957 2011-03-30 Leo Liu <sdl.web@gmail.com>
1959 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1961 (edit-abbrevs-map): Bind them here.
1962 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1964 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1966 * allout.el (allout-hide-by-annotation, allout-flag-region):
1967 Reduce possibility of overlay leakage by making them volatile.
1969 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1970 hash is not shared between buffers. Mode initialization is
1971 responsible for giving it a useful starting value.
1972 (allout-item-span): Reduce possibility of overlay leakage by
1973 making them volatile.
1974 (allout-widgets-count-buttons-in-region): Add diagnostic function
1975 for tracking down button overlay leaks.
1977 2011-03-29 Leo Liu <sdl.web@gmail.com>
1979 * ido.el (ido-read-internal): Use the default history var
1980 minibuffer-history if no HISTORY is specified.
1982 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1984 * net/imap.el (imap-shell-open, imap-process-connection-type):
1985 Use imap-process-connection-type for 'shell' streams as well as
1986 Kerberos, SSL, other subprocesses.
1988 2011-03-28 Leo Liu <sdl.web@gmail.com>
1990 * abbrev.el (abbrev-table-empty-p): New function.
1991 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1992 nonempty ones. (Bug#5937)
1994 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1996 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1998 2011-03-27 Leo Liu <sdl.web@gmail.com>
2000 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2001 for foreground and background colors.
2002 (ansi-color-make-color-map): Adapt.
2004 2011-03-25 Leo Liu <sdl.web@gmail.com>
2006 * midnight.el (midnight-time-float): Remove. Note it calculates
2007 the microsecond component incorrectly and seconds-to-time does the
2009 Remove redundant (require 'timer).
2011 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2012 (ido-completions): Remove unused arguments. (Bug#8329)
2014 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2016 * minibuffer.el (completion--flush-all-sorted-completions):
2017 Remove itself from hook.
2018 (completion-at-point): Let the functions perform the completion
2019 immediately and return nil or t.
2020 * comint.el (comint-dynamic-complete-functions): Now identical to
2021 completion-at-point-functions.
2022 (comint-dynamic-list-input-ring): Remove unused var `index'.
2023 (comint--match-partial-filename, comint--unquote&expand-filename):
2024 New funs, split from comint-match-partial-filename.
2025 (comint-dynamic-complete): Use completion-at-point.
2026 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2028 2011-03-24 Drew Adams <drew.adams@oracle.com>
2030 * thingatpt.el: Support `defun'.
2032 2011-03-23 Leo Liu <sdl.web@gmail.com>
2034 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2036 * help-mode.el (help-mode-finish): Tweak regexp.
2038 2011-03-23 Glenn Morris <rgm@gnu.org>
2040 * eshell/esh-opt.el (eshell-eval-using-options):
2041 Do not bind unused local variable `eshell-option-stub'.
2043 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2045 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2047 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2048 keymap variable in `with-no-warnings' to avoid a warning when the
2049 keymap has been already `defconst'ed.
2051 2011-03-22 Leo Liu <sdl.web@gmail.com>
2053 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2054 encode all chars in abbrevs; otherwise use emacs-mule or
2055 utf-8-emacs. (Bug#8308)
2057 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2059 * simple.el (backward-delete-char-untabify):
2060 Avoid warning about using `delete-backward-char'.
2062 * image.el (image-type-file-name-regexps): Make it variable.
2063 `imagemagick-register-types' modifies it, and the user may want
2064 to add new extensions for known image types.
2065 (imagemagick-register-types): Throw error if not using ImageMagick.
2067 2011-03-22 Leo Liu <sdl.web@gmail.com>
2069 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2070 located before rcirc-prompt-end-marker.
2071 (rcirc-complete): Error if point is not after rcirc prompt.
2072 Handle the case when table is nil.
2073 (rcirc-user-authenticated): Define to fix compiler warning.
2075 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2077 * custom.el (custom--inhibit-theme-enable): Make it affect only
2078 custom-theme-set-variables and custom-theme-set-faces.
2079 (provide-theme): Ignore custom--inhibit-theme-enable.
2080 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2081 (custom-enabling-themes): Delete variable.
2082 (enable-theme): Accept only loaded themes as arguments.
2083 Ignore the special custom-enabled-themes variable.
2084 (custom-enabled-themes): Forbid themes from setting this.
2085 Eliminate use of custom-enabling-themes.
2086 (custom-push-theme): Quote "changed" custom var entry.
2088 2011-03-21 Leo Liu <sdl.web@gmail.com>
2090 * ido.el (ido-read-internal): Add ido-selected to history instead
2093 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * subr.el (deferred-action-list, deferred-action-function):
2098 2011-03-21 Leo Liu <sdl.web@gmail.com>
2100 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2101 change on 2011-02-13 (bug#8309).
2103 * minibuffer.el (read-file-name-function): Change default value.
2104 (read-file-name--defaults): Rename from read-file-name-defaults.
2105 (read-file-name-default): Rename from read-file-name.
2106 (read-file-name): Call read-file-name-function.
2108 2011-03-21 Glenn Morris <rgm@gnu.org>
2110 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2113 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2115 * cus-theme.el: Add missing provide statement.
2116 (customize-create-theme): Extract theme value correctly.
2117 (custom-theme-visit-theme): Autoload.
2118 (customize-create-theme): Prompt before inserting default faces.
2120 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2122 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2123 units and musical notes.
2125 2011-03-20 Leo <sdl.web@gmail.com>
2127 * ido.el (ido-read-internal): Use completing-read-default.
2128 (ido-completing-read): Fix compatibility with completing-read.
2130 2011-03-20 Christian Ohler <ohler@gnu.org>
2132 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2133 (ert-delete-all-tests): Use `called-interactively-p' rather than
2135 (ert--make-xrefs-region): Respect END.
2137 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2139 * dired-aux.el (dired-create-directory): Signal an error if the
2140 directory already exists (Bug#8246).
2142 * facemenu.el (list-colors-display): Call list-faces-display
2143 inside with-help-window.
2144 (list-colors-print): Use display property to align the final
2145 column, instead of checking window-width.
2147 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2149 * emerge.el (emerge-metachars): Separate value for ms-dos and
2151 (emerge-protect-metachars): Quote correctly for ms-dos and
2154 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2156 * info.el (info-initialize): Replace all uses of `:' with
2157 path-separator for compatibility with non-Unix systems.
2158 Cache quoting of path-separator. (Bug#8258)
2160 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2162 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2163 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2164 (mouse-avoidance-mode): Fix typos in docstrings.
2166 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2168 * startup.el (package-subdirectory-regexp): Move from package.el.
2169 Omit \\` and \\', and let callers add them.
2171 * emacs-lisp/package.el (package-strip-version)
2172 (package-load-all-descriptors): Add \\` and \\' to
2173 package-subdirectory-regexp before using it.
2174 (package-untar-buffer): New arg DIR; ensure that file untars only
2175 into this expected directory. Remove superfluous delete-region.
2176 (package-unpack): Caller changed.
2177 (package-tar-file-info): Use package-subdirectory-regexp.
2179 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2182 diff-mode-shared-map (bug#8284).
2183 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2185 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2187 * calendar/time-date.el (format-seconds): Use assoc instead of
2188 assoc-string, since assoc-string doesn't exist in XEmacs.
2190 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2192 * custom.el (custom-known-themes): Reflow docstring.
2193 (custom-theme-load-path): Fix typo in docstring.
2194 (load-theme): Fix typo in error message.
2195 (custom-available-themes, custom-variable-theme-value):
2196 Use `let', not `let*'.
2198 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2200 * calc/README: Mention inclusion of musical notes.
2202 * calc/calc-units.el (calc-lu-quant): Rename from
2203 `calc-logunits-quantity'.
2204 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2205 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2206 (calc-db): Rename from `calc-dblevel'.
2207 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2208 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2209 (calc-np): Rename from `calc-nplevel'.
2210 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2211 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2212 (calc-lu-plus): Rename from `calc-logunits-add'.
2213 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2214 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2215 (calc-lu-minus): Rename from `calc-logunits-sub'.
2216 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2217 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2218 (calc-lu-times): Rename from `calc-logunits-mul'.
2219 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2220 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2221 (calc-lu-divide): Rename from `calc-logunits-div'.
2222 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2223 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2225 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2226 functions being autoloaded.
2228 * calc/calc.el (calc-lu-power-reference): Rename from
2229 `calc-logunits-power-reference'.
2230 (calc-lu-field-reference): Rename from
2231 `calc-logunits-field-reference'.
2233 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2235 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * minibuffer.el (completion-all-sorted-completions):
2238 Use :completion-cycle-penalty text property if present.
2240 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2242 * allout.el (allout-yank-processing): Adjust for new rebulleting
2243 regime so bullet being yanked is used without prompting the user
2246 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2248 * startup.el (command-line): Warn the user that _emacs is deprecated.
2250 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2252 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2253 (delphi-verbose, delphi-comment-face, delphi-string-face)
2254 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2255 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2256 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2257 (delphi-new-comment-line, delphi-font-lock-defaults)
2258 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2259 Fix typos in docstrings.
2261 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2263 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2264 Invert the roles of character and string values for INSTEAD, so a
2265 string is used for the more common case of a defaulting prompt.
2267 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * progmodes/ruby-mode.el (ruby-backward-sexp):
2270 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2271 * play/gamegrid.el (gamegrid-make-face):
2272 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2273 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2274 * notifications.el (notifications-notify):
2275 * net/xesam.el (xesam-search-engines):
2276 * net/quickurl.el (quickurl-list-insert):
2277 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2279 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2281 * startup.el (command-line): Update package subdirectory regexp.
2283 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * allout.el (allout-abbreviate-flattened-numbering)
2286 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2288 * subr.el (read-char-choice): Only show the cursor after the prompt,
2289 not after the answer.
2291 2011-03-15 Kevin Ryde <user42@zip.com.au>
2293 * help-fns.el (variable-at-point): Skip leading quotes, if any
2296 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2301 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2303 * shell.el (shell): When called interactively, offer to change the
2304 shell file name on remote hosts.
2306 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2308 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2309 integration for LDAP parameters. The host, base, user or binddn,
2310 and secret tokens can be specified in a netrc file, for instance.
2311 This is optional because an `auth-source' parameter must be
2312 specified in the search attributes.
2314 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2316 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2318 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2321 into declaration. Remove redundant and harmful binding.
2323 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2325 * files.el (file-ownership-preserved-p): Pass `integer' as an
2326 explicit 2nd argument to `file-attributes'. If the file's owner
2327 is the Administrators group on Windows, and the current user is
2328 Administrator, consider that a match.
2330 * server.el (server-ensure-safe-dir): Consider server directory
2331 safe on MS-Windows if its owner is the Administrators group while
2332 the current Emacs user is Administrator. Use `=' to compare
2333 numerical UIDs, since they could be integers or floats.
2335 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2337 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2339 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2341 Sync with Tramp 2.2.1.
2343 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2345 * net/trampver.el: Update release number.
2347 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2349 * progmodes/compile.el (compilation--previous-directory): Fix up
2350 various nil/dead-marker mismatches (bug#8014).
2351 (compilation-directory-properties, compilation-error-properties):
2352 Don't call it at a position past the one we're about to change.
2354 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2355 Disable obsolescence warnings in the file that declares it.
2357 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2359 * allout-widgets.el (allout-widgets-tally):
2360 Initialize allout-widgets-tally as a hash table rather than nil to
2361 prevent mode-line redisplay warnings. Also, clarify the module
2362 description and fix a comment typo.
2364 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2366 * help-fns.el (describe-variable): Don't complete keywords.
2367 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2369 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2371 * emacs-lisp/package.el (package-version-join): Impose a standard
2372 string representation for pre/alpha/beta version lists.
2373 (package-unpack-single): Standardize the directory name by passing
2374 it through package-version-join.
2375 (package-strip-rcs-id): Accept any version string that does not
2376 signal an error in version-to-list.
2378 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2380 * simple.el (delete-trailing-whitespace): Return nil for the
2381 benefit of `write-file-functions'.
2383 2011-03-10 Glenn Morris <rgm@gnu.org>
2385 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2387 * vc/vc-git.el (vc-git-program): New option.
2388 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2389 (vc-git--call): Use it.
2391 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2393 * cus-edit.el (Custom-newline): If no button at point, look
2394 for a subgroup button at start-of-line. (Bug#2298)
2396 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2398 2011-03-10 Julien Danjou <julien@danjou.info>
2400 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2401 `cursor-type' is nil.
2403 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2405 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2407 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2409 * allout.el Summary: Change so yank of distinctive-bullet items
2410 preserves the existing header prefix, rebulleting it if necessary,
2411 rather than replacing it. This is necessary for proper operation
2412 of cooperative addons like allout-widgets.
2413 (allout-make-topic-prefix, allout-rebullet-heading): Change
2414 SOLICIT arg to INSTEAD, and interpret additionally a string value
2415 as alternate bullet to be used, instead of prompting the user for
2418 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2421 Do not use `tramp-file-name-port', because this returns also
2422 `tramp-default-port'.
2424 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2426 * net/rcirc.el (rcirc-handler-001): Remove useless
2427 with-rcirc-process-buffer.
2428 (rcirc-check-auth-status): Swap arguments to string-match.
2430 2011-03-09 Glenn Morris <rgm@gnu.org>
2432 * shell.el (shell-mode):
2433 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2435 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2436 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2438 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2440 * emacs-lisp/package.el (package-refresh-contents)
2441 (package-menu-execute): Use condition-case-no-debug.
2443 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2445 * simple.el (shell-command-to-string): Use `process-file'.
2447 * emacs-lisp/package.el (package-tar-file-info): Handle also
2450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2451 Use `equal' for upload base check.
2453 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2455 * textmodes/texinfo.el (texinfo-environments):
2456 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2458 2011-03-08 Glenn Morris <rgm@gnu.org>
2460 * cus-start.el (cursor-in-non-selected-windows):
2461 Fix :set quoting oddness. (Bug#8192)
2463 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2464 in some setf expressions. (Bug#2159)
2466 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2468 * custom.el (custom-available-themes): Return themes in
2471 See ChangeLog.15 for earlier changes.
2477 Copyright (C) 2011 Free Software Foundation, Inc.
2479 This file is part of GNU Emacs.
2481 GNU Emacs is free software: you can redistribute it and/or modify
2482 it under the terms of the GNU General Public License as published by
2483 the Free Software Foundation, either version 3 of the License, or
2484 (at your option) any later version.
2486 GNU Emacs is distributed in the hope that it will be useful,
2487 but WITHOUT ANY WARRANTY; without even the implied warranty of
2488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2489 GNU General Public License for more details.
2491 You should have received a copy of the GNU General Public License
2492 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.