1 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3 * wid-edit.el: Use lexical scoping and move towards completion-at-point.
4 (widget-complete): Use new :completion-function property.
5 (widget-completions-at-point): New function.
6 (default): Use :completion-function instead of :complete.
7 (widget-default-completions): Rename from widget-default-complete, rewrite.
8 (widget-string-complete, widget-file-complete, widget-color-complete):
10 (file, symbol, function, variable, coding-system, color):
11 * international/mule-cmds.el (default-input-method, charset)
12 (language-info-custom-alist):
13 * cus-edit.el (face): Use new property :completions.
15 * progmodes/pascal.el (pascal-completions-at-point): New function.
16 (pascal-mode): Use it.
17 (pascal-mode-map): Use completion-at-point.
18 (pascal-toggle-completions): Make obsolete.
19 (pascal-complete-word, pascal-show-completions):
20 * progmodes/octave-mod.el (octave-complete-symbol):
21 Redefine as obsolete alias.
22 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23 Signal absence of completion info for old Octave,
24 (inferior-octave-complete): Redefine as obsolete alias.
25 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
26 (meta-completions-at-point): Rename from meta-complete-symbol and
27 adapt it for use on completion-at-point-functions.
28 (meta-common-mode): Use it.
29 (meta-looking-at-backward, meta-match-buffer): Remove.
30 (meta-complete-symbol): Redefine as obsolete alias.
31 (meta-common-mode-map): Use completion-at-point.
32 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
33 (makefile-mode-map): Use completion-at-point.
34 (makefile-completions-at-point): Rename from makefile-complete and
35 adapt it for use on completion-at-point-functions.
36 (makefile-mode): Use it.
37 (makefile-complete): Redefine as obsolete alias.
39 2011-06-20 Deniz Dogan <deniz@dogan.se>
41 * net/rcirc.el: Delete trailing whitespaces once and for all.
43 2011-06-20 Martin Rudalics <rudalics@gmx.at>
45 * window.el (get-window-with-predicate): Start scanning with
46 window following selected window to restore Emacs 23 behavior.
48 (get-buffer-window-list): Start scanning with selected window to
49 restore Emacs 23 behavior. Clarify doc-string.
51 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
53 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
55 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
57 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
59 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
61 2011-06-19 Martin Rudalics <rudalics@gmx.at>
63 * window.el (display-buffer-other-window-means-other-frame):
64 Call display-buffer-normalize-alist.
65 (display-buffer-normalize-specifiers-1): Rename to
66 display-buffer-normalize-argument. New argument other-frame.
68 (display-buffer-normalize-specifiers-2): Rename to
69 display-buffer-normalize-options.
70 (display-buffer-normalize-alist-1): New function.
71 (display-buffer-normalize-specifiers-3): Rename to
72 display-buffer-normalize-alist.
73 Call display-buffer-normalize-alist-1.
74 (display-buffer-normalize-options-inhibit): New variable.
75 (display-buffer-normalize-specifiers): Rewrite calling
76 display-buffer-normalize-alist,
77 display-buffer-normalize-argument, and
78 display-buffer-normalize-options. Don't call the latter if
79 display-buffer-normalize-options-inhibit is non-nil.
80 (frame-auto-delete): New option.
81 (window-deletable-p): Use frame-auto-delete.
82 (window-list-no-nils, window-state-ignored-parameters)
83 (window-state-get-1, window-state-get, window-state-put-list)
84 (window-state-put-1, window-state-put-2, window-state-put):
86 (display-buffer-normalize-options): Move special-display-p group
87 after pop-up-frame group (Bug#8851) and (Bug#8856).
89 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
91 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
93 (rx-submatch-n): New function.
96 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
99 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
101 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
103 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
104 anytime existing face settings are present (Bug#8889).
106 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
107 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
108 Remove unused argument.
110 2011-06-18 Martin Rudalics <rudalics@gmx.at>
112 * window.el (display-buffer-default-specifiers):
113 Remove pop-up-frame. Add pop-up-window-min-height,
114 pop-up-window-min-width, and another reuse-window specifier
115 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
116 (display-buffer-normalize-specifiers-2):
117 Handle split-height-threshold and split-width-threshold also when
118 pop-up-windows is unset. Add a reuse-window specifier for the
119 case popping up a new window fails.
120 (special-display-popup-frame): Remove double quoting.
121 (display-buffer-normalize-specifiers-1): Fix thinko.
123 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
125 * shell.el (shell-completion-vars): Set pcomplete-termination-string
126 according to comint-completion-addsuffix.
128 * pcomplete.el: Convert to lexical binding and fix bug#8819.
129 (pcomplete-suffix-list): Mark as obsolete.
130 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
131 pcomplete-seen in the closure.
132 (pcomplete-comint-setup): Setup completion-at-point as well.
133 (pcomplete--entries): New function.
134 (pcomplete--env-regexp): New var.
135 (pcomplete-entries): Rewrite to work with partial-completion and
136 without relying on pcomplete-suffix-list.
137 (pcomplete-pare-list): Remove, unused.
139 2011-06-17 Martin Rudalics <rudalics@gmx.at>
141 * window.el (display-buffer-alist): Set pop-up-window-min-height
142 and pop-up-window-min-width in default value. Reported by
143 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
144 other-window-means-other-frame.
145 (display-buffer-macro-specifiers): Comment out entry for
146 other-window specifier.
147 (display-buffer-other-window-means-other-frame): New function.
148 (display-buffer-normalize-specifiers-1): New arguments
149 buffer-name and label. Treat other-window case specially.
150 (display-buffer-normalize-specifiers-2): Treat other-window case
152 (display-buffer-normalize-specifiers-3): New function.
153 (display-buffer-normalize-specifiers):
154 Call display-buffer-normalize-specifiers-3.
156 2011-06-17 Martin Rudalics <rudalics@gmx.at>
158 * window.el (same-window-p): Fix two typos introduced when
159 adding with-no-warnings.
160 (display-buffer-normalize-specifiers-1): Don't check
161 pop-up-frames for 'unset initialization.
162 (display-buffer-normalize-specifiers-2): Major rewrite using
163 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
164 (pop-up-frames, display-buffer-reuse-frames)
165 (display-buffer-mark-dedicated): Don't initialize to 'unset.
166 Suggested by David Engster <deng@randomsample.de>.
167 (even-window-heights): Initialize to 'unset.
168 (display-buffer-alist-set): Handle new 'unset initializations.
169 (display-buffer-macro-specifiers): Don't pop up a new frame in the
172 2011-06-16 Martin Rudalics <rudalics@gmx.at>
174 * window.el (display-buffer-normalize-specifiers-1):
175 Respect current value of pop-up-frames for most reasonable values of
176 second argument of display-buffer (Bug#8865).
177 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
178 (switch-to-buffer-other-window-same-frame)
179 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
181 (display-buffer): Don't check noninteractive when calling
182 display-buffer-pop-up-frame.
183 (display-buffer-pop-up-frame): Never pop up a frame in
184 noninteractive mode (Bug#8857).
185 (enlarge-window, shrink-window): Don't report an error when the
186 window can't be resized as requested (Bug#8862).
188 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
190 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
192 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
194 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
196 2011-06-15 Alan Mackenzie <acm@muc.de>
198 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
199 for declarators, disable knr checking to speed up for normal files.
200 2: Refactor, replacing a sequence of nested if forms by a cond form.
202 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
204 * net/network-stream.el (open-network-stream): Add the keyword
205 :always-query-capabilities for the case where you want to force a
206 `plain' network connection, but the protocol still requires the
207 capabilitiy command (i.e., SMTP and EHLO).
209 * subr.el (process-live-p): Rename from `process-alive-p' for
210 consistency with other `-live-p' functions.
212 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
214 * window.el (same-window-buffer-names, same-window-regexps)
215 (special-display-frame-alist, special-display-popup-frame)
216 (special-display-function, special-display-buffer-names)
217 (special-display-regexps, pop-up-frame-alist)
218 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
219 (pop-up-windows, split-window-preferred-function)
220 (split-height-threshold, split-width-threshold, even-window-heights)
221 (display-buffer-mark-dedicated): Don't encourage the use of
222 display-buffer-alist from Elisp code.
224 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
226 * progmodes/python.el (python-mode): Derive from prog-mode.
227 * progmodes/ps-mode.el (ps-mode):
228 * progmodes/mixal-mode.el (mixal-mode):
229 * progmodes/cfengine.el (cfengine-mode):
230 * progmodes/ld-script.el (ld-script-mode): Likewise.
232 2011-06-15 Martin Rudalics <rudalics@gmx.at>
234 * window.el (display-buffer-alist): Trim default value to avoid
235 popping up a new frame (Bug#8857) or reusing an arbitrary window
237 (display-buffer): Do not fall back on popping up a new frame in
238 batch mode (Bug#8857).
240 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
242 * cus-theme.el (describe-theme-1): Use custom-theme-p.
243 (custom-theme-summary): New function.
244 (customize-themes): Use it.
246 2011-06-13 Glenn Morris <rgm@gnu.org>
248 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
250 2011-06-13 Martin Rudalics <rudalics@gmx.at>
252 * help.el (help-window): Remove variable.
253 (help-window-point-marker, temp-buffer-max-height)
254 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
255 (help-print-return-message): Don't set help-window.
256 (resize-temp-buffer-window): Rewrite cod eand doc-string.
257 (help-window-setup-finish): Remove.
258 (help-window-display-message, help-window-setup)
259 (with-help-window): Major rewrite based on new
260 display-buffer-window variable.
262 * help-mode.el (help-mode-finish): Remove help-window related
265 * view.el (view-exits-all-viewing-windows): Remove reference to
266 view-return-to-alist in doc-string.
267 (view-return-to-alist): Make obsolete.
268 (view-buffer): Call pop-to-buffer-same-window and remove
270 (view-buffer-other-window): Call pop-to-buffer-other-window and
271 simplify code. Ignore second argument.
272 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
273 simplify code. Ignore second argument.
274 (view-return-to-alist-update): Make obsolete.
275 (view-mode-enter): Rename second argument to QUIT-RESTORE.
276 Rewrite using quit-restore window parameters.
277 (view-mode-exit): Rename second argument to EXIT-ONLY.
278 Rewrite using quit-restore-window.
279 (View-exit, View-exit-and-edit, View-leave, View-quit)
280 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
281 appropriate arguments.
282 (view-end-message): Use quit-restore window parameter.
284 * window.el (display-buffer-function): Rewrite doc-string.
285 (display-buffer-window, display-buffer-alist): New variables.
286 (display-buffer-split-specifiers)
287 (display-buffer-side-specifiers)
288 (display-buffer-macro-specifiers): New constants.
289 (display-buffer-even-window-sizes, display-buffer-set-height)
290 (display-buffer-set-width, display-buffer-select-window)
291 (display-buffer-in-window, display-buffer-reuse-window)
292 (display-buffer-split-window-1, display-buffer-split-window)
293 (display-buffer-split-atom-window, display-buffer-pop-up-window)
294 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
295 (display-buffer-in-side-window, normalize-buffer-to-display)
296 (display-buffer-normalize-specifiers-1)
297 (display-buffer-normalize-specifiers-2)
298 (display-buffer-normalize-specifiers, display-buffer-frame):
300 (display-buffer): Major rewrite.
301 (display-buffer-other-window, display-buffer-other-frame)
302 (pop-to-buffer, switch-to-buffer-other-window)
303 (switch-to-buffer-other-frame): Rewrite.
304 (display-buffer-same-window, display-buffer-same-frame)
305 (display-buffer-same-frame-other-window)
306 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
307 (pop-to-buffer-other-window)
308 (pop-to-buffer-same-frame-other-window)
309 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
310 (switch-to-buffer-other-window-same-frame): New functions.
311 (same-window-p, special-display-p): Rewrite disabling warnings.
313 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
314 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
316 (same-window-buffer-names, same-window-regexps)
317 (special-display-frame-alist, special-display-popup-frame)
318 (special-display-function, special-display-buffer-names)
319 (special-display-regexps, pop-up-frame-alist)
320 (pop-up-frame-function, split-window-preferred-function)
321 (split-height-threshold, split-width-threshold)
322 (even-window-heights): Make obsolete.
324 2011-06-12 Glenn Morris <rgm@gnu.org>
326 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
327 Misc simplifications.
329 2011-06-12 Martin Rudalics <rudalics@gmx.at>
331 * window.el (window-safely-shrinkable-p): Restore function which
332 was inadvertently removed in change from 2011-06-11. Declare as
335 * calendar/calendar.el (calendar-generate-window):
336 Use window-iso-combined-p instead of combination of one-window-p and
337 window-safely-shrinkable-p.
339 2011-06-12 Glenn Morris <rgm@gnu.org>
341 * progmodes/fortran.el (fortran-mode-syntax-table):
342 * progmodes/f90.el (f90-mode-syntax-table):
343 Set % to punctuation. (Bug#8820)
344 (f90-find-tag-default): Remove, no longer needed.
346 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
348 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
350 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
352 * image.el (image-animated-p): Return animation delay in seconds.
353 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
354 (image-animate-timeout): Remove DELAY argument. Don't assume
355 every subimage has the same delay; get it from image-animated-p.
356 (image-animate): Caller changed.
358 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
360 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
361 to ignored backtrace functions.
363 2011-06-11 Glenn Morris <rgm@gnu.org>
365 * calendar/appt.el (appt-disp-window-function): Doc fix.
366 (appt-check): Handle overlapping appointments. (Bug#8337)
368 2011-06-11 Martin Rudalics <rudalics@gmx.at>
370 * window.el (window-tree-1, window-tree): New functions, moving
371 the latter to window.el.
372 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
373 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
374 (bw-refresh-edges): Remove.
375 (balance-windows-1, balance-windows-2): New functions.
376 (balance-windows): Rewrite in terms of window tree functions,
377 balance-windows-1 and balance-windows-2.
378 (bw-adjust-window): Remove.
379 (balance-windows-area-adjust): New function with functionality of
380 bw-adjust-window but using resize-window.
381 (set-window-text-height): Rewrite doc-string.
382 Use normalize-live-window and resize-window.
383 (enlarge-window-horizontally, shrink-window-horizontally):
384 Rename argument to DELTA.
385 (window-buffer-height): New function.
386 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
387 Rewrite using new window resize routines.
388 (kill-buffer-and-window, mouse-autoselect-window-select):
389 Use ignore-errors instead of condition-case.
390 (quit-window): Call delete-frame instead of delete-windows-on
391 for the only buffer on frame.
393 2011-06-10 Martin Rudalics <rudalics@gmx.at>
395 * loadup.el (top-level): Load window before files for the sake
396 of replace-buffer-in-windows.
398 * files.el (read-buffer-to-switch)
399 (switch-to-buffer-other-window)
400 (switch-to-buffer-other-frame, display-buffer-other-frame):
403 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
404 (previous-buffer): Move to window.el.
406 * bindings.el (unbury-buffer): Move to window.el.
408 * window.el (delete-other-windows-vertically): Move after
409 definition of delete-other-windows.
410 (other-window, delete-windows-on, replace-buffer-in-windows):
411 Move here from window.c.
412 (record-window-buffer, unrecord-window-buffer)
413 (set-window-buffer-start-and-point, switch-to-prev-buffer)
414 (switch-to-next-buffer): New functions.
415 (get-next-valid-buffer, last-buffer, next-buffer): Move here
416 from simple.el. Call switch-to-next-buffer.
417 (previous-buffer): Move here from simple.el.
418 Call switch-to-prev-buffer.
419 (bury-buffer): Move here from buffer.c. Switch to previous
420 buffer when window cannot be deleted.
421 (unbury-buffer): Move here from bindings.el.
422 (ctl-x-map): Move binding for other-window from window.c to
424 (read-buffer-to-switch, switch-to-buffer-other-window)
425 (switch-to-buffer-other-frame): Move here from files.el.
426 (normalize-buffer-to-switch-to): New functions.
427 (switch-to-buffer): Move here from buffer.c.
428 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
430 2011-06-10 Martin Rudalics <rudalics@gmx.at>
432 * window.el (window-min-height, window-min-width): Move here
433 from window.c. Add defcustoms and rewrite doc-strings.
434 (resize-mini-window, resize-window): New functions.
435 (adjust-window-trailing-edge, enlarge-window, shrink-window):
436 Move here from window.c.
437 (maximize-window, minimize-window): New functions.
438 (delete-window, delete-other-windows, split-window): Move here
440 (window-split-min-size): New function.
441 (split-window-keep-point): Mention split-window-above-each-other
442 instead of split-window-vertically.
443 (split-window-above-each-other, split-window-vertically):
444 Rename split-window-vertically to split-window-above-each-other and
445 provide defalias for old definition.
446 (split-window-side-by-side, split-window-horizontally): Rename
447 split-window-horizontally to split-window-side-by-side and provide
448 defalias for the old definition.
449 (ctl-x-map): Move bindings for delete-window,
450 delete-other-windows and enlarge-window here from window.c.
451 Replace bindings for split-window-vertically and
452 split-window-horizontally by bindings for
453 split-window-above-each-other and split-window-side-by-side.
455 * cus-start.el (all): Remove entries for window-min-height and
456 window-min-width. Add entries for window-splits and
459 2011-06-09 Glenn Morris <rgm@gnu.org>
461 * calendar/appt.el (appt-mode-line): New function.
462 (appt-check, appt-disp-window): Use it.
464 * files.el (hack-one-local-variable-eval-safep):
465 Allow minor-modes with explicit +/-1 arguments.
467 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
469 * term/xterm.el (xterm): Add defgroup.
470 (xterm-extra-capabilities): Add defcustom to supply known xterm
471 capabilities, skip querying them, or query them (default).
472 (terminal-init-xterm): Use it.
473 (terminal-init-xterm-modify-other-keys): New function to set up
474 modifyOtherKeys support to simplify `terminal-init-xterm'.
476 2011-06-09 Martin Rudalics <rudalics@gmx.at>
478 * window.el (resize-window-reset, resize-window-reset-1)
479 (resize-subwindows-skip-p, resize-subwindows-normal)
480 (resize-subwindows, resize-other-windows, resize-this-window)
481 (resize-root-window, resize-root-window-vertically)
482 (window-deletable-p, window-or-subwindow-p)
483 (frame-root-window-p): New functions.
485 2011-06-09 Glenn Morris <rgm@gnu.org>
487 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
488 (ange-ftp-get-files): Use it.
490 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
492 * mail/sendmail.el (mail-recover-1, mail-recover):
493 * files.el (recover-file, recover-session):
494 Handle dired-listing-switches not being just a single short option.
496 2011-06-09 Glenn Morris <rgm@gnu.org>
498 * calendar/appt.el (appt-display-message, appt-disp-window):
499 Handle lists of appointments.
501 2011-06-08 Martin Rudalics <rudalics@gmx.at>
503 * window.el (one-window-p): Move down in code.
505 (window-current-scroll-bars): Rewrite doc-string.
506 Normalize live window argument.
507 (walk-windows, get-window-with-predicate, count-windows):
508 Rewrite doc-string. Use window-list-1.
509 (window-in-direction-2, window-in-direction, get-mru-window):
512 2011-06-08 Reuben Thomas <rrt@sc3d.org>
514 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
517 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
519 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
521 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
523 * loadhist.el (unload-feature-special-hooks):
524 Add `comint-output-filter-functions'.
526 2011-06-08 Ivan Kanis <gnu@kanis.fr>
528 * calendar/appt.el (appt-check): Move some initializations into the let.
530 2011-06-08 Martin Rudalics <rudalics@gmx.at>
532 * window.el (window-height): Defalias to window-total-height.
533 (window-width): Defalias to window-body-width.
535 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
537 * image-mode.el (image-toggle-animation): New command.
538 (image-mode-map): Bind it to RET.
539 (image-mode): Update message.
540 (image-toggle-display-image): Avoid a spurious cache flush.
541 (image-transform-rotation): Doc fix.
542 (image-transform-properties): Return quickly in the normal case.
543 (image-animate-loop): Rename from image-animate-max-time.
545 * image.el (image-animate-max-time): Move to image-mode.el.
546 (create-animated-image): Remove unnecessary function.
547 (image-animate): Rename from image-animate-start. New arg.
548 (image-animate-stop): Remove; just use image-animate-timer.
549 (image-animate-timer): Use car-safe.
550 (image-animate-timeout): Rename argument.
552 2011-06-07 Martin Rudalics <rudalics@gmx.at>
554 * window.el (get-lru-window, get-largest-window): Move here from
555 window.c. Rename first argument to ALL-FRAMES.
556 Rephrase doc-strings.
557 (get-buffer-window-list): Rewrite using window-list-1.
559 (window-safe-min-height, window-safe-min-width): New constants.
560 (window-size-ignore, window-min-size, window-min-size-1)
561 (window-sizable, window-sizable-p, window-size-fixed-1)
562 (window-size-fixed-p, window-min-delta-1, window-min-delta)
563 (window-max-delta-1, window-max-delta, window-resizable)
564 (window-resizable-p, window-total-height, window-total-width)
565 (window-body-width): New functions.
566 (window-full-height-p, window-full-width-p): Rewrite using
568 (window-body-height): Rewrite using window-body-size.
570 2011-06-06 Martin Rudalics <rudalics@gmx.at>
572 * window.el (window-right, window-left, window-child)
573 (window-child-count, window-last-child, window-any-p)
574 (normalize-live-buffer, normalize-live-frame)
575 (normalize-any-window, normalize-live-window)
576 (window-iso-combination-p, window-iso-combined-p)
577 (window-iso-combinations)
578 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
579 (windows-with-parameter, window-with-parameter)
580 (window-atom-root, make-window-atom, window-atom-check-1)
581 (window-atom-check, window-side-check, window-check):
583 (ignore-window-parameters, window-sides, window-sides-vertical)
584 (window-sides-slots): New variables.
585 (window-size-fixed): Move down in code. Minor doc-string fix.
587 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
589 * comint.el (comint-dynamic-complete-as-filename)
590 (comint-dynamic-complete-filename): Correctly call
591 completion-in-region.
593 2011-06-05 Deniz Dogan <deniz@dogan.se>
595 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
598 2011-06-05 Deniz Dogan <deniz@dogan.se>
600 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
601 (rcirc): Use it to prompt for encryption.
603 2011-06-05 Roland Winkler <winkler@gnu.org>
605 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
606 (bibtex-search-entries): New command bound to C-c C-a.
607 (bibtex-display-entries): New function.
609 2011-06-05 Roland Winkler <winkler@gnu.org>
611 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
612 (bibtex-insert-kill): After yanking insert newline if necessary.
613 (bibtex-initialize): Call bibtex-string-files-init only once.
614 (bibtex-mode): Do not call easy-menu-add.
615 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
616 (bibtex-yank): Set arg properly if nil.
618 2011-06-05 Roland Winkler <winkler@gnu.org>
620 * textmodes/bibtex.el (bibtex-search-entry-globally):
622 (bibtex-search-entry): Use it.
624 2011-06-05 Roland Winkler <winkler@gnu.org>
626 * textmodes/bibtex.el (bibtex-entry-format): New option
628 (bibtex-format-entry, bibtex-reformat): Honor this option.
629 (bibtex-parse-entry): Return fields in proper order.
631 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
633 * doc-view.el (doc-view-remove-if): Move computation of result out
634 of `dolist' to silence misleading lexical-binding warning.
636 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
638 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
639 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
641 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
643 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
646 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
648 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
649 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
650 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
652 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
653 (tramp-completion-function-alist-ssh)
654 (tramp-completion-function-alist-telnet)
655 (tramp-completion-function-alist-su)
656 (tramp-completion-function-alist-putty): Set `tramp-autoload'
661 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
662 load "tramp.el" `tramp-set-completion-function'.
664 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
666 * shell.el: Require and use pcomplete.
667 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
668 (shell-completion-vars): Set pcomplete-default-completion-function.
670 2011-06-04 Deniz Dogan <deniz@dogan.se>
672 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
675 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
677 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
679 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
681 * bs.el (bs--mark-unmark, bs--nth-wrapper):
682 * mpc.el (mpc-select-extend, mpc-songpointer-context):
683 * vc/log-view.el (log-view-beginning-of-defun):
684 * vc/smerge-mode.el (smerge-apply-resolution-patch)
685 (smerge-refine-forward, smerge-refine-chopup-region):
686 Silence warning for unused `dotimes' counter variables.
688 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
690 * net/tramp.el (tramp-with-progress-reporter): Rename from
691 with-progress-reporter. Use `declare'.
694 * net/tramp-gvfs.el: Update all uses.
696 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
698 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
699 buffer isn't killed before making it current.
701 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
703 Silence various byte-compiler warnings.
704 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
705 `access-type' and new obsolescence format.
706 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
708 (byte-compile-check-variable): New `access-type' argument.
709 Only warn if the access-type is obsolete.
710 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
711 (byte-compile-variable-set): Adjust callers.
712 * help-fns.el (describe-variable): Adjust to new obsolescence format.
713 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
714 setting it as obsolete.
715 * simple.el (minibuffer-completing-symbol):
716 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
718 * minibuffer.el (minibuffer-completing-file-name): Don't make it
720 * international/quail.el (quail-mouse-choose-completion): Remove unused
721 code referring to obsolete var.
722 (quail-choose-completion-string): Remove.
723 * server.el (server-clients-with, server-kill-buffer-query-function)
724 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
725 * proced.el (proced-send-signal):
726 * emacs-lisp/lisp.el (lisp-complete-symbol):
727 Replace completion-annotate-function with completion-extra-properties.
729 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
731 * simple.el (goto-line): Use read-number.
732 (overriding-map-is-bound): Remove.
733 (saved-overriding-map): Change default.
734 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
735 Take the map as argument.
736 (universal-argument, negative-argument, digit-argument): Use it.
737 (restore-overriding-map): Adjust.
738 (do-auto-fill): Use fill-forward-paragraph.
739 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
741 * minibuffer.el (minibuffer-inactive-mode-map): New var.
742 (minibuffer-inactive-mode): New major mode.
743 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
744 the *Messages* buffer" hack.
745 (mouse-popup-menubar): Don't burp if the event is a normal key.
747 Miscellaneous tweaks.
748 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
749 lexical scoping as in subr.el's dolist and dotimes.
750 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
751 Silence compiler warning.
752 * thingatpt.el (forward-whitespace): Trivial coding style fix.
753 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
754 * international/ccl.el (ccl-compile): Trivial simplification.
755 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
756 * emacs-lisp/testcover.el (testcover-end): Remove spurious
757 `printflag' argument.
758 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
759 Purecopy the whole obsolescence data.
761 2011-06-01 Leo Liu <sdl.web@gmail.com>
763 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
764 improve doc-string as suggested by Marco Pessotto
765 <melmothx@gmail.com>.
766 (rcirc-print): Fix last change.
768 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
770 * minibuffer.el (complete-with-action): Return nil for the metadata and
771 boundaries of non-functional tables.
772 (completion-table-dynamic): Return nil for the metadata.
773 (completion-table-with-terminator): Add default case, using
774 complete-with-action.
775 (completion--metadata): New function.
776 (completion-all-sorted-completions, minibuffer-completion-help): Use it
777 to try and avoid pathological performance problems.
778 (completion--embedded-envvar-table): Return `category' metadata.
780 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
782 * subr.el (process-alive-p): New tiny convenience function.
784 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
786 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
787 content but also its previous major mode.
789 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
791 * debug.el (debug): Restore the previous content of the
792 *Backtrace* buffer when we exit with C-M-c.
794 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
796 * minibuffer.el: Add metadata method to completion tables.
797 (completion-category-overrides): New defcustom.
798 (completion-metadata, completion--field-metadata)
799 (completion-metadata-get, completion--styles)
800 (completion--cycle-threshold): New functions.
801 (completion-try-completion, completion-all-completions):
802 Add `metadata' argument to choose completion-styles.
803 (completion--do-completion): Use metadata to choose cycling.
804 (completion-all-sorted-completions): Use metadata for sorting.
805 Remove :completion-cycle-penalty which is not needed any more.
806 (completion--try-word-completion): Add `metadata' argument.
807 (minibuffer-completion-help): Check metadata for annotation function
809 (completion-file-name-table): Return `category' metadata.
810 (minibuffer-completing-file-name): Make obsolete.
811 * simple.el (minibuffer-completing-symbol): Make obsolete.
812 * icomplete.el (icomplete-completions): Pass new `metadata' param to
813 completion-try-completion.
815 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
817 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
819 2011-05-30 Leo Liu <sdl.web@gmail.com>
821 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
822 (rcirc-print): Decode all incoming messages (bug#8744).
823 (rcirc-decode-coding-system): Allow value nil for automatic coding
826 2011-06-01 Glenn Morris <rgm@gnu.org>
828 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
830 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
832 * image.el (image-animate-max-time): Allow nil and t values.
834 (create-animated-image): Doc fix.
835 (image-animate-start): Remove second arg; just use
836 image-animate-max-time.
837 (image-animate-timeout): Doc fix. Args changed.
839 * image-mode.el (image-toggle-display-image): Ensure that the
840 image spec passed to the animate timer is the same object as in
841 the the buffer's display property (Bug#6981).
842 (image-transform-properties): Doc fix.
844 * image.el (image-animate-max-time): Default to nil.
846 2011-05-29 Martin Rudalics <rudalics@gmx.at>
848 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
849 entire buffer list (Bug#8184).
851 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
853 * image.el (imagemagick-types-inhibit)
854 (imagemagick-register-types): Doc fix.
856 2011-05-29 Deniz Dogan <deniz@dogan.se>
858 * net/rcirc.el (rcirc): Use the user's stored encryption method by
861 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
863 * select.el: Don't perform clipboard-manager saving in hooks;
864 leave the hooks empty.
866 2011-05-28 Leo Liu <sdl.web@gmail.com>
868 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
869 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
870 (occur-edit-mode): New major mode (Bug#8463).
871 (occur-after-change-function): New function.
872 (occur-engine): Give Occur tags a read-only property.
874 2011-05-28 Kevin Ryde <user42@zip.com.au>
876 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
878 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
880 * bindings.el (help-echo): Make the initial non-indicator dash
881 empty on graphical terminals (Bug#7295).
883 * files.el (auto-mode-alist): Move config rule after the
884 in-stripping one (Bug#8547).
886 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
888 * startup.el (normal-splash-screen): Remove gratuitous mode-line
891 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
893 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
894 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
897 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
900 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
902 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
904 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
905 (hs-hide-block-at-point, hs-find-block-beginning)
906 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
909 2011-05-28 Glenn Morris <rgm@gnu.org>
911 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
913 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
915 * help-fns.el (describe-function-1): If the function is a derived
916 major mode, print the parent mode.
918 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
919 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
921 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
923 * minibuffer.el (completion--capf-wrapper): Check applicability before
924 retuning non-nil for non-exclusive completion data.
925 * progmodes/etags.el (tags-completion-at-point-function):
926 * info-look.el (info-lookup-completions-at-point): Mark as
928 (info-complete): Adjust accordingly.
930 * info-look.el: Convert to lexical-binding and completion-at-point.
931 (info-lookup-completions-at-point): New function.
932 (info-complete): Use it and completion-in-region.
934 2011-05-28 Drew Adams <drew.adams@oracle.com>
936 * isearch.el: Let M-e start with point at the first mismatched char.
937 (isearch-fail-pos): New function.
938 (isearch-edit-string): Use it.
940 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
942 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
944 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
946 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
947 traversal functions for avl-trees.
948 (avl-tree--stack): New struct.
949 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
950 (avl-tree-enter): Add optional `updatefun' arg.
951 (avl-tree--do-enter): Add optional `updatefun' arg.
953 (avl-tree-delete): Add optional `test' and `nilflag' args.
954 (avl-tree--do-delete): Add `test' and `nilflag' args.
956 (avl-tree-member): Add optional `nilflag'
957 (avl-tree-member-p): New function.
958 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
959 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
960 (avl-tree-stack-empty-p): New functions.
962 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
964 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
965 avl-tree--del-balance1 and make it work both ways.
966 (avl-tree--del-balance2): Remove.
967 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
968 make it work both ways.
969 (avl-tree--enter-balance2): Remove.
970 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
972 (avl-tree--mapc, avl-tree-map): Add direction argument.
974 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
976 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
978 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
980 * select.el: Support clipboard managers with built-in function
981 x-clipboard-manager-save, via delete-frame-functions and
983 (xselect-convert-to-targets): Add MULTIPLE target to list.
984 (xselect-convert-to-save-targets): New function.
986 2011-05-27 Kenichi Handa <handa@m17n.org>
988 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
989 let-binding rfc2047-encode-encoded-words to nil.
991 2011-05-27 Glenn Morris <rgm@gnu.org>
993 * mail/emacsbug.el: Don't require url-util.
995 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
997 * files.el (set-auto-mode):
998 Also respect mode: entries at the end of the file. (Bug#8586)
1000 2011-05-26 Glenn Morris <rgm@gnu.org>
1002 * files.el (hack-local-variables-prop-line, hack-local-variables):
1003 Downcase mode names, as seems to be traditional.
1004 (hack-local-variables, hack-local-variables-apply): Doc fixes.
1006 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1007 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1009 2011-05-25 Julien Danjou <julien@danjou.info>
1011 * textmodes/rst.el (rst-define-level-faces): Do not define face
1012 symbol if it is already defined.
1014 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1016 * play/5x5.el (5x5-new-game, 5x5-randomize):
1017 Reset 5x5-solver-output to nil when a new grid is cast.
1018 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1019 these debugging traces, as defmacro breaks the compiled code.
1021 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1023 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1025 2011-05-24 Leo Liu <sdl.web@gmail.com>
1027 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1028 (vc-bzr-sha1): Adapt.
1030 * sha1.el: Remove. Function `sha1' is now builtin.
1032 * bindings.el: Provide sha1 feature.
1034 2011-05-24 Kenichi Handa <handa@m17n.org>
1036 * mail/sendmail.el: Require `rfc2047'.
1037 (mail-insert-from-field): Do not perform RFC2047 encoding.
1038 (mail-encode-header): New function.
1039 (sendmail-send-it): Set buffer-file-coding-system of the work
1040 buffer to the return value of select-message-coding-system.
1041 Call mail-encode-header.
1043 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1045 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
1047 * mail/supercite.el (sc-default-cite-frame):
1048 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1050 2011-05-24 Glenn Morris <rgm@gnu.org>
1052 * progmodes/python.el (brm-menu): Declare.
1054 * emulation/viper.el (viper-set-hooks): Declare.
1056 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1057 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1058 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1059 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1060 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1061 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1063 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1065 Add an :exit-function for completion-at-point.
1067 * minibuffer.el (completion--done): New fun.
1068 (completion--do-completion): Use it. New arg `expect-exact'.
1069 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1070 since completion--do-completion does it for us now.
1071 (minibuffer-force-complete): Use completion--done and
1072 completion--replace. Handle sole-completion case with more care.
1073 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1074 (completion-extra-properties): New var.
1075 (completion-annotate-function): Make obsolete.
1076 (minibuffer-completion-help): Adjust accordingly.
1077 Use completion-list-insert-choice-function.
1078 (completion-at-point, completion-help-at-point):
1079 Bind completion-extra-properties.
1080 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1081 * simple.el (completion-list-insert-choice-function): New var.
1082 (completion-setup-function): Preserve it.
1083 (choose-completion): Pay attention to it, shuffle the code a bit.
1084 (choose-completion-string): New arg `insert-function'.
1086 * textmodes/bibtex.el: Convert to lexical binding.
1087 (bibtex-mode-map): Use completion-at-point.
1088 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1089 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1090 (bibtex-complete): Define as obsolete alias.
1091 (bibtex-complete-internal): Remove.
1092 (bibtex-format-entry): Remove unused sub-group in regexp.
1093 * shell.el (shell--command-completion-data)
1094 (shell-environment-variable-completion):
1095 * pcomplete.el (pcomplete-completions-at-point):
1096 * comint.el (comint--complete-file-name-data): Use :exit-function
1097 instead of completion-table-with-terminator so it also works for
1100 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1104 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1107 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1109 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1111 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1112 customization variable and implement: If non-nil, auto-fill will
1113 be inhibited while on topic's header line.
1115 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1117 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1118 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1119 always have a solution in grid size = 5 cases.
1120 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1121 (5x5-solver-output, 5x5-log-buffer): New vars.
1122 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1123 Make these variables buffer local to achieve 5x5 multi-session-ness.
1124 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1125 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1126 (5x5-solve-suggest): New funs.
1127 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1128 randomize a grid so that we ensure that there is always a solution.
1129 (5x5-make-random-grid): Allow other movement than flipping.
1131 2011-05-23 Kevin Ryde <user42@zip.com.au>
1133 * emacs-lisp/advice.el (ad-read-advised-function):
1134 Use `function-called-at-point' as the default default, if it has
1135 advice and passes PREDICATE.
1137 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1139 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1140 byte-compile-lambda if it's actually a lambda.
1142 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1143 Fix function quoting. Use backquote better.
1145 2011-05-22 Yuanle Song <sylecn@gmail.com>
1147 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1148 matching (Bug#8516).
1150 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1152 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1153 different face (Bug#8178).
1155 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
1157 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1160 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1162 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1163 funcall as well (bug#8712). Warn when performing those conversions.
1164 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1166 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1168 2011-05-22 Glenn Morris <rgm@gnu.org>
1170 * files.el (hack-local-variables-prop-line): Small simplifications.
1171 (hack-local-variables, hack-local-variables-prop-line):
1172 If MODE-ONLY, return the mode, rather than just `t'.
1174 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1178 2011-05-21 Glenn Morris <rgm@gnu.org>
1180 * files.el (hack-local-variables-prop-line, hack-local-variables):
1181 If only interested in the mode, don't bother doing the other stuff.
1183 * image-mode.el (image-after-revert-hook):
1184 Redraw all frames on which the image is visible. (Bug#8567)
1186 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1188 * wid-edit.el (widget-checklist-match-inline):
1189 Fix 2011-04-19 change. (Bug#8649)
1191 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1194 Also allow singlespace after single-letter capitals followed by a dot.
1196 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1197 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1199 2011-05-20 Nix <nix@esperi.org.uk>
1201 * files.el (basic-save-buffer-2):
1202 Fix handling of break-hardlink-on-save with non-existent files.
1204 2011-05-19 Deniz Dogan <deniz@dogan.se>
1206 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1207 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1209 2011-05-19 Glenn Morris <rgm@gnu.org>
1211 * progmodes/f90.el (f90-type-def-re):
1212 Handle "type, bind(c)". (Bug#8691)
1214 * emacs-lisp/autoload.el (batch-update-autoloads):
1215 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1217 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
1219 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1220 property for the correct connection in case of multihops.
1222 2011-05-18 Glenn Morris <rgm@gnu.org>
1224 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1225 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1227 Rationalize calendar handling of day and month abbrev-arrays.
1228 * calendar/calendar.el (calendar-customized-p): New function.
1229 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1230 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1232 (calendar-abbrev-length, calendar-day-abbrev-array)
1233 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1234 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1235 Elements may no longer be nil.
1236 (calendar-day-name, calendar-month-name):
1237 Update for changed nature of abbrev arrays.
1238 * calendar/diary-lib.el (diary-name-pattern):
1239 Update for changed nature of abbrev arrays.
1240 (diary-mark-entries-1): Update calendar-make-alist calls.
1241 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1242 * calendar/cal-html.el (cal-html-day-abbrev-array):
1243 Simply inherit from calendar-day-abbrev-array.
1245 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1247 * progmodes/grep.el (grep-mode): Disable default
1248 compilation-directory-matcher setting (bug#8684).
1250 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
1252 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1253 instead of "head" and "tail". There were problems with SunOS 5.9,
1254 and it performs better.
1256 2011-05-17 Glenn Morris <rgm@gnu.org>
1258 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1260 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1261 Replace obsolete function.
1263 * shell.el (pcomplete-parse-arguments-function): Declare.
1265 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1266 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1267 (appt-check): Doc fixes.
1268 (appt-disp-window-function, appt-delete-window-function):
1269 Remove needless special case in custom :type.
1270 (appt-display-count): Default to 0, not nil.
1271 (appt-check): Reset appt-display-count to 0, not nil.
1273 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
1275 * progmodes/python.el (python-font-lock-keywords):
1276 Add the Python 3.X keyword "nonlocal" (bug#8639).
1278 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1280 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1282 2011-05-16 Kevin Ryde <user42@zip.com.au>
1284 * info-look.el (makefile-automake-mode): New setups, looking in
1285 automake manual, then makefile-mode.
1286 (makefile-mode): Remove automake manual, have it just in
1287 makefile-automake-mode since there's various things different or
1288 not relevant to plain make.
1289 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1290 believe a hypothetical automake-mode would go to makefile-mode,
1291 not the other way around.
1293 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
1295 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1296 hunk-end tags (Bug#8672).
1298 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1299 vc-annotate-show-diff-revision-at-line (Bug#8671).
1301 2011-05-14 Glenn Morris <rgm@gnu.org>
1303 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1304 in the middle of an existing one with multiple authors. (Bug#8645)
1305 (change-log-font-lock-keywords): Also handle multiple author lines
1306 with leading tabs. (Bug#8644)
1308 * calendar/appt.el (appt-check): Rename some local variables.
1309 Some simplification/reordering.
1311 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1312 (feedmail-sendmail-f-doesnt-sell-me-out)
1313 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1314 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1315 (feedmail-queue-runner-message-sender): Set :version.
1316 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1317 (bbdb-dwim-net-address, vm-mail): Declare.
1318 (feedmail-binmail-gnulinuxish-template):
1319 Rename from feedmail-binmail-linuxish-template.
1320 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1321 Use insert-buffer-substring.
1323 2011-05-14 Bill Carpenter <bill@carpenter.org>
1325 * mail/feedmail.el (feedmail-patch-level): Increase.
1326 (feedmail-debug): New custom group.
1327 (feedmail-confirm-outgoing-timeout)
1328 (feedmail-sendmail-f-doesnt-sell-me-out)
1329 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1330 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1331 (feedmail-sender-line, feedmail-from-line)
1332 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1333 (feedmail-spray-this-address)
1334 (feedmail-spray-address-fiddle-plex-list)
1335 (feedmail-queue-use-send-time-for-date)
1336 (feedmail-queue-use-send-time-for-message-id)
1337 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1338 (feedmail-buffer-eating-function):
1340 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1341 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1342 (feedmail-message-action-scroll-down): New functions.
1343 (feedmail-queue-directory, feedmail-queue-draft-directory):
1344 Use expand-file-name.
1345 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1346 Remove C-v help entry.
1347 (feedmail-queue-buffer-file-name): New variable.
1348 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1349 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1350 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1351 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1352 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1353 (feedmail-message-action-toggle-spray)
1354 (feedmail-run-the-queue-no-prompts)
1355 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1356 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1357 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1358 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1359 (feedmail-envelope-deducer, feedmail-fiddle-from)
1360 (feedmail-fiddle-sender, feedmail-default-date-generator)
1361 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1362 (feedmail-fiddle-spray-address)
1363 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1364 (feedmail-fiddle-list-of-fiddle-plexes)
1365 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1366 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1367 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1368 Change default. Doc fix.
1369 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1370 (feedmail-binmail-linuxish-template): New constant.
1371 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1372 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1373 (feedmail-send-it): Add debug call.
1374 Use feedmail-queue-buffer-file-name, and
1375 feedmail-send-it-immediately-wrapper.
1376 (feedmail-message-action-send): Add debug call.
1377 Use feedmail-send-it-immediately-wrapper.
1378 (feedmail-queue-express-to-queue): Add debug call.
1379 Run feedmail-queue-express-hook.
1380 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1381 (feedmail-message-action-help-blat):
1382 Rename from feedmail-queue-send-edit-prompt-help-first.
1383 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1384 Check line-endings. Handle errors better.
1385 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1386 Doc fix. Add debug call.
1387 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1388 Use feedmail-queue-send-edit-prompt-inner.
1389 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1390 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1391 from feedmail-queue-send-edit-prompt.
1392 (feedmail-queue-send-edit-prompt-help)
1393 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1394 (feedmail-tidy-up-slug): Add debug call.
1395 Respect feedmail-queue-slug-suspect-regexp.
1396 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1397 (feedmail-dump-message-to-queue): Add debug call.
1398 Expand queue-directory.
1399 (feedmail-dump-message-to-queue): Change message slightly.
1400 Use feedmail-say-chatter.
1401 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1402 (feedmail-send-it-immediately-wrapper): New function.
1403 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1404 Insert empty string rather than newline. Handle full-frame case.
1405 Use catch/throw. Use feedmail-say-chatter.
1406 (feedmail-fiddle-from): Try mail-host-address.
1407 (feedmail-default-message-id-generator): Doc fix.
1408 Bind system-time-locale. Handle missing end.
1409 (feedmail-fiddle-x-mailer): Add debug call.
1410 Handle feedmail-x-mailer-line being nil.
1411 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1412 Add debug call. Use buffer-substring-no-properties.
1413 (feedmail-say-debug, feedmail-say-chatter): New functions.
1414 (feedmail-find-eoh): Give an explicit error.
1416 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
1418 * net/newst-treeview.el (newsticker-treeview-face): Change default
1419 family from helvetica to sans.
1420 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1421 etc/images/newsticker.
1423 * net/newst-reader.el (newsticker-feed-face): Change default
1424 family from helvetica to sans.
1426 * net/newst-plainview.el (newsticker-new-item-face)
1427 (newsticker-old-item-face, newsticker-immortal-item-face)
1428 (newsticker-obsolete-item-face, newsticker-date-face)
1429 (newsticker-statistics-face): Change default family from
1431 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1432 etc/images/newsticker.
1434 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1435 (newsticker--process-auto-mark-filter-match): : Tell user about
1438 2011-05-13 Didier Verna <didier@xemacs.org>
1440 Common Lisp indentation improvements on defmethod and lambda-lists.
1441 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1442 (lisp-lambda-list-keyword-parameter-indentation)
1443 (lisp-lambda-list-keyword-parameter-alignment)
1444 (lisp-lambda-list-keyword-alignment): New customizable user options.
1445 (lisp-indent-defun-method): Improve docstring.
1446 (extended-loop-p): Fix comment.
1447 (lisp-indent-lambda-list-keywords-regexp): New variable.
1448 (lisp-indent-lambda-list): New function.
1449 (lisp-indent-259): Use it.
1450 (lisp-indent-defmethod): Support for more than one
1451 method qualifier and properly indent methods lambda-lists.
1452 (defgeneric): Provide a missing common-lisp-indent-function property.
1454 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1457 bounds for the empty string (bug#8667).
1459 2011-05-13 Glenn Morris <rgm@gnu.org>
1461 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1463 * mail/sendmail.el (sendmail-program): Try executable-find first.
1464 (sendmail-send-it): `sendmail-program' cannot be unbound.
1466 * calendar/appt.el (appt-make-list): Simplify.
1467 (appt-time-msg-list): Doc fix.
1468 (appt-check): Change mode-line message at the time of the appointment.
1470 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1472 * progmodes/ld-script.el (ld-script-keywords)
1473 (ld-script-builtins): Update keywords list.
1475 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1479 * shell.el (shell-completion-vars): New function.
1481 * simple.el (read-shell-command): Use it.
1482 (blink-matching-open): No need for " [...]" in minibuffer-message.
1484 2011-05-12 Glenn Morris <rgm@gnu.org>
1486 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1487 (appt-check): Simplify.
1489 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1491 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1492 literal "/dev/null".
1494 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1496 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1499 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1501 * progmodes/which-func.el (which-function):
1502 Use add-log-current-defun instead of add-log-current-defun-function,
1503 which might not be defined (Bug#8260).
1505 2011-05-12 Glenn Morris <rgm@gnu.org>
1507 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1508 Let byte-compile-initial-macro-environment always take precedence.
1510 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * net/rcirc.el: Add support for SSL/TLS connections.
1513 (rcirc-server-alist): New field `encryption'.
1514 (rcirc): Check `encryption' settings.
1515 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1516 Merge make-local-variable into `set'.
1517 (rcirc--connection-open-p): New function.
1518 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1519 the process is not a network process (e.g. running gnutls-cli).
1520 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1521 Make rcirc-(en|de)code-coding-system local here.
1522 (rcirc-mode): Merge make-local-variable into `set'.
1523 (rcirc-parent-buffer): Make permanent buffer-local.
1524 (rcirc-multiline-minor-mode): Don't do it here.
1525 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1526 there's no server buffer.
1528 2011-05-11 Glenn Morris <rgm@gnu.org>
1530 * newcomment.el (comment-kill): Prefix "unused" local.
1532 * term/w32console.el (get-screen-color): Declare.
1534 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1535 Handle symbol elements of byte-compile-initial-macro-environment.
1537 2011-05-10 Leo Liu <sdl.web@gmail.com>
1539 * bookmark.el (bookmark-bmenu-mode-map):
1540 Bind bookmark-bmenu-search to `/'.
1542 * mail/footnote.el: Convert to utf-8 encoding.
1543 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1544 (Footnote-unicode): New function.
1545 (footnote-style-alist): Add unicode style to the list.
1546 (footnote-style): Doc fix.
1548 2011-05-10 Jim Meyering <meyering@redhat.com>
1550 Fix doubled-word typos.
1551 * international/quail.el (quail-insert-kbd-layout): and and -> and
1552 * kermit.el: and and -> and
1553 * net/ldap.el (ldap-search-internal): to to -> to
1554 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1555 * progmodes/js.el (js-mode): and and -> and
1556 * textmodes/artist.el (artist-move-to-xy): at at -> at
1557 (artist-draw-region-trim-line-endings): if if -> if
1558 And Safetyc -> Safety.
1559 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1561 2011-05-10 Glenn Morris <rgm@gnu.org>
1562 Stefan Monnier <monnier@iro.umontreal.ca>
1564 * files.el (hack-one-local-variable-eval-safep):
1565 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1567 2011-05-10 Glenn Morris <rgm@gnu.org>
1569 * calendar/diary-lib.el (diary-list-entries-hook)
1570 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1571 (diary-nongregorian-marking-hook, diary-list-entries)
1572 (diary-include-other-diary-files, diary-mark-entries)
1573 (diary-mark-included-diary-files): Doc fixes.
1575 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1577 * misc.el: Require tabulated-list.el during compilation.
1579 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1581 * progmodes/compile.el (compilation-start):
1582 Run compilation-filter-hook for the async case too.
1583 (compilation-filter-hook): Doc fix.
1585 2011-05-09 Deniz Dogan <deniz@dogan.se>
1587 * wdired.el: Remove outdated installation comment. Fix usage
1590 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1592 * misc.el: Implement new command `list-dynamic-libraries'.
1593 (list-dynamic-libraries--loaded-only-p): New variable.
1594 (list-dynamic-libraries--refresh): New function.
1595 (list-dynamic-libraries): New command.
1597 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1599 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1600 Fix the ant regexp to handle end-line and end-column info from jikes.
1601 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1602 higher priority to avoid clobbering by gnu.
1604 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1606 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1607 if the face has existing theme settings (Bug#8454).
1609 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1611 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1612 Only match variables declared via `my' or `our' (Bug#8261).
1614 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1615 special file names `.' and `..' (Bug#8259).
1617 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1619 * progmodes/grep.el (grep-mode-font-lock-keywords):
1620 Remove buffer-changing entries.
1621 (grep-filter): New function.
1622 (grep-mode): Add it to compilation-filter-hook.
1624 * progmodes/compile.el (compilation-filter-hook)
1625 (compilation-filter-start): New defvars.
1626 (compilation-filter): Call compilation-filter-hook prior to
1627 updating the process mark.
1629 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1631 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1633 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1635 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1636 mailclient-send-it even if window-system is nil. (Bug#8595)
1638 * term/w32console.el (terminal-init-w32console):
1639 Call get-screen-color and use its output to set the frame
1640 background-mode. (Bug#8597)
1642 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1644 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1645 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1647 (defgeneric, eieio--defmethod): Use them.
1648 (eieio-defgeneric): Remove.
1649 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1651 2011-05-07 Glenn Morris <rgm@gnu.org>
1653 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1654 Use let rather than let*.
1655 (timeclock-find-discrep): Remove unused local.
1657 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1659 * calendar/appt.el (appt-time-msg-list): Doc fix.
1661 2011-05-06 Noah Friedman <friedman@splode.com>
1663 * apropos.el (apropos-print-doc): Only use
1664 emacs-lisp-docstring-fill-column when it is bound to an integer,
1665 per that variable's documentation.
1667 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1670 and warnings are not silently discarded (e.g. use -d instead of -P).
1672 2011-05-06 Glenn Morris <rgm@gnu.org>
1674 * calendar/appt.el (appt-message-warning-time): Doc fix.
1675 (appt-warning-time-regexp): New option.
1676 (appt-make-list): Respect appt-message-warning-time.
1678 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1680 (diary-add-to-list): Strip comments from the displayed string.
1681 (diary-mode): Set comment-start and comment-end.
1683 * vc/diff-mode.el (smerge-refine-subst): Declare.
1684 (diff-refine-hunk): Don't require smerge-mode when compiling.
1686 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1688 * simple.el (list-processes): Return nil as the docstring says.
1690 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1692 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1694 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1695 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1696 determining of binary transfer. (Bug#7383)
1698 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1700 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1701 Fix port computation bug. (Bug#8618)
1703 2011-05-05 Glenn Morris <rgm@gnu.org>
1705 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1707 * simple.el (shell-dynamic-complete-functions)
1708 (comint-dynamic-complete-functions): Declare.
1710 * net/network-stream.el (gnutls-negotiate):
1711 * simple.el (tabulated-list-print): Fix declarations.
1713 * progmodes/gud.el (syntax-symbol, syntax-point):
1714 Remove unnecessary and incorrect declarations.
1716 * emacs-lisp/check-declare.el (check-declare-scan):
1717 Handle byte-compile-initial-macro-environment in bytecomp.el
1719 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1721 Fix earlier half-done eieio-defmethod change (bug#8338).
1722 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1723 Streamline and change calling convention.
1724 (defmethod): Adjust accordingly and simplify.
1725 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1726 new eieio--defmethod.
1727 (slot-boundp): Minor CSE simplification.
1729 2011-05-05 Milan Zamazal <pdm@zamazal.org>
1731 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1732 (glasses-make-readable): Use glasses-separate-capital-groups.
1734 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
1736 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1737 (warning-series): Doc fix.
1738 (display-warning): Don't try to create the buffer if we just found it.
1740 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
1742 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1743 (autoload-find-generated-file): New function.
1744 (generate-file-autoloads): Bind generated-autoload-file to
1746 (update-file-autoloads, update-directory-autoloads):
1747 Use autoload-find-generated-file. If called interactively, prompt for
1748 output file (Bug#7989).
1749 (batch-update-autoloads): Doc fix.
1751 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1753 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1755 2011-05-04 Glenn Morris <rgm@gnu.org>
1757 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1758 function, so it follows changes in calendar-date-style.
1759 (diary-fancy-date-matcher): New function.
1760 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1761 (diary-fancy-font-lock-fontify-region-function):
1762 Use diary-fancy-date-pattern as a function.
1764 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1765 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1767 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1769 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1770 instead of positional arguments. Allow :keylist and :crlfiles
1772 (open-gnutls-stream): Call it.
1774 * net/network-stream.el (network-stream-open-starttls): Adjust to
1775 call `gnutls-negotiate' with :process and :hostname arguments.
1777 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * minibuffer.el (completion--message): New function.
1780 (completion--do-completion, minibuffer-complete)
1781 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1782 (completion--do-completion): Don't ignore completion-auto-help when in
1785 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1786 internal encoding (e.g. tibetan zero is not whitespace).
1787 (global-whitespace-mode): Prefer save-current-buffer.
1788 (whitespace-trailing-regexp): Remove useless save-match-data.
1789 (whitespace-empty-at-bob-regexp): Minor simplification.
1791 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
1793 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1795 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1797 * textmodes/ispell.el (ispell-add-per-file-word-list):
1798 Use `concat' to create string for insertion.
1800 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1802 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1803 Avoid open-line which runs post-self-insert-hook.
1804 (bibtex-fill-entry): Remove unused `end' var.
1806 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1808 * textmodes/ispell.el (ispell-add-per-file-word-list):
1809 Protect against `nil' value of `comment-start' (Bug#8579).
1811 2011-05-03 Leo Liu <sdl.web@gmail.com>
1813 * isearch.el (isearch-yank-pop): New command.
1814 (isearch-mode-map): Bind it to `M-y'.
1815 (isearch-forward): Mention it.
1817 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * simple.el (minibuffer-complete-shell-command): Remove.
1820 (minibuffer-local-shell-command-map): Use completion-at-point.
1821 (read-shell-command): Setup completion vars here instead.
1822 (read-expression-map): Bind TAB to symbol completion.
1824 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1825 error directly rather via storing it into `results'.
1827 2011-05-02 Leo Liu <sdl.web@gmail.com>
1829 * vc/diff.el: Fix description.
1831 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1833 * server.el (server-eval-at): New function.
1835 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1837 * net/network-stream.el (open-network-stream): Take a :nowait
1838 parameter and pass it on to `make-network-process'.
1839 (network-stream-open-plain): Ditto.
1841 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1843 * faces.el (face-spec-set-match-display): Don't match toolkit
1844 options on terminal frames.
1846 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * progmodes/pascal.el: Use lexical binding.
1849 (pascal-mode-map): Remove author preferences.
1851 * pcomplete.el (pcomplete-std-complete): Don't abuse
1852 completion-at-point.
1854 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1856 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1857 removing code that has been dead since 1991 or so.
1859 * startup.el (command-line): When warning about "_emacs", use a
1860 delayed warning to allow the user to filter it out.
1862 2011-04-28 Deniz Dogan <deniz@dogan.se>
1864 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1865 user has not joined.
1867 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1870 aren't any completions at point.
1872 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1874 * subr.el (display-delayed-warnings): New function.
1875 (delayed-warnings-hook): New variable.
1877 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * minibuffer.el (completion-at-point, completion-help-at-point):
1880 Don't presume that a given completion-at-point-function will always
1881 use the same calling convention.
1883 * pcomplete.el (pcomplete-completions-at-point):
1884 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1885 pcomplete-seen is non-nil.
1886 (pcomplete-comint-setup): Also recognize the new comint/shell
1887 completion functions.
1888 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1889 pcomplete-seen is non-nil.
1891 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1893 * calendar/icalendar.el (diary-lib): Add require statement.
1894 (icalendar--create-uid): Read out a uid from a text-property on
1895 the first character in the entry. This allows for code to add its
1896 own uid to the entry.
1897 (icalendar--convert-float-to-ical): Add export of
1898 `diary-float'-entries save for those with the optional DAY
1901 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1903 * subr.el (shell-quote-argument): Use alternate escaping strategy
1904 when we spot a variable reference in a string.
1906 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1908 * cus-start.el (all): Define customization for debug-on-event.
1910 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1912 * subr.el (shell-quote-argument): Escape correctly under Windows.
1914 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1918 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1920 * net/tramp.el (tramp-process-actions): Add POS argument.
1921 Delete region between POS and (pos).
1923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1924 Use `nil' position in `tramp-process-actions' call.
1925 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1927 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1928 position in `tramp-process-actions' call.
1930 * net/trampver.el: Update release number.
1932 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * custom.el (defcustom): Obey lexical-binding.
1936 Fix octave-inf completion problems reported by Alexander Klimov.
1937 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1938 Inherit from octave-mode-syntax-table.
1939 (inferior-octave-mode): Set info-lookup-mode.
1940 (inferior-octave-completion-at-point): New function.
1941 (inferior-octave-complete): Use it and completion-in-region.
1942 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1943 comint-filename-completion.
1944 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1945 symbol elements which shouldn't be word elements.
1946 (octave-font-lock-keywords, octave-beginning-of-defun)
1947 (octave-function-header-regexp): Adjust regexps accordingly.
1948 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1950 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1952 * net/gnutls.el (gnutls-errorp): Declare before first use.
1954 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1956 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1957 verify-error, and verify-hostname-error parameters. Check whether
1958 default trustfile exists before going to use it. Add missing
1959 argument to gnutls-message-maybe call. Return return value.
1960 Reported by Claudio Bley <claudio.bley@gmail.com>.
1961 (open-gnutls-stream): Add usage example.
1963 * net/network-stream.el (network-stream-open-starttls): Give host
1964 parameter to `gnutls-negotiate'.
1965 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1966 * subr.el (shell-quote-argument): Escape correctly under Windows.
1968 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1970 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1971 Use correct match group (bug#8438).
1973 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1975 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1976 (package-menu--generate): New arg specifying packages to show.
1977 (package-menu-refresh, package-menu-execute, list-packages):
1979 (package-show-package-list): New function, replacing deleted
1980 package--list-packages (renamed because it is non-internal).
1982 * finder.el (finder-list-matches): Use package-show-package-list
1983 instead of deleted package--list-packages.
1985 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1986 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1987 (vc-annotate-mode-map): Bind it to RET.
1989 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1991 * progmodes/etags.el (next-file): Don't use set-buffer to change
1994 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1996 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1998 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1999 (apropos-accumulator): Doc fix.
2000 (apropos-function, apropos-macro, apropos-command)
2001 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2002 (apropos-plist): Add face property.
2003 (apropos-symbols-internal): Fix indentation.
2004 (apropos-print): Simplify help, and recognize apropos-multi-type.
2005 (apropos-print-doc): Use button-type-get to extract the button's
2006 face property. Fill docstring (Bug#8352).
2008 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
2010 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2012 * play/mpuz.el (mpuz-silent): Doc fix.
2013 (mpuz-mode-map): Use mapc.
2014 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2015 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2016 Fix typos in docstrings.
2018 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2019 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2021 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2023 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
2025 * minibuffer.el (completion--do-completion): Avoid the "Next char
2026 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2028 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2029 mouse-2 into unread-command-events, it is interpreted correctly.
2031 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2032 (image-toggle-display): Doc fix.
2034 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
2036 * textmodes/page.el (what-page): Use line-number-at-pos to
2037 calculate line number (Bug#6825).
2039 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2041 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2042 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2043 Pass argument NO-DEFAULT to `find-tag-interactive'.
2045 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2047 Lexical-binding cleanup.
2049 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2050 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2051 * progmodes/ada-prj.el (ada-prj-initialize-values)
2052 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2053 (ada-prj-show-value):
2054 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2055 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2056 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2057 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2058 * progmodes/bug-reference.el (bug-reference-push-button):
2059 * progmodes/fortran.el (fortran-line-length):
2060 * progmodes/glasses.el (glasses-change):
2061 * progmodes/octave-mod.el (octave-fill-paragraph):
2062 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2063 (python-pdbtrack-grub-for-buffer, python-sentinel):
2064 * progmodes/sql.el (sql-save-connection):
2065 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2066 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2067 Mark unused parameters.
2069 * progmodes/compile.el (compilation--flush-directory-cache)
2070 (compilation--flush-parse, compile-internal): Mark unused parameters.
2071 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2072 (compilation-next-error-function): Remove unused variable `timestamp'.
2074 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2075 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2077 * progmodes/dcl-mode.el (dcl-end-of-command):
2078 Remove unused variable `start'.
2079 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2080 (dcl-option-value-basic, dcl-option-value-offset)
2081 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2082 Mark unused parameters.
2083 (dcl-save-local-variable): Remove unused variable `val'.
2086 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2087 Mark unused parameters.
2088 (delphi-ignore-changes): Move before first use.
2089 (delphi-charset-token-at): Remove unused variable `start'.
2090 (delphi-else-start): Remove unused variable `if-count'.
2091 (delphi-comment-block-start, delphi-comment-block-end):
2092 Remove unused variable `kind'.
2093 (delphi-indent-line): Remove unused variable `new-point'.
2095 * progmodes/ebrowse.el (ebrowse-files-list)
2096 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2097 Mark unused parameters. Don't quote `lambda'.
2098 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2099 Don't quote `lambda'.
2100 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2101 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2102 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2103 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2104 Use `ignore-errors'.
2105 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2106 (ebrowse-view/find-file-and-search-pattern)
2107 (ebrowse-view/find-member-declaration/definition):
2108 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2109 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2110 Rename parameter PREFIX-ARG to PREFIX.
2111 (ebrowse-tags-read-name): Remove unused variables `start' and
2113 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2116 * progmodes/etags.el (local-find-tag-hook): Declare.
2117 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2118 Mark unused parameters.
2120 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2121 (executable-interpret): Mark unused parameter.
2123 * progmodes/flymake.el (flymake-process-sentinel)
2124 (flymake-after-change-function)
2125 (flymake-create-temp-with-folder-structure)
2126 (flymake-get-include-dirs-dot): Mark unused parameters.
2127 (flymake-safe-delete-directory): Remove unused variable `err'.
2129 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2130 (speedbar-timer-fn, speedbar-line-text)
2131 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2132 (speedbar-center-buffer-smartly): Declare functions.
2133 (gdb-find-watch-expression): Remove unused variable `array'.
2134 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2135 (gdb-starting): Mark unused parameters.
2136 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2137 (gdb-table-string): Remove unused variable `res'.
2138 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2139 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2140 (gdb-display-buffer): Remove unused variable `cur-size'.
2142 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2143 allow lexical-binding compilation.
2144 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2145 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2146 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2147 Mark unused parameters.
2148 (gud-gdb-marker-filter): Remove unused variable `match'.
2149 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2150 lambda expressions and funcall them, instead of using `fset'.
2152 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2153 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2155 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2156 variable `header-beg'; use `let'.
2158 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2159 `restart', `last-sexp' and `at-do'.
2161 * progmodes/js.el (js--debug): Mark unused parameter.
2162 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2163 (js--splice-into-items): Remove unused variable `item'.
2164 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2166 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2167 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2168 (makefile-complete): Remove unused variable `try'.
2169 (makefile-fill-paragraph, makefile-match-function-end):
2170 Mark unused parameters.
2172 * progmodes/octave-inf.el (inferior-octave-complete):
2173 Remove unused variable `proc'.
2174 (inferior-octave-output-digest): Mark unused parameter.
2176 * progmodes/perl-mode.el (perl-calculate-indent):
2177 Remove unused variable `err'.
2179 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2180 (prolog-indent-line): Mark unused parameters.
2181 (prolog-indent-line): Remove unused variable `beg'.
2183 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2184 (reporter-dont-compact-list): Declare.
2186 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2187 Remove unused variable `char'.
2188 (sh-debug): Mark unused parameter.
2189 (sh-get-indent-info): Remove unused variable `start'.
2190 (sh-calculate-indent): Remove unused variable `var'.
2192 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2193 (simula-electric-keyword): Remove unused variable `null'.
2194 (simula-search-backward, simula-search-forward): Remove unused
2195 variables `begin' and `end'.
2197 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2198 Remove unused variable `pos'.
2199 (vera-electric-tab, vera-comment-uncomment-region):
2200 Mark unused parameters.
2201 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2203 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
2205 * emacs-lisp/package.el (package--builtins, package-alist)
2206 (package-load-descriptor, package-built-in-p, package-activate)
2207 (define-package, package-installed-p)
2208 (package-compute-transaction, package-buffer-info)
2209 (package--push): Doc fix. Distinguish more clearly between
2210 version strings and version lists.
2212 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
2214 Lexical-binding cleanup.
2216 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2217 (5x5-make-mutate-best):
2218 * play/fortune.el (fortune-in-buffer):
2219 * play/gomoku.el (gomoku-init-display):
2220 * play/solitaire.el (solitaire, solitaire-do-check):
2221 * play/tetris.el (tetris-default-update-speed-function):
2222 Mark unused parameters.
2224 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2225 (bubbles--shift): Remove unused variable `char-org'.
2226 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2227 (bubbles--show-images): Remove unused variable `char'.
2229 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2230 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2231 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2232 (decipher-analyze-buffer): Use ?\s.
2233 (decipher-make-checkpoint): Remove unused variable `mapping'.
2235 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2237 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2238 Remove unused variable `result'; use `let'.
2240 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2241 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2242 (gametree-children-shown-p, gametree-compute-reduced-score):
2243 Use `ignore-errors'.
2245 * play/handwrite.el (ps-lpr-switches): Declare.
2246 (handwrite): Remove unused variables `pmin' and `lastp'.
2248 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2250 * play/landmark.el (landmark-init-display)
2251 (landmark-update-naught-weights): Mark unused parameters.
2252 (landmark-y): Remove unused variable `noise'. Simplify.
2253 (landmark-human-plays): Remove unused variable `score'.
2255 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2256 (mpuz-try-proposal): Remove unused variable `game'.
2258 * play/zone.el (life-patterns): Declare.
2260 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
2262 * vc/vc.el (ediff-vc-internal): Declare function.
2264 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * shell.el: Use lexical-binding and std completion UI.
2267 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2268 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2269 comint-preoutput-filter-functions rather than on
2270 comint-output-filter-functions.
2271 (shell-command-completion, shell--command-completion-data)
2272 (shell-filename-completion, shell-environment-variable-completion)
2273 (shell-c-a-p-replace-by-expanded-directory): New functions.
2274 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2275 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2276 (shell-dynamic-complete-environment-variable): Use them.
2277 (shell-dynamic-complete-as-environment-variable)
2278 (shell-dynamic-complete-as-command): Remove.
2279 (shell-match-partial-variable): Match past point.
2280 * comint.el: Clean up use of completion-at-point-functions.
2281 (comint-completion-at-point): New function.
2282 (comint-mode): Use it completion-at-point-functions.
2283 (comint-dynamic-complete): Make it obsolete.
2284 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2285 (comint-c-a-p-replace-by-expanded-history): New function.
2286 (comint-dynamic-complete-functions)
2287 (comint-replace-by-expanded-history): Use it.
2288 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2289 termination strings. Try harder to avoid second try-completion.
2290 (completion-in-region-mode-map): Disable bindings that don't work yet.
2292 * comint.el: Use lexical-binding. Require CL.
2293 (comint-dynamic-complete-functions): Use comint-filename-completion.
2294 (comint-completion-addsuffix): Tweak custom type.
2295 (comint-filename-completion, comint--common-suffix)
2296 (comint--common-quoted-suffix, comint--table-subvert)
2297 (comint--complete-file-name-data): New functions.
2298 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2299 (comint-dynamic-list-filename-completions): Use them.
2300 (comint-dynamic-simple-complete): Make obsolete.
2302 * minibuffer.el (completion-in-region-mode):
2303 Keep completion-in-region-mode--predicate global.
2304 (completion-in-region--postch):
2305 Assume completion-in-region-mode--predicate is not null.
2307 * progmodes/flymake.el (flymake-start-syntax-check-process):
2308 Obey `dir'. Simplify.
2310 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2311 we're in VC after all.
2313 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2315 * vc/vc.el (vc-diff-build-argument-list-internal)
2316 (vc-version-ediff, vc-ediff): New commands.
2317 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2319 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2324 * obsolete/erc-hecomplete.el: Make obsolete.
2325 * obsolete/: Standardize obsolescence info in the header.
2327 2011-04-20 Glenn Morris <rgm@gnu.org>
2329 * calendar/solar.el (solar-horizontal-coordinates):
2330 Use the longitude argument rather than `calendar-longitude'.
2331 (solar-date-next-longitude): Remove unused locals.
2333 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2335 * whitespace.el: New version 13.2.1.
2337 2011-04-20 felix <EmacsWiki> (tiny change)
2339 * whitespace.el (global-whitespace-mode): keep highlight when
2340 switching between major modes on a file.
2342 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2345 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2346 multi-line comments as well.
2348 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
2350 Lexical-binding cleanup.
2352 * arc-mode.el (archive-mode-revert):
2353 * cmuscheme.el (scheme-interactively-start-process):
2354 * custom.el (custom-initialize-delay):
2355 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2356 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2357 * emacs-lock.el (emacs-lock-clear-sentinel):
2358 * ezimage.el (defezimage):
2359 * follow.el (follow-avoid-tail-recenter):
2360 * fringe.el (set-fringe-mode-1):
2361 * generic-x.el (bat-generic-mode-compile):
2362 * help-mode.el (help-info-variable, help-do-xref)
2363 (help-mode-revert-buffer):
2364 * help.el (view-emacs-todo):
2365 * iswitchb.el (iswitchb-completion-help):
2366 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2367 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2368 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2369 * locate.el (locate-update):
2370 * longlines.el (longlines-encode-region)
2371 (longlines-after-change-function):
2372 * outline.el (outline-isearch-open-invisible):
2373 * ps-def.el (declare-function, charset-dimension, char-width)
2375 * ps-mule.el (ps-mule-plot-string):
2376 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2377 (recentf-edit-list-select, recentf-edit-list-validate)
2378 (recentf-open-files-action):
2379 * rect.el (delete-whitespace-rectangle-line)
2380 (rectangle-number-line-callback):
2381 * register.el (window-configuration-to-register)
2382 (frame-configuration-to-register):
2383 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2384 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2385 (xselect-convert-to-targets, xselect-convert-to-delete)
2386 (xselect-convert-to-filename, xselect-convert-to-charpos)
2387 (xselect-convert-to-lineno, xselect-convert-to-colno)
2388 (xselect-convert-to-os, xselect-convert-to-host)
2389 (xselect-convert-to-user, xselect-convert-to-class)
2390 (xselect-convert-to-name, xselect-convert-to-integer)
2391 (xselect-convert-to-atom, xselect-convert-to-identity):
2392 * subr.el (declare, ignore, process-kill-without-query)
2393 (text-clone-maintain):
2394 * terminal.el (te-get-char, te-tic-sentinel):
2395 * tool-bar.el (tool-bar-make-keymap):
2396 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2397 * type-break.el (type-break-mode, type-break-noninteractive-query):
2398 * view.el (View-back-to-mark):
2399 * wid-browse.el (widget-browse-action, widget-browse-widget)
2400 (widget-browse-widgets, widget-browse-sexp):
2401 * widget.el (define-widget-keywords):
2402 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2403 Mark unused parameters.
2405 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2406 (align-areas): Remove unused variable `look'.
2407 (align-region): Remove unused variables `real-end' and `pos-list'.
2409 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2411 * bindings.el (mode-line-modified, mode-line-remote):
2412 Mark unused parameters.
2413 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2415 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2416 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2418 * comint.el (comint-history-isearch-pop-state)
2419 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2420 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2421 (comint-substitute-in-file-name): Doc fix.
2423 * completion.el (cmpl-statistics-block): Mark unused parameter.
2424 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2425 (save-completions-to-file, load-completions-from-file):
2426 Remove unused local variable `e'.
2428 * composite.el (compose-chars): Remove unused variable `len'.
2429 (lgstring-insert-glyph): Remove unused variable `g'.
2430 (compose-glyph-string): Remove unused variables `ascent',
2431 `descent', `lbearing' and `rbearing'.
2432 (compose-glyph-string-relative): Remove unused variables
2433 `lbearing', `rbearing' and `wadjust'.
2434 (compose-gstring-for-graphic): Remove unused variables `header',
2435 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2436 (compose-gstring-for-terminal): Remove unused variables `header'
2437 and `nchars'. Use `let', not `let*'.
2439 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2440 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2441 (Custom-buffer-done, custom-buffer-create-internal)
2442 (custom-browse-visibility-action, custom-browse-group-tag-action)
2443 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2444 (widget-magic-mouse-down-action, custom-toggle-parent)
2445 (custom-add-parent-links, custom-toggle-hide-variable)
2446 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2447 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2448 (custom-face-menu-create, custom-variable-menu-create, get)
2449 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2450 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2451 (customize-apropos): Remove unused variable `tests'.
2452 (custom-group-value-create): Remove unused variable `hidden-p'.
2453 (sort-fold-case): Declare.
2455 * cus-theme.el (custom-reset-standard-faces-list)
2456 (custom-reset-standard-variables-list): Declare.
2457 (customize-create-theme, custom-theme-revert, custom-theme-write)
2458 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2459 Mark unused parameters.
2461 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2463 * delim-col.el (delimit-columns-max): Move defvar before first use.
2465 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2466 (describe-char): Don't quote `lambda'. Mark unused parameter.
2468 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2469 (auto-insert): Declare.
2470 (desktop-restore-file-buffer): Rename desktop-* parameters;
2472 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2473 (desktop-buffer): Rename desktop-* parameters.
2475 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2476 (dframe-reposition-frame-xemacs, dframe-help-echo)
2477 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2478 Mark unused parameters.
2480 * dired-aux.el (backup-extract-version-start, overwrite-query)
2481 (overwrite-backup-query, rename-regexp-query)
2482 (rename-non-directory-query): Declare.
2483 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2484 (dired-add-entry): Remove unused variable `orig-file-name'.
2485 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2486 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2487 `dired-copy-preserve-time' directly.
2488 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2489 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2491 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2492 (dired-virtual-revert, dired-make-relative-symlink):
2493 Mark unused parameters.
2494 (manual-program): Declare.
2495 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2496 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2497 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2499 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2501 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2503 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2506 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2508 * electric.el (Electric-command-loop): Rename parameter
2509 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2511 * expand.el (expand-in-literal): Remove unused variable `here'.
2513 * facemenu.el (facemenu-add-new-color):
2514 Remove unused variable `docstring'.
2516 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2517 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2518 (face-attr-construct): Mark unused parameter. Doc fix.
2519 (read-color): Remove unused variable `hex-string'.
2521 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2522 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2523 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2524 (display-buffer-other-frame): Remove unused variable `old-window'.
2525 (kill-buffer-hook): Declare.
2526 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2527 Mark unused parameters.
2528 (after-find-file): Pass 1 to `auto-save-mode', not t.
2530 * files-x.el (auto-insert): Declare.
2531 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2533 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2534 variable `buf'. Mark unused parameter.
2535 (find-lisp-insert-directory): Mark unused parameter.
2537 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2538 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2539 (format-common-tail): Remove, unused.
2540 (format-deannotate-region): Remove unused variable `loc'.
2541 (format-annotate-region): Remove unused variable `p'.
2542 (format-annotate-single-property-change): Remove unused variables
2543 `default' and `tail'.
2545 * forms.el (read-file-filter): Declare.
2546 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2548 * frame.el (frame-creation-function-alist): Mark unused parameter.
2549 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2551 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2552 Remove unused parameters.
2553 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2554 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2556 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2557 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2558 (hfy-prepare-tag-map): Mark unused parameters.
2559 (htmlfontify-buffer): Use `called-interactively-p'.
2561 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2562 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2563 (ibuffer-do-occur): Mark unused parameters.
2564 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2565 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2567 * ibuffer.el: Don't quote `lambda'.
2568 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2569 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2570 Mark unused parameters.
2572 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2573 (ido-completing-read): Mark unused parameters.
2574 (ido-copy-current-word): Mark unused parameters;
2575 remove unused variable `name'.
2576 (ido-sort-merged-list): Remove unused parameter `dirs'.
2578 * ielm.el (ielm-input-sender): Mark unused parameter.
2579 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2580 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2581 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2582 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2583 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2585 * image-dired.el (image-dired-display-thumbs): Remove unused
2586 variables `curr-file' and `count'.
2587 (image-dired-remove-tag): Remove unused variable `start'.
2588 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2589 variable `curr-file'
2590 (image-dired-rotate-original): Remove unused variable `temp-file'.
2591 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2592 Remove unused variable `file'.
2593 (image-dired-gallery-generate): Remove unused variable `curr'.
2594 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2596 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2598 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2600 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2602 * isearch.el (minibuffer-history-symbol): Declare.
2603 (isearch-edit-string): Remove unused variable `err'.
2604 (isearch-message-prefix, isearch-message-suffix):
2605 Mark unused parameters.
2607 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2609 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2611 * makesum.el (double-column): Remove unused variable `cnt'.
2613 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2614 (ido-ignore-item-temp-list): Declare.
2616 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2617 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2618 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2619 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2622 * mouse-sel.el (mouse-extend-internal):
2623 Remove unused variable `orig-window-frame'.
2625 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2626 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2627 Move declarations before first use.
2628 (pcomplete-opt): Mark unused parameters; doc fix.
2630 * proced.el (proced-revert): Mark unused parameter.
2631 (proced-send-signal): Remove unused variable `err'.
2633 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2634 Rename parameter PREFIX-ARG to ARG.
2635 (ps-basic-plot-string, ps-basic-plot-whitespace):
2636 Mark unused parameters.
2638 * replace.el (replace-count): Define.
2639 (occur-revert-function): Mark unused parameters.
2640 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2641 (isearch-case-fold-search, isearch-string): Declare.
2642 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2643 bind `case-fold-search'. Remove unused variables `beg' and `end',
2645 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2646 COUNT and bind `replace-count'.
2647 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2650 * savehist.el (print-readably, print-string-length): Declare.
2652 * shadowfile.el (shadow-expand-cluster-in-file-name):
2653 Remove unused variable `cluster'.
2654 (shadow-copy-file): Remove unused variable `i'.
2655 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2656 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2657 (shadow-define-literal-group, shadow-define-regexp-group)
2658 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2660 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2661 (shell): Use `called-interactively-p'.
2662 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2664 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2665 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2666 (delete-backward-char): Remove unused variable `ocol'.
2667 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2668 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2669 (event-apply-hyper-modifier, event-apply-shift-modifier)
2670 (event-apply-control-modifier, event-apply-meta-modifier):
2671 Mark unused parameters.
2672 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2673 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2675 * speedbar.el (speedbar-ignored-directory-expressions)
2676 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2677 (speedbar-find-file, speedbar-dir-follow)
2678 (speedbar-directory-buttons-follow, speedbar-tag-find)
2679 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2680 (speedbar-buffers-line-directory, speedbar-buffer-click):
2681 Mark unused parameters.
2682 (speedbar-tag-file): Remove unused variable `mode'.
2683 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2685 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2687 * talk.el (talk): Remove unused variable `display'.
2689 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2690 (tar-write-region-annotate): Mark unused parameter.
2692 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2693 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2694 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2697 * time-stamp.el (time-stamp-string-preprocess):
2698 Remove unused variable `require-padding'.
2700 * tree-widget.el (widget-glyph-enable): Declare.
2701 (tree-widget-action): Mark unused parameter.
2703 * w32-fns.el (x-get-selection): Mark unused parameter.
2704 (autoload-make-program, generated-autoload-file): Declare.
2706 * wdired.el (wdired-revert): Mark unused parameters.
2707 (wdired-xcase-word): Remove unused variable `err'.
2709 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2710 (whitespace-help-scroll): Remove unused variable `data-help'.
2712 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2713 (widget-image-insert, widget-after-change, default)
2714 (widget-default-format-handler, widget-default-notify)
2715 (widget-default-prompt-value, widget-info-link-action)
2716 (widget-url-link-action, widget-function-link-action)
2717 (widget-variable-link-action, widget-file-link-action)
2718 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2719 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2720 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2721 (widget-insert-button-action, widget-delete-button-action, visibility)
2722 (widget-documentation-link-action, widget-documentation-string-action)
2723 (widget-const-prompt-value, widget-regexp-match, symbol)
2724 (widget-coding-system-prompt-value)
2725 (widget-key-sequence-value-to-external, sexp)
2726 (widget-sexp-value-to-internal, character, vector, cons)
2727 (widget-choice-prompt-value, widget-boolean-prompt-value)
2728 (widget-color--choose-action): Mark unused parameters.
2729 (widget-item-match-inline, widget-choice-match-inline)
2730 (widget-checklist-match, widget-checklist-match-inline)
2731 (widget-group-match): Rename parameter VALUES to VALS.
2732 (widget-field-value-set): Remove unused variable `size'.
2733 (widget-color-action): Remove unused variables `value' and `start'.
2735 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2736 variable `dir'. Doc fix.
2737 (windmove-find-other-window): Don't pass it.
2739 * window.el (count-windows): Mark unused parameter.
2740 (bw-adjust-window): Remove unused variable `err'.
2742 * woman.el (woman-file-name): Remove unused variable `default'.
2743 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2744 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2745 (global-font-lock-mode): Declare.
2746 (woman-decode-region): Mark unused parameter.
2747 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2749 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2750 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2751 (x-dnd-handle-moz-url): Remove unused variable `title'.
2752 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2754 * xml.el (xml-parse-tag, xml-parse-attlist):
2755 Remove unused variable `pos'.
2757 2011-04-19 Glenn Morris <rgm@gnu.org>
2759 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2760 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2761 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2762 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2763 * calendar/cal-html.el (cal-html-insert-minical):
2764 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2765 (calendar-mark-date-pattern):
2766 Prefix "unused" locals.
2768 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2769 optional argument `style'.
2771 * calendar/appt.el (appt-make-list):
2772 * calendar/cal-china.el (calendar-chinese-date-string):
2773 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2774 (diary-hebrew-yahrzeit):
2775 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2776 * calendar/calendar.el (calendar-generate-window):
2777 * calendar/time-date.el (time-to-days):
2778 Remove unused local variables.
2780 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
2782 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2783 glyphless-char-display table.
2784 (tabulated-list-glyphless-char-display): New var.
2786 2011-04-18 Sam Steingold <sds@gnu.org>
2788 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2791 2011-04-17 Glenn Morris <rgm@gnu.org>
2793 * calendar/diary-lib.el (diary-sexp-entry):
2794 * calendar/holidays.el (holiday-sexp):
2795 Set debug-on-error rather than the removed stack-trace-on-error.
2797 2011-04-16 Glenn Morris <rgm@gnu.org>
2799 * progmodes/f90.el: Use lexical-binding.
2800 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2802 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2804 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2805 (mail-mode): Setup mailalias completion here instead.
2806 * mail/mailalias.el: Use lexical-binding.
2807 (pattern, mailalias-done): Declare dynamic.
2808 (mail-completion-at-point-function): New function, from mail-complete.
2809 (mail-complete): Use it.
2810 (mail-completion-expand): New function.
2811 (mail-get-names): Use it.
2812 (mail-directory, mail-directory-process, mail-directory-stream):
2813 Don't use `pattern' for lexically bound arg.
2815 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2817 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2818 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2819 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2821 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2822 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2823 (byte-interactive-p): Define them again, for use when inlining
2826 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2828 * loadup.el: Use `string-to-number', not `string-to-int'.
2830 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2833 gud-gdb-complete-command.
2834 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2835 (gud-gdb-completion-at-point): New function.
2836 (gud-gdb-completions): Remove.
2838 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2840 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2841 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2842 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2843 whether `executable-find' is bound.
2845 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2847 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * minibuffer.el (completion-in-region-mode-predicate)
2850 (completion-in-region-mode--predicate): New vars.
2851 (completion-in-region, completion-in-region--postch)
2852 (completion-in-region-mode): Use them.
2853 (completion--capf-wrapper): Also return the hook function.
2854 (completion-at-point, completion-help-at-point):
2855 Adjust and provide a predicate.
2857 Preserve arg names for advice of subr and lexical functions (bug#8457).
2858 * help-fns.el (help-function-arglist): Consolidate the subr and
2859 new-byte-code cases. Add argument `preserve-names' to extract names
2860 from the docstring when needed.
2861 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2862 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2863 (ad-arglist): Use help-function-arglist's new arg.
2864 (ad-definition-type): Use cond.
2866 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2868 * autorevert.el (auto-revert-handler):
2869 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2870 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2873 * image-mode.el (image-transform-set-scale):
2874 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2876 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878 * net/network-stream.el (network-stream-open-starttls): Only do
2879 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2880 Upgrades via gnutls-cli are too slow to be done opportunistically.
2882 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2884 * dframe.el (dframe-current-frame): Remove spurious quote.
2886 2011-04-12 Glenn Morris <rgm@gnu.org>
2888 * calendar/cal-tex.el (cal-tex-end-document):
2889 Try to automatically use latin1 input if needed.
2891 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2892 Don't try to cons a mark onto an empty element.
2894 2011-04-11 Leo Liu <sdl.web@gmail.com>
2896 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2898 (ido-kill-buffer-at-head): Support killing virtual buffers.
2900 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2902 * minibuffer.el (completion-show-inline-help): New var.
2903 (completion--do-completion, minibuffer-complete)
2904 (minibuffer-force-complete, minibuffer-complete-word):
2905 Inhibit minibuffer messages if completion-show-inline-help is nil.
2907 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2908 to avoid interference from inline help (Bug#5849).
2910 2011-04-10 Leo Liu <sdl.web@gmail.com>
2912 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2915 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2917 * image-mode.el (image-toggle-display-image): Signal an error if
2919 (image-transform-mode, image-transform-resize)
2920 (image-transform-set-rotation): Doc fix.
2921 (image-transform-set-resize): Delete.
2922 (image-transform-set-scale, image-transform-fit-to-height)
2923 (image-transform-fit-to-width): Handle image-toggle-display-image
2924 and image-transform-resize directly.
2926 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2928 * doc-view.el (doc-view-fit-width-to-window)
2929 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2930 New functions for fitting the shown image to the Emacs window size.
2931 (doc-view-mode-map): Add bindings for the new functions.
2933 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2935 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2936 Fix typo in docstring.
2938 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2940 * files.el (file-size-human-readable): Produce one digit after
2941 decimal, like "ls -lh" does.
2943 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2944 the file size representation.
2946 * simple.el (list-processes): If async subprocesses are not
2947 available, error out with a clear error message.
2949 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2951 * help.el (help-form-show): New function, to be called from C.
2952 Put help-form output in a buffer named differently than *Help*.
2954 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2956 * files.el (file-size-human-readable): New function.
2958 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2959 computing the representation inline. Don't require `cl'.
2961 2011-04-08 Glenn Morris <rgm@gnu.org>
2963 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2965 * net/browse-url.el (browse-url-firefox):
2966 Test system-type, not system-configuration.
2968 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2969 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2970 Use log-edit-empty-buffer-p. (Bug#7598)
2972 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2973 (rlogin-mode-map): Initialize in the defvar.
2974 (rlogin): Use ignore-errors.
2976 * replace.el (occur-mode-map): Some fixes for menu items.
2978 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2980 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2982 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2984 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2985 issuing unused warnings.
2987 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2990 * simple.el: Lisp reimplement of list-processes. Based on an
2991 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2992 (process-menu-mode): New major mode.
2993 (list-processes--refresh, list-processes):
2994 (process-menu-visit-buffer): New functions.
2996 * files.el (save-buffers-kill-emacs): Don't assume any return
2997 value of list-processes, which is undocumented anyway.
2999 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3001 * emacs-lisp/tabulated-list.el: New file.
3003 * emacs-lisp/package.el: Use Tabulated List mode.
3004 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3005 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3006 table format using Tabulated List mode variables.
3007 (package--push): New macro, replacing package-list-maybe-add.
3008 (package-menu--generate): Use package--push. Renamed from
3009 package--generate-package-list.
3010 (package-menu-refresh, list-packages): Use it.
3011 (package-menu--print-info): Rename from package-print-package.
3012 Return insertion data instead of inserting it directly.
3013 (package-menu-describe-package, package-menu-execute):
3014 Use tabulated-list-get-id.
3015 (package-menu-mark-delete, package-menu-mark-install)
3016 (package-menu-mark-unmark, package-menu-backup-unmark)
3017 (package-menu-mark-obsolete-for-deletion):
3018 Use tabulated-list-put-tag.
3019 (package--list-packages, package-menu-revert)
3020 (package-menu-get-package, package-menu-get-version)
3021 (package-menu-sort-by-column): Functions deleted.
3022 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3023 (package-menu--status-predicate, package-menu--version-predicate)
3024 (package-menu--name-predicate)
3025 (package-menu--description-predicate): Handle arguments in the
3026 Tabulated List format.
3027 (package-list-packages-no-fetch): Call list-packages.
3029 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
3031 * files.el (after-find-file-from-revert-buffer): Remove variable.
3032 (after-find-file): Don't bind it.
3033 (revert-buffer-in-progress-p): New variable.
3034 (revert-buffer): Bind it.
3035 Pass nil for `after-find-file-from-revert-buffer'.
3037 * saveplace.el (save-place-find-file-hook): Use new variable
3038 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3040 2011-04-06 Glenn Morris <rgm@gnu.org>
3042 * Makefile.in (AUTOGEN_VCS): New variable.
3043 (autoloads): Use $AUTOGEN_VCS.
3045 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3046 * calendar/calendar.el (calendar-mode-map):
3047 Check for toolkit scroll bars. (Bug#8305)
3049 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3051 * minibuffer.el (completion-in-region--postch)
3052 (completion-in-region-mode): Remove unnecessary messages.
3054 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3056 * font-lock.el (font-lock-refresh-defaults):
3057 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3058 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3060 * info.el (Info-directory-list, Info-read-node-name-2)
3061 (Info-split-parameter-string): Doc fixes.
3062 (Info-virtual-nodes): Reflow docstring.
3063 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3064 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3065 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3066 Fix typos in docstrings.
3067 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3068 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3069 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3070 (Info-restore-desktop-buffer): Mark unused parameters.
3071 (Info-directory-find-file, Info-directory-find-node)
3072 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3073 (Info-virtual-index-find-node, Info-apropos-find-file)
3074 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3075 Mark unused parameters; fix typos in docstrings.
3076 (Info-virtual-index): Remove unused local variable `nodename'.
3078 2011-04-05 Deniz Dogan <deniz@dogan.se>
3080 * net/rcirc.el: Update my e-mail address.
3081 (rcirc-mode-map): Remove M-o binding.
3083 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3085 * startup.el (command-line): Save the cursor's theme-face
3086 directly, instead of using face-override-spec.
3088 * custom.el (load-theme): Minor optimization in assigning faces.
3090 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3092 * help-fns.el (describe-variable): Complete all variables having
3093 documentation, including keywords.
3094 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3096 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3098 Convert to lexical-binding.
3100 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3101 (bs--get-marked-string, bs--get-modified-string)
3102 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3103 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3104 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3106 * ehelp.el (electric-help-execute-extended)
3107 (electric-help-ctrl-x-prefix):
3108 * hexl.el (hexl-revert-buffer-function):
3109 * linum.el (linum-after-change, linum-after-scroll):
3110 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3112 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3114 2011-04-04 Daiki Ueno <ueno@unixuser.org>
3121 * epg.el: Use lexical binding.
3123 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
3125 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3127 * textmodes/flyspell.el (flyspell-word): Recognize default
3128 dictionary case for flyspell-mark-duplications-exceptions.
3129 Use regexp matching for languages.
3130 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3131 default dictionary (Bug#7926).
3133 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
3135 * emacs-lisp/package.el (package--with-work-buffer):
3136 Recognize https URLs.
3138 * net/network-stream.el: Move from gnus/proto-stream.el.
3139 Change prefix to network-stream throughout.
3140 (open-protocol-stream): Merge into open-network-stream, leaving
3141 open-protocol-stream as an alias. Handle nil BUFFER args.
3143 * subr.el (open-network-stream): Move to net/network-stream.el.
3145 2011-04-02 Glenn Morris <rgm@gnu.org>
3147 * find-dired.el (find-exec-terminator): New option.
3148 (find-ls-option): Test for -ls support.
3149 (find-ls-subdir-switches): Test for -b in find-ls-option.
3150 (find-dired, find-grep-dired): Doc fixes.
3151 (find-dired): Use find-exec-terminator.
3153 * find-dired.el (find-ls-option, find-ls-subdir-switches)
3154 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3155 (find-name-arg): Remove purecopy.
3157 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3158 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3159 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3160 accordingly. Don't add the null-device if not needed.
3162 * files.el (save-some-buffers): Doc fix.
3164 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3166 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3168 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
3170 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3171 Use `dolist' rather than `mapcar'.
3173 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3175 Add lexical binding.
3177 * subr.el (apply-partially): Use new closures rather than CL.
3178 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3179 (dolist, dotimes): Use slightly different expansion for lexical code.
3180 (functionp): Move to C.
3181 (letrec): New macro.
3182 (with-wrapper-hook): Use it and apply-partially instead of CL.
3183 (eval-after-load): Preserve lexical-binding.
3184 (save-window-excursion, with-output-to-temp-buffer): Turn them
3187 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3189 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3191 (help-add-fundoc-usage): Don't add `Not documented'.
3192 (help-function-arglist): Handle closures, subroutines, and new
3193 byte-code-functions.
3194 (help-make-usage): Remove leading underscores.
3195 (describe-function-1): Handle closures.
3196 (describe-variable): Use special-variable-p for completion.
3198 * files.el (lexical-binding): Declare safe.
3200 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3201 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3202 (pcase): Add `let' pattern.
3203 Change memoization so it actually works.
3204 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3205 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3208 * emacs-lisp/macroexp.el: Use lexical binding.
3209 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3210 Don't convert ' to #' without checking that it's indeed quoting
3213 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3214 Use eval-sexp-add-defvars.
3215 (eval-sexp-add-defvars): New fun.
3217 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3219 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3221 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3222 than the internal `byte-compile-lambda'.
3223 (defmethod): Don't hide code under quotes.
3224 (eieio-defmethod): New `code' argument.
3226 * emacs-lisp/eieio-comp.el: Remove.
3228 * emacs-lisp/edebug.el (edebug-eval-defun)
3229 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3230 (edebug-toggle): Avoid `eval'.
3232 * emacs-lisp/disass.el (disassemble-internal): Handle new
3234 (disassemble-1): Handle new byte codes.
3236 * emacs-lisp/cl.el (pushnew): Silence warning.
3238 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3239 (cl-byte-compile-throw): Remove.
3240 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3242 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3245 * emacs-lisp/cconv.el: New file.
3247 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3248 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3249 (byte-compile-initial-macro-environment):
3250 Handle declare-function here.
3251 (byte-compile--lexical-environment): New var.
3252 (byte-stack-ref, byte-stack-set, byte-discardN)
3253 (byte-discardN-preserve-tos): New lap codes.
3254 (byte-interactive-p): Don't use any more.
3255 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3257 (byte-compile-lapcode): Use them and handle new lap codes.
3258 (byte-compile-obsolete): Remove.
3259 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3260 (byte-compile-arglist-warn): Check late def of inlinable funs.
3261 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3262 since they should have been expanded by now.
3263 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3264 (byte-compile-from-buffer): Remove unused second arg.
3265 (byte-compile-preprocess): New function.
3266 (byte-compile-toplevel-file-form): New function to distinguish
3267 file-form calls from outside from file-form calls from hunk-handlers.
3268 (byte-compile-file-form): Simplify.
3269 (byte-compile-file-form-defsubst): Remove.
3270 (byte-compile-file-form-defmumble): Simplify now that
3271 byte-compile-lambda always returns a byte-code-function.
3272 (byte-compile): Preprocess.
3273 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3274 Remove, not used any more.
3275 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3276 (byte-compile-make-args-desc): New funs.
3277 (byte-compile-lambda): Handle lexical functions. Always return
3278 a byte-code-function.
3279 (byte-compile-reserved-constants): New var, to make up room for
3280 closed-over variables.
3281 (byte-compile-constants-vector): Obey it.
3282 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3283 (byte-compile-macroexpand-declare-function): New function.
3284 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3285 byte-code-functions.
3286 (byte-compile-form): Check obsolescence here.
3287 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3288 (byte-compile-variable-ref): Remove.
3289 (byte-compile-dynamic-variable-op): New fun.
3290 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3291 (byte-compile-variable-set): New funs.
3292 (byte-compile-discard): Add 2 args.
3293 (byte-compile-stack-ref, byte-compile-stack-set)
3294 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3295 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3296 macroexpand-all instead.
3297 (byte-compile-quote-form): Remove.
3298 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3299 (byte-compile-bind, byte-compile-unbind): New funs.
3300 (byte-compile-let): Handle let* and lexical binding.
3301 (byte-compile-let*): Remove.
3302 (byte-compile-catch, byte-compile-unwind-protect)
3303 (byte-compile-track-mouse, byte-compile-condition-case):
3304 Handle a new :fun-body form, used for lexical scoping.
3305 (byte-compile-save-window-excursion)
3306 (byte-compile-with-output-to-temp-buffer): Remove.
3307 (byte-compile-defun): Simplify.
3308 (byte-compile-stack-adjustment): New fun.
3309 (byte-compile-out): Use it.
3310 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3312 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3315 * emacs-lisp/byte-opt.el: Use lexical binding.
3316 (byte-inline-lapcode): Remove (to bytecomp).
3317 (byte-compile-inline-expand): Pay attention to inlining to/from
3318 lexically bound code.
3319 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3321 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3322 any more and don't call compiler-macros.
3323 (byte-compile-splice-in-already-compiled-code): Remove.
3324 (byte-code): Don't inline any more.
3325 (disassemble-offset): Receive `bytes' as argument rather than via
3327 (byte-compile-tag-number): Declare before first use.
3328 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3329 `return' even if make-spliceable.
3330 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3331 obsolete interactive-p.
3332 (byte-optimize-lapcode): Optimize new lap-codes.
3333 Don't trip up on new form of `byte-constant' lap code.
3335 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3337 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3339 * custom.el (custom-initialize-default, custom-declare-variable):
3342 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3344 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3345 (COMPILE_FIRST): Add macroexp and cconv.
3346 * makefile.w32-in: Mirror changes in Makefile.in.
3352 * vc/smerge-mode.el:
3353 * textmodes/bibtex-style.el:
3362 * emacs-lisp/smie.el:
3365 * abbrev.el: Use lexical binding.
3367 2011-04-01 Eli Zaretskii <eliz@gnu.org>
3369 * info.el (info-display-manual): New function.
3371 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3375 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3377 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3378 an entry for that server in rcirc-authinfo. (Bug#8385)
3380 2011-03-31 Glenn Morris <rgm@gnu.org>
3382 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3384 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3386 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3388 * progmodes/python.el (python-default-interpreter)
3389 (python-python-command-args, python-jython-command-args)
3390 (python-which-shell, python-which-args, python-which-bufname)
3391 (python-file-queue, python-comint-output-filter-function)
3392 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3393 variables and functions.
3395 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3397 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3398 (completion-in-region-mode): New minor mode.
3399 (completion-in-region): Use it.
3400 (completion-in-region--data, completion-in-region-mode-map): New vars.
3401 (completion-in-region--postch): New function.
3402 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3404 (completion--capf-wrapper): New function.
3405 (completion-at-point): Use it to track well-behavedness of
3407 (completion-help-at-point): New command.
3409 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3411 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3412 syntax class to search for whitespace on a single line
3413 (Message-ID: <4D938140.4030905@redhat.com>).
3415 2011-03-30 Leo Liu <sdl.web@gmail.com>
3417 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3419 (edit-abbrevs-map): Bind them here.
3420 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3422 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3424 * allout.el (allout-hide-by-annotation, allout-flag-region):
3425 Reduce possibility of overlay leakage by making them volatile.
3427 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3428 hash is not shared between buffers. Mode initialization is
3429 responsible for giving it a useful starting value.
3430 (allout-item-span): Reduce possibility of overlay leakage by
3431 making them volatile.
3432 (allout-widgets-count-buttons-in-region): Add diagnostic function
3433 for tracking down button overlay leaks.
3435 2011-03-29 Leo Liu <sdl.web@gmail.com>
3437 * ido.el (ido-read-internal): Use the default history var
3438 minibuffer-history if no HISTORY is specified.
3440 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3442 * net/imap.el (imap-shell-open, imap-process-connection-type):
3443 Use imap-process-connection-type for 'shell' streams as well as
3444 Kerberos, SSL, other subprocesses.
3446 2011-03-28 Leo Liu <sdl.web@gmail.com>
3448 * abbrev.el (abbrev-table-empty-p): New function.
3449 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3450 nonempty ones. (Bug#5937)
3452 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3454 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3456 2011-03-27 Leo Liu <sdl.web@gmail.com>
3458 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3459 for foreground and background colors.
3460 (ansi-color-make-color-map): Adapt.
3462 2011-03-25 Leo Liu <sdl.web@gmail.com>
3464 * midnight.el (midnight-time-float): Remove. Note it calculates
3465 the microsecond component incorrectly and seconds-to-time does the
3467 Remove redundant (require 'timer).
3469 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3470 (ido-completions): Remove unused arguments. (Bug#8329)
3472 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3474 * minibuffer.el (completion--flush-all-sorted-completions):
3475 Remove itself from hook.
3476 (completion-at-point): Let the functions perform the completion
3477 immediately and return nil or t.
3478 * comint.el (comint-dynamic-complete-functions): Now identical to
3479 completion-at-point-functions.
3480 (comint-dynamic-list-input-ring): Remove unused var `index'.
3481 (comint--match-partial-filename, comint--unquote&expand-filename):
3482 New funs, split from comint-match-partial-filename.
3483 (comint-dynamic-complete): Use completion-at-point.
3484 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3486 2011-03-24 Drew Adams <drew.adams@oracle.com>
3488 * thingatpt.el: Support `defun'.
3490 2011-03-23 Leo Liu <sdl.web@gmail.com>
3492 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3494 * help-mode.el (help-mode-finish): Tweak regexp.
3496 2011-03-23 Glenn Morris <rgm@gnu.org>
3498 * eshell/esh-opt.el (eshell-eval-using-options):
3499 Do not bind unused local variable `eshell-option-stub'.
3501 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3503 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3505 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3506 keymap variable in `with-no-warnings' to avoid a warning when the
3507 keymap has been already `defconst'ed.
3509 2011-03-22 Leo Liu <sdl.web@gmail.com>
3511 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3512 encode all chars in abbrevs; otherwise use emacs-mule or
3513 utf-8-emacs. (Bug#8308)
3515 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3517 * simple.el (backward-delete-char-untabify):
3518 Avoid warning about using `delete-backward-char'.
3520 * image.el (image-type-file-name-regexps): Make it variable.
3521 `imagemagick-register-types' modifies it, and the user may want
3522 to add new extensions for known image types.
3523 (imagemagick-register-types): Throw error if not using ImageMagick.
3525 2011-03-22 Leo Liu <sdl.web@gmail.com>
3527 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3528 located before rcirc-prompt-end-marker.
3529 (rcirc-complete): Error if point is not after rcirc prompt.
3530 Handle the case when table is nil.
3531 (rcirc-user-authenticated): Define to fix compiler warning.
3533 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3535 * custom.el (custom--inhibit-theme-enable): Make it affect only
3536 custom-theme-set-variables and custom-theme-set-faces.
3537 (provide-theme): Ignore custom--inhibit-theme-enable.
3538 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3539 (custom-enabling-themes): Delete variable.
3540 (enable-theme): Accept only loaded themes as arguments.
3541 Ignore the special custom-enabled-themes variable.
3542 (custom-enabled-themes): Forbid themes from setting this.
3543 Eliminate use of custom-enabling-themes.
3544 (custom-push-theme): Quote "changed" custom var entry.
3546 2011-03-21 Leo Liu <sdl.web@gmail.com>
3548 * ido.el (ido-read-internal): Add ido-selected to history instead
3551 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * subr.el (deferred-action-list, deferred-action-function):
3556 2011-03-21 Leo Liu <sdl.web@gmail.com>
3558 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3559 change on 2011-02-13 (bug#8309).
3561 * minibuffer.el (read-file-name-function): Change default value.
3562 (read-file-name--defaults): Rename from read-file-name-defaults.
3563 (read-file-name-default): Rename from read-file-name.
3564 (read-file-name): Call read-file-name-function.
3566 2011-03-21 Glenn Morris <rgm@gnu.org>
3568 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3571 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3573 * cus-theme.el: Add missing provide statement.
3574 (customize-create-theme): Extract theme value correctly.
3575 (custom-theme-visit-theme): Autoload.
3576 (customize-create-theme): Prompt before inserting default faces.
3578 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3580 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3581 units and musical notes.
3583 2011-03-20 Leo <sdl.web@gmail.com>
3585 * ido.el (ido-read-internal): Use completing-read-default.
3586 (ido-completing-read): Fix compatibility with completing-read.
3588 2011-03-20 Christian Ohler <ohler@gnu.org>
3590 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3591 (ert-delete-all-tests): Use `called-interactively-p' rather than
3593 (ert--make-xrefs-region): Respect END.
3595 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3597 * dired-aux.el (dired-create-directory): Signal an error if the
3598 directory already exists (Bug#8246).
3600 * facemenu.el (list-colors-display): Call list-faces-display
3601 inside with-help-window.
3602 (list-colors-print): Use display property to align the final
3603 column, instead of checking window-width.
3605 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3607 * emerge.el (emerge-metachars): Separate value for ms-dos and
3609 (emerge-protect-metachars): Quote correctly for ms-dos and
3612 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3614 * info.el (info-initialize): Replace all uses of `:' with
3615 path-separator for compatibility with non-Unix systems.
3616 Cache quoting of path-separator. (Bug#8258)
3618 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3620 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3621 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3622 (mouse-avoidance-mode): Fix typos in docstrings.
3624 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3626 * startup.el (package-subdirectory-regexp): Move from package.el.
3627 Omit \\` and \\', and let callers add them.
3629 * emacs-lisp/package.el (package-strip-version)
3630 (package-load-all-descriptors): Add \\` and \\' to
3631 package-subdirectory-regexp before using it.
3632 (package-untar-buffer): New arg DIR; ensure that file untars only
3633 into this expected directory. Remove superfluous delete-region.
3634 (package-unpack): Caller changed.
3635 (package-tar-file-info): Use package-subdirectory-regexp.
3637 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3640 diff-mode-shared-map (bug#8284).
3641 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3643 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3645 * calendar/time-date.el (format-seconds): Use assoc instead of
3646 assoc-string, since assoc-string doesn't exist in XEmacs.
3648 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3650 * custom.el (custom-known-themes): Reflow docstring.
3651 (custom-theme-load-path): Fix typo in docstring.
3652 (load-theme): Fix typo in error message.
3653 (custom-available-themes, custom-variable-theme-value):
3654 Use `let', not `let*'.
3656 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3658 * calc/README: Mention inclusion of musical notes.
3660 * calc/calc-units.el (calc-lu-quant): Rename from
3661 `calc-logunits-quantity'.
3662 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3663 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3664 (calc-db): Rename from `calc-dblevel'.
3665 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3666 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3667 (calc-np): Rename from `calc-nplevel'.
3668 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3669 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3670 (calc-lu-plus): Rename from `calc-logunits-add'.
3671 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3672 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3673 (calc-lu-minus): Rename from `calc-logunits-sub'.
3674 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3675 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3676 (calc-lu-times): Rename from `calc-logunits-mul'.
3677 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3678 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3679 (calc-lu-divide): Rename from `calc-logunits-div'.
3680 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3681 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3683 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3684 functions being autoloaded.
3686 * calc/calc.el (calc-lu-power-reference): Rename from
3687 `calc-logunits-power-reference'.
3688 (calc-lu-field-reference): Rename from
3689 `calc-logunits-field-reference'.
3691 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3693 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * minibuffer.el (completion-all-sorted-completions):
3696 Use :completion-cycle-penalty text property if present.
3698 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3700 * allout.el (allout-yank-processing): Adjust for new rebulleting
3701 regime so bullet being yanked is used without prompting the user
3704 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3706 * startup.el (command-line): Warn the user that _emacs is deprecated.
3708 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3710 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3711 (delphi-verbose, delphi-comment-face, delphi-string-face)
3712 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3713 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3714 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3715 (delphi-new-comment-line, delphi-font-lock-defaults)
3716 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3717 Fix typos in docstrings.
3719 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3721 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3722 Invert the roles of character and string values for INSTEAD, so a
3723 string is used for the more common case of a defaulting prompt.
3725 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * progmodes/ruby-mode.el (ruby-backward-sexp):
3728 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3729 * play/gamegrid.el (gamegrid-make-face):
3730 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3731 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3732 * notifications.el (notifications-notify):
3733 * net/xesam.el (xesam-search-engines):
3734 * net/quickurl.el (quickurl-list-insert):
3735 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3737 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
3739 * startup.el (command-line): Update package subdirectory regexp.
3741 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * allout.el (allout-abbreviate-flattened-numbering)
3744 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3746 * subr.el (read-char-choice): Only show the cursor after the prompt,
3747 not after the answer.
3749 2011-03-15 Kevin Ryde <user42@zip.com.au>
3751 * help-fns.el (variable-at-point): Skip leading quotes, if any
3754 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3759 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
3761 * shell.el (shell): When called interactively, offer to change the
3762 shell file name on remote hosts.
3764 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3766 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3767 integration for LDAP parameters. The host, base, user or binddn,
3768 and secret tokens can be specified in a netrc file, for instance.
3769 This is optional because an `auth-source' parameter must be
3770 specified in the search attributes.
3772 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
3774 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3776 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3779 into declaration. Remove redundant and harmful binding.
3781 2011-03-12 Eli Zaretskii <eliz@gnu.org>
3783 * files.el (file-ownership-preserved-p): Pass `integer' as an
3784 explicit 2nd argument to `file-attributes'. If the file's owner
3785 is the Administrators group on Windows, and the current user is
3786 Administrator, consider that a match.
3788 * server.el (server-ensure-safe-dir): Consider server directory
3789 safe on MS-Windows if its owner is the Administrators group while
3790 the current Emacs user is Administrator. Use `=' to compare
3791 numerical UIDs, since they could be integers or floats.
3793 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3795 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3797 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
3799 Sync with Tramp 2.2.1.
3801 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3803 * net/trampver.el: Update release number.
3805 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3807 * progmodes/compile.el (compilation--previous-directory): Fix up
3808 various nil/dead-marker mismatches (bug#8014).
3809 (compilation-directory-properties, compilation-error-properties):
3810 Don't call it at a position past the one we're about to change.
3812 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3813 Disable obsolescence warnings in the file that declares it.
3815 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3817 * allout-widgets.el (allout-widgets-tally):
3818 Initialize allout-widgets-tally as a hash table rather than nil to
3819 prevent mode-line redisplay warnings. Also, clarify the module
3820 description and fix a comment typo.
3822 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3824 * help-fns.el (describe-variable): Don't complete keywords.
3825 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3827 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3829 * emacs-lisp/package.el (package-version-join): Impose a standard
3830 string representation for pre/alpha/beta version lists.
3831 (package-unpack-single): Standardize the directory name by passing
3832 it through package-version-join.
3833 (package-strip-rcs-id): Accept any version string that does not
3834 signal an error in version-to-list.
3836 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3838 * simple.el (delete-trailing-whitespace): Return nil for the
3839 benefit of `write-file-functions'.
3841 2011-03-10 Glenn Morris <rgm@gnu.org>
3843 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3845 * vc/vc-git.el (vc-git-program): New option.
3846 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3847 (vc-git--call): Use it.
3849 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3851 * cus-edit.el (Custom-newline): If no button at point, look
3852 for a subgroup button at start-of-line. (Bug#2298)
3854 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3856 2011-03-10 Julien Danjou <julien@danjou.info>
3858 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3859 `cursor-type' is nil.
3861 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3863 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3865 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3867 * allout.el Summary: Change so yank of distinctive-bullet items
3868 preserves the existing header prefix, rebulleting it if necessary,
3869 rather than replacing it. This is necessary for proper operation
3870 of cooperative addons like allout-widgets.
3871 (allout-make-topic-prefix, allout-rebullet-heading): Change
3872 SOLICIT arg to INSTEAD, and interpret additionally a string value
3873 as alternate bullet to be used, instead of prompting the user for
3876 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3878 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3879 Do not use `tramp-file-name-port', because this returns also
3880 `tramp-default-port'.
3882 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3884 * net/rcirc.el (rcirc-handler-001): Remove useless
3885 with-rcirc-process-buffer.
3886 (rcirc-check-auth-status): Swap arguments to string-match.
3888 2011-03-09 Glenn Morris <rgm@gnu.org>
3890 * shell.el (shell-mode):
3891 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3893 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3894 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3896 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3898 * emacs-lisp/package.el (package-refresh-contents)
3899 (package-menu-execute): Use condition-case-no-debug.
3901 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3903 * simple.el (shell-command-to-string): Use `process-file'.
3905 * emacs-lisp/package.el (package-tar-file-info): Handle also
3908 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3909 Use `equal' for upload base check.
3911 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3913 * textmodes/texinfo.el (texinfo-environments):
3914 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3916 2011-03-08 Glenn Morris <rgm@gnu.org>
3918 * cus-start.el (cursor-in-non-selected-windows):
3919 Fix :set quoting oddness. (Bug#8192)
3921 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3922 in some setf expressions. (Bug#2159)
3924 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3926 * custom.el (custom-available-themes): Return themes in
3929 See ChangeLog.15 for earlier changes.
3935 Copyright (C) 2011 Free Software Foundation, Inc.
3937 This file is part of GNU Emacs.
3939 GNU Emacs is free software: you can redistribute it and/or modify
3940 it under the terms of the GNU General Public License as published by
3941 the Free Software Foundation, either version 3 of the License, or
3942 (at your option) any later version.
3944 GNU Emacs is distributed in the hope that it will be useful,
3945 but WITHOUT ANY WARRANTY; without even the implied warranty of
3946 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3947 GNU General Public License for more details.
3949 You should have received a copy of the GNU General Public License
3950 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.