1 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-cache.el (top): Don't load the persistency file when
4 "emacs -Q" has been called.
6 2011-06-21 Tim Harper <timcharper@gmail.com>
8 * term/ns-win.el (ns-initialize-window-system): set
9 application-specific `ApplePressAndHoldEnabled' system
10 resource to NO as it is not yet supported by the NS port.
12 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15 (list-dynamic-libraries): ...not here.
17 2011-06-21 Leo Liu <sdl.web@gmail.com>
19 * subr.el (sha1): Implement sha1 using secure-hash.
21 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23 * window.el (display-buffer-alist): In default value do not
24 enforce searching a window on any but the selected frame.
25 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
26 (display-buffer-select-window): Remove function.
27 (display-buffer-in-window): When a window on another frame gets
28 reused, do not select it any more but just raise its frame if
29 necessary (Bug#8851) and (Bug#8856).
30 (display-buffer-normalize-options): Handle pop-up-frames related
31 options more faithfully.
32 (pop-to-buffer): Don't rely on `display-buffer' selecting the
33 window if it is on another frame.
34 (display-buffer-alist, display-buffer-default-specifiers): Don't
35 make new frame unsplittable by default.
36 (display-buffer-normalize-argument): Fix doc-string typo and use
37 'same-frame-other-window instead of 'other-window when associating
38 with display-buffer-macro-specifiers.
40 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
42 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
44 (5x5-mode-map, 5x5-mode-menu): Bind them.
45 (5x5-draw-grid): Tweak the solver's rendering.
47 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
49 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
50 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
52 2011-06-21 Drew Adams <drew.adams@oracle.com>
54 * menu-bar.el: Use function variable instead of switch-to-buffer.
55 (menu-bar-select-buffer-function): New variable.
56 (menu-bar-update-buffers): Use it (bug#8876).
58 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
60 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
63 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
65 * x-dnd.el (x-dnd-version-from-flags)
66 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
67 and long as number (Bug#8899).
68 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
70 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
72 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
73 (completion-try-completion, completion-all-completions): Compute the
74 metadata argument if it's missing; make it optional (bug#8795).
76 * wid-edit.el: Use lex-bind and move towards completion-at-point.
77 (widget-complete): Use new :completion-function property.
78 (widget-completions-at-point): New function.
79 (default): Use :completion-function instead of :complete.
80 (widget-default-completions): Rename from widget-default-complete;
82 (widget-string-complete, widget-file-complete, widget-color-complete):
84 (file, symbol, function, variable, coding-system, color):
85 * international/mule-cmds.el (default-input-method, charset)
86 (language-info-custom-alist):
87 * cus-edit.el (face): Use new property :completions.
89 * progmodes/pascal.el (pascal-completions-at-point): New function.
90 (pascal-mode): Use it.
91 (pascal-mode-map): Use completion-at-point.
92 (pascal-toggle-completions): Make obsolete.
93 (pascal-complete-word, pascal-show-completions):
94 * progmodes/octave-mod.el (octave-complete-symbol):
95 Redefine as obsolete alias.
96 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
97 Signal absence of completion info for old Octave,
98 (inferior-octave-complete): Redefine as obsolete alias.
99 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
100 (meta-completions-at-point): Rename from meta-complete-symbol and
101 adapt it for use on completion-at-point-functions.
102 (meta-common-mode): Use it.
103 (meta-looking-at-backward, meta-match-buffer): Remove.
104 (meta-complete-symbol): Redefine as obsolete alias.
105 (meta-common-mode-map): Use completion-at-point.
106 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
107 (makefile-mode-map): Use completion-at-point.
108 (makefile-completions-at-point): Rename from makefile-complete and
109 adapt it for use on completion-at-point-functions.
110 (makefile-mode): Use it.
111 (makefile-complete): Redefine as obsolete alias.
113 2011-06-20 Deniz Dogan <deniz@dogan.se>
115 * net/rcirc.el: Delete trailing whitespaces once and for all.
117 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
119 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
121 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
123 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
125 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
127 2011-06-19 Martin Rudalics <rudalics@gmx.at>
129 * window.el (display-buffer-other-window-means-other-frame):
130 Call display-buffer-normalize-alist.
131 (display-buffer-normalize-specifiers-1): Rename to
132 display-buffer-normalize-argument. New argument other-frame.
134 (display-buffer-normalize-specifiers-2): Rename to
135 display-buffer-normalize-options.
136 (display-buffer-normalize-alist-1): New function.
137 (display-buffer-normalize-specifiers-3): Rename to
138 display-buffer-normalize-alist.
139 Call display-buffer-normalize-alist-1.
140 (display-buffer-normalize-options-inhibit): New variable.
141 (display-buffer-normalize-specifiers): Rewrite calling
142 display-buffer-normalize-alist,
143 display-buffer-normalize-argument, and
144 display-buffer-normalize-options. Don't call the latter if
145 display-buffer-normalize-options-inhibit is non-nil.
146 (frame-auto-delete): New option.
147 (window-deletable-p): Use frame-auto-delete.
148 (window-list-no-nils, window-state-ignored-parameters)
149 (window-state-get-1, window-state-get, window-state-put-list)
150 (window-state-put-1, window-state-put-2, window-state-put):
152 (display-buffer-normalize-options): Move special-display-p group
153 after pop-up-frame group (Bug#8851) and (Bug#8856).
155 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
157 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
159 (rx-submatch-n): New function.
162 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
165 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
167 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
169 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
170 anytime existing face settings are present (Bug#8889).
172 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
173 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
174 Remove unused argument.
176 2011-06-18 Martin Rudalics <rudalics@gmx.at>
178 * window.el (display-buffer-default-specifiers):
179 Remove pop-up-frame. Add pop-up-window-min-height,
180 pop-up-window-min-width, and another reuse-window specifier
181 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
182 (display-buffer-normalize-specifiers-2):
183 Handle split-height-threshold and split-width-threshold also when
184 pop-up-windows is unset. Add a reuse-window specifier for the
185 case popping up a new window fails.
186 (special-display-popup-frame): Remove double quoting.
187 (display-buffer-normalize-specifiers-1): Fix thinko.
189 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
191 * shell.el (shell-completion-vars): Set pcomplete-termination-string
192 according to comint-completion-addsuffix.
194 * pcomplete.el: Convert to lexical binding and fix bug#8819.
195 (pcomplete-suffix-list): Mark as obsolete.
196 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
197 pcomplete-seen in the closure.
198 (pcomplete-comint-setup): Setup completion-at-point as well.
199 (pcomplete--entries): New function.
200 (pcomplete--env-regexp): New var.
201 (pcomplete-entries): Rewrite to work with partial-completion and
202 without relying on pcomplete-suffix-list.
203 (pcomplete-pare-list): Remove, unused.
205 2011-06-17 Martin Rudalics <rudalics@gmx.at>
207 * window.el (display-buffer-alist): Set pop-up-window-min-height
208 and pop-up-window-min-width in default value. Reported by
209 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
210 other-window-means-other-frame.
211 (display-buffer-macro-specifiers): Comment out entry for
212 other-window specifier.
213 (display-buffer-other-window-means-other-frame): New function.
214 (display-buffer-normalize-specifiers-1): New arguments
215 buffer-name and label. Treat other-window case specially.
216 (display-buffer-normalize-specifiers-2): Treat other-window case
218 (display-buffer-normalize-specifiers-3): New function.
219 (display-buffer-normalize-specifiers):
220 Call display-buffer-normalize-specifiers-3.
222 2011-06-17 Martin Rudalics <rudalics@gmx.at>
224 * window.el (same-window-p): Fix two typos introduced when
225 adding with-no-warnings.
226 (display-buffer-normalize-specifiers-1): Don't check
227 pop-up-frames for 'unset initialization.
228 (display-buffer-normalize-specifiers-2): Major rewrite using
229 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
230 (pop-up-frames, display-buffer-reuse-frames)
231 (display-buffer-mark-dedicated): Don't initialize to 'unset.
232 Suggested by David Engster <deng@randomsample.de>.
233 (even-window-heights): Initialize to 'unset.
234 (display-buffer-alist-set): Handle new 'unset initializations.
235 (display-buffer-macro-specifiers): Don't pop up a new frame in the
238 2011-06-16 Martin Rudalics <rudalics@gmx.at>
240 * window.el (display-buffer-normalize-specifiers-1):
241 Respect current value of pop-up-frames for most reasonable values of
242 second argument of display-buffer (Bug#8865).
243 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
244 (switch-to-buffer-other-window-same-frame)
245 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
247 (display-buffer): Don't check noninteractive when calling
248 display-buffer-pop-up-frame.
249 (display-buffer-pop-up-frame): Never pop up a frame in
250 noninteractive mode (Bug#8857).
251 (enlarge-window, shrink-window): Don't report an error when the
252 window can't be resized as requested (Bug#8862).
254 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
256 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
258 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
260 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
262 2011-06-15 Alan Mackenzie <acm@muc.de>
264 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
265 for declarators, disable knr checking to speed up for normal files.
266 2: Refactor, replacing a sequence of nested if forms by a cond form.
268 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
270 * net/network-stream.el (open-network-stream): Add the keyword
271 :always-query-capabilities for the case where you want to force a
272 `plain' network connection, but the protocol still requires the
273 capabilitiy command (i.e., SMTP and EHLO).
275 * subr.el (process-live-p): Rename from `process-alive-p' for
276 consistency with other `-live-p' functions.
278 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
280 * window.el (same-window-buffer-names, same-window-regexps)
281 (special-display-frame-alist, special-display-popup-frame)
282 (special-display-function, special-display-buffer-names)
283 (special-display-regexps, pop-up-frame-alist)
284 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
285 (pop-up-windows, split-window-preferred-function)
286 (split-height-threshold, split-width-threshold, even-window-heights)
287 (display-buffer-mark-dedicated): Don't encourage the use of
288 display-buffer-alist from Elisp code.
290 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
292 * progmodes/python.el (python-mode): Derive from prog-mode.
293 * progmodes/ps-mode.el (ps-mode):
294 * progmodes/mixal-mode.el (mixal-mode):
295 * progmodes/cfengine.el (cfengine-mode):
296 * progmodes/ld-script.el (ld-script-mode): Likewise.
298 2011-06-15 Martin Rudalics <rudalics@gmx.at>
300 * window.el (display-buffer-alist): Trim default value to avoid
301 popping up a new frame (Bug#8857) or reusing an arbitrary window
303 (display-buffer): Do not fall back on popping up a new frame in
304 batch mode (Bug#8857).
306 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
308 * cus-theme.el (describe-theme-1): Use custom-theme-p.
309 (custom-theme-summary): New function.
310 (customize-themes): Use it.
312 2011-06-13 Glenn Morris <rgm@gnu.org>
314 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
316 2011-06-13 Martin Rudalics <rudalics@gmx.at>
318 * help.el (help-window): Remove variable.
319 (help-window-point-marker, temp-buffer-max-height)
320 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
321 (help-print-return-message): Don't set help-window.
322 (resize-temp-buffer-window): Rewrite cod eand doc-string.
323 (help-window-setup-finish): Remove.
324 (help-window-display-message, help-window-setup)
325 (with-help-window): Major rewrite based on new
326 display-buffer-window variable.
328 * help-mode.el (help-mode-finish): Remove help-window related
331 * view.el (view-exits-all-viewing-windows): Remove reference to
332 view-return-to-alist in doc-string.
333 (view-return-to-alist): Make obsolete.
334 (view-buffer): Call pop-to-buffer-same-window and remove
336 (view-buffer-other-window): Call pop-to-buffer-other-window and
337 simplify code. Ignore second argument.
338 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
339 simplify code. Ignore second argument.
340 (view-return-to-alist-update): Make obsolete.
341 (view-mode-enter): Rename second argument to QUIT-RESTORE.
342 Rewrite using quit-restore window parameters.
343 (view-mode-exit): Rename second argument to EXIT-ONLY.
344 Rewrite using quit-restore-window.
345 (View-exit, View-exit-and-edit, View-leave, View-quit)
346 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
347 appropriate arguments.
348 (view-end-message): Use quit-restore window parameter.
350 * window.el (display-buffer-function): Rewrite doc-string.
351 (display-buffer-window, display-buffer-alist): New variables.
352 (display-buffer-split-specifiers)
353 (display-buffer-side-specifiers)
354 (display-buffer-macro-specifiers): New constants.
355 (display-buffer-even-window-sizes, display-buffer-set-height)
356 (display-buffer-set-width, display-buffer-select-window)
357 (display-buffer-in-window, display-buffer-reuse-window)
358 (display-buffer-split-window-1, display-buffer-split-window)
359 (display-buffer-split-atom-window, display-buffer-pop-up-window)
360 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
361 (display-buffer-in-side-window, normalize-buffer-to-display)
362 (display-buffer-normalize-specifiers-1)
363 (display-buffer-normalize-specifiers-2)
364 (display-buffer-normalize-specifiers, display-buffer-frame):
366 (display-buffer): Major rewrite.
367 (display-buffer-other-window, display-buffer-other-frame)
368 (pop-to-buffer, switch-to-buffer-other-window)
369 (switch-to-buffer-other-frame): Rewrite.
370 (display-buffer-same-window, display-buffer-same-frame)
371 (display-buffer-same-frame-other-window)
372 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
373 (pop-to-buffer-other-window)
374 (pop-to-buffer-same-frame-other-window)
375 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
376 (switch-to-buffer-other-window-same-frame): New functions.
377 (same-window-p, special-display-p): Rewrite disabling warnings.
379 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
380 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
382 (same-window-buffer-names, same-window-regexps)
383 (special-display-frame-alist, special-display-popup-frame)
384 (special-display-function, special-display-buffer-names)
385 (special-display-regexps, pop-up-frame-alist)
386 (pop-up-frame-function, split-window-preferred-function)
387 (split-height-threshold, split-width-threshold)
388 (even-window-heights): Make obsolete.
390 2011-06-12 Glenn Morris <rgm@gnu.org>
392 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
393 Misc simplifications.
395 2011-06-12 Martin Rudalics <rudalics@gmx.at>
397 * window.el (window-safely-shrinkable-p): Restore function which
398 was inadvertently removed in change from 2011-06-11. Declare as
401 * calendar/calendar.el (calendar-generate-window):
402 Use window-iso-combined-p instead of combination of one-window-p and
403 window-safely-shrinkable-p.
405 2011-06-12 Glenn Morris <rgm@gnu.org>
407 * progmodes/fortran.el (fortran-mode-syntax-table):
408 * progmodes/f90.el (f90-mode-syntax-table):
409 Set % to punctuation. (Bug#8820)
410 (f90-find-tag-default): Remove, no longer needed.
412 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
414 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
416 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
418 * image.el (image-animated-p): Return animation delay in seconds.
419 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
420 (image-animate-timeout): Remove DELAY argument. Don't assume
421 every subimage has the same delay; get it from image-animated-p.
422 (image-animate): Caller changed.
424 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
426 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
427 to ignored backtrace functions.
429 2011-06-11 Glenn Morris <rgm@gnu.org>
431 * calendar/appt.el (appt-disp-window-function): Doc fix.
432 (appt-check): Handle overlapping appointments. (Bug#8337)
434 2011-06-11 Martin Rudalics <rudalics@gmx.at>
436 * window.el (window-tree-1, window-tree): New functions, moving
437 the latter to window.el.
438 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
439 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
440 (bw-refresh-edges): Remove.
441 (balance-windows-1, balance-windows-2): New functions.
442 (balance-windows): Rewrite in terms of window tree functions,
443 balance-windows-1 and balance-windows-2.
444 (bw-adjust-window): Remove.
445 (balance-windows-area-adjust): New function with functionality of
446 bw-adjust-window but using resize-window.
447 (set-window-text-height): Rewrite doc-string.
448 Use normalize-live-window and resize-window.
449 (enlarge-window-horizontally, shrink-window-horizontally):
450 Rename argument to DELTA.
451 (window-buffer-height): New function.
452 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
453 Rewrite using new window resize routines.
454 (kill-buffer-and-window, mouse-autoselect-window-select):
455 Use ignore-errors instead of condition-case.
456 (quit-window): Call delete-frame instead of delete-windows-on
457 for the only buffer on frame.
459 2011-06-10 Martin Rudalics <rudalics@gmx.at>
461 * loadup.el (top-level): Load window before files for the sake
462 of replace-buffer-in-windows.
464 * files.el (read-buffer-to-switch)
465 (switch-to-buffer-other-window)
466 (switch-to-buffer-other-frame, display-buffer-other-frame):
469 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
470 (previous-buffer): Move to window.el.
472 * bindings.el (unbury-buffer): Move to window.el.
474 * window.el (delete-other-windows-vertically): Move after
475 definition of delete-other-windows.
476 (other-window, delete-windows-on, replace-buffer-in-windows):
477 Move here from window.c.
478 (record-window-buffer, unrecord-window-buffer)
479 (set-window-buffer-start-and-point, switch-to-prev-buffer)
480 (switch-to-next-buffer): New functions.
481 (get-next-valid-buffer, last-buffer, next-buffer): Move here
482 from simple.el. Call switch-to-next-buffer.
483 (previous-buffer): Move here from simple.el.
484 Call switch-to-prev-buffer.
485 (bury-buffer): Move here from buffer.c. Switch to previous
486 buffer when window cannot be deleted.
487 (unbury-buffer): Move here from bindings.el.
488 (ctl-x-map): Move binding for other-window from window.c to
490 (read-buffer-to-switch, switch-to-buffer-other-window)
491 (switch-to-buffer-other-frame): Move here from files.el.
492 (normalize-buffer-to-switch-to): New functions.
493 (switch-to-buffer): Move here from buffer.c.
494 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
496 2011-06-10 Martin Rudalics <rudalics@gmx.at>
498 * window.el (window-min-height, window-min-width): Move here
499 from window.c. Add defcustoms and rewrite doc-strings.
500 (resize-mini-window, resize-window): New functions.
501 (adjust-window-trailing-edge, enlarge-window, shrink-window):
502 Move here from window.c.
503 (maximize-window, minimize-window): New functions.
504 (delete-window, delete-other-windows, split-window): Move here
506 (window-split-min-size): New function.
507 (split-window-keep-point): Mention split-window-above-each-other
508 instead of split-window-vertically.
509 (split-window-above-each-other, split-window-vertically):
510 Rename split-window-vertically to split-window-above-each-other and
511 provide defalias for old definition.
512 (split-window-side-by-side, split-window-horizontally): Rename
513 split-window-horizontally to split-window-side-by-side and provide
514 defalias for the old definition.
515 (ctl-x-map): Move bindings for delete-window,
516 delete-other-windows and enlarge-window here from window.c.
517 Replace bindings for split-window-vertically and
518 split-window-horizontally by bindings for
519 split-window-above-each-other and split-window-side-by-side.
521 * cus-start.el (all): Remove entries for window-min-height and
522 window-min-width. Add entries for window-splits and
525 2011-06-09 Glenn Morris <rgm@gnu.org>
527 * calendar/appt.el (appt-mode-line): New function.
528 (appt-check, appt-disp-window): Use it.
530 * files.el (hack-one-local-variable-eval-safep):
531 Allow minor-modes with explicit +/-1 arguments.
533 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
535 * term/xterm.el (xterm): Add defgroup.
536 (xterm-extra-capabilities): Add defcustom to supply known xterm
537 capabilities, skip querying them, or query them (default).
538 (terminal-init-xterm): Use it.
539 (terminal-init-xterm-modify-other-keys): New function to set up
540 modifyOtherKeys support to simplify `terminal-init-xterm'.
542 2011-06-09 Martin Rudalics <rudalics@gmx.at>
544 * window.el (resize-window-reset, resize-window-reset-1)
545 (resize-subwindows-skip-p, resize-subwindows-normal)
546 (resize-subwindows, resize-other-windows, resize-this-window)
547 (resize-root-window, resize-root-window-vertically)
548 (window-deletable-p, window-or-subwindow-p)
549 (frame-root-window-p): New functions.
551 2011-06-09 Glenn Morris <rgm@gnu.org>
553 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
554 (ange-ftp-get-files): Use it.
556 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
558 * mail/sendmail.el (mail-recover-1, mail-recover):
559 * files.el (recover-file, recover-session):
560 Handle dired-listing-switches not being just a single short option.
562 2011-06-09 Glenn Morris <rgm@gnu.org>
564 * calendar/appt.el (appt-display-message, appt-disp-window):
565 Handle lists of appointments.
567 2011-06-08 Martin Rudalics <rudalics@gmx.at>
569 * window.el (one-window-p): Move down in code.
571 (window-current-scroll-bars): Rewrite doc-string.
572 Normalize live window argument.
573 (walk-windows, get-window-with-predicate, count-windows):
574 Rewrite doc-string. Use window-list-1.
575 (window-in-direction-2, window-in-direction, get-mru-window):
578 2011-06-08 Reuben Thomas <rrt@sc3d.org>
580 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
583 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
585 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
587 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
589 * loadhist.el (unload-feature-special-hooks):
590 Add `comint-output-filter-functions'.
592 2011-06-08 Ivan Kanis <gnu@kanis.fr>
594 * calendar/appt.el (appt-check): Move some initializations into the let.
596 2011-06-08 Martin Rudalics <rudalics@gmx.at>
598 * window.el (window-height): Defalias to window-total-height.
599 (window-width): Defalias to window-body-width.
601 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
603 * image-mode.el (image-toggle-animation): New command.
604 (image-mode-map): Bind it to RET.
605 (image-mode): Update message.
606 (image-toggle-display-image): Avoid a spurious cache flush.
607 (image-transform-rotation): Doc fix.
608 (image-transform-properties): Return quickly in the normal case.
609 (image-animate-loop): Rename from image-animate-max-time.
611 * image.el (image-animate-max-time): Move to image-mode.el.
612 (create-animated-image): Remove unnecessary function.
613 (image-animate): Rename from image-animate-start. New arg.
614 (image-animate-stop): Remove; just use image-animate-timer.
615 (image-animate-timer): Use car-safe.
616 (image-animate-timeout): Rename argument.
618 2011-06-07 Martin Rudalics <rudalics@gmx.at>
620 * window.el (get-lru-window, get-largest-window): Move here from
621 window.c. Rename first argument to ALL-FRAMES.
622 Rephrase doc-strings.
623 (get-buffer-window-list): Rewrite using window-list-1.
625 (window-safe-min-height, window-safe-min-width): New constants.
626 (window-size-ignore, window-min-size, window-min-size-1)
627 (window-sizable, window-sizable-p, window-size-fixed-1)
628 (window-size-fixed-p, window-min-delta-1, window-min-delta)
629 (window-max-delta-1, window-max-delta, window-resizable)
630 (window-resizable-p, window-total-height, window-total-width)
631 (window-body-width): New functions.
632 (window-full-height-p, window-full-width-p): Rewrite using
634 (window-body-height): Rewrite using window-body-size.
636 2011-06-06 Martin Rudalics <rudalics@gmx.at>
638 * window.el (window-right, window-left, window-child)
639 (window-child-count, window-last-child, window-any-p)
640 (normalize-live-buffer, normalize-live-frame)
641 (normalize-any-window, normalize-live-window)
642 (window-iso-combination-p, window-iso-combined-p)
643 (window-iso-combinations)
644 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
645 (windows-with-parameter, window-with-parameter)
646 (window-atom-root, make-window-atom, window-atom-check-1)
647 (window-atom-check, window-side-check, window-check):
649 (ignore-window-parameters, window-sides, window-sides-vertical)
650 (window-sides-slots): New variables.
651 (window-size-fixed): Move down in code. Minor doc-string fix.
653 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
655 * comint.el (comint-dynamic-complete-as-filename)
656 (comint-dynamic-complete-filename): Correctly call
657 completion-in-region.
659 2011-06-05 Deniz Dogan <deniz@dogan.se>
661 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
664 2011-06-05 Deniz Dogan <deniz@dogan.se>
666 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
667 (rcirc): Use it to prompt for encryption.
669 2011-06-05 Roland Winkler <winkler@gnu.org>
671 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
672 (bibtex-search-entries): New command bound to C-c C-a.
673 (bibtex-display-entries): New function.
675 2011-06-05 Roland Winkler <winkler@gnu.org>
677 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
678 (bibtex-insert-kill): After yanking insert newline if necessary.
679 (bibtex-initialize): Call bibtex-string-files-init only once.
680 (bibtex-mode): Do not call easy-menu-add.
681 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
682 (bibtex-yank): Set arg properly if nil.
684 2011-06-05 Roland Winkler <winkler@gnu.org>
686 * textmodes/bibtex.el (bibtex-search-entry-globally):
688 (bibtex-search-entry): Use it.
690 2011-06-05 Roland Winkler <winkler@gnu.org>
692 * textmodes/bibtex.el (bibtex-entry-format): New option
694 (bibtex-format-entry, bibtex-reformat): Honor this option.
695 (bibtex-parse-entry): Return fields in proper order.
697 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
699 * doc-view.el (doc-view-remove-if): Move computation of result out
700 of `dolist' to silence misleading lexical-binding warning.
702 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
704 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
705 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
707 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
709 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
712 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
714 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
715 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
716 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
718 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
719 (tramp-completion-function-alist-ssh)
720 (tramp-completion-function-alist-telnet)
721 (tramp-completion-function-alist-su)
722 (tramp-completion-function-alist-putty): Set `tramp-autoload'
727 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
728 load "tramp.el" `tramp-set-completion-function'.
730 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
732 * shell.el: Require and use pcomplete.
733 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
734 (shell-completion-vars): Set pcomplete-default-completion-function.
736 2011-06-04 Deniz Dogan <deniz@dogan.se>
738 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
741 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
743 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
745 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
747 * bs.el (bs--mark-unmark, bs--nth-wrapper):
748 * mpc.el (mpc-select-extend, mpc-songpointer-context):
749 * vc/log-view.el (log-view-beginning-of-defun):
750 * vc/smerge-mode.el (smerge-apply-resolution-patch)
751 (smerge-refine-forward, smerge-refine-chopup-region):
752 Silence warning for unused `dotimes' counter variables.
754 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
756 * net/tramp.el (tramp-with-progress-reporter): Rename from
757 with-progress-reporter. Use `declare'.
760 * net/tramp-gvfs.el: Update all uses.
762 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
764 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
765 buffer isn't killed before making it current.
767 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
769 Silence various byte-compiler warnings.
770 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
771 `access-type' and new obsolescence format.
772 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
774 (byte-compile-check-variable): New `access-type' argument.
775 Only warn if the access-type is obsolete.
776 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
777 (byte-compile-variable-set): Adjust callers.
778 * help-fns.el (describe-variable): Adjust to new obsolescence format.
779 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
780 setting it as obsolete.
781 * simple.el (minibuffer-completing-symbol):
782 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
784 * minibuffer.el (minibuffer-completing-file-name): Don't make it
786 * international/quail.el (quail-mouse-choose-completion): Remove unused
787 code referring to obsolete var.
788 (quail-choose-completion-string): Remove.
789 * server.el (server-clients-with, server-kill-buffer-query-function)
790 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
791 * proced.el (proced-send-signal):
792 * emacs-lisp/lisp.el (lisp-complete-symbol):
793 Replace completion-annotate-function with completion-extra-properties.
795 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
797 * simple.el (goto-line): Use read-number.
798 (overriding-map-is-bound): Remove.
799 (saved-overriding-map): Change default.
800 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
801 Take the map as argument.
802 (universal-argument, negative-argument, digit-argument): Use it.
803 (restore-overriding-map): Adjust.
804 (do-auto-fill): Use fill-forward-paragraph.
805 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
807 * minibuffer.el (minibuffer-inactive-mode-map): New var.
808 (minibuffer-inactive-mode): New major mode.
809 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
810 the *Messages* buffer" hack.
811 (mouse-popup-menubar): Don't burp if the event is a normal key.
813 Miscellaneous tweaks.
814 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
815 lexical scoping as in subr.el's dolist and dotimes.
816 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
817 Silence compiler warning.
818 * thingatpt.el (forward-whitespace): Trivial coding style fix.
819 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
820 * international/ccl.el (ccl-compile): Trivial simplification.
821 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
822 * emacs-lisp/testcover.el (testcover-end): Remove spurious
823 `printflag' argument.
824 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
825 Purecopy the whole obsolescence data.
827 2011-06-01 Leo Liu <sdl.web@gmail.com>
829 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
830 improve doc-string as suggested by Marco Pessotto
831 <melmothx@gmail.com>.
832 (rcirc-print): Fix last change.
834 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
836 * minibuffer.el (complete-with-action): Return nil for the metadata and
837 boundaries of non-functional tables.
838 (completion-table-dynamic): Return nil for the metadata.
839 (completion-table-with-terminator): Add default case, using
840 complete-with-action.
841 (completion--metadata): New function.
842 (completion-all-sorted-completions, minibuffer-completion-help): Use it
843 to try and avoid pathological performance problems.
844 (completion--embedded-envvar-table): Return `category' metadata.
846 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
848 * subr.el (process-alive-p): New tiny convenience function.
850 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
853 content but also its previous major mode.
855 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
857 * debug.el (debug): Restore the previous content of the
858 *Backtrace* buffer when we exit with C-M-c.
860 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
862 * minibuffer.el: Add metadata method to completion tables.
863 (completion-category-overrides): New defcustom.
864 (completion-metadata, completion--field-metadata)
865 (completion-metadata-get, completion--styles)
866 (completion--cycle-threshold): New functions.
867 (completion-try-completion, completion-all-completions):
868 Add `metadata' argument to choose completion-styles.
869 (completion--do-completion): Use metadata to choose cycling.
870 (completion-all-sorted-completions): Use metadata for sorting.
871 Remove :completion-cycle-penalty which is not needed any more.
872 (completion--try-word-completion): Add `metadata' argument.
873 (minibuffer-completion-help): Check metadata for annotation function
875 (completion-file-name-table): Return `category' metadata.
876 (minibuffer-completing-file-name): Make obsolete.
877 * simple.el (minibuffer-completing-symbol): Make obsolete.
878 * icomplete.el (icomplete-completions): Pass new `metadata' param to
879 completion-try-completion.
881 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
883 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
885 2011-05-30 Leo Liu <sdl.web@gmail.com>
887 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
888 (rcirc-print): Decode all incoming messages (bug#8744).
889 (rcirc-decode-coding-system): Allow value nil for automatic coding
892 2011-06-01 Glenn Morris <rgm@gnu.org>
894 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
896 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
898 * image.el (image-animate-max-time): Allow nil and t values.
900 (create-animated-image): Doc fix.
901 (image-animate-start): Remove second arg; just use
902 image-animate-max-time.
903 (image-animate-timeout): Doc fix. Args changed.
905 * image-mode.el (image-toggle-display-image): Ensure that the
906 image spec passed to the animate timer is the same object as in
907 the the buffer's display property (Bug#6981).
908 (image-transform-properties): Doc fix.
910 * image.el (image-animate-max-time): Default to nil.
912 2011-05-29 Martin Rudalics <rudalics@gmx.at>
914 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
915 entire buffer list (Bug#8184).
917 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
919 * image.el (imagemagick-types-inhibit)
920 (imagemagick-register-types): Doc fix.
922 2011-05-29 Deniz Dogan <deniz@dogan.se>
924 * net/rcirc.el (rcirc): Use the user's stored encryption method by
927 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
929 * select.el: Don't perform clipboard-manager saving in hooks;
930 leave the hooks empty.
932 2011-05-28 Leo Liu <sdl.web@gmail.com>
934 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
935 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
936 (occur-edit-mode): New major mode (Bug#8463).
937 (occur-after-change-function): New function.
938 (occur-engine): Give Occur tags a read-only property.
940 2011-05-28 Kevin Ryde <user42@zip.com.au>
942 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
944 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
946 * bindings.el (help-echo): Make the initial non-indicator dash
947 empty on graphical terminals (Bug#7295).
949 * files.el (auto-mode-alist): Move config rule after the
950 in-stripping one (Bug#8547).
952 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
954 * startup.el (normal-splash-screen): Remove gratuitous mode-line
957 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
959 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
960 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
963 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
966 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
968 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
970 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
971 (hs-hide-block-at-point, hs-find-block-beginning)
972 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
975 2011-05-28 Glenn Morris <rgm@gnu.org>
977 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
979 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
981 * help-fns.el (describe-function-1): If the function is a derived
982 major mode, print the parent mode.
984 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
985 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
987 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
989 * minibuffer.el (completion--capf-wrapper): Check applicability before
990 retuning non-nil for non-exclusive completion data.
991 * progmodes/etags.el (tags-completion-at-point-function):
992 * info-look.el (info-lookup-completions-at-point): Mark as
994 (info-complete): Adjust accordingly.
996 * info-look.el: Convert to lexical-binding and completion-at-point.
997 (info-lookup-completions-at-point): New function.
998 (info-complete): Use it and completion-in-region.
1000 2011-05-28 Drew Adams <drew.adams@oracle.com>
1002 * isearch.el: Let M-e start with point at the first mismatched char.
1003 (isearch-fail-pos): New function.
1004 (isearch-edit-string): Use it.
1006 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1008 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1010 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1012 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1013 traversal functions for avl-trees.
1014 (avl-tree--stack): New struct.
1015 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1016 (avl-tree-enter): Add optional `updatefun' arg.
1017 (avl-tree--do-enter): Add optional `updatefun' arg.
1018 Change return value.
1019 (avl-tree-delete): Add optional `test' and `nilflag' args.
1020 (avl-tree--do-delete): Add `test' and `nilflag' args.
1021 Change return value.
1022 (avl-tree-member): Add optional `nilflag'
1023 (avl-tree-member-p): New function.
1024 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1025 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1026 (avl-tree-stack-empty-p): New functions.
1028 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1030 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1031 avl-tree--del-balance1 and make it work both ways.
1032 (avl-tree--del-balance2): Remove.
1033 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1034 make it work both ways.
1035 (avl-tree--enter-balance2): Remove.
1036 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1038 (avl-tree--mapc, avl-tree-map): Add direction argument.
1040 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
1042 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1044 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
1046 * select.el: Support clipboard managers with built-in function
1047 x-clipboard-manager-save, via delete-frame-functions and
1049 (xselect-convert-to-targets): Add MULTIPLE target to list.
1050 (xselect-convert-to-save-targets): New function.
1052 2011-05-27 Kenichi Handa <handa@m17n.org>
1054 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1055 let-binding rfc2047-encode-encoded-words to nil.
1057 2011-05-27 Glenn Morris <rgm@gnu.org>
1059 * mail/emacsbug.el: Don't require url-util.
1061 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1063 * files.el (set-auto-mode):
1064 Also respect mode: entries at the end of the file. (Bug#8586)
1066 2011-05-26 Glenn Morris <rgm@gnu.org>
1068 * files.el (hack-local-variables-prop-line, hack-local-variables):
1069 Downcase mode names, as seems to be traditional.
1070 (hack-local-variables, hack-local-variables-apply): Doc fixes.
1072 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1073 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1075 2011-05-25 Julien Danjou <julien@danjou.info>
1077 * textmodes/rst.el (rst-define-level-faces): Do not define face
1078 symbol if it is already defined.
1080 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1082 * play/5x5.el (5x5-new-game, 5x5-randomize):
1083 Reset 5x5-solver-output to nil when a new grid is cast.
1084 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1085 these debugging traces, as defmacro breaks the compiled code.
1087 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1089 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1091 2011-05-24 Leo Liu <sdl.web@gmail.com>
1093 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1094 (vc-bzr-sha1): Adapt.
1096 * sha1.el: Remove. Function `sha1' is now builtin.
1098 * bindings.el: Provide sha1 feature.
1100 2011-05-24 Kenichi Handa <handa@m17n.org>
1102 * mail/sendmail.el: Require `rfc2047'.
1103 (mail-insert-from-field): Do not perform RFC2047 encoding.
1104 (mail-encode-header): New function.
1105 (sendmail-send-it): Set buffer-file-coding-system of the work
1106 buffer to the return value of select-message-coding-system.
1107 Call mail-encode-header.
1109 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1111 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
1113 * mail/supercite.el (sc-default-cite-frame):
1114 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1116 2011-05-24 Glenn Morris <rgm@gnu.org>
1118 * progmodes/python.el (brm-menu): Declare.
1120 * emulation/viper.el (viper-set-hooks): Declare.
1122 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1123 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1124 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1125 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1126 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1127 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1129 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1131 Add an :exit-function for completion-at-point.
1133 * minibuffer.el (completion--done): New fun.
1134 (completion--do-completion): Use it. New arg `expect-exact'.
1135 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1136 since completion--do-completion does it for us now.
1137 (minibuffer-force-complete): Use completion--done and
1138 completion--replace. Handle sole-completion case with more care.
1139 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1140 (completion-extra-properties): New var.
1141 (completion-annotate-function): Make obsolete.
1142 (minibuffer-completion-help): Adjust accordingly.
1143 Use completion-list-insert-choice-function.
1144 (completion-at-point, completion-help-at-point):
1145 Bind completion-extra-properties.
1146 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1147 * simple.el (completion-list-insert-choice-function): New var.
1148 (completion-setup-function): Preserve it.
1149 (choose-completion): Pay attention to it, shuffle the code a bit.
1150 (choose-completion-string): New arg `insert-function'.
1152 * textmodes/bibtex.el: Convert to lexical binding.
1153 (bibtex-mode-map): Use completion-at-point.
1154 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1155 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1156 (bibtex-complete): Define as obsolete alias.
1157 (bibtex-complete-internal): Remove.
1158 (bibtex-format-entry): Remove unused sub-group in regexp.
1159 * shell.el (shell--command-completion-data)
1160 (shell-environment-variable-completion):
1161 * pcomplete.el (pcomplete-completions-at-point):
1162 * comint.el (comint--complete-file-name-data): Use :exit-function
1163 instead of completion-table-with-terminator so it also works for
1166 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1170 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1173 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1175 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1177 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1178 customization variable and implement: If non-nil, auto-fill will
1179 be inhibited while on topic's header line.
1181 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1183 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1184 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1185 always have a solution in grid size = 5 cases.
1186 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1187 (5x5-solver-output, 5x5-log-buffer): New vars.
1188 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1189 Make these variables buffer local to achieve 5x5 multi-session-ness.
1190 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1191 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1192 (5x5-solve-suggest): New funs.
1193 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1194 randomize a grid so that we ensure that there is always a solution.
1195 (5x5-make-random-grid): Allow other movement than flipping.
1197 2011-05-23 Kevin Ryde <user42@zip.com.au>
1199 * emacs-lisp/advice.el (ad-read-advised-function):
1200 Use `function-called-at-point' as the default default, if it has
1201 advice and passes PREDICATE.
1203 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1206 byte-compile-lambda if it's actually a lambda.
1208 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1209 Fix function quoting. Use backquote better.
1211 2011-05-22 Yuanle Song <sylecn@gmail.com>
1213 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1214 matching (Bug#8516).
1216 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1218 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1219 different face (Bug#8178).
1221 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
1223 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1226 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1229 funcall as well (bug#8712). Warn when performing those conversions.
1230 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1232 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1234 2011-05-22 Glenn Morris <rgm@gnu.org>
1236 * files.el (hack-local-variables-prop-line): Small simplifications.
1237 (hack-local-variables, hack-local-variables-prop-line):
1238 If MODE-ONLY, return the mode, rather than just `t'.
1240 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1244 2011-05-21 Glenn Morris <rgm@gnu.org>
1246 * files.el (hack-local-variables-prop-line, hack-local-variables):
1247 If only interested in the mode, don't bother doing the other stuff.
1249 * image-mode.el (image-after-revert-hook):
1250 Redraw all frames on which the image is visible. (Bug#8567)
1252 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1254 * wid-edit.el (widget-checklist-match-inline):
1255 Fix 2011-04-19 change. (Bug#8649)
1257 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1260 Also allow singlespace after single-letter capitals followed by a dot.
1262 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1263 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1265 2011-05-20 Nix <nix@esperi.org.uk>
1267 * files.el (basic-save-buffer-2):
1268 Fix handling of break-hardlink-on-save with non-existent files.
1270 2011-05-19 Deniz Dogan <deniz@dogan.se>
1272 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1273 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1275 2011-05-19 Glenn Morris <rgm@gnu.org>
1277 * progmodes/f90.el (f90-type-def-re):
1278 Handle "type, bind(c)". (Bug#8691)
1280 * emacs-lisp/autoload.el (batch-update-autoloads):
1281 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1283 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
1285 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1286 property for the correct connection in case of multihops.
1288 2011-05-18 Glenn Morris <rgm@gnu.org>
1290 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1291 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1293 Rationalize calendar handling of day and month abbrev-arrays.
1294 * calendar/calendar.el (calendar-customized-p): New function.
1295 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1296 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1298 (calendar-abbrev-length, calendar-day-abbrev-array)
1299 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1300 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1301 Elements may no longer be nil.
1302 (calendar-day-name, calendar-month-name):
1303 Update for changed nature of abbrev arrays.
1304 * calendar/diary-lib.el (diary-name-pattern):
1305 Update for changed nature of abbrev arrays.
1306 (diary-mark-entries-1): Update calendar-make-alist calls.
1307 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1308 * calendar/cal-html.el (cal-html-day-abbrev-array):
1309 Simply inherit from calendar-day-abbrev-array.
1311 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * progmodes/grep.el (grep-mode): Disable default
1314 compilation-directory-matcher setting (bug#8684).
1316 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
1318 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1319 instead of "head" and "tail". There were problems with SunOS 5.9,
1320 and it performs better.
1322 2011-05-17 Glenn Morris <rgm@gnu.org>
1324 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1326 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1327 Replace obsolete function.
1329 * shell.el (pcomplete-parse-arguments-function): Declare.
1331 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1332 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1333 (appt-check): Doc fixes.
1334 (appt-disp-window-function, appt-delete-window-function):
1335 Remove needless special case in custom :type.
1336 (appt-display-count): Default to 0, not nil.
1337 (appt-check): Reset appt-display-count to 0, not nil.
1339 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
1341 * progmodes/python.el (python-font-lock-keywords):
1342 Add the Python 3.X keyword "nonlocal" (bug#8639).
1344 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1348 2011-05-16 Kevin Ryde <user42@zip.com.au>
1350 * info-look.el (makefile-automake-mode): New setups, looking in
1351 automake manual, then makefile-mode.
1352 (makefile-mode): Remove automake manual, have it just in
1353 makefile-automake-mode since there's various things different or
1354 not relevant to plain make.
1355 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1356 believe a hypothetical automake-mode would go to makefile-mode,
1357 not the other way around.
1359 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
1361 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1362 hunk-end tags (Bug#8672).
1364 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1365 vc-annotate-show-diff-revision-at-line (Bug#8671).
1367 2011-05-14 Glenn Morris <rgm@gnu.org>
1369 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1370 in the middle of an existing one with multiple authors. (Bug#8645)
1371 (change-log-font-lock-keywords): Also handle multiple author lines
1372 with leading tabs. (Bug#8644)
1374 * calendar/appt.el (appt-check): Rename some local variables.
1375 Some simplification/reordering.
1377 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1378 (feedmail-sendmail-f-doesnt-sell-me-out)
1379 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1380 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1381 (feedmail-queue-runner-message-sender): Set :version.
1382 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1383 (bbdb-dwim-net-address, vm-mail): Declare.
1384 (feedmail-binmail-gnulinuxish-template):
1385 Rename from feedmail-binmail-linuxish-template.
1386 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1387 Use insert-buffer-substring.
1389 2011-05-14 Bill Carpenter <bill@carpenter.org>
1391 * mail/feedmail.el (feedmail-patch-level): Increase.
1392 (feedmail-debug): New custom group.
1393 (feedmail-confirm-outgoing-timeout)
1394 (feedmail-sendmail-f-doesnt-sell-me-out)
1395 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1396 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1397 (feedmail-sender-line, feedmail-from-line)
1398 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1399 (feedmail-spray-this-address)
1400 (feedmail-spray-address-fiddle-plex-list)
1401 (feedmail-queue-use-send-time-for-date)
1402 (feedmail-queue-use-send-time-for-message-id)
1403 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1404 (feedmail-buffer-eating-function):
1406 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1407 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1408 (feedmail-message-action-scroll-down): New functions.
1409 (feedmail-queue-directory, feedmail-queue-draft-directory):
1410 Use expand-file-name.
1411 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1412 Remove C-v help entry.
1413 (feedmail-queue-buffer-file-name): New variable.
1414 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1415 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1416 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1417 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1418 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1419 (feedmail-message-action-toggle-spray)
1420 (feedmail-run-the-queue-no-prompts)
1421 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1422 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1423 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1424 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1425 (feedmail-envelope-deducer, feedmail-fiddle-from)
1426 (feedmail-fiddle-sender, feedmail-default-date-generator)
1427 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1428 (feedmail-fiddle-spray-address)
1429 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1430 (feedmail-fiddle-list-of-fiddle-plexes)
1431 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1432 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1433 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1434 Change default. Doc fix.
1435 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1436 (feedmail-binmail-linuxish-template): New constant.
1437 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1438 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1439 (feedmail-send-it): Add debug call.
1440 Use feedmail-queue-buffer-file-name, and
1441 feedmail-send-it-immediately-wrapper.
1442 (feedmail-message-action-send): Add debug call.
1443 Use feedmail-send-it-immediately-wrapper.
1444 (feedmail-queue-express-to-queue): Add debug call.
1445 Run feedmail-queue-express-hook.
1446 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1447 (feedmail-message-action-help-blat):
1448 Rename from feedmail-queue-send-edit-prompt-help-first.
1449 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1450 Check line-endings. Handle errors better.
1451 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1452 Doc fix. Add debug call.
1453 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1454 Use feedmail-queue-send-edit-prompt-inner.
1455 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1456 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1457 from feedmail-queue-send-edit-prompt.
1458 (feedmail-queue-send-edit-prompt-help)
1459 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1460 (feedmail-tidy-up-slug): Add debug call.
1461 Respect feedmail-queue-slug-suspect-regexp.
1462 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1463 (feedmail-dump-message-to-queue): Add debug call.
1464 Expand queue-directory.
1465 (feedmail-dump-message-to-queue): Change message slightly.
1466 Use feedmail-say-chatter.
1467 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1468 (feedmail-send-it-immediately-wrapper): New function.
1469 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1470 Insert empty string rather than newline. Handle full-frame case.
1471 Use catch/throw. Use feedmail-say-chatter.
1472 (feedmail-fiddle-from): Try mail-host-address.
1473 (feedmail-default-message-id-generator): Doc fix.
1474 Bind system-time-locale. Handle missing end.
1475 (feedmail-fiddle-x-mailer): Add debug call.
1476 Handle feedmail-x-mailer-line being nil.
1477 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1478 Add debug call. Use buffer-substring-no-properties.
1479 (feedmail-say-debug, feedmail-say-chatter): New functions.
1480 (feedmail-find-eoh): Give an explicit error.
1482 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
1484 * net/newst-treeview.el (newsticker-treeview-face): Change default
1485 family from helvetica to sans.
1486 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1487 etc/images/newsticker.
1489 * net/newst-reader.el (newsticker-feed-face): Change default
1490 family from helvetica to sans.
1492 * net/newst-plainview.el (newsticker-new-item-face)
1493 (newsticker-old-item-face, newsticker-immortal-item-face)
1494 (newsticker-obsolete-item-face, newsticker-date-face)
1495 (newsticker-statistics-face): Change default family from
1497 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1498 etc/images/newsticker.
1500 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1501 (newsticker--process-auto-mark-filter-match): : Tell user about
1504 2011-05-13 Didier Verna <didier@xemacs.org>
1506 Common Lisp indentation improvements on defmethod and lambda-lists.
1507 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1508 (lisp-lambda-list-keyword-parameter-indentation)
1509 (lisp-lambda-list-keyword-parameter-alignment)
1510 (lisp-lambda-list-keyword-alignment): New customizable user options.
1511 (lisp-indent-defun-method): Improve docstring.
1512 (extended-loop-p): Fix comment.
1513 (lisp-indent-lambda-list-keywords-regexp): New variable.
1514 (lisp-indent-lambda-list): New function.
1515 (lisp-indent-259): Use it.
1516 (lisp-indent-defmethod): Support for more than one
1517 method qualifier and properly indent methods lambda-lists.
1518 (defgeneric): Provide a missing common-lisp-indent-function property.
1520 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1522 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1523 bounds for the empty string (bug#8667).
1525 2011-05-13 Glenn Morris <rgm@gnu.org>
1527 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1529 * mail/sendmail.el (sendmail-program): Try executable-find first.
1530 (sendmail-send-it): `sendmail-program' cannot be unbound.
1532 * calendar/appt.el (appt-make-list): Simplify.
1533 (appt-time-msg-list): Doc fix.
1534 (appt-check): Change mode-line message at the time of the appointment.
1536 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1538 * progmodes/ld-script.el (ld-script-keywords)
1539 (ld-script-builtins): Update keywords list.
1541 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1543 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1545 * shell.el (shell-completion-vars): New function.
1547 * simple.el (read-shell-command): Use it.
1548 (blink-matching-open): No need for " [...]" in minibuffer-message.
1550 2011-05-12 Glenn Morris <rgm@gnu.org>
1552 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1553 (appt-check): Simplify.
1555 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1557 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1558 literal "/dev/null".
1560 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1565 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1567 * progmodes/which-func.el (which-function):
1568 Use add-log-current-defun instead of add-log-current-defun-function,
1569 which might not be defined (Bug#8260).
1571 2011-05-12 Glenn Morris <rgm@gnu.org>
1573 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1574 Let byte-compile-initial-macro-environment always take precedence.
1576 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * net/rcirc.el: Add support for SSL/TLS connections.
1579 (rcirc-server-alist): New field `encryption'.
1580 (rcirc): Check `encryption' settings.
1581 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1582 Merge make-local-variable into `set'.
1583 (rcirc--connection-open-p): New function.
1584 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1585 the process is not a network process (e.g. running gnutls-cli).
1586 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1587 Make rcirc-(en|de)code-coding-system local here.
1588 (rcirc-mode): Merge make-local-variable into `set'.
1589 (rcirc-parent-buffer): Make permanent buffer-local.
1590 (rcirc-multiline-minor-mode): Don't do it here.
1591 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1592 there's no server buffer.
1594 2011-05-11 Glenn Morris <rgm@gnu.org>
1596 * newcomment.el (comment-kill): Prefix "unused" local.
1598 * term/w32console.el (get-screen-color): Declare.
1600 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1601 Handle symbol elements of byte-compile-initial-macro-environment.
1603 2011-05-10 Leo Liu <sdl.web@gmail.com>
1605 * bookmark.el (bookmark-bmenu-mode-map):
1606 Bind bookmark-bmenu-search to `/'.
1608 * mail/footnote.el: Convert to utf-8 encoding.
1609 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1610 (Footnote-unicode): New function.
1611 (footnote-style-alist): Add unicode style to the list.
1612 (footnote-style): Doc fix.
1614 2011-05-10 Jim Meyering <meyering@redhat.com>
1616 Fix doubled-word typos.
1617 * international/quail.el (quail-insert-kbd-layout): and and -> and
1618 * kermit.el: and and -> and
1619 * net/ldap.el (ldap-search-internal): to to -> to
1620 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1621 * progmodes/js.el (js-mode): and and -> and
1622 * textmodes/artist.el (artist-move-to-xy): at at -> at
1623 (artist-draw-region-trim-line-endings): if if -> if
1624 And Safetyc -> Safety.
1625 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1627 2011-05-10 Glenn Morris <rgm@gnu.org>
1628 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * files.el (hack-one-local-variable-eval-safep):
1631 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1633 2011-05-10 Glenn Morris <rgm@gnu.org>
1635 * calendar/diary-lib.el (diary-list-entries-hook)
1636 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1637 (diary-nongregorian-marking-hook, diary-list-entries)
1638 (diary-include-other-diary-files, diary-mark-entries)
1639 (diary-mark-included-diary-files): Doc fixes.
1641 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1643 * misc.el: Require tabulated-list.el during compilation.
1645 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1647 * progmodes/compile.el (compilation-start):
1648 Run compilation-filter-hook for the async case too.
1649 (compilation-filter-hook): Doc fix.
1651 2011-05-09 Deniz Dogan <deniz@dogan.se>
1653 * wdired.el: Remove outdated installation comment. Fix usage
1656 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1658 * misc.el: Implement new command `list-dynamic-libraries'.
1659 (list-dynamic-libraries--loaded-only-p): New variable.
1660 (list-dynamic-libraries--refresh): New function.
1661 (list-dynamic-libraries): New command.
1663 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1666 Fix the ant regexp to handle end-line and end-column info from jikes.
1667 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1668 higher priority to avoid clobbering by gnu.
1670 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1672 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1673 if the face has existing theme settings (Bug#8454).
1675 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1677 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1678 Only match variables declared via `my' or `our' (Bug#8261).
1680 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1681 special file names `.' and `..' (Bug#8259).
1683 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1685 * progmodes/grep.el (grep-mode-font-lock-keywords):
1686 Remove buffer-changing entries.
1687 (grep-filter): New function.
1688 (grep-mode): Add it to compilation-filter-hook.
1690 * progmodes/compile.el (compilation-filter-hook)
1691 (compilation-filter-start): New defvars.
1692 (compilation-filter): Call compilation-filter-hook prior to
1693 updating the process mark.
1695 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1699 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1701 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1702 mailclient-send-it even if window-system is nil. (Bug#8595)
1704 * term/w32console.el (terminal-init-w32console):
1705 Call get-screen-color and use its output to set the frame
1706 background-mode. (Bug#8597)
1708 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1710 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1711 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1713 (defgeneric, eieio--defmethod): Use them.
1714 (eieio-defgeneric): Remove.
1715 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1717 2011-05-07 Glenn Morris <rgm@gnu.org>
1719 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1720 Use let rather than let*.
1721 (timeclock-find-discrep): Remove unused local.
1723 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1725 * calendar/appt.el (appt-time-msg-list): Doc fix.
1727 2011-05-06 Noah Friedman <friedman@splode.com>
1729 * apropos.el (apropos-print-doc): Only use
1730 emacs-lisp-docstring-fill-column when it is bound to an integer,
1731 per that variable's documentation.
1733 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1736 and warnings are not silently discarded (e.g. use -d instead of -P).
1738 2011-05-06 Glenn Morris <rgm@gnu.org>
1740 * calendar/appt.el (appt-message-warning-time): Doc fix.
1741 (appt-warning-time-regexp): New option.
1742 (appt-make-list): Respect appt-message-warning-time.
1744 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1746 (diary-add-to-list): Strip comments from the displayed string.
1747 (diary-mode): Set comment-start and comment-end.
1749 * vc/diff-mode.el (smerge-refine-subst): Declare.
1750 (diff-refine-hunk): Don't require smerge-mode when compiling.
1752 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1754 * simple.el (list-processes): Return nil as the docstring says.
1756 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1758 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1760 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1761 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1762 determining of binary transfer. (Bug#7383)
1764 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
1766 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1767 Fix port computation bug. (Bug#8618)
1769 2011-05-05 Glenn Morris <rgm@gnu.org>
1771 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1773 * simple.el (shell-dynamic-complete-functions)
1774 (comint-dynamic-complete-functions): Declare.
1776 * net/network-stream.el (gnutls-negotiate):
1777 * simple.el (tabulated-list-print): Fix declarations.
1779 * progmodes/gud.el (syntax-symbol, syntax-point):
1780 Remove unnecessary and incorrect declarations.
1782 * emacs-lisp/check-declare.el (check-declare-scan):
1783 Handle byte-compile-initial-macro-environment in bytecomp.el
1785 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1787 Fix earlier half-done eieio-defmethod change (bug#8338).
1788 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1789 Streamline and change calling convention.
1790 (defmethod): Adjust accordingly and simplify.
1791 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1792 new eieio--defmethod.
1793 (slot-boundp): Minor CSE simplification.
1795 2011-05-05 Milan Zamazal <pdm@zamazal.org>
1797 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1798 (glasses-make-readable): Use glasses-separate-capital-groups.
1800 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
1802 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1803 (warning-series): Doc fix.
1804 (display-warning): Don't try to create the buffer if we just found it.
1806 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
1808 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1809 (autoload-find-generated-file): New function.
1810 (generate-file-autoloads): Bind generated-autoload-file to
1812 (update-file-autoloads, update-directory-autoloads):
1813 Use autoload-find-generated-file. If called interactively, prompt for
1814 output file (Bug#7989).
1815 (batch-update-autoloads): Doc fix.
1817 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1819 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1821 2011-05-04 Glenn Morris <rgm@gnu.org>
1823 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1824 function, so it follows changes in calendar-date-style.
1825 (diary-fancy-date-matcher): New function.
1826 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1827 (diary-fancy-font-lock-fontify-region-function):
1828 Use diary-fancy-date-pattern as a function.
1830 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1831 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1833 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1835 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1836 instead of positional arguments. Allow :keylist and :crlfiles
1838 (open-gnutls-stream): Call it.
1840 * net/network-stream.el (network-stream-open-starttls): Adjust to
1841 call `gnutls-negotiate' with :process and :hostname arguments.
1843 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * minibuffer.el (completion--message): New function.
1846 (completion--do-completion, minibuffer-complete)
1847 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1848 (completion--do-completion): Don't ignore completion-auto-help when in
1851 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1852 internal encoding (e.g. tibetan zero is not whitespace).
1853 (global-whitespace-mode): Prefer save-current-buffer.
1854 (whitespace-trailing-regexp): Remove useless save-match-data.
1855 (whitespace-empty-at-bob-regexp): Minor simplification.
1857 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
1859 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1861 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1863 * textmodes/ispell.el (ispell-add-per-file-word-list):
1864 Use `concat' to create string for insertion.
1866 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1869 Avoid open-line which runs post-self-insert-hook.
1870 (bibtex-fill-entry): Remove unused `end' var.
1872 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1874 * textmodes/ispell.el (ispell-add-per-file-word-list):
1875 Protect against `nil' value of `comment-start' (Bug#8579).
1877 2011-05-03 Leo Liu <sdl.web@gmail.com>
1879 * isearch.el (isearch-yank-pop): New command.
1880 (isearch-mode-map): Bind it to `M-y'.
1881 (isearch-forward): Mention it.
1883 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * simple.el (minibuffer-complete-shell-command): Remove.
1886 (minibuffer-local-shell-command-map): Use completion-at-point.
1887 (read-shell-command): Setup completion vars here instead.
1888 (read-expression-map): Bind TAB to symbol completion.
1890 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1891 error directly rather via storing it into `results'.
1893 2011-05-02 Leo Liu <sdl.web@gmail.com>
1895 * vc/diff.el: Fix description.
1897 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1899 * server.el (server-eval-at): New function.
1901 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1903 * net/network-stream.el (open-network-stream): Take a :nowait
1904 parameter and pass it on to `make-network-process'.
1905 (network-stream-open-plain): Ditto.
1907 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1909 * faces.el (face-spec-set-match-display): Don't match toolkit
1910 options on terminal frames.
1912 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1914 * progmodes/pascal.el: Use lexical binding.
1915 (pascal-mode-map): Remove author preferences.
1917 * pcomplete.el (pcomplete-std-complete): Don't abuse
1918 completion-at-point.
1920 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1922 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1923 removing code that has been dead since 1991 or so.
1925 * startup.el (command-line): When warning about "_emacs", use a
1926 delayed warning to allow the user to filter it out.
1928 2011-04-28 Deniz Dogan <deniz@dogan.se>
1930 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1931 user has not joined.
1933 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1936 aren't any completions at point.
1938 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1940 * subr.el (display-delayed-warnings): New function.
1941 (delayed-warnings-hook): New variable.
1943 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * minibuffer.el (completion-at-point, completion-help-at-point):
1946 Don't presume that a given completion-at-point-function will always
1947 use the same calling convention.
1949 * pcomplete.el (pcomplete-completions-at-point):
1950 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1951 pcomplete-seen is non-nil.
1952 (pcomplete-comint-setup): Also recognize the new comint/shell
1953 completion functions.
1954 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1955 pcomplete-seen is non-nil.
1957 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1959 * calendar/icalendar.el (diary-lib): Add require statement.
1960 (icalendar--create-uid): Read out a uid from a text-property on
1961 the first character in the entry. This allows for code to add its
1962 own uid to the entry.
1963 (icalendar--convert-float-to-ical): Add export of
1964 `diary-float'-entries save for those with the optional DAY
1967 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1969 * subr.el (shell-quote-argument): Use alternate escaping strategy
1970 when we spot a variable reference in a string.
1972 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1974 * cus-start.el (all): Define customization for debug-on-event.
1976 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1978 * subr.el (shell-quote-argument): Escape correctly under Windows.
1980 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1984 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1986 * net/tramp.el (tramp-process-actions): Add POS argument.
1987 Delete region between POS and (pos).
1989 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1990 Use `nil' position in `tramp-process-actions' call.
1991 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1993 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1994 position in `tramp-process-actions' call.
1996 * net/trampver.el: Update release number.
1998 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2000 * custom.el (defcustom): Obey lexical-binding.
2002 Fix octave-inf completion problems reported by Alexander Klimov.
2003 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2004 Inherit from octave-mode-syntax-table.
2005 (inferior-octave-mode): Set info-lookup-mode.
2006 (inferior-octave-completion-at-point): New function.
2007 (inferior-octave-complete): Use it and completion-in-region.
2008 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2009 comint-filename-completion.
2010 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2011 symbol elements which shouldn't be word elements.
2012 (octave-font-lock-keywords, octave-beginning-of-defun)
2013 (octave-function-header-regexp): Adjust regexps accordingly.
2014 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2016 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
2018 * net/gnutls.el (gnutls-errorp): Declare before first use.
2020 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2022 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2023 verify-error, and verify-hostname-error parameters. Check whether
2024 default trustfile exists before going to use it. Add missing
2025 argument to gnutls-message-maybe call. Return return value.
2026 Reported by Claudio Bley <claudio.bley@gmail.com>.
2027 (open-gnutls-stream): Add usage example.
2029 * net/network-stream.el (network-stream-open-starttls): Give host
2030 parameter to `gnutls-negotiate'.
2031 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2032 * subr.el (shell-quote-argument): Escape correctly under Windows.
2034 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
2036 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2037 Use correct match group (bug#8438).
2039 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2041 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2042 (package-menu--generate): New arg specifying packages to show.
2043 (package-menu-refresh, package-menu-execute, list-packages):
2045 (package-show-package-list): New function, replacing deleted
2046 package--list-packages (renamed because it is non-internal).
2048 * finder.el (finder-list-matches): Use package-show-package-list
2049 instead of deleted package--list-packages.
2051 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2052 Based on a previous implementation by Juanma Barranquero (Bug#8366).
2053 (vc-annotate-mode-map): Bind it to RET.
2055 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2057 * progmodes/etags.el (next-file): Don't use set-buffer to change
2060 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2062 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2064 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2065 (apropos-accumulator): Doc fix.
2066 (apropos-function, apropos-macro, apropos-command)
2067 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2068 (apropos-plist): Add face property.
2069 (apropos-symbols-internal): Fix indentation.
2070 (apropos-print): Simplify help, and recognize apropos-multi-type.
2071 (apropos-print-doc): Use button-type-get to extract the button's
2072 face property. Fill docstring (Bug#8352).
2074 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
2076 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2078 * play/mpuz.el (mpuz-silent): Doc fix.
2079 (mpuz-mode-map): Use mapc.
2080 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2081 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2082 Fix typos in docstrings.
2084 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2085 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2087 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2089 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
2091 * minibuffer.el (completion--do-completion): Avoid the "Next char
2092 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2094 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2095 mouse-2 into unread-command-events, it is interpreted correctly.
2097 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2098 (image-toggle-display): Doc fix.
2100 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
2102 * textmodes/page.el (what-page): Use line-number-at-pos to
2103 calculate line number (Bug#6825).
2105 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2107 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2108 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2109 Pass argument NO-DEFAULT to `find-tag-interactive'.
2111 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2113 Lexical-binding cleanup.
2115 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2116 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2117 * progmodes/ada-prj.el (ada-prj-initialize-values)
2118 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2119 (ada-prj-show-value):
2120 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2121 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2122 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2123 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2124 * progmodes/bug-reference.el (bug-reference-push-button):
2125 * progmodes/fortran.el (fortran-line-length):
2126 * progmodes/glasses.el (glasses-change):
2127 * progmodes/octave-mod.el (octave-fill-paragraph):
2128 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2129 (python-pdbtrack-grub-for-buffer, python-sentinel):
2130 * progmodes/sql.el (sql-save-connection):
2131 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2132 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2133 Mark unused parameters.
2135 * progmodes/compile.el (compilation--flush-directory-cache)
2136 (compilation--flush-parse, compile-internal): Mark unused parameters.
2137 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2138 (compilation-next-error-function): Remove unused variable `timestamp'.
2140 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2141 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2143 * progmodes/dcl-mode.el (dcl-end-of-command):
2144 Remove unused variable `start'.
2145 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2146 (dcl-option-value-basic, dcl-option-value-offset)
2147 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2148 Mark unused parameters.
2149 (dcl-save-local-variable): Remove unused variable `val'.
2152 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2153 Mark unused parameters.
2154 (delphi-ignore-changes): Move before first use.
2155 (delphi-charset-token-at): Remove unused variable `start'.
2156 (delphi-else-start): Remove unused variable `if-count'.
2157 (delphi-comment-block-start, delphi-comment-block-end):
2158 Remove unused variable `kind'.
2159 (delphi-indent-line): Remove unused variable `new-point'.
2161 * progmodes/ebrowse.el (ebrowse-files-list)
2162 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2163 Mark unused parameters. Don't quote `lambda'.
2164 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2165 Don't quote `lambda'.
2166 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2167 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2168 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2169 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2170 Use `ignore-errors'.
2171 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2172 (ebrowse-view/find-file-and-search-pattern)
2173 (ebrowse-view/find-member-declaration/definition):
2174 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2175 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2176 Rename parameter PREFIX-ARG to PREFIX.
2177 (ebrowse-tags-read-name): Remove unused variables `start' and
2179 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2182 * progmodes/etags.el (local-find-tag-hook): Declare.
2183 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2184 Mark unused parameters.
2186 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2187 (executable-interpret): Mark unused parameter.
2189 * progmodes/flymake.el (flymake-process-sentinel)
2190 (flymake-after-change-function)
2191 (flymake-create-temp-with-folder-structure)
2192 (flymake-get-include-dirs-dot): Mark unused parameters.
2193 (flymake-safe-delete-directory): Remove unused variable `err'.
2195 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2196 (speedbar-timer-fn, speedbar-line-text)
2197 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2198 (speedbar-center-buffer-smartly): Declare functions.
2199 (gdb-find-watch-expression): Remove unused variable `array'.
2200 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2201 (gdb-starting): Mark unused parameters.
2202 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2203 (gdb-table-string): Remove unused variable `res'.
2204 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2205 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2206 (gdb-display-buffer): Remove unused variable `cur-size'.
2208 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2209 allow lexical-binding compilation.
2210 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2211 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2212 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2213 Mark unused parameters.
2214 (gud-gdb-marker-filter): Remove unused variable `match'.
2215 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2216 lambda expressions and funcall them, instead of using `fset'.
2218 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2219 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2221 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2222 variable `header-beg'; use `let'.
2224 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2225 `restart', `last-sexp' and `at-do'.
2227 * progmodes/js.el (js--debug): Mark unused parameter.
2228 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2229 (js--splice-into-items): Remove unused variable `item'.
2230 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2232 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2233 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2234 (makefile-complete): Remove unused variable `try'.
2235 (makefile-fill-paragraph, makefile-match-function-end):
2236 Mark unused parameters.
2238 * progmodes/octave-inf.el (inferior-octave-complete):
2239 Remove unused variable `proc'.
2240 (inferior-octave-output-digest): Mark unused parameter.
2242 * progmodes/perl-mode.el (perl-calculate-indent):
2243 Remove unused variable `err'.
2245 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2246 (prolog-indent-line): Mark unused parameters.
2247 (prolog-indent-line): Remove unused variable `beg'.
2249 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2250 (reporter-dont-compact-list): Declare.
2252 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2253 Remove unused variable `char'.
2254 (sh-debug): Mark unused parameter.
2255 (sh-get-indent-info): Remove unused variable `start'.
2256 (sh-calculate-indent): Remove unused variable `var'.
2258 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2259 (simula-electric-keyword): Remove unused variable `null'.
2260 (simula-search-backward, simula-search-forward): Remove unused
2261 variables `begin' and `end'.
2263 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2264 Remove unused variable `pos'.
2265 (vera-electric-tab, vera-comment-uncomment-region):
2266 Mark unused parameters.
2267 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2269 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
2271 * emacs-lisp/package.el (package--builtins, package-alist)
2272 (package-load-descriptor, package-built-in-p, package-activate)
2273 (define-package, package-installed-p)
2274 (package-compute-transaction, package-buffer-info)
2275 (package--push): Doc fix. Distinguish more clearly between
2276 version strings and version lists.
2278 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
2280 Lexical-binding cleanup.
2282 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2283 (5x5-make-mutate-best):
2284 * play/fortune.el (fortune-in-buffer):
2285 * play/gomoku.el (gomoku-init-display):
2286 * play/solitaire.el (solitaire, solitaire-do-check):
2287 * play/tetris.el (tetris-default-update-speed-function):
2288 Mark unused parameters.
2290 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2291 (bubbles--shift): Remove unused variable `char-org'.
2292 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2293 (bubbles--show-images): Remove unused variable `char'.
2295 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2296 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2297 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2298 (decipher-analyze-buffer): Use ?\s.
2299 (decipher-make-checkpoint): Remove unused variable `mapping'.
2301 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2303 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2304 Remove unused variable `result'; use `let'.
2306 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2307 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2308 (gametree-children-shown-p, gametree-compute-reduced-score):
2309 Use `ignore-errors'.
2311 * play/handwrite.el (ps-lpr-switches): Declare.
2312 (handwrite): Remove unused variables `pmin' and `lastp'.
2314 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2316 * play/landmark.el (landmark-init-display)
2317 (landmark-update-naught-weights): Mark unused parameters.
2318 (landmark-y): Remove unused variable `noise'. Simplify.
2319 (landmark-human-plays): Remove unused variable `score'.
2321 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2322 (mpuz-try-proposal): Remove unused variable `game'.
2324 * play/zone.el (life-patterns): Declare.
2326 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
2328 * vc/vc.el (ediff-vc-internal): Declare function.
2330 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * shell.el: Use lexical-binding and std completion UI.
2333 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2334 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2335 comint-preoutput-filter-functions rather than on
2336 comint-output-filter-functions.
2337 (shell-command-completion, shell--command-completion-data)
2338 (shell-filename-completion, shell-environment-variable-completion)
2339 (shell-c-a-p-replace-by-expanded-directory): New functions.
2340 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2341 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2342 (shell-dynamic-complete-environment-variable): Use them.
2343 (shell-dynamic-complete-as-environment-variable)
2344 (shell-dynamic-complete-as-command): Remove.
2345 (shell-match-partial-variable): Match past point.
2346 * comint.el: Clean up use of completion-at-point-functions.
2347 (comint-completion-at-point): New function.
2348 (comint-mode): Use it completion-at-point-functions.
2349 (comint-dynamic-complete): Make it obsolete.
2350 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2351 (comint-c-a-p-replace-by-expanded-history): New function.
2352 (comint-dynamic-complete-functions)
2353 (comint-replace-by-expanded-history): Use it.
2354 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2355 termination strings. Try harder to avoid second try-completion.
2356 (completion-in-region-mode-map): Disable bindings that don't work yet.
2358 * comint.el: Use lexical-binding. Require CL.
2359 (comint-dynamic-complete-functions): Use comint-filename-completion.
2360 (comint-completion-addsuffix): Tweak custom type.
2361 (comint-filename-completion, comint--common-suffix)
2362 (comint--common-quoted-suffix, comint--table-subvert)
2363 (comint--complete-file-name-data): New functions.
2364 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2365 (comint-dynamic-list-filename-completions): Use them.
2366 (comint-dynamic-simple-complete): Make obsolete.
2368 * minibuffer.el (completion-in-region-mode):
2369 Keep completion-in-region-mode--predicate global.
2370 (completion-in-region--postch):
2371 Assume completion-in-region-mode--predicate is not null.
2373 * progmodes/flymake.el (flymake-start-syntax-check-process):
2374 Obey `dir'. Simplify.
2376 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2377 we're in VC after all.
2379 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2381 * vc/vc.el (vc-diff-build-argument-list-internal)
2382 (vc-version-ediff, vc-ediff): New commands.
2383 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2385 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2390 * obsolete/erc-hecomplete.el: Make obsolete.
2391 * obsolete/: Standardize obsolescence info in the header.
2393 2011-04-20 Glenn Morris <rgm@gnu.org>
2395 * calendar/solar.el (solar-horizontal-coordinates):
2396 Use the longitude argument rather than `calendar-longitude'.
2397 (solar-date-next-longitude): Remove unused locals.
2399 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2401 * whitespace.el: New version 13.2.1.
2403 2011-04-20 felix <EmacsWiki> (tiny change)
2405 * whitespace.el (global-whitespace-mode): keep highlight when
2406 switching between major modes on a file.
2408 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2411 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2412 multi-line comments as well.
2414 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
2416 Lexical-binding cleanup.
2418 * arc-mode.el (archive-mode-revert):
2419 * cmuscheme.el (scheme-interactively-start-process):
2420 * custom.el (custom-initialize-delay):
2421 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2422 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2423 * emacs-lock.el (emacs-lock-clear-sentinel):
2424 * ezimage.el (defezimage):
2425 * follow.el (follow-avoid-tail-recenter):
2426 * fringe.el (set-fringe-mode-1):
2427 * generic-x.el (bat-generic-mode-compile):
2428 * help-mode.el (help-info-variable, help-do-xref)
2429 (help-mode-revert-buffer):
2430 * help.el (view-emacs-todo):
2431 * iswitchb.el (iswitchb-completion-help):
2432 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2433 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2434 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2435 * locate.el (locate-update):
2436 * longlines.el (longlines-encode-region)
2437 (longlines-after-change-function):
2438 * outline.el (outline-isearch-open-invisible):
2439 * ps-def.el (declare-function, charset-dimension, char-width)
2441 * ps-mule.el (ps-mule-plot-string):
2442 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2443 (recentf-edit-list-select, recentf-edit-list-validate)
2444 (recentf-open-files-action):
2445 * rect.el (delete-whitespace-rectangle-line)
2446 (rectangle-number-line-callback):
2447 * register.el (window-configuration-to-register)
2448 (frame-configuration-to-register):
2449 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2450 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2451 (xselect-convert-to-targets, xselect-convert-to-delete)
2452 (xselect-convert-to-filename, xselect-convert-to-charpos)
2453 (xselect-convert-to-lineno, xselect-convert-to-colno)
2454 (xselect-convert-to-os, xselect-convert-to-host)
2455 (xselect-convert-to-user, xselect-convert-to-class)
2456 (xselect-convert-to-name, xselect-convert-to-integer)
2457 (xselect-convert-to-atom, xselect-convert-to-identity):
2458 * subr.el (declare, ignore, process-kill-without-query)
2459 (text-clone-maintain):
2460 * terminal.el (te-get-char, te-tic-sentinel):
2461 * tool-bar.el (tool-bar-make-keymap):
2462 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2463 * type-break.el (type-break-mode, type-break-noninteractive-query):
2464 * view.el (View-back-to-mark):
2465 * wid-browse.el (widget-browse-action, widget-browse-widget)
2466 (widget-browse-widgets, widget-browse-sexp):
2467 * widget.el (define-widget-keywords):
2468 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2469 Mark unused parameters.
2471 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2472 (align-areas): Remove unused variable `look'.
2473 (align-region): Remove unused variables `real-end' and `pos-list'.
2475 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2477 * bindings.el (mode-line-modified, mode-line-remote):
2478 Mark unused parameters.
2479 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2481 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2482 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2484 * comint.el (comint-history-isearch-pop-state)
2485 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2486 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2487 (comint-substitute-in-file-name): Doc fix.
2489 * completion.el (cmpl-statistics-block): Mark unused parameter.
2490 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2491 (save-completions-to-file, load-completions-from-file):
2492 Remove unused local variable `e'.
2494 * composite.el (compose-chars): Remove unused variable `len'.
2495 (lgstring-insert-glyph): Remove unused variable `g'.
2496 (compose-glyph-string): Remove unused variables `ascent',
2497 `descent', `lbearing' and `rbearing'.
2498 (compose-glyph-string-relative): Remove unused variables
2499 `lbearing', `rbearing' and `wadjust'.
2500 (compose-gstring-for-graphic): Remove unused variables `header',
2501 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2502 (compose-gstring-for-terminal): Remove unused variables `header'
2503 and `nchars'. Use `let', not `let*'.
2505 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2506 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2507 (Custom-buffer-done, custom-buffer-create-internal)
2508 (custom-browse-visibility-action, custom-browse-group-tag-action)
2509 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2510 (widget-magic-mouse-down-action, custom-toggle-parent)
2511 (custom-add-parent-links, custom-toggle-hide-variable)
2512 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2513 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2514 (custom-face-menu-create, custom-variable-menu-create, get)
2515 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2516 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2517 (customize-apropos): Remove unused variable `tests'.
2518 (custom-group-value-create): Remove unused variable `hidden-p'.
2519 (sort-fold-case): Declare.
2521 * cus-theme.el (custom-reset-standard-faces-list)
2522 (custom-reset-standard-variables-list): Declare.
2523 (customize-create-theme, custom-theme-revert, custom-theme-write)
2524 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2525 Mark unused parameters.
2527 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2529 * delim-col.el (delimit-columns-max): Move defvar before first use.
2531 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2532 (describe-char): Don't quote `lambda'. Mark unused parameter.
2534 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2535 (auto-insert): Declare.
2536 (desktop-restore-file-buffer): Rename desktop-* parameters;
2538 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2539 (desktop-buffer): Rename desktop-* parameters.
2541 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2542 (dframe-reposition-frame-xemacs, dframe-help-echo)
2543 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2544 Mark unused parameters.
2546 * dired-aux.el (backup-extract-version-start, overwrite-query)
2547 (overwrite-backup-query, rename-regexp-query)
2548 (rename-non-directory-query): Declare.
2549 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2550 (dired-add-entry): Remove unused variable `orig-file-name'.
2551 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2552 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2553 `dired-copy-preserve-time' directly.
2554 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2555 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2557 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2558 (dired-virtual-revert, dired-make-relative-symlink):
2559 Mark unused parameters.
2560 (manual-program): Declare.
2561 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2562 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2563 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2565 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2567 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2569 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2572 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2574 * electric.el (Electric-command-loop): Rename parameter
2575 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2577 * expand.el (expand-in-literal): Remove unused variable `here'.
2579 * facemenu.el (facemenu-add-new-color):
2580 Remove unused variable `docstring'.
2582 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2583 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2584 (face-attr-construct): Mark unused parameter. Doc fix.
2585 (read-color): Remove unused variable `hex-string'.
2587 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2588 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2589 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2590 (display-buffer-other-frame): Remove unused variable `old-window'.
2591 (kill-buffer-hook): Declare.
2592 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2593 Mark unused parameters.
2594 (after-find-file): Pass 1 to `auto-save-mode', not t.
2596 * files-x.el (auto-insert): Declare.
2597 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2599 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2600 variable `buf'. Mark unused parameter.
2601 (find-lisp-insert-directory): Mark unused parameter.
2603 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2604 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2605 (format-common-tail): Remove, unused.
2606 (format-deannotate-region): Remove unused variable `loc'.
2607 (format-annotate-region): Remove unused variable `p'.
2608 (format-annotate-single-property-change): Remove unused variables
2609 `default' and `tail'.
2611 * forms.el (read-file-filter): Declare.
2612 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2614 * frame.el (frame-creation-function-alist): Mark unused parameter.
2615 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2617 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2618 Remove unused parameters.
2619 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2620 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2622 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2623 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2624 (hfy-prepare-tag-map): Mark unused parameters.
2625 (htmlfontify-buffer): Use `called-interactively-p'.
2627 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2628 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2629 (ibuffer-do-occur): Mark unused parameters.
2630 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2631 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2633 * ibuffer.el: Don't quote `lambda'.
2634 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2635 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2636 Mark unused parameters.
2638 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2639 (ido-completing-read): Mark unused parameters.
2640 (ido-copy-current-word): Mark unused parameters;
2641 remove unused variable `name'.
2642 (ido-sort-merged-list): Remove unused parameter `dirs'.
2644 * ielm.el (ielm-input-sender): Mark unused parameter.
2645 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2646 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2647 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2648 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2649 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2651 * image-dired.el (image-dired-display-thumbs): Remove unused
2652 variables `curr-file' and `count'.
2653 (image-dired-remove-tag): Remove unused variable `start'.
2654 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2655 variable `curr-file'
2656 (image-dired-rotate-original): Remove unused variable `temp-file'.
2657 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2658 Remove unused variable `file'.
2659 (image-dired-gallery-generate): Remove unused variable `curr'.
2660 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2662 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2664 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2666 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2668 * isearch.el (minibuffer-history-symbol): Declare.
2669 (isearch-edit-string): Remove unused variable `err'.
2670 (isearch-message-prefix, isearch-message-suffix):
2671 Mark unused parameters.
2673 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2675 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2677 * makesum.el (double-column): Remove unused variable `cnt'.
2679 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2680 (ido-ignore-item-temp-list): Declare.
2682 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2683 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2684 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2685 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2688 * mouse-sel.el (mouse-extend-internal):
2689 Remove unused variable `orig-window-frame'.
2691 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2692 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2693 Move declarations before first use.
2694 (pcomplete-opt): Mark unused parameters; doc fix.
2696 * proced.el (proced-revert): Mark unused parameter.
2697 (proced-send-signal): Remove unused variable `err'.
2699 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2700 Rename parameter PREFIX-ARG to ARG.
2701 (ps-basic-plot-string, ps-basic-plot-whitespace):
2702 Mark unused parameters.
2704 * replace.el (replace-count): Define.
2705 (occur-revert-function): Mark unused parameters.
2706 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2707 (isearch-case-fold-search, isearch-string): Declare.
2708 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2709 bind `case-fold-search'. Remove unused variables `beg' and `end',
2711 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2712 COUNT and bind `replace-count'.
2713 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2716 * savehist.el (print-readably, print-string-length): Declare.
2718 * shadowfile.el (shadow-expand-cluster-in-file-name):
2719 Remove unused variable `cluster'.
2720 (shadow-copy-file): Remove unused variable `i'.
2721 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2722 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2723 (shadow-define-literal-group, shadow-define-regexp-group)
2724 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2726 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2727 (shell): Use `called-interactively-p'.
2728 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2730 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2731 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2732 (delete-backward-char): Remove unused variable `ocol'.
2733 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2734 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2735 (event-apply-hyper-modifier, event-apply-shift-modifier)
2736 (event-apply-control-modifier, event-apply-meta-modifier):
2737 Mark unused parameters.
2738 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2739 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2741 * speedbar.el (speedbar-ignored-directory-expressions)
2742 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2743 (speedbar-find-file, speedbar-dir-follow)
2744 (speedbar-directory-buttons-follow, speedbar-tag-find)
2745 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2746 (speedbar-buffers-line-directory, speedbar-buffer-click):
2747 Mark unused parameters.
2748 (speedbar-tag-file): Remove unused variable `mode'.
2749 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2751 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2753 * talk.el (talk): Remove unused variable `display'.
2755 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2756 (tar-write-region-annotate): Mark unused parameter.
2758 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2759 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2760 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2763 * time-stamp.el (time-stamp-string-preprocess):
2764 Remove unused variable `require-padding'.
2766 * tree-widget.el (widget-glyph-enable): Declare.
2767 (tree-widget-action): Mark unused parameter.
2769 * w32-fns.el (x-get-selection): Mark unused parameter.
2770 (autoload-make-program, generated-autoload-file): Declare.
2772 * wdired.el (wdired-revert): Mark unused parameters.
2773 (wdired-xcase-word): Remove unused variable `err'.
2775 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2776 (whitespace-help-scroll): Remove unused variable `data-help'.
2778 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2779 (widget-image-insert, widget-after-change, default)
2780 (widget-default-format-handler, widget-default-notify)
2781 (widget-default-prompt-value, widget-info-link-action)
2782 (widget-url-link-action, widget-function-link-action)
2783 (widget-variable-link-action, widget-file-link-action)
2784 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2785 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2786 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2787 (widget-insert-button-action, widget-delete-button-action, visibility)
2788 (widget-documentation-link-action, widget-documentation-string-action)
2789 (widget-const-prompt-value, widget-regexp-match, symbol)
2790 (widget-coding-system-prompt-value)
2791 (widget-key-sequence-value-to-external, sexp)
2792 (widget-sexp-value-to-internal, character, vector, cons)
2793 (widget-choice-prompt-value, widget-boolean-prompt-value)
2794 (widget-color--choose-action): Mark unused parameters.
2795 (widget-item-match-inline, widget-choice-match-inline)
2796 (widget-checklist-match, widget-checklist-match-inline)
2797 (widget-group-match): Rename parameter VALUES to VALS.
2798 (widget-field-value-set): Remove unused variable `size'.
2799 (widget-color-action): Remove unused variables `value' and `start'.
2801 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2802 variable `dir'. Doc fix.
2803 (windmove-find-other-window): Don't pass it.
2805 * window.el (count-windows): Mark unused parameter.
2806 (bw-adjust-window): Remove unused variable `err'.
2808 * woman.el (woman-file-name): Remove unused variable `default'.
2809 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2810 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2811 (global-font-lock-mode): Declare.
2812 (woman-decode-region): Mark unused parameter.
2813 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2815 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2816 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2817 (x-dnd-handle-moz-url): Remove unused variable `title'.
2818 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2820 * xml.el (xml-parse-tag, xml-parse-attlist):
2821 Remove unused variable `pos'.
2823 2011-04-19 Glenn Morris <rgm@gnu.org>
2825 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2826 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2827 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2828 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2829 * calendar/cal-html.el (cal-html-insert-minical):
2830 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2831 (calendar-mark-date-pattern):
2832 Prefix "unused" locals.
2834 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2835 optional argument `style'.
2837 * calendar/appt.el (appt-make-list):
2838 * calendar/cal-china.el (calendar-chinese-date-string):
2839 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2840 (diary-hebrew-yahrzeit):
2841 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2842 * calendar/calendar.el (calendar-generate-window):
2843 * calendar/time-date.el (time-to-days):
2844 Remove unused local variables.
2846 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
2848 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2849 glyphless-char-display table.
2850 (tabulated-list-glyphless-char-display): New var.
2852 2011-04-18 Sam Steingold <sds@gnu.org>
2854 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2857 2011-04-17 Glenn Morris <rgm@gnu.org>
2859 * calendar/diary-lib.el (diary-sexp-entry):
2860 * calendar/holidays.el (holiday-sexp):
2861 Set debug-on-error rather than the removed stack-trace-on-error.
2863 2011-04-16 Glenn Morris <rgm@gnu.org>
2865 * progmodes/f90.el: Use lexical-binding.
2866 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2868 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2871 (mail-mode): Setup mailalias completion here instead.
2872 * mail/mailalias.el: Use lexical-binding.
2873 (pattern, mailalias-done): Declare dynamic.
2874 (mail-completion-at-point-function): New function, from mail-complete.
2875 (mail-complete): Use it.
2876 (mail-completion-expand): New function.
2877 (mail-get-names): Use it.
2878 (mail-directory, mail-directory-process, mail-directory-stream):
2879 Don't use `pattern' for lexically bound arg.
2881 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2883 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2884 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2885 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2887 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2888 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2889 (byte-interactive-p): Define them again, for use when inlining
2892 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2894 * loadup.el: Use `string-to-number', not `string-to-int'.
2896 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2899 gud-gdb-complete-command.
2900 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2901 (gud-gdb-completion-at-point): New function.
2902 (gud-gdb-completions): Remove.
2904 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2906 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2907 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2908 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2909 whether `executable-find' is bound.
2911 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2913 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * minibuffer.el (completion-in-region-mode-predicate)
2916 (completion-in-region-mode--predicate): New vars.
2917 (completion-in-region, completion-in-region--postch)
2918 (completion-in-region-mode): Use them.
2919 (completion--capf-wrapper): Also return the hook function.
2920 (completion-at-point, completion-help-at-point):
2921 Adjust and provide a predicate.
2923 Preserve arg names for advice of subr and lexical functions (bug#8457).
2924 * help-fns.el (help-function-arglist): Consolidate the subr and
2925 new-byte-code cases. Add argument `preserve-names' to extract names
2926 from the docstring when needed.
2927 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2928 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2929 (ad-arglist): Use help-function-arglist's new arg.
2930 (ad-definition-type): Use cond.
2932 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2934 * autorevert.el (auto-revert-handler):
2935 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2936 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2939 * image-mode.el (image-transform-set-scale):
2940 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2942 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2944 * net/network-stream.el (network-stream-open-starttls): Only do
2945 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2946 Upgrades via gnutls-cli are too slow to be done opportunistically.
2948 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2950 * dframe.el (dframe-current-frame): Remove spurious quote.
2952 2011-04-12 Glenn Morris <rgm@gnu.org>
2954 * calendar/cal-tex.el (cal-tex-end-document):
2955 Try to automatically use latin1 input if needed.
2957 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2958 Don't try to cons a mark onto an empty element.
2960 2011-04-11 Leo Liu <sdl.web@gmail.com>
2962 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2964 (ido-kill-buffer-at-head): Support killing virtual buffers.
2966 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2968 * minibuffer.el (completion-show-inline-help): New var.
2969 (completion--do-completion, minibuffer-complete)
2970 (minibuffer-force-complete, minibuffer-complete-word):
2971 Inhibit minibuffer messages if completion-show-inline-help is nil.
2973 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2974 to avoid interference from inline help (Bug#5849).
2976 2011-04-10 Leo Liu <sdl.web@gmail.com>
2978 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2981 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2983 * image-mode.el (image-toggle-display-image): Signal an error if
2985 (image-transform-mode, image-transform-resize)
2986 (image-transform-set-rotation): Doc fix.
2987 (image-transform-set-resize): Delete.
2988 (image-transform-set-scale, image-transform-fit-to-height)
2989 (image-transform-fit-to-width): Handle image-toggle-display-image
2990 and image-transform-resize directly.
2992 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2994 * doc-view.el (doc-view-fit-width-to-window)
2995 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2996 New functions for fitting the shown image to the Emacs window size.
2997 (doc-view-mode-map): Add bindings for the new functions.
2999 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
3001 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3002 Fix typo in docstring.
3004 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3006 * files.el (file-size-human-readable): Produce one digit after
3007 decimal, like "ls -lh" does.
3009 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3010 the file size representation.
3012 * simple.el (list-processes): If async subprocesses are not
3013 available, error out with a clear error message.
3015 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
3017 * help.el (help-form-show): New function, to be called from C.
3018 Put help-form output in a buffer named differently than *Help*.
3020 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3022 * files.el (file-size-human-readable): New function.
3024 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3025 computing the representation inline. Don't require `cl'.
3027 2011-04-08 Glenn Morris <rgm@gnu.org>
3029 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3031 * net/browse-url.el (browse-url-firefox):
3032 Test system-type, not system-configuration.
3034 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3035 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3036 Use log-edit-empty-buffer-p. (Bug#7598)
3038 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3039 (rlogin-mode-map): Initialize in the defvar.
3040 (rlogin): Use ignore-errors.
3042 * replace.el (occur-mode-map): Some fixes for menu items.
3044 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3046 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3048 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3050 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3051 issuing unused warnings.
3053 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3056 * simple.el: Lisp reimplement of list-processes. Based on an
3057 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3058 (process-menu-mode): New major mode.
3059 (list-processes--refresh, list-processes):
3060 (process-menu-visit-buffer): New functions.
3062 * files.el (save-buffers-kill-emacs): Don't assume any return
3063 value of list-processes, which is undocumented anyway.
3065 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3067 * emacs-lisp/tabulated-list.el: New file.
3069 * emacs-lisp/package.el: Use Tabulated List mode.
3070 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3071 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3072 table format using Tabulated List mode variables.
3073 (package--push): New macro, replacing package-list-maybe-add.
3074 (package-menu--generate): Use package--push. Renamed from
3075 package--generate-package-list.
3076 (package-menu-refresh, list-packages): Use it.
3077 (package-menu--print-info): Rename from package-print-package.
3078 Return insertion data instead of inserting it directly.
3079 (package-menu-describe-package, package-menu-execute):
3080 Use tabulated-list-get-id.
3081 (package-menu-mark-delete, package-menu-mark-install)
3082 (package-menu-mark-unmark, package-menu-backup-unmark)
3083 (package-menu-mark-obsolete-for-deletion):
3084 Use tabulated-list-put-tag.
3085 (package--list-packages, package-menu-revert)
3086 (package-menu-get-package, package-menu-get-version)
3087 (package-menu-sort-by-column): Functions deleted.
3088 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3089 (package-menu--status-predicate, package-menu--version-predicate)
3090 (package-menu--name-predicate)
3091 (package-menu--description-predicate): Handle arguments in the
3092 Tabulated List format.
3093 (package-list-packages-no-fetch): Call list-packages.
3095 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
3097 * files.el (after-find-file-from-revert-buffer): Remove variable.
3098 (after-find-file): Don't bind it.
3099 (revert-buffer-in-progress-p): New variable.
3100 (revert-buffer): Bind it.
3101 Pass nil for `after-find-file-from-revert-buffer'.
3103 * saveplace.el (save-place-find-file-hook): Use new variable
3104 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3106 2011-04-06 Glenn Morris <rgm@gnu.org>
3108 * Makefile.in (AUTOGEN_VCS): New variable.
3109 (autoloads): Use $AUTOGEN_VCS.
3111 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3112 * calendar/calendar.el (calendar-mode-map):
3113 Check for toolkit scroll bars. (Bug#8305)
3115 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3117 * minibuffer.el (completion-in-region--postch)
3118 (completion-in-region-mode): Remove unnecessary messages.
3120 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3122 * font-lock.el (font-lock-refresh-defaults):
3123 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3124 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3126 * info.el (Info-directory-list, Info-read-node-name-2)
3127 (Info-split-parameter-string): Doc fixes.
3128 (Info-virtual-nodes): Reflow docstring.
3129 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3130 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3131 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3132 Fix typos in docstrings.
3133 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3134 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3135 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3136 (Info-restore-desktop-buffer): Mark unused parameters.
3137 (Info-directory-find-file, Info-directory-find-node)
3138 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3139 (Info-virtual-index-find-node, Info-apropos-find-file)
3140 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3141 Mark unused parameters; fix typos in docstrings.
3142 (Info-virtual-index): Remove unused local variable `nodename'.
3144 2011-04-05 Deniz Dogan <deniz@dogan.se>
3146 * net/rcirc.el: Update my e-mail address.
3147 (rcirc-mode-map): Remove M-o binding.
3149 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3151 * startup.el (command-line): Save the cursor's theme-face
3152 directly, instead of using face-override-spec.
3154 * custom.el (load-theme): Minor optimization in assigning faces.
3156 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3158 * help-fns.el (describe-variable): Complete all variables having
3159 documentation, including keywords.
3160 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3162 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3164 Convert to lexical-binding.
3166 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3167 (bs--get-marked-string, bs--get-modified-string)
3168 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3169 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3170 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3172 * ehelp.el (electric-help-execute-extended)
3173 (electric-help-ctrl-x-prefix):
3174 * hexl.el (hexl-revert-buffer-function):
3175 * linum.el (linum-after-change, linum-after-scroll):
3176 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3178 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3180 2011-04-04 Daiki Ueno <ueno@unixuser.org>
3187 * epg.el: Use lexical binding.
3189 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
3191 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3193 * textmodes/flyspell.el (flyspell-word): Recognize default
3194 dictionary case for flyspell-mark-duplications-exceptions.
3195 Use regexp matching for languages.
3196 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3197 default dictionary (Bug#7926).
3199 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
3201 * emacs-lisp/package.el (package--with-work-buffer):
3202 Recognize https URLs.
3204 * net/network-stream.el: Move from gnus/proto-stream.el.
3205 Change prefix to network-stream throughout.
3206 (open-protocol-stream): Merge into open-network-stream, leaving
3207 open-protocol-stream as an alias. Handle nil BUFFER args.
3209 * subr.el (open-network-stream): Move to net/network-stream.el.
3211 2011-04-02 Glenn Morris <rgm@gnu.org>
3213 * find-dired.el (find-exec-terminator): New option.
3214 (find-ls-option): Test for -ls support.
3215 (find-ls-subdir-switches): Test for -b in find-ls-option.
3216 (find-dired, find-grep-dired): Doc fixes.
3217 (find-dired): Use find-exec-terminator.
3219 * find-dired.el (find-ls-option, find-ls-subdir-switches)
3220 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3221 (find-name-arg): Remove purecopy.
3223 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3224 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3225 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3226 accordingly. Don't add the null-device if not needed.
3228 * files.el (save-some-buffers): Doc fix.
3230 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3232 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3234 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
3236 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3237 Use `dolist' rather than `mapcar'.
3239 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3241 Add lexical binding.
3243 * subr.el (apply-partially): Use new closures rather than CL.
3244 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3245 (dolist, dotimes): Use slightly different expansion for lexical code.
3246 (functionp): Move to C.
3247 (letrec): New macro.
3248 (with-wrapper-hook): Use it and apply-partially instead of CL.
3249 (eval-after-load): Preserve lexical-binding.
3250 (save-window-excursion, with-output-to-temp-buffer): Turn them
3253 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3255 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3257 (help-add-fundoc-usage): Don't add `Not documented'.
3258 (help-function-arglist): Handle closures, subroutines, and new
3259 byte-code-functions.
3260 (help-make-usage): Remove leading underscores.
3261 (describe-function-1): Handle closures.
3262 (describe-variable): Use special-variable-p for completion.
3264 * files.el (lexical-binding): Declare safe.
3266 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3267 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3268 (pcase): Add `let' pattern.
3269 Change memoization so it actually works.
3270 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3271 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3274 * emacs-lisp/macroexp.el: Use lexical binding.
3275 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3276 Don't convert ' to #' without checking that it's indeed quoting
3279 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3280 Use eval-sexp-add-defvars.
3281 (eval-sexp-add-defvars): New fun.
3283 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3285 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3287 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3288 than the internal `byte-compile-lambda'.
3289 (defmethod): Don't hide code under quotes.
3290 (eieio-defmethod): New `code' argument.
3292 * emacs-lisp/eieio-comp.el: Remove.
3294 * emacs-lisp/edebug.el (edebug-eval-defun)
3295 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3296 (edebug-toggle): Avoid `eval'.
3298 * emacs-lisp/disass.el (disassemble-internal): Handle new
3300 (disassemble-1): Handle new byte codes.
3302 * emacs-lisp/cl.el (pushnew): Silence warning.
3304 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3305 (cl-byte-compile-throw): Remove.
3306 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3308 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3311 * emacs-lisp/cconv.el: New file.
3313 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3314 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3315 (byte-compile-initial-macro-environment):
3316 Handle declare-function here.
3317 (byte-compile--lexical-environment): New var.
3318 (byte-stack-ref, byte-stack-set, byte-discardN)
3319 (byte-discardN-preserve-tos): New lap codes.
3320 (byte-interactive-p): Don't use any more.
3321 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3323 (byte-compile-lapcode): Use them and handle new lap codes.
3324 (byte-compile-obsolete): Remove.
3325 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3326 (byte-compile-arglist-warn): Check late def of inlinable funs.
3327 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3328 since they should have been expanded by now.
3329 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3330 (byte-compile-from-buffer): Remove unused second arg.
3331 (byte-compile-preprocess): New function.
3332 (byte-compile-toplevel-file-form): New function to distinguish
3333 file-form calls from outside from file-form calls from hunk-handlers.
3334 (byte-compile-file-form): Simplify.
3335 (byte-compile-file-form-defsubst): Remove.
3336 (byte-compile-file-form-defmumble): Simplify now that
3337 byte-compile-lambda always returns a byte-code-function.
3338 (byte-compile): Preprocess.
3339 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3340 Remove, not used any more.
3341 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3342 (byte-compile-make-args-desc): New funs.
3343 (byte-compile-lambda): Handle lexical functions. Always return
3344 a byte-code-function.
3345 (byte-compile-reserved-constants): New var, to make up room for
3346 closed-over variables.
3347 (byte-compile-constants-vector): Obey it.
3348 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3349 (byte-compile-macroexpand-declare-function): New function.
3350 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3351 byte-code-functions.
3352 (byte-compile-form): Check obsolescence here.
3353 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3354 (byte-compile-variable-ref): Remove.
3355 (byte-compile-dynamic-variable-op): New fun.
3356 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3357 (byte-compile-variable-set): New funs.
3358 (byte-compile-discard): Add 2 args.
3359 (byte-compile-stack-ref, byte-compile-stack-set)
3360 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3361 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3362 macroexpand-all instead.
3363 (byte-compile-quote-form): Remove.
3364 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3365 (byte-compile-bind, byte-compile-unbind): New funs.
3366 (byte-compile-let): Handle let* and lexical binding.
3367 (byte-compile-let*): Remove.
3368 (byte-compile-catch, byte-compile-unwind-protect)
3369 (byte-compile-track-mouse, byte-compile-condition-case):
3370 Handle a new :fun-body form, used for lexical scoping.
3371 (byte-compile-save-window-excursion)
3372 (byte-compile-with-output-to-temp-buffer): Remove.
3373 (byte-compile-defun): Simplify.
3374 (byte-compile-stack-adjustment): New fun.
3375 (byte-compile-out): Use it.
3376 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3378 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3381 * emacs-lisp/byte-opt.el: Use lexical binding.
3382 (byte-inline-lapcode): Remove (to bytecomp).
3383 (byte-compile-inline-expand): Pay attention to inlining to/from
3384 lexically bound code.
3385 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3387 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3388 any more and don't call compiler-macros.
3389 (byte-compile-splice-in-already-compiled-code): Remove.
3390 (byte-code): Don't inline any more.
3391 (disassemble-offset): Receive `bytes' as argument rather than via
3393 (byte-compile-tag-number): Declare before first use.
3394 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3395 `return' even if make-spliceable.
3396 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3397 obsolete interactive-p.
3398 (byte-optimize-lapcode): Optimize new lap-codes.
3399 Don't trip up on new form of `byte-constant' lap code.
3401 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3403 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3405 * custom.el (custom-initialize-default, custom-declare-variable):
3408 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3410 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3411 (COMPILE_FIRST): Add macroexp and cconv.
3412 * makefile.w32-in: Mirror changes in Makefile.in.
3418 * vc/smerge-mode.el:
3419 * textmodes/bibtex-style.el:
3428 * emacs-lisp/smie.el:
3431 * abbrev.el: Use lexical binding.
3433 2011-04-01 Eli Zaretskii <eliz@gnu.org>
3435 * info.el (info-display-manual): New function.
3437 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3439 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3441 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3443 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3444 an entry for that server in rcirc-authinfo. (Bug#8385)
3446 2011-03-31 Glenn Morris <rgm@gnu.org>
3448 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3450 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3452 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3454 * progmodes/python.el (python-default-interpreter)
3455 (python-python-command-args, python-jython-command-args)
3456 (python-which-shell, python-which-args, python-which-bufname)
3457 (python-file-queue, python-comint-output-filter-function)
3458 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3459 variables and functions.
3461 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3464 (completion-in-region-mode): New minor mode.
3465 (completion-in-region): Use it.
3466 (completion-in-region--data, completion-in-region-mode-map): New vars.
3467 (completion-in-region--postch): New function.
3468 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3470 (completion--capf-wrapper): New function.
3471 (completion-at-point): Use it to track well-behavedness of
3473 (completion-help-at-point): New command.
3475 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3477 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3478 syntax class to search for whitespace on a single line
3479 (Message-ID: <4D938140.4030905@redhat.com>).
3481 2011-03-30 Leo Liu <sdl.web@gmail.com>
3483 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3485 (edit-abbrevs-map): Bind them here.
3486 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3488 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3490 * allout.el (allout-hide-by-annotation, allout-flag-region):
3491 Reduce possibility of overlay leakage by making them volatile.
3493 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3494 hash is not shared between buffers. Mode initialization is
3495 responsible for giving it a useful starting value.
3496 (allout-item-span): Reduce possibility of overlay leakage by
3497 making them volatile.
3498 (allout-widgets-count-buttons-in-region): Add diagnostic function
3499 for tracking down button overlay leaks.
3501 2011-03-29 Leo Liu <sdl.web@gmail.com>
3503 * ido.el (ido-read-internal): Use the default history var
3504 minibuffer-history if no HISTORY is specified.
3506 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3508 * net/imap.el (imap-shell-open, imap-process-connection-type):
3509 Use imap-process-connection-type for 'shell' streams as well as
3510 Kerberos, SSL, other subprocesses.
3512 2011-03-28 Leo Liu <sdl.web@gmail.com>
3514 * abbrev.el (abbrev-table-empty-p): New function.
3515 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3516 nonempty ones. (Bug#5937)
3518 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3520 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3522 2011-03-27 Leo Liu <sdl.web@gmail.com>
3524 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3525 for foreground and background colors.
3526 (ansi-color-make-color-map): Adapt.
3528 2011-03-25 Leo Liu <sdl.web@gmail.com>
3530 * midnight.el (midnight-time-float): Remove. Note it calculates
3531 the microsecond component incorrectly and seconds-to-time does the
3533 Remove redundant (require 'timer).
3535 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3536 (ido-completions): Remove unused arguments. (Bug#8329)
3538 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3540 * minibuffer.el (completion--flush-all-sorted-completions):
3541 Remove itself from hook.
3542 (completion-at-point): Let the functions perform the completion
3543 immediately and return nil or t.
3544 * comint.el (comint-dynamic-complete-functions): Now identical to
3545 completion-at-point-functions.
3546 (comint-dynamic-list-input-ring): Remove unused var `index'.
3547 (comint--match-partial-filename, comint--unquote&expand-filename):
3548 New funs, split from comint-match-partial-filename.
3549 (comint-dynamic-complete): Use completion-at-point.
3550 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3552 2011-03-24 Drew Adams <drew.adams@oracle.com>
3554 * thingatpt.el: Support `defun'.
3556 2011-03-23 Leo Liu <sdl.web@gmail.com>
3558 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3560 * help-mode.el (help-mode-finish): Tweak regexp.
3562 2011-03-23 Glenn Morris <rgm@gnu.org>
3564 * eshell/esh-opt.el (eshell-eval-using-options):
3565 Do not bind unused local variable `eshell-option-stub'.
3567 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3569 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3571 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3572 keymap variable in `with-no-warnings' to avoid a warning when the
3573 keymap has been already `defconst'ed.
3575 2011-03-22 Leo Liu <sdl.web@gmail.com>
3577 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3578 encode all chars in abbrevs; otherwise use emacs-mule or
3579 utf-8-emacs. (Bug#8308)
3581 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3583 * simple.el (backward-delete-char-untabify):
3584 Avoid warning about using `delete-backward-char'.
3586 * image.el (image-type-file-name-regexps): Make it variable.
3587 `imagemagick-register-types' modifies it, and the user may want
3588 to add new extensions for known image types.
3589 (imagemagick-register-types): Throw error if not using ImageMagick.
3591 2011-03-22 Leo Liu <sdl.web@gmail.com>
3593 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3594 located before rcirc-prompt-end-marker.
3595 (rcirc-complete): Error if point is not after rcirc prompt.
3596 Handle the case when table is nil.
3597 (rcirc-user-authenticated): Define to fix compiler warning.
3599 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3601 * custom.el (custom--inhibit-theme-enable): Make it affect only
3602 custom-theme-set-variables and custom-theme-set-faces.
3603 (provide-theme): Ignore custom--inhibit-theme-enable.
3604 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3605 (custom-enabling-themes): Delete variable.
3606 (enable-theme): Accept only loaded themes as arguments.
3607 Ignore the special custom-enabled-themes variable.
3608 (custom-enabled-themes): Forbid themes from setting this.
3609 Eliminate use of custom-enabling-themes.
3610 (custom-push-theme): Quote "changed" custom var entry.
3612 2011-03-21 Leo Liu <sdl.web@gmail.com>
3614 * ido.el (ido-read-internal): Add ido-selected to history instead
3617 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * subr.el (deferred-action-list, deferred-action-function):
3622 2011-03-21 Leo Liu <sdl.web@gmail.com>
3624 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3625 change on 2011-02-13 (bug#8309).
3627 * minibuffer.el (read-file-name-function): Change default value.
3628 (read-file-name--defaults): Rename from read-file-name-defaults.
3629 (read-file-name-default): Rename from read-file-name.
3630 (read-file-name): Call read-file-name-function.
3632 2011-03-21 Glenn Morris <rgm@gnu.org>
3634 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3637 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3639 * cus-theme.el: Add missing provide statement.
3640 (customize-create-theme): Extract theme value correctly.
3641 (custom-theme-visit-theme): Autoload.
3642 (customize-create-theme): Prompt before inserting default faces.
3644 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3646 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3647 units and musical notes.
3649 2011-03-20 Leo <sdl.web@gmail.com>
3651 * ido.el (ido-read-internal): Use completing-read-default.
3652 (ido-completing-read): Fix compatibility with completing-read.
3654 2011-03-20 Christian Ohler <ohler@gnu.org>
3656 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3657 (ert-delete-all-tests): Use `called-interactively-p' rather than
3659 (ert--make-xrefs-region): Respect END.
3661 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3663 * dired-aux.el (dired-create-directory): Signal an error if the
3664 directory already exists (Bug#8246).
3666 * facemenu.el (list-colors-display): Call list-faces-display
3667 inside with-help-window.
3668 (list-colors-print): Use display property to align the final
3669 column, instead of checking window-width.
3671 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3673 * emerge.el (emerge-metachars): Separate value for ms-dos and
3675 (emerge-protect-metachars): Quote correctly for ms-dos and
3678 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3680 * info.el (info-initialize): Replace all uses of `:' with
3681 path-separator for compatibility with non-Unix systems.
3682 Cache quoting of path-separator. (Bug#8258)
3684 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3686 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3687 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3688 (mouse-avoidance-mode): Fix typos in docstrings.
3690 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3692 * startup.el (package-subdirectory-regexp): Move from package.el.
3693 Omit \\` and \\', and let callers add them.
3695 * emacs-lisp/package.el (package-strip-version)
3696 (package-load-all-descriptors): Add \\` and \\' to
3697 package-subdirectory-regexp before using it.
3698 (package-untar-buffer): New arg DIR; ensure that file untars only
3699 into this expected directory. Remove superfluous delete-region.
3700 (package-unpack): Caller changed.
3701 (package-tar-file-info): Use package-subdirectory-regexp.
3703 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3706 diff-mode-shared-map (bug#8284).
3707 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3709 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3711 * calendar/time-date.el (format-seconds): Use assoc instead of
3712 assoc-string, since assoc-string doesn't exist in XEmacs.
3714 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3716 * custom.el (custom-known-themes): Reflow docstring.
3717 (custom-theme-load-path): Fix typo in docstring.
3718 (load-theme): Fix typo in error message.
3719 (custom-available-themes, custom-variable-theme-value):
3720 Use `let', not `let*'.
3722 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3724 * calc/README: Mention inclusion of musical notes.
3726 * calc/calc-units.el (calc-lu-quant): Rename from
3727 `calc-logunits-quantity'.
3728 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3729 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3730 (calc-db): Rename from `calc-dblevel'.
3731 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3732 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3733 (calc-np): Rename from `calc-nplevel'.
3734 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3735 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3736 (calc-lu-plus): Rename from `calc-logunits-add'.
3737 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3738 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3739 (calc-lu-minus): Rename from `calc-logunits-sub'.
3740 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3741 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3742 (calc-lu-times): Rename from `calc-logunits-mul'.
3743 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3744 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3745 (calc-lu-divide): Rename from `calc-logunits-div'.
3746 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3747 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3749 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3750 functions being autoloaded.
3752 * calc/calc.el (calc-lu-power-reference): Rename from
3753 `calc-logunits-power-reference'.
3754 (calc-lu-field-reference): Rename from
3755 `calc-logunits-field-reference'.
3757 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3759 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * minibuffer.el (completion-all-sorted-completions):
3762 Use :completion-cycle-penalty text property if present.
3764 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3766 * allout.el (allout-yank-processing): Adjust for new rebulleting
3767 regime so bullet being yanked is used without prompting the user
3770 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3772 * startup.el (command-line): Warn the user that _emacs is deprecated.
3774 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
3776 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3777 (delphi-verbose, delphi-comment-face, delphi-string-face)
3778 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3779 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3780 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3781 (delphi-new-comment-line, delphi-font-lock-defaults)
3782 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3783 Fix typos in docstrings.
3785 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3787 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3788 Invert the roles of character and string values for INSTEAD, so a
3789 string is used for the more common case of a defaulting prompt.
3791 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * progmodes/ruby-mode.el (ruby-backward-sexp):
3794 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3795 * play/gamegrid.el (gamegrid-make-face):
3796 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3797 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3798 * notifications.el (notifications-notify):
3799 * net/xesam.el (xesam-search-engines):
3800 * net/quickurl.el (quickurl-list-insert):
3801 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3803 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
3805 * startup.el (command-line): Update package subdirectory regexp.
3807 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * allout.el (allout-abbreviate-flattened-numbering)
3810 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3812 * subr.el (read-char-choice): Only show the cursor after the prompt,
3813 not after the answer.
3815 2011-03-15 Kevin Ryde <user42@zip.com.au>
3817 * help-fns.el (variable-at-point): Skip leading quotes, if any
3820 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3825 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
3827 * shell.el (shell): When called interactively, offer to change the
3828 shell file name on remote hosts.
3830 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3832 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3833 integration for LDAP parameters. The host, base, user or binddn,
3834 and secret tokens can be specified in a netrc file, for instance.
3835 This is optional because an `auth-source' parameter must be
3836 specified in the search attributes.
3838 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
3840 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3842 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3845 into declaration. Remove redundant and harmful binding.
3847 2011-03-12 Eli Zaretskii <eliz@gnu.org>
3849 * files.el (file-ownership-preserved-p): Pass `integer' as an
3850 explicit 2nd argument to `file-attributes'. If the file's owner
3851 is the Administrators group on Windows, and the current user is
3852 Administrator, consider that a match.
3854 * server.el (server-ensure-safe-dir): Consider server directory
3855 safe on MS-Windows if its owner is the Administrators group while
3856 the current Emacs user is Administrator. Use `=' to compare
3857 numerical UIDs, since they could be integers or floats.
3859 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3861 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3863 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
3865 Sync with Tramp 2.2.1.
3867 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3869 * net/trampver.el: Update release number.
3871 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3873 * progmodes/compile.el (compilation--previous-directory): Fix up
3874 various nil/dead-marker mismatches (bug#8014).
3875 (compilation-directory-properties, compilation-error-properties):
3876 Don't call it at a position past the one we're about to change.
3878 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3879 Disable obsolescence warnings in the file that declares it.
3881 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3883 * allout-widgets.el (allout-widgets-tally):
3884 Initialize allout-widgets-tally as a hash table rather than nil to
3885 prevent mode-line redisplay warnings. Also, clarify the module
3886 description and fix a comment typo.
3888 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3890 * help-fns.el (describe-variable): Don't complete keywords.
3891 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3893 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3895 * emacs-lisp/package.el (package-version-join): Impose a standard
3896 string representation for pre/alpha/beta version lists.
3897 (package-unpack-single): Standardize the directory name by passing
3898 it through package-version-join.
3899 (package-strip-rcs-id): Accept any version string that does not
3900 signal an error in version-to-list.
3902 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3904 * simple.el (delete-trailing-whitespace): Return nil for the
3905 benefit of `write-file-functions'.
3907 2011-03-10 Glenn Morris <rgm@gnu.org>
3909 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3911 * vc/vc-git.el (vc-git-program): New option.
3912 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3913 (vc-git--call): Use it.
3915 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3917 * cus-edit.el (Custom-newline): If no button at point, look
3918 for a subgroup button at start-of-line. (Bug#2298)
3920 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3922 2011-03-10 Julien Danjou <julien@danjou.info>
3924 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3925 `cursor-type' is nil.
3927 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3929 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3931 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3933 * allout.el Summary: Change so yank of distinctive-bullet items
3934 preserves the existing header prefix, rebulleting it if necessary,
3935 rather than replacing it. This is necessary for proper operation
3936 of cooperative addons like allout-widgets.
3937 (allout-make-topic-prefix, allout-rebullet-heading): Change
3938 SOLICIT arg to INSTEAD, and interpret additionally a string value
3939 as alternate bullet to be used, instead of prompting the user for
3942 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3945 Do not use `tramp-file-name-port', because this returns also
3946 `tramp-default-port'.
3948 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3950 * net/rcirc.el (rcirc-handler-001): Remove useless
3951 with-rcirc-process-buffer.
3952 (rcirc-check-auth-status): Swap arguments to string-match.
3954 2011-03-09 Glenn Morris <rgm@gnu.org>
3956 * shell.el (shell-mode):
3957 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3959 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3960 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3962 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3964 * emacs-lisp/package.el (package-refresh-contents)
3965 (package-menu-execute): Use condition-case-no-debug.
3967 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3969 * simple.el (shell-command-to-string): Use `process-file'.
3971 * emacs-lisp/package.el (package-tar-file-info): Handle also
3974 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3975 Use `equal' for upload base check.
3977 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3979 * textmodes/texinfo.el (texinfo-environments):
3980 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3982 2011-03-08 Glenn Morris <rgm@gnu.org>
3984 * cus-start.el (cursor-in-non-selected-windows):
3985 Fix :set quoting oddness. (Bug#8192)
3987 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3988 in some setf expressions. (Bug#2159)
3990 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3992 * custom.el (custom-available-themes): Return themes in
3995 See ChangeLog.15 for earlier changes.
4001 Copyright (C) 2011 Free Software Foundation, Inc.
4003 This file is part of GNU Emacs.
4005 GNU Emacs is free software: you can redistribute it and/or modify
4006 it under the terms of the GNU General Public License as published by
4007 the Free Software Foundation, either version 3 of the License, or
4008 (at your option) any later version.
4010 GNU Emacs is distributed in the hope that it will be useful,
4011 but WITHOUT ANY WARRANTY; without even the implied warranty of
4012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4013 GNU General Public License for more details.
4015 You should have received a copy of the GNU General Public License
4016 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.