* lisp/progmodes/grep.el (grep-filter): Don't trip on partial lines.
[emacs.git] / lisp / ChangeLog
blob5204622f641462ea513c7bf8e58f07a2a5cbb5ba
1 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5         * shell.el (shell-completion-vars): New function.
6         (shell-mode):
7         * simple.el (read-shell-command): Use it.
8         (blink-matching-open): No need for " [...]" in minibuffer-message.
10 2011-05-12  Glenn Morris  <rgm@gnu.org>
12         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13         (appt-check): Simplify.
15 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
17         * smerge-mode.el (smerge-resolve): Use null-device rather than a
18         literal "/dev/null".
20 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23         Fix typo.
25 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
27         * progmodes/which-func.el (which-function):
28         Use add-log-current-defun instead of add-log-current-defun-function,
29         which might not be defined (Bug#8260).
31 2011-05-12  Glenn Morris  <rgm@gnu.org>
33         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
34         Let byte-compile-initial-macro-environment always take precedence.
36 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
38         * net/rcirc.el: Add support for SSL/TLS connections.
39         (rcirc-server-alist): New field `encryption'.
40         (rcirc): Check `encryption' settings.
41         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
42         Merge make-local-variable into `set'.
43         (rcirc--connection-open-p): New function.
44         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
45         the process is not a network process (e.g. running gnutls-cli).
46         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
47         Make rcirc-(en|de)code-coding-system local here.
48         (rcirc-mode): Merge make-local-variable into `set'.
49         (rcirc-parent-buffer): Make permanent buffer-local.
50         (rcirc-multiline-minor-mode): Don't do it here.
51         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
52         there's no server buffer.
54 2011-05-11  Glenn Morris  <rgm@gnu.org>
56         * newcomment.el (comment-kill): Prefix "unused" local.
58         * term/w32console.el (get-screen-color): Declare.
60         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
61         Handle symbol elements of byte-compile-initial-macro-environment.
63 2011-05-10  Leo Liu  <sdl.web@gmail.com>
65         * bookmark.el (bookmark-bmenu-mode-map):
66         Bind bookmark-bmenu-search to `/'.
68         * mail/footnote.el: Convert to utf-8 encoding.
69         (footnote-unicode-string, footnote-unicode-regexp): New variable.
70         (Footnote-unicode): New function.
71         (footnote-style-alist): Add unicode style to the list.
72         (footnote-style): Doc fix.
74 2011-05-10  Glenn Morris  <rgm@gnu.org>
75            Stefan Monnier  <monnier@iro.umontreal.ca>
77         * files.el (hack-one-local-variable-eval-safep):
78         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
80 2011-05-10  Glenn Morris  <rgm@gnu.org>
82         * calendar/diary-lib.el (diary-list-entries-hook)
83         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
84         (diary-nongregorian-marking-hook, diary-list-entries)
85         (diary-include-other-diary-files, diary-mark-entries)
86         (diary-mark-included-diary-files): Doc fixes.
88 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
90         * misc.el: Require tabulated-list.el during compilation.
92 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
94         * progmodes/compile.el (compilation-start):
95         Run compilation-filter-hook for the async case too.
96         (compilation-filter-hook): Doc fix.
98 2011-05-09  Deniz Dogan  <deniz@dogan.se>
100         * wdired.el: Remove outdated installation comment.  Fix usage
101         comment.
103 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
105         * misc.el: Implement new command `list-dynamic-libraries'.
106         (list-dynamic-libraries--loaded-only-p): New variable.
107         (list-dynamic-libraries--refresh): New function.
108         (list-dynamic-libraries): New command.
110 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
112         * progmodes/compile.el (compilation-error-regexp-alist-alist):
113         Fix the ant regexp to handle end-line and end-column info from jikes.
114         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
115         higher priority to avoid clobbering by gnu.
117 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
119         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
120         if the face has existing theme settings (Bug#8454).
122 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
124         * progmodes/perl-mode.el (perl-imenu-generic-expression):
125         Only match variables declared via `my' or `our' (Bug#8261).
127         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
128         special file names `.' and `..' (Bug#8259).
130 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
132         * progmodes/grep.el (grep-mode-font-lock-keywords):
133         Remove buffer-changing entries.
134         (grep-filter): New function.
135         (grep-mode): Add it to compilation-filter-hook.
137         * progmodes/compile.el (compilation-filter-hook)
138         (compilation-filter-start): New defvars.
139         (compilation-filter): Call compilation-filter-hook prior to
140         updating the process mark.
142 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
144         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
146 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
148         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
149         mailclient-send-it even if window-system is nil.  (Bug#8595)
151         * term/w32console.el (terminal-init-w32console):
152         Call get-screen-color and use its output to set the frame
153         background-mode.  (Bug#8597)
155 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
157         Make bytecomp.el understand that defmethod defines funs (bug#8631).
158         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
159         New functions.
160         (defgeneric, eieio--defmethod): Use them.
161         (eieio-defgeneric): Remove.
162         (defmethod): Call defgeneric in a way visible to the byte-compiler.
164 2011-05-07  Glenn Morris  <rgm@gnu.org>
166         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
167         Use let rather than let*.
168         (timeclock-find-discrep): Remove unused local.
170         * calendar/diary-lib.el (diary-comment-start): Doc fix.
172         * calendar/appt.el (appt-time-msg-list): Doc fix.
174 2011-05-06  Noah Friedman  <friedman@splode.com>
176         * apropos.el (apropos-print-doc): Only use
177         emacs-lisp-docstring-fill-column when it is bound to an integer,
178         per that variable's documentation.
180 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
182         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
183         and warnings are not silently discarded (e.g. use -d instead of -P).
185 2011-05-06  Glenn Morris  <rgm@gnu.org>
187         * calendar/appt.el (appt-message-warning-time): Doc fix.
188         (appt-warning-time-regexp): New option.
189         (appt-make-list): Respect appt-message-warning-time.
191         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
192         New options.
193         (diary-add-to-list): Strip comments from the displayed string.
194         (diary-mode): Set comment-start and comment-end.
196         * vc/diff-mode.el (smerge-refine-subst): Declare.
197         (diff-refine-hunk): Don't require smerge-mode when compiling.
199 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
201         * simple.el (list-processes): Return nil as the docstring says.
203 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
205         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
206         to "".
207         (ange-ftp-write-region, ange-ftp-insert-file-contents)
208         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
209         determining of binary transfer.  (Bug#7383)
211 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
213         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
214         Fix port computation bug.  (Bug#8618)
216 2011-05-05  Glenn Morris  <rgm@gnu.org>
218         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
220         * simple.el (shell-dynamic-complete-functions)
221         (comint-dynamic-complete-functions): Declare.
223         * net/network-stream.el (gnutls-negotiate):
224         * simple.el (tabulated-list-print): Fix declarations.
226         * progmodes/gud.el (syntax-symbol, syntax-point):
227         Remove unnecessary and incorrect declarations.
229         * emacs-lisp/check-declare.el (check-declare-scan):
230         Handle byte-compile-initial-macro-environment in bytecomp.el
232 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
234         Fix earlier half-done eieio-defmethod change (bug#8338).
235         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
236         Streamline and change calling convention.
237         (defmethod): Adjust accordingly and simplify.
238         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
239         new eieio--defmethod.
240         (slot-boundp): Minor CSE simplification.
242 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
244         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
245         (glasses-make-readable): Use glasses-separate-capital-groups.
247 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
249         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
250         (warning-series): Doc fix.
251         (display-warning): Don't try to create the buffer if we just found it.
253 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
255         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
256         (autoload-find-generated-file): New function.
257         (generate-file-autoloads): Bind generated-autoload-file to
258         buffer-file-name.
259         (update-file-autoloads, update-directory-autoloads):
260         Use autoload-find-generated-file.  If called interactively, prompt for
261         output file (Bug#7989).
262         (batch-update-autoloads): Doc fix.
264 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
266         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
268 2011-05-04  Glenn Morris  <rgm@gnu.org>
270         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
271         function, so it follows changes in calendar-date-style.
272         (diary-fancy-date-matcher): New function.
273         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
274         (diary-fancy-font-lock-fontify-region-function):
275         Use diary-fancy-date-pattern as a function.
277         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
278         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
280 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
282         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
283         instead of positional arguments.  Allow :keylist and :crlfiles
284         arguments.
285         (open-gnutls-stream): Call it.
287         * net/network-stream.el (network-stream-open-starttls): Adjust to
288         call `gnutls-negotiate' with :process and :hostname arguments.
290 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
292         * minibuffer.el (completion--message): New function.
293         (completion--do-completion, minibuffer-complete)
294         (minibuffer-force-complete, minibuffer-complete-word): Use it.
295         (completion--do-completion): Don't ignore completion-auto-help when in
296         icomplete-mode.
298         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
299         internal encoding (e.g. tibetan zero is not whitespace).
300         (global-whitespace-mode): Prefer save-current-buffer.
301         (whitespace-trailing-regexp): Remove useless save-match-data.
302         (whitespace-empty-at-bob-regexp): Minor simplification.
304 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
306         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
308 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
310         * textmodes/ispell.el (ispell-add-per-file-word-list):
311         Use `concat' to create string for insertion.
313 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
315         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
316         Avoid open-line which runs post-self-insert-hook.
317         (bibtex-fill-entry): Remove unused `end' var.
319 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
321         * textmodes/ispell.el (ispell-add-per-file-word-list):
322         Protect against `nil' value of `comment-start' (Bug#8579).
324 2011-05-03  Leo Liu  <sdl.web@gmail.com>
326         * isearch.el (isearch-yank-pop): New command.
327         (isearch-mode-map): Bind it to `M-y'.
328         (isearch-forward): Mention it.
330 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
332         * simple.el (minibuffer-complete-shell-command): Remove.
333         (minibuffer-local-shell-command-map): Use completion-at-point.
334         (read-shell-command): Setup completion vars here instead.
335         (read-expression-map): Bind TAB to symbol completion.
337         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
338         error directly rather via storing it into `results'.
340 2011-05-02  Leo Liu  <sdl.web@gmail.com>
342         * vc/diff.el: Fix description.
344 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
346         * server.el (server-eval-at): New function.
348 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
350         * net/network-stream.el (open-network-stream): Take a :nowait
351         parameter and pass it on to `make-network-process'.
352         (network-stream-open-plain): Ditto.
354 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
356         * faces.el (face-spec-set-match-display): Don't match toolkit
357         options on terminal frames.
359 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
361         * progmodes/pascal.el: Use lexical binding.
362         (pascal-mode-map): Remove author preferences.
364         * pcomplete.el (pcomplete-std-complete): Don't abuse
365         completion-at-point.
367 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
369         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
370         removing code that has been dead since 1991 or so.
372         * startup.el (command-line): When warning about "_emacs", use a
373         delayed warning to allow the user to filter it out.
375 2011-04-28  Deniz Dogan  <deniz@dogan.se>
377         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
378         user has not joined.
380 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
382         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
383         aren't any completions at point.
385 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
387         * subr.el (display-delayed-warnings): New function.
388         (delayed-warnings-hook): New variable.
390 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
392         * minibuffer.el (completion-at-point, completion-help-at-point):
393         Don't presume that a given completion-at-point-function will always
394         use the same calling convention.
396         * pcomplete.el (pcomplete-completions-at-point):
397         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
398         pcomplete-seen is non-nil.
399         (pcomplete-comint-setup): Also recognize the new comint/shell
400         completion functions.
401         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
402         pcomplete-seen is non-nil.
404 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
406         * calendar/icalendar.el (diary-lib): Add require statement.
407         (icalendar--create-uid): Read out a uid from a text-property on
408         the first character in the entry.  This allows for code to add its
409         own uid to the entry.
410         (icalendar--convert-float-to-ical): Add export of
411         `diary-float'-entries save for those with the optional DAY
412         argument.
414 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
416         * subr.el (shell-quote-argument): Use alternate escaping strategy
417         when we spot a variable reference in a string.
419 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
421         * cus-start.el (all): Define customization for debug-on-event.
423 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
425         * subr.el (shell-quote-argument): Escape correctly under Windows.
427 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
431 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
433         * net/tramp.el (tramp-process-actions): Add POS argument.
434         Delete region between POS and (pos).
436         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
437         Use `nil' position in `tramp-process-actions' call.
438         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
440         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
441         position in `tramp-process-actions' call.
443         * net/trampver.el: Update release number.
445 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
447         * custom.el (defcustom): Obey lexical-binding.
449         Fix octave-inf completion problems reported by Alexander Klimov.
450         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
451         Inherit from octave-mode-syntax-table.
452         (inferior-octave-mode): Set info-lookup-mode.
453         (inferior-octave-completion-at-point): New function.
454         (inferior-octave-complete): Use it and completion-in-region.
455         (inferior-octave-dynamic-complete-functions): Use it as well, and use
456         comint-filename-completion.
457         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
458         symbol elements which shouldn't be word elements.
459         (octave-font-lock-keywords, octave-beginning-of-defun)
460         (octave-function-header-regexp): Adjust regexps accordingly.
461         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
463 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
465         * net/gnutls.el (gnutls-errorp): Declare before first use.
467 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
469         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
470         verify-error, and verify-hostname-error parameters.  Check whether
471         default trustfile exists before going to use it.  Add missing
472         argument to gnutls-message-maybe call.  Return return value.
473         Reported by Claudio Bley <claudio.bley@gmail.com>.
474         (open-gnutls-stream): Add usage example.
476         * net/network-stream.el (network-stream-open-starttls): Give host
477         parameter to `gnutls-negotiate'.
478         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
479         * subr.el (shell-quote-argument): Escape correctly under Windows.
481 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
483         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
484         Use correct match group (bug#8438).
486 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
488         * emacs-lisp/package.el (package-built-in-p): Fix typo.
489         (package-menu--generate): New arg specifying packages to show.
490         (package-menu-refresh, package-menu-execute, list-packages):
491         Callers changed.
492         (package-show-package-list): New function, replacing deleted
493         package--list-packages (renamed because it is non-internal).
495         * finder.el (finder-list-matches): Use package-show-package-list
496         instead of deleted package--list-packages.
498         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
499         Based on a previous implementation by Juanma Barranquero (Bug#8366).
500         (vc-annotate-mode-map): Bind it to RET.
502 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
504         * progmodes/etags.el (next-file): Don't use set-buffer to change
505         buffers (Bug#8478).
507 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
509         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
511         * apropos.el (apropos-label-face): Avoid variable-pitch face.
512         (apropos-accumulator): Doc fix.
513         (apropos-function, apropos-macro, apropos-command)
514         (apropos-variable, apropos-face, apropos-group, apropos-widget)
515         (apropos-plist): Add face property.
516         (apropos-symbols-internal): Fix indentation.
517         (apropos-print): Simplify help, and recognize apropos-multi-type.
518         (apropos-print-doc): Use button-type-get to extract the button's
519         face property.  Fill docstring (Bug#8352).
521 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
523         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
525         * play/mpuz.el (mpuz-silent): Doc fix.
526         (mpuz-mode-map): Use mapc.
527         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
528         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
529         Fix typos in docstrings.
531         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
532         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
534         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
536 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
538         * minibuffer.el (completion--do-completion): Avoid the "Next char
539         not unique" prompt if icomplete-mode is enabled (Bug#5849).
541         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
542         mouse-2 into unread-command-events, it is interpreted correctly.
544         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
545         (image-toggle-display): Doc fix.
547 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
549         * textmodes/page.el (what-page): Use line-number-at-pos to
550         calculate line number (Bug#6825).
552 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
554         * eshell/esh-mode.el (find-tag-interactive): Declare function.
555         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
556         Pass argument NO-DEFAULT to `find-tag-interactive'.
558 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
560         Lexical-binding cleanup.
562         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
563         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
564         * progmodes/ada-prj.el (ada-prj-initialize-values)
565         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
566         (ada-prj-show-value):
567         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
568         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
569         (antlr-invalidate-context-cache, antlr-options-menu-filter)
570         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
571         * progmodes/bug-reference.el (bug-reference-push-button):
572         * progmodes/fortran.el (fortran-line-length):
573         * progmodes/glasses.el (glasses-change):
574         * progmodes/octave-mod.el (octave-fill-paragraph):
575         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
576         (python-pdbtrack-grub-for-buffer, python-sentinel):
577         * progmodes/sql.el (sql-save-connection):
578         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
579         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
580         Mark unused parameters.
582         * progmodes/compile.el (compilation--flush-directory-cache)
583         (compilation--flush-parse, compile-internal): Mark unused parameters.
584         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
585         (compilation-next-error-function): Remove unused variable `timestamp'.
587         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
588         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
590         * progmodes/dcl-mode.el (dcl-end-of-command):
591         Remove unused variable `start'.
592         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
593         (dcl-option-value-basic, dcl-option-value-offset)
594         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
595         Mark unused parameters.
596         (dcl-save-local-variable): Remove unused variable `val'.
597         (mode): Declare.
599         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
600         Mark unused parameters.
601         (delphi-ignore-changes): Move before first use.
602         (delphi-charset-token-at): Remove unused variable `start'.
603         (delphi-else-start): Remove unused variable `if-count'.
604         (delphi-comment-block-start, delphi-comment-block-end):
605         Remove unused variable `kind'.
606         (delphi-indent-line): Remove unused variable `new-point'.
608         * progmodes/ebrowse.el (ebrowse-files-list)
609         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
610         Mark unused parameters.  Don't quote `lambda'.
611         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
612         Don't quote `lambda'.
613         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
614         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
615         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
616         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
617         Use `ignore-errors'.
618         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
619         (ebrowse-view/find-file-and-search-pattern)
620         (ebrowse-view/find-member-declaration/definition):
621         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
622         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
623         Rename parameter PREFIX-ARG to PREFIX.
624         (ebrowse-tags-read-name): Remove unused variables `start' and
625         `member-info'.
626         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
627         to `tags-file'.
629         * progmodes/etags.el (local-find-tag-hook): Declare.
630         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
631         Mark unused parameters.
633         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
634         (executable-interpret): Mark unused parameter.
636         * progmodes/flymake.el (flymake-process-sentinel)
637         (flymake-after-change-function)
638         (flymake-create-temp-with-folder-structure)
639         (flymake-get-include-dirs-dot): Mark unused parameters.
640         (flymake-safe-delete-directory): Remove unused variable `err'.
642         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
643         (speedbar-timer-fn, speedbar-line-text)
644         (speedbar-change-expand-button-char, speedbar-delete-subblock)
645         (speedbar-center-buffer-smartly): Declare functions.
646         (gdb-find-watch-expression): Remove unused variable `array'.
647         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
648         (gdb-starting): Mark unused parameters.
649         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
650         (gdb-table-string): Remove unused variable `res'.
651         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
652         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
653         (gdb-display-buffer): Remove unused variable `cur-size'.
655         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
656         allow lexical-binding compilation.
657         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
658         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
659         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
660         Mark unused parameters.
661         (gud-gdb-marker-filter): Remove unused variable `match'.
662         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
663         lambda expressions and funcall them, instead of using `fset'.
665         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
666         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
668         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
669         variable `header-beg'; use `let'.
671         * progmodes/icon.el (indent-icon-exp): Remove unused variables
672         `restart', `last-sexp' and `at-do'.
674         * progmodes/js.el (js--debug): Mark unused parameter.
675         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
676         (js--splice-into-items): Remove unused variable `item'.
677         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
679         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
680         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
681         (makefile-complete): Remove unused variable `try'.
682         (makefile-fill-paragraph, makefile-match-function-end):
683         Mark unused parameters.
685         * progmodes/octave-inf.el (inferior-octave-complete):
686         Remove unused variable `proc'.
687         (inferior-octave-output-digest): Mark unused parameter.
689         * progmodes/perl-mode.el (perl-calculate-indent):
690         Remove unused variable `err'.
692         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
693         (prolog-indent-line): Mark unused parameters.
694         (prolog-indent-line): Remove unused variable `beg'.
696         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
697         (reporter-dont-compact-list): Declare.
699         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
700         Remove unused variable `char'.
701         (sh-debug): Mark unused parameter.
702         (sh-get-indent-info): Remove unused variable `start'.
703         (sh-calculate-indent): Remove unused variable `var'.
705         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
706         (simula-electric-keyword): Remove unused variable `null'.
707         (simula-search-backward, simula-search-forward): Remove unused
708         variables `begin' and `end'.
710         * progmodes/vera-mode.el (vera-guess-basic-syntax):
711         Remove unused variable `pos'.
712         (vera-electric-tab, vera-comment-uncomment-region):
713         Mark unused parameters.
714         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
716 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
718         * emacs-lisp/package.el (package--builtins, package-alist)
719         (package-load-descriptor, package-built-in-p, package-activate)
720         (define-package, package-installed-p)
721         (package-compute-transaction, package-buffer-info)
722         (package--push): Doc fix.  Distinguish more clearly between
723         version strings and version lists.
725 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
727         Lexical-binding cleanup.
729         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
730         (5x5-make-mutate-best):
731         * play/fortune.el (fortune-in-buffer):
732         * play/gomoku.el (gomoku-init-display):
733         * play/solitaire.el (solitaire, solitaire-do-check):
734         * play/tetris.el (tetris-default-update-speed-function):
735         Mark unused parameters.
737         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
738         (bubbles--shift): Remove unused variable `char-org'.
739         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
740         (bubbles--show-images): Remove unused variable `char'.
742         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
743         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
744         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
745         (decipher-analyze-buffer): Use ?\s.
746         (decipher-make-checkpoint): Remove unused variable `mapping'.
748         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
750         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
751         Remove unused variable `result'; use `let'.
753         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
754         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
755         (gametree-children-shown-p, gametree-compute-reduced-score):
756         Use `ignore-errors'.
758         * play/handwrite.el (ps-lpr-switches): Declare.
759         (handwrite): Remove unused variables `pmin' and `lastp'.
761         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
763         * play/landmark.el (landmark-init-display)
764         (landmark-update-naught-weights): Mark unused parameters.
765         (landmark-y): Remove unused variable `noise'.  Simplify.
766         (landmark-human-plays): Remove unused variable `score'.
768         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
769         (mpuz-try-proposal): Remove unused variable `game'.
771         * play/zone.el (life-patterns): Declare.
773 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
775         * vc/vc.el (ediff-vc-internal): Declare function.
777 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
779         * shell.el: Use lexical-binding and std completion UI.
780         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
781         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
782         comint-preoutput-filter-functions rather than on
783         comint-output-filter-functions.
784         (shell-command-completion, shell--command-completion-data)
785         (shell-filename-completion, shell-environment-variable-completion)
786         (shell-c-a-p-replace-by-expanded-directory): New functions.
787         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
788         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
789         (shell-dynamic-complete-environment-variable): Use them.
790         (shell-dynamic-complete-as-environment-variable)
791         (shell-dynamic-complete-as-command): Remove.
792         (shell-match-partial-variable): Match past point.
793         * comint.el: Clean up use of completion-at-point-functions.
794         (comint-completion-at-point): New function.
795         (comint-mode): Use it completion-at-point-functions.
796         (comint-dynamic-complete): Make it obsolete.
797         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
798         (comint-c-a-p-replace-by-expanded-history): New function.
799         (comint-dynamic-complete-functions)
800         (comint-replace-by-expanded-history): Use it.
801         * minibuffer.el (completion-table-with-terminator): Allow dynamic
802         termination strings.  Try harder to avoid second try-completion.
803         (completion-in-region-mode-map): Disable bindings that don't work yet.
805         * comint.el: Use lexical-binding.  Require CL.
806         (comint-dynamic-complete-functions): Use comint-filename-completion.
807         (comint-completion-addsuffix): Tweak custom type.
808         (comint-filename-completion, comint--common-suffix)
809         (comint--common-quoted-suffix, comint--table-subvert)
810         (comint--complete-file-name-data): New functions.
811         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
812         (comint-dynamic-list-filename-completions): Use them.
813         (comint-dynamic-simple-complete): Make obsolete.
815         * minibuffer.el (completion-in-region-mode):
816         Keep completion-in-region-mode--predicate global.
817         (completion-in-region--postch):
818         Assume completion-in-region-mode--predicate is not null.
820         * progmodes/flymake.el (flymake-start-syntax-check-process):
821         Obey `dir'.  Simplify.
823         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
824         we're in VC after all.
826 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
828         * vc/vc.el (vc-diff-build-argument-list-internal)
829         (vc-version-ediff, vc-ediff): New commands.
830         (vc-version-diff): Use vc-diff-build-argument-list-internal.
832 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
834         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
835         add sanity check.
837         * obsolete/erc-hecomplete.el: Make obsolete.
838         * obsolete/: Standardize obsolescence info in the header.
840 2011-04-20  Glenn Morris  <rgm@gnu.org>
842         * calendar/solar.el (solar-horizontal-coordinates):
843         Use the longitude argument rather than `calendar-longitude'.
844         (solar-date-next-longitude): Remove unused locals.
846 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
848         * whitespace.el: New version 13.2.1.
850 2011-04-20  felix  <EmacsWiki>  (tiny change)
852         * whitespace.el (global-whitespace-mode): keep highlight when
853         switching between major modes on a file.
855 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
857         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
858         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
859         multi-line comments as well.
861 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
863         Lexical-binding cleanup.
865         * arc-mode.el (archive-mode-revert):
866         * cmuscheme.el (scheme-interactively-start-process):
867         * custom.el (custom-initialize-delay):
868         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
869         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
870         * emacs-lock.el (emacs-lock-clear-sentinel):
871         * ezimage.el (defezimage):
872         * follow.el (follow-avoid-tail-recenter):
873         * fringe.el (set-fringe-mode-1):
874         * generic-x.el (bat-generic-mode-compile):
875         * help-mode.el (help-info-variable, help-do-xref)
876         (help-mode-revert-buffer):
877         * help.el (view-emacs-todo):
878         * iswitchb.el (iswitchb-completion-help):
879         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
880         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
881         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
882         * locate.el (locate-update):
883         * longlines.el (longlines-encode-region)
884         (longlines-after-change-function):
885         * outline.el (outline-isearch-open-invisible):
886         * ps-def.el (declare-function, charset-dimension, char-width)
887         (encode-char):
888         * ps-mule.el (ps-mule-plot-string):
889         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
890         (recentf-edit-list-select, recentf-edit-list-validate)
891         (recentf-open-files-action):
892         * rect.el (delete-whitespace-rectangle-line)
893         (rectangle-number-line-callback):
894         * register.el (window-configuration-to-register)
895         (frame-configuration-to-register):
896         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
897         * select.el (xselect-convert-to-string, xselect-convert-to-length)
898         (xselect-convert-to-targets, xselect-convert-to-delete)
899         (xselect-convert-to-filename, xselect-convert-to-charpos)
900         (xselect-convert-to-lineno, xselect-convert-to-colno)
901         (xselect-convert-to-os, xselect-convert-to-host)
902         (xselect-convert-to-user, xselect-convert-to-class)
903         (xselect-convert-to-name, xselect-convert-to-integer)
904         (xselect-convert-to-atom, xselect-convert-to-identity):
905         * subr.el (declare, ignore, process-kill-without-query)
906         (text-clone-maintain):
907         * terminal.el (te-get-char, te-tic-sentinel):
908         * tool-bar.el (tool-bar-make-keymap):
909         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
910         * type-break.el (type-break-mode, type-break-noninteractive-query):
911         * view.el (View-back-to-mark):
912         * wid-browse.el (widget-browse-action, widget-browse-widget)
913         (widget-browse-widgets, widget-browse-sexp):
914         * widget.el (define-widget-keywords):
915         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
916         Mark unused parameters.
918         * align.el (align-adjust-col-for-rule): Mark unused parameter.
919         (align-areas): Remove unused variable `look'.
920         (align-region): Remove unused variables `real-end' and `pos-list'.
922         * apropos.el (apropos-score-doc): Remove unused variable `i'.
924         * bindings.el (mode-line-modified, mode-line-remote):
925         Mark unused parameters.
926         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
928         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
929         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
931         * comint.el (comint-history-isearch-pop-state)
932         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
933         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
934         (comint-substitute-in-file-name): Doc fix.
936         * completion.el (cmpl-statistics-block): Mark unused parameter.
937         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
938         (save-completions-to-file, load-completions-from-file):
939         Remove unused local variable `e'.
941         * composite.el (compose-chars): Remove unused variable `len'.
942         (lgstring-insert-glyph): Remove unused variable `g'.
943         (compose-glyph-string): Remove unused variables `ascent',
944         `descent', `lbearing' and `rbearing'.
945         (compose-glyph-string-relative): Remove unused variables
946         `lbearing', `rbearing' and `wadjust'.
947         (compose-gstring-for-graphic): Remove unused variables `header',
948         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
949         (compose-gstring-for-terminal): Remove unused variables `header'
950         and `nchars'.  Use `let', not `let*'.
952         * cus-edit.el (Custom-set, Custom-save, custom-reset)
953         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
954         (Custom-buffer-done, custom-buffer-create-internal)
955         (custom-browse-visibility-action, custom-browse-group-tag-action)
956         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
957         (widget-magic-mouse-down-action, custom-toggle-parent)
958         (custom-add-parent-links, custom-toggle-hide-variable)
959         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
960         (custom-toggle-hide-face, face, hook, custom-group-link-action)
961         (custom-face-menu-create, custom-variable-menu-create, get)
962         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
963         (custom-reset-standard-save-and-update): Remove unused variable `value'.
964         (customize-apropos): Remove unused variable `tests'.
965         (custom-group-value-create): Remove unused variable `hidden-p'.
966         (sort-fold-case): Declare.
968         * cus-theme.el (custom-reset-standard-faces-list)
969         (custom-reset-standard-variables-list): Declare.
970         (customize-create-theme, custom-theme-revert, custom-theme-write)
971         (custom-theme-choose-mode, customize-themes, custom-theme-save):
972         Mark unused parameters.
974         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
976         * delim-col.el (delimit-columns-max): Move defvar before first use.
978         * descr-text.el (describe-char-categories): Don't quote `lambda'.
979         (describe-char): Don't quote `lambda'.  Mark unused parameter.
981         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
982         (auto-insert): Declare.
983         (desktop-restore-file-buffer): Rename desktop-* parameters;
984         mark unused ones.
985         (desktop-create-buffer): Rename desktop-* parameters and bind them.
986         (desktop-buffer): Rename desktop-* parameters.
988         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
989         (dframe-reposition-frame-xemacs, dframe-help-echo)
990         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
991         Mark unused parameters.
993         * dired-aux.el (backup-extract-version-start, overwrite-query)
994         (overwrite-backup-query, rename-regexp-query)
995         (rename-non-directory-query): Declare.
996         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
997         (dired-add-entry): Remove unused variable `orig-file-name'.
998         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
999         Use parameter PRESERVE-TIME instead of accessing dynamic variable
1000         `dired-copy-preserve-time' directly.
1001         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1002         (dired-insert-subdir-newpos): Rename unused variable `pos'.
1004         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1005         (dired-virtual-revert, dired-make-relative-symlink):
1006         Mark unused parameters.
1007         (manual-program): Declare.
1008         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1009         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1010         wrapped in `with-no-warnings' to avoid replacing one warning by another.
1012         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1014         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1016         * echistory.el (electric-history-in-progress, Helper-return-blurb):
1017         Declare.
1019         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1021         * electric.el (Electric-command-loop): Rename parameter
1022         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1024         * expand.el (expand-in-literal): Remove unused variable `here'.
1026         * facemenu.el (facemenu-add-new-color):
1027         Remove unused variable `docstring'.
1029         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1030         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1031         (face-attr-construct): Mark unused parameter.  Doc fix.
1032         (read-color): Remove unused variable `hex-string'.
1034         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1035         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1036         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1037         (display-buffer-other-frame): Remove unused variable `old-window'.
1038         (kill-buffer-hook): Declare.
1039         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1040         Mark unused parameters.
1041         (after-find-file): Pass 1 to `auto-save-mode', not t.
1043         * files-x.el (auto-insert): Declare.
1044         (modify-file-local-variable-prop-line): Remove unused variable `val'.
1046         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1047         variable `buf'.  Mark unused parameter.
1048         (find-lisp-insert-directory): Mark unused parameter.
1050         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1051         (format-encode-region): Remove unused variables `cur-buf' and `result'.
1052         (format-common-tail): Remove, unused.
1053         (format-deannotate-region): Remove unused variable `loc'.
1054         (format-annotate-region): Remove unused variable `p'.
1055         (format-annotate-single-property-change): Remove unused variables
1056         `default' and `tail'.
1058         * forms.el (read-file-filter): Declare.
1059         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1061         * frame.el (frame-creation-function-alist): Mark unused parameter.
1062         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1064         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1065         Remove unused parameters.
1066         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1067         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1069         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1070         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1071         (hfy-prepare-tag-map): Mark unused parameters.
1072         (htmlfontify-buffer): Use `called-interactively-p'.
1074         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1075         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1076         (ibuffer-do-occur): Mark unused parameters.
1077         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1078         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1080         * ibuffer.el: Don't quote `lambda'.
1081         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1082         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1083         Mark unused parameters.
1085         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1086         (ido-completing-read): Mark unused parameters.
1087         (ido-copy-current-word): Mark unused parameters;
1088         remove unused variable `name'.
1089         (ido-sort-merged-list): Remove unused parameter `dirs'.
1091         * ielm.el (ielm-input-sender): Mark unused parameter.
1092         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1093         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1094         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1095         `ielm-string' as a dynamic variable accessible from the IELM prompt.
1096         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
1098         * image-dired.el (image-dired-display-thumbs): Remove unused
1099         variables `curr-file' and `count'.
1100         (image-dired-remove-tag): Remove unused variable `start'.
1101         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1102         variable `curr-file'
1103         (image-dired-rotate-original): Remove unused variable `temp-file'.
1104         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1105         Remove unused variable `file'.
1106         (image-dired-gallery-generate): Remove unused variable `curr'.
1107         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1109         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1111         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1113         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1115         * isearch.el (minibuffer-history-symbol): Declare.
1116         (isearch-edit-string): Remove unused variable `err'.
1117         (isearch-message-prefix, isearch-message-suffix):
1118         Mark unused parameters.
1120         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1122         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1124         * makesum.el (double-column): Remove unused variable `cnt'.
1126         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1127         (ido-ignore-item-temp-list): Declare.
1129         * mouse-drag.el (mouse-drag-throw): Remove unused variables
1130         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1131         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1132         (mouse-drag-drag): Remove unused variables `mouse-delta' and
1133         `mouse-col-delta'.
1135         * mouse-sel.el (mouse-extend-internal):
1136         Remove unused variable `orig-window-frame'.
1138         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1139         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1140         Move declarations before first use.
1141         (pcomplete-opt): Mark unused parameters; doc fix.
1143         * proced.el (proced-revert): Mark unused parameter.
1144         (proced-send-signal): Remove unused variable `err'.
1146         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1147         Rename parameter PREFIX-ARG to ARG.
1148         (ps-basic-plot-string, ps-basic-plot-whitespace):
1149         Mark unused parameters.
1151         * replace.el (replace-count): Define.
1152         (occur-revert-function): Mark unused parameters.
1153         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1154         (isearch-case-fold-search, isearch-string): Declare.
1155         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1156         bind `case-fold-search'.  Remove unused variables `beg' and `end',
1157         and simplify.
1158         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1159         COUNT and bind `replace-count'.
1160         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1161         to COUNT.
1163         * savehist.el (print-readably, print-string-length): Declare.
1165         * shadowfile.el (shadow-expand-cluster-in-file-name):
1166         Remove unused variable `cluster'.
1167         (shadow-copy-file): Remove unused variable `i'.
1168         (shadow-noquery, shadow-clusters, shadow-site-cluster)
1169         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1170         (shadow-define-literal-group, shadow-define-regexp-group)
1171         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1173         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1174         (shell): Use `called-interactively-p'.
1175         (shell-directory-tracker): Remove unused variable `chdir-failure'.
1177         * simple.el (compilation-context-lines, comint-file-name-quote-list)
1178         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1179         (delete-backward-char): Remove unused variable `ocol'.
1180         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1181         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1182         (event-apply-hyper-modifier, event-apply-shift-modifier)
1183         (event-apply-control-modifier, event-apply-meta-modifier):
1184         Mark unused parameters.
1185         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1186         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1188         * speedbar.el (speedbar-ignored-directory-expressions)
1189         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1190         (speedbar-find-file, speedbar-dir-follow)
1191         (speedbar-directory-buttons-follow, speedbar-tag-find)
1192         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1193         (speedbar-buffers-line-directory, speedbar-buffer-click):
1194         Mark unused parameters.
1195         (speedbar-tag-file): Remove unused variable `mode'.
1196         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1198         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1200         * talk.el (talk): Remove unused variable `display'.
1202         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1203         (tar-write-region-annotate): Mark unused parameter.
1205         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1206         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1207         Declare them, wrapped in `with-no-warnings' to avoid replacing one
1208         warning by another.
1210         * time-stamp.el (time-stamp-string-preprocess):
1211         Remove unused variable `require-padding'.
1213         * tree-widget.el (widget-glyph-enable): Declare.
1214         (tree-widget-action): Mark unused parameter.
1216         * w32-fns.el (x-get-selection): Mark unused parameter.
1217         (autoload-make-program, generated-autoload-file): Declare.
1219         * wdired.el (wdired-revert): Mark unused parameters.
1220         (wdired-xcase-word): Remove unused variable `err'.
1222         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1223         (whitespace-help-scroll): Remove unused variable `data-help'.
1225         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1226         (widget-image-insert, widget-after-change, default)
1227         (widget-default-format-handler, widget-default-notify)
1228         (widget-default-prompt-value, widget-info-link-action)
1229         (widget-url-link-action, widget-function-link-action)
1230         (widget-variable-link-action, widget-file-link-action)
1231         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1232         (widget-field-prompt-internal, widget-field-action, widget-field-match)
1233         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1234         (widget-insert-button-action, widget-delete-button-action, visibility)
1235         (widget-documentation-link-action, widget-documentation-string-action)
1236         (widget-const-prompt-value, widget-regexp-match, symbol)
1237         (widget-coding-system-prompt-value)
1238         (widget-key-sequence-value-to-external, sexp)
1239         (widget-sexp-value-to-internal, character, vector, cons)
1240         (widget-choice-prompt-value, widget-boolean-prompt-value)
1241         (widget-color--choose-action): Mark unused parameters.
1242         (widget-item-match-inline, widget-choice-match-inline)
1243         (widget-checklist-match, widget-checklist-match-inline)
1244         (widget-group-match): Rename parameter VALUES to VALS.
1245         (widget-field-value-set): Remove unused variable `size'.
1246         (widget-color-action): Remove unused variables `value' and `start'.
1248         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1249         variable `dir'.  Doc fix.
1250         (windmove-find-other-window): Don't pass it.
1252         * window.el (count-windows): Mark unused parameter.
1253         (bw-adjust-window): Remove unused variable `err'.
1255         * woman.el (woman-file-name): Remove unused variable `default'.
1256         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1257         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1258         (global-font-lock-mode): Declare.
1259         (woman-decode-region): Mark unused parameter.
1260         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1262         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1263         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1264         (x-dnd-handle-moz-url): Remove unused variable `title'.
1265         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1267         * xml.el (xml-parse-tag, xml-parse-attlist):
1268         Remove unused variable `pos'.
1270 2011-04-19  Glenn Morris  <rgm@gnu.org>
1272         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1273         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1274         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1275         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1276         * calendar/cal-html.el (cal-html-insert-minical):
1277         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1278         (calendar-mark-date-pattern):
1279         Prefix "unused" locals.
1281         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1282         optional argument `style'.
1284         * calendar/appt.el (appt-make-list):
1285         * calendar/cal-china.el (calendar-chinese-date-string):
1286         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1287         (diary-hebrew-yahrzeit):
1288         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1289         * calendar/calendar.el (calendar-generate-window):
1290         * calendar/time-date.el (time-to-days):
1291         Remove unused local variables.
1293 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
1295         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1296         glyphless-char-display table.
1297         (tabulated-list-glyphless-char-display): New var.
1299 2011-04-18  Sam Steingold  <sds@gnu.org>
1301         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1302         to acknowledgments.
1304 2011-04-17  Glenn Morris  <rgm@gnu.org>
1306         * calendar/diary-lib.el (diary-sexp-entry):
1307         * calendar/holidays.el (holiday-sexp):
1308         Set debug-on-error rather than the removed stack-trace-on-error.
1310 2011-04-16  Glenn Morris  <rgm@gnu.org>
1312         * progmodes/f90.el: Use lexical-binding.
1313         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1315 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1317         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1318         (mail-mode): Setup mailalias completion here instead.
1319         * mail/mailalias.el: Use lexical-binding.
1320         (pattern, mailalias-done): Declare dynamic.
1321         (mail-completion-at-point-function): New function, from mail-complete.
1322         (mail-complete): Use it.
1323         (mail-completion-expand): New function.
1324         (mail-get-names): Use it.
1325         (mail-directory, mail-directory-process, mail-directory-stream):
1326         Don't use `pattern' for lexically bound arg.
1328         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1330         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1331         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1332         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1334         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1335         (byte-save-window-excursion, byte-temp-output-buffer-setup)
1336         (byte-interactive-p): Define them again, for use when inlining
1337         old code.
1339 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
1341         * loadup.el: Use `string-to-number', not `string-to-int'.
1343 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1345         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1346         gud-gdb-complete-command.
1347         (gud-gdb-completions): New function, from gud-gdb-complete-command.
1348         (gud-gdb-completion-at-point): New function.
1349         (gud-gdb-completions): Remove.
1351 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
1353         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1354         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
1355         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1356         whether `executable-find' is bound.
1358         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1360 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1362         * minibuffer.el (completion-in-region-mode-predicate)
1363         (completion-in-region-mode--predicate): New vars.
1364         (completion-in-region, completion-in-region--postch)
1365         (completion-in-region-mode): Use them.
1366         (completion--capf-wrapper): Also return the hook function.
1367         (completion-at-point, completion-help-at-point):
1368         Adjust and provide a predicate.
1370         Preserve arg names for advice of subr and lexical functions (bug#8457).
1371         * help-fns.el (help-function-arglist): Consolidate the subr and
1372         new-byte-code cases.  Add argument `preserve-names' to extract names
1373         from the docstring when needed.
1374         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1375         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1376         (ad-arglist): Use help-function-arglist's new arg.
1377         (ad-definition-type): Use cond.
1379 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
1381         * autorevert.el (auto-revert-handler):
1382         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1383         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1384         Don't quote lambda.
1386         * image-mode.el (image-transform-set-scale):
1387         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1389 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1391         * net/network-stream.el (network-stream-open-starttls): Only do
1392         opportunistic STARTTLS upgrades if we have built-in gnutls support.
1393         Upgrades via gnutls-cli are too slow to be done opportunistically.
1395 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
1397         * dframe.el (dframe-current-frame): Remove spurious quote.
1399 2011-04-12  Glenn Morris  <rgm@gnu.org>
1401         * calendar/cal-tex.el (cal-tex-end-document):
1402         Try to automatically use latin1 input if needed.
1404         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1405         Don't try to cons a mark onto an empty element.
1407 2011-04-11  Leo Liu  <sdl.web@gmail.com>
1409         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1410         buffers.
1411         (ido-kill-buffer-at-head): Support killing virtual buffers.
1413 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
1415         * minibuffer.el (completion-show-inline-help): New var.
1416         (completion--do-completion, minibuffer-complete)
1417         (minibuffer-force-complete, minibuffer-complete-word):
1418         Inhibit minibuffer messages if completion-show-inline-help is nil.
1420         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1421         to avoid interference from inline help (Bug#5849).
1423 2011-04-10  Leo Liu  <sdl.web@gmail.com>
1425         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1426         Fix typo.
1428 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
1430         * image-mode.el (image-toggle-display-image): Signal an error if
1431         not in Image mode.
1432         (image-transform-mode, image-transform-resize)
1433         (image-transform-set-rotation): Doc fix.
1434         (image-transform-set-resize): Delete.
1435         (image-transform-set-scale, image-transform-fit-to-height)
1436         (image-transform-fit-to-width): Handle image-toggle-display-image
1437         and image-transform-resize directly.
1439 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
1441         * doc-view.el (doc-view-fit-width-to-window)
1442         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1443         New functions for fitting the shown image to the Emacs window size.
1444         (doc-view-mode-map): Add bindings for the new functions.
1446 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
1448         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1449         Fix typo in docstring.
1451 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1453         * files.el (file-size-human-readable): Produce one digit after
1454         decimal, like "ls -lh" does.
1456         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1457         the file size representation.
1459         * simple.el (list-processes): If async subprocesses are not
1460         available, error out with a clear error message.
1462 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
1464         * help.el (help-form-show): New function, to be called from C.
1465         Put help-form output in a buffer named differently than *Help*.
1467 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1469         * files.el (file-size-human-readable): New function.
1471         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1472         computing the representation inline.  Don't require `cl'.
1474 2011-04-08  Glenn Morris  <rgm@gnu.org>
1476         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1478         * net/browse-url.el (browse-url-firefox):
1479         Test system-type, not system-configuration.
1481         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1482         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1483         Use log-edit-empty-buffer-p.  (Bug#7598)
1485         * net/rlogin.el (rlogin-process-connection-type): Simplify.
1486         (rlogin-mode-map): Initialize in the defvar.
1487         (rlogin): Use ignore-errors.
1489         * replace.el (occur-mode-map): Some fixes for menu items.
1491 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1493         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
1495 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1497         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1498         issuing unused warnings.
1500         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1501         macro directly.
1503         * simple.el: Lisp reimplement of list-processes.  Based on an
1504         earlier reimplementation by Leo Liu, but using tabulated-list.el.
1505         (process-menu-mode): New major mode.
1506         (list-processes--refresh, list-processes):
1507         (process-menu-visit-buffer): New functions.
1509         * files.el (save-buffers-kill-emacs): Don't assume any return
1510         value of list-processes, which is undocumented anyway.
1512 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1514         * emacs-lisp/tabulated-list.el: New file.
1516         * emacs-lisp/package.el: Use Tabulated List mode.
1517         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1518         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
1519         table format using Tabulated List mode variables.
1520         (package--push): New macro, replacing package-list-maybe-add.
1521         (package-menu--generate): Use package--push.  Renamed from
1522         package--generate-package-list.
1523         (package-menu-refresh, list-packages): Use it.
1524         (package-menu--print-info): Rename from package-print-package.
1525         Return insertion data instead of inserting it directly.
1526         (package-menu-describe-package, package-menu-execute):
1527         Use tabulated-list-get-id.
1528         (package-menu-mark-delete, package-menu-mark-install)
1529         (package-menu-mark-unmark, package-menu-backup-unmark)
1530         (package-menu-mark-obsolete-for-deletion):
1531         Use tabulated-list-put-tag.
1532         (package--list-packages, package-menu-revert)
1533         (package-menu-get-package, package-menu-get-version)
1534         (package-menu-sort-by-column): Functions deleted.
1535         (package-menu-package-list, package-menu-sort-key): Vars deleted.
1536         (package-menu--status-predicate, package-menu--version-predicate)
1537         (package-menu--name-predicate)
1538         (package-menu--description-predicate): Handle arguments in the
1539         Tabulated List format.
1540         (package-list-packages-no-fetch): Call list-packages.
1542 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
1544         * files.el (after-find-file-from-revert-buffer): Remove variable.
1545         (after-find-file): Don't bind it.
1546         (revert-buffer-in-progress-p): New variable.
1547         (revert-buffer): Bind it.
1548         Pass nil for `after-find-file-from-revert-buffer'.
1550         * saveplace.el (save-place-find-file-hook): Use new variable
1551         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1553 2011-04-06  Glenn Morris  <rgm@gnu.org>
1555         * Makefile.in (AUTOGEN_VCS): New variable.
1556         (autoloads): Use $AUTOGEN_VCS.
1558         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1559         * calendar/calendar.el (calendar-mode-map):
1560         Check for toolkit scroll bars.  (Bug#8305)
1562 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1564         * minibuffer.el (completion-in-region--postch)
1565         (completion-in-region-mode): Remove unnecessary messages.
1567 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
1569         * font-lock.el (font-lock-refresh-defaults):
1570         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1571         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1573         * info.el (Info-directory-list, Info-read-node-name-2)
1574         (Info-split-parameter-string): Doc fixes.
1575         (Info-virtual-nodes): Reflow docstring.
1576         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1577         (Info-apropos-toc-nodes, info-finder, Info-get-token)
1578         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1579         Fix typos in docstrings.
1580         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1581         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1582         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1583         (Info-restore-desktop-buffer): Mark unused parameters.
1584         (Info-directory-find-file, Info-directory-find-node)
1585         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1586         (Info-virtual-index-find-node, Info-apropos-find-file)
1587         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1588         Mark unused parameters; fix typos in docstrings.
1589         (Info-virtual-index): Remove unused local variable `nodename'.
1591 2011-04-05  Deniz Dogan  <deniz@dogan.se>
1593         * net/rcirc.el: Update my e-mail address.
1594         (rcirc-mode-map): Remove M-o binding.
1596 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1598         * startup.el (command-line): Save the cursor's theme-face
1599         directly, instead of using face-override-spec.
1601         * custom.el (load-theme): Minor optimization in assigning faces.
1603 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1605         * help-fns.el (describe-variable): Complete all variables having
1606         documentation, including keywords.
1607         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1609 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1611         Convert to lexical-binding.
1613         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1614         (bs--get-marked-string, bs--get-modified-string)
1615         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1616         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1617         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1619         * ehelp.el (electric-help-execute-extended)
1620         (electric-help-ctrl-x-prefix):
1621         * hexl.el (hexl-revert-buffer-function):
1622         * linum.el (linum-after-change, linum-after-scroll):
1623         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1625         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1627 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
1629         * epa-dired.el:
1630         * epa-mail.el:
1631         * epa-hook.el:
1632         * epa-file.el:
1633         * epa.el:
1634         * epg.el: Use lexical binding.
1636 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
1638         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1640         * textmodes/flyspell.el (flyspell-word): Recognize default
1641         dictionary case for flyspell-mark-duplications-exceptions.
1642         Use regexp matching for languages.
1643         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1644         default dictionary (Bug#7926).
1646 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
1648         * emacs-lisp/package.el (package--with-work-buffer):
1649         Recognize https URLs.
1651         * net/network-stream.el: Move from gnus/proto-stream.el.
1652         Change prefix to network-stream throughout.
1653         (open-protocol-stream): Merge into open-network-stream, leaving
1654         open-protocol-stream as an alias.  Handle nil BUFFER args.
1656         * subr.el (open-network-stream): Move to net/network-stream.el.
1658 2011-04-02  Glenn Morris  <rgm@gnu.org>
1660         * find-dired.el (find-exec-terminator): New option.
1661         (find-ls-option): Test for -ls support.
1662         (find-ls-subdir-switches): Test for -b in find-ls-option.
1663         (find-dired, find-grep-dired): Doc fixes.
1664         (find-dired): Use find-exec-terminator.
1666         * find-dired.el (find-ls-option, find-ls-subdir-switches)
1667         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1668         (find-name-arg): Remove purecopy.
1670         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1671         (grep-compute-defaults): Check for `-exec COMMAND +' support.
1672         Set grep-find-use-xargs, grep-find-command, and grep-find-template
1673         accordingly.  Don't add the null-device if not needed.
1675         * files.el (save-some-buffers): Doc fix.
1677 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
1679         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1681 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
1683         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1684         Use `dolist' rather than `mapcar'.
1686 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1688         Add lexical binding.
1690         * subr.el (apply-partially): Use new closures rather than CL.
1691         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1692         (dolist, dotimes): Use slightly different expansion for lexical code.
1693         (functionp): Move to C.
1694         (letrec): New macro.
1695         (with-wrapper-hook): Use it and apply-partially instead of CL.
1696         (eval-after-load): Preserve lexical-binding.
1697         (save-window-excursion, with-output-to-temp-buffer): Turn them
1698         into macros.
1700         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1702         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1703         than the arglist.
1704         (help-add-fundoc-usage): Don't add `Not documented'.
1705         (help-function-arglist): Handle closures, subroutines, and new
1706         byte-code-functions.
1707         (help-make-usage): Remove leading underscores.
1708         (describe-function-1): Handle closures.
1709         (describe-variable): Use special-variable-p for completion.
1711         * files.el (lexical-binding): Declare safe.
1713         * emacs-lisp/pcase.el: Don't use destructuring-bind.
1714         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
1715         (pcase): Add `let' pattern.
1716         Change memoization so it actually works.
1717         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1718         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1719         <let>: New case.
1721         * emacs-lisp/macroexp.el: Use lexical binding.
1722         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
1723         Don't convert ' to #' without checking that it's indeed quoting
1724         a lambda.
1726         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1727         Use eval-sexp-add-defvars.
1728         (eval-sexp-add-defvars): New fun.
1730         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1732         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1733         Don't autoload.
1734         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1735         than the internal `byte-compile-lambda'.
1736         (defmethod): Don't hide code under quotes.
1737         (eieio-defmethod): New `code' argument.
1739         * emacs-lisp/eieio-comp.el: Remove.
1741         * emacs-lisp/edebug.el (edebug-eval-defun)
1742         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1743         (edebug-toggle): Avoid `eval'.
1745         * emacs-lisp/disass.el (disassemble-internal): Handle new
1746         `closure' objects.
1747         (disassemble-1): Handle new byte codes.
1749         * emacs-lisp/cl.el (pushnew): Silence warning.
1751         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1752         (cl-byte-compile-throw): Remove.
1753         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1755         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1756         closures.
1758         * emacs-lisp/cconv.el: New file.
1760         * emacs-lisp/bytecomp.el: Use lexical binding instead of
1761         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
1762         (byte-compile-initial-macro-environment):
1763         Handle declare-function here.
1764         (byte-compile--lexical-environment): New var.
1765         (byte-stack-ref, byte-stack-set, byte-discardN)
1766         (byte-discardN-preserve-tos): New lap codes.
1767         (byte-interactive-p): Don't use any more.
1768         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1769         New macros.
1770         (byte-compile-lapcode): Use them and handle new lap codes.
1771         (byte-compile-obsolete): Remove.
1772         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1773         (byte-compile-arglist-warn): Check late def of inlinable funs.
1774         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1775         since they should have been expanded by now.
1776         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1777         (byte-compile-from-buffer): Remove unused second arg.
1778         (byte-compile-preprocess): New function.
1779         (byte-compile-toplevel-file-form): New function to distinguish
1780         file-form calls from outside from file-form calls from hunk-handlers.
1781         (byte-compile-file-form): Simplify.
1782         (byte-compile-file-form-defsubst): Remove.
1783         (byte-compile-file-form-defmumble): Simplify now that
1784         byte-compile-lambda always returns a byte-code-function.
1785         (byte-compile): Preprocess.
1786         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1787         Remove, not used any more.
1788         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1789         (byte-compile-make-args-desc): New funs.
1790         (byte-compile-lambda): Handle lexical functions.  Always return
1791         a byte-code-function.
1792         (byte-compile-reserved-constants): New var, to make up room for
1793         closed-over variables.
1794         (byte-compile-constants-vector): Obey it.
1795         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1796         (byte-compile-macroexpand-declare-function): New function.
1797         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1798         byte-code-functions.
1799         (byte-compile-form): Check obsolescence here.
1800         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1801         (byte-compile-variable-ref): Remove.
1802         (byte-compile-dynamic-variable-op): New fun.
1803         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1804         (byte-compile-variable-set): New funs.
1805         (byte-compile-discard): Add 2 args.
1806         (byte-compile-stack-ref, byte-compile-stack-set)
1807         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1808         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1809         macroexpand-all instead.
1810         (byte-compile-quote-form): Remove.
1811         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1812         (byte-compile-bind, byte-compile-unbind): New funs.
1813         (byte-compile-let): Handle let* and lexical binding.
1814         (byte-compile-let*): Remove.
1815         (byte-compile-catch, byte-compile-unwind-protect)
1816         (byte-compile-track-mouse, byte-compile-condition-case):
1817         Handle a new :fun-body form, used for lexical scoping.
1818         (byte-compile-save-window-excursion)
1819         (byte-compile-with-output-to-temp-buffer): Remove.
1820         (byte-compile-defun): Simplify.
1821         (byte-compile-stack-adjustment): New fun.
1822         (byte-compile-out): Use it.
1823         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1825         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1826         handler any more.
1828         * emacs-lisp/byte-opt.el: Use lexical binding.
1829         (byte-inline-lapcode): Remove (to bytecomp).
1830         (byte-compile-inline-expand): Pay attention to inlining to/from
1831         lexically bound code.
1832         (byte-compile-unfold-lambda): Don't handle byte-code-functions
1833         any more.
1834         (byte-optimize-form-code-walker): Don't handle save-window-excursion
1835         any more and don't call compiler-macros.
1836         (byte-compile-splice-in-already-compiled-code): Remove.
1837         (byte-code): Don't inline any more.
1838         (disassemble-offset): Receive `bytes' as argument rather than via
1839         dynamic scoping.
1840         (byte-compile-tag-number): Declare before first use.
1841         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1842         `return' even if make-spliceable.
1843         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1844         obsolete interactive-p.
1845         (byte-optimize-lapcode): Optimize new lap-codes.
1846         Don't trip up on new form of `byte-constant' lap code.
1848         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1850         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1852         * custom.el (custom-initialize-default, custom-declare-variable):
1853         Use `defvar'.
1855         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1856         New variables.
1857         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1858         (COMPILE_FIRST): Add macroexp and cconv.
1859         * makefile.w32-in: Mirror changes in Makefile.in.
1861         * vc/cvs-status.el:
1862         * vc/diff-mode.el:
1863         * vc/log-edit.el:
1864         * vc/log-view.el:
1865         * vc/smerge-mode.el:
1866         * textmodes/bibtex-style.el:
1867         * textmodes/css.el:
1868         * startup.el:
1869         * uniquify.el:
1870         * minibuffer.el:
1871         * newcomment.el:
1872         * reveal.el:
1873         * server.el:
1874         * mpc.el:
1875         * emacs-lisp/smie.el:
1876         * doc-view.el:
1877         * dired.el:
1878         * abbrev.el: Use lexical binding.
1880 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
1882         * info.el (info-display-manual): New function.
1884 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1888 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
1890         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1891         an entry for that server in rcirc-authinfo.  (Bug#8385)
1893 2011-03-31  Glenn Morris  <rgm@gnu.org>
1895         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1897         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1899 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
1901         * progmodes/python.el (python-default-interpreter)
1902         (python-python-command-args, python-jython-command-args)
1903         (python-which-shell, python-which-args, python-which-bufname)
1904         (python-file-queue, python-comint-output-filter-function)
1905         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1906         variables and functions.
1908 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1910         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1911         (completion-in-region-mode): New minor mode.
1912         (completion-in-region): Use it.
1913         (completion-in-region--data, completion-in-region-mode-map): New vars.
1914         (completion-in-region--postch): New function.
1915         (completion--capf-misbehave-funs, completion--capf-safe-funs):
1916         New vars.
1917         (completion--capf-wrapper): New function.
1918         (completion-at-point): Use it to track well-behavedness of
1919         hook functions.
1920         (completion-help-at-point): New command.
1922 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
1924         * vc/add-log.el (add-change-log-entry): Don't use whitespace
1925         syntax class to search for whitespace on a single line
1926         (Message-ID: <4D938140.4030905@redhat.com>).
1928 2011-03-30  Leo Liu  <sdl.web@gmail.com>
1930         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1931         New commands.
1932         (edit-abbrevs-map): Bind them here.
1933         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
1935 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
1937         * allout.el (allout-hide-by-annotation, allout-flag-region):
1938         Reduce possibility of overlay leakage by making them volatile.
1940         * allout-widgets.el (allout-widgets-tally): Define as nil so the
1941         hash is not shared between buffers.  Mode initialization is
1942         responsible for giving it a useful starting value.
1943         (allout-item-span): Reduce possibility of overlay leakage by
1944         making them volatile.
1945         (allout-widgets-count-buttons-in-region): Add diagnostic function
1946         for tracking down button overlay leaks.
1948 2011-03-29  Leo Liu  <sdl.web@gmail.com>
1950         * ido.el (ido-read-internal): Use the default history var
1951         minibuffer-history if no HISTORY is specified.
1953 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
1955         * net/imap.el (imap-shell-open, imap-process-connection-type):
1956         Use imap-process-connection-type for 'shell' streams as well as
1957         Kerberos, SSL, other subprocesses.
1959 2011-03-28  Leo Liu  <sdl.web@gmail.com>
1961         * abbrev.el (abbrev-table-empty-p): New function.
1962         (prepare-abbrev-list-buffer): Place empty abbrev tables after
1963         nonempty ones.  (Bug#5937)
1965 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
1967         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1969 2011-03-27  Leo Liu  <sdl.web@gmail.com>
1971         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1972         for foreground and background colors.
1973         (ansi-color-make-color-map): Adapt.
1975 2011-03-25  Leo Liu  <sdl.web@gmail.com>
1977         * midnight.el (midnight-time-float): Remove.  Note it calculates
1978         the microsecond component incorrectly and seconds-to-time does the
1979         same job.
1980         Remove redundant (require 'timer).
1982         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1983         (ido-completions): Remove unused arguments.  (Bug#8329)
1985 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1987         * minibuffer.el (completion--flush-all-sorted-completions):
1988         Remove itself from hook.
1989         (completion-at-point): Let the functions perform the completion
1990         immediately and return nil or t.
1991         * comint.el (comint-dynamic-complete-functions): Now identical to
1992         completion-at-point-functions.
1993         (comint-dynamic-list-input-ring): Remove unused var `index'.
1994         (comint--match-partial-filename, comint--unquote&expand-filename):
1995         New funs, split from comint-match-partial-filename.
1996         (comint-dynamic-complete): Use completion-at-point.
1997         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1999 2011-03-24  Drew Adams  <drew.adams@oracle.com>
2001         * thingatpt.el: Support `defun'.
2003 2011-03-23  Leo Liu  <sdl.web@gmail.com>
2005         * abbrevlist.el: Move to obsolete/abbrevlist.el.
2007         * help-mode.el (help-mode-finish): Tweak regexp.
2009 2011-03-23  Glenn Morris  <rgm@gnu.org>
2011         * eshell/esh-opt.el (eshell-eval-using-options):
2012         Do not bind unused local variable `eshell-option-stub'.
2014         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2016 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2018         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2019         keymap variable in `with-no-warnings' to avoid a warning when the
2020         keymap has been already `defconst'ed.
2022 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2024         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2025         encode all chars in abbrevs; otherwise use emacs-mule or
2026         utf-8-emacs.  (Bug#8308)
2028 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2030         * simple.el (backward-delete-char-untabify):
2031         Avoid warning about using `delete-backward-char'.
2033         * image.el (image-type-file-name-regexps): Make it variable.
2034         `imagemagick-register-types' modifies it, and the user may want
2035         to add new extensions for known image types.
2036         (imagemagick-register-types): Throw error if not using ImageMagick.
2038 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2040         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2041         located before rcirc-prompt-end-marker.
2042         (rcirc-complete): Error if point is not after rcirc prompt.
2043         Handle the case when table is nil.
2044         (rcirc-user-authenticated): Define to fix compiler warning.
2046 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
2048         * custom.el (custom--inhibit-theme-enable): Make it affect only
2049         custom-theme-set-variables and custom-theme-set-faces.
2050         (provide-theme): Ignore custom--inhibit-theme-enable.
2051         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2052         (custom-enabling-themes): Delete variable.
2053         (enable-theme): Accept only loaded themes as arguments.
2054         Ignore the special custom-enabled-themes variable.
2055         (custom-enabled-themes): Forbid themes from setting this.
2056         Eliminate use of custom-enabling-themes.
2057         (custom-push-theme): Quote "changed" custom var entry.
2059 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2061         * ido.el (ido-read-internal): Add ido-selected to history instead
2062         of user input.
2064 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2066         * subr.el (deferred-action-list, deferred-action-function):
2067         Mark obsolete.
2069 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2071         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2072         change on 2011-02-13 (bug#8309).
2074         * minibuffer.el (read-file-name-function): Change default value.
2075         (read-file-name--defaults): Rename from read-file-name-defaults.
2076         (read-file-name-default): Rename from read-file-name.
2077         (read-file-name): Call read-file-name-function.
2079 2011-03-21  Glenn Morris  <rgm@gnu.org>
2081         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2082         Doc fixes.
2084 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
2086         * cus-theme.el: Add missing provide statement.
2087         (customize-create-theme): Extract theme value correctly.
2088         (custom-theme-visit-theme): Autoload.
2089         (customize-create-theme): Prompt before inserting default faces.
2091 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
2093         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2094         units and musical notes.
2096 2011-03-20  Leo  <sdl.web@gmail.com>
2098         * ido.el (ido-read-internal): Use completing-read-default.
2099         (ido-completing-read): Fix compatibility with completing-read.
2101 2011-03-20  Christian Ohler  <ohler@gnu.org>
2103         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2104         (ert-delete-all-tests): Use `called-interactively-p' rather than
2105         `interactive-p'.
2106         (ert--make-xrefs-region): Respect END.
2108 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2110         * dired-aux.el (dired-create-directory): Signal an error if the
2111         directory already exists (Bug#8246).
2113         * facemenu.el (list-colors-display): Call list-faces-display
2114         inside with-help-window.
2115         (list-colors-print): Use display property to align the final
2116         column, instead of checking window-width.
2118 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
2120         * emerge.el (emerge-metachars): Separate value for ms-dos and
2121         windows-nt systems.
2122         (emerge-protect-metachars): Quote correctly for ms-dos and
2123         windows-nt systems.
2125 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
2127         * info.el (info-initialize): Replace all uses of `:' with
2128         path-separator for compatibility with non-Unix systems.
2129         Cache quoting of path-separator.  (Bug#8258)
2131 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
2133         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2134         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2135         (mouse-avoidance-mode): Fix typos in docstrings.
2137 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2139         * startup.el (package-subdirectory-regexp): Move from package.el.
2140         Omit \\` and \\', and let callers add them.
2142         * emacs-lisp/package.el (package-strip-version)
2143         (package-load-all-descriptors): Add \\` and \\' to
2144         package-subdirectory-regexp before using it.
2145         (package-untar-buffer): New arg DIR; ensure that file untars only
2146         into this expected directory.  Remove superfluous delete-region.
2147         (package-unpack): Caller changed.
2148         (package-tar-file-info): Use package-subdirectory-regexp.
2150 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2152         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2153         diff-mode-shared-map (bug#8284).
2154         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2156 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2158         * calendar/time-date.el (format-seconds): Use assoc instead of
2159         assoc-string, since assoc-string doesn't exist in XEmacs.
2161 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
2163         * custom.el (custom-known-themes): Reflow docstring.
2164         (custom-theme-load-path): Fix typo in docstring.
2165         (load-theme): Fix typo in error message.
2166         (custom-available-themes, custom-variable-theme-value):
2167         Use `let', not `let*'.
2169 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
2171         * calc/README: Mention inclusion of musical notes.
2173         * calc/calc-units.el (calc-lu-quant): Rename from
2174         `calc-logunits-quantity'.
2175         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2176         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2177         (calc-db): Rename from `calc-dblevel'.
2178         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2179         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2180         (calc-np): Rename from `calc-nplevel'.
2181         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2182         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2183         (calc-lu-plus): Rename from `calc-logunits-add'.
2184         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2185         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2186         (calc-lu-minus): Rename from `calc-logunits-sub'.
2187         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2188         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2189         (calc-lu-times): Rename from `calc-logunits-mul'.
2190         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2191         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2192         (calc-lu-divide): Rename from `calc-logunits-div'.
2193         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2194         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2196         * calc/calc-ext.el (calc-init-extensions): Update the names of the
2197         functions being autoloaded.
2199         * calc/calc.el (calc-lu-power-reference): Rename from
2200         `calc-logunits-power-reference'.
2201         (calc-lu-field-reference): Rename from
2202         `calc-logunits-field-reference'.
2204         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2206 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * minibuffer.el (completion-all-sorted-completions):
2209         Use :completion-cycle-penalty text property if present.
2211 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
2213         * allout.el (allout-yank-processing): Adjust for new rebulleting
2214         regime so bullet being yanked is used without prompting the user
2215         for a choice.
2217 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2219         * startup.el (command-line): Warn the user that _emacs is deprecated.
2221 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2223         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2224         (delphi-verbose, delphi-comment-face, delphi-string-face)
2225         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2226         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2227         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2228         (delphi-new-comment-line, delphi-font-lock-defaults)
2229         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2230         Fix typos in docstrings.
2232 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
2234         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2235         Invert the roles of character and string values for INSTEAD, so a
2236         string is used for the more common case of a defaulting prompt.
2238 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2240         * progmodes/ruby-mode.el (ruby-backward-sexp):
2241         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2242         * play/gamegrid.el (gamegrid-make-face):
2243         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2244         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2245         * notifications.el (notifications-notify):
2246         * net/xesam.el (xesam-search-engines):
2247         * net/quickurl.el (quickurl-list-insert):
2248         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2250 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
2252         * startup.el (command-line): Update package subdirectory regexp.
2254 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2256         * allout.el (allout-abbreviate-flattened-numbering)
2257         (allout-mode-deactivate-hook): Fix up obsolescence "date".
2259         * subr.el (read-char-choice): Only show the cursor after the prompt,
2260         not after the answer.
2262 2011-03-15  Kevin Ryde  <user42@zip.com.au>
2264         * help-fns.el (variable-at-point): Skip leading quotes, if any
2265         (bug#8253).
2267 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2269         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2270         warning message.
2272 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
2274         * shell.el (shell): When called interactively, offer to change the
2275         shell file name on remote hosts.
2277 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
2279         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2280         integration for LDAP parameters.  The host, base, user or binddn,
2281         and secret tokens can be specified in a netrc file, for instance.
2282         This is optional because an `auth-source' parameter must be
2283         specified in the search attributes.
2285 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
2287         * help.el (describe-mode): Link to the mode's definition (bug#8185).
2289 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2291         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2292         into declaration.  Remove redundant and harmful binding.
2294 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
2296         * files.el (file-ownership-preserved-p): Pass `integer' as an
2297         explicit 2nd argument to `file-attributes'.  If the file's owner
2298         is the Administrators group on Windows, and the current user is
2299         Administrator, consider that a match.
2301         * server.el (server-ensure-safe-dir): Consider server directory
2302         safe on MS-Windows if its owner is the Administrators group while
2303         the current Emacs user is Administrator.  Use `=' to compare
2304         numerical UIDs, since they could be integers or floats.
2306 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
2308         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2310 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
2312         Sync with Tramp 2.2.1.
2314         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2316         * net/trampver.el: Update release number.
2318 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2320         * progmodes/compile.el (compilation--previous-directory): Fix up
2321         various nil/dead-marker mismatches (bug#8014).
2322         (compilation-directory-properties, compilation-error-properties):
2323         Don't call it at a position past the one we're about to change.
2325         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2326         Disable obsolescence warnings in the file that declares it.
2328 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
2330         * allout-widgets.el (allout-widgets-tally):
2331         Initialize allout-widgets-tally as a hash table rather than nil to
2332         prevent mode-line redisplay warnings.  Also, clarify the module
2333         description and fix a comment typo.
2335 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
2337         * help-fns.el (describe-variable): Don't complete keywords.
2338         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2340 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
2342         * emacs-lisp/package.el (package-version-join): Impose a standard
2343         string representation for pre/alpha/beta version lists.
2344         (package-unpack-single): Standardize the directory name by passing
2345         it through package-version-join.
2346         (package-strip-rcs-id): Accept any version string that does not
2347         signal an error in version-to-list.
2349 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
2351         * simple.el (delete-trailing-whitespace): Return nil for the
2352         benefit of `write-file-functions'.
2354 2011-03-10  Glenn Morris  <rgm@gnu.org>
2356         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2358         * vc/vc-git.el (vc-git-program): New option.
2359         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2360         (vc-git--call): Use it.
2362         * eshell/esh-util.el (eshell-condition-case): Doc fix.
2364         * cus-edit.el (Custom-newline): If no button at point, look
2365         for a subgroup button at start-of-line.  (Bug#2298)
2367         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2369 2011-03-10  Julien Danjou  <julien@danjou.info>
2371         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2372         `cursor-type' is nil.
2374 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
2376         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2378 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
2380         * allout.el Summary: Change so yank of distinctive-bullet items
2381         preserves the existing header prefix, rebulleting it if necessary,
2382         rather than replacing it.  This is necessary for proper operation
2383         of cooperative addons like allout-widgets.
2384         (allout-make-topic-prefix, allout-rebullet-heading): Change
2385         SOLICIT arg to INSTEAD, and interpret additionally a string value
2386         as alternate bullet to be used, instead of prompting the user for
2387         a bullet character.
2389 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
2391         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2392         Do not use `tramp-file-name-port', because this returns also
2393         `tramp-default-port'.
2395 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2397         * net/rcirc.el (rcirc-handler-001): Remove useless
2398         with-rcirc-process-buffer.
2399         (rcirc-check-auth-status): Swap arguments to string-match.
2401 2011-03-09  Glenn Morris  <rgm@gnu.org>
2403         * shell.el (shell-mode):
2404         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
2406         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2407         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
2409 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2411         * emacs-lisp/package.el (package-refresh-contents)
2412         (package-menu-execute): Use condition-case-no-debug.
2414 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
2416         * simple.el (shell-command-to-string): Use `process-file'.
2418         * emacs-lisp/package.el (package-tar-file-info): Handle also
2419         remote files.
2421         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2422         Use `equal' for upload base check.
2424 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
2426         * textmodes/texinfo.el (texinfo-environments):
2427         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
2429 2011-03-08  Glenn Morris  <rgm@gnu.org>
2431         * cus-start.el (cursor-in-non-selected-windows):
2432         Fix :set quoting oddness.  (Bug#8192)
2434         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2435         in some setf expressions.  (Bug#2159)
2437 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2439         * custom.el (custom-available-themes): Return themes in
2440         alphabetical order.
2442 See ChangeLog.15 for earlier changes.
2444 ;; Local Variables:
2445 ;; coding: utf-8
2446 ;; End:
2448   Copyright (C) 2011  Free Software Foundation, Inc.
2450   This file is part of GNU Emacs.
2452   GNU Emacs is free software: you can redistribute it and/or modify
2453   it under the terms of the GNU General Public License as published by
2454   the Free Software Foundation, either version 3 of the License, or
2455   (at your option) any later version.
2457   GNU Emacs is distributed in the hope that it will be useful,
2458   but WITHOUT ANY WARRANTY; without even the implied warranty of
2459   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2460   GNU General Public License for more details.
2462   You should have received a copy of the GNU General Public License
2463   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.