1 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
3 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11 anytime existing face settings are present (Bug#8889).
13 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15 Remove unused argument.
17 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19 * window.el (display-buffer-default-specifiers): Remove
20 pop-up-frame. Add pop-up-window-min-height,
21 pop-up-window-min-width, and another reuse-window specifier
22 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23 (display-buffer-normalize-specifiers-2): Handle
24 split-height-threshold and split-width-threshold also when
25 pop-up-windows is unset. Add a reuse-window specifier for the
26 case popping up a new window fails.
27 (special-display-popup-frame): Remove double quoting.
28 (display-buffer-normalize-specifiers-1): Fix thinko.
30 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
32 * shell.el (shell-completion-vars): Set pcomplete-termination-string
33 according to comint-completion-addsuffix.
35 * pcomplete.el: Convert to lexical binding and fix bug#8819.
36 (pcomplete-suffix-list): Mark as obsolete.
37 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
38 pcomplete-seen in the closure.
39 (pcomplete-comint-setup): Setup completion-at-point as well.
40 (pcomplete--entries): New function.
41 (pcomplete--env-regexp): New var.
42 (pcomplete-entries): Rewrite to work with partial-completion and
43 without relying on pcomplete-suffix-list.
44 (pcomplete-pare-list): Remove, unused.
46 2011-06-17 Martin Rudalics <rudalics@gmx.at>
48 * window.el (display-buffer-alist): Set pop-up-window-min-height
49 and pop-up-window-min-width in default value. Reported by
50 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
51 other-window-means-other-frame.
52 (display-buffer-macro-specifiers): Comment out entry for
53 other-window specifier.
54 (display-buffer-other-window-means-other-frame): New function.
55 (display-buffer-normalize-specifiers-1): New arguments
56 buffer-name and label. Treat other-window case specially.
57 (display-buffer-normalize-specifiers-2): Treat other-window case
59 (display-buffer-normalize-specifiers-3): New function.
60 (display-buffer-normalize-specifiers): Call
61 display-buffer-normalize-specifiers-3.
63 2011-06-17 Martin Rudalics <rudalics@gmx.at>
65 * window.el (same-window-p): Fix two typos introduced when
66 adding with-no-warnings.
67 (display-buffer-normalize-specifiers-1): Don't check
68 pop-up-frames for 'unset initialization.
69 (display-buffer-normalize-specifiers-2): Major rewrite using
70 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
71 (pop-up-frames, display-buffer-reuse-frames)
72 (display-buffer-mark-dedicated): Don't initialize to 'unset.
73 Suggested by David Engster <deng@randomsample.de>.
74 (even-window-heights): Initialize to 'unset.
75 (display-buffer-alist-set): Handle new 'unset initializations.
76 (display-buffer-macro-specifiers): Don't pop up a new frame in the
79 2011-06-16 Martin Rudalics <rudalics@gmx.at>
81 * window.el (display-buffer-normalize-specifiers-1): Respect
82 current value of pop-up-frames for most reasonable values of
83 second argument of display-buffer (Bug#8865).
84 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
85 (switch-to-buffer-other-window-same-frame)
86 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
88 (display-buffer): Don't check noninteractive when calling
89 display-buffer-pop-up-frame.
90 (display-buffer-pop-up-frame): Never pop up a frame in
91 noninteractive mode (Bug#8857).
92 (enlarge-window, shrink-window): Don't report an error when the
93 window can't be resized as requested (Bug#8862).
95 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
97 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
99 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
101 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
103 2011-06-15 Alan Mackenzie <acm@muc.de>
105 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
106 for declarators, disable knr checking to speed up for normal files.
107 2: Refactor, replacing a sequence of nested if forms by a cond form.
109 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
111 * net/network-stream.el (open-network-stream): Add the keyword
112 :always-query-capabilities for the case where you want to force a
113 `plain' network connection, but the protocol still requires the
114 capabilitiy command (i.e., SMTP and EHLO).
116 * subr.el (process-live-p): Rename from `process-alive-p' for
117 consistency with other `-live-p' functions.
119 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
121 * window.el (same-window-buffer-names, same-window-regexps)
122 (special-display-frame-alist, special-display-popup-frame)
123 (special-display-function, special-display-buffer-names)
124 (special-display-regexps, pop-up-frame-alist)
125 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
126 (pop-up-windows, split-window-preferred-function)
127 (split-height-threshold, split-width-threshold, even-window-heights)
128 (display-buffer-mark-dedicated): Don't encourage the use of
129 display-buffer-alist from Elisp code.
131 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
133 * progmodes/python.el (python-mode): Derive from prog-mode.
134 * progmodes/ps-mode.el (ps-mode):
135 * progmodes/mixal-mode.el (mixal-mode):
136 * progmodes/cfengine.el (cfengine-mode):
137 * progmodes/ld-script.el (ld-script-mode): Likewise.
139 2011-06-15 Martin Rudalics <rudalics@gmx.at>
141 * window.el (display-buffer-alist): Trim default value to avoid
142 popping up a new frame (Bug#8857) or reusing an arbitrary window
144 (display-buffer): Do not fall back on popping up a new frame in
145 batch mode (Bug#8857).
147 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
149 * cus-theme.el (describe-theme-1): Use custom-theme-p.
150 (custom-theme-summary): New function.
151 (customize-themes): Use it.
153 2011-06-13 Glenn Morris <rgm@gnu.org>
155 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
157 2011-06-13 Martin Rudalics <rudalics@gmx.at>
159 * help.el (help-window): Remove variable.
160 (help-window-point-marker, temp-buffer-max-height)
161 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
162 (help-print-return-message): Don't set help-window.
163 (resize-temp-buffer-window): Rewrite cod eand doc-string.
164 (help-window-setup-finish): Remove.
165 (help-window-display-message, help-window-setup)
166 (with-help-window): Major rewrite based on new
167 display-buffer-window variable.
169 * help-mode.el (help-mode-finish): Remove help-window related
172 * view.el (view-exits-all-viewing-windows): Remove reference to
173 view-return-to-alist in doc-string.
174 (view-return-to-alist): Make obsolete.
175 (view-buffer): Call pop-to-buffer-same-window and remove
177 (view-buffer-other-window): Call pop-to-buffer-other-window and
178 simplify code. Ignore second argument.
179 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
180 simplify code. Ignore second argument.
181 (view-return-to-alist-update): Make obsolete.
182 (view-mode-enter): Rename second argument to QUIT-RESTORE.
183 Rewrite using quit-restore window parameters.
184 (view-mode-exit): Rename second argument to EXIT-ONLY.
185 Rewrite using quit-restore-window.
186 (View-exit, View-exit-and-edit, View-leave, View-quit)
187 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
188 appropriate arguments.
189 (view-end-message): Use quit-restore window parameter.
191 * window.el (display-buffer-function): Rewrite doc-string.
192 (display-buffer-window, display-buffer-alist): New variables.
193 (display-buffer-split-specifiers)
194 (display-buffer-side-specifiers)
195 (display-buffer-macro-specifiers): New constants.
196 (display-buffer-even-window-sizes, display-buffer-set-height)
197 (display-buffer-set-width, display-buffer-select-window)
198 (display-buffer-in-window, display-buffer-reuse-window)
199 (display-buffer-split-window-1, display-buffer-split-window)
200 (display-buffer-split-atom-window, display-buffer-pop-up-window)
201 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
202 (display-buffer-in-side-window, normalize-buffer-to-display)
203 (display-buffer-normalize-specifiers-1)
204 (display-buffer-normalize-specifiers-2)
205 (display-buffer-normalize-specifiers, display-buffer-frame):
207 (display-buffer): Major rewrite.
208 (display-buffer-other-window, display-buffer-other-frame)
209 (pop-to-buffer, switch-to-buffer-other-window)
210 (switch-to-buffer-other-frame): Rewrite.
211 (display-buffer-same-window, display-buffer-same-frame)
212 (display-buffer-same-frame-other-window)
213 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
214 (pop-to-buffer-other-window)
215 (pop-to-buffer-same-frame-other-window)
216 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
217 (switch-to-buffer-other-window-same-frame): New functions.
218 (same-window-p, special-display-p): Rewrite disabling warnings.
220 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
221 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
223 (same-window-buffer-names, same-window-regexps)
224 (special-display-frame-alist, special-display-popup-frame)
225 (special-display-function, special-display-buffer-names)
226 (special-display-regexps, pop-up-frame-alist)
227 (pop-up-frame-function, split-window-preferred-function)
228 (split-height-threshold, split-width-threshold)
229 (even-window-heights): Make obsolete.
231 2011-06-12 Glenn Morris <rgm@gnu.org>
233 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
234 Misc simplifications.
236 2011-06-12 Martin Rudalics <rudalics@gmx.at>
238 * window.el (window-safely-shrinkable-p): Restore function which
239 was inadvertently removed in change from 2011-06-11. Declare as
242 * calendar/calendar.el (calendar-generate-window):
243 Use window-iso-combined-p instead of combination of one-window-p and
244 window-safely-shrinkable-p.
246 2011-06-12 Glenn Morris <rgm@gnu.org>
248 * progmodes/fortran.el (fortran-mode-syntax-table):
249 * progmodes/f90.el (f90-mode-syntax-table):
250 Set % to punctuation. (Bug#8820)
251 (f90-find-tag-default): Remove, no longer needed.
253 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
255 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
257 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
259 * image.el (image-animated-p): Return animation delay in seconds.
260 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
261 (image-animate-timeout): Remove DELAY argument. Don't assume
262 every subimage has the same delay; get it from image-animated-p.
263 (image-animate): Caller changed.
265 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
267 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
268 to ignored backtrace functions.
270 2011-06-11 Glenn Morris <rgm@gnu.org>
272 * calendar/appt.el (appt-disp-window-function): Doc fix.
273 (appt-check): Handle overlapping appointments. (Bug#8337)
275 2011-06-11 Martin Rudalics <rudalics@gmx.at>
277 * window.el (window-tree-1, window-tree): New functions, moving
278 the latter to window.el.
279 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
280 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
281 (bw-refresh-edges): Remove.
282 (balance-windows-1, balance-windows-2): New functions.
283 (balance-windows): Rewrite in terms of window tree functions,
284 balance-windows-1 and balance-windows-2.
285 (bw-adjust-window): Remove.
286 (balance-windows-area-adjust): New function with functionality of
287 bw-adjust-window but using resize-window.
288 (set-window-text-height): Rewrite doc-string.
289 Use normalize-live-window and resize-window.
290 (enlarge-window-horizontally, shrink-window-horizontally):
291 Rename argument to DELTA.
292 (window-buffer-height): New function.
293 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
294 Rewrite using new window resize routines.
295 (kill-buffer-and-window, mouse-autoselect-window-select):
296 Use ignore-errors instead of condition-case.
297 (quit-window): Call delete-frame instead of delete-windows-on
298 for the only buffer on frame.
300 2011-06-10 Martin Rudalics <rudalics@gmx.at>
302 * loadup.el (top-level): Load window before files for the sake
303 of replace-buffer-in-windows.
305 * files.el (read-buffer-to-switch)
306 (switch-to-buffer-other-window)
307 (switch-to-buffer-other-frame, display-buffer-other-frame):
310 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
311 (previous-buffer): Move to window.el.
313 * bindings.el (unbury-buffer): Move to window.el.
315 * window.el (delete-other-windows-vertically): Move after
316 definition of delete-other-windows.
317 (other-window, delete-windows-on, replace-buffer-in-windows):
318 Move here from window.c.
319 (record-window-buffer, unrecord-window-buffer)
320 (set-window-buffer-start-and-point, switch-to-prev-buffer)
321 (switch-to-next-buffer): New functions.
322 (get-next-valid-buffer, last-buffer, next-buffer): Move here
323 from simple.el. Call switch-to-next-buffer.
324 (previous-buffer): Move here from simple.el.
325 Call switch-to-prev-buffer.
326 (bury-buffer): Move here from buffer.c. Switch to previous
327 buffer when window cannot be deleted.
328 (unbury-buffer): Move here from bindings.el.
329 (ctl-x-map): Move binding for other-window from window.c to
331 (read-buffer-to-switch, switch-to-buffer-other-window)
332 (switch-to-buffer-other-frame): Move here from files.el.
333 (normalize-buffer-to-switch-to): New functions.
334 (switch-to-buffer): Move here from buffer.c.
335 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
337 2011-06-10 Martin Rudalics <rudalics@gmx.at>
339 * window.el (window-min-height, window-min-width): Move here
340 from window.c. Add defcustoms and rewrite doc-strings.
341 (resize-mini-window, resize-window): New functions.
342 (adjust-window-trailing-edge, enlarge-window, shrink-window):
343 Move here from window.c.
344 (maximize-window, minimize-window): New functions.
345 (delete-window, delete-other-windows, split-window): Move here
347 (window-split-min-size): New function.
348 (split-window-keep-point): Mention split-window-above-each-other
349 instead of split-window-vertically.
350 (split-window-above-each-other, split-window-vertically):
351 Rename split-window-vertically to split-window-above-each-other and
352 provide defalias for old definition.
353 (split-window-side-by-side, split-window-horizontally): Rename
354 split-window-horizontally to split-window-side-by-side and provide
355 defalias for the old definition.
356 (ctl-x-map): Move bindings for delete-window,
357 delete-other-windows and enlarge-window here from window.c.
358 Replace bindings for split-window-vertically and
359 split-window-horizontally by bindings for
360 split-window-above-each-other and split-window-side-by-side.
362 * cus-start.el (all): Remove entries for window-min-height and
363 window-min-width. Add entries for window-splits and
366 2011-06-09 Glenn Morris <rgm@gnu.org>
368 * calendar/appt.el (appt-mode-line): New function.
369 (appt-check, appt-disp-window): Use it.
371 * files.el (hack-one-local-variable-eval-safep):
372 Allow minor-modes with explicit +/-1 arguments.
374 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
376 * term/xterm.el (xterm): Add defgroup.
377 (xterm-extra-capabilities): Add defcustom to supply known xterm
378 capabilities, skip querying them, or query them (default).
379 (terminal-init-xterm): Use it.
380 (terminal-init-xterm-modify-other-keys): New function to set up
381 modifyOtherKeys support to simplify `terminal-init-xterm'.
383 2011-06-09 Martin Rudalics <rudalics@gmx.at>
385 * window.el (resize-window-reset, resize-window-reset-1)
386 (resize-subwindows-skip-p, resize-subwindows-normal)
387 (resize-subwindows, resize-other-windows, resize-this-window)
388 (resize-root-window, resize-root-window-vertically)
389 (window-deletable-p, window-or-subwindow-p)
390 (frame-root-window-p): New functions.
392 2011-06-09 Glenn Morris <rgm@gnu.org>
394 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
395 (ange-ftp-get-files): Use it.
397 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
399 * mail/sendmail.el (mail-recover-1, mail-recover):
400 * files.el (recover-file, recover-session):
401 Handle dired-listing-switches not being just a single short option.
403 2011-06-09 Glenn Morris <rgm@gnu.org>
405 * calendar/appt.el (appt-display-message, appt-disp-window):
406 Handle lists of appointments.
408 2011-06-08 Martin Rudalics <rudalics@gmx.at>
410 * window.el (one-window-p): Move down in code.
412 (window-current-scroll-bars): Rewrite doc-string.
413 Normalize live window argument.
414 (walk-windows, get-window-with-predicate, count-windows):
415 Rewrite doc-string. Use window-list-1.
416 (window-in-direction-2, window-in-direction, get-mru-window):
419 2011-06-08 Reuben Thomas <rrt@sc3d.org>
421 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
424 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
426 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
428 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
430 * loadhist.el (unload-feature-special-hooks):
431 Add `comint-output-filter-functions'.
433 2011-06-08 Ivan Kanis <gnu@kanis.fr>
435 * calendar/appt.el (appt-check): Move some initializations into the let.
437 2011-06-08 Martin Rudalics <rudalics@gmx.at>
439 * window.el (window-height): Defalias to window-total-height.
440 (window-width): Defalias to window-body-width.
442 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
444 * image-mode.el (image-toggle-animation): New command.
445 (image-mode-map): Bind it to RET.
446 (image-mode): Update message.
447 (image-toggle-display-image): Avoid a spurious cache flush.
448 (image-transform-rotation): Doc fix.
449 (image-transform-properties): Return quickly in the normal case.
450 (image-animate-loop): Rename from image-animate-max-time.
452 * image.el (image-animate-max-time): Move to image-mode.el.
453 (create-animated-image): Remove unnecessary function.
454 (image-animate): Rename from image-animate-start. New arg.
455 (image-animate-stop): Remove; just use image-animate-timer.
456 (image-animate-timer): Use car-safe.
457 (image-animate-timeout): Rename argument.
459 2011-06-07 Martin Rudalics <rudalics@gmx.at>
461 * window.el (get-lru-window, get-largest-window): Move here from
462 window.c. Rename first argument to ALL-FRAMES.
463 Rephrase doc-strings.
464 (get-buffer-window-list): Rewrite using window-list-1.
466 (window-safe-min-height, window-safe-min-width): New constants.
467 (window-size-ignore, window-min-size, window-min-size-1)
468 (window-sizable, window-sizable-p, window-size-fixed-1)
469 (window-size-fixed-p, window-min-delta-1, window-min-delta)
470 (window-max-delta-1, window-max-delta, window-resizable)
471 (window-resizable-p, window-total-height, window-total-width)
472 (window-body-width): New functions.
473 (window-full-height-p, window-full-width-p): Rewrite using
475 (window-body-height): Rewrite using window-body-size.
477 2011-06-06 Martin Rudalics <rudalics@gmx.at>
479 * window.el (window-right, window-left, window-child)
480 (window-child-count, window-last-child, window-any-p)
481 (normalize-live-buffer, normalize-live-frame)
482 (normalize-any-window, normalize-live-window)
483 (window-iso-combination-p, window-iso-combined-p)
484 (window-iso-combinations)
485 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
486 (windows-with-parameter, window-with-parameter)
487 (window-atom-root, make-window-atom, window-atom-check-1)
488 (window-atom-check, window-side-check, window-check):
490 (ignore-window-parameters, window-sides, window-sides-vertical)
491 (window-sides-slots): New variables.
492 (window-size-fixed): Move down in code. Minor doc-string fix.
494 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
496 * comint.el (comint-dynamic-complete-as-filename)
497 (comint-dynamic-complete-filename): Correctly call
498 completion-in-region.
500 2011-06-05 Deniz Dogan <deniz@dogan.se>
502 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
505 2011-06-05 Deniz Dogan <deniz@dogan.se>
507 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
508 (rcirc): Use it to prompt for encryption.
510 2011-06-05 Roland Winkler <winkler@gnu.org>
512 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
513 (bibtex-search-entries): New command bound to C-c C-a.
514 (bibtex-display-entries): New function.
516 2011-06-05 Roland Winkler <winkler@gnu.org>
518 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
519 (bibtex-insert-kill): After yanking insert newline if necessary.
520 (bibtex-initialize): Call bibtex-string-files-init only once.
521 (bibtex-mode): Do not call easy-menu-add.
522 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
523 (bibtex-yank): Set arg properly if nil.
525 2011-06-05 Roland Winkler <winkler@gnu.org>
527 * textmodes/bibtex.el (bibtex-search-entry-globally):
529 (bibtex-search-entry): Use it.
531 2011-06-05 Roland Winkler <winkler@gnu.org>
533 * textmodes/bibtex.el (bibtex-entry-format): New option
535 (bibtex-format-entry, bibtex-reformat): Honor this option.
536 (bibtex-parse-entry): Return fields in proper order.
538 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
540 * doc-view.el (doc-view-remove-if): Move computation of result out
541 of `dolist' to silence misleading lexical-binding warning.
543 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
545 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
546 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
548 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
550 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
553 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
555 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
556 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
557 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
559 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
560 (tramp-completion-function-alist-ssh)
561 (tramp-completion-function-alist-telnet)
562 (tramp-completion-function-alist-su)
563 (tramp-completion-function-alist-putty): Set `tramp-autoload'
568 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
569 load "tramp.el" `tramp-set-completion-function'.
571 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
573 * shell.el: Require and use pcomplete.
574 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
575 (shell-completion-vars): Set pcomplete-default-completion-function.
577 2011-06-04 Deniz Dogan <deniz@dogan.se>
579 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
582 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
584 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
586 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
588 * bs.el (bs--mark-unmark, bs--nth-wrapper):
589 * mpc.el (mpc-select-extend, mpc-songpointer-context):
590 * vc/log-view.el (log-view-beginning-of-defun):
591 * vc/smerge-mode.el (smerge-apply-resolution-patch)
592 (smerge-refine-forward, smerge-refine-chopup-region):
593 Silence warning for unused `dotimes' counter variables.
595 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
597 * net/tramp.el (tramp-with-progress-reporter): Rename from
598 with-progress-reporter. Use `declare'.
601 * net/tramp-gvfs.el: Update all uses.
603 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
605 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
606 buffer isn't killed before making it current.
608 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
610 Silence various byte-compiler warnings.
611 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
612 `access-type' and new obsolescence format.
613 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
615 (byte-compile-check-variable): New `access-type' argument.
616 Only warn if the access-type is obsolete.
617 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
618 (byte-compile-variable-set): Adjust callers.
619 * help-fns.el (describe-variable): Adjust to new obsolescence format.
620 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
621 setting it as obsolete.
622 * simple.el (minibuffer-completing-symbol):
623 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
625 * minibuffer.el (minibuffer-completing-file-name): Don't make it
627 * international/quail.el (quail-mouse-choose-completion): Remove unused
628 code referring to obsolete var.
629 (quail-choose-completion-string): Remove.
630 * server.el (server-clients-with, server-kill-buffer-query-function)
631 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
632 * proced.el (proced-send-signal):
633 * emacs-lisp/lisp.el (lisp-complete-symbol):
634 Replace completion-annotate-function with completion-extra-properties.
636 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
638 * simple.el (goto-line): Use read-number.
639 (overriding-map-is-bound): Remove.
640 (saved-overriding-map): Change default.
641 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
642 Take the map as argument.
643 (universal-argument, negative-argument, digit-argument): Use it.
644 (restore-overriding-map): Adjust.
645 (do-auto-fill): Use fill-forward-paragraph.
646 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
648 * minibuffer.el (minibuffer-inactive-mode-map): New var.
649 (minibuffer-inactive-mode): New major mode.
650 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
651 the *Messages* buffer" hack.
652 (mouse-popup-menubar): Don't burp if the event is a normal key.
654 Miscellaneous tweaks.
655 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
656 lexical scoping as in subr.el's dolist and dotimes.
657 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
658 Silence compiler warning.
659 * thingatpt.el (forward-whitespace): Trivial coding style fix.
660 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
661 * international/ccl.el (ccl-compile): Trivial simplification.
662 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
663 * emacs-lisp/testcover.el (testcover-end): Remove spurious
664 `printflag' argument.
665 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
666 Purecopy the whole obsolescence data.
668 2011-06-01 Leo Liu <sdl.web@gmail.com>
670 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
671 improve doc-string as suggested by Marco Pessotto
672 <melmothx@gmail.com>.
673 (rcirc-print): Fix last change.
675 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
677 * minibuffer.el (complete-with-action): Return nil for the metadata and
678 boundaries of non-functional tables.
679 (completion-table-dynamic): Return nil for the metadata.
680 (completion-table-with-terminator): Add default case, using
681 complete-with-action.
682 (completion--metadata): New function.
683 (completion-all-sorted-completions, minibuffer-completion-help): Use it
684 to try and avoid pathological performance problems.
685 (completion--embedded-envvar-table): Return `category' metadata.
687 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
689 * subr.el (process-alive-p): New tiny convenience function.
691 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
693 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
694 content but also its previous major mode.
696 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
698 * debug.el (debug): Restore the previous content of the
699 *Backtrace* buffer when we exit with C-M-c.
701 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
703 * minibuffer.el: Add metadata method to completion tables.
704 (completion-category-overrides): New defcustom.
705 (completion-metadata, completion--field-metadata)
706 (completion-metadata-get, completion--styles)
707 (completion--cycle-threshold): New functions.
708 (completion-try-completion, completion-all-completions):
709 Add `metadata' argument to choose completion-styles.
710 (completion--do-completion): Use metadata to choose cycling.
711 (completion-all-sorted-completions): Use metadata for sorting.
712 Remove :completion-cycle-penalty which is not needed any more.
713 (completion--try-word-completion): Add `metadata' argument.
714 (minibuffer-completion-help): Check metadata for annotation function
716 (completion-file-name-table): Return `category' metadata.
717 (minibuffer-completing-file-name): Make obsolete.
718 * simple.el (minibuffer-completing-symbol): Make obsolete.
719 * icomplete.el (icomplete-completions): Pass new `metadata' param to
720 completion-try-completion.
722 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
724 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
726 2011-05-30 Leo Liu <sdl.web@gmail.com>
728 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
729 (rcirc-print): Decode all incoming messages (bug#8744).
730 (rcirc-decode-coding-system): Allow value nil for automatic coding
733 2011-06-01 Glenn Morris <rgm@gnu.org>
735 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
737 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
739 * image.el (image-animate-max-time): Allow nil and t values.
741 (create-animated-image): Doc fix.
742 (image-animate-start): Remove second arg; just use
743 image-animate-max-time.
744 (image-animate-timeout): Doc fix. Args changed.
746 * image-mode.el (image-toggle-display-image): Ensure that the
747 image spec passed to the animate timer is the same object as in
748 the the buffer's display property (Bug#6981).
749 (image-transform-properties): Doc fix.
751 * image.el (image-animate-max-time): Default to nil.
753 2011-05-29 Martin Rudalics <rudalics@gmx.at>
755 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
756 entire buffer list (Bug#8184).
758 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
760 * image.el (imagemagick-types-inhibit)
761 (imagemagick-register-types): Doc fix.
763 2011-05-29 Deniz Dogan <deniz@dogan.se>
765 * net/rcirc.el (rcirc): Use the user's stored encryption method by
768 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
770 * select.el: Don't perform clipboard-manager saving in hooks;
771 leave the hooks empty.
773 2011-05-28 Leo Liu <sdl.web@gmail.com>
775 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
776 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
777 (occur-edit-mode): New major mode (Bug#8463).
778 (occur-after-change-function): New function.
779 (occur-engine): Give Occur tags a read-only property.
781 2011-05-28 Kevin Ryde <user42@zip.com.au>
783 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
785 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
787 * bindings.el (help-echo): Make the initial non-indicator dash
788 empty on graphical terminals (Bug#7295).
790 * files.el (auto-mode-alist): Move config rule after the
791 in-stripping one (Bug#8547).
793 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
795 * startup.el (normal-splash-screen): Remove gratuitous mode-line
798 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
800 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
801 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
804 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
807 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
809 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
811 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
812 (hs-hide-block-at-point, hs-find-block-beginning)
813 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
816 2011-05-28 Glenn Morris <rgm@gnu.org>
818 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
820 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
822 * help-fns.el (describe-function-1): If the function is a derived
823 major mode, print the parent mode.
825 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
826 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
828 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
830 * minibuffer.el (completion--capf-wrapper): Check applicability before
831 retuning non-nil for non-exclusive completion data.
832 * progmodes/etags.el (tags-completion-at-point-function):
833 * info-look.el (info-lookup-completions-at-point): Mark as
835 (info-complete): Adjust accordingly.
837 * info-look.el: Convert to lexical-binding and completion-at-point.
838 (info-lookup-completions-at-point): New function.
839 (info-complete): Use it and completion-in-region.
841 2011-05-28 Drew Adams <drew.adams@oracle.com>
843 * isearch.el: Let M-e start with point at the first mismatched char.
844 (isearch-fail-pos): New function.
845 (isearch-edit-string): Use it.
847 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
849 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
851 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
853 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
854 traversal functions for avl-trees.
855 (avl-tree--stack): New struct.
856 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
857 (avl-tree-enter): Add optional `updatefun' arg.
858 (avl-tree--do-enter): Add optional `updatefun' arg.
860 (avl-tree-delete): Add optional `test' and `nilflag' args.
861 (avl-tree--do-delete): Add `test' and `nilflag' args.
863 (avl-tree-member): Add optional `nilflag'
864 (avl-tree-member-p): New function.
865 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
866 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
867 (avl-tree-stack-empty-p): New functions.
869 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
871 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
872 avl-tree--del-balance1 and make it work both ways.
873 (avl-tree--del-balance2): Remove.
874 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
875 make it work both ways.
876 (avl-tree--enter-balance2): Remove.
877 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
879 (avl-tree--mapc, avl-tree-map): Add direction argument.
881 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
883 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
885 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
887 * select.el: Support clipboard managers with built-in function
888 x-clipboard-manager-save, via delete-frame-functions and
890 (xselect-convert-to-targets): Add MULTIPLE target to list.
891 (xselect-convert-to-save-targets): New function.
893 2011-05-27 Kenichi Handa <handa@m17n.org>
895 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
896 let-binding rfc2047-encode-encoded-words to nil.
898 2011-05-27 Glenn Morris <rgm@gnu.org>
900 * mail/emacsbug.el: Don't require url-util.
902 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
904 * files.el (set-auto-mode):
905 Also respect mode: entries at the end of the file. (Bug#8586)
907 2011-05-26 Glenn Morris <rgm@gnu.org>
909 * files.el (hack-local-variables-prop-line, hack-local-variables):
910 Downcase mode names, as seems to be traditional.
911 (hack-local-variables, hack-local-variables-apply): Doc fixes.
913 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
914 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
916 2011-05-25 Julien Danjou <julien@danjou.info>
918 * textmodes/rst.el (rst-define-level-faces): Do not define face
919 symbol if it is already defined.
921 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
923 * play/5x5.el (5x5-new-game, 5x5-randomize):
924 Reset 5x5-solver-output to nil when a new grid is cast.
925 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
926 these debugging traces, as defmacro breaks the compiled code.
928 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
930 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
932 2011-05-24 Leo Liu <sdl.web@gmail.com>
934 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
935 (vc-bzr-sha1): Adapt.
937 * sha1.el: Remove. Function `sha1' is now builtin.
939 * bindings.el: Provide sha1 feature.
941 2011-05-24 Kenichi Handa <handa@m17n.org>
943 * mail/sendmail.el: Require `rfc2047'.
944 (mail-insert-from-field): Do not perform RFC2047 encoding.
945 (mail-encode-header): New function.
946 (sendmail-send-it): Set buffer-file-coding-system of the work
947 buffer to the return value of select-message-coding-system.
948 Call mail-encode-header.
950 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
952 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
954 * mail/supercite.el (sc-default-cite-frame):
955 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
957 2011-05-24 Glenn Morris <rgm@gnu.org>
959 * progmodes/python.el (brm-menu): Declare.
961 * emulation/viper.el (viper-set-hooks): Declare.
963 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
964 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
965 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
966 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
967 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
968 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
970 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
972 Add an :exit-function for completion-at-point.
974 * minibuffer.el (completion--done): New fun.
975 (completion--do-completion): Use it. New arg `expect-exact'.
976 (minibuffer-complete, minibuffer-complete-word): Don't output message,
977 since completion--do-completion does it for us now.
978 (minibuffer-force-complete): Use completion--done and
979 completion--replace. Handle sole-completion case with more care.
980 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
981 (completion-extra-properties): New var.
982 (completion-annotate-function): Make obsolete.
983 (minibuffer-completion-help): Adjust accordingly.
984 Use completion-list-insert-choice-function.
985 (completion-at-point, completion-help-at-point):
986 Bind completion-extra-properties.
987 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
988 * simple.el (completion-list-insert-choice-function): New var.
989 (completion-setup-function): Preserve it.
990 (choose-completion): Pay attention to it, shuffle the code a bit.
991 (choose-completion-string): New arg `insert-function'.
993 * textmodes/bibtex.el: Convert to lexical binding.
994 (bibtex-mode-map): Use completion-at-point.
995 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
996 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
997 (bibtex-complete): Define as obsolete alias.
998 (bibtex-complete-internal): Remove.
999 (bibtex-format-entry): Remove unused sub-group in regexp.
1000 * shell.el (shell--command-completion-data)
1001 (shell-environment-variable-completion):
1002 * pcomplete.el (pcomplete-completions-at-point):
1003 * comint.el (comint--complete-file-name-data): Use :exit-function
1004 instead of completion-table-with-terminator so it also works for
1007 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1009 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1011 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1014 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1016 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1018 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1019 customization variable and implement: If non-nil, auto-fill will
1020 be inhibited while on topic's header line.
1022 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1024 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1025 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1026 always have a solution in grid size = 5 cases.
1027 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1028 (5x5-solver-output, 5x5-log-buffer): New vars.
1029 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1030 Make these variables buffer local to achieve 5x5 multi-session-ness.
1031 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1032 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1033 (5x5-solve-suggest): New funs.
1034 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1035 randomize a grid so that we ensure that there is always a solution.
1036 (5x5-make-random-grid): Allow other movement than flipping.
1038 2011-05-23 Kevin Ryde <user42@zip.com.au>
1040 * emacs-lisp/advice.el (ad-read-advised-function):
1041 Use `function-called-at-point' as the default default, if it has
1042 advice and passes PREDICATE.
1044 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1047 byte-compile-lambda if it's actually a lambda.
1049 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1050 Fix function quoting. Use backquote better.
1052 2011-05-22 Yuanle Song <sylecn@gmail.com>
1054 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1055 matching (Bug#8516).
1057 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1059 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1060 different face (Bug#8178).
1062 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
1064 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1067 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1069 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1070 funcall as well (bug#8712). Warn when performing those conversions.
1071 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1073 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1075 2011-05-22 Glenn Morris <rgm@gnu.org>
1077 * files.el (hack-local-variables-prop-line): Small simplifications.
1078 (hack-local-variables, hack-local-variables-prop-line):
1079 If MODE-ONLY, return the mode, rather than just `t'.
1081 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1085 2011-05-21 Glenn Morris <rgm@gnu.org>
1087 * files.el (hack-local-variables-prop-line, hack-local-variables):
1088 If only interested in the mode, don't bother doing the other stuff.
1090 * image-mode.el (image-after-revert-hook):
1091 Redraw all frames on which the image is visible. (Bug#8567)
1093 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1095 * wid-edit.el (widget-checklist-match-inline):
1096 Fix 2011-04-19 change. (Bug#8649)
1098 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1100 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1101 Also allow singlespace after single-letter capitals followed by a dot.
1103 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1104 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1106 2011-05-20 Nix <nix@esperi.org.uk>
1108 * files.el (basic-save-buffer-2):
1109 Fix handling of break-hardlink-on-save with non-existent files.
1111 2011-05-19 Deniz Dogan <deniz@dogan.se>
1113 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1114 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1116 2011-05-19 Glenn Morris <rgm@gnu.org>
1118 * progmodes/f90.el (f90-type-def-re):
1119 Handle "type, bind(c)". (Bug#8691)
1121 * emacs-lisp/autoload.el (batch-update-autoloads):
1122 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1124 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
1126 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1127 property for the correct connection in case of multihops.
1129 2011-05-18 Glenn Morris <rgm@gnu.org>
1131 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1132 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1134 Rationalize calendar handling of day and month abbrev-arrays.
1135 * calendar/calendar.el (calendar-customized-p): New function.
1136 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1137 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1139 (calendar-abbrev-length, calendar-day-abbrev-array)
1140 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1141 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1142 Elements may no longer be nil.
1143 (calendar-day-name, calendar-month-name):
1144 Update for changed nature of abbrev arrays.
1145 * calendar/diary-lib.el (diary-name-pattern):
1146 Update for changed nature of abbrev arrays.
1147 (diary-mark-entries-1): Update calendar-make-alist calls.
1148 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1149 * calendar/cal-html.el (cal-html-day-abbrev-array):
1150 Simply inherit from calendar-day-abbrev-array.
1152 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * progmodes/grep.el (grep-mode): Disable default
1155 compilation-directory-matcher setting (bug#8684).
1157 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
1159 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1160 instead of "head" and "tail". There were problems with SunOS 5.9,
1161 and it performs better.
1163 2011-05-17 Glenn Morris <rgm@gnu.org>
1165 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1167 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1168 Replace obsolete function.
1170 * shell.el (pcomplete-parse-arguments-function): Declare.
1172 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1173 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1174 (appt-check): Doc fixes.
1175 (appt-disp-window-function, appt-delete-window-function):
1176 Remove needless special case in custom :type.
1177 (appt-display-count): Default to 0, not nil.
1178 (appt-check): Reset appt-display-count to 0, not nil.
1180 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
1182 * progmodes/python.el (python-font-lock-keywords):
1183 Add the Python 3.X keyword "nonlocal" (bug#8639).
1185 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1189 2011-05-16 Kevin Ryde <user42@zip.com.au>
1191 * info-look.el (makefile-automake-mode): New setups, looking in
1192 automake manual, then makefile-mode.
1193 (makefile-mode): Remove automake manual, have it just in
1194 makefile-automake-mode since there's various things different or
1195 not relevant to plain make.
1196 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1197 believe a hypothetical automake-mode would go to makefile-mode,
1198 not the other way around.
1200 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
1202 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1203 hunk-end tags (Bug#8672).
1205 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1206 vc-annotate-show-diff-revision-at-line (Bug#8671).
1208 2011-05-14 Glenn Morris <rgm@gnu.org>
1210 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1211 in the middle of an existing one with multiple authors. (Bug#8645)
1212 (change-log-font-lock-keywords): Also handle multiple author lines
1213 with leading tabs. (Bug#8644)
1215 * calendar/appt.el (appt-check): Rename some local variables.
1216 Some simplification/reordering.
1218 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1219 (feedmail-sendmail-f-doesnt-sell-me-out)
1220 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1221 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1222 (feedmail-queue-runner-message-sender): Set :version.
1223 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1224 (bbdb-dwim-net-address, vm-mail): Declare.
1225 (feedmail-binmail-gnulinuxish-template):
1226 Rename from feedmail-binmail-linuxish-template.
1227 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1228 Use insert-buffer-substring.
1230 2011-05-14 Bill Carpenter <bill@carpenter.org>
1232 * mail/feedmail.el (feedmail-patch-level): Increase.
1233 (feedmail-debug): New custom group.
1234 (feedmail-confirm-outgoing-timeout)
1235 (feedmail-sendmail-f-doesnt-sell-me-out)
1236 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1237 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1238 (feedmail-sender-line, feedmail-from-line)
1239 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1240 (feedmail-spray-this-address)
1241 (feedmail-spray-address-fiddle-plex-list)
1242 (feedmail-queue-use-send-time-for-date)
1243 (feedmail-queue-use-send-time-for-message-id)
1244 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1245 (feedmail-buffer-eating-function):
1247 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1248 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1249 (feedmail-message-action-scroll-down): New functions.
1250 (feedmail-queue-directory, feedmail-queue-draft-directory):
1251 Use expand-file-name.
1252 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1253 Remove C-v help entry.
1254 (feedmail-queue-buffer-file-name): New variable.
1255 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1256 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1257 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1258 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1259 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1260 (feedmail-message-action-toggle-spray)
1261 (feedmail-run-the-queue-no-prompts)
1262 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1263 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1264 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1265 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1266 (feedmail-envelope-deducer, feedmail-fiddle-from)
1267 (feedmail-fiddle-sender, feedmail-default-date-generator)
1268 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1269 (feedmail-fiddle-spray-address)
1270 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1271 (feedmail-fiddle-list-of-fiddle-plexes)
1272 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1273 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1274 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1275 Change default. Doc fix.
1276 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1277 (feedmail-binmail-linuxish-template): New constant.
1278 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1279 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1280 (feedmail-send-it): Add debug call.
1281 Use feedmail-queue-buffer-file-name, and
1282 feedmail-send-it-immediately-wrapper.
1283 (feedmail-message-action-send): Add debug call.
1284 Use feedmail-send-it-immediately-wrapper.
1285 (feedmail-queue-express-to-queue): Add debug call.
1286 Run feedmail-queue-express-hook.
1287 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1288 (feedmail-message-action-help-blat):
1289 Rename from feedmail-queue-send-edit-prompt-help-first.
1290 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1291 Check line-endings. Handle errors better.
1292 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1293 Doc fix. Add debug call.
1294 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1295 Use feedmail-queue-send-edit-prompt-inner.
1296 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1297 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1298 from feedmail-queue-send-edit-prompt.
1299 (feedmail-queue-send-edit-prompt-help)
1300 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1301 (feedmail-tidy-up-slug): Add debug call.
1302 Respect feedmail-queue-slug-suspect-regexp.
1303 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1304 (feedmail-dump-message-to-queue): Add debug call.
1305 Expand queue-directory.
1306 (feedmail-dump-message-to-queue): Change message slightly.
1307 Use feedmail-say-chatter.
1308 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1309 (feedmail-send-it-immediately-wrapper): New function.
1310 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1311 Insert empty string rather than newline. Handle full-frame case.
1312 Use catch/throw. Use feedmail-say-chatter.
1313 (feedmail-fiddle-from): Try mail-host-address.
1314 (feedmail-default-message-id-generator): Doc fix.
1315 Bind system-time-locale. Handle missing end.
1316 (feedmail-fiddle-x-mailer): Add debug call.
1317 Handle feedmail-x-mailer-line being nil.
1318 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1319 Add debug call. Use buffer-substring-no-properties.
1320 (feedmail-say-debug, feedmail-say-chatter): New functions.
1321 (feedmail-find-eoh): Give an explicit error.
1323 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
1325 * net/newst-treeview.el (newsticker-treeview-face): Change default
1326 family from helvetica to sans.
1327 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1328 etc/images/newsticker.
1330 * net/newst-reader.el (newsticker-feed-face): Change default
1331 family from helvetica to sans.
1333 * net/newst-plainview.el (newsticker-new-item-face)
1334 (newsticker-old-item-face, newsticker-immortal-item-face)
1335 (newsticker-obsolete-item-face, newsticker-date-face)
1336 (newsticker-statistics-face): Change default family from
1338 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1339 etc/images/newsticker.
1341 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1342 (newsticker--process-auto-mark-filter-match): : Tell user about
1345 2011-05-13 Didier Verna <didier@xemacs.org>
1347 Common Lisp indentation improvements on defmethod and lambda-lists.
1348 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1349 (lisp-lambda-list-keyword-parameter-indentation)
1350 (lisp-lambda-list-keyword-parameter-alignment)
1351 (lisp-lambda-list-keyword-alignment): New customizable user options.
1352 (lisp-indent-defun-method): Improve docstring.
1353 (extended-loop-p): Fix comment.
1354 (lisp-indent-lambda-list-keywords-regexp): New variable.
1355 (lisp-indent-lambda-list): New function.
1356 (lisp-indent-259): Use it.
1357 (lisp-indent-defmethod): Support for more than one
1358 method qualifier and properly indent methods lambda-lists.
1359 (defgeneric): Provide a missing common-lisp-indent-function property.
1361 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1364 bounds for the empty string (bug#8667).
1366 2011-05-13 Glenn Morris <rgm@gnu.org>
1368 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1370 * mail/sendmail.el (sendmail-program): Try executable-find first.
1371 (sendmail-send-it): `sendmail-program' cannot be unbound.
1373 * calendar/appt.el (appt-make-list): Simplify.
1374 (appt-time-msg-list): Doc fix.
1375 (appt-check): Change mode-line message at the time of the appointment.
1377 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1379 * progmodes/ld-script.el (ld-script-keywords)
1380 (ld-script-builtins): Update keywords list.
1382 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1386 * shell.el (shell-completion-vars): New function.
1388 * simple.el (read-shell-command): Use it.
1389 (blink-matching-open): No need for " [...]" in minibuffer-message.
1391 2011-05-12 Glenn Morris <rgm@gnu.org>
1393 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1394 (appt-check): Simplify.
1396 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1398 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1399 literal "/dev/null".
1401 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1406 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1408 * progmodes/which-func.el (which-function):
1409 Use add-log-current-defun instead of add-log-current-defun-function,
1410 which might not be defined (Bug#8260).
1412 2011-05-12 Glenn Morris <rgm@gnu.org>
1414 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1415 Let byte-compile-initial-macro-environment always take precedence.
1417 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * net/rcirc.el: Add support for SSL/TLS connections.
1420 (rcirc-server-alist): New field `encryption'.
1421 (rcirc): Check `encryption' settings.
1422 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1423 Merge make-local-variable into `set'.
1424 (rcirc--connection-open-p): New function.
1425 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1426 the process is not a network process (e.g. running gnutls-cli).
1427 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1428 Make rcirc-(en|de)code-coding-system local here.
1429 (rcirc-mode): Merge make-local-variable into `set'.
1430 (rcirc-parent-buffer): Make permanent buffer-local.
1431 (rcirc-multiline-minor-mode): Don't do it here.
1432 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1433 there's no server buffer.
1435 2011-05-11 Glenn Morris <rgm@gnu.org>
1437 * newcomment.el (comment-kill): Prefix "unused" local.
1439 * term/w32console.el (get-screen-color): Declare.
1441 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1442 Handle symbol elements of byte-compile-initial-macro-environment.
1444 2011-05-10 Leo Liu <sdl.web@gmail.com>
1446 * bookmark.el (bookmark-bmenu-mode-map):
1447 Bind bookmark-bmenu-search to `/'.
1449 * mail/footnote.el: Convert to utf-8 encoding.
1450 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1451 (Footnote-unicode): New function.
1452 (footnote-style-alist): Add unicode style to the list.
1453 (footnote-style): Doc fix.
1455 2011-05-10 Jim Meyering <meyering@redhat.com>
1457 Fix doubled-word typos.
1458 * international/quail.el (quail-insert-kbd-layout): and and -> and
1459 * kermit.el: and and -> and
1460 * net/ldap.el (ldap-search-internal): to to -> to
1461 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1462 * progmodes/js.el (js-mode): and and -> and
1463 * textmodes/artist.el (artist-move-to-xy): at at -> at
1464 (artist-draw-region-trim-line-endings): if if -> if
1465 And Safetyc -> Safety.
1466 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1468 2011-05-10 Glenn Morris <rgm@gnu.org>
1469 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * files.el (hack-one-local-variable-eval-safep):
1472 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1474 2011-05-10 Glenn Morris <rgm@gnu.org>
1476 * calendar/diary-lib.el (diary-list-entries-hook)
1477 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1478 (diary-nongregorian-marking-hook, diary-list-entries)
1479 (diary-include-other-diary-files, diary-mark-entries)
1480 (diary-mark-included-diary-files): Doc fixes.
1482 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1484 * misc.el: Require tabulated-list.el during compilation.
1486 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1488 * progmodes/compile.el (compilation-start):
1489 Run compilation-filter-hook for the async case too.
1490 (compilation-filter-hook): Doc fix.
1492 2011-05-09 Deniz Dogan <deniz@dogan.se>
1494 * wdired.el: Remove outdated installation comment. Fix usage
1497 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1499 * misc.el: Implement new command `list-dynamic-libraries'.
1500 (list-dynamic-libraries--loaded-only-p): New variable.
1501 (list-dynamic-libraries--refresh): New function.
1502 (list-dynamic-libraries): New command.
1504 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1507 Fix the ant regexp to handle end-line and end-column info from jikes.
1508 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1509 higher priority to avoid clobbering by gnu.
1511 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1513 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1514 if the face has existing theme settings (Bug#8454).
1516 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1518 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1519 Only match variables declared via `my' or `our' (Bug#8261).
1521 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1522 special file names `.' and `..' (Bug#8259).
1524 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1526 * progmodes/grep.el (grep-mode-font-lock-keywords):
1527 Remove buffer-changing entries.
1528 (grep-filter): New function.
1529 (grep-mode): Add it to compilation-filter-hook.
1531 * progmodes/compile.el (compilation-filter-hook)
1532 (compilation-filter-start): New defvars.
1533 (compilation-filter): Call compilation-filter-hook prior to
1534 updating the process mark.
1536 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1538 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1540 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1542 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1543 mailclient-send-it even if window-system is nil. (Bug#8595)
1545 * term/w32console.el (terminal-init-w32console):
1546 Call get-screen-color and use its output to set the frame
1547 background-mode. (Bug#8597)
1549 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1551 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1552 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1554 (defgeneric, eieio--defmethod): Use them.
1555 (eieio-defgeneric): Remove.
1556 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1558 2011-05-07 Glenn Morris <rgm@gnu.org>
1560 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1561 Use let rather than let*.
1562 (timeclock-find-discrep): Remove unused local.
1564 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1566 * calendar/appt.el (appt-time-msg-list): Doc fix.
1568 2011-05-06 Noah Friedman <friedman@splode.com>
1570 * apropos.el (apropos-print-doc): Only use
1571 emacs-lisp-docstring-fill-column when it is bound to an integer,
1572 per that variable's documentation.
1574 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1577 and warnings are not silently discarded (e.g. use -d instead of -P).
1579 2011-05-06 Glenn Morris <rgm@gnu.org>
1581 * calendar/appt.el (appt-message-warning-time): Doc fix.
1582 (appt-warning-time-regexp): New option.
1583 (appt-make-list): Respect appt-message-warning-time.
1585 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1587 (diary-add-to-list): Strip comments from the displayed string.
1588 (diary-mode): Set comment-start and comment-end.
1590 * vc/diff-mode.el (smerge-refine-subst): Declare.
1591 (diff-refine-hunk): Don't require smerge-mode when compiling.
1593 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1595 * simple.el (list-processes): Return nil as the docstring says.
1597 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1599 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1601 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1602 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1603 determining of binary transfer. (Bug#7383)
1605 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1608 Fix port computation bug. (Bug#8618)
1610 2011-05-05 Glenn Morris <rgm@gnu.org>
1612 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1614 * simple.el (shell-dynamic-complete-functions)
1615 (comint-dynamic-complete-functions): Declare.
1617 * net/network-stream.el (gnutls-negotiate):
1618 * simple.el (tabulated-list-print): Fix declarations.
1620 * progmodes/gud.el (syntax-symbol, syntax-point):
1621 Remove unnecessary and incorrect declarations.
1623 * emacs-lisp/check-declare.el (check-declare-scan):
1624 Handle byte-compile-initial-macro-environment in bytecomp.el
1626 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1628 Fix earlier half-done eieio-defmethod change (bug#8338).
1629 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1630 Streamline and change calling convention.
1631 (defmethod): Adjust accordingly and simplify.
1632 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1633 new eieio--defmethod.
1634 (slot-boundp): Minor CSE simplification.
1636 2011-05-05 Milan Zamazal <pdm@zamazal.org>
1638 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1639 (glasses-make-readable): Use glasses-separate-capital-groups.
1641 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
1643 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1644 (warning-series): Doc fix.
1645 (display-warning): Don't try to create the buffer if we just found it.
1647 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
1649 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1650 (autoload-find-generated-file): New function.
1651 (generate-file-autoloads): Bind generated-autoload-file to
1653 (update-file-autoloads, update-directory-autoloads):
1654 Use autoload-find-generated-file. If called interactively, prompt for
1655 output file (Bug#7989).
1656 (batch-update-autoloads): Doc fix.
1658 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1660 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1662 2011-05-04 Glenn Morris <rgm@gnu.org>
1664 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1665 function, so it follows changes in calendar-date-style.
1666 (diary-fancy-date-matcher): New function.
1667 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1668 (diary-fancy-font-lock-fontify-region-function):
1669 Use diary-fancy-date-pattern as a function.
1671 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1672 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1674 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1676 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1677 instead of positional arguments. Allow :keylist and :crlfiles
1679 (open-gnutls-stream): Call it.
1681 * net/network-stream.el (network-stream-open-starttls): Adjust to
1682 call `gnutls-negotiate' with :process and :hostname arguments.
1684 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * minibuffer.el (completion--message): New function.
1687 (completion--do-completion, minibuffer-complete)
1688 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1689 (completion--do-completion): Don't ignore completion-auto-help when in
1692 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1693 internal encoding (e.g. tibetan zero is not whitespace).
1694 (global-whitespace-mode): Prefer save-current-buffer.
1695 (whitespace-trailing-regexp): Remove useless save-match-data.
1696 (whitespace-empty-at-bob-regexp): Minor simplification.
1698 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
1700 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1702 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1704 * textmodes/ispell.el (ispell-add-per-file-word-list):
1705 Use `concat' to create string for insertion.
1707 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1710 Avoid open-line which runs post-self-insert-hook.
1711 (bibtex-fill-entry): Remove unused `end' var.
1713 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1715 * textmodes/ispell.el (ispell-add-per-file-word-list):
1716 Protect against `nil' value of `comment-start' (Bug#8579).
1718 2011-05-03 Leo Liu <sdl.web@gmail.com>
1720 * isearch.el (isearch-yank-pop): New command.
1721 (isearch-mode-map): Bind it to `M-y'.
1722 (isearch-forward): Mention it.
1724 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * simple.el (minibuffer-complete-shell-command): Remove.
1727 (minibuffer-local-shell-command-map): Use completion-at-point.
1728 (read-shell-command): Setup completion vars here instead.
1729 (read-expression-map): Bind TAB to symbol completion.
1731 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1732 error directly rather via storing it into `results'.
1734 2011-05-02 Leo Liu <sdl.web@gmail.com>
1736 * vc/diff.el: Fix description.
1738 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1740 * server.el (server-eval-at): New function.
1742 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1744 * net/network-stream.el (open-network-stream): Take a :nowait
1745 parameter and pass it on to `make-network-process'.
1746 (network-stream-open-plain): Ditto.
1748 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1750 * faces.el (face-spec-set-match-display): Don't match toolkit
1751 options on terminal frames.
1753 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * progmodes/pascal.el: Use lexical binding.
1756 (pascal-mode-map): Remove author preferences.
1758 * pcomplete.el (pcomplete-std-complete): Don't abuse
1759 completion-at-point.
1761 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1763 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1764 removing code that has been dead since 1991 or so.
1766 * startup.el (command-line): When warning about "_emacs", use a
1767 delayed warning to allow the user to filter it out.
1769 2011-04-28 Deniz Dogan <deniz@dogan.se>
1771 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1772 user has not joined.
1774 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1776 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1777 aren't any completions at point.
1779 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1781 * subr.el (display-delayed-warnings): New function.
1782 (delayed-warnings-hook): New variable.
1784 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * minibuffer.el (completion-at-point, completion-help-at-point):
1787 Don't presume that a given completion-at-point-function will always
1788 use the same calling convention.
1790 * pcomplete.el (pcomplete-completions-at-point):
1791 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1792 pcomplete-seen is non-nil.
1793 (pcomplete-comint-setup): Also recognize the new comint/shell
1794 completion functions.
1795 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1796 pcomplete-seen is non-nil.
1798 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1800 * calendar/icalendar.el (diary-lib): Add require statement.
1801 (icalendar--create-uid): Read out a uid from a text-property on
1802 the first character in the entry. This allows for code to add its
1803 own uid to the entry.
1804 (icalendar--convert-float-to-ical): Add export of
1805 `diary-float'-entries save for those with the optional DAY
1808 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1810 * subr.el (shell-quote-argument): Use alternate escaping strategy
1811 when we spot a variable reference in a string.
1813 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1815 * cus-start.el (all): Define customization for debug-on-event.
1817 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1819 * subr.el (shell-quote-argument): Escape correctly under Windows.
1821 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1825 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1827 * net/tramp.el (tramp-process-actions): Add POS argument.
1828 Delete region between POS and (pos).
1830 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1831 Use `nil' position in `tramp-process-actions' call.
1832 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1834 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1835 position in `tramp-process-actions' call.
1837 * net/trampver.el: Update release number.
1839 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * custom.el (defcustom): Obey lexical-binding.
1843 Fix octave-inf completion problems reported by Alexander Klimov.
1844 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1845 Inherit from octave-mode-syntax-table.
1846 (inferior-octave-mode): Set info-lookup-mode.
1847 (inferior-octave-completion-at-point): New function.
1848 (inferior-octave-complete): Use it and completion-in-region.
1849 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1850 comint-filename-completion.
1851 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1852 symbol elements which shouldn't be word elements.
1853 (octave-font-lock-keywords, octave-beginning-of-defun)
1854 (octave-function-header-regexp): Adjust regexps accordingly.
1855 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1857 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1859 * net/gnutls.el (gnutls-errorp): Declare before first use.
1861 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1863 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1864 verify-error, and verify-hostname-error parameters. Check whether
1865 default trustfile exists before going to use it. Add missing
1866 argument to gnutls-message-maybe call. Return return value.
1867 Reported by Claudio Bley <claudio.bley@gmail.com>.
1868 (open-gnutls-stream): Add usage example.
1870 * net/network-stream.el (network-stream-open-starttls): Give host
1871 parameter to `gnutls-negotiate'.
1872 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1873 * subr.el (shell-quote-argument): Escape correctly under Windows.
1875 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1877 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1878 Use correct match group (bug#8438).
1880 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1882 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1883 (package-menu--generate): New arg specifying packages to show.
1884 (package-menu-refresh, package-menu-execute, list-packages):
1886 (package-show-package-list): New function, replacing deleted
1887 package--list-packages (renamed because it is non-internal).
1889 * finder.el (finder-list-matches): Use package-show-package-list
1890 instead of deleted package--list-packages.
1892 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1893 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1894 (vc-annotate-mode-map): Bind it to RET.
1896 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1898 * progmodes/etags.el (next-file): Don't use set-buffer to change
1901 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1903 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1905 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1906 (apropos-accumulator): Doc fix.
1907 (apropos-function, apropos-macro, apropos-command)
1908 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1909 (apropos-plist): Add face property.
1910 (apropos-symbols-internal): Fix indentation.
1911 (apropos-print): Simplify help, and recognize apropos-multi-type.
1912 (apropos-print-doc): Use button-type-get to extract the button's
1913 face property. Fill docstring (Bug#8352).
1915 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1917 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1919 * play/mpuz.el (mpuz-silent): Doc fix.
1920 (mpuz-mode-map): Use mapc.
1921 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1922 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1923 Fix typos in docstrings.
1925 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1926 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1928 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1930 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
1932 * minibuffer.el (completion--do-completion): Avoid the "Next char
1933 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1935 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1936 mouse-2 into unread-command-events, it is interpreted correctly.
1938 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1939 (image-toggle-display): Doc fix.
1941 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
1943 * textmodes/page.el (what-page): Use line-number-at-pos to
1944 calculate line number (Bug#6825).
1946 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1948 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1949 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1950 Pass argument NO-DEFAULT to `find-tag-interactive'.
1952 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1954 Lexical-binding cleanup.
1956 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1957 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1958 * progmodes/ada-prj.el (ada-prj-initialize-values)
1959 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1960 (ada-prj-show-value):
1961 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1962 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1963 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1964 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1965 * progmodes/bug-reference.el (bug-reference-push-button):
1966 * progmodes/fortran.el (fortran-line-length):
1967 * progmodes/glasses.el (glasses-change):
1968 * progmodes/octave-mod.el (octave-fill-paragraph):
1969 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1970 (python-pdbtrack-grub-for-buffer, python-sentinel):
1971 * progmodes/sql.el (sql-save-connection):
1972 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1973 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1974 Mark unused parameters.
1976 * progmodes/compile.el (compilation--flush-directory-cache)
1977 (compilation--flush-parse, compile-internal): Mark unused parameters.
1978 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1979 (compilation-next-error-function): Remove unused variable `timestamp'.
1981 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1982 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1984 * progmodes/dcl-mode.el (dcl-end-of-command):
1985 Remove unused variable `start'.
1986 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1987 (dcl-option-value-basic, dcl-option-value-offset)
1988 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1989 Mark unused parameters.
1990 (dcl-save-local-variable): Remove unused variable `val'.
1993 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1994 Mark unused parameters.
1995 (delphi-ignore-changes): Move before first use.
1996 (delphi-charset-token-at): Remove unused variable `start'.
1997 (delphi-else-start): Remove unused variable `if-count'.
1998 (delphi-comment-block-start, delphi-comment-block-end):
1999 Remove unused variable `kind'.
2000 (delphi-indent-line): Remove unused variable `new-point'.
2002 * progmodes/ebrowse.el (ebrowse-files-list)
2003 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2004 Mark unused parameters. Don't quote `lambda'.
2005 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2006 Don't quote `lambda'.
2007 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2008 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2009 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2010 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2011 Use `ignore-errors'.
2012 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2013 (ebrowse-view/find-file-and-search-pattern)
2014 (ebrowse-view/find-member-declaration/definition):
2015 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2016 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2017 Rename parameter PREFIX-ARG to PREFIX.
2018 (ebrowse-tags-read-name): Remove unused variables `start' and
2020 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2023 * progmodes/etags.el (local-find-tag-hook): Declare.
2024 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2025 Mark unused parameters.
2027 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2028 (executable-interpret): Mark unused parameter.
2030 * progmodes/flymake.el (flymake-process-sentinel)
2031 (flymake-after-change-function)
2032 (flymake-create-temp-with-folder-structure)
2033 (flymake-get-include-dirs-dot): Mark unused parameters.
2034 (flymake-safe-delete-directory): Remove unused variable `err'.
2036 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2037 (speedbar-timer-fn, speedbar-line-text)
2038 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2039 (speedbar-center-buffer-smartly): Declare functions.
2040 (gdb-find-watch-expression): Remove unused variable `array'.
2041 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2042 (gdb-starting): Mark unused parameters.
2043 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2044 (gdb-table-string): Remove unused variable `res'.
2045 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2046 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2047 (gdb-display-buffer): Remove unused variable `cur-size'.
2049 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2050 allow lexical-binding compilation.
2051 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2052 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2053 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2054 Mark unused parameters.
2055 (gud-gdb-marker-filter): Remove unused variable `match'.
2056 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2057 lambda expressions and funcall them, instead of using `fset'.
2059 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2060 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2062 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2063 variable `header-beg'; use `let'.
2065 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2066 `restart', `last-sexp' and `at-do'.
2068 * progmodes/js.el (js--debug): Mark unused parameter.
2069 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2070 (js--splice-into-items): Remove unused variable `item'.
2071 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2073 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2074 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2075 (makefile-complete): Remove unused variable `try'.
2076 (makefile-fill-paragraph, makefile-match-function-end):
2077 Mark unused parameters.
2079 * progmodes/octave-inf.el (inferior-octave-complete):
2080 Remove unused variable `proc'.
2081 (inferior-octave-output-digest): Mark unused parameter.
2083 * progmodes/perl-mode.el (perl-calculate-indent):
2084 Remove unused variable `err'.
2086 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2087 (prolog-indent-line): Mark unused parameters.
2088 (prolog-indent-line): Remove unused variable `beg'.
2090 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2091 (reporter-dont-compact-list): Declare.
2093 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2094 Remove unused variable `char'.
2095 (sh-debug): Mark unused parameter.
2096 (sh-get-indent-info): Remove unused variable `start'.
2097 (sh-calculate-indent): Remove unused variable `var'.
2099 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2100 (simula-electric-keyword): Remove unused variable `null'.
2101 (simula-search-backward, simula-search-forward): Remove unused
2102 variables `begin' and `end'.
2104 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2105 Remove unused variable `pos'.
2106 (vera-electric-tab, vera-comment-uncomment-region):
2107 Mark unused parameters.
2108 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2110 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
2112 * emacs-lisp/package.el (package--builtins, package-alist)
2113 (package-load-descriptor, package-built-in-p, package-activate)
2114 (define-package, package-installed-p)
2115 (package-compute-transaction, package-buffer-info)
2116 (package--push): Doc fix. Distinguish more clearly between
2117 version strings and version lists.
2119 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
2121 Lexical-binding cleanup.
2123 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2124 (5x5-make-mutate-best):
2125 * play/fortune.el (fortune-in-buffer):
2126 * play/gomoku.el (gomoku-init-display):
2127 * play/solitaire.el (solitaire, solitaire-do-check):
2128 * play/tetris.el (tetris-default-update-speed-function):
2129 Mark unused parameters.
2131 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2132 (bubbles--shift): Remove unused variable `char-org'.
2133 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2134 (bubbles--show-images): Remove unused variable `char'.
2136 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2137 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2138 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2139 (decipher-analyze-buffer): Use ?\s.
2140 (decipher-make-checkpoint): Remove unused variable `mapping'.
2142 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2144 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2145 Remove unused variable `result'; use `let'.
2147 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2148 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2149 (gametree-children-shown-p, gametree-compute-reduced-score):
2150 Use `ignore-errors'.
2152 * play/handwrite.el (ps-lpr-switches): Declare.
2153 (handwrite): Remove unused variables `pmin' and `lastp'.
2155 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2157 * play/landmark.el (landmark-init-display)
2158 (landmark-update-naught-weights): Mark unused parameters.
2159 (landmark-y): Remove unused variable `noise'. Simplify.
2160 (landmark-human-plays): Remove unused variable `score'.
2162 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2163 (mpuz-try-proposal): Remove unused variable `game'.
2165 * play/zone.el (life-patterns): Declare.
2167 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
2169 * vc/vc.el (ediff-vc-internal): Declare function.
2171 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2173 * shell.el: Use lexical-binding and std completion UI.
2174 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2175 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2176 comint-preoutput-filter-functions rather than on
2177 comint-output-filter-functions.
2178 (shell-command-completion, shell--command-completion-data)
2179 (shell-filename-completion, shell-environment-variable-completion)
2180 (shell-c-a-p-replace-by-expanded-directory): New functions.
2181 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2182 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2183 (shell-dynamic-complete-environment-variable): Use them.
2184 (shell-dynamic-complete-as-environment-variable)
2185 (shell-dynamic-complete-as-command): Remove.
2186 (shell-match-partial-variable): Match past point.
2187 * comint.el: Clean up use of completion-at-point-functions.
2188 (comint-completion-at-point): New function.
2189 (comint-mode): Use it completion-at-point-functions.
2190 (comint-dynamic-complete): Make it obsolete.
2191 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2192 (comint-c-a-p-replace-by-expanded-history): New function.
2193 (comint-dynamic-complete-functions)
2194 (comint-replace-by-expanded-history): Use it.
2195 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2196 termination strings. Try harder to avoid second try-completion.
2197 (completion-in-region-mode-map): Disable bindings that don't work yet.
2199 * comint.el: Use lexical-binding. Require CL.
2200 (comint-dynamic-complete-functions): Use comint-filename-completion.
2201 (comint-completion-addsuffix): Tweak custom type.
2202 (comint-filename-completion, comint--common-suffix)
2203 (comint--common-quoted-suffix, comint--table-subvert)
2204 (comint--complete-file-name-data): New functions.
2205 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2206 (comint-dynamic-list-filename-completions): Use them.
2207 (comint-dynamic-simple-complete): Make obsolete.
2209 * minibuffer.el (completion-in-region-mode):
2210 Keep completion-in-region-mode--predicate global.
2211 (completion-in-region--postch):
2212 Assume completion-in-region-mode--predicate is not null.
2214 * progmodes/flymake.el (flymake-start-syntax-check-process):
2215 Obey `dir'. Simplify.
2217 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2218 we're in VC after all.
2220 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2222 * vc/vc.el (vc-diff-build-argument-list-internal)
2223 (vc-version-ediff, vc-ediff): New commands.
2224 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2226 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2231 * obsolete/erc-hecomplete.el: Make obsolete.
2232 * obsolete/: Standardize obsolescence info in the header.
2234 2011-04-20 Glenn Morris <rgm@gnu.org>
2236 * calendar/solar.el (solar-horizontal-coordinates):
2237 Use the longitude argument rather than `calendar-longitude'.
2238 (solar-date-next-longitude): Remove unused locals.
2240 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2242 * whitespace.el: New version 13.2.1.
2244 2011-04-20 felix <EmacsWiki> (tiny change)
2246 * whitespace.el (global-whitespace-mode): keep highlight when
2247 switching between major modes on a file.
2249 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2252 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2253 multi-line comments as well.
2255 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
2257 Lexical-binding cleanup.
2259 * arc-mode.el (archive-mode-revert):
2260 * cmuscheme.el (scheme-interactively-start-process):
2261 * custom.el (custom-initialize-delay):
2262 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2263 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2264 * emacs-lock.el (emacs-lock-clear-sentinel):
2265 * ezimage.el (defezimage):
2266 * follow.el (follow-avoid-tail-recenter):
2267 * fringe.el (set-fringe-mode-1):
2268 * generic-x.el (bat-generic-mode-compile):
2269 * help-mode.el (help-info-variable, help-do-xref)
2270 (help-mode-revert-buffer):
2271 * help.el (view-emacs-todo):
2272 * iswitchb.el (iswitchb-completion-help):
2273 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2274 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2275 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2276 * locate.el (locate-update):
2277 * longlines.el (longlines-encode-region)
2278 (longlines-after-change-function):
2279 * outline.el (outline-isearch-open-invisible):
2280 * ps-def.el (declare-function, charset-dimension, char-width)
2282 * ps-mule.el (ps-mule-plot-string):
2283 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2284 (recentf-edit-list-select, recentf-edit-list-validate)
2285 (recentf-open-files-action):
2286 * rect.el (delete-whitespace-rectangle-line)
2287 (rectangle-number-line-callback):
2288 * register.el (window-configuration-to-register)
2289 (frame-configuration-to-register):
2290 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2291 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2292 (xselect-convert-to-targets, xselect-convert-to-delete)
2293 (xselect-convert-to-filename, xselect-convert-to-charpos)
2294 (xselect-convert-to-lineno, xselect-convert-to-colno)
2295 (xselect-convert-to-os, xselect-convert-to-host)
2296 (xselect-convert-to-user, xselect-convert-to-class)
2297 (xselect-convert-to-name, xselect-convert-to-integer)
2298 (xselect-convert-to-atom, xselect-convert-to-identity):
2299 * subr.el (declare, ignore, process-kill-without-query)
2300 (text-clone-maintain):
2301 * terminal.el (te-get-char, te-tic-sentinel):
2302 * tool-bar.el (tool-bar-make-keymap):
2303 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2304 * type-break.el (type-break-mode, type-break-noninteractive-query):
2305 * view.el (View-back-to-mark):
2306 * wid-browse.el (widget-browse-action, widget-browse-widget)
2307 (widget-browse-widgets, widget-browse-sexp):
2308 * widget.el (define-widget-keywords):
2309 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2310 Mark unused parameters.
2312 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2313 (align-areas): Remove unused variable `look'.
2314 (align-region): Remove unused variables `real-end' and `pos-list'.
2316 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2318 * bindings.el (mode-line-modified, mode-line-remote):
2319 Mark unused parameters.
2320 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2322 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2323 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2325 * comint.el (comint-history-isearch-pop-state)
2326 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2327 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2328 (comint-substitute-in-file-name): Doc fix.
2330 * completion.el (cmpl-statistics-block): Mark unused parameter.
2331 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2332 (save-completions-to-file, load-completions-from-file):
2333 Remove unused local variable `e'.
2335 * composite.el (compose-chars): Remove unused variable `len'.
2336 (lgstring-insert-glyph): Remove unused variable `g'.
2337 (compose-glyph-string): Remove unused variables `ascent',
2338 `descent', `lbearing' and `rbearing'.
2339 (compose-glyph-string-relative): Remove unused variables
2340 `lbearing', `rbearing' and `wadjust'.
2341 (compose-gstring-for-graphic): Remove unused variables `header',
2342 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2343 (compose-gstring-for-terminal): Remove unused variables `header'
2344 and `nchars'. Use `let', not `let*'.
2346 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2347 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2348 (Custom-buffer-done, custom-buffer-create-internal)
2349 (custom-browse-visibility-action, custom-browse-group-tag-action)
2350 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2351 (widget-magic-mouse-down-action, custom-toggle-parent)
2352 (custom-add-parent-links, custom-toggle-hide-variable)
2353 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2354 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2355 (custom-face-menu-create, custom-variable-menu-create, get)
2356 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2357 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2358 (customize-apropos): Remove unused variable `tests'.
2359 (custom-group-value-create): Remove unused variable `hidden-p'.
2360 (sort-fold-case): Declare.
2362 * cus-theme.el (custom-reset-standard-faces-list)
2363 (custom-reset-standard-variables-list): Declare.
2364 (customize-create-theme, custom-theme-revert, custom-theme-write)
2365 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2366 Mark unused parameters.
2368 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2370 * delim-col.el (delimit-columns-max): Move defvar before first use.
2372 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2373 (describe-char): Don't quote `lambda'. Mark unused parameter.
2375 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2376 (auto-insert): Declare.
2377 (desktop-restore-file-buffer): Rename desktop-* parameters;
2379 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2380 (desktop-buffer): Rename desktop-* parameters.
2382 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2383 (dframe-reposition-frame-xemacs, dframe-help-echo)
2384 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2385 Mark unused parameters.
2387 * dired-aux.el (backup-extract-version-start, overwrite-query)
2388 (overwrite-backup-query, rename-regexp-query)
2389 (rename-non-directory-query): Declare.
2390 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2391 (dired-add-entry): Remove unused variable `orig-file-name'.
2392 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2393 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2394 `dired-copy-preserve-time' directly.
2395 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2396 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2398 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2399 (dired-virtual-revert, dired-make-relative-symlink):
2400 Mark unused parameters.
2401 (manual-program): Declare.
2402 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2403 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2404 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2406 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2408 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2410 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2413 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2415 * electric.el (Electric-command-loop): Rename parameter
2416 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2418 * expand.el (expand-in-literal): Remove unused variable `here'.
2420 * facemenu.el (facemenu-add-new-color):
2421 Remove unused variable `docstring'.
2423 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2424 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2425 (face-attr-construct): Mark unused parameter. Doc fix.
2426 (read-color): Remove unused variable `hex-string'.
2428 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2429 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2430 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2431 (display-buffer-other-frame): Remove unused variable `old-window'.
2432 (kill-buffer-hook): Declare.
2433 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2434 Mark unused parameters.
2435 (after-find-file): Pass 1 to `auto-save-mode', not t.
2437 * files-x.el (auto-insert): Declare.
2438 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2440 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2441 variable `buf'. Mark unused parameter.
2442 (find-lisp-insert-directory): Mark unused parameter.
2444 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2445 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2446 (format-common-tail): Remove, unused.
2447 (format-deannotate-region): Remove unused variable `loc'.
2448 (format-annotate-region): Remove unused variable `p'.
2449 (format-annotate-single-property-change): Remove unused variables
2450 `default' and `tail'.
2452 * forms.el (read-file-filter): Declare.
2453 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2455 * frame.el (frame-creation-function-alist): Mark unused parameter.
2456 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2458 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2459 Remove unused parameters.
2460 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2461 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2463 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2464 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2465 (hfy-prepare-tag-map): Mark unused parameters.
2466 (htmlfontify-buffer): Use `called-interactively-p'.
2468 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2469 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2470 (ibuffer-do-occur): Mark unused parameters.
2471 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2472 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2474 * ibuffer.el: Don't quote `lambda'.
2475 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2476 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2477 Mark unused parameters.
2479 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2480 (ido-completing-read): Mark unused parameters.
2481 (ido-copy-current-word): Mark unused parameters;
2482 remove unused variable `name'.
2483 (ido-sort-merged-list): Remove unused parameter `dirs'.
2485 * ielm.el (ielm-input-sender): Mark unused parameter.
2486 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2487 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2488 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2489 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2490 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2492 * image-dired.el (image-dired-display-thumbs): Remove unused
2493 variables `curr-file' and `count'.
2494 (image-dired-remove-tag): Remove unused variable `start'.
2495 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2496 variable `curr-file'
2497 (image-dired-rotate-original): Remove unused variable `temp-file'.
2498 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2499 Remove unused variable `file'.
2500 (image-dired-gallery-generate): Remove unused variable `curr'.
2501 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2503 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2505 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2507 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2509 * isearch.el (minibuffer-history-symbol): Declare.
2510 (isearch-edit-string): Remove unused variable `err'.
2511 (isearch-message-prefix, isearch-message-suffix):
2512 Mark unused parameters.
2514 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2516 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2518 * makesum.el (double-column): Remove unused variable `cnt'.
2520 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2521 (ido-ignore-item-temp-list): Declare.
2523 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2524 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2525 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2526 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2529 * mouse-sel.el (mouse-extend-internal):
2530 Remove unused variable `orig-window-frame'.
2532 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2533 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2534 Move declarations before first use.
2535 (pcomplete-opt): Mark unused parameters; doc fix.
2537 * proced.el (proced-revert): Mark unused parameter.
2538 (proced-send-signal): Remove unused variable `err'.
2540 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2541 Rename parameter PREFIX-ARG to ARG.
2542 (ps-basic-plot-string, ps-basic-plot-whitespace):
2543 Mark unused parameters.
2545 * replace.el (replace-count): Define.
2546 (occur-revert-function): Mark unused parameters.
2547 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2548 (isearch-case-fold-search, isearch-string): Declare.
2549 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2550 bind `case-fold-search'. Remove unused variables `beg' and `end',
2552 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2553 COUNT and bind `replace-count'.
2554 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2557 * savehist.el (print-readably, print-string-length): Declare.
2559 * shadowfile.el (shadow-expand-cluster-in-file-name):
2560 Remove unused variable `cluster'.
2561 (shadow-copy-file): Remove unused variable `i'.
2562 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2563 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2564 (shadow-define-literal-group, shadow-define-regexp-group)
2565 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2567 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2568 (shell): Use `called-interactively-p'.
2569 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2571 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2572 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2573 (delete-backward-char): Remove unused variable `ocol'.
2574 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2575 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2576 (event-apply-hyper-modifier, event-apply-shift-modifier)
2577 (event-apply-control-modifier, event-apply-meta-modifier):
2578 Mark unused parameters.
2579 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2580 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2582 * speedbar.el (speedbar-ignored-directory-expressions)
2583 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2584 (speedbar-find-file, speedbar-dir-follow)
2585 (speedbar-directory-buttons-follow, speedbar-tag-find)
2586 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2587 (speedbar-buffers-line-directory, speedbar-buffer-click):
2588 Mark unused parameters.
2589 (speedbar-tag-file): Remove unused variable `mode'.
2590 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2592 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2594 * talk.el (talk): Remove unused variable `display'.
2596 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2597 (tar-write-region-annotate): Mark unused parameter.
2599 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2600 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2601 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2604 * time-stamp.el (time-stamp-string-preprocess):
2605 Remove unused variable `require-padding'.
2607 * tree-widget.el (widget-glyph-enable): Declare.
2608 (tree-widget-action): Mark unused parameter.
2610 * w32-fns.el (x-get-selection): Mark unused parameter.
2611 (autoload-make-program, generated-autoload-file): Declare.
2613 * wdired.el (wdired-revert): Mark unused parameters.
2614 (wdired-xcase-word): Remove unused variable `err'.
2616 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2617 (whitespace-help-scroll): Remove unused variable `data-help'.
2619 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2620 (widget-image-insert, widget-after-change, default)
2621 (widget-default-format-handler, widget-default-notify)
2622 (widget-default-prompt-value, widget-info-link-action)
2623 (widget-url-link-action, widget-function-link-action)
2624 (widget-variable-link-action, widget-file-link-action)
2625 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2626 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2627 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2628 (widget-insert-button-action, widget-delete-button-action, visibility)
2629 (widget-documentation-link-action, widget-documentation-string-action)
2630 (widget-const-prompt-value, widget-regexp-match, symbol)
2631 (widget-coding-system-prompt-value)
2632 (widget-key-sequence-value-to-external, sexp)
2633 (widget-sexp-value-to-internal, character, vector, cons)
2634 (widget-choice-prompt-value, widget-boolean-prompt-value)
2635 (widget-color--choose-action): Mark unused parameters.
2636 (widget-item-match-inline, widget-choice-match-inline)
2637 (widget-checklist-match, widget-checklist-match-inline)
2638 (widget-group-match): Rename parameter VALUES to VALS.
2639 (widget-field-value-set): Remove unused variable `size'.
2640 (widget-color-action): Remove unused variables `value' and `start'.
2642 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2643 variable `dir'. Doc fix.
2644 (windmove-find-other-window): Don't pass it.
2646 * window.el (count-windows): Mark unused parameter.
2647 (bw-adjust-window): Remove unused variable `err'.
2649 * woman.el (woman-file-name): Remove unused variable `default'.
2650 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2651 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2652 (global-font-lock-mode): Declare.
2653 (woman-decode-region): Mark unused parameter.
2654 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2656 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2657 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2658 (x-dnd-handle-moz-url): Remove unused variable `title'.
2659 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2661 * xml.el (xml-parse-tag, xml-parse-attlist):
2662 Remove unused variable `pos'.
2664 2011-04-19 Glenn Morris <rgm@gnu.org>
2666 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2667 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2668 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2669 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2670 * calendar/cal-html.el (cal-html-insert-minical):
2671 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2672 (calendar-mark-date-pattern):
2673 Prefix "unused" locals.
2675 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2676 optional argument `style'.
2678 * calendar/appt.el (appt-make-list):
2679 * calendar/cal-china.el (calendar-chinese-date-string):
2680 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2681 (diary-hebrew-yahrzeit):
2682 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2683 * calendar/calendar.el (calendar-generate-window):
2684 * calendar/time-date.el (time-to-days):
2685 Remove unused local variables.
2687 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
2689 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2690 glyphless-char-display table.
2691 (tabulated-list-glyphless-char-display): New var.
2693 2011-04-18 Sam Steingold <sds@gnu.org>
2695 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2698 2011-04-17 Glenn Morris <rgm@gnu.org>
2700 * calendar/diary-lib.el (diary-sexp-entry):
2701 * calendar/holidays.el (holiday-sexp):
2702 Set debug-on-error rather than the removed stack-trace-on-error.
2704 2011-04-16 Glenn Morris <rgm@gnu.org>
2706 * progmodes/f90.el: Use lexical-binding.
2707 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2709 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2712 (mail-mode): Setup mailalias completion here instead.
2713 * mail/mailalias.el: Use lexical-binding.
2714 (pattern, mailalias-done): Declare dynamic.
2715 (mail-completion-at-point-function): New function, from mail-complete.
2716 (mail-complete): Use it.
2717 (mail-completion-expand): New function.
2718 (mail-get-names): Use it.
2719 (mail-directory, mail-directory-process, mail-directory-stream):
2720 Don't use `pattern' for lexically bound arg.
2722 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2724 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2725 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2726 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2728 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2729 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2730 (byte-interactive-p): Define them again, for use when inlining
2733 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2735 * loadup.el: Use `string-to-number', not `string-to-int'.
2737 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2740 gud-gdb-complete-command.
2741 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2742 (gud-gdb-completion-at-point): New function.
2743 (gud-gdb-completions): Remove.
2745 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2747 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2748 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2749 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2750 whether `executable-find' is bound.
2752 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2754 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * minibuffer.el (completion-in-region-mode-predicate)
2757 (completion-in-region-mode--predicate): New vars.
2758 (completion-in-region, completion-in-region--postch)
2759 (completion-in-region-mode): Use them.
2760 (completion--capf-wrapper): Also return the hook function.
2761 (completion-at-point, completion-help-at-point):
2762 Adjust and provide a predicate.
2764 Preserve arg names for advice of subr and lexical functions (bug#8457).
2765 * help-fns.el (help-function-arglist): Consolidate the subr and
2766 new-byte-code cases. Add argument `preserve-names' to extract names
2767 from the docstring when needed.
2768 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2769 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2770 (ad-arglist): Use help-function-arglist's new arg.
2771 (ad-definition-type): Use cond.
2773 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2775 * autorevert.el (auto-revert-handler):
2776 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2777 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2780 * image-mode.el (image-transform-set-scale):
2781 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2783 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2785 * net/network-stream.el (network-stream-open-starttls): Only do
2786 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2787 Upgrades via gnutls-cli are too slow to be done opportunistically.
2789 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2791 * dframe.el (dframe-current-frame): Remove spurious quote.
2793 2011-04-12 Glenn Morris <rgm@gnu.org>
2795 * calendar/cal-tex.el (cal-tex-end-document):
2796 Try to automatically use latin1 input if needed.
2798 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2799 Don't try to cons a mark onto an empty element.
2801 2011-04-11 Leo Liu <sdl.web@gmail.com>
2803 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2805 (ido-kill-buffer-at-head): Support killing virtual buffers.
2807 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2809 * minibuffer.el (completion-show-inline-help): New var.
2810 (completion--do-completion, minibuffer-complete)
2811 (minibuffer-force-complete, minibuffer-complete-word):
2812 Inhibit minibuffer messages if completion-show-inline-help is nil.
2814 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2815 to avoid interference from inline help (Bug#5849).
2817 2011-04-10 Leo Liu <sdl.web@gmail.com>
2819 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2822 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2824 * image-mode.el (image-toggle-display-image): Signal an error if
2826 (image-transform-mode, image-transform-resize)
2827 (image-transform-set-rotation): Doc fix.
2828 (image-transform-set-resize): Delete.
2829 (image-transform-set-scale, image-transform-fit-to-height)
2830 (image-transform-fit-to-width): Handle image-toggle-display-image
2831 and image-transform-resize directly.
2833 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2835 * doc-view.el (doc-view-fit-width-to-window)
2836 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2837 New functions for fitting the shown image to the Emacs window size.
2838 (doc-view-mode-map): Add bindings for the new functions.
2840 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2842 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2843 Fix typo in docstring.
2845 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2847 * files.el (file-size-human-readable): Produce one digit after
2848 decimal, like "ls -lh" does.
2850 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2851 the file size representation.
2853 * simple.el (list-processes): If async subprocesses are not
2854 available, error out with a clear error message.
2856 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2858 * help.el (help-form-show): New function, to be called from C.
2859 Put help-form output in a buffer named differently than *Help*.
2861 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2863 * files.el (file-size-human-readable): New function.
2865 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2866 computing the representation inline. Don't require `cl'.
2868 2011-04-08 Glenn Morris <rgm@gnu.org>
2870 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2872 * net/browse-url.el (browse-url-firefox):
2873 Test system-type, not system-configuration.
2875 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2876 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2877 Use log-edit-empty-buffer-p. (Bug#7598)
2879 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2880 (rlogin-mode-map): Initialize in the defvar.
2881 (rlogin): Use ignore-errors.
2883 * replace.el (occur-mode-map): Some fixes for menu items.
2885 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2887 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2889 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2891 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2892 issuing unused warnings.
2894 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2897 * simple.el: Lisp reimplement of list-processes. Based on an
2898 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2899 (process-menu-mode): New major mode.
2900 (list-processes--refresh, list-processes):
2901 (process-menu-visit-buffer): New functions.
2903 * files.el (save-buffers-kill-emacs): Don't assume any return
2904 value of list-processes, which is undocumented anyway.
2906 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2908 * emacs-lisp/tabulated-list.el: New file.
2910 * emacs-lisp/package.el: Use Tabulated List mode.
2911 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2912 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2913 table format using Tabulated List mode variables.
2914 (package--push): New macro, replacing package-list-maybe-add.
2915 (package-menu--generate): Use package--push. Renamed from
2916 package--generate-package-list.
2917 (package-menu-refresh, list-packages): Use it.
2918 (package-menu--print-info): Rename from package-print-package.
2919 Return insertion data instead of inserting it directly.
2920 (package-menu-describe-package, package-menu-execute):
2921 Use tabulated-list-get-id.
2922 (package-menu-mark-delete, package-menu-mark-install)
2923 (package-menu-mark-unmark, package-menu-backup-unmark)
2924 (package-menu-mark-obsolete-for-deletion):
2925 Use tabulated-list-put-tag.
2926 (package--list-packages, package-menu-revert)
2927 (package-menu-get-package, package-menu-get-version)
2928 (package-menu-sort-by-column): Functions deleted.
2929 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2930 (package-menu--status-predicate, package-menu--version-predicate)
2931 (package-menu--name-predicate)
2932 (package-menu--description-predicate): Handle arguments in the
2933 Tabulated List format.
2934 (package-list-packages-no-fetch): Call list-packages.
2936 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
2938 * files.el (after-find-file-from-revert-buffer): Remove variable.
2939 (after-find-file): Don't bind it.
2940 (revert-buffer-in-progress-p): New variable.
2941 (revert-buffer): Bind it.
2942 Pass nil for `after-find-file-from-revert-buffer'.
2944 * saveplace.el (save-place-find-file-hook): Use new variable
2945 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2947 2011-04-06 Glenn Morris <rgm@gnu.org>
2949 * Makefile.in (AUTOGEN_VCS): New variable.
2950 (autoloads): Use $AUTOGEN_VCS.
2952 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2953 * calendar/calendar.el (calendar-mode-map):
2954 Check for toolkit scroll bars. (Bug#8305)
2956 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2958 * minibuffer.el (completion-in-region--postch)
2959 (completion-in-region-mode): Remove unnecessary messages.
2961 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
2963 * font-lock.el (font-lock-refresh-defaults):
2964 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2965 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2967 * info.el (Info-directory-list, Info-read-node-name-2)
2968 (Info-split-parameter-string): Doc fixes.
2969 (Info-virtual-nodes): Reflow docstring.
2970 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2971 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2972 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2973 Fix typos in docstrings.
2974 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2975 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2976 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2977 (Info-restore-desktop-buffer): Mark unused parameters.
2978 (Info-directory-find-file, Info-directory-find-node)
2979 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2980 (Info-virtual-index-find-node, Info-apropos-find-file)
2981 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2982 Mark unused parameters; fix typos in docstrings.
2983 (Info-virtual-index): Remove unused local variable `nodename'.
2985 2011-04-05 Deniz Dogan <deniz@dogan.se>
2987 * net/rcirc.el: Update my e-mail address.
2988 (rcirc-mode-map): Remove M-o binding.
2990 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2992 * startup.el (command-line): Save the cursor's theme-face
2993 directly, instead of using face-override-spec.
2995 * custom.el (load-theme): Minor optimization in assigning faces.
2997 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2999 * help-fns.el (describe-variable): Complete all variables having
3000 documentation, including keywords.
3001 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3003 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3005 Convert to lexical-binding.
3007 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3008 (bs--get-marked-string, bs--get-modified-string)
3009 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3010 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3011 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3013 * ehelp.el (electric-help-execute-extended)
3014 (electric-help-ctrl-x-prefix):
3015 * hexl.el (hexl-revert-buffer-function):
3016 * linum.el (linum-after-change, linum-after-scroll):
3017 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3019 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3021 2011-04-04 Daiki Ueno <ueno@unixuser.org>
3028 * epg.el: Use lexical binding.
3030 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
3032 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3034 * textmodes/flyspell.el (flyspell-word): Recognize default
3035 dictionary case for flyspell-mark-duplications-exceptions.
3036 Use regexp matching for languages.
3037 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3038 default dictionary (Bug#7926).
3040 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
3042 * emacs-lisp/package.el (package--with-work-buffer):
3043 Recognize https URLs.
3045 * net/network-stream.el: Move from gnus/proto-stream.el.
3046 Change prefix to network-stream throughout.
3047 (open-protocol-stream): Merge into open-network-stream, leaving
3048 open-protocol-stream as an alias. Handle nil BUFFER args.
3050 * subr.el (open-network-stream): Move to net/network-stream.el.
3052 2011-04-02 Glenn Morris <rgm@gnu.org>
3054 * find-dired.el (find-exec-terminator): New option.
3055 (find-ls-option): Test for -ls support.
3056 (find-ls-subdir-switches): Test for -b in find-ls-option.
3057 (find-dired, find-grep-dired): Doc fixes.
3058 (find-dired): Use find-exec-terminator.
3060 * find-dired.el (find-ls-option, find-ls-subdir-switches)
3061 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3062 (find-name-arg): Remove purecopy.
3064 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3065 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3066 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3067 accordingly. Don't add the null-device if not needed.
3069 * files.el (save-some-buffers): Doc fix.
3071 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3073 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3075 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
3077 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3078 Use `dolist' rather than `mapcar'.
3080 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3082 Add lexical binding.
3084 * subr.el (apply-partially): Use new closures rather than CL.
3085 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3086 (dolist, dotimes): Use slightly different expansion for lexical code.
3087 (functionp): Move to C.
3088 (letrec): New macro.
3089 (with-wrapper-hook): Use it and apply-partially instead of CL.
3090 (eval-after-load): Preserve lexical-binding.
3091 (save-window-excursion, with-output-to-temp-buffer): Turn them
3094 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3096 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3098 (help-add-fundoc-usage): Don't add `Not documented'.
3099 (help-function-arglist): Handle closures, subroutines, and new
3100 byte-code-functions.
3101 (help-make-usage): Remove leading underscores.
3102 (describe-function-1): Handle closures.
3103 (describe-variable): Use special-variable-p for completion.
3105 * files.el (lexical-binding): Declare safe.
3107 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3108 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3109 (pcase): Add `let' pattern.
3110 Change memoization so it actually works.
3111 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3112 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3115 * emacs-lisp/macroexp.el: Use lexical binding.
3116 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3117 Don't convert ' to #' without checking that it's indeed quoting
3120 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3121 Use eval-sexp-add-defvars.
3122 (eval-sexp-add-defvars): New fun.
3124 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3126 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3128 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3129 than the internal `byte-compile-lambda'.
3130 (defmethod): Don't hide code under quotes.
3131 (eieio-defmethod): New `code' argument.
3133 * emacs-lisp/eieio-comp.el: Remove.
3135 * emacs-lisp/edebug.el (edebug-eval-defun)
3136 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3137 (edebug-toggle): Avoid `eval'.
3139 * emacs-lisp/disass.el (disassemble-internal): Handle new
3141 (disassemble-1): Handle new byte codes.
3143 * emacs-lisp/cl.el (pushnew): Silence warning.
3145 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3146 (cl-byte-compile-throw): Remove.
3147 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3149 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3152 * emacs-lisp/cconv.el: New file.
3154 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3155 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3156 (byte-compile-initial-macro-environment):
3157 Handle declare-function here.
3158 (byte-compile--lexical-environment): New var.
3159 (byte-stack-ref, byte-stack-set, byte-discardN)
3160 (byte-discardN-preserve-tos): New lap codes.
3161 (byte-interactive-p): Don't use any more.
3162 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3164 (byte-compile-lapcode): Use them and handle new lap codes.
3165 (byte-compile-obsolete): Remove.
3166 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3167 (byte-compile-arglist-warn): Check late def of inlinable funs.
3168 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3169 since they should have been expanded by now.
3170 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3171 (byte-compile-from-buffer): Remove unused second arg.
3172 (byte-compile-preprocess): New function.
3173 (byte-compile-toplevel-file-form): New function to distinguish
3174 file-form calls from outside from file-form calls from hunk-handlers.
3175 (byte-compile-file-form): Simplify.
3176 (byte-compile-file-form-defsubst): Remove.
3177 (byte-compile-file-form-defmumble): Simplify now that
3178 byte-compile-lambda always returns a byte-code-function.
3179 (byte-compile): Preprocess.
3180 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3181 Remove, not used any more.
3182 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3183 (byte-compile-make-args-desc): New funs.
3184 (byte-compile-lambda): Handle lexical functions. Always return
3185 a byte-code-function.
3186 (byte-compile-reserved-constants): New var, to make up room for
3187 closed-over variables.
3188 (byte-compile-constants-vector): Obey it.
3189 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3190 (byte-compile-macroexpand-declare-function): New function.
3191 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3192 byte-code-functions.
3193 (byte-compile-form): Check obsolescence here.
3194 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3195 (byte-compile-variable-ref): Remove.
3196 (byte-compile-dynamic-variable-op): New fun.
3197 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3198 (byte-compile-variable-set): New funs.
3199 (byte-compile-discard): Add 2 args.
3200 (byte-compile-stack-ref, byte-compile-stack-set)
3201 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3202 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3203 macroexpand-all instead.
3204 (byte-compile-quote-form): Remove.
3205 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3206 (byte-compile-bind, byte-compile-unbind): New funs.
3207 (byte-compile-let): Handle let* and lexical binding.
3208 (byte-compile-let*): Remove.
3209 (byte-compile-catch, byte-compile-unwind-protect)
3210 (byte-compile-track-mouse, byte-compile-condition-case):
3211 Handle a new :fun-body form, used for lexical scoping.
3212 (byte-compile-save-window-excursion)
3213 (byte-compile-with-output-to-temp-buffer): Remove.
3214 (byte-compile-defun): Simplify.
3215 (byte-compile-stack-adjustment): New fun.
3216 (byte-compile-out): Use it.
3217 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3219 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3222 * emacs-lisp/byte-opt.el: Use lexical binding.
3223 (byte-inline-lapcode): Remove (to bytecomp).
3224 (byte-compile-inline-expand): Pay attention to inlining to/from
3225 lexically bound code.
3226 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3228 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3229 any more and don't call compiler-macros.
3230 (byte-compile-splice-in-already-compiled-code): Remove.
3231 (byte-code): Don't inline any more.
3232 (disassemble-offset): Receive `bytes' as argument rather than via
3234 (byte-compile-tag-number): Declare before first use.
3235 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3236 `return' even if make-spliceable.
3237 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3238 obsolete interactive-p.
3239 (byte-optimize-lapcode): Optimize new lap-codes.
3240 Don't trip up on new form of `byte-constant' lap code.
3242 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3244 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3246 * custom.el (custom-initialize-default, custom-declare-variable):
3249 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3251 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3252 (COMPILE_FIRST): Add macroexp and cconv.
3253 * makefile.w32-in: Mirror changes in Makefile.in.
3259 * vc/smerge-mode.el:
3260 * textmodes/bibtex-style.el:
3269 * emacs-lisp/smie.el:
3272 * abbrev.el: Use lexical binding.
3274 2011-04-01 Eli Zaretskii <eliz@gnu.org>
3276 * info.el (info-display-manual): New function.
3278 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3282 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3284 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3285 an entry for that server in rcirc-authinfo. (Bug#8385)
3287 2011-03-31 Glenn Morris <rgm@gnu.org>
3289 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3291 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3293 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3295 * progmodes/python.el (python-default-interpreter)
3296 (python-python-command-args, python-jython-command-args)
3297 (python-which-shell, python-which-args, python-which-bufname)
3298 (python-file-queue, python-comint-output-filter-function)
3299 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3300 variables and functions.
3302 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3305 (completion-in-region-mode): New minor mode.
3306 (completion-in-region): Use it.
3307 (completion-in-region--data, completion-in-region-mode-map): New vars.
3308 (completion-in-region--postch): New function.
3309 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3311 (completion--capf-wrapper): New function.
3312 (completion-at-point): Use it to track well-behavedness of
3314 (completion-help-at-point): New command.
3316 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3318 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3319 syntax class to search for whitespace on a single line
3320 (Message-ID: <4D938140.4030905@redhat.com>).
3322 2011-03-30 Leo Liu <sdl.web@gmail.com>
3324 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3326 (edit-abbrevs-map): Bind them here.
3327 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3329 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3331 * allout.el (allout-hide-by-annotation, allout-flag-region):
3332 Reduce possibility of overlay leakage by making them volatile.
3334 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3335 hash is not shared between buffers. Mode initialization is
3336 responsible for giving it a useful starting value.
3337 (allout-item-span): Reduce possibility of overlay leakage by
3338 making them volatile.
3339 (allout-widgets-count-buttons-in-region): Add diagnostic function
3340 for tracking down button overlay leaks.
3342 2011-03-29 Leo Liu <sdl.web@gmail.com>
3344 * ido.el (ido-read-internal): Use the default history var
3345 minibuffer-history if no HISTORY is specified.
3347 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3349 * net/imap.el (imap-shell-open, imap-process-connection-type):
3350 Use imap-process-connection-type for 'shell' streams as well as
3351 Kerberos, SSL, other subprocesses.
3353 2011-03-28 Leo Liu <sdl.web@gmail.com>
3355 * abbrev.el (abbrev-table-empty-p): New function.
3356 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3357 nonempty ones. (Bug#5937)
3359 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3361 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3363 2011-03-27 Leo Liu <sdl.web@gmail.com>
3365 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3366 for foreground and background colors.
3367 (ansi-color-make-color-map): Adapt.
3369 2011-03-25 Leo Liu <sdl.web@gmail.com>
3371 * midnight.el (midnight-time-float): Remove. Note it calculates
3372 the microsecond component incorrectly and seconds-to-time does the
3374 Remove redundant (require 'timer).
3376 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3377 (ido-completions): Remove unused arguments. (Bug#8329)
3379 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3381 * minibuffer.el (completion--flush-all-sorted-completions):
3382 Remove itself from hook.
3383 (completion-at-point): Let the functions perform the completion
3384 immediately and return nil or t.
3385 * comint.el (comint-dynamic-complete-functions): Now identical to
3386 completion-at-point-functions.
3387 (comint-dynamic-list-input-ring): Remove unused var `index'.
3388 (comint--match-partial-filename, comint--unquote&expand-filename):
3389 New funs, split from comint-match-partial-filename.
3390 (comint-dynamic-complete): Use completion-at-point.
3391 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3393 2011-03-24 Drew Adams <drew.adams@oracle.com>
3395 * thingatpt.el: Support `defun'.
3397 2011-03-23 Leo Liu <sdl.web@gmail.com>
3399 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3401 * help-mode.el (help-mode-finish): Tweak regexp.
3403 2011-03-23 Glenn Morris <rgm@gnu.org>
3405 * eshell/esh-opt.el (eshell-eval-using-options):
3406 Do not bind unused local variable `eshell-option-stub'.
3408 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3410 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3412 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3413 keymap variable in `with-no-warnings' to avoid a warning when the
3414 keymap has been already `defconst'ed.
3416 2011-03-22 Leo Liu <sdl.web@gmail.com>
3418 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3419 encode all chars in abbrevs; otherwise use emacs-mule or
3420 utf-8-emacs. (Bug#8308)
3422 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3424 * simple.el (backward-delete-char-untabify):
3425 Avoid warning about using `delete-backward-char'.
3427 * image.el (image-type-file-name-regexps): Make it variable.
3428 `imagemagick-register-types' modifies it, and the user may want
3429 to add new extensions for known image types.
3430 (imagemagick-register-types): Throw error if not using ImageMagick.
3432 2011-03-22 Leo Liu <sdl.web@gmail.com>
3434 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3435 located before rcirc-prompt-end-marker.
3436 (rcirc-complete): Error if point is not after rcirc prompt.
3437 Handle the case when table is nil.
3438 (rcirc-user-authenticated): Define to fix compiler warning.
3440 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3442 * custom.el (custom--inhibit-theme-enable): Make it affect only
3443 custom-theme-set-variables and custom-theme-set-faces.
3444 (provide-theme): Ignore custom--inhibit-theme-enable.
3445 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3446 (custom-enabling-themes): Delete variable.
3447 (enable-theme): Accept only loaded themes as arguments.
3448 Ignore the special custom-enabled-themes variable.
3449 (custom-enabled-themes): Forbid themes from setting this.
3450 Eliminate use of custom-enabling-themes.
3451 (custom-push-theme): Quote "changed" custom var entry.
3453 2011-03-21 Leo Liu <sdl.web@gmail.com>
3455 * ido.el (ido-read-internal): Add ido-selected to history instead
3458 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3460 * subr.el (deferred-action-list, deferred-action-function):
3463 2011-03-21 Leo Liu <sdl.web@gmail.com>
3465 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3466 change on 2011-02-13 (bug#8309).
3468 * minibuffer.el (read-file-name-function): Change default value.
3469 (read-file-name--defaults): Rename from read-file-name-defaults.
3470 (read-file-name-default): Rename from read-file-name.
3471 (read-file-name): Call read-file-name-function.
3473 2011-03-21 Glenn Morris <rgm@gnu.org>
3475 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3478 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3480 * cus-theme.el: Add missing provide statement.
3481 (customize-create-theme): Extract theme value correctly.
3482 (custom-theme-visit-theme): Autoload.
3483 (customize-create-theme): Prompt before inserting default faces.
3485 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3487 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3488 units and musical notes.
3490 2011-03-20 Leo <sdl.web@gmail.com>
3492 * ido.el (ido-read-internal): Use completing-read-default.
3493 (ido-completing-read): Fix compatibility with completing-read.
3495 2011-03-20 Christian Ohler <ohler@gnu.org>
3497 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3498 (ert-delete-all-tests): Use `called-interactively-p' rather than
3500 (ert--make-xrefs-region): Respect END.
3502 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3504 * dired-aux.el (dired-create-directory): Signal an error if the
3505 directory already exists (Bug#8246).
3507 * facemenu.el (list-colors-display): Call list-faces-display
3508 inside with-help-window.
3509 (list-colors-print): Use display property to align the final
3510 column, instead of checking window-width.
3512 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3514 * emerge.el (emerge-metachars): Separate value for ms-dos and
3516 (emerge-protect-metachars): Quote correctly for ms-dos and
3519 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3521 * info.el (info-initialize): Replace all uses of `:' with
3522 path-separator for compatibility with non-Unix systems.
3523 Cache quoting of path-separator. (Bug#8258)
3525 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3527 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3528 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3529 (mouse-avoidance-mode): Fix typos in docstrings.
3531 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3533 * startup.el (package-subdirectory-regexp): Move from package.el.
3534 Omit \\` and \\', and let callers add them.
3536 * emacs-lisp/package.el (package-strip-version)
3537 (package-load-all-descriptors): Add \\` and \\' to
3538 package-subdirectory-regexp before using it.
3539 (package-untar-buffer): New arg DIR; ensure that file untars only
3540 into this expected directory. Remove superfluous delete-region.
3541 (package-unpack): Caller changed.
3542 (package-tar-file-info): Use package-subdirectory-regexp.
3544 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3547 diff-mode-shared-map (bug#8284).
3548 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3550 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552 * calendar/time-date.el (format-seconds): Use assoc instead of
3553 assoc-string, since assoc-string doesn't exist in XEmacs.
3555 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3557 * custom.el (custom-known-themes): Reflow docstring.
3558 (custom-theme-load-path): Fix typo in docstring.
3559 (load-theme): Fix typo in error message.
3560 (custom-available-themes, custom-variable-theme-value):
3561 Use `let', not `let*'.
3563 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3565 * calc/README: Mention inclusion of musical notes.
3567 * calc/calc-units.el (calc-lu-quant): Rename from
3568 `calc-logunits-quantity'.
3569 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3570 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3571 (calc-db): Rename from `calc-dblevel'.
3572 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3573 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3574 (calc-np): Rename from `calc-nplevel'.
3575 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3576 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3577 (calc-lu-plus): Rename from `calc-logunits-add'.
3578 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3579 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3580 (calc-lu-minus): Rename from `calc-logunits-sub'.
3581 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3582 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3583 (calc-lu-times): Rename from `calc-logunits-mul'.
3584 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3585 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3586 (calc-lu-divide): Rename from `calc-logunits-div'.
3587 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3588 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3590 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3591 functions being autoloaded.
3593 * calc/calc.el (calc-lu-power-reference): Rename from
3594 `calc-logunits-power-reference'.
3595 (calc-lu-field-reference): Rename from
3596 `calc-logunits-field-reference'.
3598 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3600 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * minibuffer.el (completion-all-sorted-completions):
3603 Use :completion-cycle-penalty text property if present.
3605 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3607 * allout.el (allout-yank-processing): Adjust for new rebulleting
3608 regime so bullet being yanked is used without prompting the user
3611 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3613 * startup.el (command-line): Warn the user that _emacs is deprecated.
3615 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3617 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3618 (delphi-verbose, delphi-comment-face, delphi-string-face)
3619 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3620 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3621 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3622 (delphi-new-comment-line, delphi-font-lock-defaults)
3623 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3624 Fix typos in docstrings.
3626 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3628 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3629 Invert the roles of character and string values for INSTEAD, so a
3630 string is used for the more common case of a defaulting prompt.
3632 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * progmodes/ruby-mode.el (ruby-backward-sexp):
3635 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3636 * play/gamegrid.el (gamegrid-make-face):
3637 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3638 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3639 * notifications.el (notifications-notify):
3640 * net/xesam.el (xesam-search-engines):
3641 * net/quickurl.el (quickurl-list-insert):
3642 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3644 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
3646 * startup.el (command-line): Update package subdirectory regexp.
3648 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3650 * allout.el (allout-abbreviate-flattened-numbering)
3651 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3653 * subr.el (read-char-choice): Only show the cursor after the prompt,
3654 not after the answer.
3656 2011-03-15 Kevin Ryde <user42@zip.com.au>
3658 * help-fns.el (variable-at-point): Skip leading quotes, if any
3661 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3666 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
3668 * shell.el (shell): When called interactively, offer to change the
3669 shell file name on remote hosts.
3671 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3673 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3674 integration for LDAP parameters. The host, base, user or binddn,
3675 and secret tokens can be specified in a netrc file, for instance.
3676 This is optional because an `auth-source' parameter must be
3677 specified in the search attributes.
3679 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
3681 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3683 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3686 into declaration. Remove redundant and harmful binding.
3688 2011-03-12 Eli Zaretskii <eliz@gnu.org>
3690 * files.el (file-ownership-preserved-p): Pass `integer' as an
3691 explicit 2nd argument to `file-attributes'. If the file's owner
3692 is the Administrators group on Windows, and the current user is
3693 Administrator, consider that a match.
3695 * server.el (server-ensure-safe-dir): Consider server directory
3696 safe on MS-Windows if its owner is the Administrators group while
3697 the current Emacs user is Administrator. Use `=' to compare
3698 numerical UIDs, since they could be integers or floats.
3700 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3702 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3704 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
3706 Sync with Tramp 2.2.1.
3708 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3710 * net/trampver.el: Update release number.
3712 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3714 * progmodes/compile.el (compilation--previous-directory): Fix up
3715 various nil/dead-marker mismatches (bug#8014).
3716 (compilation-directory-properties, compilation-error-properties):
3717 Don't call it at a position past the one we're about to change.
3719 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3720 Disable obsolescence warnings in the file that declares it.
3722 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3724 * allout-widgets.el (allout-widgets-tally):
3725 Initialize allout-widgets-tally as a hash table rather than nil to
3726 prevent mode-line redisplay warnings. Also, clarify the module
3727 description and fix a comment typo.
3729 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3731 * help-fns.el (describe-variable): Don't complete keywords.
3732 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3734 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3736 * emacs-lisp/package.el (package-version-join): Impose a standard
3737 string representation for pre/alpha/beta version lists.
3738 (package-unpack-single): Standardize the directory name by passing
3739 it through package-version-join.
3740 (package-strip-rcs-id): Accept any version string that does not
3741 signal an error in version-to-list.
3743 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3745 * simple.el (delete-trailing-whitespace): Return nil for the
3746 benefit of `write-file-functions'.
3748 2011-03-10 Glenn Morris <rgm@gnu.org>
3750 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3752 * vc/vc-git.el (vc-git-program): New option.
3753 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3754 (vc-git--call): Use it.
3756 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3758 * cus-edit.el (Custom-newline): If no button at point, look
3759 for a subgroup button at start-of-line. (Bug#2298)
3761 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3763 2011-03-10 Julien Danjou <julien@danjou.info>
3765 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3766 `cursor-type' is nil.
3768 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3770 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3772 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3774 * allout.el Summary: Change so yank of distinctive-bullet items
3775 preserves the existing header prefix, rebulleting it if necessary,
3776 rather than replacing it. This is necessary for proper operation
3777 of cooperative addons like allout-widgets.
3778 (allout-make-topic-prefix, allout-rebullet-heading): Change
3779 SOLICIT arg to INSTEAD, and interpret additionally a string value
3780 as alternate bullet to be used, instead of prompting the user for
3783 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3786 Do not use `tramp-file-name-port', because this returns also
3787 `tramp-default-port'.
3789 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3791 * net/rcirc.el (rcirc-handler-001): Remove useless
3792 with-rcirc-process-buffer.
3793 (rcirc-check-auth-status): Swap arguments to string-match.
3795 2011-03-09 Glenn Morris <rgm@gnu.org>
3797 * shell.el (shell-mode):
3798 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3800 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3801 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3803 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3805 * emacs-lisp/package.el (package-refresh-contents)
3806 (package-menu-execute): Use condition-case-no-debug.
3808 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3810 * simple.el (shell-command-to-string): Use `process-file'.
3812 * emacs-lisp/package.el (package-tar-file-info): Handle also
3815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3816 Use `equal' for upload base check.
3818 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3820 * textmodes/texinfo.el (texinfo-environments):
3821 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3823 2011-03-08 Glenn Morris <rgm@gnu.org>
3825 * cus-start.el (cursor-in-non-selected-windows):
3826 Fix :set quoting oddness. (Bug#8192)
3828 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3829 in some setf expressions. (Bug#2159)
3831 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3833 * custom.el (custom-available-themes): Return themes in
3836 See ChangeLog.15 for earlier changes.
3842 Copyright (C) 2011 Free Software Foundation, Inc.
3844 This file is part of GNU Emacs.
3846 GNU Emacs is free software: you can redistribute it and/or modify
3847 it under the terms of the GNU General Public License as published by
3848 the Free Software Foundation, either version 3 of the License, or
3849 (at your option) any later version.
3851 GNU Emacs is distributed in the hope that it will be useful,
3852 but WITHOUT ANY WARRANTY; without even the implied warranty of
3853 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3854 GNU General Public License for more details.
3856 You should have received a copy of the GNU General Public License
3857 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.