1 2011-06-15 Martin Rudalics <rudalics@gmx.at>
3 * window.el (display-buffer-alist): Trim default value to avoid
4 popping up a new frame (Bug#8857) or reusing an arbitrary window
6 (display-buffer): Do not fall back on popping up a new frame in
9 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12 (custom-theme-summary): New function.
13 (customize-themes): Use it.
15 2011-06-13 Glenn Morris <rgm@gnu.org>
17 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21 * help.el (help-window): Remove variable.
22 (help-window-point-marker, temp-buffer-max-height)
23 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24 (help-print-return-message): Don't set help-window.
25 (resize-temp-buffer-window): Rewrite cod eand doc-string.
26 (help-window-setup-finish): Remove.
27 (help-window-display-message, help-window-setup)
28 (with-help-window): Major rewrite based on new
29 display-buffer-window variable.
31 * help-mode.el (help-mode-finish): Remove help-window related
34 * view.el (view-exits-all-viewing-windows): Remove reference to
35 view-return-to-alist in doc-string.
36 (view-return-to-alist): Make obsolete.
37 (view-buffer): Call pop-to-buffer-same-window and remove
39 (view-buffer-other-window): Call pop-to-buffer-other-window and
40 simplify code. Ignore second argument.
41 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
42 simplify code. Ignore second argument.
43 (view-return-to-alist-update): Make obsolete.
44 (view-mode-enter): Rename second argument to QUIT-RESTORE.
45 Rewrite using quit-restore window parameters.
46 (view-mode-exit): Rename second argument to EXIT-ONLY. Rewrite
47 using quit-restore-window.
48 (View-exit, View-exit-and-edit, View-leave, View-quit)
49 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
50 appropriate arguments.
51 (view-end-message): Use quit-restore window parameter.
53 * window.el (display-buffer-function): Rewrite doc-string.
54 (display-buffer-window, display-buffer-alist): New variables.
55 (display-buffer-split-specifiers)
56 (display-buffer-side-specifiers)
57 (display-buffer-macro-specifiers): New constants.
58 (display-buffer-even-window-sizes, display-buffer-set-height)
59 (display-buffer-set-width, display-buffer-select-window)
60 (display-buffer-in-window, display-buffer-reuse-window)
61 (display-buffer-split-window-1, display-buffer-split-window)
62 (display-buffer-split-atom-window, display-buffer-pop-up-window)
63 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
64 (display-buffer-in-side-window, normalize-buffer-to-display)
65 (display-buffer-normalize-specifiers-1)
66 (display-buffer-normalize-specifiers-2)
67 (display-buffer-normalize-specifiers, display-buffer-frame): New
69 (display-buffer): Major rewrite.
70 (display-buffer-other-window, display-buffer-other-frame)
71 (pop-to-buffer, switch-to-buffer-other-window)
72 (switch-to-buffer-other-frame): Rewrite.
73 (display-buffer-same-window, display-buffer-same-frame)
74 (display-buffer-same-frame-other-window)
75 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
76 (pop-to-buffer-other-window)
77 (pop-to-buffer-same-frame-other-window)
78 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
79 (switch-to-buffer-other-window-same-frame): New functions.
80 (same-window-p, special-display-p): Rewrite disabling warnings.
82 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
83 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
85 (same-window-buffer-names, same-window-regexps)
86 (special-display-frame-alist, special-display-popup-frame)
87 (special-display-function, special-display-buffer-names)
88 (special-display-regexps, pop-up-frame-alist)
89 (pop-up-frame-function, split-window-preferred-function)
90 (split-height-threshold, split-width-threshold)
91 (even-window-heights): Make obsolete.
93 2011-06-12 Glenn Morris <rgm@gnu.org>
95 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
98 2011-06-12 Martin Rudalics <rudalics@gmx.at>
100 * window.el (window-safely-shrinkable-p): Restore function which
101 was inadvertently removed in change from 2011-06-11. Declare as
104 * calendar/calendar.el (calendar-generate-window): Use
105 window-iso-combined-p instead of combination of one-window-p and
106 window-safely-shrinkable-p.
108 2011-06-12 Glenn Morris <rgm@gnu.org>
110 * progmodes/fortran.el (fortran-mode-syntax-table):
111 * progmodes/f90.el (f90-mode-syntax-table):
112 Set % to punctuation. (Bug#8820)
113 (f90-find-tag-default): Remove, no longer needed.
115 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
117 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
119 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
121 * image.el (image-animated-p): Return animation delay in seconds.
122 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
123 (image-animate-timeout): Remove DELAY argument. Don't assume
124 every subimage has the same delay; get it from image-animated-p.
125 (image-animate): Caller changed.
127 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
129 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
130 to ignored backtrace functions.
132 2011-06-11 Glenn Morris <rgm@gnu.org>
134 * calendar/appt.el (appt-disp-window-function): Doc fix.
135 (appt-check): Handle overlapping appointments. (Bug#8337)
137 2011-06-11 Martin Rudalics <rudalics@gmx.at>
139 * window.el (window-tree-1, window-tree): New functions, moving
140 the latter to window.el.
141 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
142 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
143 (bw-refresh-edges): Remove.
144 (balance-windows-1, balance-windows-2): New functions.
145 (balance-windows): Rewrite in terms of window tree functions,
146 balance-windows-1 and balance-windows-2.
147 (bw-adjust-window): Remove.
148 (balance-windows-area-adjust): New function with functionality of
149 bw-adjust-window but using resize-window.
150 (set-window-text-height): Rewrite doc-string. Use
151 normalize-live-window and resize-window.
152 (enlarge-window-horizontally, shrink-window-horizontally): Rename
154 (window-buffer-height): New function.
155 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
156 Rewrite using new window resize routines.
157 (kill-buffer-and-window, mouse-autoselect-window-select): Use
158 ignore-errors instead of condition-case.
159 (quit-window): Call delete-frame instead of delete-windows-on
160 for the only buffer on frame.
162 2011-06-10 Martin Rudalics <rudalics@gmx.at>
164 * loadup.el (top-level): Load window before files for the sake
165 of replace-buffer-in-windows.
167 * files.el (read-buffer-to-switch)
168 (switch-to-buffer-other-window)
169 (switch-to-buffer-other-frame, display-buffer-other-frame): Move
172 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
173 (previous-buffer): Move to window.el.
175 * bindings.el (unbury-buffer): Move to window.el.
177 * window.el (delete-other-windows-vertically): Move after
178 definition of delete-other-windows.
179 (other-window, delete-windows-on, replace-buffer-in-windows):
180 Move here from window.c.
181 (record-window-buffer, unrecord-window-buffer)
182 (set-window-buffer-start-and-point, switch-to-prev-buffer)
183 (switch-to-next-buffer): New functions.
184 (get-next-valid-buffer, last-buffer, next-buffer): Move here
185 from simple.el. Call switch-to-next-buffer.
186 (previous-buffer): Move here from simple.el. Call
187 switch-to-prev-buffer.
188 (bury-buffer): Move here from buffer.c. Switch to previous
189 buffer when window cannot be deleted.
190 (unbury-buffer): Move here from bindings.el.
191 (ctl-x-map): Move binding for other-window from window.c to
193 (read-buffer-to-switch, switch-to-buffer-other-window)
194 (switch-to-buffer-other-frame): Move here from files.el.
195 (normalize-buffer-to-switch-to): New functions.
196 (switch-to-buffer): Move here from buffer.c. Use
197 read-buffer-to-switch and normalize-buffer-to-switch-to.
199 2011-06-10 Martin Rudalics <rudalics@gmx.at>
201 * window.el (window-min-height, window-min-width): Move here
202 from window.c. Add defcustoms and rewrite doc-strings.
203 (resize-mini-window, resize-window): New functions.
204 (adjust-window-trailing-edge, enlarge-window, shrink-window):
205 Move here from window.c.
206 (maximize-window, minimize-window): New functions.
207 (delete-window, delete-other-windows, split-window): Move here
209 (window-split-min-size): New function.
210 (split-window-keep-point): Mention split-window-above-each-other
211 instead of split-window-vertically.
212 (split-window-above-each-other, split-window-vertically): Rename
213 split-window-vertically to split-window-above-each-other and
214 provide defalias for old definition.
215 (split-window-side-by-side, split-window-horizontally): Rename
216 split-window-horizontally to split-window-side-by-side and provide
217 defalias for the old definition.
218 (ctl-x-map): Move bindings for delete-window,
219 delete-other-windows and enlarge-window here from window.c.
220 Replace bindings for split-window-vertically and
221 split-window-horizontally by bindings for
222 split-window-above-each-other and split-window-side-by-side.
224 * cus-start.el (all): Remove entries for window-min-height and
225 window-min-width. Add entries for window-splits and
228 2011-06-09 Glenn Morris <rgm@gnu.org>
230 * calendar/appt.el (appt-mode-line): New function.
231 (appt-check, appt-disp-window): Use it.
233 * files.el (hack-one-local-variable-eval-safep):
234 Allow minor-modes with explicit +/-1 arguments.
236 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
238 * term/xterm.el (xterm): Add defgroup.
239 (xterm-extra-capabilities): Add defcustom to supply known xterm
240 capabilities, skip querying them, or query them (default).
241 (terminal-init-xterm): Use it.
242 (terminal-init-xterm-modify-other-keys): New function to set up
243 modifyOtherKeys support to simplify `terminal-init-xterm'.
245 2011-06-09 Martin Rudalics <rudalics@gmx.at>
247 * window.el (resize-window-reset, resize-window-reset-1)
248 (resize-subwindows-skip-p, resize-subwindows-normal)
249 (resize-subwindows, resize-other-windows, resize-this-window)
250 (resize-root-window, resize-root-window-vertically)
251 (window-deletable-p, window-or-subwindow-p)
252 (frame-root-window-p): New functions.
254 2011-06-09 Glenn Morris <rgm@gnu.org>
256 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
257 (ange-ftp-get-files): Use it.
259 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
261 * mail/sendmail.el (mail-recover-1, mail-recover):
262 * files.el (recover-file, recover-session):
263 Handle dired-listing-switches not being just a single short option.
265 2011-06-09 Glenn Morris <rgm@gnu.org>
267 * calendar/appt.el (appt-display-message, appt-disp-window):
268 Handle lists of appointments.
270 2011-06-08 Martin Rudalics <rudalics@gmx.at>
272 * window.el (one-window-p): Move down in code. Rewrite
274 (window-current-scroll-bars): Rewrite doc-string. Normalize
275 live window argument.
276 (walk-windows, get-window-with-predicate, count-windows):
277 Rewrite doc-string. Use window-list-1.
278 (window-in-direction-2, window-in-direction, get-mru-window):
281 2011-06-08 Reuben Thomas <rrt@sc3d.org>
283 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
286 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
288 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
290 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
292 * loadhist.el (unload-feature-special-hooks):
293 Add `comint-output-filter-functions'.
295 2011-06-08 Ivan Kanis <gnu@kanis.fr>
297 * calendar/appt.el (appt-check): Move some initializations into the let.
299 2011-06-08 Martin Rudalics <rudalics@gmx.at>
301 * window.el (window-height): Defalias to window-total-height.
302 (window-width): Defalias to window-body-width.
304 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
306 * image-mode.el (image-toggle-animation): New command.
307 (image-mode-map): Bind it to RET.
308 (image-mode): Update message.
309 (image-toggle-display-image): Avoid a spurious cache flush.
310 (image-transform-rotation): Doc fix.
311 (image-transform-properties): Return quickly in the normal case.
312 (image-animate-loop): Rename from image-animate-max-time.
314 * image.el (image-animate-max-time): Moved to image-mode.el.
315 (create-animated-image): Remove unnecessary function.
316 (image-animate): Rename from image-animate-start. New arg.
317 (image-animate-stop): Removed; just use image-animate-timer.
318 (image-animate-timer): Use car-safe.
319 (image-animate-timeout): Rename argument.
321 2011-06-07 Martin Rudalics <rudalics@gmx.at>
323 * window.el (get-lru-window, get-largest-window): Move here from
324 window.c. Rename first argument to ALL-FRAMES. Rephrase
326 (get-buffer-window-list): Rewrite using window-list-1. Rephrase
328 (window-safe-min-height, window-safe-min-width): New constants.
329 (window-size-ignore, window-min-size, window-min-size-1)
330 (window-sizable, window-sizable-p, window-size-fixed-1)
331 (window-size-fixed-p, window-min-delta-1, window-min-delta)
332 (window-max-delta-1, window-max-delta, window-resizable)
333 (window-resizable-p, window-total-height, window-total-width)
334 (window-body-width): New functions.
335 (window-full-height-p, window-full-width-p): Rewrite using
337 (window-body-height): Rewrite using window-body-size.
339 2011-06-06 Martin Rudalics <rudalics@gmx.at>
341 * window.el (window-right, window-left, window-child)
342 (window-child-count, window-last-child, window-any-p)
343 (normalize-live-buffer, normalize-live-frame)
344 (normalize-any-window, normalize-live-window)
345 (window-iso-combination-p, window-iso-combined-p)
346 (window-iso-combinations)
347 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
348 (windows-with-parameter, window-with-parameter)
349 (window-atom-root, make-window-atom, window-atom-check-1)
350 (window-atom-check, window-side-check, window-check): New
352 (ignore-window-parameters, window-sides, window-sides-vertical)
353 (window-sides-slots): New variables.
354 (window-size-fixed): Move down in code. Minor doc-string fix.
356 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
358 * comint.el (comint-dynamic-complete-as-filename)
359 (comint-dynamic-complete-filename): Correctly call
360 completion-in-region.
362 2011-06-05 Deniz Dogan <deniz@dogan.se>
364 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
367 2011-06-05 Deniz Dogan <deniz@dogan.se>
369 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
370 (rcirc): Use it to prompt for encryption.
372 2011-06-05 Roland Winkler <winkler@gnu.org>
374 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
375 (bibtex-search-entries): New command bound to C-c C-a.
376 (bibtex-display-entries): New function.
378 2011-06-05 Roland Winkler <winkler@gnu.org>
380 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
381 (bibtex-insert-kill): After yanking insert newline if necessary.
382 (bibtex-initialize): Call bibtex-string-files-init only once.
383 (bibtex-mode): Do not call easy-menu-add.
384 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
385 (bibtex-yank): Set arg properly if nil.
387 2011-06-05 Roland Winkler <winkler@gnu.org>
389 * textmodes/bibtex.el (bibtex-search-entry-globally): New
391 (bibtex-search-entry): Use it.
393 2011-06-05 Roland Winkler <winkler@gnu.org>
395 * textmodes/bibtex.el (bibtex-entry-format): New option
397 (bibtex-format-entry, bibtex-reformat): Honor this option.
398 (bibtex-parse-entry): Return fields in proper order.
400 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
402 * doc-view.el (doc-view-remove-if): Move computation of result out
403 of `dolist' to silence misleading lexical-binding warning.
405 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
407 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
408 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
410 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
412 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
415 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
417 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
418 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
419 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
421 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
422 (tramp-completion-function-alist-ssh)
423 (tramp-completion-function-alist-telnet)
424 (tramp-completion-function-alist-su)
425 (tramp-completion-function-alist-putty): Set `tramp-autoload'
430 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
431 load "tramp.el" `tramp-set-completion-function'.
433 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
435 * shell.el: Require and use pcomplete.
436 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
437 (shell-completion-vars): Set pcomplete-default-completion-function.
439 2011-06-04 Deniz Dogan <deniz@dogan.se>
441 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
444 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
446 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
448 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
450 * bs.el (bs--mark-unmark, bs--nth-wrapper):
451 * mpc.el (mpc-select-extend, mpc-songpointer-context):
452 * vc/log-view.el (log-view-beginning-of-defun):
453 * vc/smerge-mode.el (smerge-apply-resolution-patch)
454 (smerge-refine-forward, smerge-refine-chopup-region):
455 Silence warning for unused `dotimes' counter variables.
457 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
459 * net/tramp.el (tramp-with-progress-reporter): Rename from
460 with-progress-reporter. Use `declare'.
463 * net/tramp-gvfs.el: Update all uses.
465 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
467 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
468 buffer isn't killed before making it current.
470 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
472 Silence various byte-compiler warnings.
473 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
474 `access-type' and new obsolescence format.
475 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
477 (byte-compile-check-variable): New `access-type' argument.
478 Only warn if the access-type is obsolete.
479 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
480 (byte-compile-variable-set): Adjust callers.
481 * help-fns.el (describe-variable): Adjust to new obsolescence format.
482 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
483 setting it as obsolete.
484 * simple.el (minibuffer-completing-symbol):
485 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
487 * minibuffer.el (minibuffer-completing-file-name): Don't make it
489 * international/quail.el (quail-mouse-choose-completion): Remove unused
490 code referring to obsolete var.
491 (quail-choose-completion-string): Remove.
492 * server.el (server-clients-with, server-kill-buffer-query-function)
493 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
494 * proced.el (proced-send-signal):
495 * emacs-lisp/lisp.el (lisp-complete-symbol):
496 Replace completion-annotate-function with completion-extra-properties.
498 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
500 * simple.el (goto-line): Use read-number.
501 (overriding-map-is-bound): Remove.
502 (saved-overriding-map): Change default.
503 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
504 Take the map as argument.
505 (universal-argument, negative-argument, digit-argument): Use it.
506 (restore-overriding-map): Adjust.
507 (do-auto-fill): Use fill-forward-paragraph.
508 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
510 * minibuffer.el (minibuffer-inactive-mode-map): New var.
511 (minibuffer-inactive-mode): New major mode.
512 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
513 the *Messages* buffer" hack.
514 (mouse-popup-menubar): Don't burp if the event is a normal key.
516 Miscellaneous tweaks.
517 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
518 lexical scoping as in subr.el's dolist and dotimes.
519 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
520 Silence compiler warning.
521 * thingatpt.el (forward-whitespace): Trivial coding style fix.
522 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
523 * international/ccl.el (ccl-compile): Trivial simplification.
524 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
525 * emacs-lisp/testcover.el (testcover-end): Remove spurious
526 `printflag' argument.
527 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
528 Purecopy the whole obsolescence data.
530 2011-06-01 Leo Liu <sdl.web@gmail.com>
532 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
533 improve doc-string as suggested by Marco Pessotto
534 <melmothx@gmail.com>.
535 (rcirc-print): Fix last change.
537 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
539 * minibuffer.el (complete-with-action): Return nil for the metadata and
540 boundaries of non-functional tables.
541 (completion-table-dynamic): Return nil for the metadata.
542 (completion-table-with-terminator): Add default case, using
543 complete-with-action.
544 (completion--metadata): New function.
545 (completion-all-sorted-completions, minibuffer-completion-help): Use it
546 to try and avoid pathological performance problems.
547 (completion--embedded-envvar-table): Return `category' metadata.
549 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
551 * subr.el (process-alive-p): New tiny convenience function.
553 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
555 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
556 content but also its previous major mode.
558 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
560 * debug.el (debug): Restore the previous content of the
561 *Backtrace* buffer when we exit with C-M-c.
563 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
565 * minibuffer.el: Add metadata method to completion tables.
566 (completion-category-overrides): New defcustom.
567 (completion-metadata, completion--field-metadata)
568 (completion-metadata-get, completion--styles)
569 (completion--cycle-threshold): New functions.
570 (completion-try-completion, completion-all-completions):
571 Add `metadata' argument to choose completion-styles.
572 (completion--do-completion): Use metadata to choose cycling.
573 (completion-all-sorted-completions): Use metadata for sorting.
574 Remove :completion-cycle-penalty which is not needed any more.
575 (completion--try-word-completion): Add `metadata' argument.
576 (minibuffer-completion-help): Check metadata for annotation function
578 (completion-file-name-table): Return `category' metadata.
579 (minibuffer-completing-file-name): Make obsolete.
580 * simple.el (minibuffer-completing-symbol): Make obsolete.
581 * icomplete.el (icomplete-completions): Pass new `metadata' param to
582 completion-try-completion.
584 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
586 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
588 2011-05-30 Leo Liu <sdl.web@gmail.com>
590 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
591 (rcirc-print): Decode all incoming messages (bug#8744).
592 (rcirc-decode-coding-system): Allow value nil for automatic coding
595 2011-06-01 Glenn Morris <rgm@gnu.org>
597 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
599 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
601 * image.el (image-animate-max-time): Allow nil and t values.
603 (create-animated-image): Doc fix.
604 (image-animate-start): Remove second arg; just use
605 image-animate-max-time.
606 (image-animate-timeout): Doc fix. Args changed.
608 * image-mode.el (image-toggle-display-image): Ensure that the
609 image spec passed to the animate timer is the same object as in
610 the the buffer's display property (Bug#6981).
611 (image-transform-properties): Doc fix.
613 * image.el (image-animate-max-time): Default to nil.
615 2011-05-29 Martin Rudalics <rudalics@gmx.at>
617 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
618 entire buffer list (Bug#8184).
620 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
622 * image.el (imagemagick-types-inhibit)
623 (imagemagick-register-types): Doc fix.
625 2011-05-29 Deniz Dogan <deniz@dogan.se>
627 * net/rcirc.el (rcirc): Use the user's stored encryption method by
630 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
632 * select.el: Don't perform clipboard-manager saving in hooks;
633 leave the hooks empty.
635 2011-05-28 Leo Liu <sdl.web@gmail.com>
637 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
638 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
639 (occur-edit-mode): New major mode (Bug#8463).
640 (occur-after-change-function): New function.
641 (occur-engine): Give Occur tags a read-only property.
643 2011-05-28 Kevin Ryde <user42@zip.com.au>
645 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
647 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
649 * bindings.el (help-echo): Make the initial non-indicator dash
650 empty on graphical terminals (Bug#7295).
652 * files.el (auto-mode-alist): Move config rule after the
653 in-stripping one (Bug#8547).
655 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
657 * startup.el (normal-splash-screen): Remove gratuitous mode-line
660 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
662 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
663 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
666 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
669 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
671 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
673 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
674 (hs-hide-block-at-point, hs-find-block-beginning)
675 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
678 2011-05-28 Glenn Morris <rgm@gnu.org>
680 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
682 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
684 * help-fns.el (describe-function-1): If the function is a derived
685 major mode, print the parent mode.
687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
688 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
690 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
692 * minibuffer.el (completion--capf-wrapper): Check applicability before
693 retuning non-nil for non-exclusive completion data.
694 * progmodes/etags.el (tags-completion-at-point-function):
695 * info-look.el (info-lookup-completions-at-point): Mark as
697 (info-complete): Adjust accordingly.
699 * info-look.el: Convert to lexical-binding and completion-at-point.
700 (info-lookup-completions-at-point): New function.
701 (info-complete): Use it and completion-in-region.
703 2011-05-28 Drew Adams <drew.adams@oracle.com>
705 * isearch.el: Let M-e start with point at the first mismatched char.
706 (isearch-fail-pos): New function.
707 (isearch-edit-string): Use it.
709 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
711 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
713 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
715 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
716 traversal functions for avl-trees.
717 (avl-tree--stack): New struct.
718 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
719 (avl-tree-enter): Add optional `updatefun' arg.
720 (avl-tree--do-enter): Add optional `updatefun' arg.
722 (avl-tree-delete): Add optional `test' and `nilflag' args.
723 (avl-tree--do-delete): Add `test' and `nilflag' args.
725 (avl-tree-member): Add optional `nilflag'
726 (avl-tree-member-p): New function.
727 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
728 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
729 (avl-tree-stack-empty-p): New functions.
731 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
733 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
734 avl-tree--del-balance1 and make it work both ways.
735 (avl-tree--del-balance2): Remove.
736 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
737 make it work both ways.
738 (avl-tree--enter-balance2): Remove.
739 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
741 (avl-tree--mapc, avl-tree-map): Add direction argument.
743 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
745 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
747 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
749 * select.el: Support clipboard managers with built-in function
750 x-clipboard-manager-save, via delete-frame-functions and
752 (xselect-convert-to-targets): Add MULTIPLE target to list.
753 (xselect-convert-to-save-targets): New function.
755 2011-05-27 Kenichi Handa <handa@m17n.org>
757 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
758 let-binding rfc2047-encode-encoded-words to nil.
760 2011-05-27 Glenn Morris <rgm@gnu.org>
762 * mail/emacsbug.el: Don't require url-util.
764 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
766 * files.el (set-auto-mode):
767 Also respect mode: entries at the end of the file. (Bug#8586)
769 2011-05-26 Glenn Morris <rgm@gnu.org>
771 * files.el (hack-local-variables-prop-line, hack-local-variables):
772 Downcase mode names, as seems to be traditional.
773 (hack-local-variables, hack-local-variables-apply): Doc fixes.
775 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
776 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
778 2011-05-25 Julien Danjou <julien@danjou.info>
780 * textmodes/rst.el (rst-define-level-faces): Do not define face
781 symbol if it is already defined.
783 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
785 * play/5x5.el (5x5-new-game, 5x5-randomize):
786 Reset 5x5-solver-output to nil when a new grid is cast.
787 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
788 these debugging traces, as defmacro breaks the compiled code.
790 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
792 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
794 2011-05-24 Leo Liu <sdl.web@gmail.com>
796 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
797 (vc-bzr-sha1): Adapt.
799 * sha1.el: Remove. Function `sha1' is now builtin.
801 * bindings.el: Provide sha1 feature.
803 2011-05-24 Kenichi Handa <handa@m17n.org>
805 * mail/sendmail.el: Require `rfc2047'.
806 (mail-insert-from-field): Do not perform RFC2047 encoding.
807 (mail-encode-header): New function.
808 (sendmail-send-it): Set buffer-file-coding-system of the work
809 buffer to the return value of select-message-coding-system.
810 Call mail-encode-header.
812 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
814 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
816 * mail/supercite.el (sc-default-cite-frame):
817 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
819 2011-05-24 Glenn Morris <rgm@gnu.org>
821 * progmodes/python.el (brm-menu): Declare.
823 * emulation/viper.el (viper-set-hooks): Declare.
825 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
826 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
827 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
828 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
829 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
830 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
832 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
834 Add an :exit-function for completion-at-point.
836 * minibuffer.el (completion--done): New fun.
837 (completion--do-completion): Use it. New arg `expect-exact'.
838 (minibuffer-complete, minibuffer-complete-word): Don't output message,
839 since completion--do-completion does it for us now.
840 (minibuffer-force-complete): Use completion--done and
841 completion--replace. Handle sole-completion case with more care.
842 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
843 (completion-extra-properties): New var.
844 (completion-annotate-function): Make obsolete.
845 (minibuffer-completion-help): Adjust accordingly.
846 Use completion-list-insert-choice-function.
847 (completion-at-point, completion-help-at-point):
848 Bind completion-extra-properties.
849 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
850 * simple.el (completion-list-insert-choice-function): New var.
851 (completion-setup-function): Preserve it.
852 (choose-completion): Pay attention to it, shuffle the code a bit.
853 (choose-completion-string): New arg `insert-function'.
855 * textmodes/bibtex.el: Convert to lexical binding.
856 (bibtex-mode-map): Use completion-at-point.
857 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
858 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
859 (bibtex-complete): Define as obsolete alias.
860 (bibtex-complete-internal): Remove.
861 (bibtex-format-entry): Remove unused sub-group in regexp.
862 * shell.el (shell--command-completion-data)
863 (shell-environment-variable-completion):
864 * pcomplete.el (pcomplete-completions-at-point):
865 * comint.el (comint--complete-file-name-data): Use :exit-function
866 instead of completion-table-with-terminator so it also works for
869 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
871 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
873 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
876 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
878 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
880 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
881 customization variable and implement: If non-nil, auto-fill will
882 be inhibited while on topic's header line.
884 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
886 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
887 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
888 always have a solution in grid size = 5 cases.
889 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
890 (5x5-solver-output, 5x5-log-buffer): New vars.
891 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
892 Make these variables buffer local to achieve 5x5 multi-session-ness.
893 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
894 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
895 (5x5-solve-suggest): New funs.
896 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
897 randomize a grid so that we ensure that there is always a solution.
898 (5x5-make-random-grid): Allow other movement than flipping.
900 2011-05-23 Kevin Ryde <user42@zip.com.au>
902 * emacs-lisp/advice.el (ad-read-advised-function):
903 Use `function-called-at-point' as the default default, if it has
904 advice and passes PREDICATE.
906 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
908 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
909 byte-compile-lambda if it's actually a lambda.
911 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
912 Fix function quoting. Use backquote better.
914 2011-05-22 Yuanle Song <sylecn@gmail.com>
916 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
919 2011-01-22 Jari Aalto <jari.aalto@cante.net>
921 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
922 different face (Bug#8178).
924 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
926 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
929 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
931 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
932 funcall as well (bug#8712). Warn when performing those conversions.
933 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
935 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
937 2011-05-22 Glenn Morris <rgm@gnu.org>
939 * files.el (hack-local-variables-prop-line): Small simplifications.
940 (hack-local-variables, hack-local-variables-prop-line):
941 If MODE-ONLY, return the mode, rather than just `t'.
943 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
945 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
947 2011-05-21 Glenn Morris <rgm@gnu.org>
949 * files.el (hack-local-variables-prop-line, hack-local-variables):
950 If only interested in the mode, don't bother doing the other stuff.
952 * image-mode.el (image-after-revert-hook):
953 Redraw all frames on which the image is visible. (Bug#8567)
955 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
957 * wid-edit.el (widget-checklist-match-inline):
958 Fix 2011-04-19 change. (Bug#8649)
960 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
962 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
963 Also allow singlespace after single-letter capitals followed by a dot.
965 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
966 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
968 2011-05-20 Nix <nix@esperi.org.uk>
970 * files.el (basic-save-buffer-2):
971 Fix handling of break-hardlink-on-save with non-existent files.
973 2011-05-19 Deniz Dogan <deniz@dogan.se>
975 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
976 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
978 2011-05-19 Glenn Morris <rgm@gnu.org>
980 * progmodes/f90.el (f90-type-def-re):
981 Handle "type, bind(c)". (Bug#8691)
983 * emacs-lisp/autoload.el (batch-update-autoloads):
984 Set autoload-excludes by parsing loadup.el rather than Makefiles.
986 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
988 * net/tramp.el (tramp-process-actions): Set "first-password-request"
989 property for the correct connection in case of multihops.
991 2011-05-18 Glenn Morris <rgm@gnu.org>
993 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
994 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
996 Rationalize calendar handling of day and month abbrev-arrays.
997 * calendar/calendar.el (calendar-customized-p): New function.
998 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
999 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1001 (calendar-abbrev-length, calendar-day-abbrev-array)
1002 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1003 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1004 Elements may no longer be nil.
1005 (calendar-day-name, calendar-month-name):
1006 Update for changed nature of abbrev arrays.
1007 * calendar/diary-lib.el (diary-name-pattern):
1008 Update for changed nature of abbrev arrays.
1009 (diary-mark-entries-1): Update calendar-make-alist calls.
1010 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1011 * calendar/cal-html.el (cal-html-day-abbrev-array):
1012 Simply inherit from calendar-day-abbrev-array.
1014 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * progmodes/grep.el (grep-mode): Disable default
1017 compilation-directory-matcher setting (bug#8684).
1019 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
1021 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1022 instead of "head" and "tail". There were problems with SunOS 5.9,
1023 and it performs better.
1025 2011-05-17 Glenn Morris <rgm@gnu.org>
1027 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1029 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1030 Replace obsolete function.
1032 * shell.el (pcomplete-parse-arguments-function): Declare.
1034 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1035 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1036 (appt-check): Doc fixes.
1037 (appt-disp-window-function, appt-delete-window-function):
1038 Remove needless special case in custom :type.
1039 (appt-display-count): Default to 0, not nil.
1040 (appt-check): Reset appt-display-count to 0, not nil.
1042 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
1044 * progmodes/python.el (python-font-lock-keywords):
1045 Add the Python 3.X keyword "nonlocal" (bug#8639).
1047 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1051 2011-05-16 Kevin Ryde <user42@zip.com.au>
1053 * info-look.el (makefile-automake-mode): New setups, looking in
1054 automake manual, then makefile-mode.
1055 (makefile-mode): Remove automake manual, have it just in
1056 makefile-automake-mode since there's various things different or
1057 not relevant to plain make.
1058 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1059 believe a hypothetical automake-mode would go to makefile-mode,
1060 not the other way around.
1062 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
1064 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1065 hunk-end tags (Bug#8672).
1067 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1068 vc-annotate-show-diff-revision-at-line (Bug#8671).
1070 2011-05-14 Glenn Morris <rgm@gnu.org>
1072 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1073 in the middle of an existing one with multiple authors. (Bug#8645)
1074 (change-log-font-lock-keywords): Also handle multiple author lines
1075 with leading tabs. (Bug#8644)
1077 * calendar/appt.el (appt-check): Rename some local variables.
1078 Some simplification/reordering.
1080 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1081 (feedmail-sendmail-f-doesnt-sell-me-out)
1082 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1083 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1084 (feedmail-queue-runner-message-sender): Set :version.
1085 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1086 (bbdb-dwim-net-address, vm-mail): Declare.
1087 (feedmail-binmail-gnulinuxish-template):
1088 Rename from feedmail-binmail-linuxish-template.
1089 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1090 Use insert-buffer-substring.
1092 2011-05-14 Bill Carpenter <bill@carpenter.org>
1094 * mail/feedmail.el (feedmail-patch-level): Increase.
1095 (feedmail-debug): New custom group.
1096 (feedmail-confirm-outgoing-timeout)
1097 (feedmail-sendmail-f-doesnt-sell-me-out)
1098 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1099 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1100 (feedmail-sender-line, feedmail-from-line)
1101 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1102 (feedmail-spray-this-address)
1103 (feedmail-spray-address-fiddle-plex-list)
1104 (feedmail-queue-use-send-time-for-date)
1105 (feedmail-queue-use-send-time-for-message-id)
1106 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1107 (feedmail-buffer-eating-function):
1109 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1110 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1111 (feedmail-message-action-scroll-down): New functions.
1112 (feedmail-queue-directory, feedmail-queue-draft-directory):
1113 Use expand-file-name.
1114 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1115 Remove C-v help entry.
1116 (feedmail-queue-buffer-file-name): New variable.
1117 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1118 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1119 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1120 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1121 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1122 (feedmail-message-action-toggle-spray)
1123 (feedmail-run-the-queue-no-prompts)
1124 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1125 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1126 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1127 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1128 (feedmail-envelope-deducer, feedmail-fiddle-from)
1129 (feedmail-fiddle-sender, feedmail-default-date-generator)
1130 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1131 (feedmail-fiddle-spray-address)
1132 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1133 (feedmail-fiddle-list-of-fiddle-plexes)
1134 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1135 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1136 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1137 Change default. Doc fix.
1138 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1139 (feedmail-binmail-linuxish-template): New constant.
1140 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1141 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1142 (feedmail-send-it): Add debug call.
1143 Use feedmail-queue-buffer-file-name, and
1144 feedmail-send-it-immediately-wrapper.
1145 (feedmail-message-action-send): Add debug call.
1146 Use feedmail-send-it-immediately-wrapper.
1147 (feedmail-queue-express-to-queue): Add debug call.
1148 Run feedmail-queue-express-hook.
1149 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1150 (feedmail-message-action-help-blat):
1151 Rename from feedmail-queue-send-edit-prompt-help-first.
1152 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1153 Check line-endings. Handle errors better.
1154 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1155 Doc fix. Add debug call.
1156 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1157 Use feedmail-queue-send-edit-prompt-inner.
1158 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1159 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1160 from feedmail-queue-send-edit-prompt.
1161 (feedmail-queue-send-edit-prompt-help)
1162 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1163 (feedmail-tidy-up-slug): Add debug call.
1164 Respect feedmail-queue-slug-suspect-regexp.
1165 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1166 (feedmail-dump-message-to-queue): Add debug call.
1167 Expand queue-directory.
1168 (feedmail-dump-message-to-queue): Change message slightly.
1169 Use feedmail-say-chatter.
1170 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1171 (feedmail-send-it-immediately-wrapper): New function.
1172 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1173 Insert empty string rather than newline. Handle full-frame case.
1174 Use catch/throw. Use feedmail-say-chatter.
1175 (feedmail-fiddle-from): Try mail-host-address.
1176 (feedmail-default-message-id-generator): Doc fix.
1177 Bind system-time-locale. Handle missing end.
1178 (feedmail-fiddle-x-mailer): Add debug call.
1179 Handle feedmail-x-mailer-line being nil.
1180 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1181 Add debug call. Use buffer-substring-no-properties.
1182 (feedmail-say-debug, feedmail-say-chatter): New functions.
1183 (feedmail-find-eoh): Give an explicit error.
1185 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
1187 * net/newst-treeview.el (newsticker-treeview-face): Change default
1188 family from helvetica to sans.
1189 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1190 etc/images/newsticker.
1192 * net/newst-reader.el (newsticker-feed-face): Change default
1193 family from helvetica to sans.
1195 * net/newst-plainview.el (newsticker-new-item-face)
1196 (newsticker-old-item-face, newsticker-immortal-item-face)
1197 (newsticker-obsolete-item-face, newsticker-date-face)
1198 (newsticker-statistics-face): Change default family from
1200 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1201 etc/images/newsticker.
1203 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1204 (newsticker--process-auto-mark-filter-match): : Tell user about
1207 2011-05-13 Didier Verna <didier@xemacs.org>
1209 Common Lisp indentation improvements on defmethod and lambda-lists.
1210 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1211 (lisp-lambda-list-keyword-parameter-indentation)
1212 (lisp-lambda-list-keyword-parameter-alignment)
1213 (lisp-lambda-list-keyword-alignment): New customizable user options.
1214 (lisp-indent-defun-method): Improve docstring.
1215 (extended-loop-p): Fix comment.
1216 (lisp-indent-lambda-list-keywords-regexp): New variable.
1217 (lisp-indent-lambda-list): New function.
1218 (lisp-indent-259): Use it.
1219 (lisp-indent-defmethod): Support for more than one
1220 method qualifier and properly indent methods lambda-lists.
1221 (defgeneric): Provide a missing common-lisp-indent-function property.
1223 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1226 bounds for the empty string (bug#8667).
1228 2011-05-13 Glenn Morris <rgm@gnu.org>
1230 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1232 * mail/sendmail.el (sendmail-program): Try executable-find first.
1233 (sendmail-send-it): `sendmail-program' cannot be unbound.
1235 * calendar/appt.el (appt-make-list): Simplify.
1236 (appt-time-msg-list): Doc fix.
1237 (appt-check): Change mode-line message at the time of the appointment.
1239 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1241 * progmodes/ld-script.el (ld-script-keywords)
1242 (ld-script-builtins): Update keywords list.
1244 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1248 * shell.el (shell-completion-vars): New function.
1250 * simple.el (read-shell-command): Use it.
1251 (blink-matching-open): No need for " [...]" in minibuffer-message.
1253 2011-05-12 Glenn Morris <rgm@gnu.org>
1255 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1256 (appt-check): Simplify.
1258 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1260 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1261 literal "/dev/null".
1263 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1268 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1270 * progmodes/which-func.el (which-function):
1271 Use add-log-current-defun instead of add-log-current-defun-function,
1272 which might not be defined (Bug#8260).
1274 2011-05-12 Glenn Morris <rgm@gnu.org>
1276 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1277 Let byte-compile-initial-macro-environment always take precedence.
1279 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * net/rcirc.el: Add support for SSL/TLS connections.
1282 (rcirc-server-alist): New field `encryption'.
1283 (rcirc): Check `encryption' settings.
1284 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1285 Merge make-local-variable into `set'.
1286 (rcirc--connection-open-p): New function.
1287 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1288 the process is not a network process (e.g. running gnutls-cli).
1289 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1290 Make rcirc-(en|de)code-coding-system local here.
1291 (rcirc-mode): Merge make-local-variable into `set'.
1292 (rcirc-parent-buffer): Make permanent buffer-local.
1293 (rcirc-multiline-minor-mode): Don't do it here.
1294 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1295 there's no server buffer.
1297 2011-05-11 Glenn Morris <rgm@gnu.org>
1299 * newcomment.el (comment-kill): Prefix "unused" local.
1301 * term/w32console.el (get-screen-color): Declare.
1303 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1304 Handle symbol elements of byte-compile-initial-macro-environment.
1306 2011-05-10 Leo Liu <sdl.web@gmail.com>
1308 * bookmark.el (bookmark-bmenu-mode-map):
1309 Bind bookmark-bmenu-search to `/'.
1311 * mail/footnote.el: Convert to utf-8 encoding.
1312 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1313 (Footnote-unicode): New function.
1314 (footnote-style-alist): Add unicode style to the list.
1315 (footnote-style): Doc fix.
1317 2011-05-10 Jim Meyering <meyering@redhat.com>
1319 Fix doubled-word typos.
1320 * international/quail.el (quail-insert-kbd-layout): and and -> and
1321 * kermit.el: and and -> and
1322 * net/ldap.el (ldap-search-internal): to to -> to
1323 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1324 * progmodes/js.el (js-mode): and and -> and
1325 * textmodes/artist.el (artist-move-to-xy): at at -> at
1326 (artist-draw-region-trim-line-endings): if if -> if
1327 And Safetyc -> Safety.
1328 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1330 2011-05-10 Glenn Morris <rgm@gnu.org>
1331 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * files.el (hack-one-local-variable-eval-safep):
1334 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1336 2011-05-10 Glenn Morris <rgm@gnu.org>
1338 * calendar/diary-lib.el (diary-list-entries-hook)
1339 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1340 (diary-nongregorian-marking-hook, diary-list-entries)
1341 (diary-include-other-diary-files, diary-mark-entries)
1342 (diary-mark-included-diary-files): Doc fixes.
1344 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1346 * misc.el: Require tabulated-list.el during compilation.
1348 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1350 * progmodes/compile.el (compilation-start):
1351 Run compilation-filter-hook for the async case too.
1352 (compilation-filter-hook): Doc fix.
1354 2011-05-09 Deniz Dogan <deniz@dogan.se>
1356 * wdired.el: Remove outdated installation comment. Fix usage
1359 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1361 * misc.el: Implement new command `list-dynamic-libraries'.
1362 (list-dynamic-libraries--loaded-only-p): New variable.
1363 (list-dynamic-libraries--refresh): New function.
1364 (list-dynamic-libraries): New command.
1366 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1369 Fix the ant regexp to handle end-line and end-column info from jikes.
1370 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1371 higher priority to avoid clobbering by gnu.
1373 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1375 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1376 if the face has existing theme settings (Bug#8454).
1378 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1380 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1381 Only match variables declared via `my' or `our' (Bug#8261).
1383 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1384 special file names `.' and `..' (Bug#8259).
1386 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1388 * progmodes/grep.el (grep-mode-font-lock-keywords):
1389 Remove buffer-changing entries.
1390 (grep-filter): New function.
1391 (grep-mode): Add it to compilation-filter-hook.
1393 * progmodes/compile.el (compilation-filter-hook)
1394 (compilation-filter-start): New defvars.
1395 (compilation-filter): Call compilation-filter-hook prior to
1396 updating the process mark.
1398 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1402 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1404 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1405 mailclient-send-it even if window-system is nil. (Bug#8595)
1407 * term/w32console.el (terminal-init-w32console):
1408 Call get-screen-color and use its output to set the frame
1409 background-mode. (Bug#8597)
1411 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1413 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1414 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1416 (defgeneric, eieio--defmethod): Use them.
1417 (eieio-defgeneric): Remove.
1418 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1420 2011-05-07 Glenn Morris <rgm@gnu.org>
1422 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1423 Use let rather than let*.
1424 (timeclock-find-discrep): Remove unused local.
1426 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1428 * calendar/appt.el (appt-time-msg-list): Doc fix.
1430 2011-05-06 Noah Friedman <friedman@splode.com>
1432 * apropos.el (apropos-print-doc): Only use
1433 emacs-lisp-docstring-fill-column when it is bound to an integer,
1434 per that variable's documentation.
1436 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1439 and warnings are not silently discarded (e.g. use -d instead of -P).
1441 2011-05-06 Glenn Morris <rgm@gnu.org>
1443 * calendar/appt.el (appt-message-warning-time): Doc fix.
1444 (appt-warning-time-regexp): New option.
1445 (appt-make-list): Respect appt-message-warning-time.
1447 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1449 (diary-add-to-list): Strip comments from the displayed string.
1450 (diary-mode): Set comment-start and comment-end.
1452 * vc/diff-mode.el (smerge-refine-subst): Declare.
1453 (diff-refine-hunk): Don't require smerge-mode when compiling.
1455 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1457 * simple.el (list-processes): Return nil as the docstring says.
1459 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1461 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1463 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1464 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1465 determining of binary transfer. (Bug#7383)
1467 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1469 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1470 Fix port computation bug. (Bug#8618)
1472 2011-05-05 Glenn Morris <rgm@gnu.org>
1474 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1476 * simple.el (shell-dynamic-complete-functions)
1477 (comint-dynamic-complete-functions): Declare.
1479 * net/network-stream.el (gnutls-negotiate):
1480 * simple.el (tabulated-list-print): Fix declarations.
1482 * progmodes/gud.el (syntax-symbol, syntax-point):
1483 Remove unnecessary and incorrect declarations.
1485 * emacs-lisp/check-declare.el (check-declare-scan):
1486 Handle byte-compile-initial-macro-environment in bytecomp.el
1488 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1490 Fix earlier half-done eieio-defmethod change (bug#8338).
1491 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1492 Streamline and change calling convention.
1493 (defmethod): Adjust accordingly and simplify.
1494 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1495 new eieio--defmethod.
1496 (slot-boundp): Minor CSE simplification.
1498 2011-05-05 Milan Zamazal <pdm@zamazal.org>
1500 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1501 (glasses-make-readable): Use glasses-separate-capital-groups.
1503 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
1505 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1506 (warning-series): Doc fix.
1507 (display-warning): Don't try to create the buffer if we just found it.
1509 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
1511 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1512 (autoload-find-generated-file): New function.
1513 (generate-file-autoloads): Bind generated-autoload-file to
1515 (update-file-autoloads, update-directory-autoloads):
1516 Use autoload-find-generated-file. If called interactively, prompt for
1517 output file (Bug#7989).
1518 (batch-update-autoloads): Doc fix.
1520 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1522 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1524 2011-05-04 Glenn Morris <rgm@gnu.org>
1526 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1527 function, so it follows changes in calendar-date-style.
1528 (diary-fancy-date-matcher): New function.
1529 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1530 (diary-fancy-font-lock-fontify-region-function):
1531 Use diary-fancy-date-pattern as a function.
1533 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1534 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1536 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1538 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1539 instead of positional arguments. Allow :keylist and :crlfiles
1541 (open-gnutls-stream): Call it.
1543 * net/network-stream.el (network-stream-open-starttls): Adjust to
1544 call `gnutls-negotiate' with :process and :hostname arguments.
1546 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * minibuffer.el (completion--message): New function.
1549 (completion--do-completion, minibuffer-complete)
1550 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1551 (completion--do-completion): Don't ignore completion-auto-help when in
1554 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1555 internal encoding (e.g. tibetan zero is not whitespace).
1556 (global-whitespace-mode): Prefer save-current-buffer.
1557 (whitespace-trailing-regexp): Remove useless save-match-data.
1558 (whitespace-empty-at-bob-regexp): Minor simplification.
1560 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
1562 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1564 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1566 * textmodes/ispell.el (ispell-add-per-file-word-list):
1567 Use `concat' to create string for insertion.
1569 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1572 Avoid open-line which runs post-self-insert-hook.
1573 (bibtex-fill-entry): Remove unused `end' var.
1575 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1577 * textmodes/ispell.el (ispell-add-per-file-word-list):
1578 Protect against `nil' value of `comment-start' (Bug#8579).
1580 2011-05-03 Leo Liu <sdl.web@gmail.com>
1582 * isearch.el (isearch-yank-pop): New command.
1583 (isearch-mode-map): Bind it to `M-y'.
1584 (isearch-forward): Mention it.
1586 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1588 * simple.el (minibuffer-complete-shell-command): Remove.
1589 (minibuffer-local-shell-command-map): Use completion-at-point.
1590 (read-shell-command): Setup completion vars here instead.
1591 (read-expression-map): Bind TAB to symbol completion.
1593 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1594 error directly rather via storing it into `results'.
1596 2011-05-02 Leo Liu <sdl.web@gmail.com>
1598 * vc/diff.el: Fix description.
1600 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1602 * server.el (server-eval-at): New function.
1604 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1606 * net/network-stream.el (open-network-stream): Take a :nowait
1607 parameter and pass it on to `make-network-process'.
1608 (network-stream-open-plain): Ditto.
1610 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1612 * faces.el (face-spec-set-match-display): Don't match toolkit
1613 options on terminal frames.
1615 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * progmodes/pascal.el: Use lexical binding.
1618 (pascal-mode-map): Remove author preferences.
1620 * pcomplete.el (pcomplete-std-complete): Don't abuse
1621 completion-at-point.
1623 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1625 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1626 removing code that has been dead since 1991 or so.
1628 * startup.el (command-line): When warning about "_emacs", use a
1629 delayed warning to allow the user to filter it out.
1631 2011-04-28 Deniz Dogan <deniz@dogan.se>
1633 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1634 user has not joined.
1636 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1639 aren't any completions at point.
1641 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1643 * subr.el (display-delayed-warnings): New function.
1644 (delayed-warnings-hook): New variable.
1646 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * minibuffer.el (completion-at-point, completion-help-at-point):
1649 Don't presume that a given completion-at-point-function will always
1650 use the same calling convention.
1652 * pcomplete.el (pcomplete-completions-at-point):
1653 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1654 pcomplete-seen is non-nil.
1655 (pcomplete-comint-setup): Also recognize the new comint/shell
1656 completion functions.
1657 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1658 pcomplete-seen is non-nil.
1660 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1662 * calendar/icalendar.el (diary-lib): Add require statement.
1663 (icalendar--create-uid): Read out a uid from a text-property on
1664 the first character in the entry. This allows for code to add its
1665 own uid to the entry.
1666 (icalendar--convert-float-to-ical): Add export of
1667 `diary-float'-entries save for those with the optional DAY
1670 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1672 * subr.el (shell-quote-argument): Use alternate escaping strategy
1673 when we spot a variable reference in a string.
1675 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1677 * cus-start.el (all): Define customization for debug-on-event.
1679 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1681 * subr.el (shell-quote-argument): Escape correctly under Windows.
1683 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1687 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1689 * net/tramp.el (tramp-process-actions): Add POS argument.
1690 Delete region between POS and (pos).
1692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1693 Use `nil' position in `tramp-process-actions' call.
1694 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1696 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1697 position in `tramp-process-actions' call.
1699 * net/trampver.el: Update release number.
1701 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * custom.el (defcustom): Obey lexical-binding.
1705 Fix octave-inf completion problems reported by Alexander Klimov.
1706 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1707 Inherit from octave-mode-syntax-table.
1708 (inferior-octave-mode): Set info-lookup-mode.
1709 (inferior-octave-completion-at-point): New function.
1710 (inferior-octave-complete): Use it and completion-in-region.
1711 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1712 comint-filename-completion.
1713 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1714 symbol elements which shouldn't be word elements.
1715 (octave-font-lock-keywords, octave-beginning-of-defun)
1716 (octave-function-header-regexp): Adjust regexps accordingly.
1717 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1719 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1721 * net/gnutls.el (gnutls-errorp): Declare before first use.
1723 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1725 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1726 verify-error, and verify-hostname-error parameters. Check whether
1727 default trustfile exists before going to use it. Add missing
1728 argument to gnutls-message-maybe call. Return return value.
1729 Reported by Claudio Bley <claudio.bley@gmail.com>.
1730 (open-gnutls-stream): Add usage example.
1732 * net/network-stream.el (network-stream-open-starttls): Give host
1733 parameter to `gnutls-negotiate'.
1734 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1735 * subr.el (shell-quote-argument): Escape correctly under Windows.
1737 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1740 Use correct match group (bug#8438).
1742 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1744 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1745 (package-menu--generate): New arg specifying packages to show.
1746 (package-menu-refresh, package-menu-execute, list-packages):
1748 (package-show-package-list): New function, replacing deleted
1749 package--list-packages (renamed because it is non-internal).
1751 * finder.el (finder-list-matches): Use package-show-package-list
1752 instead of deleted package--list-packages.
1754 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1755 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1756 (vc-annotate-mode-map): Bind it to RET.
1758 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1760 * progmodes/etags.el (next-file): Don't use set-buffer to change
1763 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1765 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1767 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1768 (apropos-accumulator): Doc fix.
1769 (apropos-function, apropos-macro, apropos-command)
1770 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1771 (apropos-plist): Add face property.
1772 (apropos-symbols-internal): Fix indentation.
1773 (apropos-print): Simplify help, and recognize apropos-multi-type.
1774 (apropos-print-doc): Use button-type-get to extract the button's
1775 face property. Fill docstring (Bug#8352).
1777 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1779 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1781 * play/mpuz.el (mpuz-silent): Doc fix.
1782 (mpuz-mode-map): Use mapc.
1783 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1784 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1785 Fix typos in docstrings.
1787 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1788 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1790 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1792 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
1794 * minibuffer.el (completion--do-completion): Avoid the "Next char
1795 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1797 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1798 mouse-2 into unread-command-events, it is interpreted correctly.
1800 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1801 (image-toggle-display): Doc fix.
1803 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
1805 * textmodes/page.el (what-page): Use line-number-at-pos to
1806 calculate line number (Bug#6825).
1808 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1810 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1811 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1812 Pass argument NO-DEFAULT to `find-tag-interactive'.
1814 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1816 Lexical-binding cleanup.
1818 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1819 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1820 * progmodes/ada-prj.el (ada-prj-initialize-values)
1821 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1822 (ada-prj-show-value):
1823 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1824 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1825 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1826 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1827 * progmodes/bug-reference.el (bug-reference-push-button):
1828 * progmodes/fortran.el (fortran-line-length):
1829 * progmodes/glasses.el (glasses-change):
1830 * progmodes/octave-mod.el (octave-fill-paragraph):
1831 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1832 (python-pdbtrack-grub-for-buffer, python-sentinel):
1833 * progmodes/sql.el (sql-save-connection):
1834 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1835 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1836 Mark unused parameters.
1838 * progmodes/compile.el (compilation--flush-directory-cache)
1839 (compilation--flush-parse, compile-internal): Mark unused parameters.
1840 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1841 (compilation-next-error-function): Remove unused variable `timestamp'.
1843 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1844 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1846 * progmodes/dcl-mode.el (dcl-end-of-command):
1847 Remove unused variable `start'.
1848 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1849 (dcl-option-value-basic, dcl-option-value-offset)
1850 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1851 Mark unused parameters.
1852 (dcl-save-local-variable): Remove unused variable `val'.
1855 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1856 Mark unused parameters.
1857 (delphi-ignore-changes): Move before first use.
1858 (delphi-charset-token-at): Remove unused variable `start'.
1859 (delphi-else-start): Remove unused variable `if-count'.
1860 (delphi-comment-block-start, delphi-comment-block-end):
1861 Remove unused variable `kind'.
1862 (delphi-indent-line): Remove unused variable `new-point'.
1864 * progmodes/ebrowse.el (ebrowse-files-list)
1865 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1866 Mark unused parameters. Don't quote `lambda'.
1867 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1868 Don't quote `lambda'.
1869 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1870 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1871 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1872 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1873 Use `ignore-errors'.
1874 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1875 (ebrowse-view/find-file-and-search-pattern)
1876 (ebrowse-view/find-member-declaration/definition):
1877 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1878 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1879 Rename parameter PREFIX-ARG to PREFIX.
1880 (ebrowse-tags-read-name): Remove unused variables `start' and
1882 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1885 * progmodes/etags.el (local-find-tag-hook): Declare.
1886 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1887 Mark unused parameters.
1889 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1890 (executable-interpret): Mark unused parameter.
1892 * progmodes/flymake.el (flymake-process-sentinel)
1893 (flymake-after-change-function)
1894 (flymake-create-temp-with-folder-structure)
1895 (flymake-get-include-dirs-dot): Mark unused parameters.
1896 (flymake-safe-delete-directory): Remove unused variable `err'.
1898 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1899 (speedbar-timer-fn, speedbar-line-text)
1900 (speedbar-change-expand-button-char, speedbar-delete-subblock)
1901 (speedbar-center-buffer-smartly): Declare functions.
1902 (gdb-find-watch-expression): Remove unused variable `array'.
1903 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1904 (gdb-starting): Mark unused parameters.
1905 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1906 (gdb-table-string): Remove unused variable `res'.
1907 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1908 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1909 (gdb-display-buffer): Remove unused variable `cur-size'.
1911 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1912 allow lexical-binding compilation.
1913 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1914 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1915 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1916 Mark unused parameters.
1917 (gud-gdb-marker-filter): Remove unused variable `match'.
1918 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1919 lambda expressions and funcall them, instead of using `fset'.
1921 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1922 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1924 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1925 variable `header-beg'; use `let'.
1927 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1928 `restart', `last-sexp' and `at-do'.
1930 * progmodes/js.el (js--debug): Mark unused parameter.
1931 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1932 (js--splice-into-items): Remove unused variable `item'.
1933 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1935 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1936 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1937 (makefile-complete): Remove unused variable `try'.
1938 (makefile-fill-paragraph, makefile-match-function-end):
1939 Mark unused parameters.
1941 * progmodes/octave-inf.el (inferior-octave-complete):
1942 Remove unused variable `proc'.
1943 (inferior-octave-output-digest): Mark unused parameter.
1945 * progmodes/perl-mode.el (perl-calculate-indent):
1946 Remove unused variable `err'.
1948 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1949 (prolog-indent-line): Mark unused parameters.
1950 (prolog-indent-line): Remove unused variable `beg'.
1952 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1953 (reporter-dont-compact-list): Declare.
1955 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1956 Remove unused variable `char'.
1957 (sh-debug): Mark unused parameter.
1958 (sh-get-indent-info): Remove unused variable `start'.
1959 (sh-calculate-indent): Remove unused variable `var'.
1961 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1962 (simula-electric-keyword): Remove unused variable `null'.
1963 (simula-search-backward, simula-search-forward): Remove unused
1964 variables `begin' and `end'.
1966 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1967 Remove unused variable `pos'.
1968 (vera-electric-tab, vera-comment-uncomment-region):
1969 Mark unused parameters.
1970 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1972 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
1974 * emacs-lisp/package.el (package--builtins, package-alist)
1975 (package-load-descriptor, package-built-in-p, package-activate)
1976 (define-package, package-installed-p)
1977 (package-compute-transaction, package-buffer-info)
1978 (package--push): Doc fix. Distinguish more clearly between
1979 version strings and version lists.
1981 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
1983 Lexical-binding cleanup.
1985 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1986 (5x5-make-mutate-best):
1987 * play/fortune.el (fortune-in-buffer):
1988 * play/gomoku.el (gomoku-init-display):
1989 * play/solitaire.el (solitaire, solitaire-do-check):
1990 * play/tetris.el (tetris-default-update-speed-function):
1991 Mark unused parameters.
1993 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1994 (bubbles--shift): Remove unused variable `char-org'.
1995 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1996 (bubbles--show-images): Remove unused variable `char'.
1998 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1999 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2000 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2001 (decipher-analyze-buffer): Use ?\s.
2002 (decipher-make-checkpoint): Remove unused variable `mapping'.
2004 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2006 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2007 Remove unused variable `result'; use `let'.
2009 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2010 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2011 (gametree-children-shown-p, gametree-compute-reduced-score):
2012 Use `ignore-errors'.
2014 * play/handwrite.el (ps-lpr-switches): Declare.
2015 (handwrite): Remove unused variables `pmin' and `lastp'.
2017 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2019 * play/landmark.el (landmark-init-display)
2020 (landmark-update-naught-weights): Mark unused parameters.
2021 (landmark-y): Remove unused variable `noise'. Simplify.
2022 (landmark-human-plays): Remove unused variable `score'.
2024 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2025 (mpuz-try-proposal): Remove unused variable `game'.
2027 * play/zone.el (life-patterns): Declare.
2029 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
2031 * vc/vc.el (ediff-vc-internal): Declare function.
2033 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * shell.el: Use lexical-binding and std completion UI.
2036 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2037 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2038 comint-preoutput-filter-functions rather than on
2039 comint-output-filter-functions.
2040 (shell-command-completion, shell--command-completion-data)
2041 (shell-filename-completion, shell-environment-variable-completion)
2042 (shell-c-a-p-replace-by-expanded-directory): New functions.
2043 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2044 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2045 (shell-dynamic-complete-environment-variable): Use them.
2046 (shell-dynamic-complete-as-environment-variable)
2047 (shell-dynamic-complete-as-command): Remove.
2048 (shell-match-partial-variable): Match past point.
2049 * comint.el: Clean up use of completion-at-point-functions.
2050 (comint-completion-at-point): New function.
2051 (comint-mode): Use it completion-at-point-functions.
2052 (comint-dynamic-complete): Make it obsolete.
2053 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2054 (comint-c-a-p-replace-by-expanded-history): New function.
2055 (comint-dynamic-complete-functions)
2056 (comint-replace-by-expanded-history): Use it.
2057 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2058 termination strings. Try harder to avoid second try-completion.
2059 (completion-in-region-mode-map): Disable bindings that don't work yet.
2061 * comint.el: Use lexical-binding. Require CL.
2062 (comint-dynamic-complete-functions): Use comint-filename-completion.
2063 (comint-completion-addsuffix): Tweak custom type.
2064 (comint-filename-completion, comint--common-suffix)
2065 (comint--common-quoted-suffix, comint--table-subvert)
2066 (comint--complete-file-name-data): New functions.
2067 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2068 (comint-dynamic-list-filename-completions): Use them.
2069 (comint-dynamic-simple-complete): Make obsolete.
2071 * minibuffer.el (completion-in-region-mode):
2072 Keep completion-in-region-mode--predicate global.
2073 (completion-in-region--postch):
2074 Assume completion-in-region-mode--predicate is not null.
2076 * progmodes/flymake.el (flymake-start-syntax-check-process):
2077 Obey `dir'. Simplify.
2079 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2080 we're in VC after all.
2082 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2084 * vc/vc.el (vc-diff-build-argument-list-internal)
2085 (vc-version-ediff, vc-ediff): New commands.
2086 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2088 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2093 * obsolete/erc-hecomplete.el: Make obsolete.
2094 * obsolete/: Standardize obsolescence info in the header.
2096 2011-04-20 Glenn Morris <rgm@gnu.org>
2098 * calendar/solar.el (solar-horizontal-coordinates):
2099 Use the longitude argument rather than `calendar-longitude'.
2100 (solar-date-next-longitude): Remove unused locals.
2102 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2104 * whitespace.el: New version 13.2.1.
2106 2011-04-20 felix <EmacsWiki> (tiny change)
2108 * whitespace.el (global-whitespace-mode): keep highlight when
2109 switching between major modes on a file.
2111 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2114 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2115 multi-line comments as well.
2117 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
2119 Lexical-binding cleanup.
2121 * arc-mode.el (archive-mode-revert):
2122 * cmuscheme.el (scheme-interactively-start-process):
2123 * custom.el (custom-initialize-delay):
2124 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2125 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2126 * emacs-lock.el (emacs-lock-clear-sentinel):
2127 * ezimage.el (defezimage):
2128 * follow.el (follow-avoid-tail-recenter):
2129 * fringe.el (set-fringe-mode-1):
2130 * generic-x.el (bat-generic-mode-compile):
2131 * help-mode.el (help-info-variable, help-do-xref)
2132 (help-mode-revert-buffer):
2133 * help.el (view-emacs-todo):
2134 * iswitchb.el (iswitchb-completion-help):
2135 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2136 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2137 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2138 * locate.el (locate-update):
2139 * longlines.el (longlines-encode-region)
2140 (longlines-after-change-function):
2141 * outline.el (outline-isearch-open-invisible):
2142 * ps-def.el (declare-function, charset-dimension, char-width)
2144 * ps-mule.el (ps-mule-plot-string):
2145 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2146 (recentf-edit-list-select, recentf-edit-list-validate)
2147 (recentf-open-files-action):
2148 * rect.el (delete-whitespace-rectangle-line)
2149 (rectangle-number-line-callback):
2150 * register.el (window-configuration-to-register)
2151 (frame-configuration-to-register):
2152 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2153 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2154 (xselect-convert-to-targets, xselect-convert-to-delete)
2155 (xselect-convert-to-filename, xselect-convert-to-charpos)
2156 (xselect-convert-to-lineno, xselect-convert-to-colno)
2157 (xselect-convert-to-os, xselect-convert-to-host)
2158 (xselect-convert-to-user, xselect-convert-to-class)
2159 (xselect-convert-to-name, xselect-convert-to-integer)
2160 (xselect-convert-to-atom, xselect-convert-to-identity):
2161 * subr.el (declare, ignore, process-kill-without-query)
2162 (text-clone-maintain):
2163 * terminal.el (te-get-char, te-tic-sentinel):
2164 * tool-bar.el (tool-bar-make-keymap):
2165 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2166 * type-break.el (type-break-mode, type-break-noninteractive-query):
2167 * view.el (View-back-to-mark):
2168 * wid-browse.el (widget-browse-action, widget-browse-widget)
2169 (widget-browse-widgets, widget-browse-sexp):
2170 * widget.el (define-widget-keywords):
2171 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2172 Mark unused parameters.
2174 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2175 (align-areas): Remove unused variable `look'.
2176 (align-region): Remove unused variables `real-end' and `pos-list'.
2178 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2180 * bindings.el (mode-line-modified, mode-line-remote):
2181 Mark unused parameters.
2182 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2184 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2185 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2187 * comint.el (comint-history-isearch-pop-state)
2188 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2189 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2190 (comint-substitute-in-file-name): Doc fix.
2192 * completion.el (cmpl-statistics-block): Mark unused parameter.
2193 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2194 (save-completions-to-file, load-completions-from-file):
2195 Remove unused local variable `e'.
2197 * composite.el (compose-chars): Remove unused variable `len'.
2198 (lgstring-insert-glyph): Remove unused variable `g'.
2199 (compose-glyph-string): Remove unused variables `ascent',
2200 `descent', `lbearing' and `rbearing'.
2201 (compose-glyph-string-relative): Remove unused variables
2202 `lbearing', `rbearing' and `wadjust'.
2203 (compose-gstring-for-graphic): Remove unused variables `header',
2204 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2205 (compose-gstring-for-terminal): Remove unused variables `header'
2206 and `nchars'. Use `let', not `let*'.
2208 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2209 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2210 (Custom-buffer-done, custom-buffer-create-internal)
2211 (custom-browse-visibility-action, custom-browse-group-tag-action)
2212 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2213 (widget-magic-mouse-down-action, custom-toggle-parent)
2214 (custom-add-parent-links, custom-toggle-hide-variable)
2215 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2216 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2217 (custom-face-menu-create, custom-variable-menu-create, get)
2218 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2219 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2220 (customize-apropos): Remove unused variable `tests'.
2221 (custom-group-value-create): Remove unused variable `hidden-p'.
2222 (sort-fold-case): Declare.
2224 * cus-theme.el (custom-reset-standard-faces-list)
2225 (custom-reset-standard-variables-list): Declare.
2226 (customize-create-theme, custom-theme-revert, custom-theme-write)
2227 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2228 Mark unused parameters.
2230 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2232 * delim-col.el (delimit-columns-max): Move defvar before first use.
2234 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2235 (describe-char): Don't quote `lambda'. Mark unused parameter.
2237 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2238 (auto-insert): Declare.
2239 (desktop-restore-file-buffer): Rename desktop-* parameters;
2241 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2242 (desktop-buffer): Rename desktop-* parameters.
2244 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2245 (dframe-reposition-frame-xemacs, dframe-help-echo)
2246 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2247 Mark unused parameters.
2249 * dired-aux.el (backup-extract-version-start, overwrite-query)
2250 (overwrite-backup-query, rename-regexp-query)
2251 (rename-non-directory-query): Declare.
2252 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2253 (dired-add-entry): Remove unused variable `orig-file-name'.
2254 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2255 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2256 `dired-copy-preserve-time' directly.
2257 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2258 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2260 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2261 (dired-virtual-revert, dired-make-relative-symlink):
2262 Mark unused parameters.
2263 (manual-program): Declare.
2264 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2265 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2266 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2268 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2270 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2272 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2275 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2277 * electric.el (Electric-command-loop): Rename parameter
2278 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2280 * expand.el (expand-in-literal): Remove unused variable `here'.
2282 * facemenu.el (facemenu-add-new-color):
2283 Remove unused variable `docstring'.
2285 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2286 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2287 (face-attr-construct): Mark unused parameter. Doc fix.
2288 (read-color): Remove unused variable `hex-string'.
2290 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2291 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2292 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2293 (display-buffer-other-frame): Remove unused variable `old-window'.
2294 (kill-buffer-hook): Declare.
2295 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2296 Mark unused parameters.
2297 (after-find-file): Pass 1 to `auto-save-mode', not t.
2299 * files-x.el (auto-insert): Declare.
2300 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2302 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2303 variable `buf'. Mark unused parameter.
2304 (find-lisp-insert-directory): Mark unused parameter.
2306 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2307 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2308 (format-common-tail): Remove, unused.
2309 (format-deannotate-region): Remove unused variable `loc'.
2310 (format-annotate-region): Remove unused variable `p'.
2311 (format-annotate-single-property-change): Remove unused variables
2312 `default' and `tail'.
2314 * forms.el (read-file-filter): Declare.
2315 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2317 * frame.el (frame-creation-function-alist): Mark unused parameter.
2318 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2320 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2321 Remove unused parameters.
2322 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2323 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2325 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2326 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2327 (hfy-prepare-tag-map): Mark unused parameters.
2328 (htmlfontify-buffer): Use `called-interactively-p'.
2330 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2331 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2332 (ibuffer-do-occur): Mark unused parameters.
2333 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2334 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2336 * ibuffer.el: Don't quote `lambda'.
2337 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2338 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2339 Mark unused parameters.
2341 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2342 (ido-completing-read): Mark unused parameters.
2343 (ido-copy-current-word): Mark unused parameters;
2344 remove unused variable `name'.
2345 (ido-sort-merged-list): Remove unused parameter `dirs'.
2347 * ielm.el (ielm-input-sender): Mark unused parameter.
2348 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2349 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2350 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2351 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2352 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2354 * image-dired.el (image-dired-display-thumbs): Remove unused
2355 variables `curr-file' and `count'.
2356 (image-dired-remove-tag): Remove unused variable `start'.
2357 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2358 variable `curr-file'
2359 (image-dired-rotate-original): Remove unused variable `temp-file'.
2360 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2361 Remove unused variable `file'.
2362 (image-dired-gallery-generate): Remove unused variable `curr'.
2363 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2365 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2367 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2369 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2371 * isearch.el (minibuffer-history-symbol): Declare.
2372 (isearch-edit-string): Remove unused variable `err'.
2373 (isearch-message-prefix, isearch-message-suffix):
2374 Mark unused parameters.
2376 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2378 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2380 * makesum.el (double-column): Remove unused variable `cnt'.
2382 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2383 (ido-ignore-item-temp-list): Declare.
2385 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2386 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2387 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2388 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2391 * mouse-sel.el (mouse-extend-internal):
2392 Remove unused variable `orig-window-frame'.
2394 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2395 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2396 Move declarations before first use.
2397 (pcomplete-opt): Mark unused parameters; doc fix.
2399 * proced.el (proced-revert): Mark unused parameter.
2400 (proced-send-signal): Remove unused variable `err'.
2402 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2403 Rename parameter PREFIX-ARG to ARG.
2404 (ps-basic-plot-string, ps-basic-plot-whitespace):
2405 Mark unused parameters.
2407 * replace.el (replace-count): Define.
2408 (occur-revert-function): Mark unused parameters.
2409 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2410 (isearch-case-fold-search, isearch-string): Declare.
2411 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2412 bind `case-fold-search'. Remove unused variables `beg' and `end',
2414 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2415 COUNT and bind `replace-count'.
2416 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2419 * savehist.el (print-readably, print-string-length): Declare.
2421 * shadowfile.el (shadow-expand-cluster-in-file-name):
2422 Remove unused variable `cluster'.
2423 (shadow-copy-file): Remove unused variable `i'.
2424 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2425 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2426 (shadow-define-literal-group, shadow-define-regexp-group)
2427 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2429 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2430 (shell): Use `called-interactively-p'.
2431 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2433 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2434 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2435 (delete-backward-char): Remove unused variable `ocol'.
2436 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2437 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2438 (event-apply-hyper-modifier, event-apply-shift-modifier)
2439 (event-apply-control-modifier, event-apply-meta-modifier):
2440 Mark unused parameters.
2441 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2442 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2444 * speedbar.el (speedbar-ignored-directory-expressions)
2445 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2446 (speedbar-find-file, speedbar-dir-follow)
2447 (speedbar-directory-buttons-follow, speedbar-tag-find)
2448 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2449 (speedbar-buffers-line-directory, speedbar-buffer-click):
2450 Mark unused parameters.
2451 (speedbar-tag-file): Remove unused variable `mode'.
2452 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2454 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2456 * talk.el (talk): Remove unused variable `display'.
2458 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2459 (tar-write-region-annotate): Mark unused parameter.
2461 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2462 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2463 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2466 * time-stamp.el (time-stamp-string-preprocess):
2467 Remove unused variable `require-padding'.
2469 * tree-widget.el (widget-glyph-enable): Declare.
2470 (tree-widget-action): Mark unused parameter.
2472 * w32-fns.el (x-get-selection): Mark unused parameter.
2473 (autoload-make-program, generated-autoload-file): Declare.
2475 * wdired.el (wdired-revert): Mark unused parameters.
2476 (wdired-xcase-word): Remove unused variable `err'.
2478 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2479 (whitespace-help-scroll): Remove unused variable `data-help'.
2481 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2482 (widget-image-insert, widget-after-change, default)
2483 (widget-default-format-handler, widget-default-notify)
2484 (widget-default-prompt-value, widget-info-link-action)
2485 (widget-url-link-action, widget-function-link-action)
2486 (widget-variable-link-action, widget-file-link-action)
2487 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2488 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2489 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2490 (widget-insert-button-action, widget-delete-button-action, visibility)
2491 (widget-documentation-link-action, widget-documentation-string-action)
2492 (widget-const-prompt-value, widget-regexp-match, symbol)
2493 (widget-coding-system-prompt-value)
2494 (widget-key-sequence-value-to-external, sexp)
2495 (widget-sexp-value-to-internal, character, vector, cons)
2496 (widget-choice-prompt-value, widget-boolean-prompt-value)
2497 (widget-color--choose-action): Mark unused parameters.
2498 (widget-item-match-inline, widget-choice-match-inline)
2499 (widget-checklist-match, widget-checklist-match-inline)
2500 (widget-group-match): Rename parameter VALUES to VALS.
2501 (widget-field-value-set): Remove unused variable `size'.
2502 (widget-color-action): Remove unused variables `value' and `start'.
2504 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2505 variable `dir'. Doc fix.
2506 (windmove-find-other-window): Don't pass it.
2508 * window.el (count-windows): Mark unused parameter.
2509 (bw-adjust-window): Remove unused variable `err'.
2511 * woman.el (woman-file-name): Remove unused variable `default'.
2512 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2513 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2514 (global-font-lock-mode): Declare.
2515 (woman-decode-region): Mark unused parameter.
2516 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2518 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2519 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2520 (x-dnd-handle-moz-url): Remove unused variable `title'.
2521 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2523 * xml.el (xml-parse-tag, xml-parse-attlist):
2524 Remove unused variable `pos'.
2526 2011-04-19 Glenn Morris <rgm@gnu.org>
2528 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2529 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2530 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2531 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2532 * calendar/cal-html.el (cal-html-insert-minical):
2533 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2534 (calendar-mark-date-pattern):
2535 Prefix "unused" locals.
2537 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2538 optional argument `style'.
2540 * calendar/appt.el (appt-make-list):
2541 * calendar/cal-china.el (calendar-chinese-date-string):
2542 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2543 (diary-hebrew-yahrzeit):
2544 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2545 * calendar/calendar.el (calendar-generate-window):
2546 * calendar/time-date.el (time-to-days):
2547 Remove unused local variables.
2549 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
2551 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2552 glyphless-char-display table.
2553 (tabulated-list-glyphless-char-display): New var.
2555 2011-04-18 Sam Steingold <sds@gnu.org>
2557 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2560 2011-04-17 Glenn Morris <rgm@gnu.org>
2562 * calendar/diary-lib.el (diary-sexp-entry):
2563 * calendar/holidays.el (holiday-sexp):
2564 Set debug-on-error rather than the removed stack-trace-on-error.
2566 2011-04-16 Glenn Morris <rgm@gnu.org>
2568 * progmodes/f90.el: Use lexical-binding.
2569 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2571 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2574 (mail-mode): Setup mailalias completion here instead.
2575 * mail/mailalias.el: Use lexical-binding.
2576 (pattern, mailalias-done): Declare dynamic.
2577 (mail-completion-at-point-function): New function, from mail-complete.
2578 (mail-complete): Use it.
2579 (mail-completion-expand): New function.
2580 (mail-get-names): Use it.
2581 (mail-directory, mail-directory-process, mail-directory-stream):
2582 Don't use `pattern' for lexically bound arg.
2584 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2586 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2587 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2588 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2590 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2591 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2592 (byte-interactive-p): Define them again, for use when inlining
2595 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2597 * loadup.el: Use `string-to-number', not `string-to-int'.
2599 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2601 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2602 gud-gdb-complete-command.
2603 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2604 (gud-gdb-completion-at-point): New function.
2605 (gud-gdb-completions): Remove.
2607 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2609 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2610 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2611 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2612 whether `executable-find' is bound.
2614 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2616 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * minibuffer.el (completion-in-region-mode-predicate)
2619 (completion-in-region-mode--predicate): New vars.
2620 (completion-in-region, completion-in-region--postch)
2621 (completion-in-region-mode): Use them.
2622 (completion--capf-wrapper): Also return the hook function.
2623 (completion-at-point, completion-help-at-point):
2624 Adjust and provide a predicate.
2626 Preserve arg names for advice of subr and lexical functions (bug#8457).
2627 * help-fns.el (help-function-arglist): Consolidate the subr and
2628 new-byte-code cases. Add argument `preserve-names' to extract names
2629 from the docstring when needed.
2630 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2631 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2632 (ad-arglist): Use help-function-arglist's new arg.
2633 (ad-definition-type): Use cond.
2635 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2637 * autorevert.el (auto-revert-handler):
2638 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2639 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2642 * image-mode.el (image-transform-set-scale):
2643 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2645 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2647 * net/network-stream.el (network-stream-open-starttls): Only do
2648 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2649 Upgrades via gnutls-cli are too slow to be done opportunistically.
2651 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2653 * dframe.el (dframe-current-frame): Remove spurious quote.
2655 2011-04-12 Glenn Morris <rgm@gnu.org>
2657 * calendar/cal-tex.el (cal-tex-end-document):
2658 Try to automatically use latin1 input if needed.
2660 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2661 Don't try to cons a mark onto an empty element.
2663 2011-04-11 Leo Liu <sdl.web@gmail.com>
2665 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2667 (ido-kill-buffer-at-head): Support killing virtual buffers.
2669 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2671 * minibuffer.el (completion-show-inline-help): New var.
2672 (completion--do-completion, minibuffer-complete)
2673 (minibuffer-force-complete, minibuffer-complete-word):
2674 Inhibit minibuffer messages if completion-show-inline-help is nil.
2676 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2677 to avoid interference from inline help (Bug#5849).
2679 2011-04-10 Leo Liu <sdl.web@gmail.com>
2681 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2684 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2686 * image-mode.el (image-toggle-display-image): Signal an error if
2688 (image-transform-mode, image-transform-resize)
2689 (image-transform-set-rotation): Doc fix.
2690 (image-transform-set-resize): Delete.
2691 (image-transform-set-scale, image-transform-fit-to-height)
2692 (image-transform-fit-to-width): Handle image-toggle-display-image
2693 and image-transform-resize directly.
2695 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2697 * doc-view.el (doc-view-fit-width-to-window)
2698 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2699 New functions for fitting the shown image to the Emacs window size.
2700 (doc-view-mode-map): Add bindings for the new functions.
2702 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2704 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2705 Fix typo in docstring.
2707 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2709 * files.el (file-size-human-readable): Produce one digit after
2710 decimal, like "ls -lh" does.
2712 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2713 the file size representation.
2715 * simple.el (list-processes): If async subprocesses are not
2716 available, error out with a clear error message.
2718 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2720 * help.el (help-form-show): New function, to be called from C.
2721 Put help-form output in a buffer named differently than *Help*.
2723 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2725 * files.el (file-size-human-readable): New function.
2727 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2728 computing the representation inline. Don't require `cl'.
2730 2011-04-08 Glenn Morris <rgm@gnu.org>
2732 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2734 * net/browse-url.el (browse-url-firefox):
2735 Test system-type, not system-configuration.
2737 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2738 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2739 Use log-edit-empty-buffer-p. (Bug#7598)
2741 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2742 (rlogin-mode-map): Initialize in the defvar.
2743 (rlogin): Use ignore-errors.
2745 * replace.el (occur-mode-map): Some fixes for menu items.
2747 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2749 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2751 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2753 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2754 issuing unused warnings.
2756 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2759 * simple.el: Lisp reimplement of list-processes. Based on an
2760 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2761 (process-menu-mode): New major mode.
2762 (list-processes--refresh, list-processes):
2763 (process-menu-visit-buffer): New functions.
2765 * files.el (save-buffers-kill-emacs): Don't assume any return
2766 value of list-processes, which is undocumented anyway.
2768 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2770 * emacs-lisp/tabulated-list.el: New file.
2772 * emacs-lisp/package.el: Use Tabulated List mode.
2773 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2774 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2775 table format using Tabulated List mode variables.
2776 (package--push): New macro, replacing package-list-maybe-add.
2777 (package-menu--generate): Use package--push. Renamed from
2778 package--generate-package-list.
2779 (package-menu-refresh, list-packages): Use it.
2780 (package-menu--print-info): Rename from package-print-package.
2781 Return insertion data instead of inserting it directly.
2782 (package-menu-describe-package, package-menu-execute):
2783 Use tabulated-list-get-id.
2784 (package-menu-mark-delete, package-menu-mark-install)
2785 (package-menu-mark-unmark, package-menu-backup-unmark)
2786 (package-menu-mark-obsolete-for-deletion):
2787 Use tabulated-list-put-tag.
2788 (package--list-packages, package-menu-revert)
2789 (package-menu-get-package, package-menu-get-version)
2790 (package-menu-sort-by-column): Functions deleted.
2791 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2792 (package-menu--status-predicate, package-menu--version-predicate)
2793 (package-menu--name-predicate)
2794 (package-menu--description-predicate): Handle arguments in the
2795 Tabulated List format.
2796 (package-list-packages-no-fetch): Call list-packages.
2798 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
2800 * files.el (after-find-file-from-revert-buffer): Remove variable.
2801 (after-find-file): Don't bind it.
2802 (revert-buffer-in-progress-p): New variable.
2803 (revert-buffer): Bind it.
2804 Pass nil for `after-find-file-from-revert-buffer'.
2806 * saveplace.el (save-place-find-file-hook): Use new variable
2807 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2809 2011-04-06 Glenn Morris <rgm@gnu.org>
2811 * Makefile.in (AUTOGEN_VCS): New variable.
2812 (autoloads): Use $AUTOGEN_VCS.
2814 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2815 * calendar/calendar.el (calendar-mode-map):
2816 Check for toolkit scroll bars. (Bug#8305)
2818 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2820 * minibuffer.el (completion-in-region--postch)
2821 (completion-in-region-mode): Remove unnecessary messages.
2823 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
2825 * font-lock.el (font-lock-refresh-defaults):
2826 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2827 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2829 * info.el (Info-directory-list, Info-read-node-name-2)
2830 (Info-split-parameter-string): Doc fixes.
2831 (Info-virtual-nodes): Reflow docstring.
2832 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2833 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2834 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2835 Fix typos in docstrings.
2836 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2837 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2838 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2839 (Info-restore-desktop-buffer): Mark unused parameters.
2840 (Info-directory-find-file, Info-directory-find-node)
2841 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2842 (Info-virtual-index-find-node, Info-apropos-find-file)
2843 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2844 Mark unused parameters; fix typos in docstrings.
2845 (Info-virtual-index): Remove unused local variable `nodename'.
2847 2011-04-05 Deniz Dogan <deniz@dogan.se>
2849 * net/rcirc.el: Update my e-mail address.
2850 (rcirc-mode-map): Remove M-o binding.
2852 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2854 * startup.el (command-line): Save the cursor's theme-face
2855 directly, instead of using face-override-spec.
2857 * custom.el (load-theme): Minor optimization in assigning faces.
2859 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2861 * help-fns.el (describe-variable): Complete all variables having
2862 documentation, including keywords.
2863 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2865 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2867 Convert to lexical-binding.
2869 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2870 (bs--get-marked-string, bs--get-modified-string)
2871 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2872 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2873 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2875 * ehelp.el (electric-help-execute-extended)
2876 (electric-help-ctrl-x-prefix):
2877 * hexl.el (hexl-revert-buffer-function):
2878 * linum.el (linum-after-change, linum-after-scroll):
2879 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2881 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2883 2011-04-04 Daiki Ueno <ueno@unixuser.org>
2890 * epg.el: Use lexical binding.
2892 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
2894 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2896 * textmodes/flyspell.el (flyspell-word): Recognize default
2897 dictionary case for flyspell-mark-duplications-exceptions.
2898 Use regexp matching for languages.
2899 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2900 default dictionary (Bug#7926).
2902 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
2904 * emacs-lisp/package.el (package--with-work-buffer):
2905 Recognize https URLs.
2907 * net/network-stream.el: Move from gnus/proto-stream.el.
2908 Change prefix to network-stream throughout.
2909 (open-protocol-stream): Merge into open-network-stream, leaving
2910 open-protocol-stream as an alias. Handle nil BUFFER args.
2912 * subr.el (open-network-stream): Move to net/network-stream.el.
2914 2011-04-02 Glenn Morris <rgm@gnu.org>
2916 * find-dired.el (find-exec-terminator): New option.
2917 (find-ls-option): Test for -ls support.
2918 (find-ls-subdir-switches): Test for -b in find-ls-option.
2919 (find-dired, find-grep-dired): Doc fixes.
2920 (find-dired): Use find-exec-terminator.
2922 * find-dired.el (find-ls-option, find-ls-subdir-switches)
2923 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2924 (find-name-arg): Remove purecopy.
2926 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2927 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2928 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2929 accordingly. Don't add the null-device if not needed.
2931 * files.el (save-some-buffers): Doc fix.
2933 2011-04-02 Eli Zaretskii <eliz@gnu.org>
2935 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2937 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
2939 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2940 Use `dolist' rather than `mapcar'.
2942 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2944 Add lexical binding.
2946 * subr.el (apply-partially): Use new closures rather than CL.
2947 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2948 (dolist, dotimes): Use slightly different expansion for lexical code.
2949 (functionp): Move to C.
2950 (letrec): New macro.
2951 (with-wrapper-hook): Use it and apply-partially instead of CL.
2952 (eval-after-load): Preserve lexical-binding.
2953 (save-window-excursion, with-output-to-temp-buffer): Turn them
2956 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2958 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2960 (help-add-fundoc-usage): Don't add `Not documented'.
2961 (help-function-arglist): Handle closures, subroutines, and new
2962 byte-code-functions.
2963 (help-make-usage): Remove leading underscores.
2964 (describe-function-1): Handle closures.
2965 (describe-variable): Use special-variable-p for completion.
2967 * files.el (lexical-binding): Declare safe.
2969 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2970 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2971 (pcase): Add `let' pattern.
2972 Change memoization so it actually works.
2973 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2974 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2977 * emacs-lisp/macroexp.el: Use lexical binding.
2978 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2979 Don't convert ' to #' without checking that it's indeed quoting
2982 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2983 Use eval-sexp-add-defvars.
2984 (eval-sexp-add-defvars): New fun.
2986 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2988 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2990 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2991 than the internal `byte-compile-lambda'.
2992 (defmethod): Don't hide code under quotes.
2993 (eieio-defmethod): New `code' argument.
2995 * emacs-lisp/eieio-comp.el: Remove.
2997 * emacs-lisp/edebug.el (edebug-eval-defun)
2998 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2999 (edebug-toggle): Avoid `eval'.
3001 * emacs-lisp/disass.el (disassemble-internal): Handle new
3003 (disassemble-1): Handle new byte codes.
3005 * emacs-lisp/cl.el (pushnew): Silence warning.
3007 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3008 (cl-byte-compile-throw): Remove.
3009 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3011 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3014 * emacs-lisp/cconv.el: New file.
3016 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3017 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3018 (byte-compile-initial-macro-environment):
3019 Handle declare-function here.
3020 (byte-compile--lexical-environment): New var.
3021 (byte-stack-ref, byte-stack-set, byte-discardN)
3022 (byte-discardN-preserve-tos): New lap codes.
3023 (byte-interactive-p): Don't use any more.
3024 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3026 (byte-compile-lapcode): Use them and handle new lap codes.
3027 (byte-compile-obsolete): Remove.
3028 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3029 (byte-compile-arglist-warn): Check late def of inlinable funs.
3030 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3031 since they should have been expanded by now.
3032 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3033 (byte-compile-from-buffer): Remove unused second arg.
3034 (byte-compile-preprocess): New function.
3035 (byte-compile-toplevel-file-form): New function to distinguish
3036 file-form calls from outside from file-form calls from hunk-handlers.
3037 (byte-compile-file-form): Simplify.
3038 (byte-compile-file-form-defsubst): Remove.
3039 (byte-compile-file-form-defmumble): Simplify now that
3040 byte-compile-lambda always returns a byte-code-function.
3041 (byte-compile): Preprocess.
3042 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3043 Remove, not used any more.
3044 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3045 (byte-compile-make-args-desc): New funs.
3046 (byte-compile-lambda): Handle lexical functions. Always return
3047 a byte-code-function.
3048 (byte-compile-reserved-constants): New var, to make up room for
3049 closed-over variables.
3050 (byte-compile-constants-vector): Obey it.
3051 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3052 (byte-compile-macroexpand-declare-function): New function.
3053 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3054 byte-code-functions.
3055 (byte-compile-form): Check obsolescence here.
3056 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3057 (byte-compile-variable-ref): Remove.
3058 (byte-compile-dynamic-variable-op): New fun.
3059 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3060 (byte-compile-variable-set): New funs.
3061 (byte-compile-discard): Add 2 args.
3062 (byte-compile-stack-ref, byte-compile-stack-set)
3063 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3064 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3065 macroexpand-all instead.
3066 (byte-compile-quote-form): Remove.
3067 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3068 (byte-compile-bind, byte-compile-unbind): New funs.
3069 (byte-compile-let): Handle let* and lexical binding.
3070 (byte-compile-let*): Remove.
3071 (byte-compile-catch, byte-compile-unwind-protect)
3072 (byte-compile-track-mouse, byte-compile-condition-case):
3073 Handle a new :fun-body form, used for lexical scoping.
3074 (byte-compile-save-window-excursion)
3075 (byte-compile-with-output-to-temp-buffer): Remove.
3076 (byte-compile-defun): Simplify.
3077 (byte-compile-stack-adjustment): New fun.
3078 (byte-compile-out): Use it.
3079 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3081 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3084 * emacs-lisp/byte-opt.el: Use lexical binding.
3085 (byte-inline-lapcode): Remove (to bytecomp).
3086 (byte-compile-inline-expand): Pay attention to inlining to/from
3087 lexically bound code.
3088 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3090 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3091 any more and don't call compiler-macros.
3092 (byte-compile-splice-in-already-compiled-code): Remove.
3093 (byte-code): Don't inline any more.
3094 (disassemble-offset): Receive `bytes' as argument rather than via
3096 (byte-compile-tag-number): Declare before first use.
3097 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3098 `return' even if make-spliceable.
3099 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3100 obsolete interactive-p.
3101 (byte-optimize-lapcode): Optimize new lap-codes.
3102 Don't trip up on new form of `byte-constant' lap code.
3104 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3106 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3108 * custom.el (custom-initialize-default, custom-declare-variable):
3111 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3113 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3114 (COMPILE_FIRST): Add macroexp and cconv.
3115 * makefile.w32-in: Mirror changes in Makefile.in.
3121 * vc/smerge-mode.el:
3122 * textmodes/bibtex-style.el:
3131 * emacs-lisp/smie.el:
3134 * abbrev.el: Use lexical binding.
3136 2011-04-01 Eli Zaretskii <eliz@gnu.org>
3138 * info.el (info-display-manual): New function.
3140 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3142 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3144 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3146 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3147 an entry for that server in rcirc-authinfo. (Bug#8385)
3149 2011-03-31 Glenn Morris <rgm@gnu.org>
3151 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3153 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3155 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3157 * progmodes/python.el (python-default-interpreter)
3158 (python-python-command-args, python-jython-command-args)
3159 (python-which-shell, python-which-args, python-which-bufname)
3160 (python-file-queue, python-comint-output-filter-function)
3161 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3162 variables and functions.
3164 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3167 (completion-in-region-mode): New minor mode.
3168 (completion-in-region): Use it.
3169 (completion-in-region--data, completion-in-region-mode-map): New vars.
3170 (completion-in-region--postch): New function.
3171 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3173 (completion--capf-wrapper): New function.
3174 (completion-at-point): Use it to track well-behavedness of
3176 (completion-help-at-point): New command.
3178 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3180 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3181 syntax class to search for whitespace on a single line
3182 (Message-ID: <4D938140.4030905@redhat.com>).
3184 2011-03-30 Leo Liu <sdl.web@gmail.com>
3186 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3188 (edit-abbrevs-map): Bind them here.
3189 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3191 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3193 * allout.el (allout-hide-by-annotation, allout-flag-region):
3194 Reduce possibility of overlay leakage by making them volatile.
3196 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3197 hash is not shared between buffers. Mode initialization is
3198 responsible for giving it a useful starting value.
3199 (allout-item-span): Reduce possibility of overlay leakage by
3200 making them volatile.
3201 (allout-widgets-count-buttons-in-region): Add diagnostic function
3202 for tracking down button overlay leaks.
3204 2011-03-29 Leo Liu <sdl.web@gmail.com>
3206 * ido.el (ido-read-internal): Use the default history var
3207 minibuffer-history if no HISTORY is specified.
3209 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3211 * net/imap.el (imap-shell-open, imap-process-connection-type):
3212 Use imap-process-connection-type for 'shell' streams as well as
3213 Kerberos, SSL, other subprocesses.
3215 2011-03-28 Leo Liu <sdl.web@gmail.com>
3217 * abbrev.el (abbrev-table-empty-p): New function.
3218 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3219 nonempty ones. (Bug#5937)
3221 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3223 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3225 2011-03-27 Leo Liu <sdl.web@gmail.com>
3227 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3228 for foreground and background colors.
3229 (ansi-color-make-color-map): Adapt.
3231 2011-03-25 Leo Liu <sdl.web@gmail.com>
3233 * midnight.el (midnight-time-float): Remove. Note it calculates
3234 the microsecond component incorrectly and seconds-to-time does the
3236 Remove redundant (require 'timer).
3238 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3239 (ido-completions): Remove unused arguments. (Bug#8329)
3241 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * minibuffer.el (completion--flush-all-sorted-completions):
3244 Remove itself from hook.
3245 (completion-at-point): Let the functions perform the completion
3246 immediately and return nil or t.
3247 * comint.el (comint-dynamic-complete-functions): Now identical to
3248 completion-at-point-functions.
3249 (comint-dynamic-list-input-ring): Remove unused var `index'.
3250 (comint--match-partial-filename, comint--unquote&expand-filename):
3251 New funs, split from comint-match-partial-filename.
3252 (comint-dynamic-complete): Use completion-at-point.
3253 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3255 2011-03-24 Drew Adams <drew.adams@oracle.com>
3257 * thingatpt.el: Support `defun'.
3259 2011-03-23 Leo Liu <sdl.web@gmail.com>
3261 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3263 * help-mode.el (help-mode-finish): Tweak regexp.
3265 2011-03-23 Glenn Morris <rgm@gnu.org>
3267 * eshell/esh-opt.el (eshell-eval-using-options):
3268 Do not bind unused local variable `eshell-option-stub'.
3270 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3272 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3274 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3275 keymap variable in `with-no-warnings' to avoid a warning when the
3276 keymap has been already `defconst'ed.
3278 2011-03-22 Leo Liu <sdl.web@gmail.com>
3280 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3281 encode all chars in abbrevs; otherwise use emacs-mule or
3282 utf-8-emacs. (Bug#8308)
3284 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3286 * simple.el (backward-delete-char-untabify):
3287 Avoid warning about using `delete-backward-char'.
3289 * image.el (image-type-file-name-regexps): Make it variable.
3290 `imagemagick-register-types' modifies it, and the user may want
3291 to add new extensions for known image types.
3292 (imagemagick-register-types): Throw error if not using ImageMagick.
3294 2011-03-22 Leo Liu <sdl.web@gmail.com>
3296 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3297 located before rcirc-prompt-end-marker.
3298 (rcirc-complete): Error if point is not after rcirc prompt.
3299 Handle the case when table is nil.
3300 (rcirc-user-authenticated): Define to fix compiler warning.
3302 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3304 * custom.el (custom--inhibit-theme-enable): Make it affect only
3305 custom-theme-set-variables and custom-theme-set-faces.
3306 (provide-theme): Ignore custom--inhibit-theme-enable.
3307 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3308 (custom-enabling-themes): Delete variable.
3309 (enable-theme): Accept only loaded themes as arguments.
3310 Ignore the special custom-enabled-themes variable.
3311 (custom-enabled-themes): Forbid themes from setting this.
3312 Eliminate use of custom-enabling-themes.
3313 (custom-push-theme): Quote "changed" custom var entry.
3315 2011-03-21 Leo Liu <sdl.web@gmail.com>
3317 * ido.el (ido-read-internal): Add ido-selected to history instead
3320 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * subr.el (deferred-action-list, deferred-action-function):
3325 2011-03-21 Leo Liu <sdl.web@gmail.com>
3327 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3328 change on 2011-02-13 (bug#8309).
3330 * minibuffer.el (read-file-name-function): Change default value.
3331 (read-file-name--defaults): Rename from read-file-name-defaults.
3332 (read-file-name-default): Rename from read-file-name.
3333 (read-file-name): Call read-file-name-function.
3335 2011-03-21 Glenn Morris <rgm@gnu.org>
3337 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3340 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3342 * cus-theme.el: Add missing provide statement.
3343 (customize-create-theme): Extract theme value correctly.
3344 (custom-theme-visit-theme): Autoload.
3345 (customize-create-theme): Prompt before inserting default faces.
3347 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3349 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3350 units and musical notes.
3352 2011-03-20 Leo <sdl.web@gmail.com>
3354 * ido.el (ido-read-internal): Use completing-read-default.
3355 (ido-completing-read): Fix compatibility with completing-read.
3357 2011-03-20 Christian Ohler <ohler@gnu.org>
3359 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3360 (ert-delete-all-tests): Use `called-interactively-p' rather than
3362 (ert--make-xrefs-region): Respect END.
3364 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3366 * dired-aux.el (dired-create-directory): Signal an error if the
3367 directory already exists (Bug#8246).
3369 * facemenu.el (list-colors-display): Call list-faces-display
3370 inside with-help-window.
3371 (list-colors-print): Use display property to align the final
3372 column, instead of checking window-width.
3374 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3376 * emerge.el (emerge-metachars): Separate value for ms-dos and
3378 (emerge-protect-metachars): Quote correctly for ms-dos and
3381 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3383 * info.el (info-initialize): Replace all uses of `:' with
3384 path-separator for compatibility with non-Unix systems.
3385 Cache quoting of path-separator. (Bug#8258)
3387 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3389 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3390 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3391 (mouse-avoidance-mode): Fix typos in docstrings.
3393 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3395 * startup.el (package-subdirectory-regexp): Move from package.el.
3396 Omit \\` and \\', and let callers add them.
3398 * emacs-lisp/package.el (package-strip-version)
3399 (package-load-all-descriptors): Add \\` and \\' to
3400 package-subdirectory-regexp before using it.
3401 (package-untar-buffer): New arg DIR; ensure that file untars only
3402 into this expected directory. Remove superfluous delete-region.
3403 (package-unpack): Caller changed.
3404 (package-tar-file-info): Use package-subdirectory-regexp.
3406 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3409 diff-mode-shared-map (bug#8284).
3410 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3412 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3414 * calendar/time-date.el (format-seconds): Use assoc instead of
3415 assoc-string, since assoc-string doesn't exist in XEmacs.
3417 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3419 * custom.el (custom-known-themes): Reflow docstring.
3420 (custom-theme-load-path): Fix typo in docstring.
3421 (load-theme): Fix typo in error message.
3422 (custom-available-themes, custom-variable-theme-value):
3423 Use `let', not `let*'.
3425 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3427 * calc/README: Mention inclusion of musical notes.
3429 * calc/calc-units.el (calc-lu-quant): Rename from
3430 `calc-logunits-quantity'.
3431 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3432 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3433 (calc-db): Rename from `calc-dblevel'.
3434 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3435 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3436 (calc-np): Rename from `calc-nplevel'.
3437 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3438 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3439 (calc-lu-plus): Rename from `calc-logunits-add'.
3440 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3441 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3442 (calc-lu-minus): Rename from `calc-logunits-sub'.
3443 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3444 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3445 (calc-lu-times): Rename from `calc-logunits-mul'.
3446 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3447 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3448 (calc-lu-divide): Rename from `calc-logunits-div'.
3449 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3450 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3452 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3453 functions being autoloaded.
3455 * calc/calc.el (calc-lu-power-reference): Rename from
3456 `calc-logunits-power-reference'.
3457 (calc-lu-field-reference): Rename from
3458 `calc-logunits-field-reference'.
3460 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3462 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * minibuffer.el (completion-all-sorted-completions):
3465 Use :completion-cycle-penalty text property if present.
3467 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3469 * allout.el (allout-yank-processing): Adjust for new rebulleting
3470 regime so bullet being yanked is used without prompting the user
3473 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3475 * startup.el (command-line): Warn the user that _emacs is deprecated.
3477 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3479 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3480 (delphi-verbose, delphi-comment-face, delphi-string-face)
3481 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3482 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3483 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3484 (delphi-new-comment-line, delphi-font-lock-defaults)
3485 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3486 Fix typos in docstrings.
3488 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3490 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3491 Invert the roles of character and string values for INSTEAD, so a
3492 string is used for the more common case of a defaulting prompt.
3494 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * progmodes/ruby-mode.el (ruby-backward-sexp):
3497 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3498 * play/gamegrid.el (gamegrid-make-face):
3499 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3500 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3501 * notifications.el (notifications-notify):
3502 * net/xesam.el (xesam-search-engines):
3503 * net/quickurl.el (quickurl-list-insert):
3504 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3506 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
3508 * startup.el (command-line): Update package subdirectory regexp.
3510 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * allout.el (allout-abbreviate-flattened-numbering)
3513 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3515 * subr.el (read-char-choice): Only show the cursor after the prompt,
3516 not after the answer.
3518 2011-03-15 Kevin Ryde <user42@zip.com.au>
3520 * help-fns.el (variable-at-point): Skip leading quotes, if any
3523 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3528 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
3530 * shell.el (shell): When called interactively, offer to change the
3531 shell file name on remote hosts.
3533 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3535 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3536 integration for LDAP parameters. The host, base, user or binddn,
3537 and secret tokens can be specified in a netrc file, for instance.
3538 This is optional because an `auth-source' parameter must be
3539 specified in the search attributes.
3541 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
3543 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3545 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3548 into declaration. Remove redundant and harmful binding.
3550 2011-03-12 Eli Zaretskii <eliz@gnu.org>
3552 * files.el (file-ownership-preserved-p): Pass `integer' as an
3553 explicit 2nd argument to `file-attributes'. If the file's owner
3554 is the Administrators group on Windows, and the current user is
3555 Administrator, consider that a match.
3557 * server.el (server-ensure-safe-dir): Consider server directory
3558 safe on MS-Windows if its owner is the Administrators group while
3559 the current Emacs user is Administrator. Use `=' to compare
3560 numerical UIDs, since they could be integers or floats.
3562 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3564 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3566 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
3568 Sync with Tramp 2.2.1.
3570 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3572 * net/trampver.el: Update release number.
3574 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3576 * progmodes/compile.el (compilation--previous-directory): Fix up
3577 various nil/dead-marker mismatches (bug#8014).
3578 (compilation-directory-properties, compilation-error-properties):
3579 Don't call it at a position past the one we're about to change.
3581 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3582 Disable obsolescence warnings in the file that declares it.
3584 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3586 * allout-widgets.el (allout-widgets-tally):
3587 Initialize allout-widgets-tally as a hash table rather than nil to
3588 prevent mode-line redisplay warnings. Also, clarify the module
3589 description and fix a comment typo.
3591 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3593 * help-fns.el (describe-variable): Don't complete keywords.
3594 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3596 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3598 * emacs-lisp/package.el (package-version-join): Impose a standard
3599 string representation for pre/alpha/beta version lists.
3600 (package-unpack-single): Standardize the directory name by passing
3601 it through package-version-join.
3602 (package-strip-rcs-id): Accept any version string that does not
3603 signal an error in version-to-list.
3605 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3607 * simple.el (delete-trailing-whitespace): Return nil for the
3608 benefit of `write-file-functions'.
3610 2011-03-10 Glenn Morris <rgm@gnu.org>
3612 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3614 * vc/vc-git.el (vc-git-program): New option.
3615 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3616 (vc-git--call): Use it.
3618 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3620 * cus-edit.el (Custom-newline): If no button at point, look
3621 for a subgroup button at start-of-line. (Bug#2298)
3623 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3625 2011-03-10 Julien Danjou <julien@danjou.info>
3627 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3628 `cursor-type' is nil.
3630 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3632 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3634 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3636 * allout.el Summary: Change so yank of distinctive-bullet items
3637 preserves the existing header prefix, rebulleting it if necessary,
3638 rather than replacing it. This is necessary for proper operation
3639 of cooperative addons like allout-widgets.
3640 (allout-make-topic-prefix, allout-rebullet-heading): Change
3641 SOLICIT arg to INSTEAD, and interpret additionally a string value
3642 as alternate bullet to be used, instead of prompting the user for
3645 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3648 Do not use `tramp-file-name-port', because this returns also
3649 `tramp-default-port'.
3651 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3653 * net/rcirc.el (rcirc-handler-001): Remove useless
3654 with-rcirc-process-buffer.
3655 (rcirc-check-auth-status): Swap arguments to string-match.
3657 2011-03-09 Glenn Morris <rgm@gnu.org>
3659 * shell.el (shell-mode):
3660 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3662 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3663 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3665 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3667 * emacs-lisp/package.el (package-refresh-contents)
3668 (package-menu-execute): Use condition-case-no-debug.
3670 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3672 * simple.el (shell-command-to-string): Use `process-file'.
3674 * emacs-lisp/package.el (package-tar-file-info): Handle also
3677 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3678 Use `equal' for upload base check.
3680 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3682 * textmodes/texinfo.el (texinfo-environments):
3683 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3685 2011-03-08 Glenn Morris <rgm@gnu.org>
3687 * cus-start.el (cursor-in-non-selected-windows):
3688 Fix :set quoting oddness. (Bug#8192)
3690 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3691 in some setf expressions. (Bug#2159)
3693 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3695 * custom.el (custom-available-themes): Return themes in
3698 See ChangeLog.15 for earlier changes.
3704 Copyright (C) 2011 Free Software Foundation, Inc.
3706 This file is part of GNU Emacs.
3708 GNU Emacs is free software: you can redistribute it and/or modify
3709 it under the terms of the GNU General Public License as published by
3710 the Free Software Foundation, either version 3 of the License, or
3711 (at your option) any later version.
3713 GNU Emacs is distributed in the hope that it will be useful,
3714 but WITHOUT ANY WARRANTY; without even the implied warranty of
3715 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3716 GNU General Public License for more details.
3718 You should have received a copy of the GNU General Public License
3719 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.