1 2011-06-26 Martin Rudalics <rudalics@gmx.at>
3 * window.el (display-buffer-normalize-argument): Rename to
4 display-buffer-normalize-arguments. Handle special meaning of
5 LABEL argument. Respect special-display-function when popping
6 up a new frame. Fix code searching for a window showing the
7 buffer on another frame.
8 (display-buffer-normalize-specifiers): Call
9 display-buffer-normalize-arguments.
10 (display-buffer-in-window): Don't undedicate the window if its
11 buffer remains the same.
12 Reported by Drew Adams <drew.adams@oracle.com>.
13 (display-buffer-alist): Add choice for same-window macro
15 (display-buffer): Mention special meaning of LABEL argument in
16 doc-string. Fix quoting. Don't pop up a new frame even as
19 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22 avoid deleting the current window in some cases (bug#8911).
24 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
26 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
29 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
31 * net/network-stream.el (network-stream-open-starttls): Use
32 built-in TLS support if `gnutls-available-p' is true.
33 (network-stream-open-tls): Ditto.
35 2011-06-26 Leo Liu <sdl.web@gmail.com>
37 * register.el (registerv): New struct.
38 (registerv-make): New function.
39 (jump-to-register, describe-register-1, insert-register): Support
40 the jump-func, print-func and insert-func slot of a registerv
43 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
45 * vc/vc.el (vc-revert-show-diff): New defcustom.
46 (vc-diff-internal): New arg specifying diff buffer.
47 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
48 reuse an existing *vc-diff* buffer (Bug#8927).
50 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
52 2011-06-26 Glenn Morris <rgm@gnu.org>
54 * progmodes/f90.el (f90-critical-indent): New option.
55 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
56 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
58 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
59 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
60 (f90-beginning-of-block, f90-next-block, f90-indent-region)
61 (f90-match-end): Handle block, critical.
63 2011-06-25 Glenn Morris <rgm@gnu.org>
65 * calendar/diary-lib.el (diary-included-files): Doc fix.
66 (diary-include-files): New function, extracted from
67 diary-include-other-diary-files and diary-mark-included-diary-files.
68 (diary-include-other-diary-files, diary-mark-included-diary-files):
69 Just call diary-include-files.
70 (diary-mark-entries): Reset diary-included-files on first call.
72 * calendar/diary-lib.el (diary-mark-entries)
73 (diary-mark-included-diary-files):
74 Visit included diary-files in temp buffers.
76 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
77 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
78 (f90-start-block-re, f90-imenu-generic-expression)
79 (f90-looking-at-program-block-start, f90-no-block-limit):
80 Add support for submodules.
82 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
83 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
85 2011-06-25 Eli Zaretskii <eliz@gnu.org>
87 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
88 buffer-file-type before setting its value, to avoid disastrous
89 global effects on decoding files for DOS/Windows systems. (Bug#8780)
91 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
93 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
95 * ses.el (ses-unload-function):
96 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
98 * proced.el (proced-unload-function):
99 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
101 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
103 * server.el (server-create-window-system-frame): Add parameters arg.
104 (server-process-filter): Doc fix. Handle frame-parameters.
106 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
108 Fix bug#8730, bug#8781.
110 * loadhist.el (unload--set-major-mode): New function.
111 (unload-feature): Use it.
113 * progmodes/python.el (python-after-info-look): Add autoload cookie.
114 (python-unload-function): New function.
116 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
118 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
120 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
122 * net/browse-url.el (browse-url-firefox-program): Add icecat to
125 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
127 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
129 2011-06-23 Richard Stallman <rms@gnu.org>
131 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
132 (rmail-variables): Set next-error-move-function.
133 (rmail-what-message): Take argument POS.
134 (rmail-next-error-move): New function.
136 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
138 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
139 messages for adjacent non-terminals.
141 2011-06-23 Richard Stallman <rms@gnu.org>
143 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
144 (rmail-show-message-1): Preserve buffer modified flag.
145 (rmail-start-mail): Don't specify use of rmail-mail-return;
146 that's done by mail-bury now.
147 (rmail-mail-return): Handle arg NEWBUF.
149 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
151 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
154 2011-06-23 Martin Rudalics <rudalics@gmx.at>
156 * window.el (get-lru-window, get-mru-window)
157 (get-largest-window): Never return a minibuffer window.
158 (display-buffer-pop-up-window): Fix a bug that could lead to
159 reusing the minibuffer window.
160 (display-buffer): Pass original specifier argument to
161 display-buffer-function instead of the normalized one.
162 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
164 2011-06-22 Leo Liu <sdl.web@gmail.com>
166 * minibuffer.el (completing-read-function)
167 (completing-read-default): Move from minibuf.c
169 2011-06-22 Richard Stallman <rms@gnu.org>
171 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
172 to Rmail even if not started by a special Rmail command.
174 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
175 Copy the buffer currently showing just one message.
177 2011-06-22 Roland Winkler <winkler@gnu.org>
179 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
180 (bibtex-clean-entry): First delete the old key so that a
181 customized algorithm for generating the new key does not get
182 confused by the old key.
183 (bibtex-url): Obey regexp of first step.
184 (bibtex-search-entries): Do not use add-to-list with local
187 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
189 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
190 stored a user name, then query for the password first, instead of
191 waiting for SMTP to give an error message and the trying again.
193 2011-06-22 Lawrence Mitchell <wence@gmx.li>
195 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
196 BUFFER in call-process.
198 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
200 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
202 (smtpmail-try-auth-methods): Require user name and password from
205 2011-06-22 Martin Rudalics <rudalics@gmx.at>
207 * window.el (display-buffer-default-specifiers)
208 (display-buffer-alist): Remove entries for pop-up-frame-alist.
209 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
210 (split-window): Normalize SIDE argument (Bug#8916).
212 * frame.el (pop-up-frame-alist, pop-up-frame-function)
213 (special-display-frame-alist, special-display-popup-frame):
214 Remove duplicate declarations. These are now in window.el.
216 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
218 * mail/smtpmail.el (smtpmail-via-smtp): Set
219 :use-starttls-if-possible so that we always use STARTTLS if the
220 server supports it. SMTP servers that support STARTTLS commonly
223 * net/network-stream.el (network-stream-open-starttls): Support
224 upgrading to STARTTLS always, even if we don't have built-in support.
225 (open-network-stream): Add the :always-query-capabilies keyword.
227 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
228 upgrades with `open-network-stream', and rely solely on
229 auth-source for all credentials. Big changes throughout the file,
231 (smtpmail-auth-credentials): Removed.
232 (smtpmail-starttls-credentials): Removed.
233 (smtpmail-via-smtp): Check for servers saying they want AUTH after
236 * net/network-stream.el (network-stream-open-starttls): Provide
237 support for client certificates both for external and built-in
239 (auth-source): Require.
240 (open-network-stream): Document the :client-certificate keyword.
241 (network-stream-certificate): Change cert-cert to cert and
244 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
246 * net/tramp-cache.el (top): Don't load the persistency file when
247 "emacs -Q" has been called.
249 2011-06-21 Tim Harper <timcharper@gmail.com>
251 * term/ns-win.el (ns-initialize-window-system): set
252 application-specific `ApplePressAndHoldEnabled' system
253 resource to NO as it is not yet supported by the NS port.
255 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
257 * misc.el (list-dynamic-libraries--refresh): Compute header here...
258 (list-dynamic-libraries): ...not here.
260 2011-06-21 Leo Liu <sdl.web@gmail.com>
262 * subr.el (sha1): Implement sha1 using secure-hash.
264 2011-06-21 Martin Rudalics <rudalics@gmx.at>
266 * window.el (display-buffer-alist): In default value do not
267 enforce searching a window on any but the selected frame.
268 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
269 (display-buffer-select-window): Remove function.
270 (display-buffer-in-window): When a window on another frame gets
271 reused, do not select it any more but just raise its frame if
272 necessary (Bug#8851) and (Bug#8856).
273 (display-buffer-normalize-options): Handle pop-up-frames related
274 options more faithfully.
275 (pop-to-buffer): Don't rely on `display-buffer' selecting the
276 window if it is on another frame.
277 (display-buffer-alist, display-buffer-default-specifiers): Don't
278 make new frame unsplittable by default.
279 (display-buffer-normalize-argument): Fix doc-string typo and use
280 'same-frame-other-window instead of 'other-window when associating
281 with display-buffer-macro-specifiers.
283 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
285 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
287 (5x5-mode-map, 5x5-mode-menu): Bind them.
288 (5x5-draw-grid): Tweak the solver's rendering.
290 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
292 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
293 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
295 2011-06-21 Drew Adams <drew.adams@oracle.com>
297 * menu-bar.el: Use function variable instead of switch-to-buffer.
298 (menu-bar-select-buffer-function): New variable.
299 (menu-bar-update-buffers): Use it (bug#8876).
301 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
306 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
308 * x-dnd.el (x-dnd-version-from-flags)
309 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
310 and long as number (Bug#8899).
311 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
313 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
315 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
316 (completion-try-completion, completion-all-completions): Compute the
317 metadata argument if it's missing; make it optional (bug#8795).
319 * wid-edit.el: Use lex-bind and move towards completion-at-point.
320 (widget-complete): Use new :completion-function property.
321 (widget-completions-at-point): New function.
322 (default): Use :completion-function instead of :complete.
323 (widget-default-completions): Rename from widget-default-complete;
325 (widget-string-complete, widget-file-complete, widget-color-complete):
327 (file, symbol, function, variable, coding-system, color):
328 * international/mule-cmds.el (default-input-method, charset)
329 (language-info-custom-alist):
330 * cus-edit.el (face): Use new property :completions.
332 * progmodes/pascal.el (pascal-completions-at-point): New function.
333 (pascal-mode): Use it.
334 (pascal-mode-map): Use completion-at-point.
335 (pascal-toggle-completions): Make obsolete.
336 (pascal-complete-word, pascal-show-completions):
337 * progmodes/octave-mod.el (octave-complete-symbol):
338 Redefine as obsolete alias.
339 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
340 Signal absence of completion info for old Octave,
341 (inferior-octave-complete): Redefine as obsolete alias.
342 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
343 (meta-completions-at-point): Rename from meta-complete-symbol and
344 adapt it for use on completion-at-point-functions.
345 (meta-common-mode): Use it.
346 (meta-looking-at-backward, meta-match-buffer): Remove.
347 (meta-complete-symbol): Redefine as obsolete alias.
348 (meta-common-mode-map): Use completion-at-point.
349 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
350 (makefile-mode-map): Use completion-at-point.
351 (makefile-completions-at-point): Rename from makefile-complete and
352 adapt it for use on completion-at-point-functions.
353 (makefile-mode): Use it.
354 (makefile-complete): Redefine as obsolete alias.
356 2011-06-20 Deniz Dogan <deniz@dogan.se>
358 * net/rcirc.el: Delete trailing whitespaces once and for all.
360 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
362 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
364 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
366 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
368 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
370 2011-06-19 Martin Rudalics <rudalics@gmx.at>
372 * window.el (display-buffer-other-window-means-other-frame):
373 Call display-buffer-normalize-alist.
374 (display-buffer-normalize-specifiers-1): Rename to
375 display-buffer-normalize-argument. New argument other-frame.
377 (display-buffer-normalize-specifiers-2): Rename to
378 display-buffer-normalize-options.
379 (display-buffer-normalize-alist-1): New function.
380 (display-buffer-normalize-specifiers-3): Rename to
381 display-buffer-normalize-alist.
382 Call display-buffer-normalize-alist-1.
383 (display-buffer-normalize-options-inhibit): New variable.
384 (display-buffer-normalize-specifiers): Rewrite calling
385 display-buffer-normalize-alist,
386 display-buffer-normalize-argument, and
387 display-buffer-normalize-options. Don't call the latter if
388 display-buffer-normalize-options-inhibit is non-nil.
389 (frame-auto-delete): New option.
390 (window-deletable-p): Use frame-auto-delete.
391 (window-list-no-nils, window-state-ignored-parameters)
392 (window-state-get-1, window-state-get, window-state-put-list)
393 (window-state-put-1, window-state-put-2, window-state-put):
395 (display-buffer-normalize-options): Move special-display-p group
396 after pop-up-frame group (Bug#8851) and (Bug#8856).
398 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
400 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
402 (rx-submatch-n): New function.
405 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
408 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
410 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
412 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
413 anytime existing face settings are present (Bug#8889).
415 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
416 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
417 Remove unused argument.
419 2011-06-18 Martin Rudalics <rudalics@gmx.at>
421 * window.el (display-buffer-default-specifiers):
422 Remove pop-up-frame. Add pop-up-window-min-height,
423 pop-up-window-min-width, and another reuse-window specifier
424 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
425 (display-buffer-normalize-specifiers-2):
426 Handle split-height-threshold and split-width-threshold also when
427 pop-up-windows is unset. Add a reuse-window specifier for the
428 case popping up a new window fails.
429 (special-display-popup-frame): Remove double quoting.
430 (display-buffer-normalize-specifiers-1): Fix thinko.
432 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
434 * shell.el (shell-completion-vars): Set pcomplete-termination-string
435 according to comint-completion-addsuffix.
437 * pcomplete.el: Convert to lexical binding and fix bug#8819.
438 (pcomplete-suffix-list): Mark as obsolete.
439 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
440 pcomplete-seen in the closure.
441 (pcomplete-comint-setup): Setup completion-at-point as well.
442 (pcomplete--entries): New function.
443 (pcomplete--env-regexp): New var.
444 (pcomplete-entries): Rewrite to work with partial-completion and
445 without relying on pcomplete-suffix-list.
446 (pcomplete-pare-list): Remove, unused.
448 2011-06-17 Martin Rudalics <rudalics@gmx.at>
450 * window.el (display-buffer-alist): Set pop-up-window-min-height
451 and pop-up-window-min-width in default value. Reported by
452 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
453 other-window-means-other-frame.
454 (display-buffer-macro-specifiers): Comment out entry for
455 other-window specifier.
456 (display-buffer-other-window-means-other-frame): New function.
457 (display-buffer-normalize-specifiers-1): New arguments
458 buffer-name and label. Treat other-window case specially.
459 (display-buffer-normalize-specifiers-2): Treat other-window case
461 (display-buffer-normalize-specifiers-3): New function.
462 (display-buffer-normalize-specifiers):
463 Call display-buffer-normalize-specifiers-3.
465 2011-06-17 Martin Rudalics <rudalics@gmx.at>
467 * window.el (same-window-p): Fix two typos introduced when
468 adding with-no-warnings.
469 (display-buffer-normalize-specifiers-1): Don't check
470 pop-up-frames for 'unset initialization.
471 (display-buffer-normalize-specifiers-2): Major rewrite using
472 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
473 (pop-up-frames, display-buffer-reuse-frames)
474 (display-buffer-mark-dedicated): Don't initialize to 'unset.
475 Suggested by David Engster <deng@randomsample.de>.
476 (even-window-heights): Initialize to 'unset.
477 (display-buffer-alist-set): Handle new 'unset initializations.
478 (display-buffer-macro-specifiers): Don't pop up a new frame in the
481 2011-06-16 Martin Rudalics <rudalics@gmx.at>
483 * window.el (display-buffer-normalize-specifiers-1):
484 Respect current value of pop-up-frames for most reasonable values of
485 second argument of display-buffer (Bug#8865).
486 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
487 (switch-to-buffer-other-window-same-frame)
488 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
490 (display-buffer): Don't check noninteractive when calling
491 display-buffer-pop-up-frame.
492 (display-buffer-pop-up-frame): Never pop up a frame in
493 noninteractive mode (Bug#8857).
494 (enlarge-window, shrink-window): Don't report an error when the
495 window can't be resized as requested (Bug#8862).
497 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
499 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
501 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
503 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
505 2011-06-15 Alan Mackenzie <acm@muc.de>
507 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
508 for declarators, disable knr checking to speed up for normal files.
509 2: Refactor, replacing a sequence of nested if forms by a cond form.
511 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
513 * net/network-stream.el (open-network-stream): Add the keyword
514 :always-query-capabilities for the case where you want to force a
515 `plain' network connection, but the protocol still requires the
516 capabilitiy command (i.e., SMTP and EHLO).
518 * subr.el (process-live-p): Rename from `process-alive-p' for
519 consistency with other `-live-p' functions.
521 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
523 * window.el (same-window-buffer-names, same-window-regexps)
524 (special-display-frame-alist, special-display-popup-frame)
525 (special-display-function, special-display-buffer-names)
526 (special-display-regexps, pop-up-frame-alist)
527 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
528 (pop-up-windows, split-window-preferred-function)
529 (split-height-threshold, split-width-threshold, even-window-heights)
530 (display-buffer-mark-dedicated): Don't encourage the use of
531 display-buffer-alist from Elisp code.
533 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
535 * progmodes/python.el (python-mode): Derive from prog-mode.
536 * progmodes/ps-mode.el (ps-mode):
537 * progmodes/mixal-mode.el (mixal-mode):
538 * progmodes/cfengine.el (cfengine-mode):
539 * progmodes/ld-script.el (ld-script-mode): Likewise.
541 2011-06-15 Martin Rudalics <rudalics@gmx.at>
543 * window.el (display-buffer-alist): Trim default value to avoid
544 popping up a new frame (Bug#8857) or reusing an arbitrary window
546 (display-buffer): Do not fall back on popping up a new frame in
547 batch mode (Bug#8857).
549 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
551 * cus-theme.el (describe-theme-1): Use custom-theme-p.
552 (custom-theme-summary): New function.
553 (customize-themes): Use it.
555 2011-06-13 Glenn Morris <rgm@gnu.org>
557 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
559 2011-06-13 Martin Rudalics <rudalics@gmx.at>
561 * help.el (help-window): Remove variable.
562 (help-window-point-marker, temp-buffer-max-height)
563 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
564 (help-print-return-message): Don't set help-window.
565 (resize-temp-buffer-window): Rewrite cod eand doc-string.
566 (help-window-setup-finish): Remove.
567 (help-window-display-message, help-window-setup)
568 (with-help-window): Major rewrite based on new
569 display-buffer-window variable.
571 * help-mode.el (help-mode-finish): Remove help-window related
574 * view.el (view-exits-all-viewing-windows): Remove reference to
575 view-return-to-alist in doc-string.
576 (view-return-to-alist): Make obsolete.
577 (view-buffer): Call pop-to-buffer-same-window and remove
579 (view-buffer-other-window): Call pop-to-buffer-other-window and
580 simplify code. Ignore second argument.
581 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
582 simplify code. Ignore second argument.
583 (view-return-to-alist-update): Make obsolete.
584 (view-mode-enter): Rename second argument to QUIT-RESTORE.
585 Rewrite using quit-restore window parameters.
586 (view-mode-exit): Rename second argument to EXIT-ONLY.
587 Rewrite using quit-restore-window.
588 (View-exit, View-exit-and-edit, View-leave, View-quit)
589 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
590 appropriate arguments.
591 (view-end-message): Use quit-restore window parameter.
593 * window.el (display-buffer-function): Rewrite doc-string.
594 (display-buffer-window, display-buffer-alist): New variables.
595 (display-buffer-split-specifiers)
596 (display-buffer-side-specifiers)
597 (display-buffer-macro-specifiers): New constants.
598 (display-buffer-even-window-sizes, display-buffer-set-height)
599 (display-buffer-set-width, display-buffer-select-window)
600 (display-buffer-in-window, display-buffer-reuse-window)
601 (display-buffer-split-window-1, display-buffer-split-window)
602 (display-buffer-split-atom-window, display-buffer-pop-up-window)
603 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
604 (display-buffer-in-side-window, normalize-buffer-to-display)
605 (display-buffer-normalize-specifiers-1)
606 (display-buffer-normalize-specifiers-2)
607 (display-buffer-normalize-specifiers, display-buffer-frame):
609 (display-buffer): Major rewrite.
610 (display-buffer-other-window, display-buffer-other-frame)
611 (pop-to-buffer, switch-to-buffer-other-window)
612 (switch-to-buffer-other-frame): Rewrite.
613 (display-buffer-same-window, display-buffer-same-frame)
614 (display-buffer-same-frame-other-window)
615 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
616 (pop-to-buffer-other-window)
617 (pop-to-buffer-same-frame-other-window)
618 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
619 (switch-to-buffer-other-window-same-frame): New functions.
620 (same-window-p, special-display-p): Rewrite disabling warnings.
622 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
623 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
625 (same-window-buffer-names, same-window-regexps)
626 (special-display-frame-alist, special-display-popup-frame)
627 (special-display-function, special-display-buffer-names)
628 (special-display-regexps, pop-up-frame-alist)
629 (pop-up-frame-function, split-window-preferred-function)
630 (split-height-threshold, split-width-threshold)
631 (even-window-heights): Make obsolete.
633 2011-06-12 Glenn Morris <rgm@gnu.org>
635 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
636 Misc simplifications.
638 2011-06-12 Martin Rudalics <rudalics@gmx.at>
640 * window.el (window-safely-shrinkable-p): Restore function which
641 was inadvertently removed in change from 2011-06-11. Declare as
644 * calendar/calendar.el (calendar-generate-window):
645 Use window-iso-combined-p instead of combination of one-window-p and
646 window-safely-shrinkable-p.
648 2011-06-12 Glenn Morris <rgm@gnu.org>
650 * progmodes/fortran.el (fortran-mode-syntax-table):
651 * progmodes/f90.el (f90-mode-syntax-table):
652 Set % to punctuation. (Bug#8820)
653 (f90-find-tag-default): Remove, no longer needed.
655 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
657 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
659 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
661 * image.el (image-animated-p): Return animation delay in seconds.
662 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
663 (image-animate-timeout): Remove DELAY argument. Don't assume
664 every subimage has the same delay; get it from image-animated-p.
665 (image-animate): Caller changed.
667 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
669 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
670 to ignored backtrace functions.
672 2011-06-11 Glenn Morris <rgm@gnu.org>
674 * calendar/appt.el (appt-disp-window-function): Doc fix.
675 (appt-check): Handle overlapping appointments. (Bug#8337)
677 2011-06-11 Martin Rudalics <rudalics@gmx.at>
679 * window.el (window-tree-1, window-tree): New functions, moving
680 the latter to window.el.
681 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
682 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
683 (bw-refresh-edges): Remove.
684 (balance-windows-1, balance-windows-2): New functions.
685 (balance-windows): Rewrite in terms of window tree functions,
686 balance-windows-1 and balance-windows-2.
687 (bw-adjust-window): Remove.
688 (balance-windows-area-adjust): New function with functionality of
689 bw-adjust-window but using resize-window.
690 (set-window-text-height): Rewrite doc-string.
691 Use normalize-live-window and resize-window.
692 (enlarge-window-horizontally, shrink-window-horizontally):
693 Rename argument to DELTA.
694 (window-buffer-height): New function.
695 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
696 Rewrite using new window resize routines.
697 (kill-buffer-and-window, mouse-autoselect-window-select):
698 Use ignore-errors instead of condition-case.
699 (quit-window): Call delete-frame instead of delete-windows-on
700 for the only buffer on frame.
702 2011-06-10 Martin Rudalics <rudalics@gmx.at>
704 * loadup.el (top-level): Load window before files for the sake
705 of replace-buffer-in-windows.
707 * files.el (read-buffer-to-switch)
708 (switch-to-buffer-other-window)
709 (switch-to-buffer-other-frame, display-buffer-other-frame):
712 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
713 (previous-buffer): Move to window.el.
715 * bindings.el (unbury-buffer): Move to window.el.
717 * window.el (delete-other-windows-vertically): Move after
718 definition of delete-other-windows.
719 (other-window, delete-windows-on, replace-buffer-in-windows):
720 Move here from window.c.
721 (record-window-buffer, unrecord-window-buffer)
722 (set-window-buffer-start-and-point, switch-to-prev-buffer)
723 (switch-to-next-buffer): New functions.
724 (get-next-valid-buffer, last-buffer, next-buffer): Move here
725 from simple.el. Call switch-to-next-buffer.
726 (previous-buffer): Move here from simple.el.
727 Call switch-to-prev-buffer.
728 (bury-buffer): Move here from buffer.c. Switch to previous
729 buffer when window cannot be deleted.
730 (unbury-buffer): Move here from bindings.el.
731 (ctl-x-map): Move binding for other-window from window.c to
733 (read-buffer-to-switch, switch-to-buffer-other-window)
734 (switch-to-buffer-other-frame): Move here from files.el.
735 (normalize-buffer-to-switch-to): New functions.
736 (switch-to-buffer): Move here from buffer.c.
737 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
739 2011-06-10 Martin Rudalics <rudalics@gmx.at>
741 * window.el (window-min-height, window-min-width): Move here
742 from window.c. Add defcustoms and rewrite doc-strings.
743 (resize-mini-window, resize-window): New functions.
744 (adjust-window-trailing-edge, enlarge-window, shrink-window):
745 Move here from window.c.
746 (maximize-window, minimize-window): New functions.
747 (delete-window, delete-other-windows, split-window): Move here
749 (window-split-min-size): New function.
750 (split-window-keep-point): Mention split-window-above-each-other
751 instead of split-window-vertically.
752 (split-window-above-each-other, split-window-vertically):
753 Rename split-window-vertically to split-window-above-each-other and
754 provide defalias for old definition.
755 (split-window-side-by-side, split-window-horizontally): Rename
756 split-window-horizontally to split-window-side-by-side and provide
757 defalias for the old definition.
758 (ctl-x-map): Move bindings for delete-window,
759 delete-other-windows and enlarge-window here from window.c.
760 Replace bindings for split-window-vertically and
761 split-window-horizontally by bindings for
762 split-window-above-each-other and split-window-side-by-side.
764 * cus-start.el (all): Remove entries for window-min-height and
765 window-min-width. Add entries for window-splits and
768 2011-06-09 Glenn Morris <rgm@gnu.org>
770 * calendar/appt.el (appt-mode-line): New function.
771 (appt-check, appt-disp-window): Use it.
773 * files.el (hack-one-local-variable-eval-safep):
774 Allow minor-modes with explicit +/-1 arguments.
776 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
778 * term/xterm.el (xterm): Add defgroup.
779 (xterm-extra-capabilities): Add defcustom to supply known xterm
780 capabilities, skip querying them, or query them (default).
781 (terminal-init-xterm): Use it.
782 (terminal-init-xterm-modify-other-keys): New function to set up
783 modifyOtherKeys support to simplify `terminal-init-xterm'.
785 2011-06-09 Martin Rudalics <rudalics@gmx.at>
787 * window.el (resize-window-reset, resize-window-reset-1)
788 (resize-subwindows-skip-p, resize-subwindows-normal)
789 (resize-subwindows, resize-other-windows, resize-this-window)
790 (resize-root-window, resize-root-window-vertically)
791 (window-deletable-p, window-or-subwindow-p)
792 (frame-root-window-p): New functions.
794 2011-06-09 Glenn Morris <rgm@gnu.org>
796 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
797 (ange-ftp-get-files): Use it.
799 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
801 * mail/sendmail.el (mail-recover-1, mail-recover):
802 * files.el (recover-file, recover-session):
803 Handle dired-listing-switches not being just a single short option.
805 2011-06-09 Glenn Morris <rgm@gnu.org>
807 * calendar/appt.el (appt-display-message, appt-disp-window):
808 Handle lists of appointments.
810 2011-06-08 Martin Rudalics <rudalics@gmx.at>
812 * window.el (one-window-p): Move down in code.
814 (window-current-scroll-bars): Rewrite doc-string.
815 Normalize live window argument.
816 (walk-windows, get-window-with-predicate, count-windows):
817 Rewrite doc-string. Use window-list-1.
818 (window-in-direction-2, window-in-direction, get-mru-window):
821 2011-06-08 Reuben Thomas <rrt@sc3d.org>
823 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
826 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
828 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
830 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
832 * loadhist.el (unload-feature-special-hooks):
833 Add `comint-output-filter-functions'.
835 2011-06-08 Ivan Kanis <gnu@kanis.fr>
837 * calendar/appt.el (appt-check): Move some initializations into the let.
839 2011-06-08 Martin Rudalics <rudalics@gmx.at>
841 * window.el (window-height): Defalias to window-total-height.
842 (window-width): Defalias to window-body-width.
844 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
846 * image-mode.el (image-toggle-animation): New command.
847 (image-mode-map): Bind it to RET.
848 (image-mode): Update message.
849 (image-toggle-display-image): Avoid a spurious cache flush.
850 (image-transform-rotation): Doc fix.
851 (image-transform-properties): Return quickly in the normal case.
852 (image-animate-loop): Rename from image-animate-max-time.
854 * image.el (image-animate-max-time): Move to image-mode.el.
855 (create-animated-image): Remove unnecessary function.
856 (image-animate): Rename from image-animate-start. New arg.
857 (image-animate-stop): Remove; just use image-animate-timer.
858 (image-animate-timer): Use car-safe.
859 (image-animate-timeout): Rename argument.
861 2011-06-07 Martin Rudalics <rudalics@gmx.at>
863 * window.el (get-lru-window, get-largest-window): Move here from
864 window.c. Rename first argument to ALL-FRAMES.
865 Rephrase doc-strings.
866 (get-buffer-window-list): Rewrite using window-list-1.
868 (window-safe-min-height, window-safe-min-width): New constants.
869 (window-size-ignore, window-min-size, window-min-size-1)
870 (window-sizable, window-sizable-p, window-size-fixed-1)
871 (window-size-fixed-p, window-min-delta-1, window-min-delta)
872 (window-max-delta-1, window-max-delta, window-resizable)
873 (window-resizable-p, window-total-height, window-total-width)
874 (window-body-width): New functions.
875 (window-full-height-p, window-full-width-p): Rewrite using
877 (window-body-height): Rewrite using window-body-size.
879 2011-06-06 Martin Rudalics <rudalics@gmx.at>
881 * window.el (window-right, window-left, window-child)
882 (window-child-count, window-last-child, window-any-p)
883 (normalize-live-buffer, normalize-live-frame)
884 (normalize-any-window, normalize-live-window)
885 (window-iso-combination-p, window-iso-combined-p)
886 (window-iso-combinations)
887 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
888 (windows-with-parameter, window-with-parameter)
889 (window-atom-root, make-window-atom, window-atom-check-1)
890 (window-atom-check, window-side-check, window-check):
892 (ignore-window-parameters, window-sides, window-sides-vertical)
893 (window-sides-slots): New variables.
894 (window-size-fixed): Move down in code. Minor doc-string fix.
896 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
898 * comint.el (comint-dynamic-complete-as-filename)
899 (comint-dynamic-complete-filename): Correctly call
900 completion-in-region.
902 2011-06-05 Deniz Dogan <deniz@dogan.se>
904 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
907 2011-06-05 Deniz Dogan <deniz@dogan.se>
909 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
910 (rcirc): Use it to prompt for encryption.
912 2011-06-05 Roland Winkler <winkler@gnu.org>
914 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
915 (bibtex-search-entries): New command bound to C-c C-a.
916 (bibtex-display-entries): New function.
918 2011-06-05 Roland Winkler <winkler@gnu.org>
920 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
921 (bibtex-insert-kill): After yanking insert newline if necessary.
922 (bibtex-initialize): Call bibtex-string-files-init only once.
923 (bibtex-mode): Do not call easy-menu-add.
924 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
925 (bibtex-yank): Set arg properly if nil.
927 2011-06-05 Roland Winkler <winkler@gnu.org>
929 * textmodes/bibtex.el (bibtex-search-entry-globally):
931 (bibtex-search-entry): Use it.
933 2011-06-05 Roland Winkler <winkler@gnu.org>
935 * textmodes/bibtex.el (bibtex-entry-format): New option
937 (bibtex-format-entry, bibtex-reformat): Honor this option.
938 (bibtex-parse-entry): Return fields in proper order.
940 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
942 * doc-view.el (doc-view-remove-if): Move computation of result out
943 of `dolist' to silence misleading lexical-binding warning.
945 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
947 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
948 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
950 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
952 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
955 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
957 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
958 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
959 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
961 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
962 (tramp-completion-function-alist-ssh)
963 (tramp-completion-function-alist-telnet)
964 (tramp-completion-function-alist-su)
965 (tramp-completion-function-alist-putty): Set `tramp-autoload'
970 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
971 load "tramp.el" `tramp-set-completion-function'.
973 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
975 * shell.el: Require and use pcomplete.
976 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
977 (shell-completion-vars): Set pcomplete-default-completion-function.
979 2011-06-04 Deniz Dogan <deniz@dogan.se>
981 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
984 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
986 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
988 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
990 * bs.el (bs--mark-unmark, bs--nth-wrapper):
991 * mpc.el (mpc-select-extend, mpc-songpointer-context):
992 * vc/log-view.el (log-view-beginning-of-defun):
993 * vc/smerge-mode.el (smerge-apply-resolution-patch)
994 (smerge-refine-forward, smerge-refine-chopup-region):
995 Silence warning for unused `dotimes' counter variables.
997 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
999 * net/tramp.el (tramp-with-progress-reporter): Rename from
1000 with-progress-reporter. Use `declare'.
1003 * net/tramp-gvfs.el: Update all uses.
1005 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1007 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1008 buffer isn't killed before making it current.
1010 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1012 Silence various byte-compiler warnings.
1013 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1014 `access-type' and new obsolescence format.
1015 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1017 (byte-compile-check-variable): New `access-type' argument.
1018 Only warn if the access-type is obsolete.
1019 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1020 (byte-compile-variable-set): Adjust callers.
1021 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1022 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1023 setting it as obsolete.
1024 * simple.el (minibuffer-completing-symbol):
1025 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1027 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1029 * international/quail.el (quail-mouse-choose-completion): Remove unused
1030 code referring to obsolete var.
1031 (quail-choose-completion-string): Remove.
1032 * server.el (server-clients-with, server-kill-buffer-query-function)
1033 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1034 * proced.el (proced-send-signal):
1035 * emacs-lisp/lisp.el (lisp-complete-symbol):
1036 Replace completion-annotate-function with completion-extra-properties.
1038 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * simple.el (goto-line): Use read-number.
1041 (overriding-map-is-bound): Remove.
1042 (saved-overriding-map): Change default.
1043 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1044 Take the map as argument.
1045 (universal-argument, negative-argument, digit-argument): Use it.
1046 (restore-overriding-map): Adjust.
1047 (do-auto-fill): Use fill-forward-paragraph.
1048 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1050 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1051 (minibuffer-inactive-mode): New major mode.
1052 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1053 the *Messages* buffer" hack.
1054 (mouse-popup-menubar): Don't burp if the event is a normal key.
1056 Miscellaneous tweaks.
1057 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1058 lexical scoping as in subr.el's dolist and dotimes.
1059 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1060 Silence compiler warning.
1061 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1062 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1063 * international/ccl.el (ccl-compile): Trivial simplification.
1064 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1065 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1066 `printflag' argument.
1067 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1068 Purecopy the whole obsolescence data.
1070 2011-06-01 Leo Liu <sdl.web@gmail.com>
1072 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1073 improve doc-string as suggested by Marco Pessotto
1074 <melmothx@gmail.com>.
1075 (rcirc-print): Fix last change.
1077 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * minibuffer.el (complete-with-action): Return nil for the metadata and
1080 boundaries of non-functional tables.
1081 (completion-table-dynamic): Return nil for the metadata.
1082 (completion-table-with-terminator): Add default case, using
1083 complete-with-action.
1084 (completion--metadata): New function.
1085 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1086 to try and avoid pathological performance problems.
1087 (completion--embedded-envvar-table): Return `category' metadata.
1089 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1091 * subr.el (process-alive-p): New tiny convenience function.
1093 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1096 content but also its previous major mode.
1098 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
1100 * debug.el (debug): Restore the previous content of the
1101 *Backtrace* buffer when we exit with C-M-c.
1103 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * minibuffer.el: Add metadata method to completion tables.
1106 (completion-category-overrides): New defcustom.
1107 (completion-metadata, completion--field-metadata)
1108 (completion-metadata-get, completion--styles)
1109 (completion--cycle-threshold): New functions.
1110 (completion-try-completion, completion-all-completions):
1111 Add `metadata' argument to choose completion-styles.
1112 (completion--do-completion): Use metadata to choose cycling.
1113 (completion-all-sorted-completions): Use metadata for sorting.
1114 Remove :completion-cycle-penalty which is not needed any more.
1115 (completion--try-word-completion): Add `metadata' argument.
1116 (minibuffer-completion-help): Check metadata for annotation function
1118 (completion-file-name-table): Return `category' metadata.
1119 (minibuffer-completing-file-name): Make obsolete.
1120 * simple.el (minibuffer-completing-symbol): Make obsolete.
1121 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1122 completion-try-completion.
1124 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1128 2011-05-30 Leo Liu <sdl.web@gmail.com>
1130 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
1131 (rcirc-print): Decode all incoming messages (bug#8744).
1132 (rcirc-decode-coding-system): Allow value nil for automatic coding
1135 2011-06-01 Glenn Morris <rgm@gnu.org>
1137 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1139 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1141 * image.el (image-animate-max-time): Allow nil and t values.
1143 (create-animated-image): Doc fix.
1144 (image-animate-start): Remove second arg; just use
1145 image-animate-max-time.
1146 (image-animate-timeout): Doc fix. Args changed.
1148 * image-mode.el (image-toggle-display-image): Ensure that the
1149 image spec passed to the animate timer is the same object as in
1150 the the buffer's display property (Bug#6981).
1151 (image-transform-properties): Doc fix.
1153 * image.el (image-animate-max-time): Default to nil.
1155 2011-05-29 Martin Rudalics <rudalics@gmx.at>
1157 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1158 entire buffer list (Bug#8184).
1160 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1162 * image.el (imagemagick-types-inhibit)
1163 (imagemagick-register-types): Doc fix.
1165 2011-05-29 Deniz Dogan <deniz@dogan.se>
1167 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1170 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
1172 * select.el: Don't perform clipboard-manager saving in hooks;
1173 leave the hooks empty.
1175 2011-05-28 Leo Liu <sdl.web@gmail.com>
1177 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1178 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1179 (occur-edit-mode): New major mode (Bug#8463).
1180 (occur-after-change-function): New function.
1181 (occur-engine): Give Occur tags a read-only property.
1183 2011-05-28 Kevin Ryde <user42@zip.com.au>
1185 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1187 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1189 * bindings.el (help-echo): Make the initial non-indicator dash
1190 empty on graphical terminals (Bug#7295).
1192 * files.el (auto-mode-alist): Move config rule after the
1193 in-stripping one (Bug#8547).
1195 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1197 * startup.el (normal-splash-screen): Remove gratuitous mode-line
1200 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
1202 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1203 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1206 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1209 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1211 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1213 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1214 (hs-hide-block-at-point, hs-find-block-beginning)
1215 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1218 2011-05-28 Glenn Morris <rgm@gnu.org>
1220 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
1222 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
1224 * help-fns.el (describe-function-1): If the function is a derived
1225 major mode, print the parent mode.
1227 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1228 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1230 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * minibuffer.el (completion--capf-wrapper): Check applicability before
1233 retuning non-nil for non-exclusive completion data.
1234 * progmodes/etags.el (tags-completion-at-point-function):
1235 * info-look.el (info-lookup-completions-at-point): Mark as
1237 (info-complete): Adjust accordingly.
1239 * info-look.el: Convert to lexical-binding and completion-at-point.
1240 (info-lookup-completions-at-point): New function.
1241 (info-complete): Use it and completion-in-region.
1243 2011-05-28 Drew Adams <drew.adams@oracle.com>
1245 * isearch.el: Let M-e start with point at the first mismatched char.
1246 (isearch-fail-pos): New function.
1247 (isearch-edit-string): Use it.
1249 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1251 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1253 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1255 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1256 traversal functions for avl-trees.
1257 (avl-tree--stack): New struct.
1258 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1259 (avl-tree-enter): Add optional `updatefun' arg.
1260 (avl-tree--do-enter): Add optional `updatefun' arg.
1261 Change return value.
1262 (avl-tree-delete): Add optional `test' and `nilflag' args.
1263 (avl-tree--do-delete): Add `test' and `nilflag' args.
1264 Change return value.
1265 (avl-tree-member): Add optional `nilflag'
1266 (avl-tree-member-p): New function.
1267 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1268 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1269 (avl-tree-stack-empty-p): New functions.
1271 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1273 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1274 avl-tree--del-balance1 and make it work both ways.
1275 (avl-tree--del-balance2): Remove.
1276 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1277 make it work both ways.
1278 (avl-tree--enter-balance2): Remove.
1279 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1281 (avl-tree--mapc, avl-tree-map): Add direction argument.
1283 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
1285 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1287 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
1289 * select.el: Support clipboard managers with built-in function
1290 x-clipboard-manager-save, via delete-frame-functions and
1292 (xselect-convert-to-targets): Add MULTIPLE target to list.
1293 (xselect-convert-to-save-targets): New function.
1295 2011-05-27 Kenichi Handa <handa@m17n.org>
1297 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1298 let-binding rfc2047-encode-encoded-words to nil.
1300 2011-05-27 Glenn Morris <rgm@gnu.org>
1302 * mail/emacsbug.el: Don't require url-util.
1304 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1306 * files.el (set-auto-mode):
1307 Also respect mode: entries at the end of the file. (Bug#8586)
1309 2011-05-26 Glenn Morris <rgm@gnu.org>
1311 * files.el (hack-local-variables-prop-line, hack-local-variables):
1312 Downcase mode names, as seems to be traditional.
1313 (hack-local-variables, hack-local-variables-apply): Doc fixes.
1315 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1316 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1318 2011-05-25 Julien Danjou <julien@danjou.info>
1320 * textmodes/rst.el (rst-define-level-faces): Do not define face
1321 symbol if it is already defined.
1323 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1325 * play/5x5.el (5x5-new-game, 5x5-randomize):
1326 Reset 5x5-solver-output to nil when a new grid is cast.
1327 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1328 these debugging traces, as defmacro breaks the compiled code.
1330 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1332 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1334 2011-05-24 Leo Liu <sdl.web@gmail.com>
1336 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1337 (vc-bzr-sha1): Adapt.
1339 * sha1.el: Remove. Function `sha1' is now builtin.
1341 * bindings.el: Provide sha1 feature.
1343 2011-05-24 Kenichi Handa <handa@m17n.org>
1345 * mail/sendmail.el: Require `rfc2047'.
1346 (mail-insert-from-field): Do not perform RFC2047 encoding.
1347 (mail-encode-header): New function.
1348 (sendmail-send-it): Set buffer-file-coding-system of the work
1349 buffer to the return value of select-message-coding-system.
1350 Call mail-encode-header.
1352 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1354 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
1356 * mail/supercite.el (sc-default-cite-frame):
1357 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1359 2011-05-24 Glenn Morris <rgm@gnu.org>
1361 * progmodes/python.el (brm-menu): Declare.
1363 * emulation/viper.el (viper-set-hooks): Declare.
1365 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1366 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1367 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1368 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1369 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1370 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1372 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1374 Add an :exit-function for completion-at-point.
1376 * minibuffer.el (completion--done): New fun.
1377 (completion--do-completion): Use it. New arg `expect-exact'.
1378 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1379 since completion--do-completion does it for us now.
1380 (minibuffer-force-complete): Use completion--done and
1381 completion--replace. Handle sole-completion case with more care.
1382 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1383 (completion-extra-properties): New var.
1384 (completion-annotate-function): Make obsolete.
1385 (minibuffer-completion-help): Adjust accordingly.
1386 Use completion-list-insert-choice-function.
1387 (completion-at-point, completion-help-at-point):
1388 Bind completion-extra-properties.
1389 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1390 * simple.el (completion-list-insert-choice-function): New var.
1391 (completion-setup-function): Preserve it.
1392 (choose-completion): Pay attention to it, shuffle the code a bit.
1393 (choose-completion-string): New arg `insert-function'.
1395 * textmodes/bibtex.el: Convert to lexical binding.
1396 (bibtex-mode-map): Use completion-at-point.
1397 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1398 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1399 (bibtex-complete): Define as obsolete alias.
1400 (bibtex-complete-internal): Remove.
1401 (bibtex-format-entry): Remove unused sub-group in regexp.
1402 * shell.el (shell--command-completion-data)
1403 (shell-environment-variable-completion):
1404 * pcomplete.el (pcomplete-completions-at-point):
1405 * comint.el (comint--complete-file-name-data): Use :exit-function
1406 instead of completion-table-with-terminator so it also works for
1409 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1413 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1416 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1418 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1420 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1421 customization variable and implement: If non-nil, auto-fill will
1422 be inhibited while on topic's header line.
1424 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1426 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1427 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1428 always have a solution in grid size = 5 cases.
1429 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1430 (5x5-solver-output, 5x5-log-buffer): New vars.
1431 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1432 Make these variables buffer local to achieve 5x5 multi-session-ness.
1433 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1434 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1435 (5x5-solve-suggest): New funs.
1436 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1437 randomize a grid so that we ensure that there is always a solution.
1438 (5x5-make-random-grid): Allow other movement than flipping.
1440 2011-05-23 Kevin Ryde <user42@zip.com.au>
1442 * emacs-lisp/advice.el (ad-read-advised-function):
1443 Use `function-called-at-point' as the default default, if it has
1444 advice and passes PREDICATE.
1446 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1449 byte-compile-lambda if it's actually a lambda.
1451 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1452 Fix function quoting. Use backquote better.
1454 2011-05-22 Yuanle Song <sylecn@gmail.com>
1456 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1457 matching (Bug#8516).
1459 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1461 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1462 different face (Bug#8178).
1464 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
1466 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1469 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1472 funcall as well (bug#8712). Warn when performing those conversions.
1473 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1475 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1477 2011-05-22 Glenn Morris <rgm@gnu.org>
1479 * files.el (hack-local-variables-prop-line): Small simplifications.
1480 (hack-local-variables, hack-local-variables-prop-line):
1481 If MODE-ONLY, return the mode, rather than just `t'.
1483 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1487 2011-05-21 Glenn Morris <rgm@gnu.org>
1489 * files.el (hack-local-variables-prop-line, hack-local-variables):
1490 If only interested in the mode, don't bother doing the other stuff.
1492 * image-mode.el (image-after-revert-hook):
1493 Redraw all frames on which the image is visible. (Bug#8567)
1495 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1497 * wid-edit.el (widget-checklist-match-inline):
1498 Fix 2011-04-19 change. (Bug#8649)
1500 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1503 Also allow singlespace after single-letter capitals followed by a dot.
1505 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1506 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1508 2011-05-20 Nix <nix@esperi.org.uk>
1510 * files.el (basic-save-buffer-2):
1511 Fix handling of break-hardlink-on-save with non-existent files.
1513 2011-05-19 Deniz Dogan <deniz@dogan.se>
1515 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1516 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1518 2011-05-19 Glenn Morris <rgm@gnu.org>
1520 * progmodes/f90.el (f90-type-def-re):
1521 Handle "type, bind(c)". (Bug#8691)
1523 * emacs-lisp/autoload.el (batch-update-autoloads):
1524 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1526 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
1528 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1529 property for the correct connection in case of multihops.
1531 2011-05-18 Glenn Morris <rgm@gnu.org>
1533 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1534 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1536 Rationalize calendar handling of day and month abbrev-arrays.
1537 * calendar/calendar.el (calendar-customized-p): New function.
1538 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1539 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1541 (calendar-abbrev-length, calendar-day-abbrev-array)
1542 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1543 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1544 Elements may no longer be nil.
1545 (calendar-day-name, calendar-month-name):
1546 Update for changed nature of abbrev arrays.
1547 * calendar/diary-lib.el (diary-name-pattern):
1548 Update for changed nature of abbrev arrays.
1549 (diary-mark-entries-1): Update calendar-make-alist calls.
1550 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1551 * calendar/cal-html.el (cal-html-day-abbrev-array):
1552 Simply inherit from calendar-day-abbrev-array.
1554 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * progmodes/grep.el (grep-mode): Disable default
1557 compilation-directory-matcher setting (bug#8684).
1559 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
1561 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1562 instead of "head" and "tail". There were problems with SunOS 5.9,
1563 and it performs better.
1565 2011-05-17 Glenn Morris <rgm@gnu.org>
1567 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1569 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1570 Replace obsolete function.
1572 * shell.el (pcomplete-parse-arguments-function): Declare.
1574 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1575 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1576 (appt-check): Doc fixes.
1577 (appt-disp-window-function, appt-delete-window-function):
1578 Remove needless special case in custom :type.
1579 (appt-display-count): Default to 0, not nil.
1580 (appt-check): Reset appt-display-count to 0, not nil.
1582 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
1584 * progmodes/python.el (python-font-lock-keywords):
1585 Add the Python 3.X keyword "nonlocal" (bug#8639).
1587 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1591 2011-05-16 Kevin Ryde <user42@zip.com.au>
1593 * info-look.el (makefile-automake-mode): New setups, looking in
1594 automake manual, then makefile-mode.
1595 (makefile-mode): Remove automake manual, have it just in
1596 makefile-automake-mode since there's various things different or
1597 not relevant to plain make.
1598 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1599 believe a hypothetical automake-mode would go to makefile-mode,
1600 not the other way around.
1602 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
1604 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1605 hunk-end tags (Bug#8672).
1607 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1608 vc-annotate-show-diff-revision-at-line (Bug#8671).
1610 2011-05-14 Glenn Morris <rgm@gnu.org>
1612 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1613 in the middle of an existing one with multiple authors. (Bug#8645)
1614 (change-log-font-lock-keywords): Also handle multiple author lines
1615 with leading tabs. (Bug#8644)
1617 * calendar/appt.el (appt-check): Rename some local variables.
1618 Some simplification/reordering.
1620 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1621 (feedmail-sendmail-f-doesnt-sell-me-out)
1622 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1623 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1624 (feedmail-queue-runner-message-sender): Set :version.
1625 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1626 (bbdb-dwim-net-address, vm-mail): Declare.
1627 (feedmail-binmail-gnulinuxish-template):
1628 Rename from feedmail-binmail-linuxish-template.
1629 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1630 Use insert-buffer-substring.
1632 2011-05-14 Bill Carpenter <bill@carpenter.org>
1634 * mail/feedmail.el (feedmail-patch-level): Increase.
1635 (feedmail-debug): New custom group.
1636 (feedmail-confirm-outgoing-timeout)
1637 (feedmail-sendmail-f-doesnt-sell-me-out)
1638 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1639 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1640 (feedmail-sender-line, feedmail-from-line)
1641 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1642 (feedmail-spray-this-address)
1643 (feedmail-spray-address-fiddle-plex-list)
1644 (feedmail-queue-use-send-time-for-date)
1645 (feedmail-queue-use-send-time-for-message-id)
1646 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1647 (feedmail-buffer-eating-function):
1649 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1650 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1651 (feedmail-message-action-scroll-down): New functions.
1652 (feedmail-queue-directory, feedmail-queue-draft-directory):
1653 Use expand-file-name.
1654 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1655 Remove C-v help entry.
1656 (feedmail-queue-buffer-file-name): New variable.
1657 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1658 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1659 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1660 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1661 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1662 (feedmail-message-action-toggle-spray)
1663 (feedmail-run-the-queue-no-prompts)
1664 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1665 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1666 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1667 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1668 (feedmail-envelope-deducer, feedmail-fiddle-from)
1669 (feedmail-fiddle-sender, feedmail-default-date-generator)
1670 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1671 (feedmail-fiddle-spray-address)
1672 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1673 (feedmail-fiddle-list-of-fiddle-plexes)
1674 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1675 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1676 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1677 Change default. Doc fix.
1678 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1679 (feedmail-binmail-linuxish-template): New constant.
1680 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1681 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1682 (feedmail-send-it): Add debug call.
1683 Use feedmail-queue-buffer-file-name, and
1684 feedmail-send-it-immediately-wrapper.
1685 (feedmail-message-action-send): Add debug call.
1686 Use feedmail-send-it-immediately-wrapper.
1687 (feedmail-queue-express-to-queue): Add debug call.
1688 Run feedmail-queue-express-hook.
1689 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1690 (feedmail-message-action-help-blat):
1691 Rename from feedmail-queue-send-edit-prompt-help-first.
1692 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1693 Check line-endings. Handle errors better.
1694 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1695 Doc fix. Add debug call.
1696 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1697 Use feedmail-queue-send-edit-prompt-inner.
1698 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1699 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1700 from feedmail-queue-send-edit-prompt.
1701 (feedmail-queue-send-edit-prompt-help)
1702 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1703 (feedmail-tidy-up-slug): Add debug call.
1704 Respect feedmail-queue-slug-suspect-regexp.
1705 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1706 (feedmail-dump-message-to-queue): Add debug call.
1707 Expand queue-directory.
1708 (feedmail-dump-message-to-queue): Change message slightly.
1709 Use feedmail-say-chatter.
1710 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1711 (feedmail-send-it-immediately-wrapper): New function.
1712 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1713 Insert empty string rather than newline. Handle full-frame case.
1714 Use catch/throw. Use feedmail-say-chatter.
1715 (feedmail-fiddle-from): Try mail-host-address.
1716 (feedmail-default-message-id-generator): Doc fix.
1717 Bind system-time-locale. Handle missing end.
1718 (feedmail-fiddle-x-mailer): Add debug call.
1719 Handle feedmail-x-mailer-line being nil.
1720 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1721 Add debug call. Use buffer-substring-no-properties.
1722 (feedmail-say-debug, feedmail-say-chatter): New functions.
1723 (feedmail-find-eoh): Give an explicit error.
1725 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
1727 * net/newst-treeview.el (newsticker-treeview-face): Change default
1728 family from helvetica to sans.
1729 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1730 etc/images/newsticker.
1732 * net/newst-reader.el (newsticker-feed-face): Change default
1733 family from helvetica to sans.
1735 * net/newst-plainview.el (newsticker-new-item-face)
1736 (newsticker-old-item-face, newsticker-immortal-item-face)
1737 (newsticker-obsolete-item-face, newsticker-date-face)
1738 (newsticker-statistics-face): Change default family from
1740 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1741 etc/images/newsticker.
1743 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1744 (newsticker--process-auto-mark-filter-match): : Tell user about
1747 2011-05-13 Didier Verna <didier@xemacs.org>
1749 Common Lisp indentation improvements on defmethod and lambda-lists.
1750 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1751 (lisp-lambda-list-keyword-parameter-indentation)
1752 (lisp-lambda-list-keyword-parameter-alignment)
1753 (lisp-lambda-list-keyword-alignment): New customizable user options.
1754 (lisp-indent-defun-method): Improve docstring.
1755 (extended-loop-p): Fix comment.
1756 (lisp-indent-lambda-list-keywords-regexp): New variable.
1757 (lisp-indent-lambda-list): New function.
1758 (lisp-indent-259): Use it.
1759 (lisp-indent-defmethod): Support for more than one
1760 method qualifier and properly indent methods lambda-lists.
1761 (defgeneric): Provide a missing common-lisp-indent-function property.
1763 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1766 bounds for the empty string (bug#8667).
1768 2011-05-13 Glenn Morris <rgm@gnu.org>
1770 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1772 * mail/sendmail.el (sendmail-program): Try executable-find first.
1773 (sendmail-send-it): `sendmail-program' cannot be unbound.
1775 * calendar/appt.el (appt-make-list): Simplify.
1776 (appt-time-msg-list): Doc fix.
1777 (appt-check): Change mode-line message at the time of the appointment.
1779 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1781 * progmodes/ld-script.el (ld-script-keywords)
1782 (ld-script-builtins): Update keywords list.
1784 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1788 * shell.el (shell-completion-vars): New function.
1790 * simple.el (read-shell-command): Use it.
1791 (blink-matching-open): No need for " [...]" in minibuffer-message.
1793 2011-05-12 Glenn Morris <rgm@gnu.org>
1795 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1796 (appt-check): Simplify.
1798 2011-05-12 Eli Zaretskii <eliz@gnu.org>
1800 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1801 literal "/dev/null".
1803 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1808 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
1810 * progmodes/which-func.el (which-function):
1811 Use add-log-current-defun instead of add-log-current-defun-function,
1812 which might not be defined (Bug#8260).
1814 2011-05-12 Glenn Morris <rgm@gnu.org>
1816 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1817 Let byte-compile-initial-macro-environment always take precedence.
1819 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * net/rcirc.el: Add support for SSL/TLS connections.
1822 (rcirc-server-alist): New field `encryption'.
1823 (rcirc): Check `encryption' settings.
1824 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1825 Merge make-local-variable into `set'.
1826 (rcirc--connection-open-p): New function.
1827 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1828 the process is not a network process (e.g. running gnutls-cli).
1829 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1830 Make rcirc-(en|de)code-coding-system local here.
1831 (rcirc-mode): Merge make-local-variable into `set'.
1832 (rcirc-parent-buffer): Make permanent buffer-local.
1833 (rcirc-multiline-minor-mode): Don't do it here.
1834 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1835 there's no server buffer.
1837 2011-05-11 Glenn Morris <rgm@gnu.org>
1839 * newcomment.el (comment-kill): Prefix "unused" local.
1841 * term/w32console.el (get-screen-color): Declare.
1843 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1844 Handle symbol elements of byte-compile-initial-macro-environment.
1846 2011-05-10 Leo Liu <sdl.web@gmail.com>
1848 * bookmark.el (bookmark-bmenu-mode-map):
1849 Bind bookmark-bmenu-search to `/'.
1851 * mail/footnote.el: Convert to utf-8 encoding.
1852 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1853 (Footnote-unicode): New function.
1854 (footnote-style-alist): Add unicode style to the list.
1855 (footnote-style): Doc fix.
1857 2011-05-10 Jim Meyering <meyering@redhat.com>
1859 Fix doubled-word typos.
1860 * international/quail.el (quail-insert-kbd-layout): and and -> and
1861 * kermit.el: and and -> and
1862 * net/ldap.el (ldap-search-internal): to to -> to
1863 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1864 * progmodes/js.el (js-mode): and and -> and
1865 * textmodes/artist.el (artist-move-to-xy): at at -> at
1866 (artist-draw-region-trim-line-endings): if if -> if
1867 And Safetyc -> Safety.
1868 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1870 2011-05-10 Glenn Morris <rgm@gnu.org>
1871 Stefan Monnier <monnier@iro.umontreal.ca>
1873 * files.el (hack-one-local-variable-eval-safep):
1874 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1876 2011-05-10 Glenn Morris <rgm@gnu.org>
1878 * calendar/diary-lib.el (diary-list-entries-hook)
1879 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1880 (diary-nongregorian-marking-hook, diary-list-entries)
1881 (diary-include-other-diary-files, diary-mark-entries)
1882 (diary-mark-included-diary-files): Doc fixes.
1884 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1886 * misc.el: Require tabulated-list.el during compilation.
1888 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1890 * progmodes/compile.el (compilation-start):
1891 Run compilation-filter-hook for the async case too.
1892 (compilation-filter-hook): Doc fix.
1894 2011-05-09 Deniz Dogan <deniz@dogan.se>
1896 * wdired.el: Remove outdated installation comment. Fix usage
1899 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
1901 * misc.el: Implement new command `list-dynamic-libraries'.
1902 (list-dynamic-libraries--loaded-only-p): New variable.
1903 (list-dynamic-libraries--refresh): New function.
1904 (list-dynamic-libraries): New command.
1906 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
1908 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1909 Fix the ant regexp to handle end-line and end-column info from jikes.
1910 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1911 higher priority to avoid clobbering by gnu.
1913 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1915 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1916 if the face has existing theme settings (Bug#8454).
1918 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1920 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1921 Only match variables declared via `my' or `our' (Bug#8261).
1923 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1924 special file names `.' and `..' (Bug#8259).
1926 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
1928 * progmodes/grep.el (grep-mode-font-lock-keywords):
1929 Remove buffer-changing entries.
1930 (grep-filter): New function.
1931 (grep-mode): Add it to compilation-filter-hook.
1933 * progmodes/compile.el (compilation-filter-hook)
1934 (compilation-filter-start): New defvars.
1935 (compilation-filter): Call compilation-filter-hook prior to
1936 updating the process mark.
1938 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1942 2011-05-07 Eli Zaretskii <eliz@gnu.org>
1944 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1945 mailclient-send-it even if window-system is nil. (Bug#8595)
1947 * term/w32console.el (terminal-init-w32console):
1948 Call get-screen-color and use its output to set the frame
1949 background-mode. (Bug#8597)
1951 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1953 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1954 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1956 (defgeneric, eieio--defmethod): Use them.
1957 (eieio-defgeneric): Remove.
1958 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1960 2011-05-07 Glenn Morris <rgm@gnu.org>
1962 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1963 Use let rather than let*.
1964 (timeclock-find-discrep): Remove unused local.
1966 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1968 * calendar/appt.el (appt-time-msg-list): Doc fix.
1970 2011-05-06 Noah Friedman <friedman@splode.com>
1972 * apropos.el (apropos-print-doc): Only use
1973 emacs-lisp-docstring-fill-column when it is bound to an integer,
1974 per that variable's documentation.
1976 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1979 and warnings are not silently discarded (e.g. use -d instead of -P).
1981 2011-05-06 Glenn Morris <rgm@gnu.org>
1983 * calendar/appt.el (appt-message-warning-time): Doc fix.
1984 (appt-warning-time-regexp): New option.
1985 (appt-make-list): Respect appt-message-warning-time.
1987 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1989 (diary-add-to-list): Strip comments from the displayed string.
1990 (diary-mode): Set comment-start and comment-end.
1992 * vc/diff-mode.el (smerge-refine-subst): Declare.
1993 (diff-refine-hunk): Don't require smerge-mode when compiling.
1995 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
1997 * simple.el (list-processes): Return nil as the docstring says.
1999 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2001 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2003 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2004 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2005 determining of binary transfer. (Bug#7383)
2007 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2010 Fix port computation bug. (Bug#8618)
2012 2011-05-05 Glenn Morris <rgm@gnu.org>
2014 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2016 * simple.el (shell-dynamic-complete-functions)
2017 (comint-dynamic-complete-functions): Declare.
2019 * net/network-stream.el (gnutls-negotiate):
2020 * simple.el (tabulated-list-print): Fix declarations.
2022 * progmodes/gud.el (syntax-symbol, syntax-point):
2023 Remove unnecessary and incorrect declarations.
2025 * emacs-lisp/check-declare.el (check-declare-scan):
2026 Handle byte-compile-initial-macro-environment in bytecomp.el
2028 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2030 Fix earlier half-done eieio-defmethod change (bug#8338).
2031 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2032 Streamline and change calling convention.
2033 (defmethod): Adjust accordingly and simplify.
2034 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2035 new eieio--defmethod.
2036 (slot-boundp): Minor CSE simplification.
2038 2011-05-05 Milan Zamazal <pdm@zamazal.org>
2040 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2041 (glasses-make-readable): Use glasses-separate-capital-groups.
2043 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
2045 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2046 (warning-series): Doc fix.
2047 (display-warning): Don't try to create the buffer if we just found it.
2049 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
2051 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2052 (autoload-find-generated-file): New function.
2053 (generate-file-autoloads): Bind generated-autoload-file to
2055 (update-file-autoloads, update-directory-autoloads):
2056 Use autoload-find-generated-file. If called interactively, prompt for
2057 output file (Bug#7989).
2058 (batch-update-autoloads): Doc fix.
2060 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
2062 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2064 2011-05-04 Glenn Morris <rgm@gnu.org>
2066 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2067 function, so it follows changes in calendar-date-style.
2068 (diary-fancy-date-matcher): New function.
2069 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2070 (diary-fancy-font-lock-fontify-region-function):
2071 Use diary-fancy-date-pattern as a function.
2073 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2074 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2076 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2078 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2079 instead of positional arguments. Allow :keylist and :crlfiles
2081 (open-gnutls-stream): Call it.
2083 * net/network-stream.el (network-stream-open-starttls): Adjust to
2084 call `gnutls-negotiate' with :process and :hostname arguments.
2086 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * minibuffer.el (completion--message): New function.
2089 (completion--do-completion, minibuffer-complete)
2090 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2091 (completion--do-completion): Don't ignore completion-auto-help when in
2094 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2095 internal encoding (e.g. tibetan zero is not whitespace).
2096 (global-whitespace-mode): Prefer save-current-buffer.
2097 (whitespace-trailing-regexp): Remove useless save-match-data.
2098 (whitespace-empty-at-bob-regexp): Minor simplification.
2100 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
2102 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2104 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2106 * textmodes/ispell.el (ispell-add-per-file-word-list):
2107 Use `concat' to create string for insertion.
2109 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2112 Avoid open-line which runs post-self-insert-hook.
2113 (bibtex-fill-entry): Remove unused `end' var.
2115 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2117 * textmodes/ispell.el (ispell-add-per-file-word-list):
2118 Protect against `nil' value of `comment-start' (Bug#8579).
2120 2011-05-03 Leo Liu <sdl.web@gmail.com>
2122 * isearch.el (isearch-yank-pop): New command.
2123 (isearch-mode-map): Bind it to `M-y'.
2124 (isearch-forward): Mention it.
2126 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * simple.el (minibuffer-complete-shell-command): Remove.
2129 (minibuffer-local-shell-command-map): Use completion-at-point.
2130 (read-shell-command): Setup completion vars here instead.
2131 (read-expression-map): Bind TAB to symbol completion.
2133 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2134 error directly rather via storing it into `results'.
2136 2011-05-02 Leo Liu <sdl.web@gmail.com>
2138 * vc/diff.el: Fix description.
2140 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2142 * server.el (server-eval-at): New function.
2144 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2146 * net/network-stream.el (open-network-stream): Take a :nowait
2147 parameter and pass it on to `make-network-process'.
2148 (network-stream-open-plain): Ditto.
2150 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2152 * faces.el (face-spec-set-match-display): Don't match toolkit
2153 options on terminal frames.
2155 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * progmodes/pascal.el: Use lexical binding.
2158 (pascal-mode-map): Remove author preferences.
2160 * pcomplete.el (pcomplete-std-complete): Don't abuse
2161 completion-at-point.
2163 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2165 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2166 removing code that has been dead since 1991 or so.
2168 * startup.el (command-line): When warning about "_emacs", use a
2169 delayed warning to allow the user to filter it out.
2171 2011-04-28 Deniz Dogan <deniz@dogan.se>
2173 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2174 user has not joined.
2176 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2179 aren't any completions at point.
2181 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
2183 * subr.el (display-delayed-warnings): New function.
2184 (delayed-warnings-hook): New variable.
2186 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * minibuffer.el (completion-at-point, completion-help-at-point):
2189 Don't presume that a given completion-at-point-function will always
2190 use the same calling convention.
2192 * pcomplete.el (pcomplete-completions-at-point):
2193 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
2194 pcomplete-seen is non-nil.
2195 (pcomplete-comint-setup): Also recognize the new comint/shell
2196 completion functions.
2197 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2198 pcomplete-seen is non-nil.
2200 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
2202 * calendar/icalendar.el (diary-lib): Add require statement.
2203 (icalendar--create-uid): Read out a uid from a text-property on
2204 the first character in the entry. This allows for code to add its
2205 own uid to the entry.
2206 (icalendar--convert-float-to-ical): Add export of
2207 `diary-float'-entries save for those with the optional DAY
2210 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
2212 * subr.el (shell-quote-argument): Use alternate escaping strategy
2213 when we spot a variable reference in a string.
2215 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2217 * cus-start.el (all): Define customization for debug-on-event.
2219 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2221 * subr.el (shell-quote-argument): Escape correctly under Windows.
2223 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2227 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp.el (tramp-process-actions): Add POS argument.
2230 Delete region between POS and (pos).
2232 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2233 Use `nil' position in `tramp-process-actions' call.
2234 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2236 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2237 position in `tramp-process-actions' call.
2239 * net/trampver.el: Update release number.
2241 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * custom.el (defcustom): Obey lexical-binding.
2245 Fix octave-inf completion problems reported by Alexander Klimov.
2246 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2247 Inherit from octave-mode-syntax-table.
2248 (inferior-octave-mode): Set info-lookup-mode.
2249 (inferior-octave-completion-at-point): New function.
2250 (inferior-octave-complete): Use it and completion-in-region.
2251 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2252 comint-filename-completion.
2253 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2254 symbol elements which shouldn't be word elements.
2255 (octave-font-lock-keywords, octave-beginning-of-defun)
2256 (octave-function-header-regexp): Adjust regexps accordingly.
2257 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2259 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
2261 * net/gnutls.el (gnutls-errorp): Declare before first use.
2263 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2265 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2266 verify-error, and verify-hostname-error parameters. Check whether
2267 default trustfile exists before going to use it. Add missing
2268 argument to gnutls-message-maybe call. Return return value.
2269 Reported by Claudio Bley <claudio.bley@gmail.com>.
2270 (open-gnutls-stream): Add usage example.
2272 * net/network-stream.el (network-stream-open-starttls): Give host
2273 parameter to `gnutls-negotiate'.
2274 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2275 * subr.el (shell-quote-argument): Escape correctly under Windows.
2277 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
2279 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2280 Use correct match group (bug#8438).
2282 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2284 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2285 (package-menu--generate): New arg specifying packages to show.
2286 (package-menu-refresh, package-menu-execute, list-packages):
2288 (package-show-package-list): New function, replacing deleted
2289 package--list-packages (renamed because it is non-internal).
2291 * finder.el (finder-list-matches): Use package-show-package-list
2292 instead of deleted package--list-packages.
2294 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2295 Based on a previous implementation by Juanma Barranquero (Bug#8366).
2296 (vc-annotate-mode-map): Bind it to RET.
2298 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2300 * progmodes/etags.el (next-file): Don't use set-buffer to change
2303 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
2305 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2307 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2308 (apropos-accumulator): Doc fix.
2309 (apropos-function, apropos-macro, apropos-command)
2310 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2311 (apropos-plist): Add face property.
2312 (apropos-symbols-internal): Fix indentation.
2313 (apropos-print): Simplify help, and recognize apropos-multi-type.
2314 (apropos-print-doc): Use button-type-get to extract the button's
2315 face property. Fill docstring (Bug#8352).
2317 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
2319 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2321 * play/mpuz.el (mpuz-silent): Doc fix.
2322 (mpuz-mode-map): Use mapc.
2323 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2324 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2325 Fix typos in docstrings.
2327 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2328 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2330 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2332 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
2334 * minibuffer.el (completion--do-completion): Avoid the "Next char
2335 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2337 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2338 mouse-2 into unread-command-events, it is interpreted correctly.
2340 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2341 (image-toggle-display): Doc fix.
2343 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
2345 * textmodes/page.el (what-page): Use line-number-at-pos to
2346 calculate line number (Bug#6825).
2348 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2350 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2351 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2352 Pass argument NO-DEFAULT to `find-tag-interactive'.
2354 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
2356 Lexical-binding cleanup.
2358 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2359 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2360 * progmodes/ada-prj.el (ada-prj-initialize-values)
2361 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2362 (ada-prj-show-value):
2363 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2364 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2365 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2366 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2367 * progmodes/bug-reference.el (bug-reference-push-button):
2368 * progmodes/fortran.el (fortran-line-length):
2369 * progmodes/glasses.el (glasses-change):
2370 * progmodes/octave-mod.el (octave-fill-paragraph):
2371 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2372 (python-pdbtrack-grub-for-buffer, python-sentinel):
2373 * progmodes/sql.el (sql-save-connection):
2374 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2375 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2376 Mark unused parameters.
2378 * progmodes/compile.el (compilation--flush-directory-cache)
2379 (compilation--flush-parse, compile-internal): Mark unused parameters.
2380 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2381 (compilation-next-error-function): Remove unused variable `timestamp'.
2383 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2384 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2386 * progmodes/dcl-mode.el (dcl-end-of-command):
2387 Remove unused variable `start'.
2388 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2389 (dcl-option-value-basic, dcl-option-value-offset)
2390 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2391 Mark unused parameters.
2392 (dcl-save-local-variable): Remove unused variable `val'.
2395 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2396 Mark unused parameters.
2397 (delphi-ignore-changes): Move before first use.
2398 (delphi-charset-token-at): Remove unused variable `start'.
2399 (delphi-else-start): Remove unused variable `if-count'.
2400 (delphi-comment-block-start, delphi-comment-block-end):
2401 Remove unused variable `kind'.
2402 (delphi-indent-line): Remove unused variable `new-point'.
2404 * progmodes/ebrowse.el (ebrowse-files-list)
2405 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2406 Mark unused parameters. Don't quote `lambda'.
2407 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2408 Don't quote `lambda'.
2409 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2410 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2411 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2412 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2413 Use `ignore-errors'.
2414 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2415 (ebrowse-view/find-file-and-search-pattern)
2416 (ebrowse-view/find-member-declaration/definition):
2417 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2418 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2419 Rename parameter PREFIX-ARG to PREFIX.
2420 (ebrowse-tags-read-name): Remove unused variables `start' and
2422 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2425 * progmodes/etags.el (local-find-tag-hook): Declare.
2426 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2427 Mark unused parameters.
2429 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2430 (executable-interpret): Mark unused parameter.
2432 * progmodes/flymake.el (flymake-process-sentinel)
2433 (flymake-after-change-function)
2434 (flymake-create-temp-with-folder-structure)
2435 (flymake-get-include-dirs-dot): Mark unused parameters.
2436 (flymake-safe-delete-directory): Remove unused variable `err'.
2438 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2439 (speedbar-timer-fn, speedbar-line-text)
2440 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2441 (speedbar-center-buffer-smartly): Declare functions.
2442 (gdb-find-watch-expression): Remove unused variable `array'.
2443 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2444 (gdb-starting): Mark unused parameters.
2445 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2446 (gdb-table-string): Remove unused variable `res'.
2447 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2448 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2449 (gdb-display-buffer): Remove unused variable `cur-size'.
2451 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2452 allow lexical-binding compilation.
2453 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2454 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2455 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2456 Mark unused parameters.
2457 (gud-gdb-marker-filter): Remove unused variable `match'.
2458 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2459 lambda expressions and funcall them, instead of using `fset'.
2461 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2462 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2464 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2465 variable `header-beg'; use `let'.
2467 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2468 `restart', `last-sexp' and `at-do'.
2470 * progmodes/js.el (js--debug): Mark unused parameter.
2471 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2472 (js--splice-into-items): Remove unused variable `item'.
2473 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2475 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2476 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2477 (makefile-complete): Remove unused variable `try'.
2478 (makefile-fill-paragraph, makefile-match-function-end):
2479 Mark unused parameters.
2481 * progmodes/octave-inf.el (inferior-octave-complete):
2482 Remove unused variable `proc'.
2483 (inferior-octave-output-digest): Mark unused parameter.
2485 * progmodes/perl-mode.el (perl-calculate-indent):
2486 Remove unused variable `err'.
2488 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2489 (prolog-indent-line): Mark unused parameters.
2490 (prolog-indent-line): Remove unused variable `beg'.
2492 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2493 (reporter-dont-compact-list): Declare.
2495 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2496 Remove unused variable `char'.
2497 (sh-debug): Mark unused parameter.
2498 (sh-get-indent-info): Remove unused variable `start'.
2499 (sh-calculate-indent): Remove unused variable `var'.
2501 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2502 (simula-electric-keyword): Remove unused variable `null'.
2503 (simula-search-backward, simula-search-forward): Remove unused
2504 variables `begin' and `end'.
2506 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2507 Remove unused variable `pos'.
2508 (vera-electric-tab, vera-comment-uncomment-region):
2509 Mark unused parameters.
2510 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2512 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
2514 * emacs-lisp/package.el (package--builtins, package-alist)
2515 (package-load-descriptor, package-built-in-p, package-activate)
2516 (define-package, package-installed-p)
2517 (package-compute-transaction, package-buffer-info)
2518 (package--push): Doc fix. Distinguish more clearly between
2519 version strings and version lists.
2521 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
2523 Lexical-binding cleanup.
2525 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2526 (5x5-make-mutate-best):
2527 * play/fortune.el (fortune-in-buffer):
2528 * play/gomoku.el (gomoku-init-display):
2529 * play/solitaire.el (solitaire, solitaire-do-check):
2530 * play/tetris.el (tetris-default-update-speed-function):
2531 Mark unused parameters.
2533 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2534 (bubbles--shift): Remove unused variable `char-org'.
2535 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2536 (bubbles--show-images): Remove unused variable `char'.
2538 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2539 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2540 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2541 (decipher-analyze-buffer): Use ?\s.
2542 (decipher-make-checkpoint): Remove unused variable `mapping'.
2544 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2546 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2547 Remove unused variable `result'; use `let'.
2549 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2550 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2551 (gametree-children-shown-p, gametree-compute-reduced-score):
2552 Use `ignore-errors'.
2554 * play/handwrite.el (ps-lpr-switches): Declare.
2555 (handwrite): Remove unused variables `pmin' and `lastp'.
2557 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2559 * play/landmark.el (landmark-init-display)
2560 (landmark-update-naught-weights): Mark unused parameters.
2561 (landmark-y): Remove unused variable `noise'. Simplify.
2562 (landmark-human-plays): Remove unused variable `score'.
2564 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2565 (mpuz-try-proposal): Remove unused variable `game'.
2567 * play/zone.el (life-patterns): Declare.
2569 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
2571 * vc/vc.el (ediff-vc-internal): Declare function.
2573 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * shell.el: Use lexical-binding and std completion UI.
2576 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2577 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2578 comint-preoutput-filter-functions rather than on
2579 comint-output-filter-functions.
2580 (shell-command-completion, shell--command-completion-data)
2581 (shell-filename-completion, shell-environment-variable-completion)
2582 (shell-c-a-p-replace-by-expanded-directory): New functions.
2583 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2584 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2585 (shell-dynamic-complete-environment-variable): Use them.
2586 (shell-dynamic-complete-as-environment-variable)
2587 (shell-dynamic-complete-as-command): Remove.
2588 (shell-match-partial-variable): Match past point.
2589 * comint.el: Clean up use of completion-at-point-functions.
2590 (comint-completion-at-point): New function.
2591 (comint-mode): Use it completion-at-point-functions.
2592 (comint-dynamic-complete): Make it obsolete.
2593 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2594 (comint-c-a-p-replace-by-expanded-history): New function.
2595 (comint-dynamic-complete-functions)
2596 (comint-replace-by-expanded-history): Use it.
2597 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2598 termination strings. Try harder to avoid second try-completion.
2599 (completion-in-region-mode-map): Disable bindings that don't work yet.
2601 * comint.el: Use lexical-binding. Require CL.
2602 (comint-dynamic-complete-functions): Use comint-filename-completion.
2603 (comint-completion-addsuffix): Tweak custom type.
2604 (comint-filename-completion, comint--common-suffix)
2605 (comint--common-quoted-suffix, comint--table-subvert)
2606 (comint--complete-file-name-data): New functions.
2607 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2608 (comint-dynamic-list-filename-completions): Use them.
2609 (comint-dynamic-simple-complete): Make obsolete.
2611 * minibuffer.el (completion-in-region-mode):
2612 Keep completion-in-region-mode--predicate global.
2613 (completion-in-region--postch):
2614 Assume completion-in-region-mode--predicate is not null.
2616 * progmodes/flymake.el (flymake-start-syntax-check-process):
2617 Obey `dir'. Simplify.
2619 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2620 we're in VC after all.
2622 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2624 * vc/vc.el (vc-diff-build-argument-list-internal)
2625 (vc-version-ediff, vc-ediff): New commands.
2626 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2628 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2633 * obsolete/erc-hecomplete.el: Make obsolete.
2634 * obsolete/: Standardize obsolescence info in the header.
2636 2011-04-20 Glenn Morris <rgm@gnu.org>
2638 * calendar/solar.el (solar-horizontal-coordinates):
2639 Use the longitude argument rather than `calendar-longitude'.
2640 (solar-date-next-longitude): Remove unused locals.
2642 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2644 * whitespace.el: New version 13.2.1.
2646 2011-04-20 felix <EmacsWiki> (tiny change)
2648 * whitespace.el (global-whitespace-mode): keep highlight when
2649 switching between major modes on a file.
2651 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2654 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2655 multi-line comments as well.
2657 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
2659 Lexical-binding cleanup.
2661 * arc-mode.el (archive-mode-revert):
2662 * cmuscheme.el (scheme-interactively-start-process):
2663 * custom.el (custom-initialize-delay):
2664 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2665 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2666 * emacs-lock.el (emacs-lock-clear-sentinel):
2667 * ezimage.el (defezimage):
2668 * follow.el (follow-avoid-tail-recenter):
2669 * fringe.el (set-fringe-mode-1):
2670 * generic-x.el (bat-generic-mode-compile):
2671 * help-mode.el (help-info-variable, help-do-xref)
2672 (help-mode-revert-buffer):
2673 * help.el (view-emacs-todo):
2674 * iswitchb.el (iswitchb-completion-help):
2675 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2676 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2677 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2678 * locate.el (locate-update):
2679 * longlines.el (longlines-encode-region)
2680 (longlines-after-change-function):
2681 * outline.el (outline-isearch-open-invisible):
2682 * ps-def.el (declare-function, charset-dimension, char-width)
2684 * ps-mule.el (ps-mule-plot-string):
2685 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2686 (recentf-edit-list-select, recentf-edit-list-validate)
2687 (recentf-open-files-action):
2688 * rect.el (delete-whitespace-rectangle-line)
2689 (rectangle-number-line-callback):
2690 * register.el (window-configuration-to-register)
2691 (frame-configuration-to-register):
2692 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2693 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2694 (xselect-convert-to-targets, xselect-convert-to-delete)
2695 (xselect-convert-to-filename, xselect-convert-to-charpos)
2696 (xselect-convert-to-lineno, xselect-convert-to-colno)
2697 (xselect-convert-to-os, xselect-convert-to-host)
2698 (xselect-convert-to-user, xselect-convert-to-class)
2699 (xselect-convert-to-name, xselect-convert-to-integer)
2700 (xselect-convert-to-atom, xselect-convert-to-identity):
2701 * subr.el (declare, ignore, process-kill-without-query)
2702 (text-clone-maintain):
2703 * terminal.el (te-get-char, te-tic-sentinel):
2704 * tool-bar.el (tool-bar-make-keymap):
2705 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2706 * type-break.el (type-break-mode, type-break-noninteractive-query):
2707 * view.el (View-back-to-mark):
2708 * wid-browse.el (widget-browse-action, widget-browse-widget)
2709 (widget-browse-widgets, widget-browse-sexp):
2710 * widget.el (define-widget-keywords):
2711 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2712 Mark unused parameters.
2714 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2715 (align-areas): Remove unused variable `look'.
2716 (align-region): Remove unused variables `real-end' and `pos-list'.
2718 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2720 * bindings.el (mode-line-modified, mode-line-remote):
2721 Mark unused parameters.
2722 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2724 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2725 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2727 * comint.el (comint-history-isearch-pop-state)
2728 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2729 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2730 (comint-substitute-in-file-name): Doc fix.
2732 * completion.el (cmpl-statistics-block): Mark unused parameter.
2733 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2734 (save-completions-to-file, load-completions-from-file):
2735 Remove unused local variable `e'.
2737 * composite.el (compose-chars): Remove unused variable `len'.
2738 (lgstring-insert-glyph): Remove unused variable `g'.
2739 (compose-glyph-string): Remove unused variables `ascent',
2740 `descent', `lbearing' and `rbearing'.
2741 (compose-glyph-string-relative): Remove unused variables
2742 `lbearing', `rbearing' and `wadjust'.
2743 (compose-gstring-for-graphic): Remove unused variables `header',
2744 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2745 (compose-gstring-for-terminal): Remove unused variables `header'
2746 and `nchars'. Use `let', not `let*'.
2748 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2749 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2750 (Custom-buffer-done, custom-buffer-create-internal)
2751 (custom-browse-visibility-action, custom-browse-group-tag-action)
2752 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2753 (widget-magic-mouse-down-action, custom-toggle-parent)
2754 (custom-add-parent-links, custom-toggle-hide-variable)
2755 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2756 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2757 (custom-face-menu-create, custom-variable-menu-create, get)
2758 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2759 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2760 (customize-apropos): Remove unused variable `tests'.
2761 (custom-group-value-create): Remove unused variable `hidden-p'.
2762 (sort-fold-case): Declare.
2764 * cus-theme.el (custom-reset-standard-faces-list)
2765 (custom-reset-standard-variables-list): Declare.
2766 (customize-create-theme, custom-theme-revert, custom-theme-write)
2767 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2768 Mark unused parameters.
2770 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2772 * delim-col.el (delimit-columns-max): Move defvar before first use.
2774 * descr-text.el (describe-char-categories): Don't quote `lambda'.
2775 (describe-char): Don't quote `lambda'. Mark unused parameter.
2777 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2778 (auto-insert): Declare.
2779 (desktop-restore-file-buffer): Rename desktop-* parameters;
2781 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2782 (desktop-buffer): Rename desktop-* parameters.
2784 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2785 (dframe-reposition-frame-xemacs, dframe-help-echo)
2786 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2787 Mark unused parameters.
2789 * dired-aux.el (backup-extract-version-start, overwrite-query)
2790 (overwrite-backup-query, rename-regexp-query)
2791 (rename-non-directory-query): Declare.
2792 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2793 (dired-add-entry): Remove unused variable `orig-file-name'.
2794 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2795 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2796 `dired-copy-preserve-time' directly.
2797 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2798 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2800 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2801 (dired-virtual-revert, dired-make-relative-symlink):
2802 Mark unused parameters.
2803 (manual-program): Declare.
2804 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2805 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2806 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2808 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2810 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2812 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2815 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2817 * electric.el (Electric-command-loop): Rename parameter
2818 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2820 * expand.el (expand-in-literal): Remove unused variable `here'.
2822 * facemenu.el (facemenu-add-new-color):
2823 Remove unused variable `docstring'.
2825 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2826 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2827 (face-attr-construct): Mark unused parameter. Doc fix.
2828 (read-color): Remove unused variable `hex-string'.
2830 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2831 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2832 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2833 (display-buffer-other-frame): Remove unused variable `old-window'.
2834 (kill-buffer-hook): Declare.
2835 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2836 Mark unused parameters.
2837 (after-find-file): Pass 1 to `auto-save-mode', not t.
2839 * files-x.el (auto-insert): Declare.
2840 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2842 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2843 variable `buf'. Mark unused parameter.
2844 (find-lisp-insert-directory): Mark unused parameter.
2846 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2847 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2848 (format-common-tail): Remove, unused.
2849 (format-deannotate-region): Remove unused variable `loc'.
2850 (format-annotate-region): Remove unused variable `p'.
2851 (format-annotate-single-property-change): Remove unused variables
2852 `default' and `tail'.
2854 * forms.el (read-file-filter): Declare.
2855 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2857 * frame.el (frame-creation-function-alist): Mark unused parameter.
2858 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2860 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2861 Remove unused parameters.
2862 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2863 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2865 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2866 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2867 (hfy-prepare-tag-map): Mark unused parameters.
2868 (htmlfontify-buffer): Use `called-interactively-p'.
2870 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2871 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2872 (ibuffer-do-occur): Mark unused parameters.
2873 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2874 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2876 * ibuffer.el: Don't quote `lambda'.
2877 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2878 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2879 Mark unused parameters.
2881 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2882 (ido-completing-read): Mark unused parameters.
2883 (ido-copy-current-word): Mark unused parameters;
2884 remove unused variable `name'.
2885 (ido-sort-merged-list): Remove unused parameter `dirs'.
2887 * ielm.el (ielm-input-sender): Mark unused parameter.
2888 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2889 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2890 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2891 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2892 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2894 * image-dired.el (image-dired-display-thumbs): Remove unused
2895 variables `curr-file' and `count'.
2896 (image-dired-remove-tag): Remove unused variable `start'.
2897 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2898 variable `curr-file'
2899 (image-dired-rotate-original): Remove unused variable `temp-file'.
2900 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2901 Remove unused variable `file'.
2902 (image-dired-gallery-generate): Remove unused variable `curr'.
2903 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2905 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2907 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2909 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2911 * isearch.el (minibuffer-history-symbol): Declare.
2912 (isearch-edit-string): Remove unused variable `err'.
2913 (isearch-message-prefix, isearch-message-suffix):
2914 Mark unused parameters.
2916 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2918 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2920 * makesum.el (double-column): Remove unused variable `cnt'.
2922 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2923 (ido-ignore-item-temp-list): Declare.
2925 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2926 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2927 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2928 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2931 * mouse-sel.el (mouse-extend-internal):
2932 Remove unused variable `orig-window-frame'.
2934 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2935 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2936 Move declarations before first use.
2937 (pcomplete-opt): Mark unused parameters; doc fix.
2939 * proced.el (proced-revert): Mark unused parameter.
2940 (proced-send-signal): Remove unused variable `err'.
2942 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2943 Rename parameter PREFIX-ARG to ARG.
2944 (ps-basic-plot-string, ps-basic-plot-whitespace):
2945 Mark unused parameters.
2947 * replace.el (replace-count): Define.
2948 (occur-revert-function): Mark unused parameters.
2949 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2950 (isearch-case-fold-search, isearch-string): Declare.
2951 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2952 bind `case-fold-search'. Remove unused variables `beg' and `end',
2954 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2955 COUNT and bind `replace-count'.
2956 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2959 * savehist.el (print-readably, print-string-length): Declare.
2961 * shadowfile.el (shadow-expand-cluster-in-file-name):
2962 Remove unused variable `cluster'.
2963 (shadow-copy-file): Remove unused variable `i'.
2964 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2965 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2966 (shadow-define-literal-group, shadow-define-regexp-group)
2967 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2969 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2970 (shell): Use `called-interactively-p'.
2971 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2973 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2974 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2975 (delete-backward-char): Remove unused variable `ocol'.
2976 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2977 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2978 (event-apply-hyper-modifier, event-apply-shift-modifier)
2979 (event-apply-control-modifier, event-apply-meta-modifier):
2980 Mark unused parameters.
2981 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2982 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2984 * speedbar.el (speedbar-ignored-directory-expressions)
2985 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2986 (speedbar-find-file, speedbar-dir-follow)
2987 (speedbar-directory-buttons-follow, speedbar-tag-find)
2988 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2989 (speedbar-buffers-line-directory, speedbar-buffer-click):
2990 Mark unused parameters.
2991 (speedbar-tag-file): Remove unused variable `mode'.
2992 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2994 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2996 * talk.el (talk): Remove unused variable `display'.
2998 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2999 (tar-write-region-annotate): Mark unused parameter.
3001 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3002 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3003 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3006 * time-stamp.el (time-stamp-string-preprocess):
3007 Remove unused variable `require-padding'.
3009 * tree-widget.el (widget-glyph-enable): Declare.
3010 (tree-widget-action): Mark unused parameter.
3012 * w32-fns.el (x-get-selection): Mark unused parameter.
3013 (autoload-make-program, generated-autoload-file): Declare.
3015 * wdired.el (wdired-revert): Mark unused parameters.
3016 (wdired-xcase-word): Remove unused variable `err'.
3018 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3019 (whitespace-help-scroll): Remove unused variable `data-help'.
3021 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3022 (widget-image-insert, widget-after-change, default)
3023 (widget-default-format-handler, widget-default-notify)
3024 (widget-default-prompt-value, widget-info-link-action)
3025 (widget-url-link-action, widget-function-link-action)
3026 (widget-variable-link-action, widget-file-link-action)
3027 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3028 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3029 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3030 (widget-insert-button-action, widget-delete-button-action, visibility)
3031 (widget-documentation-link-action, widget-documentation-string-action)
3032 (widget-const-prompt-value, widget-regexp-match, symbol)
3033 (widget-coding-system-prompt-value)
3034 (widget-key-sequence-value-to-external, sexp)
3035 (widget-sexp-value-to-internal, character, vector, cons)
3036 (widget-choice-prompt-value, widget-boolean-prompt-value)
3037 (widget-color--choose-action): Mark unused parameters.
3038 (widget-item-match-inline, widget-choice-match-inline)
3039 (widget-checklist-match, widget-checklist-match-inline)
3040 (widget-group-match): Rename parameter VALUES to VALS.
3041 (widget-field-value-set): Remove unused variable `size'.
3042 (widget-color-action): Remove unused variables `value' and `start'.
3044 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
3045 variable `dir'. Doc fix.
3046 (windmove-find-other-window): Don't pass it.
3048 * window.el (count-windows): Mark unused parameter.
3049 (bw-adjust-window): Remove unused variable `err'.
3051 * woman.el (woman-file-name): Remove unused variable `default'.
3052 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3053 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3054 (global-font-lock-mode): Declare.
3055 (woman-decode-region): Mark unused parameter.
3056 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3058 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3059 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3060 (x-dnd-handle-moz-url): Remove unused variable `title'.
3061 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3063 * xml.el (xml-parse-tag, xml-parse-attlist):
3064 Remove unused variable `pos'.
3066 2011-04-19 Glenn Morris <rgm@gnu.org>
3068 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3069 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3070 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3071 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3072 * calendar/cal-html.el (cal-html-insert-minical):
3073 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3074 (calendar-mark-date-pattern):
3075 Prefix "unused" locals.
3077 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3078 optional argument `style'.
3080 * calendar/appt.el (appt-make-list):
3081 * calendar/cal-china.el (calendar-chinese-date-string):
3082 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3083 (diary-hebrew-yahrzeit):
3084 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3085 * calendar/calendar.el (calendar-generate-window):
3086 * calendar/time-date.el (time-to-days):
3087 Remove unused local variables.
3089 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
3091 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3092 glyphless-char-display table.
3093 (tabulated-list-glyphless-char-display): New var.
3095 2011-04-18 Sam Steingold <sds@gnu.org>
3097 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3100 2011-04-17 Glenn Morris <rgm@gnu.org>
3102 * calendar/diary-lib.el (diary-sexp-entry):
3103 * calendar/holidays.el (holiday-sexp):
3104 Set debug-on-error rather than the removed stack-trace-on-error.
3106 2011-04-16 Glenn Morris <rgm@gnu.org>
3108 * progmodes/f90.el: Use lexical-binding.
3109 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3111 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3114 (mail-mode): Setup mailalias completion here instead.
3115 * mail/mailalias.el: Use lexical-binding.
3116 (pattern, mailalias-done): Declare dynamic.
3117 (mail-completion-at-point-function): New function, from mail-complete.
3118 (mail-complete): Use it.
3119 (mail-completion-expand): New function.
3120 (mail-get-names): Use it.
3121 (mail-directory, mail-directory-process, mail-directory-stream):
3122 Don't use `pattern' for lexically bound arg.
3124 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3126 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3127 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3128 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3130 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3131 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3132 (byte-interactive-p): Define them again, for use when inlining
3135 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
3137 * loadup.el: Use `string-to-number', not `string-to-int'.
3139 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3142 gud-gdb-complete-command.
3143 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3144 (gud-gdb-completion-at-point): New function.
3145 (gud-gdb-completions): Remove.
3147 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
3149 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3150 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3151 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3152 whether `executable-find' is bound.
3154 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3156 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * minibuffer.el (completion-in-region-mode-predicate)
3159 (completion-in-region-mode--predicate): New vars.
3160 (completion-in-region, completion-in-region--postch)
3161 (completion-in-region-mode): Use them.
3162 (completion--capf-wrapper): Also return the hook function.
3163 (completion-at-point, completion-help-at-point):
3164 Adjust and provide a predicate.
3166 Preserve arg names for advice of subr and lexical functions (bug#8457).
3167 * help-fns.el (help-function-arglist): Consolidate the subr and
3168 new-byte-code cases. Add argument `preserve-names' to extract names
3169 from the docstring when needed.
3170 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3171 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3172 (ad-arglist): Use help-function-arglist's new arg.
3173 (ad-definition-type): Use cond.
3175 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
3177 * autorevert.el (auto-revert-handler):
3178 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3179 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3182 * image-mode.el (image-transform-set-scale):
3183 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3185 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3187 * net/network-stream.el (network-stream-open-starttls): Only do
3188 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3189 Upgrades via gnutls-cli are too slow to be done opportunistically.
3191 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
3193 * dframe.el (dframe-current-frame): Remove spurious quote.
3195 2011-04-12 Glenn Morris <rgm@gnu.org>
3197 * calendar/cal-tex.el (cal-tex-end-document):
3198 Try to automatically use latin1 input if needed.
3200 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3201 Don't try to cons a mark onto an empty element.
3203 2011-04-11 Leo Liu <sdl.web@gmail.com>
3205 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3207 (ido-kill-buffer-at-head): Support killing virtual buffers.
3209 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
3211 * minibuffer.el (completion-show-inline-help): New var.
3212 (completion--do-completion, minibuffer-complete)
3213 (minibuffer-force-complete, minibuffer-complete-word):
3214 Inhibit minibuffer messages if completion-show-inline-help is nil.
3216 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3217 to avoid interference from inline help (Bug#5849).
3219 2011-04-10 Leo Liu <sdl.web@gmail.com>
3221 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3224 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
3226 * image-mode.el (image-toggle-display-image): Signal an error if
3228 (image-transform-mode, image-transform-resize)
3229 (image-transform-set-rotation): Doc fix.
3230 (image-transform-set-resize): Delete.
3231 (image-transform-set-scale, image-transform-fit-to-height)
3232 (image-transform-fit-to-width): Handle image-toggle-display-image
3233 and image-transform-resize directly.
3235 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
3237 * doc-view.el (doc-view-fit-width-to-window)
3238 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3239 New functions for fitting the shown image to the Emacs window size.
3240 (doc-view-mode-map): Add bindings for the new functions.
3242 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
3244 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3245 Fix typo in docstring.
3247 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3249 * files.el (file-size-human-readable): Produce one digit after
3250 decimal, like "ls -lh" does.
3252 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3253 the file size representation.
3255 * simple.el (list-processes): If async subprocesses are not
3256 available, error out with a clear error message.
3258 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
3260 * help.el (help-form-show): New function, to be called from C.
3261 Put help-form output in a buffer named differently than *Help*.
3263 2011-04-08 Eli Zaretskii <eliz@gnu.org>
3265 * files.el (file-size-human-readable): New function.
3267 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3268 computing the representation inline. Don't require `cl'.
3270 2011-04-08 Glenn Morris <rgm@gnu.org>
3272 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3274 * net/browse-url.el (browse-url-firefox):
3275 Test system-type, not system-configuration.
3277 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3278 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3279 Use log-edit-empty-buffer-p. (Bug#7598)
3281 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3282 (rlogin-mode-map): Initialize in the defvar.
3283 (rlogin): Use ignore-errors.
3285 * replace.el (occur-mode-map): Some fixes for menu items.
3287 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3289 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3291 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3293 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3294 issuing unused warnings.
3296 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3299 * simple.el: Lisp reimplement of list-processes. Based on an
3300 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3301 (process-menu-mode): New major mode.
3302 (list-processes--refresh, list-processes):
3303 (process-menu-visit-buffer): New functions.
3305 * files.el (save-buffers-kill-emacs): Don't assume any return
3306 value of list-processes, which is undocumented anyway.
3308 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3310 * emacs-lisp/tabulated-list.el: New file.
3312 * emacs-lisp/package.el: Use Tabulated List mode.
3313 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3314 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3315 table format using Tabulated List mode variables.
3316 (package--push): New macro, replacing package-list-maybe-add.
3317 (package-menu--generate): Use package--push. Renamed from
3318 package--generate-package-list.
3319 (package-menu-refresh, list-packages): Use it.
3320 (package-menu--print-info): Rename from package-print-package.
3321 Return insertion data instead of inserting it directly.
3322 (package-menu-describe-package, package-menu-execute):
3323 Use tabulated-list-get-id.
3324 (package-menu-mark-delete, package-menu-mark-install)
3325 (package-menu-mark-unmark, package-menu-backup-unmark)
3326 (package-menu-mark-obsolete-for-deletion):
3327 Use tabulated-list-put-tag.
3328 (package--list-packages, package-menu-revert)
3329 (package-menu-get-package, package-menu-get-version)
3330 (package-menu-sort-by-column): Functions deleted.
3331 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3332 (package-menu--status-predicate, package-menu--version-predicate)
3333 (package-menu--name-predicate)
3334 (package-menu--description-predicate): Handle arguments in the
3335 Tabulated List format.
3336 (package-list-packages-no-fetch): Call list-packages.
3338 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
3340 * files.el (after-find-file-from-revert-buffer): Remove variable.
3341 (after-find-file): Don't bind it.
3342 (revert-buffer-in-progress-p): New variable.
3343 (revert-buffer): Bind it.
3344 Pass nil for `after-find-file-from-revert-buffer'.
3346 * saveplace.el (save-place-find-file-hook): Use new variable
3347 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3349 2011-04-06 Glenn Morris <rgm@gnu.org>
3351 * Makefile.in (AUTOGEN_VCS): New variable.
3352 (autoloads): Use $AUTOGEN_VCS.
3354 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3355 * calendar/calendar.el (calendar-mode-map):
3356 Check for toolkit scroll bars. (Bug#8305)
3358 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3360 * minibuffer.el (completion-in-region--postch)
3361 (completion-in-region-mode): Remove unnecessary messages.
3363 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3365 * font-lock.el (font-lock-refresh-defaults):
3366 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3367 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3369 * info.el (Info-directory-list, Info-read-node-name-2)
3370 (Info-split-parameter-string): Doc fixes.
3371 (Info-virtual-nodes): Reflow docstring.
3372 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3373 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3374 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3375 Fix typos in docstrings.
3376 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3377 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3378 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3379 (Info-restore-desktop-buffer): Mark unused parameters.
3380 (Info-directory-find-file, Info-directory-find-node)
3381 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3382 (Info-virtual-index-find-node, Info-apropos-find-file)
3383 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3384 Mark unused parameters; fix typos in docstrings.
3385 (Info-virtual-index): Remove unused local variable `nodename'.
3387 2011-04-05 Deniz Dogan <deniz@dogan.se>
3389 * net/rcirc.el: Update my e-mail address.
3390 (rcirc-mode-map): Remove M-o binding.
3392 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3394 * startup.el (command-line): Save the cursor's theme-face
3395 directly, instead of using face-override-spec.
3397 * custom.el (load-theme): Minor optimization in assigning faces.
3399 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3401 * help-fns.el (describe-variable): Complete all variables having
3402 documentation, including keywords.
3403 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3405 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3407 Convert to lexical-binding.
3409 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3410 (bs--get-marked-string, bs--get-modified-string)
3411 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3412 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3413 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3415 * ehelp.el (electric-help-execute-extended)
3416 (electric-help-ctrl-x-prefix):
3417 * hexl.el (hexl-revert-buffer-function):
3418 * linum.el (linum-after-change, linum-after-scroll):
3419 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3421 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3423 2011-04-04 Daiki Ueno <ueno@unixuser.org>
3430 * epg.el: Use lexical binding.
3432 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
3434 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3436 * textmodes/flyspell.el (flyspell-word): Recognize default
3437 dictionary case for flyspell-mark-duplications-exceptions.
3438 Use regexp matching for languages.
3439 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3440 default dictionary (Bug#7926).
3442 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
3444 * emacs-lisp/package.el (package--with-work-buffer):
3445 Recognize https URLs.
3447 * net/network-stream.el: Move from gnus/proto-stream.el.
3448 Change prefix to network-stream throughout.
3449 (open-protocol-stream): Merge into open-network-stream, leaving
3450 open-protocol-stream as an alias. Handle nil BUFFER args.
3452 * subr.el (open-network-stream): Move to net/network-stream.el.
3454 2011-04-02 Glenn Morris <rgm@gnu.org>
3456 * find-dired.el (find-exec-terminator): New option.
3457 (find-ls-option): Test for -ls support.
3458 (find-ls-subdir-switches): Test for -b in find-ls-option.
3459 (find-dired, find-grep-dired): Doc fixes.
3460 (find-dired): Use find-exec-terminator.
3462 * find-dired.el (find-ls-option, find-ls-subdir-switches)
3463 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3464 (find-name-arg): Remove purecopy.
3466 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3467 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3468 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3469 accordingly. Don't add the null-device if not needed.
3471 * files.el (save-some-buffers): Doc fix.
3473 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3475 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3477 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
3479 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3480 Use `dolist' rather than `mapcar'.
3482 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3484 Add lexical binding.
3486 * subr.el (apply-partially): Use new closures rather than CL.
3487 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3488 (dolist, dotimes): Use slightly different expansion for lexical code.
3489 (functionp): Move to C.
3490 (letrec): New macro.
3491 (with-wrapper-hook): Use it and apply-partially instead of CL.
3492 (eval-after-load): Preserve lexical-binding.
3493 (save-window-excursion, with-output-to-temp-buffer): Turn them
3496 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3498 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3500 (help-add-fundoc-usage): Don't add `Not documented'.
3501 (help-function-arglist): Handle closures, subroutines, and new
3502 byte-code-functions.
3503 (help-make-usage): Remove leading underscores.
3504 (describe-function-1): Handle closures.
3505 (describe-variable): Use special-variable-p for completion.
3507 * files.el (lexical-binding): Declare safe.
3509 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3510 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3511 (pcase): Add `let' pattern.
3512 Change memoization so it actually works.
3513 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3514 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3517 * emacs-lisp/macroexp.el: Use lexical binding.
3518 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3519 Don't convert ' to #' without checking that it's indeed quoting
3522 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3523 Use eval-sexp-add-defvars.
3524 (eval-sexp-add-defvars): New fun.
3526 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3528 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3530 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3531 than the internal `byte-compile-lambda'.
3532 (defmethod): Don't hide code under quotes.
3533 (eieio-defmethod): New `code' argument.
3535 * emacs-lisp/eieio-comp.el: Remove.
3537 * emacs-lisp/edebug.el (edebug-eval-defun)
3538 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3539 (edebug-toggle): Avoid `eval'.
3541 * emacs-lisp/disass.el (disassemble-internal): Handle new
3543 (disassemble-1): Handle new byte codes.
3545 * emacs-lisp/cl.el (pushnew): Silence warning.
3547 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3548 (cl-byte-compile-throw): Remove.
3549 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3551 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3554 * emacs-lisp/cconv.el: New file.
3556 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3557 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3558 (byte-compile-initial-macro-environment):
3559 Handle declare-function here.
3560 (byte-compile--lexical-environment): New var.
3561 (byte-stack-ref, byte-stack-set, byte-discardN)
3562 (byte-discardN-preserve-tos): New lap codes.
3563 (byte-interactive-p): Don't use any more.
3564 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3566 (byte-compile-lapcode): Use them and handle new lap codes.
3567 (byte-compile-obsolete): Remove.
3568 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3569 (byte-compile-arglist-warn): Check late def of inlinable funs.
3570 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3571 since they should have been expanded by now.
3572 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3573 (byte-compile-from-buffer): Remove unused second arg.
3574 (byte-compile-preprocess): New function.
3575 (byte-compile-toplevel-file-form): New function to distinguish
3576 file-form calls from outside from file-form calls from hunk-handlers.
3577 (byte-compile-file-form): Simplify.
3578 (byte-compile-file-form-defsubst): Remove.
3579 (byte-compile-file-form-defmumble): Simplify now that
3580 byte-compile-lambda always returns a byte-code-function.
3581 (byte-compile): Preprocess.
3582 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3583 Remove, not used any more.
3584 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3585 (byte-compile-make-args-desc): New funs.
3586 (byte-compile-lambda): Handle lexical functions. Always return
3587 a byte-code-function.
3588 (byte-compile-reserved-constants): New var, to make up room for
3589 closed-over variables.
3590 (byte-compile-constants-vector): Obey it.
3591 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3592 (byte-compile-macroexpand-declare-function): New function.
3593 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3594 byte-code-functions.
3595 (byte-compile-form): Check obsolescence here.
3596 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3597 (byte-compile-variable-ref): Remove.
3598 (byte-compile-dynamic-variable-op): New fun.
3599 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3600 (byte-compile-variable-set): New funs.
3601 (byte-compile-discard): Add 2 args.
3602 (byte-compile-stack-ref, byte-compile-stack-set)
3603 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3604 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3605 macroexpand-all instead.
3606 (byte-compile-quote-form): Remove.
3607 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3608 (byte-compile-bind, byte-compile-unbind): New funs.
3609 (byte-compile-let): Handle let* and lexical binding.
3610 (byte-compile-let*): Remove.
3611 (byte-compile-catch, byte-compile-unwind-protect)
3612 (byte-compile-track-mouse, byte-compile-condition-case):
3613 Handle a new :fun-body form, used for lexical scoping.
3614 (byte-compile-save-window-excursion)
3615 (byte-compile-with-output-to-temp-buffer): Remove.
3616 (byte-compile-defun): Simplify.
3617 (byte-compile-stack-adjustment): New fun.
3618 (byte-compile-out): Use it.
3619 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3621 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3624 * emacs-lisp/byte-opt.el: Use lexical binding.
3625 (byte-inline-lapcode): Remove (to bytecomp).
3626 (byte-compile-inline-expand): Pay attention to inlining to/from
3627 lexically bound code.
3628 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3630 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3631 any more and don't call compiler-macros.
3632 (byte-compile-splice-in-already-compiled-code): Remove.
3633 (byte-code): Don't inline any more.
3634 (disassemble-offset): Receive `bytes' as argument rather than via
3636 (byte-compile-tag-number): Declare before first use.
3637 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3638 `return' even if make-spliceable.
3639 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3640 obsolete interactive-p.
3641 (byte-optimize-lapcode): Optimize new lap-codes.
3642 Don't trip up on new form of `byte-constant' lap code.
3644 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3646 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3648 * custom.el (custom-initialize-default, custom-declare-variable):
3651 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3653 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3654 (COMPILE_FIRST): Add macroexp and cconv.
3655 * makefile.w32-in: Mirror changes in Makefile.in.
3661 * vc/smerge-mode.el:
3662 * textmodes/bibtex-style.el:
3671 * emacs-lisp/smie.el:
3674 * abbrev.el: Use lexical binding.
3676 2011-04-01 Eli Zaretskii <eliz@gnu.org>
3678 * info.el (info-display-manual): New function.
3680 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3682 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3684 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3686 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3687 an entry for that server in rcirc-authinfo. (Bug#8385)
3689 2011-03-31 Glenn Morris <rgm@gnu.org>
3691 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3693 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3695 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3697 * progmodes/python.el (python-default-interpreter)
3698 (python-python-command-args, python-jython-command-args)
3699 (python-which-shell, python-which-args, python-which-bufname)
3700 (python-file-queue, python-comint-output-filter-function)
3701 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3702 variables and functions.
3704 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3706 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3707 (completion-in-region-mode): New minor mode.
3708 (completion-in-region): Use it.
3709 (completion-in-region--data, completion-in-region-mode-map): New vars.
3710 (completion-in-region--postch): New function.
3711 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3713 (completion--capf-wrapper): New function.
3714 (completion-at-point): Use it to track well-behavedness of
3716 (completion-help-at-point): New command.
3718 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3720 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3721 syntax class to search for whitespace on a single line
3722 (Message-ID: <4D938140.4030905@redhat.com>).
3724 2011-03-30 Leo Liu <sdl.web@gmail.com>
3726 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3728 (edit-abbrevs-map): Bind them here.
3729 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3731 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3733 * allout.el (allout-hide-by-annotation, allout-flag-region):
3734 Reduce possibility of overlay leakage by making them volatile.
3736 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3737 hash is not shared between buffers. Mode initialization is
3738 responsible for giving it a useful starting value.
3739 (allout-item-span): Reduce possibility of overlay leakage by
3740 making them volatile.
3741 (allout-widgets-count-buttons-in-region): Add diagnostic function
3742 for tracking down button overlay leaks.
3744 2011-03-29 Leo Liu <sdl.web@gmail.com>
3746 * ido.el (ido-read-internal): Use the default history var
3747 minibuffer-history if no HISTORY is specified.
3749 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3751 * net/imap.el (imap-shell-open, imap-process-connection-type):
3752 Use imap-process-connection-type for 'shell' streams as well as
3753 Kerberos, SSL, other subprocesses.
3755 2011-03-28 Leo Liu <sdl.web@gmail.com>
3757 * abbrev.el (abbrev-table-empty-p): New function.
3758 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3759 nonempty ones. (Bug#5937)
3761 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3763 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3765 2011-03-27 Leo Liu <sdl.web@gmail.com>
3767 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3768 for foreground and background colors.
3769 (ansi-color-make-color-map): Adapt.
3771 2011-03-25 Leo Liu <sdl.web@gmail.com>
3773 * midnight.el (midnight-time-float): Remove. Note it calculates
3774 the microsecond component incorrectly and seconds-to-time does the
3776 Remove redundant (require 'timer).
3778 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3779 (ido-completions): Remove unused arguments. (Bug#8329)
3781 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * minibuffer.el (completion--flush-all-sorted-completions):
3784 Remove itself from hook.
3785 (completion-at-point): Let the functions perform the completion
3786 immediately and return nil or t.
3787 * comint.el (comint-dynamic-complete-functions): Now identical to
3788 completion-at-point-functions.
3789 (comint-dynamic-list-input-ring): Remove unused var `index'.
3790 (comint--match-partial-filename, comint--unquote&expand-filename):
3791 New funs, split from comint-match-partial-filename.
3792 (comint-dynamic-complete): Use completion-at-point.
3793 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3795 2011-03-24 Drew Adams <drew.adams@oracle.com>
3797 * thingatpt.el: Support `defun'.
3799 2011-03-23 Leo Liu <sdl.web@gmail.com>
3801 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3803 * help-mode.el (help-mode-finish): Tweak regexp.
3805 2011-03-23 Glenn Morris <rgm@gnu.org>
3807 * eshell/esh-opt.el (eshell-eval-using-options):
3808 Do not bind unused local variable `eshell-option-stub'.
3810 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3812 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3814 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3815 keymap variable in `with-no-warnings' to avoid a warning when the
3816 keymap has been already `defconst'ed.
3818 2011-03-22 Leo Liu <sdl.web@gmail.com>
3820 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3821 encode all chars in abbrevs; otherwise use emacs-mule or
3822 utf-8-emacs. (Bug#8308)
3824 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3826 * simple.el (backward-delete-char-untabify):
3827 Avoid warning about using `delete-backward-char'.
3829 * image.el (image-type-file-name-regexps): Make it variable.
3830 `imagemagick-register-types' modifies it, and the user may want
3831 to add new extensions for known image types.
3832 (imagemagick-register-types): Throw error if not using ImageMagick.
3834 2011-03-22 Leo Liu <sdl.web@gmail.com>
3836 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3837 located before rcirc-prompt-end-marker.
3838 (rcirc-complete): Error if point is not after rcirc prompt.
3839 Handle the case when table is nil.
3840 (rcirc-user-authenticated): Define to fix compiler warning.
3842 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
3844 * custom.el (custom--inhibit-theme-enable): Make it affect only
3845 custom-theme-set-variables and custom-theme-set-faces.
3846 (provide-theme): Ignore custom--inhibit-theme-enable.
3847 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3848 (custom-enabling-themes): Delete variable.
3849 (enable-theme): Accept only loaded themes as arguments.
3850 Ignore the special custom-enabled-themes variable.
3851 (custom-enabled-themes): Forbid themes from setting this.
3852 Eliminate use of custom-enabling-themes.
3853 (custom-push-theme): Quote "changed" custom var entry.
3855 2011-03-21 Leo Liu <sdl.web@gmail.com>
3857 * ido.el (ido-read-internal): Add ido-selected to history instead
3860 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * subr.el (deferred-action-list, deferred-action-function):
3865 2011-03-21 Leo Liu <sdl.web@gmail.com>
3867 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3868 change on 2011-02-13 (bug#8309).
3870 * minibuffer.el (read-file-name-function): Change default value.
3871 (read-file-name--defaults): Rename from read-file-name-defaults.
3872 (read-file-name-default): Rename from read-file-name.
3873 (read-file-name): Call read-file-name-function.
3875 2011-03-21 Glenn Morris <rgm@gnu.org>
3877 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3880 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
3882 * cus-theme.el: Add missing provide statement.
3883 (customize-create-theme): Extract theme value correctly.
3884 (custom-theme-visit-theme): Autoload.
3885 (customize-create-theme): Prompt before inserting default faces.
3887 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3889 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3890 units and musical notes.
3892 2011-03-20 Leo <sdl.web@gmail.com>
3894 * ido.el (ido-read-internal): Use completing-read-default.
3895 (ido-completing-read): Fix compatibility with completing-read.
3897 2011-03-20 Christian Ohler <ohler@gnu.org>
3899 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3900 (ert-delete-all-tests): Use `called-interactively-p' rather than
3902 (ert--make-xrefs-region): Respect END.
3904 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3906 * dired-aux.el (dired-create-directory): Signal an error if the
3907 directory already exists (Bug#8246).
3909 * facemenu.el (list-colors-display): Call list-faces-display
3910 inside with-help-window.
3911 (list-colors-print): Use display property to align the final
3912 column, instead of checking window-width.
3914 2011-03-19 Eli Zaretskii <eliz@gnu.org>
3916 * emerge.el (emerge-metachars): Separate value for ms-dos and
3918 (emerge-protect-metachars): Quote correctly for ms-dos and
3921 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
3923 * info.el (info-initialize): Replace all uses of `:' with
3924 path-separator for compatibility with non-Unix systems.
3925 Cache quoting of path-separator. (Bug#8258)
3927 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
3929 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3930 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3931 (mouse-avoidance-mode): Fix typos in docstrings.
3933 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3935 * startup.el (package-subdirectory-regexp): Move from package.el.
3936 Omit \\` and \\', and let callers add them.
3938 * emacs-lisp/package.el (package-strip-version)
3939 (package-load-all-descriptors): Add \\` and \\' to
3940 package-subdirectory-regexp before using it.
3941 (package-untar-buffer): New arg DIR; ensure that file untars only
3942 into this expected directory. Remove superfluous delete-region.
3943 (package-unpack): Caller changed.
3944 (package-tar-file-info): Use package-subdirectory-regexp.
3946 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3949 diff-mode-shared-map (bug#8284).
3950 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3952 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3954 * calendar/time-date.el (format-seconds): Use assoc instead of
3955 assoc-string, since assoc-string doesn't exist in XEmacs.
3957 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3959 * custom.el (custom-known-themes): Reflow docstring.
3960 (custom-theme-load-path): Fix typo in docstring.
3961 (load-theme): Fix typo in error message.
3962 (custom-available-themes, custom-variable-theme-value):
3963 Use `let', not `let*'.
3965 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3967 * calc/README: Mention inclusion of musical notes.
3969 * calc/calc-units.el (calc-lu-quant): Rename from
3970 `calc-logunits-quantity'.
3971 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3972 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3973 (calc-db): Rename from `calc-dblevel'.
3974 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3975 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3976 (calc-np): Rename from `calc-nplevel'.
3977 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3978 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3979 (calc-lu-plus): Rename from `calc-logunits-add'.
3980 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3981 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3982 (calc-lu-minus): Rename from `calc-logunits-sub'.
3983 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3984 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3985 (calc-lu-times): Rename from `calc-logunits-mul'.
3986 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3987 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3988 (calc-lu-divide): Rename from `calc-logunits-div'.
3989 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3990 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3992 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3993 functions being autoloaded.
3995 * calc/calc.el (calc-lu-power-reference): Rename from
3996 `calc-logunits-power-reference'.
3997 (calc-lu-field-reference): Rename from
3998 `calc-logunits-field-reference'.
4000 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4002 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * minibuffer.el (completion-all-sorted-completions):
4005 Use :completion-cycle-penalty text property if present.
4007 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4009 * allout.el (allout-yank-processing): Adjust for new rebulleting
4010 regime so bullet being yanked is used without prompting the user
4013 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4015 * startup.el (command-line): Warn the user that _emacs is deprecated.
4017 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4019 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4020 (delphi-verbose, delphi-comment-face, delphi-string-face)
4021 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4022 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4023 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4024 (delphi-new-comment-line, delphi-font-lock-defaults)
4025 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4026 Fix typos in docstrings.
4028 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4030 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
4031 Invert the roles of character and string values for INSTEAD, so a
4032 string is used for the more common case of a defaulting prompt.
4034 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * progmodes/ruby-mode.el (ruby-backward-sexp):
4037 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4038 * play/gamegrid.el (gamegrid-make-face):
4039 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4040 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4041 * notifications.el (notifications-notify):
4042 * net/xesam.el (xesam-search-engines):
4043 * net/quickurl.el (quickurl-list-insert):
4044 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4046 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
4048 * startup.el (command-line): Update package subdirectory regexp.
4050 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * allout.el (allout-abbreviate-flattened-numbering)
4053 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4055 * subr.el (read-char-choice): Only show the cursor after the prompt,
4056 not after the answer.
4058 2011-03-15 Kevin Ryde <user42@zip.com.au>
4060 * help-fns.el (variable-at-point): Skip leading quotes, if any
4063 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4068 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
4070 * shell.el (shell): When called interactively, offer to change the
4071 shell file name on remote hosts.
4073 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4075 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4076 integration for LDAP parameters. The host, base, user or binddn,
4077 and secret tokens can be specified in a netrc file, for instance.
4078 This is optional because an `auth-source' parameter must be
4079 specified in the search attributes.
4081 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
4083 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4085 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4088 into declaration. Remove redundant and harmful binding.
4090 2011-03-12 Eli Zaretskii <eliz@gnu.org>
4092 * files.el (file-ownership-preserved-p): Pass `integer' as an
4093 explicit 2nd argument to `file-attributes'. If the file's owner
4094 is the Administrators group on Windows, and the current user is
4095 Administrator, consider that a match.
4097 * server.el (server-ensure-safe-dir): Consider server directory
4098 safe on MS-Windows if its owner is the Administrators group while
4099 the current Emacs user is Administrator. Use `=' to compare
4100 numerical UIDs, since they could be integers or floats.
4102 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
4104 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4106 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
4108 Sync with Tramp 2.2.1.
4110 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4112 * net/trampver.el: Update release number.
4114 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4116 * progmodes/compile.el (compilation--previous-directory): Fix up
4117 various nil/dead-marker mismatches (bug#8014).
4118 (compilation-directory-properties, compilation-error-properties):
4119 Don't call it at a position past the one we're about to change.
4121 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4122 Disable obsolescence warnings in the file that declares it.
4124 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4126 * allout-widgets.el (allout-widgets-tally):
4127 Initialize allout-widgets-tally as a hash table rather than nil to
4128 prevent mode-line redisplay warnings. Also, clarify the module
4129 description and fix a comment typo.
4131 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
4133 * help-fns.el (describe-variable): Don't complete keywords.
4134 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4136 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
4138 * emacs-lisp/package.el (package-version-join): Impose a standard
4139 string representation for pre/alpha/beta version lists.
4140 (package-unpack-single): Standardize the directory name by passing
4141 it through package-version-join.
4142 (package-strip-rcs-id): Accept any version string that does not
4143 signal an error in version-to-list.
4145 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
4147 * simple.el (delete-trailing-whitespace): Return nil for the
4148 benefit of `write-file-functions'.
4150 2011-03-10 Glenn Morris <rgm@gnu.org>
4152 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4154 * vc/vc-git.el (vc-git-program): New option.
4155 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4156 (vc-git--call): Use it.
4158 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4160 * cus-edit.el (Custom-newline): If no button at point, look
4161 for a subgroup button at start-of-line. (Bug#2298)
4163 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4165 2011-03-10 Julien Danjou <julien@danjou.info>
4167 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4168 `cursor-type' is nil.
4170 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4172 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4174 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4176 * allout.el Summary: Change so yank of distinctive-bullet items
4177 preserves the existing header prefix, rebulleting it if necessary,
4178 rather than replacing it. This is necessary for proper operation
4179 of cooperative addons like allout-widgets.
4180 (allout-make-topic-prefix, allout-rebullet-heading): Change
4181 SOLICIT arg to INSTEAD, and interpret additionally a string value
4182 as alternate bullet to be used, instead of prompting the user for
4185 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
4187 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4188 Do not use `tramp-file-name-port', because this returns also
4189 `tramp-default-port'.
4191 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4193 * net/rcirc.el (rcirc-handler-001): Remove useless
4194 with-rcirc-process-buffer.
4195 (rcirc-check-auth-status): Swap arguments to string-match.
4197 2011-03-09 Glenn Morris <rgm@gnu.org>
4199 * shell.el (shell-mode):
4200 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
4202 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4203 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
4205 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4207 * emacs-lisp/package.el (package-refresh-contents)
4208 (package-menu-execute): Use condition-case-no-debug.
4210 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
4212 * simple.el (shell-command-to-string): Use `process-file'.
4214 * emacs-lisp/package.el (package-tar-file-info): Handle also
4217 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4218 Use `equal' for upload base check.
4220 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
4222 * textmodes/texinfo.el (texinfo-environments):
4223 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
4225 2011-03-08 Glenn Morris <rgm@gnu.org>
4227 * cus-start.el (cursor-in-non-selected-windows):
4228 Fix :set quoting oddness. (Bug#8192)
4230 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4231 in some setf expressions. (Bug#2159)
4233 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
4235 * custom.el (custom-available-themes): Return themes in
4238 See ChangeLog.15 for earlier changes.
4244 Copyright (C) 2011 Free Software Foundation, Inc.
4246 This file is part of GNU Emacs.
4248 GNU Emacs is free software: you can redistribute it and/or modify
4249 it under the terms of the GNU General Public License as published by
4250 the Free Software Foundation, either version 3 of the License, or
4251 (at your option) any later version.
4253 GNU Emacs is distributed in the hope that it will be useful,
4254 but WITHOUT ANY WARRANTY; without even the implied warranty of
4255 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4256 GNU General Public License for more details.
4258 You should have received a copy of the GNU General Public License
4259 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.