1 2011-06-10 Martin Rudalics <rudalics@gmx.at>
3 * window.el (window-min-height, window-min-width): Move here
4 from window.c. Add defcustoms and rewrite doc-strings.
5 (resize-mini-window, resize-window): New functions.
6 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7 Move here from window.c.
8 (maximize-window, minimize-window): New functions.
9 (delete-window, delete-other-windows, split-window): Move here
11 (window-split-min-size): New function.
12 (split-window-keep-point): Mention split-window-above-each-other
13 instead of split-window-vertically.
14 (split-window-above-each-other, split-window-vertically): Rename
15 split-window-vertically to split-window-above-each-other and
16 provide defalias for old definition.
17 (split-window-side-by-side, split-window-horizontally): Rename
18 split-window-horizontally to split-window-side-by-side and provide
19 defalias for the old definition.
20 (ctl-x-map): Move bindings for delete-window,
21 delete-other-windows and enlarge-window here from window.c.
22 Replace bindings for split-window-vertically and
23 split-window-horizontally by bindings for
24 split-window-above-each-other and split-window-side-by-side.
26 * cus-start.el (all): Remove entries for window-min-height and
27 window-min-width. Add entries for window-splits and
30 2011-06-09 Glenn Morris <rgm@gnu.org>
32 * calendar/appt.el (appt-mode-line): New function.
33 (appt-check, appt-disp-window): Use it.
35 * files.el (hack-one-local-variable-eval-safep):
36 Allow minor-modes with explicit +/-1 arguments.
38 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
40 * term/xterm.el (xterm): Add defgroup.
41 (xterm-extra-capabilities): Add defcustom to supply known xterm
42 capabilities, skip querying them, or query them (default).
43 (terminal-init-xterm): Use it.
44 (terminal-init-xterm-modify-other-keys): New function to set up
45 modifyOtherKeys support to simplify `terminal-init-xterm'.
47 2011-06-09 Martin Rudalics <rudalics@gmx.at>
49 * window.el (resize-window-reset, resize-window-reset-1)
50 (resize-subwindows-skip-p, resize-subwindows-normal)
51 (resize-subwindows, resize-other-windows, resize-this-window)
52 (resize-root-window, resize-root-window-vertically)
53 (window-deletable-p, window-or-subwindow-p)
54 (frame-root-window-p): New functions.
56 2011-06-09 Glenn Morris <rgm@gnu.org>
58 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
59 (ange-ftp-get-files): Use it.
61 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
63 * mail/sendmail.el (mail-recover-1, mail-recover):
64 * files.el (recover-file, recover-session):
65 Handle dired-listing-switches not being just a single short option.
67 2011-06-09 Glenn Morris <rgm@gnu.org>
69 * calendar/appt.el (appt-display-message, appt-disp-window):
70 Handle lists of appointments.
72 2011-06-08 Martin Rudalics <rudalics@gmx.at>
74 * window.el (one-window-p): Move down in code. Rewrite
76 (window-current-scroll-bars): Rewrite doc-string. Normalize
78 (walk-windows, get-window-with-predicate, count-windows):
79 Rewrite doc-string. Use window-list-1.
80 (window-in-direction-2, window-in-direction, get-mru-window):
83 2011-06-08 Reuben Thomas <rrt@sc3d.org>
85 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
88 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
90 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
92 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
94 * loadhist.el (unload-feature-special-hooks):
95 Add `comint-output-filter-functions'.
97 2011-06-08 Ivan Kanis <gnu@kanis.fr>
99 * calendar/appt.el (appt-check): Move some initializations into the let.
101 2011-06-08 Martin Rudalics <rudalics@gmx.at>
103 * window.el (window-height): Defalias to window-total-height.
104 (window-width): Defalias to window-body-width.
106 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
108 * image-mode.el (image-toggle-animation): New command.
109 (image-mode-map): Bind it to RET.
110 (image-mode): Update message.
111 (image-toggle-display-image): Avoid a spurious cache flush.
112 (image-transform-rotation): Doc fix.
113 (image-transform-properties): Return quickly in the normal case.
114 (image-animate-loop): Rename from image-animate-max-time.
116 * image.el (image-animate-max-time): Moved to image-mode.el.
117 (create-animated-image): Remove unnecessary function.
118 (image-animate): Rename from image-animate-start. New arg.
119 (image-animate-stop): Removed; just use image-animate-timer.
120 (image-animate-timer): Use car-safe.
121 (image-animate-timeout): Rename argument.
123 2011-06-07 Martin Rudalics <rudalics@gmx.at>
125 * window.el (get-lru-window, get-largest-window): Move here from
126 window.c. Rename first argument to ALL-FRAMES. Rephrase
128 (get-buffer-window-list): Rewrite using window-list-1. Rephrase
130 (window-safe-min-height, window-safe-min-width): New constants.
131 (window-size-ignore, window-min-size, window-min-size-1)
132 (window-sizable, window-sizable-p, window-size-fixed-1)
133 (window-size-fixed-p, window-min-delta-1, window-min-delta)
134 (window-max-delta-1, window-max-delta, window-resizable)
135 (window-resizable-p, window-total-height, window-total-width)
136 (window-body-width): New functions.
137 (window-full-height-p, window-full-width-p): Rewrite using
139 (window-body-height): Rewrite using window-body-size.
141 2011-06-06 Martin Rudalics <rudalics@gmx.at>
143 * window.el (window-right, window-left, window-child)
144 (window-child-count, window-last-child, window-any-p)
145 (normalize-live-buffer, normalize-live-frame)
146 (normalize-any-window, normalize-live-window)
147 (window-iso-combination-p, window-iso-combined-p)
148 (window-iso-combinations)
149 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
150 (windows-with-parameter, window-with-parameter)
151 (window-atom-root, make-window-atom, window-atom-check-1)
152 (window-atom-check, window-side-check, window-check): New
154 (ignore-window-parameters, window-sides, window-sides-vertical)
155 (window-sides-slots): New variables.
156 (window-size-fixed): Move down in code. Minor doc-string fix.
158 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
160 * comint.el (comint-dynamic-complete-as-filename)
161 (comint-dynamic-complete-filename): Correctly call
162 completion-in-region.
164 2011-06-05 Deniz Dogan <deniz@dogan.se>
166 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
169 2011-06-05 Deniz Dogan <deniz@dogan.se>
171 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
172 (rcirc): Use it to prompt for encryption.
174 2011-06-05 Roland Winkler <winkler@gnu.org>
176 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
177 (bibtex-search-entries): New command bound to C-c C-a.
178 (bibtex-display-entries): New function.
180 2011-06-05 Roland Winkler <winkler@gnu.org>
182 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
183 (bibtex-insert-kill): After yanking insert newline if necessary.
184 (bibtex-initialize): Call bibtex-string-files-init only once.
185 (bibtex-mode): Do not call easy-menu-add.
186 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
187 (bibtex-yank): Set arg properly if nil.
189 2011-06-05 Roland Winkler <winkler@gnu.org>
191 * textmodes/bibtex.el (bibtex-search-entry-globally): New
193 (bibtex-search-entry): Use it.
195 2011-06-05 Roland Winkler <winkler@gnu.org>
197 * textmodes/bibtex.el (bibtex-entry-format): New option
199 (bibtex-format-entry, bibtex-reformat): Honor this option.
200 (bibtex-parse-entry): Return fields in proper order.
202 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
204 * doc-view.el (doc-view-remove-if): Move computation of result out
205 of `dolist' to silence misleading lexical-binding warning.
207 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
209 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
210 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
212 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
214 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
217 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
219 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
220 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
221 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
223 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
224 (tramp-completion-function-alist-ssh)
225 (tramp-completion-function-alist-telnet)
226 (tramp-completion-function-alist-su)
227 (tramp-completion-function-alist-putty): Set `tramp-autoload'
232 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
233 load "tramp.el" `tramp-set-completion-function'.
235 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
237 * shell.el: Require and use pcomplete.
238 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
239 (shell-completion-vars): Set pcomplete-default-completion-function.
241 2011-06-04 Deniz Dogan <deniz@dogan.se>
243 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
246 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
248 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
250 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
252 * bs.el (bs--mark-unmark, bs--nth-wrapper):
253 * mpc.el (mpc-select-extend, mpc-songpointer-context):
254 * vc/log-view.el (log-view-beginning-of-defun):
255 * vc/smerge-mode.el (smerge-apply-resolution-patch)
256 (smerge-refine-forward, smerge-refine-chopup-region):
257 Silence warning for unused `dotimes' counter variables.
259 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
261 * net/tramp.el (tramp-with-progress-reporter): Rename from
262 with-progress-reporter. Use `declare'.
265 * net/tramp-gvfs.el: Update all uses.
267 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
269 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
270 buffer isn't killed before making it current.
272 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
274 Silence various byte-compiler warnings.
275 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
276 `access-type' and new obsolescence format.
277 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
279 (byte-compile-check-variable): New `access-type' argument.
280 Only warn if the access-type is obsolete.
281 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
282 (byte-compile-variable-set): Adjust callers.
283 * help-fns.el (describe-variable): Adjust to new obsolescence format.
284 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
285 setting it as obsolete.
286 * simple.el (minibuffer-completing-symbol):
287 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
289 * minibuffer.el (minibuffer-completing-file-name): Don't make it
291 * international/quail.el (quail-mouse-choose-completion): Remove unused
292 code referring to obsolete var.
293 (quail-choose-completion-string): Remove.
294 * server.el (server-clients-with, server-kill-buffer-query-function)
295 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
296 * proced.el (proced-send-signal):
297 * emacs-lisp/lisp.el (lisp-complete-symbol):
298 Replace completion-annotate-function with completion-extra-properties.
300 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
302 * simple.el (goto-line): Use read-number.
303 (overriding-map-is-bound): Remove.
304 (saved-overriding-map): Change default.
305 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
306 Take the map as argument.
307 (universal-argument, negative-argument, digit-argument): Use it.
308 (restore-overriding-map): Adjust.
309 (do-auto-fill): Use fill-forward-paragraph.
310 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
312 * minibuffer.el (minibuffer-inactive-mode-map): New var.
313 (minibuffer-inactive-mode): New major mode.
314 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
315 the *Messages* buffer" hack.
316 (mouse-popup-menubar): Don't burp if the event is a normal key.
318 Miscellaneous tweaks.
319 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
320 lexical scoping as in subr.el's dolist and dotimes.
321 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
322 Silence compiler warning.
323 * thingatpt.el (forward-whitespace): Trivial coding style fix.
324 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
325 * international/ccl.el (ccl-compile): Trivial simplification.
326 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
327 * emacs-lisp/testcover.el (testcover-end): Remove spurious
328 `printflag' argument.
329 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
330 Purecopy the whole obsolescence data.
332 2011-06-01 Leo Liu <sdl.web@gmail.com>
334 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
335 improve doc-string as suggested by Marco Pessotto
336 <melmothx@gmail.com>.
337 (rcirc-print): Fix last change.
339 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
341 * minibuffer.el (complete-with-action): Return nil for the metadata and
342 boundaries of non-functional tables.
343 (completion-table-dynamic): Return nil for the metadata.
344 (completion-table-with-terminator): Add default case, using
345 complete-with-action.
346 (completion--metadata): New function.
347 (completion-all-sorted-completions, minibuffer-completion-help): Use it
348 to try and avoid pathological performance problems.
349 (completion--embedded-envvar-table): Return `category' metadata.
351 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
353 * subr.el (process-alive-p): New tiny convenience function.
355 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
357 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
358 content but also its previous major mode.
360 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
362 * debug.el (debug): Restore the previous content of the
363 *Backtrace* buffer when we exit with C-M-c.
365 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
367 * minibuffer.el: Add metadata method to completion tables.
368 (completion-category-overrides): New defcustom.
369 (completion-metadata, completion--field-metadata)
370 (completion-metadata-get, completion--styles)
371 (completion--cycle-threshold): New functions.
372 (completion-try-completion, completion-all-completions):
373 Add `metadata' argument to choose completion-styles.
374 (completion--do-completion): Use metadata to choose cycling.
375 (completion-all-sorted-completions): Use metadata for sorting.
376 Remove :completion-cycle-penalty which is not needed any more.
377 (completion--try-word-completion): Add `metadata' argument.
378 (minibuffer-completion-help): Check metadata for annotation function
380 (completion-file-name-table): Return `category' metadata.
381 (minibuffer-completing-file-name): Make obsolete.
382 * simple.el (minibuffer-completing-symbol): Make obsolete.
383 * icomplete.el (icomplete-completions): Pass new `metadata' param to
384 completion-try-completion.
386 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
388 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
390 2011-05-30 Leo Liu <sdl.web@gmail.com>
392 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
393 (rcirc-print): Decode all incoming messages (bug#8744).
394 (rcirc-decode-coding-system): Allow value nil for automatic coding
397 2011-06-01 Glenn Morris <rgm@gnu.org>
399 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
401 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
403 * image.el (image-animate-max-time): Allow nil and t values.
405 (create-animated-image): Doc fix.
406 (image-animate-start): Remove second arg; just use
407 image-animate-max-time.
408 (image-animate-timeout): Doc fix. Args changed.
410 * image-mode.el (image-toggle-display-image): Ensure that the
411 image spec passed to the animate timer is the same object as in
412 the the buffer's display property (Bug#6981).
413 (image-transform-properties): Doc fix.
415 * image.el (image-animate-max-time): Default to nil.
417 2011-05-29 Martin Rudalics <rudalics@gmx.at>
419 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
420 entire buffer list (Bug#8184).
422 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
424 * image.el (imagemagick-types-inhibit)
425 (imagemagick-register-types): Doc fix.
427 2011-05-29 Deniz Dogan <deniz@dogan.se>
429 * net/rcirc.el (rcirc): Use the user's stored encryption method by
432 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
434 * select.el: Don't perform clipboard-manager saving in hooks;
435 leave the hooks empty.
437 2011-05-28 Leo Liu <sdl.web@gmail.com>
439 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
440 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
441 (occur-edit-mode): New major mode (Bug#8463).
442 (occur-after-change-function): New function.
443 (occur-engine): Give Occur tags a read-only property.
445 2011-05-28 Kevin Ryde <user42@zip.com.au>
447 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
449 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
451 * bindings.el (help-echo): Make the initial non-indicator dash
452 empty on graphical terminals (Bug#7295).
454 * files.el (auto-mode-alist): Move config rule after the
455 in-stripping one (Bug#8547).
457 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
459 * startup.el (normal-splash-screen): Remove gratuitous mode-line
462 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
464 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
465 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
468 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
471 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
473 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
475 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
476 (hs-hide-block-at-point, hs-find-block-beginning)
477 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
480 2011-05-28 Glenn Morris <rgm@gnu.org>
482 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
484 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
486 * help-fns.el (describe-function-1): If the function is a derived
487 major mode, print the parent mode.
489 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
490 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
492 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
494 * minibuffer.el (completion--capf-wrapper): Check applicability before
495 retuning non-nil for non-exclusive completion data.
496 * progmodes/etags.el (tags-completion-at-point-function):
497 * info-look.el (info-lookup-completions-at-point): Mark as
499 (info-complete): Adjust accordingly.
501 * info-look.el: Convert to lexical-binding and completion-at-point.
502 (info-lookup-completions-at-point): New function.
503 (info-complete): Use it and completion-in-region.
505 2011-05-28 Drew Adams <drew.adams@oracle.com>
507 * isearch.el: Let M-e start with point at the first mismatched char.
508 (isearch-fail-pos): New function.
509 (isearch-edit-string): Use it.
511 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
513 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
515 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
517 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
518 traversal functions for avl-trees.
519 (avl-tree--stack): New struct.
520 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
521 (avl-tree-enter): Add optional `updatefun' arg.
522 (avl-tree--do-enter): Add optional `updatefun' arg.
524 (avl-tree-delete): Add optional `test' and `nilflag' args.
525 (avl-tree--do-delete): Add `test' and `nilflag' args.
527 (avl-tree-member): Add optional `nilflag'
528 (avl-tree-member-p): New function.
529 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
530 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
531 (avl-tree-stack-empty-p): New functions.
533 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
535 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
536 avl-tree--del-balance1 and make it work both ways.
537 (avl-tree--del-balance2): Remove.
538 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
539 make it work both ways.
540 (avl-tree--enter-balance2): Remove.
541 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
543 (avl-tree--mapc, avl-tree-map): Add direction argument.
545 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
547 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
549 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
551 * select.el: Support clipboard managers with built-in function
552 x-clipboard-manager-save, via delete-frame-functions and
554 (xselect-convert-to-targets): Add MULTIPLE target to list.
555 (xselect-convert-to-save-targets): New function.
557 2011-05-27 Kenichi Handa <handa@m17n.org>
559 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
560 let-binding rfc2047-encode-encoded-words to nil.
562 2011-05-27 Glenn Morris <rgm@gnu.org>
564 * mail/emacsbug.el: Don't require url-util.
566 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
568 * files.el (set-auto-mode):
569 Also respect mode: entries at the end of the file. (Bug#8586)
571 2011-05-26 Glenn Morris <rgm@gnu.org>
573 * files.el (hack-local-variables-prop-line, hack-local-variables):
574 Downcase mode names, as seems to be traditional.
575 (hack-local-variables, hack-local-variables-apply): Doc fixes.
577 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
578 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
580 2011-05-25 Julien Danjou <julien@danjou.info>
582 * textmodes/rst.el (rst-define-level-faces): Do not define face
583 symbol if it is already defined.
585 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
587 * play/5x5.el (5x5-new-game, 5x5-randomize):
588 Reset 5x5-solver-output to nil when a new grid is cast.
589 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
590 these debugging traces, as defmacro breaks the compiled code.
592 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
594 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
596 2011-05-24 Leo Liu <sdl.web@gmail.com>
598 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
599 (vc-bzr-sha1): Adapt.
601 * sha1.el: Remove. Function `sha1' is now builtin.
603 * bindings.el: Provide sha1 feature.
605 2011-05-24 Kenichi Handa <handa@m17n.org>
607 * mail/sendmail.el: Require `rfc2047'.
608 (mail-insert-from-field): Do not perform RFC2047 encoding.
609 (mail-encode-header): New function.
610 (sendmail-send-it): Set buffer-file-coding-system of the work
611 buffer to the return value of select-message-coding-system.
612 Call mail-encode-header.
614 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
616 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
618 * mail/supercite.el (sc-default-cite-frame):
619 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
621 2011-05-24 Glenn Morris <rgm@gnu.org>
623 * progmodes/python.el (brm-menu): Declare.
625 * emulation/viper.el (viper-set-hooks): Declare.
627 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
628 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
629 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
630 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
631 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
632 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
634 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
636 Add an :exit-function for completion-at-point.
638 * minibuffer.el (completion--done): New fun.
639 (completion--do-completion): Use it. New arg `expect-exact'.
640 (minibuffer-complete, minibuffer-complete-word): Don't output message,
641 since completion--do-completion does it for us now.
642 (minibuffer-force-complete): Use completion--done and
643 completion--replace. Handle sole-completion case with more care.
644 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
645 (completion-extra-properties): New var.
646 (completion-annotate-function): Make obsolete.
647 (minibuffer-completion-help): Adjust accordingly.
648 Use completion-list-insert-choice-function.
649 (completion-at-point, completion-help-at-point):
650 Bind completion-extra-properties.
651 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
652 * simple.el (completion-list-insert-choice-function): New var.
653 (completion-setup-function): Preserve it.
654 (choose-completion): Pay attention to it, shuffle the code a bit.
655 (choose-completion-string): New arg `insert-function'.
657 * textmodes/bibtex.el: Convert to lexical binding.
658 (bibtex-mode-map): Use completion-at-point.
659 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
660 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
661 (bibtex-complete): Define as obsolete alias.
662 (bibtex-complete-internal): Remove.
663 (bibtex-format-entry): Remove unused sub-group in regexp.
664 * shell.el (shell--command-completion-data)
665 (shell-environment-variable-completion):
666 * pcomplete.el (pcomplete-completions-at-point):
667 * comint.el (comint--complete-file-name-data): Use :exit-function
668 instead of completion-table-with-terminator so it also works for
671 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
673 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
675 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
678 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
680 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
682 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
683 customization variable and implement: If non-nil, auto-fill will
684 be inhibited while on topic's header line.
686 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
688 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
689 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
690 always have a solution in grid size = 5 cases.
691 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
692 (5x5-solver-output, 5x5-log-buffer): New vars.
693 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
694 Make these variables buffer local to achieve 5x5 multi-session-ness.
695 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
696 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
697 (5x5-solve-suggest): New funs.
698 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
699 randomize a grid so that we ensure that there is always a solution.
700 (5x5-make-random-grid): Allow other movement than flipping.
702 2011-05-23 Kevin Ryde <user42@zip.com.au>
704 * emacs-lisp/advice.el (ad-read-advised-function):
705 Use `function-called-at-point' as the default default, if it has
706 advice and passes PREDICATE.
708 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
710 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
711 byte-compile-lambda if it's actually a lambda.
713 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
714 Fix function quoting. Use backquote better.
716 2011-05-22 Yuanle Song <sylecn@gmail.com>
718 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
721 2011-01-22 Jari Aalto <jari.aalto@cante.net>
723 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
724 different face (Bug#8178).
726 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
728 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
731 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
733 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
734 funcall as well (bug#8712). Warn when performing those conversions.
735 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
737 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
739 2011-05-22 Glenn Morris <rgm@gnu.org>
741 * files.el (hack-local-variables-prop-line): Small simplifications.
742 (hack-local-variables, hack-local-variables-prop-line):
743 If MODE-ONLY, return the mode, rather than just `t'.
745 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
747 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
749 2011-05-21 Glenn Morris <rgm@gnu.org>
751 * files.el (hack-local-variables-prop-line, hack-local-variables):
752 If only interested in the mode, don't bother doing the other stuff.
754 * image-mode.el (image-after-revert-hook):
755 Redraw all frames on which the image is visible. (Bug#8567)
757 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
759 * wid-edit.el (widget-checklist-match-inline):
760 Fix 2011-04-19 change. (Bug#8649)
762 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
764 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
765 Also allow singlespace after single-letter capitals followed by a dot.
767 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
768 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
770 2011-05-20 Nix <nix@esperi.org.uk>
772 * files.el (basic-save-buffer-2):
773 Fix handling of break-hardlink-on-save with non-existent files.
775 2011-05-19 Deniz Dogan <deniz@dogan.se>
777 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
778 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
780 2011-05-19 Glenn Morris <rgm@gnu.org>
782 * progmodes/f90.el (f90-type-def-re):
783 Handle "type, bind(c)". (Bug#8691)
785 * emacs-lisp/autoload.el (batch-update-autoloads):
786 Set autoload-excludes by parsing loadup.el rather than Makefiles.
788 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
790 * net/tramp.el (tramp-process-actions): Set "first-password-request"
791 property for the correct connection in case of multihops.
793 2011-05-18 Glenn Morris <rgm@gnu.org>
795 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
796 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
798 Rationalize calendar handling of day and month abbrev-arrays.
799 * calendar/calendar.el (calendar-customized-p): New function.
800 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
801 (calendar-day-name-array, calendar-month-name-array): Doc fix.
803 (calendar-abbrev-length, calendar-day-abbrev-array)
804 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
805 (calendar-day-abbrev-array, calendar-month-abbrev-array):
806 Elements may no longer be nil.
807 (calendar-day-name, calendar-month-name):
808 Update for changed nature of abbrev arrays.
809 * calendar/diary-lib.el (diary-name-pattern):
810 Update for changed nature of abbrev arrays.
811 (diary-mark-entries-1): Update calendar-make-alist calls.
812 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
813 * calendar/cal-html.el (cal-html-day-abbrev-array):
814 Simply inherit from calendar-day-abbrev-array.
816 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
818 * progmodes/grep.el (grep-mode): Disable default
819 compilation-directory-matcher setting (bug#8684).
821 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
823 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
824 instead of "head" and "tail". There were problems with SunOS 5.9,
825 and it performs better.
827 2011-05-17 Glenn Morris <rgm@gnu.org>
829 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
831 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
832 Replace obsolete function.
834 * shell.el (pcomplete-parse-arguments-function): Declare.
836 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
837 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
838 (appt-check): Doc fixes.
839 (appt-disp-window-function, appt-delete-window-function):
840 Remove needless special case in custom :type.
841 (appt-display-count): Default to 0, not nil.
842 (appt-check): Reset appt-display-count to 0, not nil.
844 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
846 * progmodes/python.el (python-font-lock-keywords):
847 Add the Python 3.X keyword "nonlocal" (bug#8639).
849 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
851 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
853 2011-05-16 Kevin Ryde <user42@zip.com.au>
855 * info-look.el (makefile-automake-mode): New setups, looking in
856 automake manual, then makefile-mode.
857 (makefile-mode): Remove automake manual, have it just in
858 makefile-automake-mode since there's various things different or
859 not relevant to plain make.
860 (makefile-mode): Remove "other-modes" non-existent automake-mode,
861 believe a hypothetical automake-mode would go to makefile-mode,
862 not the other way around.
864 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
866 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
867 hunk-end tags (Bug#8672).
869 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
870 vc-annotate-show-diff-revision-at-line (Bug#8671).
872 2011-05-14 Glenn Morris <rgm@gnu.org>
874 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
875 in the middle of an existing one with multiple authors. (Bug#8645)
876 (change-log-font-lock-keywords): Also handle multiple author lines
877 with leading tabs. (Bug#8644)
879 * calendar/appt.el (appt-check): Rename some local variables.
880 Some simplification/reordering.
882 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
883 (feedmail-sendmail-f-doesnt-sell-me-out)
884 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
885 (feedmail-debug-sit-for, feedmail-queue-express-hook)
886 (feedmail-queue-runner-message-sender): Set :version.
887 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
888 (bbdb-dwim-net-address, vm-mail): Declare.
889 (feedmail-binmail-gnulinuxish-template):
890 Rename from feedmail-binmail-linuxish-template.
891 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
892 Use insert-buffer-substring.
894 2011-05-14 Bill Carpenter <bill@carpenter.org>
896 * mail/feedmail.el (feedmail-patch-level): Increase.
897 (feedmail-debug): New custom group.
898 (feedmail-confirm-outgoing-timeout)
899 (feedmail-sendmail-f-doesnt-sell-me-out)
900 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
901 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
902 (feedmail-sender-line, feedmail-from-line)
903 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
904 (feedmail-spray-this-address)
905 (feedmail-spray-address-fiddle-plex-list)
906 (feedmail-queue-use-send-time-for-date)
907 (feedmail-queue-use-send-time-for-message-id)
908 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
909 (feedmail-buffer-eating-function):
911 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
912 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
913 (feedmail-message-action-scroll-down): New functions.
914 (feedmail-queue-directory, feedmail-queue-draft-directory):
915 Use expand-file-name.
916 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
917 Remove C-v help entry.
918 (feedmail-queue-buffer-file-name): New variable.
919 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
920 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
921 (feedmail-message-action-send-strong, feedmail-message-action-edit)
922 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
923 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
924 (feedmail-message-action-toggle-spray)
925 (feedmail-run-the-queue-no-prompts)
926 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
927 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
928 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
929 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
930 (feedmail-envelope-deducer, feedmail-fiddle-from)
931 (feedmail-fiddle-sender, feedmail-default-date-generator)
932 (feedmail-fiddle-date, feedmail-fiddle-message-id)
933 (feedmail-fiddle-spray-address)
934 (feedmail-fiddle-list-of-spray-fiddle-plexes)
935 (feedmail-fiddle-list-of-fiddle-plexes)
936 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
937 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
938 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
939 Change default. Doc fix.
940 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
941 (feedmail-binmail-linuxish-template): New constant.
942 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
943 Respect feedmail-sendmail-f-doesnt-sell-me-out.
944 (feedmail-send-it): Add debug call.
945 Use feedmail-queue-buffer-file-name, and
946 feedmail-send-it-immediately-wrapper.
947 (feedmail-message-action-send): Add debug call.
948 Use feedmail-send-it-immediately-wrapper.
949 (feedmail-queue-express-to-queue): Add debug call.
950 Run feedmail-queue-express-hook.
951 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
952 (feedmail-message-action-help-blat):
953 Rename from feedmail-queue-send-edit-prompt-help-first.
954 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
955 Check line-endings. Handle errors better.
956 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
957 Doc fix. Add debug call.
958 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
959 Use feedmail-queue-send-edit-prompt-inner.
960 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
961 (feedmail-queue-send-edit-prompt-inner): New function, extracted
962 from feedmail-queue-send-edit-prompt.
963 (feedmail-queue-send-edit-prompt-help)
964 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
965 (feedmail-tidy-up-slug): Add debug call.
966 Respect feedmail-queue-slug-suspect-regexp.
967 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
968 (feedmail-dump-message-to-queue): Add debug call.
969 Expand queue-directory.
970 (feedmail-dump-message-to-queue): Change message slightly.
971 Use feedmail-say-chatter.
972 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
973 (feedmail-send-it-immediately-wrapper): New function.
974 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
975 Insert empty string rather than newline. Handle full-frame case.
976 Use catch/throw. Use feedmail-say-chatter.
977 (feedmail-fiddle-from): Try mail-host-address.
978 (feedmail-default-message-id-generator): Doc fix.
979 Bind system-time-locale. Handle missing end.
980 (feedmail-fiddle-x-mailer): Add debug call.
981 Handle feedmail-x-mailer-line being nil.
982 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
983 Add debug call. Use buffer-substring-no-properties.
984 (feedmail-say-debug, feedmail-say-chatter): New functions.
985 (feedmail-find-eoh): Give an explicit error.
987 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
989 * net/newst-treeview.el (newsticker-treeview-face): Change default
990 family from helvetica to sans.
991 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
992 etc/images/newsticker.
994 * net/newst-reader.el (newsticker-feed-face): Change default
995 family from helvetica to sans.
997 * net/newst-plainview.el (newsticker-new-item-face)
998 (newsticker-old-item-face, newsticker-immortal-item-face)
999 (newsticker-obsolete-item-face, newsticker-date-face)
1000 (newsticker-statistics-face): Change default family from
1002 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1003 etc/images/newsticker.
1005 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1006 (newsticker--process-auto-mark-filter-match): : Tell user about
1009 2011-05-13 Didier Verna <didier@xemacs.org>
1011 Common Lisp indentation improvements on defmethod and lambda-lists.
1012 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1013 (lisp-lambda-list-keyword-parameter-indentation)
1014 (lisp-lambda-list-keyword-parameter-alignment)
1015 (lisp-lambda-list-keyword-alignment): New customizable user options.
1016 (lisp-indent-defun-method): Improve docstring.
1017 (extended-loop-p): Fix comment.
1018 (lisp-indent-lambda-list-keywords-regexp): New variable.
1019 (lisp-indent-lambda-list): New function.
1020 (lisp-indent-259): Use it.
1021 (lisp-indent-defmethod): Support for more than one
1022 method qualifier and properly indent methods lambda-lists.
1023 (defgeneric): Provide a missing common-lisp-indent-function property.
1025 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1028 bounds for the empty string (bug#8667).
1030 2011-05-13 Glenn Morris <rgm@gnu.org>
1032 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1034 * mail/sendmail.el (sendmail-program): Try executable-find first.
1035 (sendmail-send-it): `sendmail-program' cannot be unbound.
1037 * calendar/appt.el (appt-make-list): Simplify.
1038 (appt-time-msg-list): Doc fix.
1039 (appt-check): Change mode-line message at the time of the appointment.
1041 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1043 * progmodes/ld-script.el (ld-script-keywords)
1044 (ld-script-builtins): Update keywords list.
1046 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1050 * shell.el (shell-completion-vars): New function.
1052 * simple.el (read-shell-command): Use it.
1053 (blink-matching-open): No need for " [...]" in minibuffer-message.
1055 2011-05-12 Glenn Morris <rgm@gnu.org>
1057 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1058 (appt-check): Simplify.
1060 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1062 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1063 literal "/dev/null".
1065 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1070 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1072 * progmodes/which-func.el (which-function):
1073 Use add-log-current-defun instead of add-log-current-defun-function,
1074 which might not be defined (Bug#8260).
1076 2011-05-12 Glenn Morris <rgm@gnu.org>
1078 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1079 Let byte-compile-initial-macro-environment always take precedence.
1081 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * net/rcirc.el: Add support for SSL/TLS connections.
1084 (rcirc-server-alist): New field `encryption'.
1085 (rcirc): Check `encryption' settings.
1086 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1087 Merge make-local-variable into `set'.
1088 (rcirc--connection-open-p): New function.
1089 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1090 the process is not a network process (e.g. running gnutls-cli).
1091 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1092 Make rcirc-(en|de)code-coding-system local here.
1093 (rcirc-mode): Merge make-local-variable into `set'.
1094 (rcirc-parent-buffer): Make permanent buffer-local.
1095 (rcirc-multiline-minor-mode): Don't do it here.
1096 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1097 there's no server buffer.
1099 2011-05-11 Glenn Morris <rgm@gnu.org>
1101 * newcomment.el (comment-kill): Prefix "unused" local.
1103 * term/w32console.el (get-screen-color): Declare.
1105 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1106 Handle symbol elements of byte-compile-initial-macro-environment.
1108 2011-05-10 Leo Liu <sdl.web@gmail.com>
1110 * bookmark.el (bookmark-bmenu-mode-map):
1111 Bind bookmark-bmenu-search to `/'.
1113 * mail/footnote.el: Convert to utf-8 encoding.
1114 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1115 (Footnote-unicode): New function.
1116 (footnote-style-alist): Add unicode style to the list.
1117 (footnote-style): Doc fix.
1119 2011-05-10 Jim Meyering <meyering@redhat.com>
1121 Fix doubled-word typos.
1122 * international/quail.el (quail-insert-kbd-layout): and and -> and
1123 * kermit.el: and and -> and
1124 * net/ldap.el (ldap-search-internal): to to -> to
1125 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1126 * progmodes/js.el (js-mode): and and -> and
1127 * textmodes/artist.el (artist-move-to-xy): at at -> at
1128 (artist-draw-region-trim-line-endings): if if -> if
1129 And Safetyc -> Safety.
1130 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1132 2011-05-10 Glenn Morris <rgm@gnu.org>
1133 Stefan Monnier <monnier@iro.umontreal.ca>
1135 * files.el (hack-one-local-variable-eval-safep):
1136 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1138 2011-05-10 Glenn Morris <rgm@gnu.org>
1140 * calendar/diary-lib.el (diary-list-entries-hook)
1141 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1142 (diary-nongregorian-marking-hook, diary-list-entries)
1143 (diary-include-other-diary-files, diary-mark-entries)
1144 (diary-mark-included-diary-files): Doc fixes.
1146 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1148 * misc.el: Require tabulated-list.el during compilation.
1150 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1152 * progmodes/compile.el (compilation-start):
1153 Run compilation-filter-hook for the async case too.
1154 (compilation-filter-hook): Doc fix.
1156 2011-05-09 Deniz Dogan <deniz@dogan.se>
1158 * wdired.el: Remove outdated installation comment. Fix usage
1161 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1163 * misc.el: Implement new command `list-dynamic-libraries'.
1164 (list-dynamic-libraries--loaded-only-p): New variable.
1165 (list-dynamic-libraries--refresh): New function.
1166 (list-dynamic-libraries): New command.
1168 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1171 Fix the ant regexp to handle end-line and end-column info from jikes.
1172 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1173 higher priority to avoid clobbering by gnu.
1175 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1177 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1178 if the face has existing theme settings (Bug#8454).
1180 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1182 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1183 Only match variables declared via `my' or `our' (Bug#8261).
1185 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1186 special file names `.' and `..' (Bug#8259).
1188 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1190 * progmodes/grep.el (grep-mode-font-lock-keywords):
1191 Remove buffer-changing entries.
1192 (grep-filter): New function.
1193 (grep-mode): Add it to compilation-filter-hook.
1195 * progmodes/compile.el (compilation-filter-hook)
1196 (compilation-filter-start): New defvars.
1197 (compilation-filter): Call compilation-filter-hook prior to
1198 updating the process mark.
1200 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1202 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1204 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1206 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1207 mailclient-send-it even if window-system is nil. (Bug#8595)
1209 * term/w32console.el (terminal-init-w32console):
1210 Call get-screen-color and use its output to set the frame
1211 background-mode. (Bug#8597)
1213 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1215 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1216 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1218 (defgeneric, eieio--defmethod): Use them.
1219 (eieio-defgeneric): Remove.
1220 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1222 2011-05-07 Glenn Morris <rgm@gnu.org>
1224 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1225 Use let rather than let*.
1226 (timeclock-find-discrep): Remove unused local.
1228 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1230 * calendar/appt.el (appt-time-msg-list): Doc fix.
1232 2011-05-06 Noah Friedman <friedman@splode.com>
1234 * apropos.el (apropos-print-doc): Only use
1235 emacs-lisp-docstring-fill-column when it is bound to an integer,
1236 per that variable's documentation.
1238 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1241 and warnings are not silently discarded (e.g. use -d instead of -P).
1243 2011-05-06 Glenn Morris <rgm@gnu.org>
1245 * calendar/appt.el (appt-message-warning-time): Doc fix.
1246 (appt-warning-time-regexp): New option.
1247 (appt-make-list): Respect appt-message-warning-time.
1249 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1251 (diary-add-to-list): Strip comments from the displayed string.
1252 (diary-mode): Set comment-start and comment-end.
1254 * vc/diff-mode.el (smerge-refine-subst): Declare.
1255 (diff-refine-hunk): Don't require smerge-mode when compiling.
1257 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1259 * simple.el (list-processes): Return nil as the docstring says.
1261 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1263 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1265 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1266 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1267 determining of binary transfer. (Bug#7383)
1269 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1272 Fix port computation bug. (Bug#8618)
1274 2011-05-05 Glenn Morris <rgm@gnu.org>
1276 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1278 * simple.el (shell-dynamic-complete-functions)
1279 (comint-dynamic-complete-functions): Declare.
1281 * net/network-stream.el (gnutls-negotiate):
1282 * simple.el (tabulated-list-print): Fix declarations.
1284 * progmodes/gud.el (syntax-symbol, syntax-point):
1285 Remove unnecessary and incorrect declarations.
1287 * emacs-lisp/check-declare.el (check-declare-scan):
1288 Handle byte-compile-initial-macro-environment in bytecomp.el
1290 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1292 Fix earlier half-done eieio-defmethod change (bug#8338).
1293 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1294 Streamline and change calling convention.
1295 (defmethod): Adjust accordingly and simplify.
1296 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1297 new eieio--defmethod.
1298 (slot-boundp): Minor CSE simplification.
1300 2011-05-05 Milan Zamazal <pdm@zamazal.org>
1302 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1303 (glasses-make-readable): Use glasses-separate-capital-groups.
1305 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
1307 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1308 (warning-series): Doc fix.
1309 (display-warning): Don't try to create the buffer if we just found it.
1311 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
1313 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1314 (autoload-find-generated-file): New function.
1315 (generate-file-autoloads): Bind generated-autoload-file to
1317 (update-file-autoloads, update-directory-autoloads):
1318 Use autoload-find-generated-file. If called interactively, prompt for
1319 output file (Bug#7989).
1320 (batch-update-autoloads): Doc fix.
1322 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1324 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1326 2011-05-04 Glenn Morris <rgm@gnu.org>
1328 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1329 function, so it follows changes in calendar-date-style.
1330 (diary-fancy-date-matcher): New function.
1331 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1332 (diary-fancy-font-lock-fontify-region-function):
1333 Use diary-fancy-date-pattern as a function.
1335 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1336 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1338 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1340 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1341 instead of positional arguments. Allow :keylist and :crlfiles
1343 (open-gnutls-stream): Call it.
1345 * net/network-stream.el (network-stream-open-starttls): Adjust to
1346 call `gnutls-negotiate' with :process and :hostname arguments.
1348 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * minibuffer.el (completion--message): New function.
1351 (completion--do-completion, minibuffer-complete)
1352 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1353 (completion--do-completion): Don't ignore completion-auto-help when in
1356 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1357 internal encoding (e.g. tibetan zero is not whitespace).
1358 (global-whitespace-mode): Prefer save-current-buffer.
1359 (whitespace-trailing-regexp): Remove useless save-match-data.
1360 (whitespace-empty-at-bob-regexp): Minor simplification.
1362 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
1364 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1366 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1368 * textmodes/ispell.el (ispell-add-per-file-word-list):
1369 Use `concat' to create string for insertion.
1371 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1374 Avoid open-line which runs post-self-insert-hook.
1375 (bibtex-fill-entry): Remove unused `end' var.
1377 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1379 * textmodes/ispell.el (ispell-add-per-file-word-list):
1380 Protect against `nil' value of `comment-start' (Bug#8579).
1382 2011-05-03 Leo Liu <sdl.web@gmail.com>
1384 * isearch.el (isearch-yank-pop): New command.
1385 (isearch-mode-map): Bind it to `M-y'.
1386 (isearch-forward): Mention it.
1388 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * simple.el (minibuffer-complete-shell-command): Remove.
1391 (minibuffer-local-shell-command-map): Use completion-at-point.
1392 (read-shell-command): Setup completion vars here instead.
1393 (read-expression-map): Bind TAB to symbol completion.
1395 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1396 error directly rather via storing it into `results'.
1398 2011-05-02 Leo Liu <sdl.web@gmail.com>
1400 * vc/diff.el: Fix description.
1402 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1404 * server.el (server-eval-at): New function.
1406 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1408 * net/network-stream.el (open-network-stream): Take a :nowait
1409 parameter and pass it on to `make-network-process'.
1410 (network-stream-open-plain): Ditto.
1412 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1414 * faces.el (face-spec-set-match-display): Don't match toolkit
1415 options on terminal frames.
1417 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * progmodes/pascal.el: Use lexical binding.
1420 (pascal-mode-map): Remove author preferences.
1422 * pcomplete.el (pcomplete-std-complete): Don't abuse
1423 completion-at-point.
1425 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1427 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1428 removing code that has been dead since 1991 or so.
1430 * startup.el (command-line): When warning about "_emacs", use a
1431 delayed warning to allow the user to filter it out.
1433 2011-04-28 Deniz Dogan <deniz@dogan.se>
1435 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1436 user has not joined.
1438 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1440 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1441 aren't any completions at point.
1443 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1445 * subr.el (display-delayed-warnings): New function.
1446 (delayed-warnings-hook): New variable.
1448 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1450 * minibuffer.el (completion-at-point, completion-help-at-point):
1451 Don't presume that a given completion-at-point-function will always
1452 use the same calling convention.
1454 * pcomplete.el (pcomplete-completions-at-point):
1455 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1456 pcomplete-seen is non-nil.
1457 (pcomplete-comint-setup): Also recognize the new comint/shell
1458 completion functions.
1459 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1460 pcomplete-seen is non-nil.
1462 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1464 * calendar/icalendar.el (diary-lib): Add require statement.
1465 (icalendar--create-uid): Read out a uid from a text-property on
1466 the first character in the entry. This allows for code to add its
1467 own uid to the entry.
1468 (icalendar--convert-float-to-ical): Add export of
1469 `diary-float'-entries save for those with the optional DAY
1472 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1474 * subr.el (shell-quote-argument): Use alternate escaping strategy
1475 when we spot a variable reference in a string.
1477 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1479 * cus-start.el (all): Define customization for debug-on-event.
1481 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1483 * subr.el (shell-quote-argument): Escape correctly under Windows.
1485 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1489 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1491 * net/tramp.el (tramp-process-actions): Add POS argument.
1492 Delete region between POS and (pos).
1494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1495 Use `nil' position in `tramp-process-actions' call.
1496 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1498 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1499 position in `tramp-process-actions' call.
1501 * net/trampver.el: Update release number.
1503 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * custom.el (defcustom): Obey lexical-binding.
1507 Fix octave-inf completion problems reported by Alexander Klimov.
1508 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1509 Inherit from octave-mode-syntax-table.
1510 (inferior-octave-mode): Set info-lookup-mode.
1511 (inferior-octave-completion-at-point): New function.
1512 (inferior-octave-complete): Use it and completion-in-region.
1513 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1514 comint-filename-completion.
1515 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1516 symbol elements which shouldn't be word elements.
1517 (octave-font-lock-keywords, octave-beginning-of-defun)
1518 (octave-function-header-regexp): Adjust regexps accordingly.
1519 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1521 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1523 * net/gnutls.el (gnutls-errorp): Declare before first use.
1525 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1527 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1528 verify-error, and verify-hostname-error parameters. Check whether
1529 default trustfile exists before going to use it. Add missing
1530 argument to gnutls-message-maybe call. Return return value.
1531 Reported by Claudio Bley <claudio.bley@gmail.com>.
1532 (open-gnutls-stream): Add usage example.
1534 * net/network-stream.el (network-stream-open-starttls): Give host
1535 parameter to `gnutls-negotiate'.
1536 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1537 * subr.el (shell-quote-argument): Escape correctly under Windows.
1539 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1541 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1542 Use correct match group (bug#8438).
1544 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1546 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1547 (package-menu--generate): New arg specifying packages to show.
1548 (package-menu-refresh, package-menu-execute, list-packages):
1550 (package-show-package-list): New function, replacing deleted
1551 package--list-packages (renamed because it is non-internal).
1553 * finder.el (finder-list-matches): Use package-show-package-list
1554 instead of deleted package--list-packages.
1556 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1557 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1558 (vc-annotate-mode-map): Bind it to RET.
1560 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1562 * progmodes/etags.el (next-file): Don't use set-buffer to change
1565 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1567 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1569 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1570 (apropos-accumulator): Doc fix.
1571 (apropos-function, apropos-macro, apropos-command)
1572 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1573 (apropos-plist): Add face property.
1574 (apropos-symbols-internal): Fix indentation.
1575 (apropos-print): Simplify help, and recognize apropos-multi-type.
1576 (apropos-print-doc): Use button-type-get to extract the button's
1577 face property. Fill docstring (Bug#8352).
1579 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1581 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1583 * play/mpuz.el (mpuz-silent): Doc fix.
1584 (mpuz-mode-map): Use mapc.
1585 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1586 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1587 Fix typos in docstrings.
1589 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1590 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1592 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1594 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
1596 * minibuffer.el (completion--do-completion): Avoid the "Next char
1597 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1599 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1600 mouse-2 into unread-command-events, it is interpreted correctly.
1602 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1603 (image-toggle-display): Doc fix.
1605 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
1607 * textmodes/page.el (what-page): Use line-number-at-pos to
1608 calculate line number (Bug#6825).
1610 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1612 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1613 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1614 Pass argument NO-DEFAULT to `find-tag-interactive'.
1616 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1618 Lexical-binding cleanup.
1620 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1621 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1622 * progmodes/ada-prj.el (ada-prj-initialize-values)
1623 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1624 (ada-prj-show-value):
1625 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1626 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1627 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1628 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1629 * progmodes/bug-reference.el (bug-reference-push-button):
1630 * progmodes/fortran.el (fortran-line-length):
1631 * progmodes/glasses.el (glasses-change):
1632 * progmodes/octave-mod.el (octave-fill-paragraph):
1633 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1634 (python-pdbtrack-grub-for-buffer, python-sentinel):
1635 * progmodes/sql.el (sql-save-connection):
1636 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1637 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1638 Mark unused parameters.
1640 * progmodes/compile.el (compilation--flush-directory-cache)
1641 (compilation--flush-parse, compile-internal): Mark unused parameters.
1642 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1643 (compilation-next-error-function): Remove unused variable `timestamp'.
1645 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1646 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1648 * progmodes/dcl-mode.el (dcl-end-of-command):
1649 Remove unused variable `start'.
1650 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1651 (dcl-option-value-basic, dcl-option-value-offset)
1652 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1653 Mark unused parameters.
1654 (dcl-save-local-variable): Remove unused variable `val'.
1657 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1658 Mark unused parameters.
1659 (delphi-ignore-changes): Move before first use.
1660 (delphi-charset-token-at): Remove unused variable `start'.
1661 (delphi-else-start): Remove unused variable `if-count'.
1662 (delphi-comment-block-start, delphi-comment-block-end):
1663 Remove unused variable `kind'.
1664 (delphi-indent-line): Remove unused variable `new-point'.
1666 * progmodes/ebrowse.el (ebrowse-files-list)
1667 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1668 Mark unused parameters. Don't quote `lambda'.
1669 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1670 Don't quote `lambda'.
1671 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1672 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1673 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1674 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1675 Use `ignore-errors'.
1676 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1677 (ebrowse-view/find-file-and-search-pattern)
1678 (ebrowse-view/find-member-declaration/definition):
1679 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1680 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1681 Rename parameter PREFIX-ARG to PREFIX.
1682 (ebrowse-tags-read-name): Remove unused variables `start' and
1684 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1687 * progmodes/etags.el (local-find-tag-hook): Declare.
1688 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1689 Mark unused parameters.
1691 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1692 (executable-interpret): Mark unused parameter.
1694 * progmodes/flymake.el (flymake-process-sentinel)
1695 (flymake-after-change-function)
1696 (flymake-create-temp-with-folder-structure)
1697 (flymake-get-include-dirs-dot): Mark unused parameters.
1698 (flymake-safe-delete-directory): Remove unused variable `err'.
1700 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1701 (speedbar-timer-fn, speedbar-line-text)
1702 (speedbar-change-expand-button-char, speedbar-delete-subblock)
1703 (speedbar-center-buffer-smartly): Declare functions.
1704 (gdb-find-watch-expression): Remove unused variable `array'.
1705 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1706 (gdb-starting): Mark unused parameters.
1707 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1708 (gdb-table-string): Remove unused variable `res'.
1709 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1710 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1711 (gdb-display-buffer): Remove unused variable `cur-size'.
1713 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1714 allow lexical-binding compilation.
1715 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1716 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1717 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1718 Mark unused parameters.
1719 (gud-gdb-marker-filter): Remove unused variable `match'.
1720 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1721 lambda expressions and funcall them, instead of using `fset'.
1723 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1724 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1726 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1727 variable `header-beg'; use `let'.
1729 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1730 `restart', `last-sexp' and `at-do'.
1732 * progmodes/js.el (js--debug): Mark unused parameter.
1733 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1734 (js--splice-into-items): Remove unused variable `item'.
1735 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1737 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1738 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1739 (makefile-complete): Remove unused variable `try'.
1740 (makefile-fill-paragraph, makefile-match-function-end):
1741 Mark unused parameters.
1743 * progmodes/octave-inf.el (inferior-octave-complete):
1744 Remove unused variable `proc'.
1745 (inferior-octave-output-digest): Mark unused parameter.
1747 * progmodes/perl-mode.el (perl-calculate-indent):
1748 Remove unused variable `err'.
1750 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1751 (prolog-indent-line): Mark unused parameters.
1752 (prolog-indent-line): Remove unused variable `beg'.
1754 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1755 (reporter-dont-compact-list): Declare.
1757 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1758 Remove unused variable `char'.
1759 (sh-debug): Mark unused parameter.
1760 (sh-get-indent-info): Remove unused variable `start'.
1761 (sh-calculate-indent): Remove unused variable `var'.
1763 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1764 (simula-electric-keyword): Remove unused variable `null'.
1765 (simula-search-backward, simula-search-forward): Remove unused
1766 variables `begin' and `end'.
1768 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1769 Remove unused variable `pos'.
1770 (vera-electric-tab, vera-comment-uncomment-region):
1771 Mark unused parameters.
1772 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1774 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
1776 * emacs-lisp/package.el (package--builtins, package-alist)
1777 (package-load-descriptor, package-built-in-p, package-activate)
1778 (define-package, package-installed-p)
1779 (package-compute-transaction, package-buffer-info)
1780 (package--push): Doc fix. Distinguish more clearly between
1781 version strings and version lists.
1783 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
1785 Lexical-binding cleanup.
1787 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1788 (5x5-make-mutate-best):
1789 * play/fortune.el (fortune-in-buffer):
1790 * play/gomoku.el (gomoku-init-display):
1791 * play/solitaire.el (solitaire, solitaire-do-check):
1792 * play/tetris.el (tetris-default-update-speed-function):
1793 Mark unused parameters.
1795 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1796 (bubbles--shift): Remove unused variable `char-org'.
1797 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1798 (bubbles--show-images): Remove unused variable `char'.
1800 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1801 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1802 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1803 (decipher-analyze-buffer): Use ?\s.
1804 (decipher-make-checkpoint): Remove unused variable `mapping'.
1806 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1808 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1809 Remove unused variable `result'; use `let'.
1811 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1812 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1813 (gametree-children-shown-p, gametree-compute-reduced-score):
1814 Use `ignore-errors'.
1816 * play/handwrite.el (ps-lpr-switches): Declare.
1817 (handwrite): Remove unused variables `pmin' and `lastp'.
1819 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1821 * play/landmark.el (landmark-init-display)
1822 (landmark-update-naught-weights): Mark unused parameters.
1823 (landmark-y): Remove unused variable `noise'. Simplify.
1824 (landmark-human-plays): Remove unused variable `score'.
1826 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1827 (mpuz-try-proposal): Remove unused variable `game'.
1829 * play/zone.el (life-patterns): Declare.
1831 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
1833 * vc/vc.el (ediff-vc-internal): Declare function.
1835 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * shell.el: Use lexical-binding and std completion UI.
1838 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1839 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1840 comint-preoutput-filter-functions rather than on
1841 comint-output-filter-functions.
1842 (shell-command-completion, shell--command-completion-data)
1843 (shell-filename-completion, shell-environment-variable-completion)
1844 (shell-c-a-p-replace-by-expanded-directory): New functions.
1845 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1846 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1847 (shell-dynamic-complete-environment-variable): Use them.
1848 (shell-dynamic-complete-as-environment-variable)
1849 (shell-dynamic-complete-as-command): Remove.
1850 (shell-match-partial-variable): Match past point.
1851 * comint.el: Clean up use of completion-at-point-functions.
1852 (comint-completion-at-point): New function.
1853 (comint-mode): Use it completion-at-point-functions.
1854 (comint-dynamic-complete): Make it obsolete.
1855 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1856 (comint-c-a-p-replace-by-expanded-history): New function.
1857 (comint-dynamic-complete-functions)
1858 (comint-replace-by-expanded-history): Use it.
1859 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1860 termination strings. Try harder to avoid second try-completion.
1861 (completion-in-region-mode-map): Disable bindings that don't work yet.
1863 * comint.el: Use lexical-binding. Require CL.
1864 (comint-dynamic-complete-functions): Use comint-filename-completion.
1865 (comint-completion-addsuffix): Tweak custom type.
1866 (comint-filename-completion, comint--common-suffix)
1867 (comint--common-quoted-suffix, comint--table-subvert)
1868 (comint--complete-file-name-data): New functions.
1869 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1870 (comint-dynamic-list-filename-completions): Use them.
1871 (comint-dynamic-simple-complete): Make obsolete.
1873 * minibuffer.el (completion-in-region-mode):
1874 Keep completion-in-region-mode--predicate global.
1875 (completion-in-region--postch):
1876 Assume completion-in-region-mode--predicate is not null.
1878 * progmodes/flymake.el (flymake-start-syntax-check-process):
1879 Obey `dir'. Simplify.
1881 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1882 we're in VC after all.
1884 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1886 * vc/vc.el (vc-diff-build-argument-list-internal)
1887 (vc-version-ediff, vc-ediff): New commands.
1888 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1890 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1895 * obsolete/erc-hecomplete.el: Make obsolete.
1896 * obsolete/: Standardize obsolescence info in the header.
1898 2011-04-20 Glenn Morris <rgm@gnu.org>
1900 * calendar/solar.el (solar-horizontal-coordinates):
1901 Use the longitude argument rather than `calendar-longitude'.
1902 (solar-date-next-longitude): Remove unused locals.
1904 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1906 * whitespace.el: New version 13.2.1.
1908 2011-04-20 felix <EmacsWiki> (tiny change)
1910 * whitespace.el (global-whitespace-mode): keep highlight when
1911 switching between major modes on a file.
1913 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1915 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1916 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1917 multi-line comments as well.
1919 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
1921 Lexical-binding cleanup.
1923 * arc-mode.el (archive-mode-revert):
1924 * cmuscheme.el (scheme-interactively-start-process):
1925 * custom.el (custom-initialize-delay):
1926 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1927 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1928 * emacs-lock.el (emacs-lock-clear-sentinel):
1929 * ezimage.el (defezimage):
1930 * follow.el (follow-avoid-tail-recenter):
1931 * fringe.el (set-fringe-mode-1):
1932 * generic-x.el (bat-generic-mode-compile):
1933 * help-mode.el (help-info-variable, help-do-xref)
1934 (help-mode-revert-buffer):
1935 * help.el (view-emacs-todo):
1936 * iswitchb.el (iswitchb-completion-help):
1937 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1938 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1939 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1940 * locate.el (locate-update):
1941 * longlines.el (longlines-encode-region)
1942 (longlines-after-change-function):
1943 * outline.el (outline-isearch-open-invisible):
1944 * ps-def.el (declare-function, charset-dimension, char-width)
1946 * ps-mule.el (ps-mule-plot-string):
1947 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1948 (recentf-edit-list-select, recentf-edit-list-validate)
1949 (recentf-open-files-action):
1950 * rect.el (delete-whitespace-rectangle-line)
1951 (rectangle-number-line-callback):
1952 * register.el (window-configuration-to-register)
1953 (frame-configuration-to-register):
1954 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1955 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1956 (xselect-convert-to-targets, xselect-convert-to-delete)
1957 (xselect-convert-to-filename, xselect-convert-to-charpos)
1958 (xselect-convert-to-lineno, xselect-convert-to-colno)
1959 (xselect-convert-to-os, xselect-convert-to-host)
1960 (xselect-convert-to-user, xselect-convert-to-class)
1961 (xselect-convert-to-name, xselect-convert-to-integer)
1962 (xselect-convert-to-atom, xselect-convert-to-identity):
1963 * subr.el (declare, ignore, process-kill-without-query)
1964 (text-clone-maintain):
1965 * terminal.el (te-get-char, te-tic-sentinel):
1966 * tool-bar.el (tool-bar-make-keymap):
1967 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1968 * type-break.el (type-break-mode, type-break-noninteractive-query):
1969 * view.el (View-back-to-mark):
1970 * wid-browse.el (widget-browse-action, widget-browse-widget)
1971 (widget-browse-widgets, widget-browse-sexp):
1972 * widget.el (define-widget-keywords):
1973 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1974 Mark unused parameters.
1976 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1977 (align-areas): Remove unused variable `look'.
1978 (align-region): Remove unused variables `real-end' and `pos-list'.
1980 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1982 * bindings.el (mode-line-modified, mode-line-remote):
1983 Mark unused parameters.
1984 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1986 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1987 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1989 * comint.el (comint-history-isearch-pop-state)
1990 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1991 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1992 (comint-substitute-in-file-name): Doc fix.
1994 * completion.el (cmpl-statistics-block): Mark unused parameter.
1995 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1996 (save-completions-to-file, load-completions-from-file):
1997 Remove unused local variable `e'.
1999 * composite.el (compose-chars): Remove unused variable `len'.
2000 (lgstring-insert-glyph): Remove unused variable `g'.
2001 (compose-glyph-string): Remove unused variables `ascent',
2002 `descent', `lbearing' and `rbearing'.
2003 (compose-glyph-string-relative): Remove unused variables
2004 `lbearing', `rbearing' and `wadjust'.
2005 (compose-gstring-for-graphic): Remove unused variables `header',
2006 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2007 (compose-gstring-for-terminal): Remove unused variables `header'
2008 and `nchars'. Use `let', not `let*'.
2010 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2011 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2012 (Custom-buffer-done, custom-buffer-create-internal)
2013 (custom-browse-visibility-action, custom-browse-group-tag-action)
2014 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2015 (widget-magic-mouse-down-action, custom-toggle-parent)
2016 (custom-add-parent-links, custom-toggle-hide-variable)
2017 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2018 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2019 (custom-face-menu-create, custom-variable-menu-create, get)
2020 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2021 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2022 (customize-apropos): Remove unused variable `tests'.
2023 (custom-group-value-create): Remove unused variable `hidden-p'.
2024 (sort-fold-case): Declare.
2026 * cus-theme.el (custom-reset-standard-faces-list)
2027 (custom-reset-standard-variables-list): Declare.
2028 (customize-create-theme, custom-theme-revert, custom-theme-write)
2029 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2030 Mark unused parameters.
2032 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2034 * delim-col.el (delimit-columns-max): Move defvar before first use.
2036 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2037 (describe-char): Don't quote `lambda'. Mark unused parameter.
2039 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2040 (auto-insert): Declare.
2041 (desktop-restore-file-buffer): Rename desktop-* parameters;
2043 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2044 (desktop-buffer): Rename desktop-* parameters.
2046 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2047 (dframe-reposition-frame-xemacs, dframe-help-echo)
2048 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2049 Mark unused parameters.
2051 * dired-aux.el (backup-extract-version-start, overwrite-query)
2052 (overwrite-backup-query, rename-regexp-query)
2053 (rename-non-directory-query): Declare.
2054 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2055 (dired-add-entry): Remove unused variable `orig-file-name'.
2056 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2057 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2058 `dired-copy-preserve-time' directly.
2059 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2060 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2062 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2063 (dired-virtual-revert, dired-make-relative-symlink):
2064 Mark unused parameters.
2065 (manual-program): Declare.
2066 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2067 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2068 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2070 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2072 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2074 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2077 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2079 * electric.el (Electric-command-loop): Rename parameter
2080 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2082 * expand.el (expand-in-literal): Remove unused variable `here'.
2084 * facemenu.el (facemenu-add-new-color):
2085 Remove unused variable `docstring'.
2087 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2088 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2089 (face-attr-construct): Mark unused parameter. Doc fix.
2090 (read-color): Remove unused variable `hex-string'.
2092 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2093 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2094 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2095 (display-buffer-other-frame): Remove unused variable `old-window'.
2096 (kill-buffer-hook): Declare.
2097 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2098 Mark unused parameters.
2099 (after-find-file): Pass 1 to `auto-save-mode', not t.
2101 * files-x.el (auto-insert): Declare.
2102 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2104 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2105 variable `buf'. Mark unused parameter.
2106 (find-lisp-insert-directory): Mark unused parameter.
2108 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2109 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2110 (format-common-tail): Remove, unused.
2111 (format-deannotate-region): Remove unused variable `loc'.
2112 (format-annotate-region): Remove unused variable `p'.
2113 (format-annotate-single-property-change): Remove unused variables
2114 `default' and `tail'.
2116 * forms.el (read-file-filter): Declare.
2117 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2119 * frame.el (frame-creation-function-alist): Mark unused parameter.
2120 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2122 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2123 Remove unused parameters.
2124 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2125 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2127 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2128 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2129 (hfy-prepare-tag-map): Mark unused parameters.
2130 (htmlfontify-buffer): Use `called-interactively-p'.
2132 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2133 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2134 (ibuffer-do-occur): Mark unused parameters.
2135 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2136 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2138 * ibuffer.el: Don't quote `lambda'.
2139 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2140 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2141 Mark unused parameters.
2143 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2144 (ido-completing-read): Mark unused parameters.
2145 (ido-copy-current-word): Mark unused parameters;
2146 remove unused variable `name'.
2147 (ido-sort-merged-list): Remove unused parameter `dirs'.
2149 * ielm.el (ielm-input-sender): Mark unused parameter.
2150 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2151 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2152 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2153 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2154 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2156 * image-dired.el (image-dired-display-thumbs): Remove unused
2157 variables `curr-file' and `count'.
2158 (image-dired-remove-tag): Remove unused variable `start'.
2159 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2160 variable `curr-file'
2161 (image-dired-rotate-original): Remove unused variable `temp-file'.
2162 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2163 Remove unused variable `file'.
2164 (image-dired-gallery-generate): Remove unused variable `curr'.
2165 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2167 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2169 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2171 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2173 * isearch.el (minibuffer-history-symbol): Declare.
2174 (isearch-edit-string): Remove unused variable `err'.
2175 (isearch-message-prefix, isearch-message-suffix):
2176 Mark unused parameters.
2178 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2180 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2182 * makesum.el (double-column): Remove unused variable `cnt'.
2184 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2185 (ido-ignore-item-temp-list): Declare.
2187 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2188 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2189 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2190 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2193 * mouse-sel.el (mouse-extend-internal):
2194 Remove unused variable `orig-window-frame'.
2196 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2197 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2198 Move declarations before first use.
2199 (pcomplete-opt): Mark unused parameters; doc fix.
2201 * proced.el (proced-revert): Mark unused parameter.
2202 (proced-send-signal): Remove unused variable `err'.
2204 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2205 Rename parameter PREFIX-ARG to ARG.
2206 (ps-basic-plot-string, ps-basic-plot-whitespace):
2207 Mark unused parameters.
2209 * replace.el (replace-count): Define.
2210 (occur-revert-function): Mark unused parameters.
2211 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2212 (isearch-case-fold-search, isearch-string): Declare.
2213 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2214 bind `case-fold-search'. Remove unused variables `beg' and `end',
2216 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2217 COUNT and bind `replace-count'.
2218 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2221 * savehist.el (print-readably, print-string-length): Declare.
2223 * shadowfile.el (shadow-expand-cluster-in-file-name):
2224 Remove unused variable `cluster'.
2225 (shadow-copy-file): Remove unused variable `i'.
2226 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2227 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2228 (shadow-define-literal-group, shadow-define-regexp-group)
2229 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2231 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2232 (shell): Use `called-interactively-p'.
2233 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2235 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2236 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2237 (delete-backward-char): Remove unused variable `ocol'.
2238 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2239 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2240 (event-apply-hyper-modifier, event-apply-shift-modifier)
2241 (event-apply-control-modifier, event-apply-meta-modifier):
2242 Mark unused parameters.
2243 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2244 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2246 * speedbar.el (speedbar-ignored-directory-expressions)
2247 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2248 (speedbar-find-file, speedbar-dir-follow)
2249 (speedbar-directory-buttons-follow, speedbar-tag-find)
2250 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2251 (speedbar-buffers-line-directory, speedbar-buffer-click):
2252 Mark unused parameters.
2253 (speedbar-tag-file): Remove unused variable `mode'.
2254 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2256 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2258 * talk.el (talk): Remove unused variable `display'.
2260 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2261 (tar-write-region-annotate): Mark unused parameter.
2263 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2264 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2265 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2268 * time-stamp.el (time-stamp-string-preprocess):
2269 Remove unused variable `require-padding'.
2271 * tree-widget.el (widget-glyph-enable): Declare.
2272 (tree-widget-action): Mark unused parameter.
2274 * w32-fns.el (x-get-selection): Mark unused parameter.
2275 (autoload-make-program, generated-autoload-file): Declare.
2277 * wdired.el (wdired-revert): Mark unused parameters.
2278 (wdired-xcase-word): Remove unused variable `err'.
2280 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2281 (whitespace-help-scroll): Remove unused variable `data-help'.
2283 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2284 (widget-image-insert, widget-after-change, default)
2285 (widget-default-format-handler, widget-default-notify)
2286 (widget-default-prompt-value, widget-info-link-action)
2287 (widget-url-link-action, widget-function-link-action)
2288 (widget-variable-link-action, widget-file-link-action)
2289 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2290 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2291 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2292 (widget-insert-button-action, widget-delete-button-action, visibility)
2293 (widget-documentation-link-action, widget-documentation-string-action)
2294 (widget-const-prompt-value, widget-regexp-match, symbol)
2295 (widget-coding-system-prompt-value)
2296 (widget-key-sequence-value-to-external, sexp)
2297 (widget-sexp-value-to-internal, character, vector, cons)
2298 (widget-choice-prompt-value, widget-boolean-prompt-value)
2299 (widget-color--choose-action): Mark unused parameters.
2300 (widget-item-match-inline, widget-choice-match-inline)
2301 (widget-checklist-match, widget-checklist-match-inline)
2302 (widget-group-match): Rename parameter VALUES to VALS.
2303 (widget-field-value-set): Remove unused variable `size'.
2304 (widget-color-action): Remove unused variables `value' and `start'.
2306 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2307 variable `dir'. Doc fix.
2308 (windmove-find-other-window): Don't pass it.
2310 * window.el (count-windows): Mark unused parameter.
2311 (bw-adjust-window): Remove unused variable `err'.
2313 * woman.el (woman-file-name): Remove unused variable `default'.
2314 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2315 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2316 (global-font-lock-mode): Declare.
2317 (woman-decode-region): Mark unused parameter.
2318 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2320 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2321 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2322 (x-dnd-handle-moz-url): Remove unused variable `title'.
2323 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2325 * xml.el (xml-parse-tag, xml-parse-attlist):
2326 Remove unused variable `pos'.
2328 2011-04-19 Glenn Morris <rgm@gnu.org>
2330 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2331 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2332 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2333 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2334 * calendar/cal-html.el (cal-html-insert-minical):
2335 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2336 (calendar-mark-date-pattern):
2337 Prefix "unused" locals.
2339 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2340 optional argument `style'.
2342 * calendar/appt.el (appt-make-list):
2343 * calendar/cal-china.el (calendar-chinese-date-string):
2344 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2345 (diary-hebrew-yahrzeit):
2346 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2347 * calendar/calendar.el (calendar-generate-window):
2348 * calendar/time-date.el (time-to-days):
2349 Remove unused local variables.
2351 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
2353 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2354 glyphless-char-display table.
2355 (tabulated-list-glyphless-char-display): New var.
2357 2011-04-18 Sam Steingold <sds@gnu.org>
2359 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2362 2011-04-17 Glenn Morris <rgm@gnu.org>
2364 * calendar/diary-lib.el (diary-sexp-entry):
2365 * calendar/holidays.el (holiday-sexp):
2366 Set debug-on-error rather than the removed stack-trace-on-error.
2368 2011-04-16 Glenn Morris <rgm@gnu.org>
2370 * progmodes/f90.el: Use lexical-binding.
2371 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2373 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2375 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2376 (mail-mode): Setup mailalias completion here instead.
2377 * mail/mailalias.el: Use lexical-binding.
2378 (pattern, mailalias-done): Declare dynamic.
2379 (mail-completion-at-point-function): New function, from mail-complete.
2380 (mail-complete): Use it.
2381 (mail-completion-expand): New function.
2382 (mail-get-names): Use it.
2383 (mail-directory, mail-directory-process, mail-directory-stream):
2384 Don't use `pattern' for lexically bound arg.
2386 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2388 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2389 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2390 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2392 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2393 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2394 (byte-interactive-p): Define them again, for use when inlining
2397 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2399 * loadup.el: Use `string-to-number', not `string-to-int'.
2401 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2404 gud-gdb-complete-command.
2405 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2406 (gud-gdb-completion-at-point): New function.
2407 (gud-gdb-completions): Remove.
2409 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2411 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2412 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2413 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2414 whether `executable-find' is bound.
2416 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2418 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * minibuffer.el (completion-in-region-mode-predicate)
2421 (completion-in-region-mode--predicate): New vars.
2422 (completion-in-region, completion-in-region--postch)
2423 (completion-in-region-mode): Use them.
2424 (completion--capf-wrapper): Also return the hook function.
2425 (completion-at-point, completion-help-at-point):
2426 Adjust and provide a predicate.
2428 Preserve arg names for advice of subr and lexical functions (bug#8457).
2429 * help-fns.el (help-function-arglist): Consolidate the subr and
2430 new-byte-code cases. Add argument `preserve-names' to extract names
2431 from the docstring when needed.
2432 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2433 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2434 (ad-arglist): Use help-function-arglist's new arg.
2435 (ad-definition-type): Use cond.
2437 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2439 * autorevert.el (auto-revert-handler):
2440 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2441 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2444 * image-mode.el (image-transform-set-scale):
2445 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2447 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2449 * net/network-stream.el (network-stream-open-starttls): Only do
2450 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2451 Upgrades via gnutls-cli are too slow to be done opportunistically.
2453 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2455 * dframe.el (dframe-current-frame): Remove spurious quote.
2457 2011-04-12 Glenn Morris <rgm@gnu.org>
2459 * calendar/cal-tex.el (cal-tex-end-document):
2460 Try to automatically use latin1 input if needed.
2462 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2463 Don't try to cons a mark onto an empty element.
2465 2011-04-11 Leo Liu <sdl.web@gmail.com>
2467 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2469 (ido-kill-buffer-at-head): Support killing virtual buffers.
2471 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2473 * minibuffer.el (completion-show-inline-help): New var.
2474 (completion--do-completion, minibuffer-complete)
2475 (minibuffer-force-complete, minibuffer-complete-word):
2476 Inhibit minibuffer messages if completion-show-inline-help is nil.
2478 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2479 to avoid interference from inline help (Bug#5849).
2481 2011-04-10 Leo Liu <sdl.web@gmail.com>
2483 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2486 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2488 * image-mode.el (image-toggle-display-image): Signal an error if
2490 (image-transform-mode, image-transform-resize)
2491 (image-transform-set-rotation): Doc fix.
2492 (image-transform-set-resize): Delete.
2493 (image-transform-set-scale, image-transform-fit-to-height)
2494 (image-transform-fit-to-width): Handle image-toggle-display-image
2495 and image-transform-resize directly.
2497 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2499 * doc-view.el (doc-view-fit-width-to-window)
2500 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2501 New functions for fitting the shown image to the Emacs window size.
2502 (doc-view-mode-map): Add bindings for the new functions.
2504 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2506 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2507 Fix typo in docstring.
2509 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2511 * files.el (file-size-human-readable): Produce one digit after
2512 decimal, like "ls -lh" does.
2514 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2515 the file size representation.
2517 * simple.el (list-processes): If async subprocesses are not
2518 available, error out with a clear error message.
2520 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2522 * help.el (help-form-show): New function, to be called from C.
2523 Put help-form output in a buffer named differently than *Help*.
2525 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2527 * files.el (file-size-human-readable): New function.
2529 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2530 computing the representation inline. Don't require `cl'.
2532 2011-04-08 Glenn Morris <rgm@gnu.org>
2534 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2536 * net/browse-url.el (browse-url-firefox):
2537 Test system-type, not system-configuration.
2539 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2540 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2541 Use log-edit-empty-buffer-p. (Bug#7598)
2543 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2544 (rlogin-mode-map): Initialize in the defvar.
2545 (rlogin): Use ignore-errors.
2547 * replace.el (occur-mode-map): Some fixes for menu items.
2549 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2551 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2553 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2555 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2556 issuing unused warnings.
2558 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2561 * simple.el: Lisp reimplement of list-processes. Based on an
2562 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2563 (process-menu-mode): New major mode.
2564 (list-processes--refresh, list-processes):
2565 (process-menu-visit-buffer): New functions.
2567 * files.el (save-buffers-kill-emacs): Don't assume any return
2568 value of list-processes, which is undocumented anyway.
2570 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2572 * emacs-lisp/tabulated-list.el: New file.
2574 * emacs-lisp/package.el: Use Tabulated List mode.
2575 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2576 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2577 table format using Tabulated List mode variables.
2578 (package--push): New macro, replacing package-list-maybe-add.
2579 (package-menu--generate): Use package--push. Renamed from
2580 package--generate-package-list.
2581 (package-menu-refresh, list-packages): Use it.
2582 (package-menu--print-info): Rename from package-print-package.
2583 Return insertion data instead of inserting it directly.
2584 (package-menu-describe-package, package-menu-execute):
2585 Use tabulated-list-get-id.
2586 (package-menu-mark-delete, package-menu-mark-install)
2587 (package-menu-mark-unmark, package-menu-backup-unmark)
2588 (package-menu-mark-obsolete-for-deletion):
2589 Use tabulated-list-put-tag.
2590 (package--list-packages, package-menu-revert)
2591 (package-menu-get-package, package-menu-get-version)
2592 (package-menu-sort-by-column): Functions deleted.
2593 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2594 (package-menu--status-predicate, package-menu--version-predicate)
2595 (package-menu--name-predicate)
2596 (package-menu--description-predicate): Handle arguments in the
2597 Tabulated List format.
2598 (package-list-packages-no-fetch): Call list-packages.
2600 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
2602 * files.el (after-find-file-from-revert-buffer): Remove variable.
2603 (after-find-file): Don't bind it.
2604 (revert-buffer-in-progress-p): New variable.
2605 (revert-buffer): Bind it.
2606 Pass nil for `after-find-file-from-revert-buffer'.
2608 * saveplace.el (save-place-find-file-hook): Use new variable
2609 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2611 2011-04-06 Glenn Morris <rgm@gnu.org>
2613 * Makefile.in (AUTOGEN_VCS): New variable.
2614 (autoloads): Use $AUTOGEN_VCS.
2616 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2617 * calendar/calendar.el (calendar-mode-map):
2618 Check for toolkit scroll bars. (Bug#8305)
2620 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2622 * minibuffer.el (completion-in-region--postch)
2623 (completion-in-region-mode): Remove unnecessary messages.
2625 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
2627 * font-lock.el (font-lock-refresh-defaults):
2628 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2629 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2631 * info.el (Info-directory-list, Info-read-node-name-2)
2632 (Info-split-parameter-string): Doc fixes.
2633 (Info-virtual-nodes): Reflow docstring.
2634 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2635 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2636 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2637 Fix typos in docstrings.
2638 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2639 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2640 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2641 (Info-restore-desktop-buffer): Mark unused parameters.
2642 (Info-directory-find-file, Info-directory-find-node)
2643 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2644 (Info-virtual-index-find-node, Info-apropos-find-file)
2645 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2646 Mark unused parameters; fix typos in docstrings.
2647 (Info-virtual-index): Remove unused local variable `nodename'.
2649 2011-04-05 Deniz Dogan <deniz@dogan.se>
2651 * net/rcirc.el: Update my e-mail address.
2652 (rcirc-mode-map): Remove M-o binding.
2654 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2656 * startup.el (command-line): Save the cursor's theme-face
2657 directly, instead of using face-override-spec.
2659 * custom.el (load-theme): Minor optimization in assigning faces.
2661 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2663 * help-fns.el (describe-variable): Complete all variables having
2664 documentation, including keywords.
2665 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2667 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2669 Convert to lexical-binding.
2671 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2672 (bs--get-marked-string, bs--get-modified-string)
2673 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2674 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2675 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2677 * ehelp.el (electric-help-execute-extended)
2678 (electric-help-ctrl-x-prefix):
2679 * hexl.el (hexl-revert-buffer-function):
2680 * linum.el (linum-after-change, linum-after-scroll):
2681 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2683 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2685 2011-04-04 Daiki Ueno <ueno@unixuser.org>
2692 * epg.el: Use lexical binding.
2694 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
2696 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2698 * textmodes/flyspell.el (flyspell-word): Recognize default
2699 dictionary case for flyspell-mark-duplications-exceptions.
2700 Use regexp matching for languages.
2701 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2702 default dictionary (Bug#7926).
2704 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
2706 * emacs-lisp/package.el (package--with-work-buffer):
2707 Recognize https URLs.
2709 * net/network-stream.el: Move from gnus/proto-stream.el.
2710 Change prefix to network-stream throughout.
2711 (open-protocol-stream): Merge into open-network-stream, leaving
2712 open-protocol-stream as an alias. Handle nil BUFFER args.
2714 * subr.el (open-network-stream): Move to net/network-stream.el.
2716 2011-04-02 Glenn Morris <rgm@gnu.org>
2718 * find-dired.el (find-exec-terminator): New option.
2719 (find-ls-option): Test for -ls support.
2720 (find-ls-subdir-switches): Test for -b in find-ls-option.
2721 (find-dired, find-grep-dired): Doc fixes.
2722 (find-dired): Use find-exec-terminator.
2724 * find-dired.el (find-ls-option, find-ls-subdir-switches)
2725 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2726 (find-name-arg): Remove purecopy.
2728 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2729 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2730 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2731 accordingly. Don't add the null-device if not needed.
2733 * files.el (save-some-buffers): Doc fix.
2735 2011-04-02 Eli Zaretskii <eliz@gnu.org>
2737 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2739 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
2741 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2742 Use `dolist' rather than `mapcar'.
2744 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2746 Add lexical binding.
2748 * subr.el (apply-partially): Use new closures rather than CL.
2749 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2750 (dolist, dotimes): Use slightly different expansion for lexical code.
2751 (functionp): Move to C.
2752 (letrec): New macro.
2753 (with-wrapper-hook): Use it and apply-partially instead of CL.
2754 (eval-after-load): Preserve lexical-binding.
2755 (save-window-excursion, with-output-to-temp-buffer): Turn them
2758 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2760 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2762 (help-add-fundoc-usage): Don't add `Not documented'.
2763 (help-function-arglist): Handle closures, subroutines, and new
2764 byte-code-functions.
2765 (help-make-usage): Remove leading underscores.
2766 (describe-function-1): Handle closures.
2767 (describe-variable): Use special-variable-p for completion.
2769 * files.el (lexical-binding): Declare safe.
2771 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2772 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2773 (pcase): Add `let' pattern.
2774 Change memoization so it actually works.
2775 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2776 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2779 * emacs-lisp/macroexp.el: Use lexical binding.
2780 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2781 Don't convert ' to #' without checking that it's indeed quoting
2784 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2785 Use eval-sexp-add-defvars.
2786 (eval-sexp-add-defvars): New fun.
2788 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2790 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2792 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2793 than the internal `byte-compile-lambda'.
2794 (defmethod): Don't hide code under quotes.
2795 (eieio-defmethod): New `code' argument.
2797 * emacs-lisp/eieio-comp.el: Remove.
2799 * emacs-lisp/edebug.el (edebug-eval-defun)
2800 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2801 (edebug-toggle): Avoid `eval'.
2803 * emacs-lisp/disass.el (disassemble-internal): Handle new
2805 (disassemble-1): Handle new byte codes.
2807 * emacs-lisp/cl.el (pushnew): Silence warning.
2809 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2810 (cl-byte-compile-throw): Remove.
2811 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2813 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2816 * emacs-lisp/cconv.el: New file.
2818 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2819 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2820 (byte-compile-initial-macro-environment):
2821 Handle declare-function here.
2822 (byte-compile--lexical-environment): New var.
2823 (byte-stack-ref, byte-stack-set, byte-discardN)
2824 (byte-discardN-preserve-tos): New lap codes.
2825 (byte-interactive-p): Don't use any more.
2826 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2828 (byte-compile-lapcode): Use them and handle new lap codes.
2829 (byte-compile-obsolete): Remove.
2830 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2831 (byte-compile-arglist-warn): Check late def of inlinable funs.
2832 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2833 since they should have been expanded by now.
2834 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2835 (byte-compile-from-buffer): Remove unused second arg.
2836 (byte-compile-preprocess): New function.
2837 (byte-compile-toplevel-file-form): New function to distinguish
2838 file-form calls from outside from file-form calls from hunk-handlers.
2839 (byte-compile-file-form): Simplify.
2840 (byte-compile-file-form-defsubst): Remove.
2841 (byte-compile-file-form-defmumble): Simplify now that
2842 byte-compile-lambda always returns a byte-code-function.
2843 (byte-compile): Preprocess.
2844 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2845 Remove, not used any more.
2846 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2847 (byte-compile-make-args-desc): New funs.
2848 (byte-compile-lambda): Handle lexical functions. Always return
2849 a byte-code-function.
2850 (byte-compile-reserved-constants): New var, to make up room for
2851 closed-over variables.
2852 (byte-compile-constants-vector): Obey it.
2853 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2854 (byte-compile-macroexpand-declare-function): New function.
2855 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2856 byte-code-functions.
2857 (byte-compile-form): Check obsolescence here.
2858 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2859 (byte-compile-variable-ref): Remove.
2860 (byte-compile-dynamic-variable-op): New fun.
2861 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2862 (byte-compile-variable-set): New funs.
2863 (byte-compile-discard): Add 2 args.
2864 (byte-compile-stack-ref, byte-compile-stack-set)
2865 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2866 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2867 macroexpand-all instead.
2868 (byte-compile-quote-form): Remove.
2869 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2870 (byte-compile-bind, byte-compile-unbind): New funs.
2871 (byte-compile-let): Handle let* and lexical binding.
2872 (byte-compile-let*): Remove.
2873 (byte-compile-catch, byte-compile-unwind-protect)
2874 (byte-compile-track-mouse, byte-compile-condition-case):
2875 Handle a new :fun-body form, used for lexical scoping.
2876 (byte-compile-save-window-excursion)
2877 (byte-compile-with-output-to-temp-buffer): Remove.
2878 (byte-compile-defun): Simplify.
2879 (byte-compile-stack-adjustment): New fun.
2880 (byte-compile-out): Use it.
2881 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2883 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2886 * emacs-lisp/byte-opt.el: Use lexical binding.
2887 (byte-inline-lapcode): Remove (to bytecomp).
2888 (byte-compile-inline-expand): Pay attention to inlining to/from
2889 lexically bound code.
2890 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2892 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2893 any more and don't call compiler-macros.
2894 (byte-compile-splice-in-already-compiled-code): Remove.
2895 (byte-code): Don't inline any more.
2896 (disassemble-offset): Receive `bytes' as argument rather than via
2898 (byte-compile-tag-number): Declare before first use.
2899 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2900 `return' even if make-spliceable.
2901 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2902 obsolete interactive-p.
2903 (byte-optimize-lapcode): Optimize new lap-codes.
2904 Don't trip up on new form of `byte-constant' lap code.
2906 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2908 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2910 * custom.el (custom-initialize-default, custom-declare-variable):
2913 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2915 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2916 (COMPILE_FIRST): Add macroexp and cconv.
2917 * makefile.w32-in: Mirror changes in Makefile.in.
2923 * vc/smerge-mode.el:
2924 * textmodes/bibtex-style.el:
2933 * emacs-lisp/smie.el:
2936 * abbrev.el: Use lexical binding.
2938 2011-04-01 Eli Zaretskii <eliz@gnu.org>
2940 * info.el (info-display-manual): New function.
2942 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2946 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2948 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2949 an entry for that server in rcirc-authinfo. (Bug#8385)
2951 2011-03-31 Glenn Morris <rgm@gnu.org>
2953 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2955 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2957 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2959 * progmodes/python.el (python-default-interpreter)
2960 (python-python-command-args, python-jython-command-args)
2961 (python-which-shell, python-which-args, python-which-bufname)
2962 (python-file-queue, python-comint-output-filter-function)
2963 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2964 variables and functions.
2966 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2969 (completion-in-region-mode): New minor mode.
2970 (completion-in-region): Use it.
2971 (completion-in-region--data, completion-in-region-mode-map): New vars.
2972 (completion-in-region--postch): New function.
2973 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2975 (completion--capf-wrapper): New function.
2976 (completion-at-point): Use it to track well-behavedness of
2978 (completion-help-at-point): New command.
2980 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2982 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2983 syntax class to search for whitespace on a single line
2984 (Message-ID: <4D938140.4030905@redhat.com>).
2986 2011-03-30 Leo Liu <sdl.web@gmail.com>
2988 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2990 (edit-abbrevs-map): Bind them here.
2991 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2993 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2995 * allout.el (allout-hide-by-annotation, allout-flag-region):
2996 Reduce possibility of overlay leakage by making them volatile.
2998 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2999 hash is not shared between buffers. Mode initialization is
3000 responsible for giving it a useful starting value.
3001 (allout-item-span): Reduce possibility of overlay leakage by
3002 making them volatile.
3003 (allout-widgets-count-buttons-in-region): Add diagnostic function
3004 for tracking down button overlay leaks.
3006 2011-03-29 Leo Liu <sdl.web@gmail.com>
3008 * ido.el (ido-read-internal): Use the default history var
3009 minibuffer-history if no HISTORY is specified.
3011 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3013 * net/imap.el (imap-shell-open, imap-process-connection-type):
3014 Use imap-process-connection-type for 'shell' streams as well as
3015 Kerberos, SSL, other subprocesses.
3017 2011-03-28 Leo Liu <sdl.web@gmail.com>
3019 * abbrev.el (abbrev-table-empty-p): New function.
3020 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3021 nonempty ones. (Bug#5937)
3023 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3025 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3027 2011-03-27 Leo Liu <sdl.web@gmail.com>
3029 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3030 for foreground and background colors.
3031 (ansi-color-make-color-map): Adapt.
3033 2011-03-25 Leo Liu <sdl.web@gmail.com>
3035 * midnight.el (midnight-time-float): Remove. Note it calculates
3036 the microsecond component incorrectly and seconds-to-time does the
3038 Remove redundant (require 'timer).
3040 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3041 (ido-completions): Remove unused arguments. (Bug#8329)
3043 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * minibuffer.el (completion--flush-all-sorted-completions):
3046 Remove itself from hook.
3047 (completion-at-point): Let the functions perform the completion
3048 immediately and return nil or t.
3049 * comint.el (comint-dynamic-complete-functions): Now identical to
3050 completion-at-point-functions.
3051 (comint-dynamic-list-input-ring): Remove unused var `index'.
3052 (comint--match-partial-filename, comint--unquote&expand-filename):
3053 New funs, split from comint-match-partial-filename.
3054 (comint-dynamic-complete): Use completion-at-point.
3055 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3057 2011-03-24 Drew Adams <drew.adams@oracle.com>
3059 * thingatpt.el: Support `defun'.
3061 2011-03-23 Leo Liu <sdl.web@gmail.com>
3063 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3065 * help-mode.el (help-mode-finish): Tweak regexp.
3067 2011-03-23 Glenn Morris <rgm@gnu.org>
3069 * eshell/esh-opt.el (eshell-eval-using-options):
3070 Do not bind unused local variable `eshell-option-stub'.
3072 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3074 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3076 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3077 keymap variable in `with-no-warnings' to avoid a warning when the
3078 keymap has been already `defconst'ed.
3080 2011-03-22 Leo Liu <sdl.web@gmail.com>
3082 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3083 encode all chars in abbrevs; otherwise use emacs-mule or
3084 utf-8-emacs. (Bug#8308)
3086 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3088 * simple.el (backward-delete-char-untabify):
3089 Avoid warning about using `delete-backward-char'.
3091 * image.el (image-type-file-name-regexps): Make it variable.
3092 `imagemagick-register-types' modifies it, and the user may want
3093 to add new extensions for known image types.
3094 (imagemagick-register-types): Throw error if not using ImageMagick.
3096 2011-03-22 Leo Liu <sdl.web@gmail.com>
3098 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3099 located before rcirc-prompt-end-marker.
3100 (rcirc-complete): Error if point is not after rcirc prompt.
3101 Handle the case when table is nil.
3102 (rcirc-user-authenticated): Define to fix compiler warning.
3104 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3106 * custom.el (custom--inhibit-theme-enable): Make it affect only
3107 custom-theme-set-variables and custom-theme-set-faces.
3108 (provide-theme): Ignore custom--inhibit-theme-enable.
3109 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3110 (custom-enabling-themes): Delete variable.
3111 (enable-theme): Accept only loaded themes as arguments.
3112 Ignore the special custom-enabled-themes variable.
3113 (custom-enabled-themes): Forbid themes from setting this.
3114 Eliminate use of custom-enabling-themes.
3115 (custom-push-theme): Quote "changed" custom var entry.
3117 2011-03-21 Leo Liu <sdl.web@gmail.com>
3119 * ido.el (ido-read-internal): Add ido-selected to history instead
3122 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3124 * subr.el (deferred-action-list, deferred-action-function):
3127 2011-03-21 Leo Liu <sdl.web@gmail.com>
3129 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3130 change on 2011-02-13 (bug#8309).
3132 * minibuffer.el (read-file-name-function): Change default value.
3133 (read-file-name--defaults): Rename from read-file-name-defaults.
3134 (read-file-name-default): Rename from read-file-name.
3135 (read-file-name): Call read-file-name-function.
3137 2011-03-21 Glenn Morris <rgm@gnu.org>
3139 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3142 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3144 * cus-theme.el: Add missing provide statement.
3145 (customize-create-theme): Extract theme value correctly.
3146 (custom-theme-visit-theme): Autoload.
3147 (customize-create-theme): Prompt before inserting default faces.
3149 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3151 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3152 units and musical notes.
3154 2011-03-20 Leo <sdl.web@gmail.com>
3156 * ido.el (ido-read-internal): Use completing-read-default.
3157 (ido-completing-read): Fix compatibility with completing-read.
3159 2011-03-20 Christian Ohler <ohler@gnu.org>
3161 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3162 (ert-delete-all-tests): Use `called-interactively-p' rather than
3164 (ert--make-xrefs-region): Respect END.
3166 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3168 * dired-aux.el (dired-create-directory): Signal an error if the
3169 directory already exists (Bug#8246).
3171 * facemenu.el (list-colors-display): Call list-faces-display
3172 inside with-help-window.
3173 (list-colors-print): Use display property to align the final
3174 column, instead of checking window-width.
3176 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3178 * emerge.el (emerge-metachars): Separate value for ms-dos and
3180 (emerge-protect-metachars): Quote correctly for ms-dos and
3183 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3185 * info.el (info-initialize): Replace all uses of `:' with
3186 path-separator for compatibility with non-Unix systems.
3187 Cache quoting of path-separator. (Bug#8258)
3189 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3191 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3192 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3193 (mouse-avoidance-mode): Fix typos in docstrings.
3195 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3197 * startup.el (package-subdirectory-regexp): Move from package.el.
3198 Omit \\` and \\', and let callers add them.
3200 * emacs-lisp/package.el (package-strip-version)
3201 (package-load-all-descriptors): Add \\` and \\' to
3202 package-subdirectory-regexp before using it.
3203 (package-untar-buffer): New arg DIR; ensure that file untars only
3204 into this expected directory. Remove superfluous delete-region.
3205 (package-unpack): Caller changed.
3206 (package-tar-file-info): Use package-subdirectory-regexp.
3208 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3211 diff-mode-shared-map (bug#8284).
3212 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3214 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3216 * calendar/time-date.el (format-seconds): Use assoc instead of
3217 assoc-string, since assoc-string doesn't exist in XEmacs.
3219 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3221 * custom.el (custom-known-themes): Reflow docstring.
3222 (custom-theme-load-path): Fix typo in docstring.
3223 (load-theme): Fix typo in error message.
3224 (custom-available-themes, custom-variable-theme-value):
3225 Use `let', not `let*'.
3227 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3229 * calc/README: Mention inclusion of musical notes.
3231 * calc/calc-units.el (calc-lu-quant): Rename from
3232 `calc-logunits-quantity'.
3233 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3234 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3235 (calc-db): Rename from `calc-dblevel'.
3236 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3237 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3238 (calc-np): Rename from `calc-nplevel'.
3239 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3240 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3241 (calc-lu-plus): Rename from `calc-logunits-add'.
3242 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3243 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3244 (calc-lu-minus): Rename from `calc-logunits-sub'.
3245 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3246 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3247 (calc-lu-times): Rename from `calc-logunits-mul'.
3248 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3249 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3250 (calc-lu-divide): Rename from `calc-logunits-div'.
3251 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3252 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3254 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3255 functions being autoloaded.
3257 * calc/calc.el (calc-lu-power-reference): Rename from
3258 `calc-logunits-power-reference'.
3259 (calc-lu-field-reference): Rename from
3260 `calc-logunits-field-reference'.
3262 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3264 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * minibuffer.el (completion-all-sorted-completions):
3267 Use :completion-cycle-penalty text property if present.
3269 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3271 * allout.el (allout-yank-processing): Adjust for new rebulleting
3272 regime so bullet being yanked is used without prompting the user
3275 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3277 * startup.el (command-line): Warn the user that _emacs is deprecated.
3279 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3281 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3282 (delphi-verbose, delphi-comment-face, delphi-string-face)
3283 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3284 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3285 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3286 (delphi-new-comment-line, delphi-font-lock-defaults)
3287 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3288 Fix typos in docstrings.
3290 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3292 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3293 Invert the roles of character and string values for INSTEAD, so a
3294 string is used for the more common case of a defaulting prompt.
3296 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * progmodes/ruby-mode.el (ruby-backward-sexp):
3299 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3300 * play/gamegrid.el (gamegrid-make-face):
3301 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3302 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3303 * notifications.el (notifications-notify):
3304 * net/xesam.el (xesam-search-engines):
3305 * net/quickurl.el (quickurl-list-insert):
3306 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3308 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
3310 * startup.el (command-line): Update package subdirectory regexp.
3312 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3314 * allout.el (allout-abbreviate-flattened-numbering)
3315 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3317 * subr.el (read-char-choice): Only show the cursor after the prompt,
3318 not after the answer.
3320 2011-03-15 Kevin Ryde <user42@zip.com.au>
3322 * help-fns.el (variable-at-point): Skip leading quotes, if any
3325 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3330 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
3332 * shell.el (shell): When called interactively, offer to change the
3333 shell file name on remote hosts.
3335 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3337 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3338 integration for LDAP parameters. The host, base, user or binddn,
3339 and secret tokens can be specified in a netrc file, for instance.
3340 This is optional because an `auth-source' parameter must be
3341 specified in the search attributes.
3343 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
3345 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3347 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3350 into declaration. Remove redundant and harmful binding.
3352 2011-03-12 Eli Zaretskii <eliz@gnu.org>
3354 * files.el (file-ownership-preserved-p): Pass `integer' as an
3355 explicit 2nd argument to `file-attributes'. If the file's owner
3356 is the Administrators group on Windows, and the current user is
3357 Administrator, consider that a match.
3359 * server.el (server-ensure-safe-dir): Consider server directory
3360 safe on MS-Windows if its owner is the Administrators group while
3361 the current Emacs user is Administrator. Use `=' to compare
3362 numerical UIDs, since they could be integers or floats.
3364 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3366 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3368 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
3370 Sync with Tramp 2.2.1.
3372 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3374 * net/trampver.el: Update release number.
3376 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3378 * progmodes/compile.el (compilation--previous-directory): Fix up
3379 various nil/dead-marker mismatches (bug#8014).
3380 (compilation-directory-properties, compilation-error-properties):
3381 Don't call it at a position past the one we're about to change.
3383 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3384 Disable obsolescence warnings in the file that declares it.
3386 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3388 * allout-widgets.el (allout-widgets-tally):
3389 Initialize allout-widgets-tally as a hash table rather than nil to
3390 prevent mode-line redisplay warnings. Also, clarify the module
3391 description and fix a comment typo.
3393 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3395 * help-fns.el (describe-variable): Don't complete keywords.
3396 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3398 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3400 * emacs-lisp/package.el (package-version-join): Impose a standard
3401 string representation for pre/alpha/beta version lists.
3402 (package-unpack-single): Standardize the directory name by passing
3403 it through package-version-join.
3404 (package-strip-rcs-id): Accept any version string that does not
3405 signal an error in version-to-list.
3407 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3409 * simple.el (delete-trailing-whitespace): Return nil for the
3410 benefit of `write-file-functions'.
3412 2011-03-10 Glenn Morris <rgm@gnu.org>
3414 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3416 * vc/vc-git.el (vc-git-program): New option.
3417 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3418 (vc-git--call): Use it.
3420 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3422 * cus-edit.el (Custom-newline): If no button at point, look
3423 for a subgroup button at start-of-line. (Bug#2298)
3425 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3427 2011-03-10 Julien Danjou <julien@danjou.info>
3429 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3430 `cursor-type' is nil.
3432 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3434 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3436 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3438 * allout.el Summary: Change so yank of distinctive-bullet items
3439 preserves the existing header prefix, rebulleting it if necessary,
3440 rather than replacing it. This is necessary for proper operation
3441 of cooperative addons like allout-widgets.
3442 (allout-make-topic-prefix, allout-rebullet-heading): Change
3443 SOLICIT arg to INSTEAD, and interpret additionally a string value
3444 as alternate bullet to be used, instead of prompting the user for
3447 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3450 Do not use `tramp-file-name-port', because this returns also
3451 `tramp-default-port'.
3453 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3455 * net/rcirc.el (rcirc-handler-001): Remove useless
3456 with-rcirc-process-buffer.
3457 (rcirc-check-auth-status): Swap arguments to string-match.
3459 2011-03-09 Glenn Morris <rgm@gnu.org>
3461 * shell.el (shell-mode):
3462 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3464 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3465 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3467 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3469 * emacs-lisp/package.el (package-refresh-contents)
3470 (package-menu-execute): Use condition-case-no-debug.
3472 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3474 * simple.el (shell-command-to-string): Use `process-file'.
3476 * emacs-lisp/package.el (package-tar-file-info): Handle also
3479 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3480 Use `equal' for upload base check.
3482 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3484 * textmodes/texinfo.el (texinfo-environments):
3485 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3487 2011-03-08 Glenn Morris <rgm@gnu.org>
3489 * cus-start.el (cursor-in-non-selected-windows):
3490 Fix :set quoting oddness. (Bug#8192)
3492 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3493 in some setf expressions. (Bug#2159)
3495 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3497 * custom.el (custom-available-themes): Return themes in
3500 See ChangeLog.15 for earlier changes.
3506 Copyright (C) 2011 Free Software Foundation, Inc.
3508 This file is part of GNU Emacs.
3510 GNU Emacs is free software: you can redistribute it and/or modify
3511 it under the terms of the GNU General Public License as published by
3512 the Free Software Foundation, either version 3 of the License, or
3513 (at your option) any later version.
3515 GNU Emacs is distributed in the hope that it will be useful,
3516 but WITHOUT ANY WARRANTY; without even the implied warranty of
3517 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3518 GNU General Public License for more details.
3520 You should have received a copy of the GNU General Public License
3521 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.