Minor fixes in window resizing routines and documentation update.
[emacs.git] / lisp / ChangeLog
blob2b32237f3e025f43b6448287f3cd022b789db709
1 2011-05-30  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (ignore-window-parameters, window-size-fixed):
4         Rewrite doc-strings.
5         (window-min-delta-1, window-min-delta): Reorder.  Minor rewrite.
6         (resize-subwindows-normal): Use zerop when checking other-delta.
7         Call window-min-delta with NODOWN argument nil.
8         (adjust-window-trailing-edge): Fix doc-string.
9         (other-window): Fix doc-string and respect
10         ignore-window-parameters.
11         (delete-window, delete-other-windows): Fix doc-strings.  Remove
12         -function postfix from associated window parameters.
13         (quit-restore-window): Resize only if buffer was in
14         temp-buffer-resize-mode.
15         (window-split-min-size): Rewrite doc-string.
16         (split-window): Rewrite doc-string.  Rename horflag to
17         horizontal.  Major rewrite of size calculations.  Remove
18         -function postfix from associated window parameter.
19         (window-state-put-1, display-buffer-split-window-1): Rename
20         horflag to horizontal.
21         (same-window-p): Remove call to non-existent function.
23 2011-05-21  Glenn Morris  <rgm@gnu.org>
25         * image-mode.el (image-after-revert-hook):
26         Redraw all frames on which the image is visible.  (Bug#8567)
28         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
30         * wid-edit.el (widget-checklist-match-inline):
31         Fix 2011-04-19 change.  (Bug#8649)
33 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
35         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
36         Also allow singlespace after single-letter capitals followed by a dot.
38         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
39         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
41 2011-05-20  Nix  <nix@esperi.org.uk>
43         * files.el (basic-save-buffer-2):
44         Fix handling of break-hardlink-on-save with non-existent files.
46 2011-05-19  Deniz Dogan  <deniz@dogan.se>
48         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
49         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
51 2011-05-19  Glenn Morris  <rgm@gnu.org>
53         * progmodes/f90.el (f90-type-def-re):
54         Handle "type, bind(c)".  (Bug#8691)
56         * emacs-lisp/autoload.el (batch-update-autoloads):
57         Set autoload-excludes by parsing loadup.el rather than Makefiles.
59 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
61         * net/tramp.el (tramp-process-actions): Set "first-password-request"
62         property for the correct connection in case of multihops.
64 2011-05-18  Glenn Morris  <rgm@gnu.org>
66         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
67         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
69         Rationalize calendar handling of day and month abbrev-arrays.
70         * calendar/calendar.el (calendar-customized-p): New function.
71         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
72         (calendar-day-name-array, calendar-month-name-array): Doc fix.
73         Add :set function.
74         (calendar-abbrev-length, calendar-day-abbrev-array)
75         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
76         (calendar-day-abbrev-array, calendar-month-abbrev-array):
77         Elements may no longer be nil.
78         (calendar-day-name, calendar-month-name):
79         Update for changed nature of abbrev arrays.
80         * calendar/diary-lib.el (diary-name-pattern):
81         Update for changed nature of abbrev arrays.
82         (diary-mark-entries-1): Update calendar-make-alist calls.
83         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
84         * calendar/cal-html.el (cal-html-day-abbrev-array):
85         Simply inherit from calendar-day-abbrev-array.
87 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
89         * progmodes/grep.el (grep-mode): Disable default
90         compilation-directory-matcher setting (bug#8684).
92 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
94         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
95         instead of "head" and "tail".  There were problems with SunOS 5.9,
96         and it performs better.
98 2011-05-17  Glenn Morris  <rgm@gnu.org>
100         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
102         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
103         Replace obsolete function.
105         * shell.el (pcomplete-parse-arguments-function): Declare.
107         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
108         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
109         (appt-check): Doc fixes.
110         (appt-disp-window-function, appt-delete-window-function):
111         Remove needless special case in custom :type.
112         (appt-display-count): Default to 0, not nil.
113         (appt-check): Reset appt-display-count to 0, not nil.
115 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
117         * progmodes/python.el (python-font-lock-keywords):
118         Add the Python 3.X keyword "nonlocal" (bug#8639).
120 2011-05-16  Martin Rudalics  <rudalics@gmx.at>
122         * mouse.el (mouse-drag-mode-line-1): Don't use window
123         configurations any more.
125         * window.el (window-child-count, normalize-live-frame)
126         (normalize-any-window, normalize-live-window): Fix doc-strings.
127         (window-internal-p): Remove.
128         (window-last-child): New function.
129         (make-window-atom): Call window-child instead of
130         window-internal-p.
131         (window-min-delta, window-min-delta-1, window-max-delta)
132         (window-max-delta-1, window-resizable, window-resizable-p): Rename
133         argument SIDE to TRAIL.
134         (resize-window-reset-1, resize-mini-window): Call set-window-new-total.
135         (resize-window-safe-window): Remove.
136         (resize-window): Reword error message.  Use
137         set-window-new-normal and rewrite associated code.
138         (resize-subwindows-skip-p): Call window-new-normal.
139         (resize-subwindows-normal): Major rewrite.  Rename arguments SIDE
140         and DELTA to TRAIL and THIS-DELTA.  New argument OTHER-DELTA.
141         (resize-subwindows): Major rewrite.  New arguments WIDNOW and
142         EDGE.  Rename argument SIDE to TRAIL.
143         (resize-other-windows): Major rewrite. Rename argument SIDE to
144         TRAIL.  New argument EDGE.
145         (resize-this-window): Minor rewrite.  Rename arguments ADD-TOTAL
146         and SIDE to ADD and TRAIL.  New argument EDGE.
147         (resize-root-window, resize-root-window-vertically): Clarify
148         doc-strings.
149         (adjust-window-trailing-edge): Major rewrite.
150         (delete-window): Fix doc-string.  Call set-window-new-normal.
151         (split-window): Rename argument HORIZONTAL to SIDE.  Handle normal
152         sizes more intuitively.  Call split-window-internal with new
153         normal-size argument.
154         (split-window-keep-point): Replace split-window-vertically by
155         split-window-above-each-other.
156         (split-window-vertically): Rename to
157         split-window-above-each-other, provide alias for old name.
158         (split-window-horizontally): Rename to
159         split-window-side-by-side.  Provide alias for old name.
160         (balance-windows-1): Call window-new-total and
161         set-window-new-total.
162         (balance-windows-2): Call window-new-total, set-window-new-normal
163         and set-window-new-total.
164         (display-buffer-alist): Fix doc-string.
165         (ctl-x-map): Bind split-window-above-each-other and
166         split-window-side-by-side instead of split-window-vertically and
167         split-window-horizontally.
169 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
171         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
173 2011-05-16  Kevin Ryde  <user42@zip.com.au>
175         * info-look.el (makefile-automake-mode): New setups, looking in
176         automake manual, then makefile-mode.
177         (makefile-mode): Remove automake manual, have it just in
178         makefile-automake-mode since there's various things different or
179         not relevant to plain make.
180         (makefile-mode): Remove "other-modes" non-existent automake-mode,
181         believe a hypothetical automake-mode would go to makefile-mode,
182         not the other way around.
184 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
186         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
187         hunk-end tags (Bug#8672).
189         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
190         vc-annotate-show-diff-revision-at-line (Bug#8671).
192 2011-05-14  Glenn Morris  <rgm@gnu.org>
194         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
195         in the middle of an existing one with multiple authors.  (Bug#8645)
196         (change-log-font-lock-keywords): Also handle multiple author lines
197         with leading tabs.  (Bug#8644)
199         * calendar/appt.el (appt-check): Rename some local variables.
200         Some simplification/reordering.
202         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
203         (feedmail-sendmail-f-doesnt-sell-me-out)
204         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
205         (feedmail-debug-sit-for, feedmail-queue-express-hook)
206         (feedmail-queue-runner-message-sender): Set :version.
207         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
208         (bbdb-dwim-net-address, vm-mail): Declare.
209         (feedmail-binmail-gnulinuxish-template):
210         Rename from feedmail-binmail-linuxish-template.
211         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
212         Use insert-buffer-substring.
214 2011-05-14  Bill Carpenter  <bill@carpenter.org>
216         * mail/feedmail.el (feedmail-patch-level): Increase.
217         (feedmail-debug): New custom group.
218         (feedmail-confirm-outgoing-timeout)
219         (feedmail-sendmail-f-doesnt-sell-me-out)
220         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
221         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
222         (feedmail-sender-line, feedmail-from-line)
223         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
224         (feedmail-spray-this-address)
225         (feedmail-spray-address-fiddle-plex-list)
226         (feedmail-queue-use-send-time-for-date)
227         (feedmail-queue-use-send-time-for-message-id)
228         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
229         (feedmail-buffer-eating-function):
230         Doc fixes.
231         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
232         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
233         (feedmail-message-action-scroll-down): New functions.
234         (feedmail-queue-directory, feedmail-queue-draft-directory):
235         Use expand-file-name.
236         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
237         Remove C-v help entry.
238         (feedmail-queue-buffer-file-name): New variable.
239         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
240         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
241         (feedmail-message-action-send-strong, feedmail-message-action-edit)
242         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
243         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
244         (feedmail-message-action-toggle-spray)
245         (feedmail-run-the-queue-no-prompts)
246         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
247         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
248         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
249         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
250         (feedmail-envelope-deducer, feedmail-fiddle-from)
251         (feedmail-fiddle-sender, feedmail-default-date-generator)
252         (feedmail-fiddle-date, feedmail-fiddle-message-id)
253         (feedmail-fiddle-spray-address)
254         (feedmail-fiddle-list-of-spray-fiddle-plexes)
255         (feedmail-fiddle-list-of-fiddle-plexes)
256         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
257         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
258         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
259         Change default.  Doc fix.
260         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
261         (feedmail-binmail-linuxish-template): New constant.
262         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
263         Respect feedmail-sendmail-f-doesnt-sell-me-out.
264         (feedmail-send-it): Add debug call.
265         Use feedmail-queue-buffer-file-name, and
266         feedmail-send-it-immediately-wrapper.
267         (feedmail-message-action-send): Add debug call.
268         Use feedmail-send-it-immediately-wrapper.
269         (feedmail-queue-express-to-queue): Add debug call.
270         Run feedmail-queue-express-hook.
271         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
272         (feedmail-message-action-help-blat):
273         Rename from feedmail-queue-send-edit-prompt-help-first.
274         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
275         Check line-endings.  Handle errors better.
276         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
277         Doc fix.  Add debug call.
278         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
279         Use feedmail-queue-send-edit-prompt-inner.
280         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
281         (feedmail-queue-send-edit-prompt-inner): New function, extracted
282         from feedmail-queue-send-edit-prompt.
283         (feedmail-queue-send-edit-prompt-help)
284         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
285         (feedmail-tidy-up-slug): Add debug call.
286         Respect feedmail-queue-slug-suspect-regexp.
287         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
288         (feedmail-dump-message-to-queue): Add debug call.
289         Expand queue-directory.
290         (feedmail-dump-message-to-queue): Change message slightly.
291         Use feedmail-say-chatter.
292         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
293         (feedmail-send-it-immediately-wrapper): New function.
294         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
295         Insert empty string rather than newline.  Handle full-frame case.
296         Use catch/throw.  Use feedmail-say-chatter.
297         (feedmail-fiddle-from): Try mail-host-address.
298         (feedmail-default-message-id-generator): Doc fix.
299         Bind system-time-locale.  Handle missing end.
300         (feedmail-fiddle-x-mailer): Add debug call.
301         Handle feedmail-x-mailer-line being nil.
302         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
303         Add debug call.  Use buffer-substring-no-properties.
304         (feedmail-say-debug, feedmail-say-chatter): New functions.
305         (feedmail-find-eoh): Give an explicit error.
307 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
309         * net/newst-treeview.el (newsticker-treeview-face): Change default
310         family from helvetica to sans.
311         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
312         etc/images/newsticker.
314         * net/newst-reader.el (newsticker-feed-face): Change default
315         family from helvetica to sans.
317         * net/newst-plainview.el (newsticker-new-item-face)
318         (newsticker-old-item-face, newsticker-immortal-item-face)
319         (newsticker-obsolete-item-face, newsticker-date-face)
320         (newsticker-statistics-face): Change default family from
321         helvetica to sans.
322         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
323         etc/images/newsticker.
325         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
326         (newsticker--process-auto-mark-filter-match): : Tell user about
327         auto-marking.
329 2011-05-13  Didier Verna  <didier@xemacs.org>
331         Common Lisp indentation improvements on defmethod and lambda-lists.
332         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
333         (lisp-lambda-list-keyword-parameter-indentation)
334         (lisp-lambda-list-keyword-parameter-alignment)
335         (lisp-lambda-list-keyword-alignment): New customizable user options.
336         (lisp-indent-defun-method): Improve docstring.
337         (extended-loop-p): Fix comment.
338         (lisp-indent-lambda-list-keywords-regexp): New variable.
339         (lisp-indent-lambda-list): New function.
340         (lisp-indent-259): Use it.
341         (lisp-indent-defmethod): Support for more than one
342         method qualifier and properly indent methods lambda-lists.
343         (defgeneric): Provide a missing common-lisp-indent-function property.
345 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
347         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
348         bounds for the empty string (bug#8667).
350 2011-05-13  Glenn Morris  <rgm@gnu.org>
352         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
354         * mail/sendmail.el (sendmail-program): Try executable-find first.
355         (sendmail-send-it): `sendmail-program' cannot be unbound.
357         * calendar/appt.el (appt-make-list): Simplify.
358         (appt-time-msg-list): Doc fix.
359         (appt-check): Change mode-line message at the time of the appointment.
361 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
363         * progmodes/ld-script.el (ld-script-keywords)
364         (ld-script-builtins): Update keywords list.
366 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
368         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
370         * shell.el (shell-completion-vars): New function.
371         (shell-mode):
372         * simple.el (read-shell-command): Use it.
373         (blink-matching-open): No need for " [...]" in minibuffer-message.
375 2011-05-12  Glenn Morris  <rgm@gnu.org>
377         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
378         (appt-check): Simplify.
380 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
382         * smerge-mode.el (smerge-resolve): Use null-device rather than a
383         literal "/dev/null".
385 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
387         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
388         Fix typo.
390 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
392         * progmodes/which-func.el (which-function):
393         Use add-log-current-defun instead of add-log-current-defun-function,
394         which might not be defined (Bug#8260).
396 2011-05-12  Glenn Morris  <rgm@gnu.org>
398         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
399         Let byte-compile-initial-macro-environment always take precedence.
401 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
403         * net/rcirc.el: Add support for SSL/TLS connections.
404         (rcirc-server-alist): New field `encryption'.
405         (rcirc): Check `encryption' settings.
406         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
407         Merge make-local-variable into `set'.
408         (rcirc--connection-open-p): New function.
409         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
410         the process is not a network process (e.g. running gnutls-cli).
411         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
412         Make rcirc-(en|de)code-coding-system local here.
413         (rcirc-mode): Merge make-local-variable into `set'.
414         (rcirc-parent-buffer): Make permanent buffer-local.
415         (rcirc-multiline-minor-mode): Don't do it here.
416         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
417         there's no server buffer.
419 2011-05-11  Glenn Morris  <rgm@gnu.org>
421         * newcomment.el (comment-kill): Prefix "unused" local.
423         * term/w32console.el (get-screen-color): Declare.
425         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
426         Handle symbol elements of byte-compile-initial-macro-environment.
428 2011-05-10  Leo Liu  <sdl.web@gmail.com>
430         * bookmark.el (bookmark-bmenu-mode-map):
431         Bind bookmark-bmenu-search to `/'.
433         * mail/footnote.el: Convert to utf-8 encoding.
434         (footnote-unicode-string, footnote-unicode-regexp): New variable.
435         (Footnote-unicode): New function.
436         (footnote-style-alist): Add unicode style to the list.
437         (footnote-style): Doc fix.
439 2011-05-10  Jim Meyering  <meyering@redhat.com>
441         Fix doubled-word typos.
442         * international/quail.el (quail-insert-kbd-layout): and and -> and
443         * kermit.el: and and -> and
444         * net/ldap.el (ldap-search-internal): to to -> to
445         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
446         * progmodes/js.el (js-mode): and and -> and
447         * textmodes/artist.el (artist-move-to-xy): at at -> at
448         (artist-draw-region-trim-line-endings): if if -> if
449         And Safetyc -> Safety.
450         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
452 2011-05-10  Glenn Morris  <rgm@gnu.org>
453             Stefan Monnier  <monnier@iro.umontreal.ca>
455         * files.el (hack-one-local-variable-eval-safep):
456         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
458 2011-05-10  Glenn Morris  <rgm@gnu.org>
460         * calendar/diary-lib.el (diary-list-entries-hook)
461         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
462         (diary-nongregorian-marking-hook, diary-list-entries)
463         (diary-include-other-diary-files, diary-mark-entries)
464         (diary-mark-included-diary-files): Doc fixes.
466 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
468         * misc.el: Require tabulated-list.el during compilation.
470 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
472         * progmodes/compile.el (compilation-start):
473         Run compilation-filter-hook for the async case too.
474         (compilation-filter-hook): Doc fix.
476 2011-05-09  Deniz Dogan  <deniz@dogan.se>
478         * wdired.el: Remove outdated installation comment.  Fix usage
479         comment.
481 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
483         * misc.el: Implement new command `list-dynamic-libraries'.
484         (list-dynamic-libraries--loaded-only-p): New variable.
485         (list-dynamic-libraries--refresh): New function.
486         (list-dynamic-libraries): New command.
488 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
490         * progmodes/compile.el (compilation-error-regexp-alist-alist):
491         Fix the ant regexp to handle end-line and end-column info from jikes.
492         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
493         higher priority to avoid clobbering by gnu.
495 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
497         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
498         if the face has existing theme settings (Bug#8454).
500 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
502         * progmodes/perl-mode.el (perl-imenu-generic-expression):
503         Only match variables declared via `my' or `our' (Bug#8261).
505         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
506         special file names `.' and `..' (Bug#8259).
508 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
510         * progmodes/grep.el (grep-mode-font-lock-keywords):
511         Remove buffer-changing entries.
512         (grep-filter): New function.
513         (grep-mode): Add it to compilation-filter-hook.
515         * progmodes/compile.el (compilation-filter-hook)
516         (compilation-filter-start): New defvars.
517         (compilation-filter): Call compilation-filter-hook prior to
518         updating the process mark.
520 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
522         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
524 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
526         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
527         mailclient-send-it even if window-system is nil.  (Bug#8595)
529         * term/w32console.el (terminal-init-w32console):
530         Call get-screen-color and use its output to set the frame
531         background-mode.  (Bug#8597)
533 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
535         Make bytecomp.el understand that defmethod defines funs (bug#8631).
536         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
537         New functions.
538         (defgeneric, eieio--defmethod): Use them.
539         (eieio-defgeneric): Remove.
540         (defmethod): Call defgeneric in a way visible to the byte-compiler.
542 2011-05-07  Glenn Morris  <rgm@gnu.org>
544         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
545         Use let rather than let*.
546         (timeclock-find-discrep): Remove unused local.
548         * calendar/diary-lib.el (diary-comment-start): Doc fix.
550         * calendar/appt.el (appt-time-msg-list): Doc fix.
552 2011-05-06  Noah Friedman  <friedman@splode.com>
554         * apropos.el (apropos-print-doc): Only use
555         emacs-lisp-docstring-fill-column when it is bound to an integer,
556         per that variable's documentation.
558 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
560         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
561         and warnings are not silently discarded (e.g. use -d instead of -P).
563 2011-05-06  Glenn Morris  <rgm@gnu.org>
565         * calendar/appt.el (appt-message-warning-time): Doc fix.
566         (appt-warning-time-regexp): New option.
567         (appt-make-list): Respect appt-message-warning-time.
569         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
570         New options.
571         (diary-add-to-list): Strip comments from the displayed string.
572         (diary-mode): Set comment-start and comment-end.
574         * vc/diff-mode.el (smerge-refine-subst): Declare.
575         (diff-refine-hunk): Don't require smerge-mode when compiling.
577 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
579         * simple.el (list-processes): Return nil as the docstring says.
581 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
583         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
584         to "".
585         (ange-ftp-write-region, ange-ftp-insert-file-contents)
586         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
587         determining of binary transfer.  (Bug#7383)
589 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
591         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
592         Fix port computation bug.  (Bug#8618)
594 2011-05-05  Glenn Morris  <rgm@gnu.org>
596         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
598         * simple.el (shell-dynamic-complete-functions)
599         (comint-dynamic-complete-functions): Declare.
601         * net/network-stream.el (gnutls-negotiate):
602         * simple.el (tabulated-list-print): Fix declarations.
604         * progmodes/gud.el (syntax-symbol, syntax-point):
605         Remove unnecessary and incorrect declarations.
607         * emacs-lisp/check-declare.el (check-declare-scan):
608         Handle byte-compile-initial-macro-environment in bytecomp.el
610 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
612         Fix earlier half-done eieio-defmethod change (bug#8338).
613         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
614         Streamline and change calling convention.
615         (defmethod): Adjust accordingly and simplify.
616         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
617         new eieio--defmethod.
618         (slot-boundp): Minor CSE simplification.
620 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
622         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
623         (glasses-make-readable): Use glasses-separate-capital-groups.
625 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
627         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
628         (warning-series): Doc fix.
629         (display-warning): Don't try to create the buffer if we just found it.
631 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
633         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
634         (autoload-find-generated-file): New function.
635         (generate-file-autoloads): Bind generated-autoload-file to
636         buffer-file-name.
637         (update-file-autoloads, update-directory-autoloads):
638         Use autoload-find-generated-file.  If called interactively, prompt for
639         output file (Bug#7989).
640         (batch-update-autoloads): Doc fix.
642 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
644         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
646 2011-05-04  Glenn Morris  <rgm@gnu.org>
648         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
649         function, so it follows changes in calendar-date-style.
650         (diary-fancy-date-matcher): New function.
651         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
652         (diary-fancy-font-lock-fontify-region-function):
653         Use diary-fancy-date-pattern as a function.
655         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
656         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
658 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
660         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
661         instead of positional arguments.  Allow :keylist and :crlfiles
662         arguments.
663         (open-gnutls-stream): Call it.
665         * net/network-stream.el (network-stream-open-starttls): Adjust to
666         call `gnutls-negotiate' with :process and :hostname arguments.
668 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * minibuffer.el (completion--message): New function.
671         (completion--do-completion, minibuffer-complete)
672         (minibuffer-force-complete, minibuffer-complete-word): Use it.
673         (completion--do-completion): Don't ignore completion-auto-help when in
674         icomplete-mode.
676         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
677         internal encoding (e.g. tibetan zero is not whitespace).
678         (global-whitespace-mode): Prefer save-current-buffer.
679         (whitespace-trailing-regexp): Remove useless save-match-data.
680         (whitespace-empty-at-bob-regexp): Minor simplification.
682 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
684         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
686 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
688         * textmodes/ispell.el (ispell-add-per-file-word-list):
689         Use `concat' to create string for insertion.
691 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
693         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
694         Avoid open-line which runs post-self-insert-hook.
695         (bibtex-fill-entry): Remove unused `end' var.
697 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
699         * textmodes/ispell.el (ispell-add-per-file-word-list):
700         Protect against `nil' value of `comment-start' (Bug#8579).
702 2011-05-03  Leo Liu  <sdl.web@gmail.com>
704         * isearch.el (isearch-yank-pop): New command.
705         (isearch-mode-map): Bind it to `M-y'.
706         (isearch-forward): Mention it.
708 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
710         * simple.el (minibuffer-complete-shell-command): Remove.
711         (minibuffer-local-shell-command-map): Use completion-at-point.
712         (read-shell-command): Setup completion vars here instead.
713         (read-expression-map): Bind TAB to symbol completion.
715         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
716         error directly rather via storing it into `results'.
718 2011-05-02  Leo Liu  <sdl.web@gmail.com>
720         * vc/diff.el: Fix description.
722 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
724         * server.el (server-eval-at): New function.
726 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
728         * net/network-stream.el (open-network-stream): Take a :nowait
729         parameter and pass it on to `make-network-process'.
730         (network-stream-open-plain): Ditto.
732 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
734         * faces.el (face-spec-set-match-display): Don't match toolkit
735         options on terminal frames.
737 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
739         * progmodes/pascal.el: Use lexical binding.
740         (pascal-mode-map): Remove author preferences.
742         * pcomplete.el (pcomplete-std-complete): Don't abuse
743         completion-at-point.
745 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
747         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
748         removing code that has been dead since 1991 or so.
750         * startup.el (command-line): When warning about "_emacs", use a
751         delayed warning to allow the user to filter it out.
753 2011-04-28  Deniz Dogan  <deniz@dogan.se>
755         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
756         user has not joined.
758 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
760         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
761         aren't any completions at point.
763 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
765         * subr.el (display-delayed-warnings): New function.
766         (delayed-warnings-hook): New variable.
768 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
770         * minibuffer.el (completion-at-point, completion-help-at-point):
771         Don't presume that a given completion-at-point-function will always
772         use the same calling convention.
774         * pcomplete.el (pcomplete-completions-at-point):
775         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
776         pcomplete-seen is non-nil.
777         (pcomplete-comint-setup): Also recognize the new comint/shell
778         completion functions.
779         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
780         pcomplete-seen is non-nil.
782 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
784         * calendar/icalendar.el (diary-lib): Add require statement.
785         (icalendar--create-uid): Read out a uid from a text-property on
786         the first character in the entry.  This allows for code to add its
787         own uid to the entry.
788         (icalendar--convert-float-to-ical): Add export of
789         `diary-float'-entries save for those with the optional DAY
790         argument.
792 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
794         * subr.el (shell-quote-argument): Use alternate escaping strategy
795         when we spot a variable reference in a string.
797 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
799         * cus-start.el (all): Define customization for debug-on-event.
801 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
803         * subr.el (shell-quote-argument): Escape correctly under Windows.
805 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
807         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
809 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
811         * net/tramp.el (tramp-process-actions): Add POS argument.
812         Delete region between POS and (pos).
814         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
815         Use `nil' position in `tramp-process-actions' call.
816         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
818         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
819         position in `tramp-process-actions' call.
821         * net/trampver.el: Update release number.
823 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
825         * custom.el (defcustom): Obey lexical-binding.
827         Fix octave-inf completion problems reported by Alexander Klimov.
828         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
829         Inherit from octave-mode-syntax-table.
830         (inferior-octave-mode): Set info-lookup-mode.
831         (inferior-octave-completion-at-point): New function.
832         (inferior-octave-complete): Use it and completion-in-region.
833         (inferior-octave-dynamic-complete-functions): Use it as well, and use
834         comint-filename-completion.
835         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
836         symbol elements which shouldn't be word elements.
837         (octave-font-lock-keywords, octave-beginning-of-defun)
838         (octave-function-header-regexp): Adjust regexps accordingly.
839         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
841 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
843         * net/gnutls.el (gnutls-errorp): Declare before first use.
845 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
847         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
848         verify-error, and verify-hostname-error parameters.  Check whether
849         default trustfile exists before going to use it.  Add missing
850         argument to gnutls-message-maybe call.  Return return value.
851         Reported by Claudio Bley <claudio.bley@gmail.com>.
852         (open-gnutls-stream): Add usage example.
854         * net/network-stream.el (network-stream-open-starttls): Give host
855         parameter to `gnutls-negotiate'.
856         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
857         * subr.el (shell-quote-argument): Escape correctly under Windows.
859 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
861         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
862         Use correct match group (bug#8438).
864 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
866         * emacs-lisp/package.el (package-built-in-p): Fix typo.
867         (package-menu--generate): New arg specifying packages to show.
868         (package-menu-refresh, package-menu-execute, list-packages):
869         Callers changed.
870         (package-show-package-list): New function, replacing deleted
871         package--list-packages (renamed because it is non-internal).
873         * finder.el (finder-list-matches): Use package-show-package-list
874         instead of deleted package--list-packages.
876         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
877         Based on a previous implementation by Juanma Barranquero (Bug#8366).
878         (vc-annotate-mode-map): Bind it to RET.
880 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
882         * progmodes/etags.el (next-file): Don't use set-buffer to change
883         buffers (Bug#8478).
885 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
887         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
889         * apropos.el (apropos-label-face): Avoid variable-pitch face.
890         (apropos-accumulator): Doc fix.
891         (apropos-function, apropos-macro, apropos-command)
892         (apropos-variable, apropos-face, apropos-group, apropos-widget)
893         (apropos-plist): Add face property.
894         (apropos-symbols-internal): Fix indentation.
895         (apropos-print): Simplify help, and recognize apropos-multi-type.
896         (apropos-print-doc): Use button-type-get to extract the button's
897         face property.  Fill docstring (Bug#8352).
899 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
901         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
903         * play/mpuz.el (mpuz-silent): Doc fix.
904         (mpuz-mode-map): Use mapc.
905         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
906         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
907         Fix typos in docstrings.
909         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
910         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
912         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
914 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
916         * minibuffer.el (completion--do-completion): Avoid the "Next char
917         not unique" prompt if icomplete-mode is enabled (Bug#5849).
919         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
920         mouse-2 into unread-command-events, it is interpreted correctly.
922         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
923         (image-toggle-display): Doc fix.
925 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
927         * textmodes/page.el (what-page): Use line-number-at-pos to
928         calculate line number (Bug#6825).
930 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
932         * eshell/esh-mode.el (find-tag-interactive): Declare function.
933         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
934         Pass argument NO-DEFAULT to `find-tag-interactive'.
936 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
938         Lexical-binding cleanup.
940         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
941         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
942         * progmodes/ada-prj.el (ada-prj-initialize-values)
943         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
944         (ada-prj-show-value):
945         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
946         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
947         (antlr-invalidate-context-cache, antlr-options-menu-filter)
948         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
949         * progmodes/bug-reference.el (bug-reference-push-button):
950         * progmodes/fortran.el (fortran-line-length):
951         * progmodes/glasses.el (glasses-change):
952         * progmodes/octave-mod.el (octave-fill-paragraph):
953         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
954         (python-pdbtrack-grub-for-buffer, python-sentinel):
955         * progmodes/sql.el (sql-save-connection):
956         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
957         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
958         Mark unused parameters.
960         * progmodes/compile.el (compilation--flush-directory-cache)
961         (compilation--flush-parse, compile-internal): Mark unused parameters.
962         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
963         (compilation-next-error-function): Remove unused variable `timestamp'.
965         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
966         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
968         * progmodes/dcl-mode.el (dcl-end-of-command):
969         Remove unused variable `start'.
970         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
971         (dcl-option-value-basic, dcl-option-value-offset)
972         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
973         Mark unused parameters.
974         (dcl-save-local-variable): Remove unused variable `val'.
975         (mode): Declare.
977         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
978         Mark unused parameters.
979         (delphi-ignore-changes): Move before first use.
980         (delphi-charset-token-at): Remove unused variable `start'.
981         (delphi-else-start): Remove unused variable `if-count'.
982         (delphi-comment-block-start, delphi-comment-block-end):
983         Remove unused variable `kind'.
984         (delphi-indent-line): Remove unused variable `new-point'.
986         * progmodes/ebrowse.el (ebrowse-files-list)
987         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
988         Mark unused parameters.  Don't quote `lambda'.
989         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
990         Don't quote `lambda'.
991         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
992         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
993         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
994         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
995         Use `ignore-errors'.
996         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
997         (ebrowse-view/find-file-and-search-pattern)
998         (ebrowse-view/find-member-declaration/definition):
999         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1000         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1001         Rename parameter PREFIX-ARG to PREFIX.
1002         (ebrowse-tags-read-name): Remove unused variables `start' and
1003         `member-info'.
1004         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1005         to `tags-file'.
1007         * progmodes/etags.el (local-find-tag-hook): Declare.
1008         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1009         Mark unused parameters.
1011         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1012         (executable-interpret): Mark unused parameter.
1014         * progmodes/flymake.el (flymake-process-sentinel)
1015         (flymake-after-change-function)
1016         (flymake-create-temp-with-folder-structure)
1017         (flymake-get-include-dirs-dot): Mark unused parameters.
1018         (flymake-safe-delete-directory): Remove unused variable `err'.
1020         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1021         (speedbar-timer-fn, speedbar-line-text)
1022         (speedbar-change-expand-button-char, speedbar-delete-subblock)
1023         (speedbar-center-buffer-smartly): Declare functions.
1024         (gdb-find-watch-expression): Remove unused variable `array'.
1025         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1026         (gdb-starting): Mark unused parameters.
1027         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1028         (gdb-table-string): Remove unused variable `res'.
1029         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1030         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1031         (gdb-display-buffer): Remove unused variable `cur-size'.
1033         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1034         allow lexical-binding compilation.
1035         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1036         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1037         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1038         Mark unused parameters.
1039         (gud-gdb-marker-filter): Remove unused variable `match'.
1040         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1041         lambda expressions and funcall them, instead of using `fset'.
1043         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1044         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1046         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1047         variable `header-beg'; use `let'.
1049         * progmodes/icon.el (indent-icon-exp): Remove unused variables
1050         `restart', `last-sexp' and `at-do'.
1052         * progmodes/js.el (js--debug): Mark unused parameter.
1053         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1054         (js--splice-into-items): Remove unused variable `item'.
1055         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1057         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1058         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1059         (makefile-complete): Remove unused variable `try'.
1060         (makefile-fill-paragraph, makefile-match-function-end):
1061         Mark unused parameters.
1063         * progmodes/octave-inf.el (inferior-octave-complete):
1064         Remove unused variable `proc'.
1065         (inferior-octave-output-digest): Mark unused parameter.
1067         * progmodes/perl-mode.el (perl-calculate-indent):
1068         Remove unused variable `err'.
1070         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1071         (prolog-indent-line): Mark unused parameters.
1072         (prolog-indent-line): Remove unused variable `beg'.
1074         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1075         (reporter-dont-compact-list): Declare.
1077         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1078         Remove unused variable `char'.
1079         (sh-debug): Mark unused parameter.
1080         (sh-get-indent-info): Remove unused variable `start'.
1081         (sh-calculate-indent): Remove unused variable `var'.
1083         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1084         (simula-electric-keyword): Remove unused variable `null'.
1085         (simula-search-backward, simula-search-forward): Remove unused
1086         variables `begin' and `end'.
1088         * progmodes/vera-mode.el (vera-guess-basic-syntax):
1089         Remove unused variable `pos'.
1090         (vera-electric-tab, vera-comment-uncomment-region):
1091         Mark unused parameters.
1092         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1094 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
1096         * emacs-lisp/package.el (package--builtins, package-alist)
1097         (package-load-descriptor, package-built-in-p, package-activate)
1098         (define-package, package-installed-p)
1099         (package-compute-transaction, package-buffer-info)
1100         (package--push): Doc fix.  Distinguish more clearly between
1101         version strings and version lists.
1103 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
1105         Lexical-binding cleanup.
1107         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1108         (5x5-make-mutate-best):
1109         * play/fortune.el (fortune-in-buffer):
1110         * play/gomoku.el (gomoku-init-display):
1111         * play/solitaire.el (solitaire, solitaire-do-check):
1112         * play/tetris.el (tetris-default-update-speed-function):
1113         Mark unused parameters.
1115         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1116         (bubbles--shift): Remove unused variable `char-org'.
1117         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
1118         (bubbles--show-images): Remove unused variable `char'.
1120         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1121         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1122         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1123         (decipher-analyze-buffer): Use ?\s.
1124         (decipher-make-checkpoint): Remove unused variable `mapping'.
1126         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1128         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1129         Remove unused variable `result'; use `let'.
1131         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1132         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1133         (gametree-children-shown-p, gametree-compute-reduced-score):
1134         Use `ignore-errors'.
1136         * play/handwrite.el (ps-lpr-switches): Declare.
1137         (handwrite): Remove unused variables `pmin' and `lastp'.
1139         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1141         * play/landmark.el (landmark-init-display)
1142         (landmark-update-naught-weights): Mark unused parameters.
1143         (landmark-y): Remove unused variable `noise'.  Simplify.
1144         (landmark-human-plays): Remove unused variable `score'.
1146         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1147         (mpuz-try-proposal): Remove unused variable `game'.
1149         * play/zone.el (life-patterns): Declare.
1151 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
1153         * vc/vc.el (ediff-vc-internal): Declare function.
1155 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1157         * shell.el: Use lexical-binding and std completion UI.
1158         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1159         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1160         comint-preoutput-filter-functions rather than on
1161         comint-output-filter-functions.
1162         (shell-command-completion, shell--command-completion-data)
1163         (shell-filename-completion, shell-environment-variable-completion)
1164         (shell-c-a-p-replace-by-expanded-directory): New functions.
1165         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1166         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1167         (shell-dynamic-complete-environment-variable): Use them.
1168         (shell-dynamic-complete-as-environment-variable)
1169         (shell-dynamic-complete-as-command): Remove.
1170         (shell-match-partial-variable): Match past point.
1171         * comint.el: Clean up use of completion-at-point-functions.
1172         (comint-completion-at-point): New function.
1173         (comint-mode): Use it completion-at-point-functions.
1174         (comint-dynamic-complete): Make it obsolete.
1175         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1176         (comint-c-a-p-replace-by-expanded-history): New function.
1177         (comint-dynamic-complete-functions)
1178         (comint-replace-by-expanded-history): Use it.
1179         * minibuffer.el (completion-table-with-terminator): Allow dynamic
1180         termination strings.  Try harder to avoid second try-completion.
1181         (completion-in-region-mode-map): Disable bindings that don't work yet.
1183         * comint.el: Use lexical-binding.  Require CL.
1184         (comint-dynamic-complete-functions): Use comint-filename-completion.
1185         (comint-completion-addsuffix): Tweak custom type.
1186         (comint-filename-completion, comint--common-suffix)
1187         (comint--common-quoted-suffix, comint--table-subvert)
1188         (comint--complete-file-name-data): New functions.
1189         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1190         (comint-dynamic-list-filename-completions): Use them.
1191         (comint-dynamic-simple-complete): Make obsolete.
1193         * minibuffer.el (completion-in-region-mode):
1194         Keep completion-in-region-mode--predicate global.
1195         (completion-in-region--postch):
1196         Assume completion-in-region-mode--predicate is not null.
1198         * progmodes/flymake.el (flymake-start-syntax-check-process):
1199         Obey `dir'.  Simplify.
1201         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1202         we're in VC after all.
1204 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
1206         * vc/vc.el (vc-diff-build-argument-list-internal)
1207         (vc-version-ediff, vc-ediff): New commands.
1208         (vc-version-diff): Use vc-diff-build-argument-list-internal.
1210 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1213         add sanity check.
1215         * obsolete/erc-hecomplete.el: Make obsolete.
1216         * obsolete/: Standardize obsolescence info in the header.
1218 2011-04-20  Glenn Morris  <rgm@gnu.org>
1220         * calendar/solar.el (solar-horizontal-coordinates):
1221         Use the longitude argument rather than `calendar-longitude'.
1222         (solar-date-next-longitude): Remove unused locals.
1224 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1226         * whitespace.el: New version 13.2.1.
1228 2011-04-20  felix  <EmacsWiki>  (tiny change)
1230         * whitespace.el (global-whitespace-mode): keep highlight when
1231         switching between major modes on a file.
1233 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1235         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1236         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1237         multi-line comments as well.
1239 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
1241         Lexical-binding cleanup.
1243         * arc-mode.el (archive-mode-revert):
1244         * cmuscheme.el (scheme-interactively-start-process):
1245         * custom.el (custom-initialize-delay):
1246         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1247         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1248         * emacs-lock.el (emacs-lock-clear-sentinel):
1249         * ezimage.el (defezimage):
1250         * follow.el (follow-avoid-tail-recenter):
1251         * fringe.el (set-fringe-mode-1):
1252         * generic-x.el (bat-generic-mode-compile):
1253         * help-mode.el (help-info-variable, help-do-xref)
1254         (help-mode-revert-buffer):
1255         * help.el (view-emacs-todo):
1256         * iswitchb.el (iswitchb-completion-help):
1257         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1258         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1259         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1260         * locate.el (locate-update):
1261         * longlines.el (longlines-encode-region)
1262         (longlines-after-change-function):
1263         * outline.el (outline-isearch-open-invisible):
1264         * ps-def.el (declare-function, charset-dimension, char-width)
1265         (encode-char):
1266         * ps-mule.el (ps-mule-plot-string):
1267         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1268         (recentf-edit-list-select, recentf-edit-list-validate)
1269         (recentf-open-files-action):
1270         * rect.el (delete-whitespace-rectangle-line)
1271         (rectangle-number-line-callback):
1272         * register.el (window-configuration-to-register)
1273         (frame-configuration-to-register):
1274         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1275         * select.el (xselect-convert-to-string, xselect-convert-to-length)
1276         (xselect-convert-to-targets, xselect-convert-to-delete)
1277         (xselect-convert-to-filename, xselect-convert-to-charpos)
1278         (xselect-convert-to-lineno, xselect-convert-to-colno)
1279         (xselect-convert-to-os, xselect-convert-to-host)
1280         (xselect-convert-to-user, xselect-convert-to-class)
1281         (xselect-convert-to-name, xselect-convert-to-integer)
1282         (xselect-convert-to-atom, xselect-convert-to-identity):
1283         * subr.el (declare, ignore, process-kill-without-query)
1284         (text-clone-maintain):
1285         * terminal.el (te-get-char, te-tic-sentinel):
1286         * tool-bar.el (tool-bar-make-keymap):
1287         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1288         * type-break.el (type-break-mode, type-break-noninteractive-query):
1289         * view.el (View-back-to-mark):
1290         * wid-browse.el (widget-browse-action, widget-browse-widget)
1291         (widget-browse-widgets, widget-browse-sexp):
1292         * widget.el (define-widget-keywords):
1293         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1294         Mark unused parameters.
1296         * align.el (align-adjust-col-for-rule): Mark unused parameter.
1297         (align-areas): Remove unused variable `look'.
1298         (align-region): Remove unused variables `real-end' and `pos-list'.
1300         * apropos.el (apropos-score-doc): Remove unused variable `i'.
1302         * bindings.el (mode-line-modified, mode-line-remote):
1303         Mark unused parameters.
1304         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1306         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1307         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1309         * comint.el (comint-history-isearch-pop-state)
1310         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1311         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1312         (comint-substitute-in-file-name): Doc fix.
1314         * completion.el (cmpl-statistics-block): Mark unused parameter.
1315         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1316         (save-completions-to-file, load-completions-from-file):
1317         Remove unused local variable `e'.
1319         * composite.el (compose-chars): Remove unused variable `len'.
1320         (lgstring-insert-glyph): Remove unused variable `g'.
1321         (compose-glyph-string): Remove unused variables `ascent',
1322         `descent', `lbearing' and `rbearing'.
1323         (compose-glyph-string-relative): Remove unused variables
1324         `lbearing', `rbearing' and `wadjust'.
1325         (compose-gstring-for-graphic): Remove unused variables `header',
1326         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
1327         (compose-gstring-for-terminal): Remove unused variables `header'
1328         and `nchars'.  Use `let', not `let*'.
1330         * cus-edit.el (Custom-set, Custom-save, custom-reset)
1331         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1332         (Custom-buffer-done, custom-buffer-create-internal)
1333         (custom-browse-visibility-action, custom-browse-group-tag-action)
1334         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1335         (widget-magic-mouse-down-action, custom-toggle-parent)
1336         (custom-add-parent-links, custom-toggle-hide-variable)
1337         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1338         (custom-toggle-hide-face, face, hook, custom-group-link-action)
1339         (custom-face-menu-create, custom-variable-menu-create, get)
1340         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1341         (custom-reset-standard-save-and-update): Remove unused variable `value'.
1342         (customize-apropos): Remove unused variable `tests'.
1343         (custom-group-value-create): Remove unused variable `hidden-p'.
1344         (sort-fold-case): Declare.
1346         * cus-theme.el (custom-reset-standard-faces-list)
1347         (custom-reset-standard-variables-list): Declare.
1348         (customize-create-theme, custom-theme-revert, custom-theme-write)
1349         (custom-theme-choose-mode, customize-themes, custom-theme-save):
1350         Mark unused parameters.
1352         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1354         * delim-col.el (delimit-columns-max): Move defvar before first use.
1356         * descr-text.el (describe-char-categories): Don't quote `lambda'.
1357         (describe-char): Don't quote `lambda'.  Mark unused parameter.
1359         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1360         (auto-insert): Declare.
1361         (desktop-restore-file-buffer): Rename desktop-* parameters;
1362         mark unused ones.
1363         (desktop-create-buffer): Rename desktop-* parameters and bind them.
1364         (desktop-buffer): Rename desktop-* parameters.
1366         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1367         (dframe-reposition-frame-xemacs, dframe-help-echo)
1368         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1369         Mark unused parameters.
1371         * dired-aux.el (backup-extract-version-start, overwrite-query)
1372         (overwrite-backup-query, rename-regexp-query)
1373         (rename-non-directory-query): Declare.
1374         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1375         (dired-add-entry): Remove unused variable `orig-file-name'.
1376         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1377         Use parameter PRESERVE-TIME instead of accessing dynamic variable
1378         `dired-copy-preserve-time' directly.
1379         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1380         (dired-insert-subdir-newpos): Rename unused variable `pos'.
1382         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1383         (dired-virtual-revert, dired-make-relative-symlink):
1384         Mark unused parameters.
1385         (manual-program): Declare.
1386         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1387         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1388         wrapped in `with-no-warnings' to avoid replacing one warning by another.
1390         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1392         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1394         * echistory.el (electric-history-in-progress, Helper-return-blurb):
1395         Declare.
1397         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1399         * electric.el (Electric-command-loop): Rename parameter
1400         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1402         * expand.el (expand-in-literal): Remove unused variable `here'.
1404         * facemenu.el (facemenu-add-new-color):
1405         Remove unused variable `docstring'.
1407         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1408         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1409         (face-attr-construct): Mark unused parameter.  Doc fix.
1410         (read-color): Remove unused variable `hex-string'.
1412         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1413         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1414         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1415         (display-buffer-other-frame): Remove unused variable `old-window'.
1416         (kill-buffer-hook): Declare.
1417         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1418         Mark unused parameters.
1419         (after-find-file): Pass 1 to `auto-save-mode', not t.
1421         * files-x.el (auto-insert): Declare.
1422         (modify-file-local-variable-prop-line): Remove unused variable `val'.
1424         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1425         variable `buf'.  Mark unused parameter.
1426         (find-lisp-insert-directory): Mark unused parameter.
1428         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1429         (format-encode-region): Remove unused variables `cur-buf' and `result'.
1430         (format-common-tail): Remove, unused.
1431         (format-deannotate-region): Remove unused variable `loc'.
1432         (format-annotate-region): Remove unused variable `p'.
1433         (format-annotate-single-property-change): Remove unused variables
1434         `default' and `tail'.
1436         * forms.el (read-file-filter): Declare.
1437         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1439         * frame.el (frame-creation-function-alist): Mark unused parameter.
1440         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1442         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1443         Remove unused parameters.
1444         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1445         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1447         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1448         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1449         (hfy-prepare-tag-map): Mark unused parameters.
1450         (htmlfontify-buffer): Use `called-interactively-p'.
1452         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1453         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1454         (ibuffer-do-occur): Mark unused parameters.
1455         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1456         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1458         * ibuffer.el: Don't quote `lambda'.
1459         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1460         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1461         Mark unused parameters.
1463         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1464         (ido-completing-read): Mark unused parameters.
1465         (ido-copy-current-word): Mark unused parameters;
1466         remove unused variable `name'.
1467         (ido-sort-merged-list): Remove unused parameter `dirs'.
1469         * ielm.el (ielm-input-sender): Mark unused parameter.
1470         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1471         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1472         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1473         `ielm-string' as a dynamic variable accessible from the IELM prompt.
1474         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
1476         * image-dired.el (image-dired-display-thumbs): Remove unused
1477         variables `curr-file' and `count'.
1478         (image-dired-remove-tag): Remove unused variable `start'.
1479         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1480         variable `curr-file'
1481         (image-dired-rotate-original): Remove unused variable `temp-file'.
1482         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1483         Remove unused variable `file'.
1484         (image-dired-gallery-generate): Remove unused variable `curr'.
1485         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1487         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1489         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1491         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1493         * isearch.el (minibuffer-history-symbol): Declare.
1494         (isearch-edit-string): Remove unused variable `err'.
1495         (isearch-message-prefix, isearch-message-suffix):
1496         Mark unused parameters.
1498         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1500         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1502         * makesum.el (double-column): Remove unused variable `cnt'.
1504         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1505         (ido-ignore-item-temp-list): Declare.
1507         * mouse-drag.el (mouse-drag-throw): Remove unused variables
1508         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1509         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1510         (mouse-drag-drag): Remove unused variables `mouse-delta' and
1511         `mouse-col-delta'.
1513         * mouse-sel.el (mouse-extend-internal):
1514         Remove unused variable `orig-window-frame'.
1516         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1517         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1518         Move declarations before first use.
1519         (pcomplete-opt): Mark unused parameters; doc fix.
1521         * proced.el (proced-revert): Mark unused parameter.
1522         (proced-send-signal): Remove unused variable `err'.
1524         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1525         Rename parameter PREFIX-ARG to ARG.
1526         (ps-basic-plot-string, ps-basic-plot-whitespace):
1527         Mark unused parameters.
1529         * replace.el (replace-count): Define.
1530         (occur-revert-function): Mark unused parameters.
1531         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1532         (isearch-case-fold-search, isearch-string): Declare.
1533         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1534         bind `case-fold-search'.  Remove unused variables `beg' and `end',
1535         and simplify.
1536         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1537         COUNT and bind `replace-count'.
1538         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1539         to COUNT.
1541         * savehist.el (print-readably, print-string-length): Declare.
1543         * shadowfile.el (shadow-expand-cluster-in-file-name):
1544         Remove unused variable `cluster'.
1545         (shadow-copy-file): Remove unused variable `i'.
1546         (shadow-noquery, shadow-clusters, shadow-site-cluster)
1547         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1548         (shadow-define-literal-group, shadow-define-regexp-group)
1549         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1551         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1552         (shell): Use `called-interactively-p'.
1553         (shell-directory-tracker): Remove unused variable `chdir-failure'.
1555         * simple.el (compilation-context-lines, comint-file-name-quote-list)
1556         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1557         (delete-backward-char): Remove unused variable `ocol'.
1558         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1559         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1560         (event-apply-hyper-modifier, event-apply-shift-modifier)
1561         (event-apply-control-modifier, event-apply-meta-modifier):
1562         Mark unused parameters.
1563         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1564         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1566         * speedbar.el (speedbar-ignored-directory-expressions)
1567         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1568         (speedbar-find-file, speedbar-dir-follow)
1569         (speedbar-directory-buttons-follow, speedbar-tag-find)
1570         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1571         (speedbar-buffers-line-directory, speedbar-buffer-click):
1572         Mark unused parameters.
1573         (speedbar-tag-file): Remove unused variable `mode'.
1574         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1576         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1578         * talk.el (talk): Remove unused variable `display'.
1580         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1581         (tar-write-region-annotate): Mark unused parameter.
1583         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1584         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1585         Declare them, wrapped in `with-no-warnings' to avoid replacing one
1586         warning by another.
1588         * time-stamp.el (time-stamp-string-preprocess):
1589         Remove unused variable `require-padding'.
1591         * tree-widget.el (widget-glyph-enable): Declare.
1592         (tree-widget-action): Mark unused parameter.
1594         * w32-fns.el (x-get-selection): Mark unused parameter.
1595         (autoload-make-program, generated-autoload-file): Declare.
1597         * wdired.el (wdired-revert): Mark unused parameters.
1598         (wdired-xcase-word): Remove unused variable `err'.
1600         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1601         (whitespace-help-scroll): Remove unused variable `data-help'.
1603         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1604         (widget-image-insert, widget-after-change, default)
1605         (widget-default-format-handler, widget-default-notify)
1606         (widget-default-prompt-value, widget-info-link-action)
1607         (widget-url-link-action, widget-function-link-action)
1608         (widget-variable-link-action, widget-file-link-action)
1609         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1610         (widget-field-prompt-internal, widget-field-action, widget-field-match)
1611         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1612         (widget-insert-button-action, widget-delete-button-action, visibility)
1613         (widget-documentation-link-action, widget-documentation-string-action)
1614         (widget-const-prompt-value, widget-regexp-match, symbol)
1615         (widget-coding-system-prompt-value)
1616         (widget-key-sequence-value-to-external, sexp)
1617         (widget-sexp-value-to-internal, character, vector, cons)
1618         (widget-choice-prompt-value, widget-boolean-prompt-value)
1619         (widget-color--choose-action): Mark unused parameters.
1620         (widget-item-match-inline, widget-choice-match-inline)
1621         (widget-checklist-match, widget-checklist-match-inline)
1622         (widget-group-match): Rename parameter VALUES to VALS.
1623         (widget-field-value-set): Remove unused variable `size'.
1624         (widget-color-action): Remove unused variables `value' and `start'.
1626         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1627         variable `dir'.  Doc fix.
1628         (windmove-find-other-window): Don't pass it.
1630         * window.el (count-windows): Mark unused parameter.
1631         (bw-adjust-window): Remove unused variable `err'.
1633         * woman.el (woman-file-name): Remove unused variable `default'.
1634         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1635         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1636         (global-font-lock-mode): Declare.
1637         (woman-decode-region): Mark unused parameter.
1638         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1640         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1641         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1642         (x-dnd-handle-moz-url): Remove unused variable `title'.
1643         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1645         * xml.el (xml-parse-tag, xml-parse-attlist):
1646         Remove unused variable `pos'.
1648 2011-04-19  Glenn Morris  <rgm@gnu.org>
1650         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1651         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1652         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1653         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1654         * calendar/cal-html.el (cal-html-insert-minical):
1655         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1656         (calendar-mark-date-pattern):
1657         Prefix "unused" locals.
1659         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1660         optional argument `style'.
1662         * calendar/appt.el (appt-make-list):
1663         * calendar/cal-china.el (calendar-chinese-date-string):
1664         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1665         (diary-hebrew-yahrzeit):
1666         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1667         * calendar/calendar.el (calendar-generate-window):
1668         * calendar/time-date.el (time-to-days):
1669         Remove unused local variables.
1671 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
1673         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1674         glyphless-char-display table.
1675         (tabulated-list-glyphless-char-display): New var.
1677 2011-04-18  Sam Steingold  <sds@gnu.org>
1679         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1680         to acknowledgments.
1682 2011-04-17  Glenn Morris  <rgm@gnu.org>
1684         * calendar/diary-lib.el (diary-sexp-entry):
1685         * calendar/holidays.el (holiday-sexp):
1686         Set debug-on-error rather than the removed stack-trace-on-error.
1688 2011-04-16  Glenn Morris  <rgm@gnu.org>
1690         * progmodes/f90.el: Use lexical-binding.
1691         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1693 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1695         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1696         (mail-mode): Setup mailalias completion here instead.
1697         * mail/mailalias.el: Use lexical-binding.
1698         (pattern, mailalias-done): Declare dynamic.
1699         (mail-completion-at-point-function): New function, from mail-complete.
1700         (mail-complete): Use it.
1701         (mail-completion-expand): New function.
1702         (mail-get-names): Use it.
1703         (mail-directory, mail-directory-process, mail-directory-stream):
1704         Don't use `pattern' for lexically bound arg.
1706         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1708         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1709         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1710         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1712         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1713         (byte-save-window-excursion, byte-temp-output-buffer-setup)
1714         (byte-interactive-p): Define them again, for use when inlining
1715         old code.
1717 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
1719         * loadup.el: Use `string-to-number', not `string-to-int'.
1721 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1723         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1724         gud-gdb-complete-command.
1725         (gud-gdb-completions): New function, from gud-gdb-complete-command.
1726         (gud-gdb-completion-at-point): New function.
1727         (gud-gdb-completions): Remove.
1729 2011-04-14  Martin Rudalics  <rudalics@gmx.at>
1731         * window.el (adjust-window-trailing-edge): Assign normal sizes
1732         to the windows affected in window-splits nil case.
1734 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
1736         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1737         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
1738         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1739         whether `executable-find' is bound.
1741         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1743 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * minibuffer.el (completion-in-region-mode-predicate)
1746         (completion-in-region-mode--predicate): New vars.
1747         (completion-in-region, completion-in-region--postch)
1748         (completion-in-region-mode): Use them.
1749         (completion--capf-wrapper): Also return the hook function.
1750         (completion-at-point, completion-help-at-point):
1751         Adjust and provide a predicate.
1753         Preserve arg names for advice of subr and lexical functions (bug#8457).
1754         * help-fns.el (help-function-arglist): Consolidate the subr and
1755         new-byte-code cases.  Add argument `preserve-names' to extract names
1756         from the docstring when needed.
1757         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1758         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1759         (ad-arglist): Use help-function-arglist's new arg.
1760         (ad-definition-type): Use cond.
1762 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
1764         * autorevert.el (auto-revert-handler):
1765         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1766         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1767         Don't quote lambda.
1769         * image-mode.el (image-transform-set-scale):
1770         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1772 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1774         * net/network-stream.el (network-stream-open-starttls): Only do
1775         opportunistic STARTTLS upgrades if we have built-in gnutls support.
1776         Upgrades via gnutls-cli are too slow to be done opportunistically.
1778 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
1780         * dframe.el (dframe-current-frame): Remove spurious quote.
1782 2011-04-12  Glenn Morris  <rgm@gnu.org>
1784         * calendar/cal-tex.el (cal-tex-end-document):
1785         Try to automatically use latin1 input if needed.
1787         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1788         Don't try to cons a mark onto an empty element.
1790 2011-04-12  Martin Rudalics  <rudalics@gmx.at>
1792         * window.el (adjust-window-trailing-edge): If WINDOW is a
1793         window-splits nil window, try to adjust it the Emacs 23 way.
1794         (switch-to-prev-buffer, switch-to-next-buffer): If we have to
1795         show a buffer from the frame's buffer list try to postpone
1796         showing visible buffers.  Reported by Juanma Barranquero.
1798 2011-04-11  Leo Liu  <sdl.web@gmail.com>
1800         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1801         buffers.
1802         (ido-kill-buffer-at-head): Support killing virtual buffers.
1804 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
1806         * minibuffer.el (completion-show-inline-help): New var.
1807         (completion--do-completion, minibuffer-complete)
1808         (minibuffer-force-complete, minibuffer-complete-word):
1809         Inhibit minibuffer messages if completion-show-inline-help is nil.
1811         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1812         to avoid interference from inline help (Bug#5849).
1814 2011-04-10  Leo Liu  <sdl.web@gmail.com>
1816         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1817         Fix typo.
1819 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
1821         * image-mode.el (image-toggle-display-image): Signal an error if
1822         not in Image mode.
1823         (image-transform-mode, image-transform-resize)
1824         (image-transform-set-rotation): Doc fix.
1825         (image-transform-set-resize): Delete.
1826         (image-transform-set-scale, image-transform-fit-to-height)
1827         (image-transform-fit-to-width): Handle image-toggle-display-image
1828         and image-transform-resize directly.
1830 2011-04-09  Martin Rudalics  <rudalics@gmx.at>
1832         * window.el (resize-window): With window-splits nil resize
1833         either left or right sibling to behave more like Emacs 23.
1834         Reported by Juanma Barranquero.
1835         (delete-window, split-window): Simplify code and adapt to new
1836         window-splits/window-nest semantics.
1837         (window-state-get-1, window-state-put-1, window-state-put-2)
1838         (display-buffer-split-window-1)
1839         (display-buffer-split-atom-window): Adapt to new
1840         window-splits/window-nest semantics.
1841         (display-buffer-macro-specifiers, display-buffer-alist): Replace other-visible-frame
1842         by other-frame.
1843         (display-buffer-pop-up-window)
1844         (display-buffer-pop-up-side-window): Reset new window's previous
1845         buffers to nil to avoid that we switch back to the buffer from
1846         the split window when quitting the window.
1848         * menu-bar.el (kill-this-buffer, kill-this-buffer-enabled-p): Do
1849         not offer to kill a buffer when we can't reliably kill it.
1851         * help.el (help-window-display-message): Improve message shown.
1853         * cus-start.el (all): Add entry for window-nest, rework that of
1854         window-splits.
1856         * buff-menu.el (Buffer-menu-select): Bind window-splits to t.
1858 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
1860         * doc-view.el (doc-view-fit-width-to-window)
1861         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1862         New functions for fitting the shown image to the Emacs window size.
1863         (doc-view-mode-map): Add bindings for the new functions.
1865 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
1867         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1868         Fix typo in docstring.
1870 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1872         * files.el (file-size-human-readable): Produce one digit after
1873         decimal, like "ls -lh" does.
1875         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1876         the file size representation.
1878         * simple.el (list-processes): If async subprocesses are not
1879         available, error out with a clear error message.
1881 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
1883         * help.el (help-form-show): New function, to be called from C.
1884         Put help-form output in a buffer named differently than *Help*.
1886 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1888         * files.el (file-size-human-readable): New function.
1890         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1891         computing the representation inline.  Don't require `cl'.
1893 2011-04-08  Glenn Morris  <rgm@gnu.org>
1895         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1897         * net/browse-url.el (browse-url-firefox):
1898         Test system-type, not system-configuration.
1900         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1901         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1902         Use log-edit-empty-buffer-p.  (Bug#7598)
1904         * net/rlogin.el (rlogin-process-connection-type): Simplify.
1905         (rlogin-mode-map): Initialize in the defvar.
1906         (rlogin): Use ignore-errors.
1908         * replace.el (occur-mode-map): Some fixes for menu items.
1910 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1912         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
1914 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1916         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1917         issuing unused warnings.
1919         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1920         macro directly.
1922         * simple.el: Lisp reimplement of list-processes.  Based on an
1923         earlier reimplementation by Leo Liu, but using tabulated-list.el.
1924         (process-menu-mode): New major mode.
1925         (list-processes--refresh, list-processes):
1926         (process-menu-visit-buffer): New functions.
1928         * files.el (save-buffers-kill-emacs): Don't assume any return
1929         value of list-processes, which is undocumented anyway.
1931 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1933         * emacs-lisp/tabulated-list.el: New file.
1935         * emacs-lisp/package.el: Use Tabulated List mode.
1936         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1937         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
1938         table format using Tabulated List mode variables.
1939         (package--push): New macro, replacing package-list-maybe-add.
1940         (package-menu--generate): Use package--push.  Renamed from
1941         package--generate-package-list.
1942         (package-menu-refresh, list-packages): Use it.
1943         (package-menu--print-info): Rename from package-print-package.
1944         Return insertion data instead of inserting it directly.
1945         (package-menu-describe-package, package-menu-execute):
1946         Use tabulated-list-get-id.
1947         (package-menu-mark-delete, package-menu-mark-install)
1948         (package-menu-mark-unmark, package-menu-backup-unmark)
1949         (package-menu-mark-obsolete-for-deletion):
1950         Use tabulated-list-put-tag.
1951         (package--list-packages, package-menu-revert)
1952         (package-menu-get-package, package-menu-get-version)
1953         (package-menu-sort-by-column): Functions deleted.
1954         (package-menu-package-list, package-menu-sort-key): Vars deleted.
1955         (package-menu--status-predicate, package-menu--version-predicate)
1956         (package-menu--name-predicate)
1957         (package-menu--description-predicate): Handle arguments in the
1958         Tabulated List format.
1959         (package-list-packages-no-fetch): Call list-packages.
1961 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
1963         * files.el (after-find-file-from-revert-buffer): Remove variable.
1964         (after-find-file): Don't bind it.
1965         (revert-buffer-in-progress-p): New variable.
1966         (revert-buffer): Bind it.
1967         Pass nil for `after-find-file-from-revert-buffer'.
1969         * saveplace.el (save-place-find-file-hook): Use new variable
1970         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1972 2011-04-06  Glenn Morris  <rgm@gnu.org>
1974         * Makefile.in (AUTOGEN_VCS): New variable.
1975         (autoloads): Use $AUTOGEN_VCS.
1977         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1978         * calendar/calendar.el (calendar-mode-map):
1979         Check for toolkit scroll bars.  (Bug#8305)
1981 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1983         * minibuffer.el (completion-in-region--postch)
1984         (completion-in-region-mode): Remove unnecessary messages.
1986 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
1988         * font-lock.el (font-lock-refresh-defaults):
1989         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1990         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1992         * info.el (Info-directory-list, Info-read-node-name-2)
1993         (Info-split-parameter-string): Doc fixes.
1994         (Info-virtual-nodes): Reflow docstring.
1995         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1996         (Info-apropos-toc-nodes, info-finder, Info-get-token)
1997         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1998         Fix typos in docstrings.
1999         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2000         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2001         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2002         (Info-restore-desktop-buffer): Mark unused parameters.
2003         (Info-directory-find-file, Info-directory-find-node)
2004         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2005         (Info-virtual-index-find-node, Info-apropos-find-file)
2006         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2007         Mark unused parameters; fix typos in docstrings.
2008         (Info-virtual-index): Remove unused local variable `nodename'.
2010 2011-04-05  Deniz Dogan  <deniz@dogan.se>
2012         * net/rcirc.el: Update my e-mail address.
2013         (rcirc-mode-map): Remove M-o binding.
2015 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
2017         * startup.el (command-line): Save the cursor's theme-face
2018         directly, instead of using face-override-spec.
2020         * custom.el (load-theme): Minor optimization in assigning faces.
2022 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2024         * help-fns.el (describe-variable): Complete all variables having
2025         documentation, including keywords.
2026         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2028 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2030         Convert to lexical-binding.
2032         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2033         (bs--get-marked-string, bs--get-modified-string)
2034         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2035         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2036         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2038         * ehelp.el (electric-help-execute-extended)
2039         (electric-help-ctrl-x-prefix):
2040         * hexl.el (hexl-revert-buffer-function):
2041         * linum.el (linum-after-change, linum-after-scroll):
2042         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2044         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2046 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
2048         * epa-dired.el:
2049         * epa-mail.el:
2050         * epa-hook.el:
2051         * epa-file.el:
2052         * epa.el:
2053         * epg.el: Use lexical binding.
2055 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
2057         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2059         * textmodes/flyspell.el (flyspell-word): Recognize default
2060         dictionary case for flyspell-mark-duplications-exceptions.
2061         Use regexp matching for languages.
2062         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2063         default dictionary (Bug#7926).
2065 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
2067         * emacs-lisp/package.el (package--with-work-buffer):
2068         Recognize https URLs.
2070         * net/network-stream.el: Move from gnus/proto-stream.el.
2071         Change prefix to network-stream throughout.
2072         (open-protocol-stream): Merge into open-network-stream, leaving
2073         open-protocol-stream as an alias.  Handle nil BUFFER args.
2075         * subr.el (open-network-stream): Move to net/network-stream.el.
2077 2011-04-02  Glenn Morris  <rgm@gnu.org>
2079         * find-dired.el (find-exec-terminator): New option.
2080         (find-ls-option): Test for -ls support.
2081         (find-ls-subdir-switches): Test for -b in find-ls-option.
2082         (find-dired, find-grep-dired): Doc fixes.
2083         (find-dired): Use find-exec-terminator.
2085         * find-dired.el (find-ls-option, find-ls-subdir-switches)
2086         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2087         (find-name-arg): Remove purecopy.
2089         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2090         (grep-compute-defaults): Check for `-exec COMMAND +' support.
2091         Set grep-find-use-xargs, grep-find-command, and grep-find-template
2092         accordingly.  Don't add the null-device if not needed.
2094         * files.el (save-some-buffers): Doc fix.
2096 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
2098         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2100 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
2102         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2103         Use `dolist' rather than `mapcar'.
2105 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         Add lexical binding.
2109         * subr.el (apply-partially): Use new closures rather than CL.
2110         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2111         (dolist, dotimes): Use slightly different expansion for lexical code.
2112         (functionp): Move to C.
2113         (letrec): New macro.
2114         (with-wrapper-hook): Use it and apply-partially instead of CL.
2115         (eval-after-load): Preserve lexical-binding.
2116         (save-window-excursion, with-output-to-temp-buffer): Turn them
2117         into macros.
2119         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2121         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2122         than the arglist.
2123         (help-add-fundoc-usage): Don't add `Not documented'.
2124         (help-function-arglist): Handle closures, subroutines, and new
2125         byte-code-functions.
2126         (help-make-usage): Remove leading underscores.
2127         (describe-function-1): Handle closures.
2128         (describe-variable): Use special-variable-p for completion.
2130         * files.el (lexical-binding): Declare safe.
2132         * emacs-lisp/pcase.el: Don't use destructuring-bind.
2133         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
2134         (pcase): Add `let' pattern.
2135         Change memoization so it actually works.
2136         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2137         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2138         <let>: New case.
2140         * emacs-lisp/macroexp.el: Use lexical binding.
2141         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
2142         Don't convert ' to #' without checking that it's indeed quoting
2143         a lambda.
2145         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2146         Use eval-sexp-add-defvars.
2147         (eval-sexp-add-defvars): New fun.
2149         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2151         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2152         Don't autoload.
2153         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2154         than the internal `byte-compile-lambda'.
2155         (defmethod): Don't hide code under quotes.
2156         (eieio-defmethod): New `code' argument.
2158         * emacs-lisp/eieio-comp.el: Remove.
2160         * emacs-lisp/edebug.el (edebug-eval-defun)
2161         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2162         (edebug-toggle): Avoid `eval'.
2164         * emacs-lisp/disass.el (disassemble-internal): Handle new
2165         `closure' objects.
2166         (disassemble-1): Handle new byte codes.
2168         * emacs-lisp/cl.el (pushnew): Silence warning.
2170         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2171         (cl-byte-compile-throw): Remove.
2172         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2174         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2175         closures.
2177         * emacs-lisp/cconv.el: New file.
2179         * emacs-lisp/bytecomp.el: Use lexical binding instead of
2180         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
2181         (byte-compile-initial-macro-environment):
2182         Handle declare-function here.
2183         (byte-compile--lexical-environment): New var.
2184         (byte-stack-ref, byte-stack-set, byte-discardN)
2185         (byte-discardN-preserve-tos): New lap codes.
2186         (byte-interactive-p): Don't use any more.
2187         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2188         New macros.
2189         (byte-compile-lapcode): Use them and handle new lap codes.
2190         (byte-compile-obsolete): Remove.
2191         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2192         (byte-compile-arglist-warn): Check late def of inlinable funs.
2193         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2194         since they should have been expanded by now.
2195         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2196         (byte-compile-from-buffer): Remove unused second arg.
2197         (byte-compile-preprocess): New function.
2198         (byte-compile-toplevel-file-form): New function to distinguish
2199         file-form calls from outside from file-form calls from hunk-handlers.
2200         (byte-compile-file-form): Simplify.
2201         (byte-compile-file-form-defsubst): Remove.
2202         (byte-compile-file-form-defmumble): Simplify now that
2203         byte-compile-lambda always returns a byte-code-function.
2204         (byte-compile): Preprocess.
2205         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2206         Remove, not used any more.
2207         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2208         (byte-compile-make-args-desc): New funs.
2209         (byte-compile-lambda): Handle lexical functions.  Always return
2210         a byte-code-function.
2211         (byte-compile-reserved-constants): New var, to make up room for
2212         closed-over variables.
2213         (byte-compile-constants-vector): Obey it.
2214         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2215         (byte-compile-macroexpand-declare-function): New function.
2216         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2217         byte-code-functions.
2218         (byte-compile-form): Check obsolescence here.
2219         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2220         (byte-compile-variable-ref): Remove.
2221         (byte-compile-dynamic-variable-op): New fun.
2222         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2223         (byte-compile-variable-set): New funs.
2224         (byte-compile-discard): Add 2 args.
2225         (byte-compile-stack-ref, byte-compile-stack-set)
2226         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2227         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2228         macroexpand-all instead.
2229         (byte-compile-quote-form): Remove.
2230         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2231         (byte-compile-bind, byte-compile-unbind): New funs.
2232         (byte-compile-let): Handle let* and lexical binding.
2233         (byte-compile-let*): Remove.
2234         (byte-compile-catch, byte-compile-unwind-protect)
2235         (byte-compile-track-mouse, byte-compile-condition-case):
2236         Handle a new :fun-body form, used for lexical scoping.
2237         (byte-compile-save-window-excursion)
2238         (byte-compile-with-output-to-temp-buffer): Remove.
2239         (byte-compile-defun): Simplify.
2240         (byte-compile-stack-adjustment): New fun.
2241         (byte-compile-out): Use it.
2242         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2244         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2245         handler any more.
2247         * emacs-lisp/byte-opt.el: Use lexical binding.
2248         (byte-inline-lapcode): Remove (to bytecomp).
2249         (byte-compile-inline-expand): Pay attention to inlining to/from
2250         lexically bound code.
2251         (byte-compile-unfold-lambda): Don't handle byte-code-functions
2252         any more.
2253         (byte-optimize-form-code-walker): Don't handle save-window-excursion
2254         any more and don't call compiler-macros.
2255         (byte-compile-splice-in-already-compiled-code): Remove.
2256         (byte-code): Don't inline any more.
2257         (disassemble-offset): Receive `bytes' as argument rather than via
2258         dynamic scoping.
2259         (byte-compile-tag-number): Declare before first use.
2260         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2261         `return' even if make-spliceable.
2262         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2263         obsolete interactive-p.
2264         (byte-optimize-lapcode): Optimize new lap-codes.
2265         Don't trip up on new form of `byte-constant' lap code.
2267         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2269         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2271         * custom.el (custom-initialize-default, custom-declare-variable):
2272         Use `defvar'.
2274         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2275         New variables.
2276         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2277         (COMPILE_FIRST): Add macroexp and cconv.
2278         * makefile.w32-in: Mirror changes in Makefile.in.
2280         * vc/cvs-status.el:
2281         * vc/diff-mode.el:
2282         * vc/log-edit.el:
2283         * vc/log-view.el:
2284         * vc/smerge-mode.el:
2285         * textmodes/bibtex-style.el:
2286         * textmodes/css.el:
2287         * startup.el:
2288         * uniquify.el:
2289         * minibuffer.el:
2290         * newcomment.el:
2291         * reveal.el:
2292         * server.el:
2293         * mpc.el:
2294         * emacs-lisp/smie.el:
2295         * doc-view.el:
2296         * dired.el:
2297         * abbrev.el: Use lexical binding.
2299 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
2301         * info.el (info-display-manual): New function.
2303 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2305         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2307 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
2309         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2310         an entry for that server in rcirc-authinfo.  (Bug#8385)
2312 2011-03-31  Glenn Morris  <rgm@gnu.org>
2314         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2316         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2318 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
2320         * progmodes/python.el (python-default-interpreter)
2321         (python-python-command-args, python-jython-command-args)
2322         (python-which-shell, python-which-args, python-which-bufname)
2323         (python-file-queue, python-comint-output-filter-function)
2324         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2325         variables and functions.
2327 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2329         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2330         (completion-in-region-mode): New minor mode.
2331         (completion-in-region): Use it.
2332         (completion-in-region--data, completion-in-region-mode-map): New vars.
2333         (completion-in-region--postch): New function.
2334         (completion--capf-misbehave-funs, completion--capf-safe-funs):
2335         New vars.
2336         (completion--capf-wrapper): New function.
2337         (completion-at-point): Use it to track well-behavedness of
2338         hook functions.
2339         (completion-help-at-point): New command.
2341 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
2343         * vc/add-log.el (add-change-log-entry): Don't use whitespace
2344         syntax class to search for whitespace on a single line
2345         (Message-ID: <4D938140.4030905@redhat.com>).
2347 2011-03-30  Leo Liu  <sdl.web@gmail.com>
2349         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2350         New commands.
2351         (edit-abbrevs-map): Bind them here.
2352         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
2354 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
2356         * allout.el (allout-hide-by-annotation, allout-flag-region):
2357         Reduce possibility of overlay leakage by making them volatile.
2359         * allout-widgets.el (allout-widgets-tally): Define as nil so the
2360         hash is not shared between buffers.  Mode initialization is
2361         responsible for giving it a useful starting value.
2362         (allout-item-span): Reduce possibility of overlay leakage by
2363         making them volatile.
2364         (allout-widgets-count-buttons-in-region): Add diagnostic function
2365         for tracking down button overlay leaks.
2367 2011-03-29  Leo Liu  <sdl.web@gmail.com>
2369         * ido.el (ido-read-internal): Use the default history var
2370         minibuffer-history if no HISTORY is specified.
2372 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
2374         * net/imap.el (imap-shell-open, imap-process-connection-type):
2375         Use imap-process-connection-type for 'shell' streams as well as
2376         Kerberos, SSL, other subprocesses.
2378 2011-03-28  Leo Liu  <sdl.web@gmail.com>
2380         * abbrev.el (abbrev-table-empty-p): New function.
2381         (prepare-abbrev-list-buffer): Place empty abbrev tables after
2382         nonempty ones.  (Bug#5937)
2384 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
2386         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2388 2011-03-27  Leo Liu  <sdl.web@gmail.com>
2390         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2391         for foreground and background colors.
2392         (ansi-color-make-color-map): Adapt.
2394 2011-03-25  Leo Liu  <sdl.web@gmail.com>
2396         * midnight.el (midnight-time-float): Remove.  Note it calculates
2397         the microsecond component incorrectly and seconds-to-time does the
2398         same job.
2399         Remove redundant (require 'timer).
2401         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2402         (ido-completions): Remove unused arguments.  (Bug#8329)
2404 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2406         * minibuffer.el (completion--flush-all-sorted-completions):
2407         Remove itself from hook.
2408         (completion-at-point): Let the functions perform the completion
2409         immediately and return nil or t.
2410         * comint.el (comint-dynamic-complete-functions): Now identical to
2411         completion-at-point-functions.
2412         (comint-dynamic-list-input-ring): Remove unused var `index'.
2413         (comint--match-partial-filename, comint--unquote&expand-filename):
2414         New funs, split from comint-match-partial-filename.
2415         (comint-dynamic-complete): Use completion-at-point.
2416         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2418 2011-03-24  Drew Adams  <drew.adams@oracle.com>
2420         * thingatpt.el: Support `defun'.
2422 2011-03-23  Leo Liu  <sdl.web@gmail.com>
2424         * abbrevlist.el: Move to obsolete/abbrevlist.el.
2426         * help-mode.el (help-mode-finish): Tweak regexp.
2428 2011-03-23  Glenn Morris  <rgm@gnu.org>
2430         * eshell/esh-opt.el (eshell-eval-using-options):
2431         Do not bind unused local variable `eshell-option-stub'.
2433         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2435 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2437         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2438         keymap variable in `with-no-warnings' to avoid a warning when the
2439         keymap has been already `defconst'ed.
2441 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2443         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2444         encode all chars in abbrevs; otherwise use emacs-mule or
2445         utf-8-emacs.  (Bug#8308)
2447 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
2449         * simple.el (backward-delete-char-untabify):
2450         Avoid warning about using `delete-backward-char'.
2452         * image.el (image-type-file-name-regexps): Make it variable.
2453         `imagemagick-register-types' modifies it, and the user may want
2454         to add new extensions for known image types.
2455         (imagemagick-register-types): Throw error if not using ImageMagick.
2457 2011-03-22  Leo Liu  <sdl.web@gmail.com>
2459         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2460         located before rcirc-prompt-end-marker.
2461         (rcirc-complete): Error if point is not after rcirc prompt.
2462         Handle the case when table is nil.
2463         (rcirc-user-authenticated): Define to fix compiler warning.
2465 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
2467         * custom.el (custom--inhibit-theme-enable): Make it affect only
2468         custom-theme-set-variables and custom-theme-set-faces.
2469         (provide-theme): Ignore custom--inhibit-theme-enable.
2470         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2471         (custom-enabling-themes): Delete variable.
2472         (enable-theme): Accept only loaded themes as arguments.
2473         Ignore the special custom-enabled-themes variable.
2474         (custom-enabled-themes): Forbid themes from setting this.
2475         Eliminate use of custom-enabling-themes.
2476         (custom-push-theme): Quote "changed" custom var entry.
2478 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2480         * ido.el (ido-read-internal): Add ido-selected to history instead
2481         of user input.
2483 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2485         * subr.el (deferred-action-list, deferred-action-function):
2486         Mark obsolete.
2488 2011-03-21  Leo Liu  <sdl.web@gmail.com>
2490         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2491         change on 2011-02-13 (bug#8309).
2493         * minibuffer.el (read-file-name-function): Change default value.
2494         (read-file-name--defaults): Rename from read-file-name-defaults.
2495         (read-file-name-default): Rename from read-file-name.
2496         (read-file-name): Call read-file-name-function.
2498 2011-03-21  Glenn Morris  <rgm@gnu.org>
2500         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2501         Doc fixes.
2503 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
2505         * cus-theme.el: Add missing provide statement.
2506         (customize-create-theme): Extract theme value correctly.
2507         (custom-theme-visit-theme): Autoload.
2508         (customize-create-theme): Prompt before inserting default faces.
2510 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
2512         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2513         units and musical notes.
2515 2011-03-20  Leo  <sdl.web@gmail.com>
2517         * ido.el (ido-read-internal): Use completing-read-default.
2518         (ido-completing-read): Fix compatibility with completing-read.
2520 2011-03-20  Christian Ohler  <ohler@gnu.org>
2522         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2523         (ert-delete-all-tests): Use `called-interactively-p' rather than
2524         `interactive-p'.
2525         (ert--make-xrefs-region): Respect END.
2527 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2529         * dired-aux.el (dired-create-directory): Signal an error if the
2530         directory already exists (Bug#8246).
2532         * facemenu.el (list-colors-display): Call list-faces-display
2533         inside with-help-window.
2534         (list-colors-print): Use display property to align the final
2535         column, instead of checking window-width.
2537 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
2539         * emerge.el (emerge-metachars): Separate value for ms-dos and
2540         windows-nt systems.
2541         (emerge-protect-metachars): Quote correctly for ms-dos and
2542         windows-nt systems.
2544 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
2546         * info.el (info-initialize): Replace all uses of `:' with
2547         path-separator for compatibility with non-Unix systems.
2548         Cache quoting of path-separator.  (Bug#8258)
2550 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
2552         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2553         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2554         (mouse-avoidance-mode): Fix typos in docstrings.
2556 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
2558         * startup.el (package-subdirectory-regexp): Move from package.el.
2559         Omit \\` and \\', and let callers add them.
2561         * emacs-lisp/package.el (package-strip-version)
2562         (package-load-all-descriptors): Add \\` and \\' to
2563         package-subdirectory-regexp before using it.
2564         (package-untar-buffer): New arg DIR; ensure that file untars only
2565         into this expected directory.  Remove superfluous delete-region.
2566         (package-unpack): Caller changed.
2567         (package-tar-file-info): Use package-subdirectory-regexp.
2569 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2571         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2572         diff-mode-shared-map (bug#8284).
2573         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2575 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2577         * calendar/time-date.el (format-seconds): Use assoc instead of
2578         assoc-string, since assoc-string doesn't exist in XEmacs.
2580 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
2582         * custom.el (custom-known-themes): Reflow docstring.
2583         (custom-theme-load-path): Fix typo in docstring.
2584         (load-theme): Fix typo in error message.
2585         (custom-available-themes, custom-variable-theme-value):
2586         Use `let', not `let*'.
2588 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
2590         * calc/README: Mention inclusion of musical notes.
2592         * calc/calc-units.el (calc-lu-quant): Rename from
2593         `calc-logunits-quantity'.
2594         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2595         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2596         (calc-db): Rename from `calc-dblevel'.
2597         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2598         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2599         (calc-np): Rename from `calc-nplevel'.
2600         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2601         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2602         (calc-lu-plus): Rename from `calc-logunits-add'.
2603         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2604         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2605         (calc-lu-minus): Rename from `calc-logunits-sub'.
2606         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2607         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2608         (calc-lu-times): Rename from `calc-logunits-mul'.
2609         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2610         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2611         (calc-lu-divide): Rename from `calc-logunits-div'.
2612         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2613         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2615         * calc/calc-ext.el (calc-init-extensions): Update the names of the
2616         functions being autoloaded.
2618         * calc/calc.el (calc-lu-power-reference): Rename from
2619         `calc-logunits-power-reference'.
2620         (calc-lu-field-reference): Rename from
2621         `calc-logunits-field-reference'.
2623         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2625 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2627         * minibuffer.el (completion-all-sorted-completions):
2628         Use :completion-cycle-penalty text property if present.
2630 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
2632         * allout.el (allout-yank-processing): Adjust for new rebulleting
2633         regime so bullet being yanked is used without prompting the user
2634         for a choice.
2636 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2638         * startup.el (command-line): Warn the user that _emacs is deprecated.
2640 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
2642         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2643         (delphi-verbose, delphi-comment-face, delphi-string-face)
2644         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2645         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2646         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2647         (delphi-new-comment-line, delphi-font-lock-defaults)
2648         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2649         Fix typos in docstrings.
2651 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
2653         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2654         Invert the roles of character and string values for INSTEAD, so a
2655         string is used for the more common case of a defaulting prompt.
2657 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2659         * progmodes/ruby-mode.el (ruby-backward-sexp):
2660         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2661         * play/gamegrid.el (gamegrid-make-face):
2662         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2663         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2664         * notifications.el (notifications-notify):
2665         * net/xesam.el (xesam-search-engines):
2666         * net/quickurl.el (quickurl-list-insert):
2667         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2669 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
2671         * startup.el (command-line): Update package subdirectory regexp.
2673 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2675         * allout.el (allout-abbreviate-flattened-numbering)
2676         (allout-mode-deactivate-hook): Fix up obsolescence "date".
2678         * subr.el (read-char-choice): Only show the cursor after the prompt,
2679         not after the answer.
2681 2011-03-15  Kevin Ryde  <user42@zip.com.au>
2683         * help-fns.el (variable-at-point): Skip leading quotes, if any
2684         (bug#8253).
2686 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2688         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2689         warning message.
2691 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
2693         * shell.el (shell): When called interactively, offer to change the
2694         shell file name on remote hosts.
2696 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
2698         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2699         integration for LDAP parameters.  The host, base, user or binddn,
2700         and secret tokens can be specified in a netrc file, for instance.
2701         This is optional because an `auth-source' parameter must be
2702         specified in the search attributes.
2704 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
2706         * help.el (describe-mode): Link to the mode's definition (bug#8185).
2708 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2710         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2711         into declaration.  Remove redundant and harmful binding.
2713 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
2715         * files.el (file-ownership-preserved-p): Pass `integer' as an
2716         explicit 2nd argument to `file-attributes'.  If the file's owner
2717         is the Administrators group on Windows, and the current user is
2718         Administrator, consider that a match.
2720         * server.el (server-ensure-safe-dir): Consider server directory
2721         safe on MS-Windows if its owner is the Administrators group while
2722         the current Emacs user is Administrator.  Use `=' to compare
2723         numerical UIDs, since they could be integers or floats.
2725 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
2727         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2729 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
2731         Sync with Tramp 2.2.1.
2733         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2735         * net/trampver.el: Update release number.
2737 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2739         * progmodes/compile.el (compilation--previous-directory): Fix up
2740         various nil/dead-marker mismatches (bug#8014).
2741         (compilation-directory-properties, compilation-error-properties):
2742         Don't call it at a position past the one we're about to change.
2744         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2745         Disable obsolescence warnings in the file that declares it.
2747 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
2749         * allout-widgets.el (allout-widgets-tally):
2750         Initialize allout-widgets-tally as a hash table rather than nil to
2751         prevent mode-line redisplay warnings.  Also, clarify the module
2752         description and fix a comment typo.
2754 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
2756         * help-fns.el (describe-variable): Don't complete keywords.
2757         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2759 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
2761         * emacs-lisp/package.el (package-version-join): Impose a standard
2762         string representation for pre/alpha/beta version lists.
2763         (package-unpack-single): Standardize the directory name by passing
2764         it through package-version-join.
2765         (package-strip-rcs-id): Accept any version string that does not
2766         signal an error in version-to-list.
2768 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
2770         * simple.el (delete-trailing-whitespace): Return nil for the
2771         benefit of `write-file-functions'.
2773 2011-03-10  Glenn Morris  <rgm@gnu.org>
2775         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2777         * vc/vc-git.el (vc-git-program): New option.
2778         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2779         (vc-git--call): Use it.
2781         * eshell/esh-util.el (eshell-condition-case): Doc fix.
2783         * cus-edit.el (Custom-newline): If no button at point, look
2784         for a subgroup button at start-of-line.  (Bug#2298)
2786         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2788 2011-03-10  Julien Danjou  <julien@danjou.info>
2790         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2791         `cursor-type' is nil.
2793 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
2795         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2797 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
2799         * allout.el Summary: Change so yank of distinctive-bullet items
2800         preserves the existing header prefix, rebulleting it if necessary,
2801         rather than replacing it.  This is necessary for proper operation
2802         of cooperative addons like allout-widgets.
2803         (allout-make-topic-prefix, allout-rebullet-heading): Change
2804         SOLICIT arg to INSTEAD, and interpret additionally a string value
2805         as alternate bullet to be used, instead of prompting the user for
2806         a bullet character.
2808 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
2810         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2811         Do not use `tramp-file-name-port', because this returns also
2812         `tramp-default-port'.
2814 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2816         * net/rcirc.el (rcirc-handler-001): Remove useless
2817         with-rcirc-process-buffer.
2818         (rcirc-check-auth-status): Swap arguments to string-match.
2820 2011-03-09  Glenn Morris  <rgm@gnu.org>
2822         * shell.el (shell-mode):
2823         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
2825         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2826         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
2828 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2830         * emacs-lisp/package.el (package-refresh-contents)
2831         (package-menu-execute): Use condition-case-no-debug.
2833 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
2835         * simple.el (shell-command-to-string): Use `process-file'.
2837         * emacs-lisp/package.el (package-tar-file-info): Handle also
2838         remote files.
2840         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2841         Use `equal' for upload base check.
2843 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
2845         * textmodes/texinfo.el (texinfo-environments):
2846         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
2848 2011-03-08  Glenn Morris  <rgm@gnu.org>
2850         * cus-start.el (cursor-in-non-selected-windows):
2851         Fix :set quoting oddness.  (Bug#8192)
2853         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2854         in some setf expressions.  (Bug#2159)
2856 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2858         * custom.el (custom-available-themes): Return themes in
2859         alphabetical order.
2861 See ChangeLog.15 for earlier changes.
2863 ;; Local Variables:
2864 ;; coding: utf-8
2865 ;; End:
2867   Copyright (C) 2011  Free Software Foundation, Inc.
2869   This file is part of GNU Emacs.
2871   GNU Emacs is free software: you can redistribute it and/or modify
2872   it under the terms of the GNU General Public License as published by
2873   the Free Software Foundation, either version 3 of the License, or
2874   (at your option) any later version.
2876   GNU Emacs is distributed in the hope that it will be useful,
2877   but WITHOUT ANY WARRANTY; without even the implied warranty of
2878   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2879   GNU General Public License for more details.
2881   You should have received a copy of the GNU General Public License
2882   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.