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