* lisp/mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
[emacs.git] / lisp / ChangeLog
blob844fcaad833f37b6559cbfc0ec27260a7f73c872
1 2011-05-17  Glenn Morris  <rgm@gnu.org>
3         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6         Replace obsolete function.
8         * shell.el (pcomplete-parse-arguments-function): Declare.
10         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12         (appt-check): Doc fixes.
13         (appt-disp-window-function, appt-delete-window-function):
14         Remove needless special case in custom :type.
15         (appt-display-count): Default to 0, not nil.
16         (appt-check): Reset appt-display-count to 0, not nil.
18 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
20         * progmodes/python.el (python-font-lock-keywords):
21         Add the Python 3.X keyword "nonlocal" (bug#8639).
23 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
27 2011-05-16  Kevin Ryde  <user42@zip.com.au>
29         * info-look.el (makefile-automake-mode): New setups, looking in
30         automake manual, then makefile-mode.
31         (makefile-mode): Remove automake manual, have it just in
32         makefile-automake-mode since there's various things different or
33         not relevant to plain make.
34         (makefile-mode): Remove "other-modes" non-existent automake-mode,
35         believe a hypothetical automake-mode would go to makefile-mode,
36         not the other way around.
38 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
40         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
41         hunk-end tags (Bug#8672).
43         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
44         vc-annotate-show-diff-revision-at-line (Bug#8671).
46 2011-05-14  Glenn Morris  <rgm@gnu.org>
48         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
49         in the middle of an existing one with multiple authors.  (Bug#8645)
50         (change-log-font-lock-keywords): Also handle multiple author lines
51         with leading tabs.  (Bug#8644)
53         * calendar/appt.el (appt-check): Rename some local variables.
54         Some simplification/reordering.
56         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
57         (feedmail-sendmail-f-doesnt-sell-me-out)
58         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
59         (feedmail-debug-sit-for, feedmail-queue-express-hook)
60         (feedmail-queue-runner-message-sender): Set :version.
61         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
62         (bbdb-dwim-net-address, vm-mail): Declare.
63         (feedmail-binmail-gnulinuxish-template):
64         Rename from feedmail-binmail-linuxish-template.
65         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
66         Use insert-buffer-substring.
68 2011-05-14  Bill Carpenter  <bill@carpenter.org>
70         * mail/feedmail.el (feedmail-patch-level): Increase.
71         (feedmail-debug): New custom group.
72         (feedmail-confirm-outgoing-timeout)
73         (feedmail-sendmail-f-doesnt-sell-me-out)
74         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
75         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
76         (feedmail-sender-line, feedmail-from-line)
77         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
78         (feedmail-spray-this-address, )
79         (feedmail-spray-address-fiddle-plex-list)
80         (feedmail-queue-use-send-time-for-date)
81         (feedmail-queue-use-send-time-for-message-id)
82         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
83         (feedmail-buffer-eating-function):
84         Doc fixes.
85         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
86         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
87         (feedmail-message-action-scroll-down): New functions.
88         (feedmail-queue-directory, feedmail-queue-draft-directory):
89         Use expand-file-name.
90         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
91         Remove C-v help entry.
92         (feedmail-queue-buffer-file-name): New variable.
93         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
94         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
95         (feedmail-message-action-send-strong, feedmail-message-action-edit)
96         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
97         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
98         (feedmail-message-action-toggle-spray)
99         (feedmail-run-the-queue-no-prompts)
100         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
101         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
102         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
103         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
104         (feedmail-envelope-deducer, feedmail-fiddle-from)
105         (feedmail-fiddle-sender, feedmail-default-date-generator)
106         (feedmail-fiddle-date, feedmail-fiddle-message-id)
107         (feedmail-fiddle-spray-address)
108         (feedmail-fiddle-list-of-spray-fiddle-plexes)
109         (feedmail-fiddle-list-of-fiddle-plexes)
110         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
111         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
112         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
113         Change default.  Doc fix.
114         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
115         (feedmail-binmail-linuxish-template): New constant.
116         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
117         Respect feedmail-sendmail-f-doesnt-sell-me-out.
118         (feedmail-send-it): Add debug call.
119         Use feedmail-queue-buffer-file-name, and
120         feedmail-send-it-immediately-wrapper.
121         (feedmail-message-action-send): Add debug call.
122         Use feedmail-send-it-immediately-wrapper.
123         (feedmail-queue-express-to-queue): Add debug call.
124         Run feedmail-queue-express-hook.
125         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
126         (feedmail-message-action-help-blat):
127         Rename from feedmail-queue-send-edit-prompt-help-first.
128         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
129         Check line-endings.  Handle errors better.
130         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
131         Doc fix.  Add debug call.
132         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
133         Use feedmail-queue-send-edit-prompt-inner.
134         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
135         (feedmail-queue-send-edit-prompt-inner): New function, extracted
136         from feedmail-queue-send-edit-prompt.
137         (feedmail-queue-send-edit-prompt-help)
138         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
139         (feedmail-tidy-up-slug): Add debug call.
140         Respect feedmail-queue-slug-suspect-regexp.
141         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
142         (feedmail-dump-message-to-queue): Add debug call.
143         Expand queue-directory.
144         (feedmail-dump-message-to-queue): Change message slightly.
145         Use feedmail-say-chatter.
146         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
147         (feedmail-send-it-immediately-wrapper): New function.
148         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
149         Insert empty string rather than newline.  Handle full-frame case.
150         Use catch/throw.  Use feedmail-say-chatter.
151         (feedmail-fiddle-from): Try mail-host-address.
152         (feedmail-default-message-id-generator): Doc fix.
153         Bind system-time-locale.  Handle missing end.
154         (feedmail-fiddle-x-mailer): Add debug call.
155         Handle feedmail-x-mailer-line being nil.
156         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
157         Add debug call.  Use buffer-substring-no-properties.
158         (feedmail-say-debug, feedmail-say-chatter): New functions.
159         (feedmail-find-eoh): Give an explicit error.
161 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
163         * net/newst-treeview.el (newsticker-treeview-face): Changed default
164         family from helvetica to sans.
165         (newsticker-treeview-tool-bar-map): Moved tool-bar icons to
166         etc/images/newsticker.
168         * net/newst-reader.el (newsticker-feed-face): Changed default
169         family from helvetica to sans.
171         * net/newst-plainview.el (newsticker-new-item-face)
172         (newsticker-old-item-face, newsticker-immortal-item-face)
173         (newsticker-obsolete-item-face, newsticker-date-face)
174         (newsticker-statistics-face): Changed default family from
175         helvetica to sans.
176         (newsticker--plainview-tool-bar-map): Moved tool-bar icons to
177         etc/images/newsticker.
179         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
180         (newsticker--process-auto-mark-filter-match): : Tell user about
181         auto-marking.
183 2011-05-13  Didier Verna  <didier@xemacs.org>
185         Common Lisp indentation improvements on defmethod and lambda-lists.
186         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
187         (lisp-lambda-list-keyword-parameter-indentation)
188         (lisp-lambda-list-keyword-parameter-alignment)
189         (lisp-lambda-list-keyword-alignment): New customizable user options.
190         (lisp-indent-defun-method): Improve docstring.
191         (extended-loop-p): Fix comment.
192         (lisp-indent-lambda-list-keywords-regexp): New variable.
193         (lisp-indent-lambda-list): New function.
194         (lisp-indent-259): Use it.
195         (lisp-indent-defmethod): Support for more than one
196         method qualifier and properly indent methods lambda-lists.
197         (defgeneric): Provide a missing common-lisp-indent-function property.
199 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
202         bounds for the empty string (bug#8667).
204 2011-05-13  Glenn Morris  <rgm@gnu.org>
206         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
208         * mail/sendmail.el (sendmail-program): Try executable-find first.
209         (sendmail-send-it): `sendmail-program' cannot be unbound.
211         * calendar/appt.el (appt-make-list): Simplify.
212         (appt-time-msg-list): Doc fix.
213         (appt-check): Change mode-line message at the time of the appointment.
215 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
217         * progmodes/ld-script.el (ld-script-keywords)
218         (ld-script-builtins): Update keywords list.
220 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
222         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
224         * shell.el (shell-completion-vars): New function.
225         (shell-mode):
226         * simple.el (read-shell-command): Use it.
227         (blink-matching-open): No need for " [...]" in minibuffer-message.
229 2011-05-12  Glenn Morris  <rgm@gnu.org>
231         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
232         (appt-check): Simplify.
234 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
236         * smerge-mode.el (smerge-resolve): Use null-device rather than a
237         literal "/dev/null".
239 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
241         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
242         Fix typo.
244 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
246         * progmodes/which-func.el (which-function):
247         Use add-log-current-defun instead of add-log-current-defun-function,
248         which might not be defined (Bug#8260).
250 2011-05-12  Glenn Morris  <rgm@gnu.org>
252         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
253         Let byte-compile-initial-macro-environment always take precedence.
255 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
257         * net/rcirc.el: Add support for SSL/TLS connections.
258         (rcirc-server-alist): New field `encryption'.
259         (rcirc): Check `encryption' settings.
260         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
261         Merge make-local-variable into `set'.
262         (rcirc--connection-open-p): New function.
263         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
264         the process is not a network process (e.g. running gnutls-cli).
265         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
266         Make rcirc-(en|de)code-coding-system local here.
267         (rcirc-mode): Merge make-local-variable into `set'.
268         (rcirc-parent-buffer): Make permanent buffer-local.
269         (rcirc-multiline-minor-mode): Don't do it here.
270         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
271         there's no server buffer.
273 2011-05-11  Glenn Morris  <rgm@gnu.org>
275         * newcomment.el (comment-kill): Prefix "unused" local.
277         * term/w32console.el (get-screen-color): Declare.
279         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
280         Handle symbol elements of byte-compile-initial-macro-environment.
282 2011-05-10  Leo Liu  <sdl.web@gmail.com>
284         * bookmark.el (bookmark-bmenu-mode-map):
285         Bind bookmark-bmenu-search to `/'.
287         * mail/footnote.el: Convert to utf-8 encoding.
288         (footnote-unicode-string, footnote-unicode-regexp): New variable.
289         (Footnote-unicode): New function.
290         (footnote-style-alist): Add unicode style to the list.
291         (footnote-style): Doc fix.
293 2011-05-10  Jim Meyering  <meyering@redhat.com>
295         Fix doubled-word typos.
296         * international/quail.el (quail-insert-kbd-layout): and and -> and
297         * kermit.el: and and -> and
298         * net/ldap.el (ldap-search-internal): to to -> to
299         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
300         * progmodes/js.el (js-mode): and and -> and
301         * textmodes/artist.el (artist-move-to-xy): at at -> at
302         (artist-draw-region-trim-line-endings): if if -> if
303         And Safetyc -> Safety.
304         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
306 2011-05-10  Glenn Morris  <rgm@gnu.org>
307            Stefan Monnier  <monnier@iro.umontreal.ca>
309         * files.el (hack-one-local-variable-eval-safep):
310         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
312 2011-05-10  Glenn Morris  <rgm@gnu.org>
314         * calendar/diary-lib.el (diary-list-entries-hook)
315         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
316         (diary-nongregorian-marking-hook, diary-list-entries)
317         (diary-include-other-diary-files, diary-mark-entries)
318         (diary-mark-included-diary-files): Doc fixes.
320 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
322         * misc.el: Require tabulated-list.el during compilation.
324 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
326         * progmodes/compile.el (compilation-start):
327         Run compilation-filter-hook for the async case too.
328         (compilation-filter-hook): Doc fix.
330 2011-05-09  Deniz Dogan  <deniz@dogan.se>
332         * wdired.el: Remove outdated installation comment.  Fix usage
333         comment.
335 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
337         * misc.el: Implement new command `list-dynamic-libraries'.
338         (list-dynamic-libraries--loaded-only-p): New variable.
339         (list-dynamic-libraries--refresh): New function.
340         (list-dynamic-libraries): New command.
342 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
344         * progmodes/compile.el (compilation-error-regexp-alist-alist):
345         Fix the ant regexp to handle end-line and end-column info from jikes.
346         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
347         higher priority to avoid clobbering by gnu.
349 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
351         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
352         if the face has existing theme settings (Bug#8454).
354 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
356         * progmodes/perl-mode.el (perl-imenu-generic-expression):
357         Only match variables declared via `my' or `our' (Bug#8261).
359         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
360         special file names `.' and `..' (Bug#8259).
362 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
364         * progmodes/grep.el (grep-mode-font-lock-keywords):
365         Remove buffer-changing entries.
366         (grep-filter): New function.
367         (grep-mode): Add it to compilation-filter-hook.
369         * progmodes/compile.el (compilation-filter-hook)
370         (compilation-filter-start): New defvars.
371         (compilation-filter): Call compilation-filter-hook prior to
372         updating the process mark.
374 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
376         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
378 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
380         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
381         mailclient-send-it even if window-system is nil.  (Bug#8595)
383         * term/w32console.el (terminal-init-w32console):
384         Call get-screen-color and use its output to set the frame
385         background-mode.  (Bug#8597)
387 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
389         Make bytecomp.el understand that defmethod defines funs (bug#8631).
390         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
391         New functions.
392         (defgeneric, eieio--defmethod): Use them.
393         (eieio-defgeneric): Remove.
394         (defmethod): Call defgeneric in a way visible to the byte-compiler.
396 2011-05-07  Glenn Morris  <rgm@gnu.org>
398         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
399         Use let rather than let*.
400         (timeclock-find-discrep): Remove unused local.
402         * calendar/diary-lib.el (diary-comment-start): Doc fix.
404         * calendar/appt.el (appt-time-msg-list): Doc fix.
406 2011-05-06  Noah Friedman  <friedman@splode.com>
408         * apropos.el (apropos-print-doc): Only use
409         emacs-lisp-docstring-fill-column when it is bound to an integer,
410         per that variable's documentation.
412 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
414         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
415         and warnings are not silently discarded (e.g. use -d instead of -P).
417 2011-05-06  Glenn Morris  <rgm@gnu.org>
419         * calendar/appt.el (appt-message-warning-time): Doc fix.
420         (appt-warning-time-regexp): New option.
421         (appt-make-list): Respect appt-message-warning-time.
423         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
424         New options.
425         (diary-add-to-list): Strip comments from the displayed string.
426         (diary-mode): Set comment-start and comment-end.
428         * vc/diff-mode.el (smerge-refine-subst): Declare.
429         (diff-refine-hunk): Don't require smerge-mode when compiling.
431 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
433         * simple.el (list-processes): Return nil as the docstring says.
435 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
437         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
438         to "".
439         (ange-ftp-write-region, ange-ftp-insert-file-contents)
440         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
441         determining of binary transfer.  (Bug#7383)
443 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
445         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
446         Fix port computation bug.  (Bug#8618)
448 2011-05-05  Glenn Morris  <rgm@gnu.org>
450         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
452         * simple.el (shell-dynamic-complete-functions)
453         (comint-dynamic-complete-functions): Declare.
455         * net/network-stream.el (gnutls-negotiate):
456         * simple.el (tabulated-list-print): Fix declarations.
458         * progmodes/gud.el (syntax-symbol, syntax-point):
459         Remove unnecessary and incorrect declarations.
461         * emacs-lisp/check-declare.el (check-declare-scan):
462         Handle byte-compile-initial-macro-environment in bytecomp.el
464 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
466         Fix earlier half-done eieio-defmethod change (bug#8338).
467         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
468         Streamline and change calling convention.
469         (defmethod): Adjust accordingly and simplify.
470         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
471         new eieio--defmethod.
472         (slot-boundp): Minor CSE simplification.
474 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
476         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
477         (glasses-make-readable): Use glasses-separate-capital-groups.
479 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
481         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
482         (warning-series): Doc fix.
483         (display-warning): Don't try to create the buffer if we just found it.
485 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
487         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
488         (autoload-find-generated-file): New function.
489         (generate-file-autoloads): Bind generated-autoload-file to
490         buffer-file-name.
491         (update-file-autoloads, update-directory-autoloads):
492         Use autoload-find-generated-file.  If called interactively, prompt for
493         output file (Bug#7989).
494         (batch-update-autoloads): Doc fix.
496 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
498         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
500 2011-05-04  Glenn Morris  <rgm@gnu.org>
502         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
503         function, so it follows changes in calendar-date-style.
504         (diary-fancy-date-matcher): New function.
505         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
506         (diary-fancy-font-lock-fontify-region-function):
507         Use diary-fancy-date-pattern as a function.
509         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
510         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
512 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
514         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
515         instead of positional arguments.  Allow :keylist and :crlfiles
516         arguments.
517         (open-gnutls-stream): Call it.
519         * net/network-stream.el (network-stream-open-starttls): Adjust to
520         call `gnutls-negotiate' with :process and :hostname arguments.
522 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
524         * minibuffer.el (completion--message): New function.
525         (completion--do-completion, minibuffer-complete)
526         (minibuffer-force-complete, minibuffer-complete-word): Use it.
527         (completion--do-completion): Don't ignore completion-auto-help when in
528         icomplete-mode.
530         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
531         internal encoding (e.g. tibetan zero is not whitespace).
532         (global-whitespace-mode): Prefer save-current-buffer.
533         (whitespace-trailing-regexp): Remove useless save-match-data.
534         (whitespace-empty-at-bob-regexp): Minor simplification.
536 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
538         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
540 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
542         * textmodes/ispell.el (ispell-add-per-file-word-list):
543         Use `concat' to create string for insertion.
545 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
547         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
548         Avoid open-line which runs post-self-insert-hook.
549         (bibtex-fill-entry): Remove unused `end' var.
551 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
553         * textmodes/ispell.el (ispell-add-per-file-word-list):
554         Protect against `nil' value of `comment-start' (Bug#8579).
556 2011-05-03  Leo Liu  <sdl.web@gmail.com>
558         * isearch.el (isearch-yank-pop): New command.
559         (isearch-mode-map): Bind it to `M-y'.
560         (isearch-forward): Mention it.
562 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
564         * simple.el (minibuffer-complete-shell-command): Remove.
565         (minibuffer-local-shell-command-map): Use completion-at-point.
566         (read-shell-command): Setup completion vars here instead.
567         (read-expression-map): Bind TAB to symbol completion.
569         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
570         error directly rather via storing it into `results'.
572 2011-05-02  Leo Liu  <sdl.web@gmail.com>
574         * vc/diff.el: Fix description.
576 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
578         * server.el (server-eval-at): New function.
580 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
582         * net/network-stream.el (open-network-stream): Take a :nowait
583         parameter and pass it on to `make-network-process'.
584         (network-stream-open-plain): Ditto.
586 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
588         * faces.el (face-spec-set-match-display): Don't match toolkit
589         options on terminal frames.
591 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
593         * progmodes/pascal.el: Use lexical binding.
594         (pascal-mode-map): Remove author preferences.
596         * pcomplete.el (pcomplete-std-complete): Don't abuse
597         completion-at-point.
599 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
601         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
602         removing code that has been dead since 1991 or so.
604         * startup.el (command-line): When warning about "_emacs", use a
605         delayed warning to allow the user to filter it out.
607 2011-04-28  Deniz Dogan  <deniz@dogan.se>
609         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
610         user has not joined.
612 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
614         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
615         aren't any completions at point.
617 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
619         * subr.el (display-delayed-warnings): New function.
620         (delayed-warnings-hook): New variable.
622 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
624         * minibuffer.el (completion-at-point, completion-help-at-point):
625         Don't presume that a given completion-at-point-function will always
626         use the same calling convention.
628         * pcomplete.el (pcomplete-completions-at-point):
629         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
630         pcomplete-seen is non-nil.
631         (pcomplete-comint-setup): Also recognize the new comint/shell
632         completion functions.
633         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
634         pcomplete-seen is non-nil.
636 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
638         * calendar/icalendar.el (diary-lib): Add require statement.
639         (icalendar--create-uid): Read out a uid from a text-property on
640         the first character in the entry.  This allows for code to add its
641         own uid to the entry.
642         (icalendar--convert-float-to-ical): Add export of
643         `diary-float'-entries save for those with the optional DAY
644         argument.
646 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
648         * subr.el (shell-quote-argument): Use alternate escaping strategy
649         when we spot a variable reference in a string.
651 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
653         * cus-start.el (all): Define customization for debug-on-event.
655 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
657         * subr.el (shell-quote-argument): Escape correctly under Windows.
659 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
661         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
663 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
665         * net/tramp.el (tramp-process-actions): Add POS argument.
666         Delete region between POS and (pos).
668         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
669         Use `nil' position in `tramp-process-actions' call.
670         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
672         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
673         position in `tramp-process-actions' call.
675         * net/trampver.el: Update release number.
677 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
679         * custom.el (defcustom): Obey lexical-binding.
681         Fix octave-inf completion problems reported by Alexander Klimov.
682         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
683         Inherit from octave-mode-syntax-table.
684         (inferior-octave-mode): Set info-lookup-mode.
685         (inferior-octave-completion-at-point): New function.
686         (inferior-octave-complete): Use it and completion-in-region.
687         (inferior-octave-dynamic-complete-functions): Use it as well, and use
688         comint-filename-completion.
689         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
690         symbol elements which shouldn't be word elements.
691         (octave-font-lock-keywords, octave-beginning-of-defun)
692         (octave-function-header-regexp): Adjust regexps accordingly.
693         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
695 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
697         * net/gnutls.el (gnutls-errorp): Declare before first use.
699 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
701         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
702         verify-error, and verify-hostname-error parameters.  Check whether
703         default trustfile exists before going to use it.  Add missing
704         argument to gnutls-message-maybe call.  Return return value.
705         Reported by Claudio Bley <claudio.bley@gmail.com>.
706         (open-gnutls-stream): Add usage example.
708         * net/network-stream.el (network-stream-open-starttls): Give host
709         parameter to `gnutls-negotiate'.
710         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
711         * subr.el (shell-quote-argument): Escape correctly under Windows.
713 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
715         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
716         Use correct match group (bug#8438).
718 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
720         * emacs-lisp/package.el (package-built-in-p): Fix typo.
721         (package-menu--generate): New arg specifying packages to show.
722         (package-menu-refresh, package-menu-execute, list-packages):
723         Callers changed.
724         (package-show-package-list): New function, replacing deleted
725         package--list-packages (renamed because it is non-internal).
727         * finder.el (finder-list-matches): Use package-show-package-list
728         instead of deleted package--list-packages.
730         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
731         Based on a previous implementation by Juanma Barranquero (Bug#8366).
732         (vc-annotate-mode-map): Bind it to RET.
734 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
736         * progmodes/etags.el (next-file): Don't use set-buffer to change
737         buffers (Bug#8478).
739 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
741         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
743         * apropos.el (apropos-label-face): Avoid variable-pitch face.
744         (apropos-accumulator): Doc fix.
745         (apropos-function, apropos-macro, apropos-command)
746         (apropos-variable, apropos-face, apropos-group, apropos-widget)
747         (apropos-plist): Add face property.
748         (apropos-symbols-internal): Fix indentation.
749         (apropos-print): Simplify help, and recognize apropos-multi-type.
750         (apropos-print-doc): Use button-type-get to extract the button's
751         face property.  Fill docstring (Bug#8352).
753 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
755         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
757         * play/mpuz.el (mpuz-silent): Doc fix.
758         (mpuz-mode-map): Use mapc.
759         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
760         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
761         Fix typos in docstrings.
763         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
764         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
766         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
768 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
770         * minibuffer.el (completion--do-completion): Avoid the "Next char
771         not unique" prompt if icomplete-mode is enabled (Bug#5849).
773         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
774         mouse-2 into unread-command-events, it is interpreted correctly.
776         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
777         (image-toggle-display): Doc fix.
779 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
781         * textmodes/page.el (what-page): Use line-number-at-pos to
782         calculate line number (Bug#6825).
784 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
786         * eshell/esh-mode.el (find-tag-interactive): Declare function.
787         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
788         Pass argument NO-DEFAULT to `find-tag-interactive'.
790 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
792         Lexical-binding cleanup.
794         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
795         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
796         * progmodes/ada-prj.el (ada-prj-initialize-values)
797         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
798         (ada-prj-show-value):
799         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
800         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
801         (antlr-invalidate-context-cache, antlr-options-menu-filter)
802         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
803         * progmodes/bug-reference.el (bug-reference-push-button):
804         * progmodes/fortran.el (fortran-line-length):
805         * progmodes/glasses.el (glasses-change):
806         * progmodes/octave-mod.el (octave-fill-paragraph):
807         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
808         (python-pdbtrack-grub-for-buffer, python-sentinel):
809         * progmodes/sql.el (sql-save-connection):
810         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
811         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
812         Mark unused parameters.
814         * progmodes/compile.el (compilation--flush-directory-cache)
815         (compilation--flush-parse, compile-internal): Mark unused parameters.
816         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
817         (compilation-next-error-function): Remove unused variable `timestamp'.
819         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
820         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
822         * progmodes/dcl-mode.el (dcl-end-of-command):
823         Remove unused variable `start'.
824         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
825         (dcl-option-value-basic, dcl-option-value-offset)
826         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
827         Mark unused parameters.
828         (dcl-save-local-variable): Remove unused variable `val'.
829         (mode): Declare.
831         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
832         Mark unused parameters.
833         (delphi-ignore-changes): Move before first use.
834         (delphi-charset-token-at): Remove unused variable `start'.
835         (delphi-else-start): Remove unused variable `if-count'.
836         (delphi-comment-block-start, delphi-comment-block-end):
837         Remove unused variable `kind'.
838         (delphi-indent-line): Remove unused variable `new-point'.
840         * progmodes/ebrowse.el (ebrowse-files-list)
841         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
842         Mark unused parameters.  Don't quote `lambda'.
843         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
844         Don't quote `lambda'.
845         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
846         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
847         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
848         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
849         Use `ignore-errors'.
850         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
851         (ebrowse-view/find-file-and-search-pattern)
852         (ebrowse-view/find-member-declaration/definition):
853         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
854         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
855         Rename parameter PREFIX-ARG to PREFIX.
856         (ebrowse-tags-read-name): Remove unused variables `start' and
857         `member-info'.
858         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
859         to `tags-file'.
861         * progmodes/etags.el (local-find-tag-hook): Declare.
862         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
863         Mark unused parameters.
865         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
866         (executable-interpret): Mark unused parameter.
868         * progmodes/flymake.el (flymake-process-sentinel)
869         (flymake-after-change-function)
870         (flymake-create-temp-with-folder-structure)
871         (flymake-get-include-dirs-dot): Mark unused parameters.
872         (flymake-safe-delete-directory): Remove unused variable `err'.
874         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
875         (speedbar-timer-fn, speedbar-line-text)
876         (speedbar-change-expand-button-char, speedbar-delete-subblock)
877         (speedbar-center-buffer-smartly): Declare functions.
878         (gdb-find-watch-expression): Remove unused variable `array'.
879         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
880         (gdb-starting): Mark unused parameters.
881         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
882         (gdb-table-string): Remove unused variable `res'.
883         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
884         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
885         (gdb-display-buffer): Remove unused variable `cur-size'.
887         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
888         allow lexical-binding compilation.
889         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
890         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
891         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
892         Mark unused parameters.
893         (gud-gdb-marker-filter): Remove unused variable `match'.
894         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
895         lambda expressions and funcall them, instead of using `fset'.
897         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
898         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
900         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
901         variable `header-beg'; use `let'.
903         * progmodes/icon.el (indent-icon-exp): Remove unused variables
904         `restart', `last-sexp' and `at-do'.
906         * progmodes/js.el (js--debug): Mark unused parameter.
907         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
908         (js--splice-into-items): Remove unused variable `item'.
909         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
911         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
912         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
913         (makefile-complete): Remove unused variable `try'.
914         (makefile-fill-paragraph, makefile-match-function-end):
915         Mark unused parameters.
917         * progmodes/octave-inf.el (inferior-octave-complete):
918         Remove unused variable `proc'.
919         (inferior-octave-output-digest): Mark unused parameter.
921         * progmodes/perl-mode.el (perl-calculate-indent):
922         Remove unused variable `err'.
924         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
925         (prolog-indent-line): Mark unused parameters.
926         (prolog-indent-line): Remove unused variable `beg'.
928         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
929         (reporter-dont-compact-list): Declare.
931         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
932         Remove unused variable `char'.
933         (sh-debug): Mark unused parameter.
934         (sh-get-indent-info): Remove unused variable `start'.
935         (sh-calculate-indent): Remove unused variable `var'.
937         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
938         (simula-electric-keyword): Remove unused variable `null'.
939         (simula-search-backward, simula-search-forward): Remove unused
940         variables `begin' and `end'.
942         * progmodes/vera-mode.el (vera-guess-basic-syntax):
943         Remove unused variable `pos'.
944         (vera-electric-tab, vera-comment-uncomment-region):
945         Mark unused parameters.
946         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
948 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
950         * emacs-lisp/package.el (package--builtins, package-alist)
951         (package-load-descriptor, package-built-in-p, package-activate)
952         (define-package, package-installed-p)
953         (package-compute-transaction, package-buffer-info)
954         (package--push): Doc fix.  Distinguish more clearly between
955         version strings and version lists.
957 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
959         Lexical-binding cleanup.
961         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
962         (5x5-make-mutate-best):
963         * play/fortune.el (fortune-in-buffer):
964         * play/gomoku.el (gomoku-init-display):
965         * play/solitaire.el (solitaire, solitaire-do-check):
966         * play/tetris.el (tetris-default-update-speed-function):
967         Mark unused parameters.
969         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
970         (bubbles--shift): Remove unused variable `char-org'.
971         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
972         (bubbles--show-images): Remove unused variable `char'.
974         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
975         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
976         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
977         (decipher-analyze-buffer): Use ?\s.
978         (decipher-make-checkpoint): Remove unused variable `mapping'.
980         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
982         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
983         Remove unused variable `result'; use `let'.
985         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
986         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
987         (gametree-children-shown-p, gametree-compute-reduced-score):
988         Use `ignore-errors'.
990         * play/handwrite.el (ps-lpr-switches): Declare.
991         (handwrite): Remove unused variables `pmin' and `lastp'.
993         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
995         * play/landmark.el (landmark-init-display)
996         (landmark-update-naught-weights): Mark unused parameters.
997         (landmark-y): Remove unused variable `noise'.  Simplify.
998         (landmark-human-plays): Remove unused variable `score'.
1000         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1001         (mpuz-try-proposal): Remove unused variable `game'.
1003         * play/zone.el (life-patterns): Declare.
1005 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
1007         * vc/vc.el (ediff-vc-internal): Declare function.
1009 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1011         * shell.el: Use lexical-binding and std completion UI.
1012         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1013         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1014         comint-preoutput-filter-functions rather than on
1015         comint-output-filter-functions.
1016         (shell-command-completion, shell--command-completion-data)
1017         (shell-filename-completion, shell-environment-variable-completion)
1018         (shell-c-a-p-replace-by-expanded-directory): New functions.
1019         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1020         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1021         (shell-dynamic-complete-environment-variable): Use them.
1022         (shell-dynamic-complete-as-environment-variable)
1023         (shell-dynamic-complete-as-command): Remove.
1024         (shell-match-partial-variable): Match past point.
1025         * comint.el: Clean up use of completion-at-point-functions.
1026         (comint-completion-at-point): New function.
1027         (comint-mode): Use it completion-at-point-functions.
1028         (comint-dynamic-complete): Make it obsolete.
1029         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1030         (comint-c-a-p-replace-by-expanded-history): New function.
1031         (comint-dynamic-complete-functions)
1032         (comint-replace-by-expanded-history): Use it.
1033         * minibuffer.el (completion-table-with-terminator): Allow dynamic
1034         termination strings.  Try harder to avoid second try-completion.
1035         (completion-in-region-mode-map): Disable bindings that don't work yet.
1037         * comint.el: Use lexical-binding.  Require CL.
1038         (comint-dynamic-complete-functions): Use comint-filename-completion.
1039         (comint-completion-addsuffix): Tweak custom type.
1040         (comint-filename-completion, comint--common-suffix)
1041         (comint--common-quoted-suffix, comint--table-subvert)
1042         (comint--complete-file-name-data): New functions.
1043         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1044         (comint-dynamic-list-filename-completions): Use them.
1045         (comint-dynamic-simple-complete): Make obsolete.
1047         * minibuffer.el (completion-in-region-mode):
1048         Keep completion-in-region-mode--predicate global.
1049         (completion-in-region--postch):
1050         Assume completion-in-region-mode--predicate is not null.
1052         * progmodes/flymake.el (flymake-start-syntax-check-process):
1053         Obey `dir'.  Simplify.
1055         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1056         we're in VC after all.
1058 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
1060         * vc/vc.el (vc-diff-build-argument-list-internal)
1061         (vc-version-ediff, vc-ediff): New commands.
1062         (vc-version-diff): Use vc-diff-build-argument-list-internal.
1064 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1067         add sanity check.
1069         * obsolete/erc-hecomplete.el: Make obsolete.
1070         * obsolete/: Standardize obsolescence info in the header.
1072 2011-04-20  Glenn Morris  <rgm@gnu.org>
1074         * calendar/solar.el (solar-horizontal-coordinates):
1075         Use the longitude argument rather than `calendar-longitude'.
1076         (solar-date-next-longitude): Remove unused locals.
1078 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1080         * whitespace.el: New version 13.2.1.
1082 2011-04-20  felix  <EmacsWiki>  (tiny change)
1084         * whitespace.el (global-whitespace-mode): keep highlight when
1085         switching between major modes on a file.
1087 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1090         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1091         multi-line comments as well.
1093 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
1095         Lexical-binding cleanup.
1097         * arc-mode.el (archive-mode-revert):
1098         * cmuscheme.el (scheme-interactively-start-process):
1099         * custom.el (custom-initialize-delay):
1100         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1101         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1102         * emacs-lock.el (emacs-lock-clear-sentinel):
1103         * ezimage.el (defezimage):
1104         * follow.el (follow-avoid-tail-recenter):
1105         * fringe.el (set-fringe-mode-1):
1106         * generic-x.el (bat-generic-mode-compile):
1107         * help-mode.el (help-info-variable, help-do-xref)
1108         (help-mode-revert-buffer):
1109         * help.el (view-emacs-todo):
1110         * iswitchb.el (iswitchb-completion-help):
1111         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1112         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1113         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1114         * locate.el (locate-update):
1115         * longlines.el (longlines-encode-region)
1116         (longlines-after-change-function):
1117         * outline.el (outline-isearch-open-invisible):
1118         * ps-def.el (declare-function, charset-dimension, char-width)
1119         (encode-char):
1120         * ps-mule.el (ps-mule-plot-string):
1121         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1122         (recentf-edit-list-select, recentf-edit-list-validate)
1123         (recentf-open-files-action):
1124         * rect.el (delete-whitespace-rectangle-line)
1125         (rectangle-number-line-callback):
1126         * register.el (window-configuration-to-register)
1127         (frame-configuration-to-register):
1128         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1129         * select.el (xselect-convert-to-string, xselect-convert-to-length)
1130         (xselect-convert-to-targets, xselect-convert-to-delete)
1131         (xselect-convert-to-filename, xselect-convert-to-charpos)
1132         (xselect-convert-to-lineno, xselect-convert-to-colno)
1133         (xselect-convert-to-os, xselect-convert-to-host)
1134         (xselect-convert-to-user, xselect-convert-to-class)
1135         (xselect-convert-to-name, xselect-convert-to-integer)
1136         (xselect-convert-to-atom, xselect-convert-to-identity):
1137         * subr.el (declare, ignore, process-kill-without-query)
1138         (text-clone-maintain):
1139         * terminal.el (te-get-char, te-tic-sentinel):
1140         * tool-bar.el (tool-bar-make-keymap):
1141         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1142         * type-break.el (type-break-mode, type-break-noninteractive-query):
1143         * view.el (View-back-to-mark):
1144         * wid-browse.el (widget-browse-action, widget-browse-widget)
1145         (widget-browse-widgets, widget-browse-sexp):
1146         * widget.el (define-widget-keywords):
1147         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1148         Mark unused parameters.
1150         * align.el (align-adjust-col-for-rule): Mark unused parameter.
1151         (align-areas): Remove unused variable `look'.
1152         (align-region): Remove unused variables `real-end' and `pos-list'.
1154         * apropos.el (apropos-score-doc): Remove unused variable `i'.
1156         * bindings.el (mode-line-modified, mode-line-remote):
1157         Mark unused parameters.
1158         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1160         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1161         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1163         * comint.el (comint-history-isearch-pop-state)
1164         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1165         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1166         (comint-substitute-in-file-name): Doc fix.
1168         * completion.el (cmpl-statistics-block): Mark unused parameter.
1169         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1170         (save-completions-to-file, load-completions-from-file):
1171         Remove unused local variable `e'.
1173         * composite.el (compose-chars): Remove unused variable `len'.
1174         (lgstring-insert-glyph): Remove unused variable `g'.
1175         (compose-glyph-string): Remove unused variables `ascent',
1176         `descent', `lbearing' and `rbearing'.
1177         (compose-glyph-string-relative): Remove unused variables
1178         `lbearing', `rbearing' and `wadjust'.
1179         (compose-gstring-for-graphic): Remove unused variables `header',
1180         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
1181         (compose-gstring-for-terminal): Remove unused variables `header'
1182         and `nchars'.  Use `let', not `let*'.
1184         * cus-edit.el (Custom-set, Custom-save, custom-reset)
1185         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1186         (Custom-buffer-done, custom-buffer-create-internal)
1187         (custom-browse-visibility-action, custom-browse-group-tag-action)
1188         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1189         (widget-magic-mouse-down-action, custom-toggle-parent)
1190         (custom-add-parent-links, custom-toggle-hide-variable)
1191         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1192         (custom-toggle-hide-face, face, hook, custom-group-link-action)
1193         (custom-face-menu-create, custom-variable-menu-create, get)
1194         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1195         (custom-reset-standard-save-and-update): Remove unused variable `value'.
1196         (customize-apropos): Remove unused variable `tests'.
1197         (custom-group-value-create): Remove unused variable `hidden-p'.
1198         (sort-fold-case): Declare.
1200         * cus-theme.el (custom-reset-standard-faces-list)
1201         (custom-reset-standard-variables-list): Declare.
1202         (customize-create-theme, custom-theme-revert, custom-theme-write)
1203         (custom-theme-choose-mode, customize-themes, custom-theme-save):
1204         Mark unused parameters.
1206         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1208         * delim-col.el (delimit-columns-max): Move defvar before first use.
1210         * descr-text.el (describe-char-categories): Don't quote `lambda'.
1211         (describe-char): Don't quote `lambda'.  Mark unused parameter.
1213         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1214         (auto-insert): Declare.
1215         (desktop-restore-file-buffer): Rename desktop-* parameters;
1216         mark unused ones.
1217         (desktop-create-buffer): Rename desktop-* parameters and bind them.
1218         (desktop-buffer): Rename desktop-* parameters.
1220         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1221         (dframe-reposition-frame-xemacs, dframe-help-echo)
1222         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1223         Mark unused parameters.
1225         * dired-aux.el (backup-extract-version-start, overwrite-query)
1226         (overwrite-backup-query, rename-regexp-query)
1227         (rename-non-directory-query): Declare.
1228         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1229         (dired-add-entry): Remove unused variable `orig-file-name'.
1230         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1231         Use parameter PRESERVE-TIME instead of accessing dynamic variable
1232         `dired-copy-preserve-time' directly.
1233         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1234         (dired-insert-subdir-newpos): Rename unused variable `pos'.
1236         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1237         (dired-virtual-revert, dired-make-relative-symlink):
1238         Mark unused parameters.
1239         (manual-program): Declare.
1240         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1241         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1242         wrapped in `with-no-warnings' to avoid replacing one warning by another.
1244         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1246         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1248         * echistory.el (electric-history-in-progress, Helper-return-blurb):
1249         Declare.
1251         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1253         * electric.el (Electric-command-loop): Rename parameter
1254         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1256         * expand.el (expand-in-literal): Remove unused variable `here'.
1258         * facemenu.el (facemenu-add-new-color):
1259         Remove unused variable `docstring'.
1261         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1262         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1263         (face-attr-construct): Mark unused parameter.  Doc fix.
1264         (read-color): Remove unused variable `hex-string'.
1266         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1267         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1268         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1269         (display-buffer-other-frame): Remove unused variable `old-window'.
1270         (kill-buffer-hook): Declare.
1271         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1272         Mark unused parameters.
1273         (after-find-file): Pass 1 to `auto-save-mode', not t.
1275         * files-x.el (auto-insert): Declare.
1276         (modify-file-local-variable-prop-line): Remove unused variable `val'.
1278         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1279         variable `buf'.  Mark unused parameter.
1280         (find-lisp-insert-directory): Mark unused parameter.
1282         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1283         (format-encode-region): Remove unused variables `cur-buf' and `result'.
1284         (format-common-tail): Remove, unused.
1285         (format-deannotate-region): Remove unused variable `loc'.
1286         (format-annotate-region): Remove unused variable `p'.
1287         (format-annotate-single-property-change): Remove unused variables
1288         `default' and `tail'.
1290         * forms.el (read-file-filter): Declare.
1291         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1293         * frame.el (frame-creation-function-alist): Mark unused parameter.
1294         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1296         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1297         Remove unused parameters.
1298         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1299         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1301         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1302         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1303         (hfy-prepare-tag-map): Mark unused parameters.
1304         (htmlfontify-buffer): Use `called-interactively-p'.
1306         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1307         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1308         (ibuffer-do-occur): Mark unused parameters.
1309         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1310         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1312         * ibuffer.el: Don't quote `lambda'.
1313         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1314         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1315         Mark unused parameters.
1317         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1318         (ido-completing-read): Mark unused parameters.
1319         (ido-copy-current-word): Mark unused parameters;
1320         remove unused variable `name'.
1321         (ido-sort-merged-list): Remove unused parameter `dirs'.
1323         * ielm.el (ielm-input-sender): Mark unused parameter.
1324         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1325         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1326         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1327         `ielm-string' as a dynamic variable accessible from the IELM prompt.
1328         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
1330         * image-dired.el (image-dired-display-thumbs): Remove unused
1331         variables `curr-file' and `count'.
1332         (image-dired-remove-tag): Remove unused variable `start'.
1333         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1334         variable `curr-file'
1335         (image-dired-rotate-original): Remove unused variable `temp-file'.
1336         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1337         Remove unused variable `file'.
1338         (image-dired-gallery-generate): Remove unused variable `curr'.
1339         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1341         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1343         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1345         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1347         * isearch.el (minibuffer-history-symbol): Declare.
1348         (isearch-edit-string): Remove unused variable `err'.
1349         (isearch-message-prefix, isearch-message-suffix):
1350         Mark unused parameters.
1352         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1354         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1356         * makesum.el (double-column): Remove unused variable `cnt'.
1358         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1359         (ido-ignore-item-temp-list): Declare.
1361         * mouse-drag.el (mouse-drag-throw): Remove unused variables
1362         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1363         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1364         (mouse-drag-drag): Remove unused variables `mouse-delta' and
1365         `mouse-col-delta'.
1367         * mouse-sel.el (mouse-extend-internal):
1368         Remove unused variable `orig-window-frame'.
1370         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1371         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1372         Move declarations before first use.
1373         (pcomplete-opt): Mark unused parameters; doc fix.
1375         * proced.el (proced-revert): Mark unused parameter.
1376         (proced-send-signal): Remove unused variable `err'.
1378         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1379         Rename parameter PREFIX-ARG to ARG.
1380         (ps-basic-plot-string, ps-basic-plot-whitespace):
1381         Mark unused parameters.
1383         * replace.el (replace-count): Define.
1384         (occur-revert-function): Mark unused parameters.
1385         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1386         (isearch-case-fold-search, isearch-string): Declare.
1387         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1388         bind `case-fold-search'.  Remove unused variables `beg' and `end',
1389         and simplify.
1390         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1391         COUNT and bind `replace-count'.
1392         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1393         to COUNT.
1395         * savehist.el (print-readably, print-string-length): Declare.
1397         * shadowfile.el (shadow-expand-cluster-in-file-name):
1398         Remove unused variable `cluster'.
1399         (shadow-copy-file): Remove unused variable `i'.
1400         (shadow-noquery, shadow-clusters, shadow-site-cluster)
1401         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1402         (shadow-define-literal-group, shadow-define-regexp-group)
1403         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1405         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1406         (shell): Use `called-interactively-p'.
1407         (shell-directory-tracker): Remove unused variable `chdir-failure'.
1409         * simple.el (compilation-context-lines, comint-file-name-quote-list)
1410         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1411         (delete-backward-char): Remove unused variable `ocol'.
1412         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1413         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1414         (event-apply-hyper-modifier, event-apply-shift-modifier)
1415         (event-apply-control-modifier, event-apply-meta-modifier):
1416         Mark unused parameters.
1417         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1418         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1420         * speedbar.el (speedbar-ignored-directory-expressions)
1421         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1422         (speedbar-find-file, speedbar-dir-follow)
1423         (speedbar-directory-buttons-follow, speedbar-tag-find)
1424         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1425         (speedbar-buffers-line-directory, speedbar-buffer-click):
1426         Mark unused parameters.
1427         (speedbar-tag-file): Remove unused variable `mode'.
1428         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1430         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1432         * talk.el (talk): Remove unused variable `display'.
1434         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1435         (tar-write-region-annotate): Mark unused parameter.
1437         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1438         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1439         Declare them, wrapped in `with-no-warnings' to avoid replacing one
1440         warning by another.
1442         * time-stamp.el (time-stamp-string-preprocess):
1443         Remove unused variable `require-padding'.
1445         * tree-widget.el (widget-glyph-enable): Declare.
1446         (tree-widget-action): Mark unused parameter.
1448         * w32-fns.el (x-get-selection): Mark unused parameter.
1449         (autoload-make-program, generated-autoload-file): Declare.
1451         * wdired.el (wdired-revert): Mark unused parameters.
1452         (wdired-xcase-word): Remove unused variable `err'.
1454         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1455         (whitespace-help-scroll): Remove unused variable `data-help'.
1457         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1458         (widget-image-insert, widget-after-change, default)
1459         (widget-default-format-handler, widget-default-notify)
1460         (widget-default-prompt-value, widget-info-link-action)
1461         (widget-url-link-action, widget-function-link-action)
1462         (widget-variable-link-action, widget-file-link-action)
1463         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1464         (widget-field-prompt-internal, widget-field-action, widget-field-match)
1465         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1466         (widget-insert-button-action, widget-delete-button-action, visibility)
1467         (widget-documentation-link-action, widget-documentation-string-action)
1468         (widget-const-prompt-value, widget-regexp-match, symbol)
1469         (widget-coding-system-prompt-value)
1470         (widget-key-sequence-value-to-external, sexp)
1471         (widget-sexp-value-to-internal, character, vector, cons)
1472         (widget-choice-prompt-value, widget-boolean-prompt-value)
1473         (widget-color--choose-action): Mark unused parameters.
1474         (widget-item-match-inline, widget-choice-match-inline)
1475         (widget-checklist-match, widget-checklist-match-inline)
1476         (widget-group-match): Rename parameter VALUES to VALS.
1477         (widget-field-value-set): Remove unused variable `size'.
1478         (widget-color-action): Remove unused variables `value' and `start'.
1480         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1481         variable `dir'.  Doc fix.
1482         (windmove-find-other-window): Don't pass it.
1484         * window.el (count-windows): Mark unused parameter.
1485         (bw-adjust-window): Remove unused variable `err'.
1487         * woman.el (woman-file-name): Remove unused variable `default'.
1488         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1489         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1490         (global-font-lock-mode): Declare.
1491         (woman-decode-region): Mark unused parameter.
1492         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1494         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1495         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1496         (x-dnd-handle-moz-url): Remove unused variable `title'.
1497         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1499         * xml.el (xml-parse-tag, xml-parse-attlist):
1500         Remove unused variable `pos'.
1502 2011-04-19  Glenn Morris  <rgm@gnu.org>
1504         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1505         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1506         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1507         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1508         * calendar/cal-html.el (cal-html-insert-minical):
1509         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1510         (calendar-mark-date-pattern):
1511         Prefix "unused" locals.
1513         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1514         optional argument `style'.
1516         * calendar/appt.el (appt-make-list):
1517         * calendar/cal-china.el (calendar-chinese-date-string):
1518         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1519         (diary-hebrew-yahrzeit):
1520         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1521         * calendar/calendar.el (calendar-generate-window):
1522         * calendar/time-date.el (time-to-days):
1523         Remove unused local variables.
1525 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
1527         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1528         glyphless-char-display table.
1529         (tabulated-list-glyphless-char-display): New var.
1531 2011-04-18  Sam Steingold  <sds@gnu.org>
1533         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1534         to acknowledgments.
1536 2011-04-17  Glenn Morris  <rgm@gnu.org>
1538         * calendar/diary-lib.el (diary-sexp-entry):
1539         * calendar/holidays.el (holiday-sexp):
1540         Set debug-on-error rather than the removed stack-trace-on-error.
1542 2011-04-16  Glenn Morris  <rgm@gnu.org>
1544         * progmodes/f90.el: Use lexical-binding.
1545         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1547 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1549         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1550         (mail-mode): Setup mailalias completion here instead.
1551         * mail/mailalias.el: Use lexical-binding.
1552         (pattern, mailalias-done): Declare dynamic.
1553         (mail-completion-at-point-function): New function, from mail-complete.
1554         (mail-complete): Use it.
1555         (mail-completion-expand): New function.
1556         (mail-get-names): Use it.
1557         (mail-directory, mail-directory-process, mail-directory-stream):
1558         Don't use `pattern' for lexically bound arg.
1560         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1562         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1563         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1564         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1566         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1567         (byte-save-window-excursion, byte-temp-output-buffer-setup)
1568         (byte-interactive-p): Define them again, for use when inlining
1569         old code.
1571 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
1573         * loadup.el: Use `string-to-number', not `string-to-int'.
1575 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1577         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1578         gud-gdb-complete-command.
1579         (gud-gdb-completions): New function, from gud-gdb-complete-command.
1580         (gud-gdb-completion-at-point): New function.
1581         (gud-gdb-completions): Remove.
1583 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
1585         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1586         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
1587         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1588         whether `executable-find' is bound.
1590         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1592 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1594         * minibuffer.el (completion-in-region-mode-predicate)
1595         (completion-in-region-mode--predicate): New vars.
1596         (completion-in-region, completion-in-region--postch)
1597         (completion-in-region-mode): Use them.
1598         (completion--capf-wrapper): Also return the hook function.
1599         (completion-at-point, completion-help-at-point):
1600         Adjust and provide a predicate.
1602         Preserve arg names for advice of subr and lexical functions (bug#8457).
1603         * help-fns.el (help-function-arglist): Consolidate the subr and
1604         new-byte-code cases.  Add argument `preserve-names' to extract names
1605         from the docstring when needed.
1606         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1607         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1608         (ad-arglist): Use help-function-arglist's new arg.
1609         (ad-definition-type): Use cond.
1611 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
1613         * autorevert.el (auto-revert-handler):
1614         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1615         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1616         Don't quote lambda.
1618         * image-mode.el (image-transform-set-scale):
1619         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1621 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1623         * net/network-stream.el (network-stream-open-starttls): Only do
1624         opportunistic STARTTLS upgrades if we have built-in gnutls support.
1625         Upgrades via gnutls-cli are too slow to be done opportunistically.
1627 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
1629         * dframe.el (dframe-current-frame): Remove spurious quote.
1631 2011-04-12  Glenn Morris  <rgm@gnu.org>
1633         * calendar/cal-tex.el (cal-tex-end-document):
1634         Try to automatically use latin1 input if needed.
1636         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1637         Don't try to cons a mark onto an empty element.
1639 2011-04-11  Leo Liu  <sdl.web@gmail.com>
1641         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1642         buffers.
1643         (ido-kill-buffer-at-head): Support killing virtual buffers.
1645 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
1647         * minibuffer.el (completion-show-inline-help): New var.
1648         (completion--do-completion, minibuffer-complete)
1649         (minibuffer-force-complete, minibuffer-complete-word):
1650         Inhibit minibuffer messages if completion-show-inline-help is nil.
1652         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1653         to avoid interference from inline help (Bug#5849).
1655 2011-04-10  Leo Liu  <sdl.web@gmail.com>
1657         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1658         Fix typo.
1660 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
1662         * image-mode.el (image-toggle-display-image): Signal an error if
1663         not in Image mode.
1664         (image-transform-mode, image-transform-resize)
1665         (image-transform-set-rotation): Doc fix.
1666         (image-transform-set-resize): Delete.
1667         (image-transform-set-scale, image-transform-fit-to-height)
1668         (image-transform-fit-to-width): Handle image-toggle-display-image
1669         and image-transform-resize directly.
1671 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
1673         * doc-view.el (doc-view-fit-width-to-window)
1674         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1675         New functions for fitting the shown image to the Emacs window size.
1676         (doc-view-mode-map): Add bindings for the new functions.
1678 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
1680         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1681         Fix typo in docstring.
1683 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1685         * files.el (file-size-human-readable): Produce one digit after
1686         decimal, like "ls -lh" does.
1688         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1689         the file size representation.
1691         * simple.el (list-processes): If async subprocesses are not
1692         available, error out with a clear error message.
1694 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
1696         * help.el (help-form-show): New function, to be called from C.
1697         Put help-form output in a buffer named differently than *Help*.
1699 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1701         * files.el (file-size-human-readable): New function.
1703         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1704         computing the representation inline.  Don't require `cl'.
1706 2011-04-08  Glenn Morris  <rgm@gnu.org>
1708         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1710         * net/browse-url.el (browse-url-firefox):
1711         Test system-type, not system-configuration.
1713         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1714         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1715         Use log-edit-empty-buffer-p.  (Bug#7598)
1717         * net/rlogin.el (rlogin-process-connection-type): Simplify.
1718         (rlogin-mode-map): Initialize in the defvar.
1719         (rlogin): Use ignore-errors.
1721         * replace.el (occur-mode-map): Some fixes for menu items.
1723 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1725         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
1727 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1729         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1730         issuing unused warnings.
1732         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1733         macro directly.
1735         * simple.el: Lisp reimplement of list-processes.  Based on an
1736         earlier reimplementation by Leo Liu, but using tabulated-list.el.
1737         (process-menu-mode): New major mode.
1738         (list-processes--refresh, list-processes):
1739         (process-menu-visit-buffer): New functions.
1741         * files.el (save-buffers-kill-emacs): Don't assume any return
1742         value of list-processes, which is undocumented anyway.
1744 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1746         * emacs-lisp/tabulated-list.el: New file.
1748         * emacs-lisp/package.el: Use Tabulated List mode.
1749         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1750         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
1751         table format using Tabulated List mode variables.
1752         (package--push): New macro, replacing package-list-maybe-add.
1753         (package-menu--generate): Use package--push.  Renamed from
1754         package--generate-package-list.
1755         (package-menu-refresh, list-packages): Use it.
1756         (package-menu--print-info): Rename from package-print-package.
1757         Return insertion data instead of inserting it directly.
1758         (package-menu-describe-package, package-menu-execute):
1759         Use tabulated-list-get-id.
1760         (package-menu-mark-delete, package-menu-mark-install)
1761         (package-menu-mark-unmark, package-menu-backup-unmark)
1762         (package-menu-mark-obsolete-for-deletion):
1763         Use tabulated-list-put-tag.
1764         (package--list-packages, package-menu-revert)
1765         (package-menu-get-package, package-menu-get-version)
1766         (package-menu-sort-by-column): Functions deleted.
1767         (package-menu-package-list, package-menu-sort-key): Vars deleted.
1768         (package-menu--status-predicate, package-menu--version-predicate)
1769         (package-menu--name-predicate)
1770         (package-menu--description-predicate): Handle arguments in the
1771         Tabulated List format.
1772         (package-list-packages-no-fetch): Call list-packages.
1774 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
1776         * files.el (after-find-file-from-revert-buffer): Remove variable.
1777         (after-find-file): Don't bind it.
1778         (revert-buffer-in-progress-p): New variable.
1779         (revert-buffer): Bind it.
1780         Pass nil for `after-find-file-from-revert-buffer'.
1782         * saveplace.el (save-place-find-file-hook): Use new variable
1783         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1785 2011-04-06  Glenn Morris  <rgm@gnu.org>
1787         * Makefile.in (AUTOGEN_VCS): New variable.
1788         (autoloads): Use $AUTOGEN_VCS.
1790         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1791         * calendar/calendar.el (calendar-mode-map):
1792         Check for toolkit scroll bars.  (Bug#8305)
1794 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1796         * minibuffer.el (completion-in-region--postch)
1797         (completion-in-region-mode): Remove unnecessary messages.
1799 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
1801         * font-lock.el (font-lock-refresh-defaults):
1802         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1803         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1805         * info.el (Info-directory-list, Info-read-node-name-2)
1806         (Info-split-parameter-string): Doc fixes.
1807         (Info-virtual-nodes): Reflow docstring.
1808         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1809         (Info-apropos-toc-nodes, info-finder, Info-get-token)
1810         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1811         Fix typos in docstrings.
1812         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1813         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1814         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1815         (Info-restore-desktop-buffer): Mark unused parameters.
1816         (Info-directory-find-file, Info-directory-find-node)
1817         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1818         (Info-virtual-index-find-node, Info-apropos-find-file)
1819         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1820         Mark unused parameters; fix typos in docstrings.
1821         (Info-virtual-index): Remove unused local variable `nodename'.
1823 2011-04-05  Deniz Dogan  <deniz@dogan.se>
1825         * net/rcirc.el: Update my e-mail address.
1826         (rcirc-mode-map): Remove M-o binding.
1828 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1830         * startup.el (command-line): Save the cursor's theme-face
1831         directly, instead of using face-override-spec.
1833         * custom.el (load-theme): Minor optimization in assigning faces.
1835 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1837         * help-fns.el (describe-variable): Complete all variables having
1838         documentation, including keywords.
1839         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1841 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1843         Convert to lexical-binding.
1845         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1846         (bs--get-marked-string, bs--get-modified-string)
1847         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1848         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1849         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1851         * ehelp.el (electric-help-execute-extended)
1852         (electric-help-ctrl-x-prefix):
1853         * hexl.el (hexl-revert-buffer-function):
1854         * linum.el (linum-after-change, linum-after-scroll):
1855         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1857         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1859 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
1861         * epa-dired.el:
1862         * epa-mail.el:
1863         * epa-hook.el:
1864         * epa-file.el:
1865         * epa.el:
1866         * epg.el: Use lexical binding.
1868 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
1870         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1872         * textmodes/flyspell.el (flyspell-word): Recognize default
1873         dictionary case for flyspell-mark-duplications-exceptions.
1874         Use regexp matching for languages.
1875         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1876         default dictionary (Bug#7926).
1878 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
1880         * emacs-lisp/package.el (package--with-work-buffer):
1881         Recognize https URLs.
1883         * net/network-stream.el: Move from gnus/proto-stream.el.
1884         Change prefix to network-stream throughout.
1885         (open-protocol-stream): Merge into open-network-stream, leaving
1886         open-protocol-stream as an alias.  Handle nil BUFFER args.
1888         * subr.el (open-network-stream): Move to net/network-stream.el.
1890 2011-04-02  Glenn Morris  <rgm@gnu.org>
1892         * find-dired.el (find-exec-terminator): New option.
1893         (find-ls-option): Test for -ls support.
1894         (find-ls-subdir-switches): Test for -b in find-ls-option.
1895         (find-dired, find-grep-dired): Doc fixes.
1896         (find-dired): Use find-exec-terminator.
1898         * find-dired.el (find-ls-option, find-ls-subdir-switches)
1899         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1900         (find-name-arg): Remove purecopy.
1902         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1903         (grep-compute-defaults): Check for `-exec COMMAND +' support.
1904         Set grep-find-use-xargs, grep-find-command, and grep-find-template
1905         accordingly.  Don't add the null-device if not needed.
1907         * files.el (save-some-buffers): Doc fix.
1909 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
1911         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1913 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
1915         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1916         Use `dolist' rather than `mapcar'.
1918 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1920         Add lexical binding.
1922         * subr.el (apply-partially): Use new closures rather than CL.
1923         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1924         (dolist, dotimes): Use slightly different expansion for lexical code.
1925         (functionp): Move to C.
1926         (letrec): New macro.
1927         (with-wrapper-hook): Use it and apply-partially instead of CL.
1928         (eval-after-load): Preserve lexical-binding.
1929         (save-window-excursion, with-output-to-temp-buffer): Turn them
1930         into macros.
1932         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1934         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1935         than the arglist.
1936         (help-add-fundoc-usage): Don't add `Not documented'.
1937         (help-function-arglist): Handle closures, subroutines, and new
1938         byte-code-functions.
1939         (help-make-usage): Remove leading underscores.
1940         (describe-function-1): Handle closures.
1941         (describe-variable): Use special-variable-p for completion.
1943         * files.el (lexical-binding): Declare safe.
1945         * emacs-lisp/pcase.el: Don't use destructuring-bind.
1946         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
1947         (pcase): Add `let' pattern.
1948         Change memoization so it actually works.
1949         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1950         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1951         <let>: New case.
1953         * emacs-lisp/macroexp.el: Use lexical binding.
1954         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
1955         Don't convert ' to #' without checking that it's indeed quoting
1956         a lambda.
1958         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1959         Use eval-sexp-add-defvars.
1960         (eval-sexp-add-defvars): New fun.
1962         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1964         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1965         Don't autoload.
1966         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1967         than the internal `byte-compile-lambda'.
1968         (defmethod): Don't hide code under quotes.
1969         (eieio-defmethod): New `code' argument.
1971         * emacs-lisp/eieio-comp.el: Remove.
1973         * emacs-lisp/edebug.el (edebug-eval-defun)
1974         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1975         (edebug-toggle): Avoid `eval'.
1977         * emacs-lisp/disass.el (disassemble-internal): Handle new
1978         `closure' objects.
1979         (disassemble-1): Handle new byte codes.
1981         * emacs-lisp/cl.el (pushnew): Silence warning.
1983         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1984         (cl-byte-compile-throw): Remove.
1985         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1987         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1988         closures.
1990         * emacs-lisp/cconv.el: New file.
1992         * emacs-lisp/bytecomp.el: Use lexical binding instead of
1993         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
1994         (byte-compile-initial-macro-environment):
1995         Handle declare-function here.
1996         (byte-compile--lexical-environment): New var.
1997         (byte-stack-ref, byte-stack-set, byte-discardN)
1998         (byte-discardN-preserve-tos): New lap codes.
1999         (byte-interactive-p): Don't use any more.
2000         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2001         New macros.
2002         (byte-compile-lapcode): Use them and handle new lap codes.
2003         (byte-compile-obsolete): Remove.
2004         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2005         (byte-compile-arglist-warn): Check late def of inlinable funs.
2006         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2007         since they should have been expanded by now.
2008         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2009         (byte-compile-from-buffer): Remove unused second arg.
2010         (byte-compile-preprocess): New function.
2011         (byte-compile-toplevel-file-form): New function to distinguish
2012         file-form calls from outside from file-form calls from hunk-handlers.
2013         (byte-compile-file-form): Simplify.
2014         (byte-compile-file-form-defsubst): Remove.
2015         (byte-compile-file-form-defmumble): Simplify now that
2016         byte-compile-lambda always returns a byte-code-function.
2017         (byte-compile): Preprocess.
2018         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2019         Remove, not used any more.
2020         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2021         (byte-compile-make-args-desc): New funs.
2022         (byte-compile-lambda): Handle lexical functions.  Always return
2023         a byte-code-function.
2024         (byte-compile-reserved-constants): New var, to make up room for
2025         closed-over variables.
2026         (byte-compile-constants-vector): Obey it.
2027         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2028         (byte-compile-macroexpand-declare-function): New function.
2029         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2030         byte-code-functions.
2031         (byte-compile-form): Check obsolescence here.
2032         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2033         (byte-compile-variable-ref): Remove.
2034         (byte-compile-dynamic-variable-op): New fun.
2035         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2036         (byte-compile-variable-set): New funs.
2037         (byte-compile-discard): Add 2 args.
2038         (byte-compile-stack-ref, byte-compile-stack-set)
2039         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2040         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2041         macroexpand-all instead.
2042         (byte-compile-quote-form): Remove.
2043         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2044         (byte-compile-bind, byte-compile-unbind): New funs.
2045         (byte-compile-let): Handle let* and lexical binding.
2046         (byte-compile-let*): Remove.
2047         (byte-compile-catch, byte-compile-unwind-protect)
2048         (byte-compile-track-mouse, byte-compile-condition-case):
2049         Handle a new :fun-body form, used for lexical scoping.
2050         (byte-compile-save-window-excursion)
2051         (byte-compile-with-output-to-temp-buffer): Remove.
2052         (byte-compile-defun): Simplify.
2053         (byte-compile-stack-adjustment): New fun.
2054         (byte-compile-out): Use it.
2055         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2057         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2058         handler any more.
2060         * emacs-lisp/byte-opt.el: Use lexical binding.
2061         (byte-inline-lapcode): Remove (to bytecomp).
2062         (byte-compile-inline-expand): Pay attention to inlining to/from
2063         lexically bound code.
2064         (byte-compile-unfold-lambda): Don't handle byte-code-functions
2065         any more.
2066         (byte-optimize-form-code-walker): Don't handle save-window-excursion
2067         any more and don't call compiler-macros.
2068         (byte-compile-splice-in-already-compiled-code): Remove.
2069         (byte-code): Don't inline any more.
2070         (disassemble-offset): Receive `bytes' as argument rather than via
2071         dynamic scoping.
2072         (byte-compile-tag-number): Declare before first use.
2073         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2074         `return' even if make-spliceable.
2075         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2076         obsolete interactive-p.
2077         (byte-optimize-lapcode): Optimize new lap-codes.
2078         Don't trip up on new form of `byte-constant' lap code.
2080         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2082         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2084         * custom.el (custom-initialize-default, custom-declare-variable):
2085         Use `defvar'.
2087         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2088         New variables.
2089         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2090         (COMPILE_FIRST): Add macroexp and cconv.
2091         * makefile.w32-in: Mirror changes in Makefile.in.
2093         * vc/cvs-status.el:
2094         * vc/diff-mode.el:
2095         * vc/log-edit.el:
2096         * vc/log-view.el:
2097         * vc/smerge-mode.el:
2098         * textmodes/bibtex-style.el:
2099         * textmodes/css.el:
2100         * startup.el:
2101         * uniquify.el:
2102         * minibuffer.el:
2103         * newcomment.el:
2104         * reveal.el:
2105         * server.el:
2106         * mpc.el:
2107         * emacs-lisp/smie.el:
2108         * doc-view.el:
2109         * dired.el:
2110         * abbrev.el: Use lexical binding.
2112 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
2114         * info.el (info-display-manual): New function.
2116 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2118         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2120 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
2122         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2123         an entry for that server in rcirc-authinfo.  (Bug#8385)
2125 2011-03-31  Glenn Morris  <rgm@gnu.org>
2127         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2129         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2131 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
2133         * progmodes/python.el (python-default-interpreter)
2134         (python-python-command-args, python-jython-command-args)
2135         (python-which-shell, python-which-args, python-which-bufname)
2136         (python-file-queue, python-comint-output-filter-function)
2137         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2138         variables and functions.
2140 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2142         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2143         (completion-in-region-mode): New minor mode.
2144         (completion-in-region): Use it.
2145         (completion-in-region--data, completion-in-region-mode-map): New vars.
2146         (completion-in-region--postch): New function.
2147         (completion--capf-misbehave-funs, completion--capf-safe-funs):
2148         New vars.
2149         (completion--capf-wrapper): New function.
2150         (completion-at-point): Use it to track well-behavedness of
2151         hook functions.
2152         (completion-help-at-point): New command.
2154 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
2156         * vc/add-log.el (add-change-log-entry): Don't use whitespace
2157         syntax class to search for whitespace on a single line
2158         (Message-ID: <4D938140.4030905@redhat.com>).
2160 2011-03-30  Leo Liu  <sdl.web@gmail.com>
2162         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2163         New commands.
2164         (edit-abbrevs-map): Bind them here.
2165         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
2167 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
2169         * allout.el (allout-hide-by-annotation, allout-flag-region):
2170         Reduce possibility of overlay leakage by making them volatile.
2172         * allout-widgets.el (allout-widgets-tally): Define as nil so the
2173         hash is not shared between buffers.  Mode initialization is
2174         responsible for giving it a useful starting value.
2175         (allout-item-span): Reduce possibility of overlay leakage by
2176         making them volatile.
2177         (allout-widgets-count-buttons-in-region): Add diagnostic function
2178         for tracking down button overlay leaks.
2180 2011-03-29  Leo Liu  <sdl.web@gmail.com>
2182         * ido.el (ido-read-internal): Use the default history var
2183         minibuffer-history if no HISTORY is specified.
2185 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
2187         * net/imap.el (imap-shell-open, imap-process-connection-type):
2188         Use imap-process-connection-type for 'shell' streams as well as
2189         Kerberos, SSL, other subprocesses.
2191 2011-03-28  Leo Liu  <sdl.web@gmail.com>
2193         * abbrev.el (abbrev-table-empty-p): New function.
2194         (prepare-abbrev-list-buffer): Place empty abbrev tables after
2195         nonempty ones.  (Bug#5937)
2197 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
2199         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2201 2011-03-27  Leo Liu  <sdl.web@gmail.com>
2203         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2204         for foreground and background colors.
2205         (ansi-color-make-color-map): Adapt.
2207 2011-03-25  Leo Liu  <sdl.web@gmail.com>
2209         * midnight.el (midnight-time-float): Remove.  Note it calculates
2210         the microsecond component incorrectly and seconds-to-time does the
2211         same job.
2212         Remove redundant (require 'timer).
2214         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2215         (ido-completions): Remove unused arguments.  (Bug#8329)
2217 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2219         * minibuffer.el (completion--flush-all-sorted-completions):
2220         Remove itself from hook.
2221         (completion-at-point): Let the functions perform the completion
2222         immediately and return nil or t.
2223         * comint.el (comint-dynamic-complete-functions): Now identical to
2224         completion-at-point-functions.
2225         (comint-dynamic-list-input-ring): Remove unused var `index'.
2226         (comint--match-partial-filename, comint--unquote&expand-filename):
2227         New funs, split from comint-match-partial-filename.
2228         (comint-dynamic-complete): Use completion-at-point.
2229         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2231 2011-03-24  Drew Adams  <drew.adams@oracle.com>
2233         * thingatpt.el: Support `defun'.
2235 2011-03-23  Leo Liu  <sdl.web@gmail.com>
2237         * abbrevlist.el: Move to obsolete/abbrevlist.el.
2239         * help-mode.el (help-mode-finish): Tweak regexp.
2241 2011-03-23  Glenn Morris  <rgm@gnu.org>
2243         * eshell/esh-opt.el (eshell-eval-using-options):
2244         Do not bind unused local variable `eshell-option-stub'.
2246         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2248 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2250         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2251         keymap variable in `with-no-warnings' to avoid a warning when the
2252         keymap has been already `defconst'ed.
2254 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2256         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2257         encode all chars in abbrevs; otherwise use emacs-mule or
2258         utf-8-emacs.  (Bug#8308)
2260 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2262         * simple.el (backward-delete-char-untabify):
2263         Avoid warning about using `delete-backward-char'.
2265         * image.el (image-type-file-name-regexps): Make it variable.
2266         `imagemagick-register-types' modifies it, and the user may want
2267         to add new extensions for known image types.
2268         (imagemagick-register-types): Throw error if not using ImageMagick.
2270 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2272         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2273         located before rcirc-prompt-end-marker.
2274         (rcirc-complete): Error if point is not after rcirc prompt.
2275         Handle the case when table is nil.
2276         (rcirc-user-authenticated): Define to fix compiler warning.
2278 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
2280         * custom.el (custom--inhibit-theme-enable): Make it affect only
2281         custom-theme-set-variables and custom-theme-set-faces.
2282         (provide-theme): Ignore custom--inhibit-theme-enable.
2283         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2284         (custom-enabling-themes): Delete variable.
2285         (enable-theme): Accept only loaded themes as arguments.
2286         Ignore the special custom-enabled-themes variable.
2287         (custom-enabled-themes): Forbid themes from setting this.
2288         Eliminate use of custom-enabling-themes.
2289         (custom-push-theme): Quote "changed" custom var entry.
2291 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2293         * ido.el (ido-read-internal): Add ido-selected to history instead
2294         of user input.
2296 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2298         * subr.el (deferred-action-list, deferred-action-function):
2299         Mark obsolete.
2301 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2303         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2304         change on 2011-02-13 (bug#8309).
2306         * minibuffer.el (read-file-name-function): Change default value.
2307         (read-file-name--defaults): Rename from read-file-name-defaults.
2308         (read-file-name-default): Rename from read-file-name.
2309         (read-file-name): Call read-file-name-function.
2311 2011-03-21  Glenn Morris  <rgm@gnu.org>
2313         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2314         Doc fixes.
2316 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
2318         * cus-theme.el: Add missing provide statement.
2319         (customize-create-theme): Extract theme value correctly.
2320         (custom-theme-visit-theme): Autoload.
2321         (customize-create-theme): Prompt before inserting default faces.
2323 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
2325         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2326         units and musical notes.
2328 2011-03-20  Leo  <sdl.web@gmail.com>
2330         * ido.el (ido-read-internal): Use completing-read-default.
2331         (ido-completing-read): Fix compatibility with completing-read.
2333 2011-03-20  Christian Ohler  <ohler@gnu.org>
2335         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2336         (ert-delete-all-tests): Use `called-interactively-p' rather than
2337         `interactive-p'.
2338         (ert--make-xrefs-region): Respect END.
2340 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2342         * dired-aux.el (dired-create-directory): Signal an error if the
2343         directory already exists (Bug#8246).
2345         * facemenu.el (list-colors-display): Call list-faces-display
2346         inside with-help-window.
2347         (list-colors-print): Use display property to align the final
2348         column, instead of checking window-width.
2350 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
2352         * emerge.el (emerge-metachars): Separate value for ms-dos and
2353         windows-nt systems.
2354         (emerge-protect-metachars): Quote correctly for ms-dos and
2355         windows-nt systems.
2357 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
2359         * info.el (info-initialize): Replace all uses of `:' with
2360         path-separator for compatibility with non-Unix systems.
2361         Cache quoting of path-separator.  (Bug#8258)
2363 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
2365         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2366         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2367         (mouse-avoidance-mode): Fix typos in docstrings.
2369 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2371         * startup.el (package-subdirectory-regexp): Move from package.el.
2372         Omit \\` and \\', and let callers add them.
2374         * emacs-lisp/package.el (package-strip-version)
2375         (package-load-all-descriptors): Add \\` and \\' to
2376         package-subdirectory-regexp before using it.
2377         (package-untar-buffer): New arg DIR; ensure that file untars only
2378         into this expected directory.  Remove superfluous delete-region.
2379         (package-unpack): Caller changed.
2380         (package-tar-file-info): Use package-subdirectory-regexp.
2382 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2384         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2385         diff-mode-shared-map (bug#8284).
2386         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2388 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2390         * calendar/time-date.el (format-seconds): Use assoc instead of
2391         assoc-string, since assoc-string doesn't exist in XEmacs.
2393 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
2395         * custom.el (custom-known-themes): Reflow docstring.
2396         (custom-theme-load-path): Fix typo in docstring.
2397         (load-theme): Fix typo in error message.
2398         (custom-available-themes, custom-variable-theme-value):
2399         Use `let', not `let*'.
2401 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
2403         * calc/README: Mention inclusion of musical notes.
2405         * calc/calc-units.el (calc-lu-quant): Rename from
2406         `calc-logunits-quantity'.
2407         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2408         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2409         (calc-db): Rename from `calc-dblevel'.
2410         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2411         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2412         (calc-np): Rename from `calc-nplevel'.
2413         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2414         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2415         (calc-lu-plus): Rename from `calc-logunits-add'.
2416         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2417         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2418         (calc-lu-minus): Rename from `calc-logunits-sub'.
2419         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2420         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2421         (calc-lu-times): Rename from `calc-logunits-mul'.
2422         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2423         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2424         (calc-lu-divide): Rename from `calc-logunits-div'.
2425         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2426         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2428         * calc/calc-ext.el (calc-init-extensions): Update the names of the
2429         functions being autoloaded.
2431         * calc/calc.el (calc-lu-power-reference): Rename from
2432         `calc-logunits-power-reference'.
2433         (calc-lu-field-reference): Rename from
2434         `calc-logunits-field-reference'.
2436         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2438 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2440         * minibuffer.el (completion-all-sorted-completions):
2441         Use :completion-cycle-penalty text property if present.
2443 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
2445         * allout.el (allout-yank-processing): Adjust for new rebulleting
2446         regime so bullet being yanked is used without prompting the user
2447         for a choice.
2449 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2451         * startup.el (command-line): Warn the user that _emacs is deprecated.
2453 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2455         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2456         (delphi-verbose, delphi-comment-face, delphi-string-face)
2457         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2458         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2459         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2460         (delphi-new-comment-line, delphi-font-lock-defaults)
2461         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2462         Fix typos in docstrings.
2464 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
2466         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2467         Invert the roles of character and string values for INSTEAD, so a
2468         string is used for the more common case of a defaulting prompt.
2470 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2472         * progmodes/ruby-mode.el (ruby-backward-sexp):
2473         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2474         * play/gamegrid.el (gamegrid-make-face):
2475         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2476         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2477         * notifications.el (notifications-notify):
2478         * net/xesam.el (xesam-search-engines):
2479         * net/quickurl.el (quickurl-list-insert):
2480         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2482 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
2484         * startup.el (command-line): Update package subdirectory regexp.
2486 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2488         * allout.el (allout-abbreviate-flattened-numbering)
2489         (allout-mode-deactivate-hook): Fix up obsolescence "date".
2491         * subr.el (read-char-choice): Only show the cursor after the prompt,
2492         not after the answer.
2494 2011-03-15  Kevin Ryde  <user42@zip.com.au>
2496         * help-fns.el (variable-at-point): Skip leading quotes, if any
2497         (bug#8253).
2499 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2501         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2502         warning message.
2504 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
2506         * shell.el (shell): When called interactively, offer to change the
2507         shell file name on remote hosts.
2509 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
2511         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2512         integration for LDAP parameters.  The host, base, user or binddn,
2513         and secret tokens can be specified in a netrc file, for instance.
2514         This is optional because an `auth-source' parameter must be
2515         specified in the search attributes.
2517 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
2519         * help.el (describe-mode): Link to the mode's definition (bug#8185).
2521 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2523         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2524         into declaration.  Remove redundant and harmful binding.
2526 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
2528         * files.el (file-ownership-preserved-p): Pass `integer' as an
2529         explicit 2nd argument to `file-attributes'.  If the file's owner
2530         is the Administrators group on Windows, and the current user is
2531         Administrator, consider that a match.
2533         * server.el (server-ensure-safe-dir): Consider server directory
2534         safe on MS-Windows if its owner is the Administrators group while
2535         the current Emacs user is Administrator.  Use `=' to compare
2536         numerical UIDs, since they could be integers or floats.
2538 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
2540         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2542 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
2544         Sync with Tramp 2.2.1.
2546         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2548         * net/trampver.el: Update release number.
2550 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2552         * progmodes/compile.el (compilation--previous-directory): Fix up
2553         various nil/dead-marker mismatches (bug#8014).
2554         (compilation-directory-properties, compilation-error-properties):
2555         Don't call it at a position past the one we're about to change.
2557         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2558         Disable obsolescence warnings in the file that declares it.
2560 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
2562         * allout-widgets.el (allout-widgets-tally):
2563         Initialize allout-widgets-tally as a hash table rather than nil to
2564         prevent mode-line redisplay warnings.  Also, clarify the module
2565         description and fix a comment typo.
2567 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
2569         * help-fns.el (describe-variable): Don't complete keywords.
2570         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2572 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
2574         * emacs-lisp/package.el (package-version-join): Impose a standard
2575         string representation for pre/alpha/beta version lists.
2576         (package-unpack-single): Standardize the directory name by passing
2577         it through package-version-join.
2578         (package-strip-rcs-id): Accept any version string that does not
2579         signal an error in version-to-list.
2581 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
2583         * simple.el (delete-trailing-whitespace): Return nil for the
2584         benefit of `write-file-functions'.
2586 2011-03-10  Glenn Morris  <rgm@gnu.org>
2588         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2590         * vc/vc-git.el (vc-git-program): New option.
2591         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2592         (vc-git--call): Use it.
2594         * eshell/esh-util.el (eshell-condition-case): Doc fix.
2596         * cus-edit.el (Custom-newline): If no button at point, look
2597         for a subgroup button at start-of-line.  (Bug#2298)
2599         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2601 2011-03-10  Julien Danjou  <julien@danjou.info>
2603         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2604         `cursor-type' is nil.
2606 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
2608         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2610 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
2612         * allout.el Summary: Change so yank of distinctive-bullet items
2613         preserves the existing header prefix, rebulleting it if necessary,
2614         rather than replacing it.  This is necessary for proper operation
2615         of cooperative addons like allout-widgets.
2616         (allout-make-topic-prefix, allout-rebullet-heading): Change
2617         SOLICIT arg to INSTEAD, and interpret additionally a string value
2618         as alternate bullet to be used, instead of prompting the user for
2619         a bullet character.
2621 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
2623         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2624         Do not use `tramp-file-name-port', because this returns also
2625         `tramp-default-port'.
2627 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2629         * net/rcirc.el (rcirc-handler-001): Remove useless
2630         with-rcirc-process-buffer.
2631         (rcirc-check-auth-status): Swap arguments to string-match.
2633 2011-03-09  Glenn Morris  <rgm@gnu.org>
2635         * shell.el (shell-mode):
2636         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
2638         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2639         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
2641 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2643         * emacs-lisp/package.el (package-refresh-contents)
2644         (package-menu-execute): Use condition-case-no-debug.
2646 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
2648         * simple.el (shell-command-to-string): Use `process-file'.
2650         * emacs-lisp/package.el (package-tar-file-info): Handle also
2651         remote files.
2653         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2654         Use `equal' for upload base check.
2656 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
2658         * textmodes/texinfo.el (texinfo-environments):
2659         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
2661 2011-03-08  Glenn Morris  <rgm@gnu.org>
2663         * cus-start.el (cursor-in-non-selected-windows):
2664         Fix :set quoting oddness.  (Bug#8192)
2666         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2667         in some setf expressions.  (Bug#2159)
2669 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2671         * custom.el (custom-available-themes): Return themes in
2672         alphabetical order.
2674 See ChangeLog.15 for earlier changes.
2676 ;; Local Variables:
2677 ;; coding: utf-8
2678 ;; End:
2680   Copyright (C) 2011  Free Software Foundation, Inc.
2682   This file is part of GNU Emacs.
2684   GNU Emacs is free software: you can redistribute it and/or modify
2685   it under the terms of the GNU General Public License as published by
2686   the Free Software Foundation, either version 3 of the License, or
2687   (at your option) any later version.
2689   GNU Emacs is distributed in the hope that it will be useful,
2690   but WITHOUT ANY WARRANTY; without even the implied warranty of
2691   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2692   GNU General Public License for more details.
2694   You should have received a copy of the GNU General Public License
2695   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.