1 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4 and `/ M' to filter-derived-mode.
5 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7 (ibuffer-mark-by-mode): Use default rather than initial-input.
8 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13 (ibuffer-filter-by-derived-mode): New filter.
14 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
16 2012-04-23 Andreas Politz <politza@fh-trier.de>
18 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
20 2012-04-23 Chong Yidong <cyd@gnu.org>
22 * cus-edit.el (customize-apropos, customize-apropos-options):
23 Disable matching of non-option variables (Bug#11176).
24 (customize-option, customize-option-other-window)
25 (customize-changed-options): Doc fix.
26 (customize-apropos-options, customize-apropos-faces)
27 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
29 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
30 Fix word list splitting (Bug#11132).
31 (apropos-symbol, apropos-keybinding, apropos-label)
32 (apropos-property, apropos-function-button)
33 (apropos-variable-button, apropos-misc-button): New faces.
34 (apropos-symbol-face, apropos-keybinding-face)
35 (apropos-label-face, apropos-property-face, apropos-match-face):
36 Variables removed (Bug#8396).
37 (apropos-library-button, apropos-format-plist, apropos-print)
38 (apropos-print-doc, apropos-describe-plist): Callers changed.
40 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
42 * net/xesam.el (xesam-mode-map): Use let-bound map in
43 initialization. (Bug#11292)
45 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
47 Preserve ispell session localwords when switching back to
50 * ispell.el (ispell-buffer-session-localwords): New buffer-local
51 variable to hold buffer session localwords.
52 (ispell-kill-ispell): add option 'clear to delete session
54 (ispell-command-loop, ispell-change-dictionary)
55 (ispell-buffer-local-words): Preserve session localwords when
58 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
59 Preserve session localwords when needed.
61 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
63 * ispell.el (ispell-insert-word) Remove unneeded function using
64 obsolete `translation-table-for-input'.
65 (ispell-word, ispell-process-line, ispell-complete-word): Use
66 plain `insert' instead of removed `ispell-insert-word'.
68 2012-04-22 Chong Yidong <cyd@gnu.org>
70 * cus-edit.el (custom-variable-menu)
71 (custom-variable-reset-saved, custom-face-menu)
72 (custom-face-reset-saved): If there is no saved value, make the
73 "reset-saved" operation bring back the default (Bug#9509).
74 (custom-face-state): Properly detect themed faces.
76 * faces.el (face-spec-set): Stop supporting deprecated form of
79 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
81 Move functions from C to Lisp. Make non-blocking method calls
82 the default. Implement further D-Bus standard interfaces.
84 * net/dbus.el (dbus-message-internal): Declare function. Remove
85 unneeded function declarations.
86 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
87 (dbus-message-type-method-return, dbus-message-type-error)
88 (dbus-message-type-signal): Declare variables. Remove local
90 (dbus-interface-dbus, dbus-interface-peer)
91 (dbus-interface-introspectable, dbus-interface-properties)
92 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
94 (dbus-interface-objectmanager): New defconst.
95 (dbus-call-method, dbus-call-method-asynchronously)
96 (dbus-send-signal, dbus-method-return-internal)
97 (dbus-method-error-internal, dbus-register-service)
98 (dbus-register-signal, dbus-register-method): New defuns, moved
100 (dbus-call-method-handler, dbus-setenv)
101 (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
103 (dbus-call-method-non-blocking): Make it an obsolete function.
104 (dbus-unregister-object, dbus-unregister-service)
105 (dbus-handle-event, dbus-register-property)
106 (dbus-property-handler): Obey the new structure of
107 `bus-registered-objects'.
108 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
109 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
110 Use `dbus-call-method'.
112 2012-04-22 Chong Yidong <cyd@gnu.org>
114 * cus-edit.el (custom-commands, custom-reset-menu)
115 (Custom-reset-standard): Tweak labels.
116 (custom-reset-button-menu): Change default to t.
117 (custom-buffer-create-internal): For the custom-reset-button-menu
118 case, put the revert button first.
119 (custom-group-subtitle): New face.
120 (custom-group-value-create): Align docstring to a specific column.
122 * wid-edit.el (widget-documentation-link-add): Don't handle
123 indentation in this function.
124 (widget-documentation-string-indent-to): New function.
125 (widget-documentation-string-value-create): Use it.
127 * autorevert.el (auto-revert):
128 * epg-config.el (epg):
129 * ibuffer.el (ibuffer):
132 * eshell/eshell.el (eshell):
133 * net/ange-ftp.el (ange-ftp):
134 * progmodes/ebnf2ps.el (postscript):
135 * progmodes/flymake.el (flymake):
136 * progmodes/prolog.el (prolog):
137 * progmodes/verilog-mode.el (verilog-mode):
138 * progmodes/which-func.el (which-func):
139 * term/xterm.el (xterm):
140 * textmodes/picture.el (picture):
141 * textmodes/tildify.el (tildify):
142 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
143 customization buffers.
145 2012-04-22 Alan Mackenzie <acm@muc.de>
147 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
148 Adding a ) can hide the resulting (..) from searches. Fix it.
149 Bound the backward search to the position of the existing (.
151 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
153 * progmodes/verilog-mode.el (verilog-mode): Check whether
154 which-func-modes is t before adding verilog-mode.
155 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
157 2012-04-21 Leo Liu <sdl.web@gmail.com>
159 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
161 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
163 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
164 filling of the last column of a table (Bug#5635).
165 (woman-find-next-control-line): New arg, specifying an additional
166 regexp component for the control line.
167 (woman2-roff-buffer): Use it.
168 (woman-break-table): New function.
171 2012-04-21 Chong Yidong <cyd@gnu.org>
173 * woman.el (woman-set-buffer-display-table, woman-decode-region)
174 (woman-horizontal-escapes, woman-negative-vertical-space)
175 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
176 (WoMan-warn-ignored): Use ?\s instead of ?\ .
178 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
180 * minibuffer.el (completion-file-name-table): Complete user names.
182 2012-04-20 Leo Liu <sdl.web@gmail.com>
184 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
187 2012-04-20 Chong Yidong <cyd@gnu.org>
189 * server.el (server-execute): Respect initial-buffer-choice if it
190 is a string and there are no files to open (Bug#2825).
191 (server-create-window-system-frame, server-create-tty-frame):
192 Don't switch buffers here.
193 (server-process-filter): Only try to open a window system frame if
194 compiled with graphical support (Bug#8314).
196 2012-04-20 Dan Nicolaescu <dann@gnu.org>
198 * battery.el (battery-echo-area-format): Display remaining time
199 for sysfs backend too (Bug#11269).
200 (battery-linux-sysfs): Fix conditional for the charge.
202 2012-04-20 Chong Yidong <cyd@gnu.org>
204 * progmodes/gdb-mi.el (gdb): Revert previous change.
205 (gdb-inferior-io--init-proc): New function.
206 (gdb-init-1): Use it.
207 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
208 responsible for allocating a new pty and hooking it to gdb when
209 the old pty gets an EIO due to process exit.
210 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
211 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
212 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
214 2012-04-20 Eli Zaretskii <eliz@gnu.org>
216 * window.el (window-min-size, window-sizable, window-min-delta)
217 (window-max-delta, window--resizable, window-resizable)
218 (window-total-size, window-full-height-p, window-full-width-p)
219 (window-in-direction, window--resize-mini-window, window-resize)
220 (window--resize-child-windows-normal)
221 (window--resize-child-windows, window--resize-siblings)
222 (window--resize-this-window, adjust-window-trailing-edge)
223 (enlarge-window, shrink-window): Doc fixes.
225 2012-04-20 Chong Yidong <cyd@gnu.org>
227 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
228 function to call delete-process on the gdb-inferior buffer's pty.
229 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
230 pty process (Bug#11273).
231 (gdb-update): New arg to suppress talking to the gdb process.
232 (gdb-done-or-error): Use it.
233 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
234 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
235 sentinel not being called.
237 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
239 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
241 2012-04-20 Glenn Morris <rgm@gnu.org>
243 * net/network-stream.el (open-network-stream): Doc fix.
245 2012-04-20 Chong Yidong <cyd@gnu.org>
247 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
249 2012-04-20 Alan Mackenzie <acm@muc.de>
251 Ensure searching for keywords is case sensitive.
253 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
254 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
255 (c-defun-name, c-mark-function, c-cpp-define-name)
256 (c-comment-indent, c-scan-conditionals, c-indent-defun)
257 (c-context-line-break): Bind case-fold-search to nil.
259 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
260 case-fold-search to nil.
262 2012-04-20 Chong Yidong <cyd@gnu.org>
264 * mail/sendmail.el (mail-bury): Call return action with the right
265 Rmail buffer (Bug#11242).
267 * server.el (server-process-filter): Handle corner case where both
268 tty and nowait options are present (Bug#11102).
270 2012-04-20 Eli Zaretskii <eliz@gnu.org>
272 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
273 (top level): Put into the executable the ident-style '$Id:' tag on
276 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
278 * electric.el (electric-indent-post-self-insert-function): Check that
279 electric-indent-mode is enabled in current buffer.
281 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
283 * imenu.el (imenu-progress-message): Restore; it is "used" in
284 erc/erc-imenu.el and net/snmp-mode.el.
286 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
288 * avoid.el (mouse-avoidance-mode): Mark unused arg.
289 (mouse-avoidance-nudge-mouse): Remove unused binding.
291 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
293 * descr-text.el (describe-char):
294 * progmodes/python.el (python-describe-symbol):
295 Don't call `toggle-read-only', set `buffer-read-only'.
297 * imenu.el (imenu-default-goto-function): Mark unused args.
298 (imenu-progress-message): Remove obsolete macro; all callers changed.
300 * subr.el (keymap-canonicalize): Remove unused binding.
301 (read-passwd): Mark unused arg.
303 * tutorial.el (tutorial--display-changes): Remove unused binding.
304 (tutorial--save-tutorial-to): Remove unused variable.
306 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
307 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
308 (package-generate-autoloads, package-menu--generate)
309 (package-menu--find-upgrades): Remove unused bindings.
311 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
312 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
313 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
314 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
315 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
316 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
317 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
318 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
319 (cua-delete-char-rectangle): Mark unused args.
320 (cua-align-rectangle): Remove unused binding.
322 * mail/rmail.el (compilation--message->loc)
323 (epa--find-coding-system-for-mime-charset): Declare.
325 * net/dbus.el (dbus-register-service): Declare.
326 (dbus-name-owner-changed-handler): Remove unused binding.
328 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
329 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
330 (nxml-scan-backward-within): Mark unused arg.
331 (nxml-dynamic-markup-word): Remove unused binding.
333 * mouse.el (mouse-menu-major-mode-map):
334 * emacs-lisp/authors.el (authors-scan-change-log)
335 (authors-add-to-author-list):
336 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
337 * emacs-lisp/smie.el (smie-auto-fill):
338 * mail/sendmail.el (mail-bury):
339 * mail/unrmail.el (unrmail):
340 * net/tls.el (open-tls-stream):
341 * textmodes/picture.el (picture-mouse-set-point):
342 Remove unused bindings.
344 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
346 * net/tramp.el (tramp-action-password): Let-bind
347 `enable-recursive-minibuffers' to t.
349 2012-04-18 Sam Steingold <sds@gnu.org>
351 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
352 instead of 'string to accommodate values like [f11].
353 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
354 * progmodes/gdb-mi.el: Likewise.
356 2012-04-18 Leo Liu <sdl.web@gmail.com>
358 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
360 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
363 2012-04-18 Chong Yidong <cyd@gnu.org>
365 * simple.el (line-move): Use forward-line if in batch mode
368 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
370 * files.el (after-find-file): Do not try to add a final newline if
371 the buffer is read-only (Bug#11156).
373 2012-04-17 Richard Stallman <rms@gnu.org>
375 * mail/rmail.el (rmail-start-mail):
376 Pass (rmail-mail-return...) for the return-action.
377 Pass (rmail-yank-current-message...) for the yank-action.
378 (rmail-yank-current-message): New function.
379 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
380 (rmail-reply): Likewise.
381 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
383 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
384 buffer, not the last. Reject temp buffers. Use the rmail-mode
387 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
389 * server.el (server-ensure-safe-dir): Simplify.
391 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
393 * emacs-lisp/smie.el: Provide smarter auto-filling.
394 (smie-auto-fill): New function.
395 (smie-setup): Use it.
397 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
399 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
401 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
402 (comment-indent): Use it.
404 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
406 * ses.el: The overall change is to add cell renaming, that is
407 setting fancy names for cell symbols other than name matching
408 "\\`[A-Z]+[0-9]+\\'" regexp .
409 (ses-localvars): Add ses--renamed-cell-symb-list.
410 (ses-create-cell-variable): New defun.
411 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
412 (ses-relocate-formula): Relocate formulas only for cells the
413 symbols of which are not renamed, i.e. symbols whose names do not
414 match regexp "\\`[A-Z]+[0-9]+\\'".
415 (ses-relocate-all): Relocate values only for cells the symbols of
416 which are not renamed.
417 (ses-load): Create cells variables as the (ses-cell ...) are read,
418 in order to check row col consistency with cell symbol name only
419 for cells that are not renamed.
420 (ses-replace-name-in-formula): New defun.
421 (ses-rename-cell): New defun.
423 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
425 * progmodes/perl-mode.el (perl-indent-parens-as-block):
426 New option (bug#11118).
427 (perl-calculate-indent): Respect it.
429 2012-04-17 Glenn Morris <rgm@gnu.org>
431 * dired-aux.el (dired-mark-read-string): Doc fix.
433 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
435 * dired-aux.el (dired-mark-read-string): Offer optional completion.
436 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
438 2012-04-17 Glenn Morris <rgm@gnu.org>
440 * mouse.el (mouse-drag-track):
441 * speedbar.el (speedbar-frame-mode):
442 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
444 2012-04-16 Leo Liu <sdl.web@gmail.com>
446 * progmodes/python.el: Trivial cleanup.
448 2012-04-16 Glenn Morris <rgm@gnu.org>
450 * vc/vc.el (vc-string-prefix-p):
451 * vc/pcvs-util.el (cvs-string-prefix-p):
452 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
453 * mpc.el (mpc-string-prefix-p):
454 Make all of these into obsolete aliases for string-prefix-p.
456 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
458 * textmodes/two-column.el: Move custom options to the start.
459 (frame-width): Remove compat definition.
460 (2C-associate-buffer, 2C-dissociate):
461 Use with-current-buffer rather than save-excursion.
462 (2C-dissociate): Force a mode-line update.
463 (2C-autoscroll): Use ignore-errors.
465 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
468 * emacs-lisp/cl-extra.el (*random-state*):
469 Remove unnecessary declaration.
471 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
473 * play/cookie1.el (cookie-snarf):
474 Give an explicit error if input file cannot be read.
476 * play/yow.el (yow-file): Use expand-file-name rather than concat.
478 * progmodes/perl-mode.el (c-macro-expand):
479 Remove unnecessary autoload (it is in loaddefs.el).
481 * textmodes/picture.el (picture-desired-column)
482 (picture-update-desired-column): Convert comments to doc-strings.
483 (picture-substitute): Remove function.
484 (picture-mode-map): Initialize in the defvar.
486 * woman.el: Remove eval-after-load for tar-mode.
487 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
488 (woman-tar-extract-file): Autoload it.
490 * frame.el (automatic-hscrolling): Make this alias obsolete.
492 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
494 * ispell.el (ispell-set-spellchecker-params): Post-process
495 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
496 (ispell-dictionary-base-alist): Revert to original XEmacs
497 friendly version for default. [:alpha:] will be added in
498 `ispell-set-spellchecker-params' if needed
500 2012-04-16 Chong Yidong <cyd@gnu.org>
502 * image.el (imagemagick--extension-regexp): New variable.
503 (imagemagick-register-types): Use it.
504 (imagemagick-types-inhibit): Add :set function. Allow new value
505 of t to inhibit all types.
507 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
508 so we can preload it.
510 * loadup.el (fboundp): Preload regexp-opt, needed by
511 imagemagick-register-types.
513 2012-04-15 Chong Yidong <cyd@gnu.org>
515 * frame.el (scrolling): Remove nearly unused customization group.
517 * scroll-all.el (scroll-all-mode): Move to windows group.
519 2012-04-15 Chong Yidong <cyd@gnu.org>
521 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
523 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
525 Avoid the use of ((lambda ...) ...) in lexical-binding code.
526 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
528 2012-04-15 Glenn Morris <rgm@gnu.org>
530 * simple.el (process-file-side-effects): Doc fix.
532 2012-04-15 Glenn Morris <rgm@gnu.org>
534 * international/mule-cmds.el (set-language-environment): Doc fix.
536 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
538 * server.el (server-auth-key, server-generate-key): Doc fixes.
539 (server-get-auth-key): Doc fix. Use `string-match-p'.
540 (server-start): Reflow docstring.
542 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
544 * server.el (server-generate-key): `called-interactively-p'
545 requires a parameter.
547 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
549 * server.el (server-auth-key): New variable.
550 (server-generate-key, server-get-auth-key): New function.
551 (server-start): Use the new variable and functions to allow
552 setting a permanent server key (bug#9423).
554 2012-04-14 Leo Liu <sdl.web@gmail.com>
556 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
558 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
561 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
562 Emacs uses American spelling.
564 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
566 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
567 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
568 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
569 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
571 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
573 * progmodes/which-func.el (which-func-modes): Change default.
575 2012-04-14 Kim F. Storm <storm@cua.dk>
577 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
578 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
580 2012-04-14 Chong Yidong <cyd@gnu.org>
582 * custom.el (custom-theme-set-variables): Doc fix.
584 2012-04-14 Glenn Morris <rgm@gnu.org>
586 * international/mule.el (set-auto-coding-for-load): Doc fix.
588 2012-04-14 Alan Mackenzie <acm@muc.de>
590 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
591 imenu work again for Objective C Mode. Correct the *-index values,
592 these having been disturbed by a previous change in 2011-08.
594 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
595 Correct two search limits.
597 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
599 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
601 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
603 * international/characters.el: Fix sorting.
605 2012-04-14 Eli Zaretskii <eliz@gnu.org>
607 * international/characters.el: Add more missing Latin case pairs.
609 2012-04-14 Glenn Morris <rgm@gnu.org>
611 * files.el (dir-locals-set-class-variables): Doc fix.
613 2012-04-14 Eli Zaretskii <eliz@gnu.org>
615 * international/characters.el: Add set-case-syntax-pair call for
616 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
617 counterpart. (Bug#11209)
619 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
621 2012-04-14 Glenn Morris <rgm@gnu.org>
623 * calendar/holidays.el (calendar-check-holidays): Doc fix.
625 2012-04-14 Eli Zaretskii <eliz@gnu.org>
627 * textmodes/ispell.el (ispell-dictionary-base-alist):
630 2012-04-14 Chong Yidong <cyd@gnu.org>
632 * net/rcirc.el (rcirc-cmd-quit):
633 Revert 2012-03-18 change (Bug#11192).
635 2012-04-14 Glenn Morris <rgm@gnu.org>
637 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
639 2012-04-14 Eli Zaretskii <eliz@gnu.org>
641 * minibuffer.el (completion-in-region-mode-map):
642 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
644 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
646 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
648 2012-04-13 Masatake YAMATO <yamato@redhat.com>
650 * minibuffer.el (minibuffer-local-filename-syntax): New variable
651 to allow `C-M-f' and `C-M-b' to move to the nearest path
652 separator (bug#9511).
654 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
656 * avoid.el: Require cl when compiling. And also move the
657 `provide' to the end.
659 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
661 * avoid.el (mouse-avoidance-banish-position): New variable.
662 (mouse-avoidance-banish-destination): Use it (bug#10165).
664 2012-04-13 Leo Liu <sdl.web@gmail.com>
666 * progmodes/which-func.el (which-func-modes): Add objc-mode.
668 2012-04-13 Ken Brown <kbrown@cornell.edu>
670 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
671 this is no longer needed now that cygstart understands file:// URLs.
672 (browse-url-filename-alist): For the same reason, don't modify
673 file:// URLs on Cygwin.
675 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
677 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
678 the region on shift if the binding is already shifted (bug#11221).
680 2012-04-12 Glenn Morris <rgm@gnu.org>
682 * mail/mailpost.el: Move to obsolete/.
684 2012-04-12 Drew Adams <drew.adams@oracle.com>
686 * imenu.el (imenu--generic-function): Ignore invisible definitions
689 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
691 * hexl.el (hexl-bits): New variable.
692 (hexl-options): Mention the variable in the doc string.
693 (hexl-rulerise, hexl-line-displen): New functions.
694 (hexl-mode): Mention the new variable.
695 (hexl-mode, hexl-current-address, hexl-current-address):
697 (hexl-ascii-start-column): New function.
698 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
699 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
701 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
703 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
704 '("-i" ENCODING), in 2 separate command-line arguments, to specify
705 the encoding, as expected by hunspell.
707 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
709 * battery.el (battery--linux-sysfs-regexp): New const.
710 (battery-status-function): Use it. Remove yeeloong special case.
711 (battery-yeeloong-sysfs): Remove.
712 (battery-echo-area-format): Remove yeeloong special case.
714 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
716 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
717 Reported by Noah Friedman.
719 * subr.el (read-passwd): Use read-string.
721 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
723 * vcursor.el (vcursor-move): Increase the priority of the overlay
726 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
728 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
729 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
731 2012-04-11 William Stevenson <yhvh2000@gmail.com>
733 * textmodes/artist.el (artist-mode): Convert artist-mode to use
734 define-minor-mode (bug#10760).
736 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
738 * progmodes/grep.el (rgrep): Tweak the find command line so
739 that directories matching `grep-find-ignored-files' won't be
742 2012-04-11 Chong Yidong <cyd@gnu.org>
744 * startup.el (command-line): Remove support for long-obsolete
745 variable font-lock-face-attributes.
747 2012-04-11 Glenn Morris <rgm@gnu.org>
749 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
751 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
753 * window.el (window--state-get-1): Obey window-point-insertion-type.
755 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
757 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
758 to previous function when point is on the first character of a
759 function. Take care of that in `narrow-to-defun' (bug#6157).
761 2012-04-11 Glenn Morris <rgm@gnu.org>
763 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
764 not just file-errors.
766 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
767 (vc-bzr-sha1): Use internal sha1.
769 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
771 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
773 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
775 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
776 that start in the middle of the line (bug#10496).
778 2012-04-10 Dan Nicolaescu <dann@gnu.org>
780 * battery.el (battery-linux-proc-acpi): Only one battery is
781 discharged at a time, but that seems to confuse battery.el when
782 computing `rate-type' for the battery not being discharged
785 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
787 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
789 * international/quail.el: Use dolist and simplify.
790 (quail-define-package, quail-update-keyboard-layout)
791 (quail-define-rules): Use dolist.
792 (quail-insert-kbd-layout, quail-get-translation): CSE.
794 * tmm.el: Use dolist, remove left over hook.
795 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
797 (calendar-load-hook): Don't mess with it.
799 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
800 Use derived-mode-p. Run the diff asynchronously.
802 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
804 * obsolete/mouse-sel.el: Add an Obsolete-since header.
806 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
808 * misc.el: Display absolute path of loaded DLLs (bug#10424).
809 (list-dynamic-libraries--loaded): New function.
810 (list-dynamic-libraries--refresh): Use it.
812 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
814 * progmodes/python.el (python-fill-paragraph):
815 Make python-fill-region in a multiline string work when font-lock is
818 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
820 * language/european.el (cp775): Add oem/legacy (en)coding on
821 DOS/MS Windows for the Baltic languages. There are still plenty
822 of texts written in this encoding/codepage (bug#6519).
824 2012-04-10 Glenn Morris <rgm@gnu.org>
826 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
827 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
829 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
831 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
832 next-line "n" and previous-line "p" in order to make recentf more
833 consistent with ibuffer, dired or org-mode (bug#9387).
835 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
837 * image.el (put-image): Return the overlay created instead of the
838 optional input string (bug#7834). Note that this may break code
839 that is (for some reason or other) depending on `put-image'
840 returning the string.
842 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
844 * simple.el (zap-to-char): Allow zapping using input methods
847 * textmodes/fill.el (fill-region): Leave point and mark where they
848 were before filling (bug#5399).
850 2012-04-09 Glenn Morris <rgm@gnu.org>
852 * version.el (emacs-bzr-get-version):
853 Handle lightweight checkouts of local branches.
855 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
857 * international/characters.el: Recover lost case pairs. (Bug#11209)
859 2012-04-09 Chong Yidong <cyd@gnu.org>
861 * custom.el (custom-variable-p): Return nil for non-symbol
862 arguments instead of signaling an error.
863 (user-variable-p): Obsolete alias for custom-variable-p.
865 * apropos.el (apropos-variable):
866 * files-x.el (read-file-local-variable):
867 * simple.el (set-variable):
868 * woman.el (woman-mini-help):
869 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
871 2012-04-09 Glenn Morris <rgm@gnu.org>
873 * startup.el (normal-top-level): Don't look for leim-list.el
874 in places where it will not be found. (Bug#910)
876 * international/mule-cmds.el (set-default-coding-systems):
877 * files.el (normal-mode):
878 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
879 This function was removed with ucs-tables.el in 2008.
881 2012-04-08 Eli Zaretskii <eliz@gnu.org>
883 * textmodes/ispell.el (ispell-check-version): For hunspell, set
884 ispell-encoding8-command to "-i", without a trailing space.
885 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
886 separate command-line arguments, to specify the encoding, since
887 that's how hunspell expects it.
889 2012-04-08 Glenn Morris <rgm@gnu.org>
891 * loadup.el: Load bindings before cus-start.
892 This reduces somewhat the number of "rogue" settings in emacs -Q.
894 2012-04-07 Glenn Morris <rgm@gnu.org>
896 * version.el (emacs-bzr-get-version): New function.
897 (emacs-bzr-version): New variable.
898 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
899 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
901 2012-04-07 Eli Zaretskii <eliz@gnu.org>
903 * international/uni-bidi.el, international/uni-category.el:
904 * international/uni-combining.el, international/uni-decimal.el:
905 * international/uni-decomposition.el, international/uni-digit.el:
906 * international/uni-lowercase.el, international/uni-mirrored.el:
907 * international/uni-name.el, international/uni-numeric.el:
908 * international/uni-titlecase.el, international/uni-uppercase.el:
909 Update for Unicode 6.1.
911 2012-04-07 Eli Zaretskii <eliz@gnu.org>
913 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
915 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
917 * window.el (shrink-window): Mention the `window-min-height'
918 variable in the doc string.
920 2012-04-05 Bastien Guerry <bzg@altern.org>
922 * color.el (color-lighten-name): Fix typo.
924 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
926 * server.el (server--on-display-p): New function.
927 (server--on-display-p): Use it.
929 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
931 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
934 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
936 * comint.el (comint--common-quoted-suffix): Check string boundary
937 before comparing (bug#11158).
938 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
940 2012-04-04 Chong Yidong <cyd@gnu.org>
942 * minibuffer.el (completion-extra-properties): Doc fix.
944 * subr.el (delayed-warnings-hook): Doc fix.
946 2012-04-04 Daiki Ueno <ueno@unixuser.org>
948 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
949 selection (Bug#11159).
950 (epa-insert-keys): Inform that the default public key will be
951 exported if no key is selected.
953 2012-04-04 Richard Stallman <rms@gnu.org>
955 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
957 2012-04-03 Chong Yidong <cyd@gnu.org>
959 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
960 mail-insert-file, not its obsolete alias mail-attach-file.
962 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
964 * notifications.el (notifications-notify): Fix docstring.
966 2012-04-02 Glenn Morris <rgm@gnu.org>
968 * emacs-lisp/authors.el (authors-aliases): Another addition.
970 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
972 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
973 `tramp-compat-call-process' instead of `tramp-local-call-process'.
974 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
976 2012-04-01 Chong Yidong <cyd@gnu.org>
978 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
979 Handle root directory properly.
980 (copy-directory): Caller changed.
982 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
983 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
985 2012-03-31 Glenn Morris <rgm@gnu.org>
987 * term/xterm.el (xterm-extra-capabilities): Doc fix.
989 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
991 * calendar/calendar.el (calendar-window-list)
992 (calendar-hide-window): Restore. (Bug#11140)
993 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
995 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
997 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
999 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1000 Check if file is a symlink (Bug#10489).
1002 * files.el (copy-directory): Likewise.
1004 2012-03-30 Chong Yidong <cyd@gnu.org>
1006 * image.el (imagemagick-types-inhibit)
1007 (imagemagick-register-types): Doc fix.
1009 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1011 * ispell.el (ispell-get-extended-character-mode): Disable
1012 extended-char-mode for hunspell. hunspell does not support it
1013 and treats ~word as ordinary words in pipe mode.
1015 2012-03-30 Glenn Morris <rgm@gnu.org>
1017 * tutorial.el (help-with-tutorial): Ensure local variables don't
1018 happen to make the buffer read-only. (Bug#11127)
1020 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1023 (perl-calculate-indent): Return `noindent' in strings.
1025 2012-03-28 Sam Steingold <sds@gnu.org>
1027 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1028 instead of the broken adhockery which does not prevent calendar
1029 buffers from being displayed at random after exit.
1030 (calendar-window-list, calendar-hide-window): Remove the broken
1033 2012-03-28 Glenn Morris <rgm@gnu.org>
1035 * replace.el (query-replace-map): Doc fix.
1037 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1039 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1040 contents. (Bug#11109)
1042 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1046 (avl-tree--check, avl-tree--check-node): New funs.
1048 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1050 * window.el (switch-to-visible-buffer): New option.
1051 (switch-to-prev-buffer, switch-to-next-buffer):
1052 Observe switch-to-visible-buffer. Make sure that checking for a window
1053 showing a buffer already is done on the same frame.
1055 2012-03-27 Glenn Morris <rgm@gnu.org>
1057 * startup.el (mail-host-address): Doc fix.
1059 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1064 2012-03-26 Ami Fischman <ami@fischman.org>
1066 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1068 2012-03-26 Glenn Morris <rgm@gnu.org>
1070 * files.el (save-buffers-kill-emacs): Doc fix.
1072 * startup.el (normal-top-level, command-line, command-line-1):
1073 Give them doc strings.
1075 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1077 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1078 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1080 2012-03-25 Chong Yidong <cyd@gnu.org>
1082 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1083 theme if it was previously enabled before (Bug#11031).
1085 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1086 spec with custom-face-get-current-spec if its :shown-value is not
1087 determined yet (Bug#9337).
1088 (customize-create-theme, custom-theme-revert): Doc fixes.
1090 * button.el (button-at): Minor addition to docstring.
1092 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1094 * vc/vc.el (vc-merge): Fix a prompt.
1096 2012-03-24 Chong Yidong <cyd@gnu.org>
1098 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1101 * button.el (button-at): Minor addition to docstring.
1103 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * newcomment.el (comment-choose-indent): No space after BOL.
1107 2012-03-22 Sam Steingold <sds@gnu.org>
1109 * window.el (switch-to-prev-buffer): Revert last patch because the
1110 bug turned out to be an advertised feature (Elisp manual 28.14).
1112 2012-03-22 Glenn Morris <rgm@gnu.org>
1114 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1115 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1117 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1119 * net/network-stream.el (network-stream-open-starttls): Make error
1120 message under Windows be less misleading.
1122 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1124 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1125 understands (bug#9942).
1127 2012-03-22 Chong Yidong <cyd@gnu.org>
1129 * simple.el (end-of-visible-line): Handle return value of
1130 next-single-property-change properly (Bug#9371).
1132 2012-03-22 Kenichi Handa <handa@m17n.org>
1134 * international/quail.el (quail-insert-kbd-layout): Fix previous
1135 change. To avoid unwanted bidi reordering, use
1136 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1138 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1140 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1141 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1142 (ruby-beginning-of-indent): Be more careful with the difference
1143 between word-boundary and symbol boundary.
1144 (ruby-mode-syntax-table): Make : a symbol constituent.
1146 2012-03-21 Andreas Politz <politza@fh-trier.de>
1148 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1150 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * progmodes/etags.el (tags-completion-at-point-function):
1155 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1157 2012-03-21 Sam Steingold <sds@gnu.org>
1159 * progmodes/etags.el (tags-completion-at-point-function):
1160 Avoid the error when point is inside the pattern.
1162 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1164 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1167 2012-03-21 Drew Adams <drew.adams@oracle.com>
1169 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1171 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1173 * ido.el (ido-set-current-directory, ido-read-internal)
1174 (ido-choose-completion-string, ido-completion-help): Handle nil
1175 value of ido-completion-buffer (Bug#11008).
1177 2012-03-21 Sam Steingold <sds@gnu.org>
1179 * window.el (switch-to-prev-buffer): Do not switch to a visible
1180 window previous buffer, just like with the frame previous buffers.
1182 2012-03-21 Chong Yidong <cyd@gnu.org>
1184 * faces.el (make-face, make-empty-face, copy-face):
1185 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1188 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1191 (widget-complete): Remove broken use of it.
1193 2012-03-20 Chong Yidong <cyd@gnu.org>
1195 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1196 Use string-width and truncate-string-width to handle arbitrary
1199 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1201 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1202 to draw rectangles, not squares. (Regression introduced by revno
1205 2012-03-18 Chong Yidong <cyd@gnu.org>
1207 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1208 it is not yet defined (for temacs).
1210 2012-03-18 Leo Liu <sdl.web@gmail.com>
1212 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1214 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1216 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1217 (ispell-choices-win-default-height, ispell-silently-savep)
1218 (ispell-dictionary-alist, ispell-encoding8-command)
1219 (ispell-check-version, ispell-aspell-find-dictionary)
1220 (ispell-valid-dictionary-list, ispell-words-keyword)
1221 (ispell-get-word, ispell-internal-change-dictionary)
1222 (ispell-region, ispell-skip-region-list)
1223 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1224 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1225 (ispell-message-text-end, ispell-message)
1226 (ispell-buffer-local-parsing): Doc fix.
1228 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1230 * htmlfontify.el: Add support for code block fontification for ODT
1232 (hfy-optimisations): Define new option
1234 (hfy-fontify-buffer): Honor above setting.
1235 (hfy-begin-span, hfy-end-span): New routines factored out form
1236 `hfy-fontify-buffer'.
1237 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1238 that permit insertion of custom tags.
1239 (hfy-fontify-buffer): Use above handlers.
1240 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1241 (hfy-face-to-css): Re-defined to be a variable.
1242 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1243 over multiple runs. This is made possible by having the caller let
1244 bind a special variable `hfy-user-sheet-assoc'.
1245 (htmlfontify-string): New defun.
1246 (hfy-compile-face-map): Make sure that the last char in the
1247 buffer is correctly fontified.
1248 (hfy-face-resolve-face): Whitespace only change.
1250 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1252 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1255 2012-03-16 Leo Liu <sdl.web@gmail.com>
1257 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1259 2012-03-16 Alan Mackenzie <acm@muc.de>
1261 Further optimise the handling of large macros.
1263 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1264 limit to a call of `c-literal-limits'.
1265 (c-determine-+ve-limit): New function.
1266 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1267 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1268 In CASE 5B, restrict a search limit to 500.
1269 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1271 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1272 Restrict macro bounds to +-500 from after-change's BEG END.
1274 2012-03-16 Leo Liu <sdl.web@gmail.com>
1276 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1278 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1280 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1281 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1283 2012-03-16 Glenn Morris <rgm@gnu.org>
1285 * view.el (view-buffer, view-buffer-other-window)
1286 (view-buffer-other-frame): Doc fixes re special mode-class.
1288 * subr.el (eval-after-load): If named feature is provided not from
1289 a file, run after-load forms. (Bug#10946)
1291 * calendar/calendar.el (calendar-insert-at-column):
1292 Handle non-unit-width characters a bit better. (Bug#10978)
1294 2012-03-15 Chong Yidong <cyd@gnu.org>
1296 * emacs-lisp/ring.el (ring-extend): New function.
1297 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1299 * comint.el (comint-read-input-ring)
1300 (comint-add-to-input-history): Grow comint-input-ring lazily.
1302 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1305 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1307 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1308 (imenu-add-to-menubar): Don't add a redundant index.
1309 (imenu-update-menubar): Handle a dynamically composed keymap.
1311 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1313 * mail/sendmail.el (mail-encode-header):
1314 Bind rfc2047-encode-encoded-words to nil.
1316 2012-03-13 Glenn Morris <rgm@gnu.org>
1318 * calendar/calendar.el (calendar-string-spread):
1319 Handle non-unit-width characters a bit better. (Bug#10978)
1321 2012-03-13 Leo Liu <sdl.web@gmail.com>
1323 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1324 directory and file as argument (Bug#10822).
1326 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1328 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1329 For dynamically generated code, follow $PC.
1330 (gdb-disassembly-handler-custom): Handle no function name case.
1332 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1334 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1335 * emulation/ws-mode.el (ws-query-replace):
1336 * sort.el (sort-regexp-fields):
1337 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1339 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * dabbrev.el: Fix cycle completion order (bug#10963).
1342 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1343 (dabbrev-completion): Don't use an obarray; provide
1344 a cycle-sort-function.
1346 2012-03-12 Leo Liu <sdl.web@gmail.com>
1348 * simple.el (kill-new): Use equal-including-properties for comparison.
1349 (kill-do-not-save-duplicates): Doc fix.
1351 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * dabbrev.el: Fix cycle completion (bug#10963).
1354 Use lexical binding and wrap to 80 columns.
1355 (dabbrev-completion): Delay computing the list of completions.
1357 2012-03-12 Kenichi Handa <handa@m17n.org>
1359 * international/quail.el (quail-insert-kbd-layout): Surround each
1360 row by LRO and PDF instead of inserting many LRMs. Pad the left
1361 and right of each non-spacing marks. Insert invisible space
1362 between lower and upper characters to prevent composition.
1364 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * minibuffer.el (minibuffer-complete): Don't get confused when the
1367 function is run twice via different commands (bug#10958).
1368 (complete-with-action): Fix docstring.
1370 2012-03-12 Chong Yidong <cyd@gnu.org>
1372 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1373 (nxml-completion-at-point-function): New function.
1374 (nxml-mode): Use it.
1375 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1377 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1378 Load generated autoloads file before byte compiling (Bug#10970).
1379 (package--make-autoloads-and-compile): New helper fun.
1381 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1383 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1385 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1387 * autorevert.el (auto-revert-handler): Ensure, that
1388 file-readable-p is applied only for local files or in
1389 auto-revert-tail-mode.
1391 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1393 * server.el (server-eval-at): Handle non-tcp connections.
1394 Decode result string.
1396 * server.el (server-msg-size): New constant.
1397 (server-reply-print): New function.
1398 (server-eval-and-print): Use it.
1399 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1402 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1404 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1407 2012-03-11 Chong Yidong <cyd@gnu.org>
1409 * simple.el (goto-line): Doc fix (Bug#9938).
1411 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1413 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1414 when finished (Bug#10963).
1416 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1418 * window.el (split-window-below): Fix bug in case where
1419 split-window-keep-point is nil (Bug#10971).
1421 2012-03-11 Juri Linkov <juri@jurta.org>
1423 * replace.el (replace-highlight): Set isearch-word to nil
1424 unconditionally. (Bug#10887)
1426 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1428 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1429 mairix-replace-illegal-chars; all callers changed. Don't remove
1430 ^, ~, and = characters: they are meaningful in mairix search specs.
1431 (mairix-widget-create-query): Add usage information about mairix
1432 search forms: negating words, searching for substrings, etc.
1434 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1436 * international/fontset.el (font-encoding-alist): Add an entry for
1439 2012-03-10 Richard Stallman <rms@gnu.org>
1441 * mail/sendmail.el (mail-encode-header):
1442 Set rfc2047-encode-encoded-words.
1444 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1446 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1447 view buffer means not swapped.
1448 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1449 (rmail-write-region-annotate): Error if real text has disappeared.
1451 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1453 2012-03-10 Chong Yidong <cyd@gnu.org>
1455 * emulation/cua-rect.el (cua--init-rectangles):
1456 * emulation/cua-base.el (cua--init-keymaps):
1457 Add delete-forward-char to remappings (Bug#9666).
1459 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1461 * speedbar.el (speedbar-unhighlight-one-tag-line):
1462 Avoid unhighlighting due to frame switching (Bug#10275).
1464 2012-03-10 Chong Yidong <cyd@gnu.org>
1466 * minibuffer.el (completion-in-region, completion-help-at-point):
1467 Give the completion field overlay a high priority (Bug#6830).
1469 * dired.el (dired-goto-file): Recognize absolute file name
1470 listings (Bug#7126).
1471 (dired-goto-file-1): New helper function.
1472 (dired-toggle-read-only): Inhibit warnings.
1474 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1476 * net/dbus.el (dbus-property-handler): Return empty array if
1477 there are no properties.
1479 2012-03-09 Leo Liu <sdl.web@gmail.com>
1481 * savehist.el (savehist-printable): Stricter check for string
1484 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1486 * mail/smtpmail.el (smtpmail-send-it):
1487 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1490 2012-03-09 Glenn Morris <rgm@gnu.org>
1492 * files.el (dir-locals-find-file):
1493 Don't check result is regular, readable.
1494 (dir-locals-read-from-file): Demote errors.
1496 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1498 * international/quail.el (quail-insert-kbd-layout):
1499 Insert invisible LRM characters before each character in a keyboard
1500 layout cell, to prevent their reordering by bidi display engine.
1501 For details, see the discussion in
1502 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1504 2012-03-08 Alan Mackenzie <acm@muc.de>
1506 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1507 the starting position; make it extend the marked region when
1508 invoked repeatedly - all under appropriate circumstances.
1509 Fixes bugs #5525, #10906.
1511 2012-03-08 Glenn Morris <rgm@gnu.org>
1513 * files.el (locate-dominating-file, dir-locals-find-file):
1514 Undo 2012-03-06 change.
1516 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1518 * international/quail.el (quail-help):
1519 Force bidi-paragraph-direction be left-to-right. See discussion in
1520 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1523 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1525 Avoid superfluous registering of signals. (Bug#10807)
1527 * notifications.el (notifications-on-action-object)
1528 (notifications-on-close-object): New defvars.
1529 (notifications-on-action-signal, notifications-on-closed-signal):
1530 Unregister the signal if not needed any longer.
1531 (notifications-notify): Register `notifications-action-signal' or
1532 `notifications-closed-signal', if :on-action or :on-close has been
1535 2012-03-07 Chong Yidong <cyd@gnu.org>
1537 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1540 2012-03-06 Glenn Morris <rgm@gnu.org>
1542 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1543 (x-disown-selection-internal, x-get-selection-internal):
1544 Doc fix (add arglist signatures). (Bug#10783)
1546 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1548 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1549 Handle breakpoints with no "type".
1551 2012-03-06 Glenn Morris <rgm@gnu.org>
1553 * files.el (locate-dominating-file): Add optional predicate argument.
1554 (dir-locals-find-file): Make use of above change.
1556 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1558 * info.el (Info-insert-dir): Also try "dir.gz".
1560 2012-03-06 Glenn Morris <rgm@gnu.org>
1562 * files.el (dir-locals-find-file):
1563 Ignore non-readable or non-regular files. (Bug#10928)
1565 * files.el (locate-dominating-file): Doc fix.
1567 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1569 * calendar/calendar.el (calendar-set-mode-line):
1570 `getenv' returns a string. (Bug#10951)
1572 2012-03-05 Leo Liu <sdl.web@gmail.com>
1574 * simple.el (backward-delete-char-untabify): Constrain point to
1577 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1579 2012-03-05 Chong Yidong <cyd@gnu.org>
1581 * simple.el (count-words): If called from Lisp, return the word
1582 count, for symmetry with `count-lines'. Arglist changed.
1583 (count-words--message): Args changed. Consolidate counting code
1584 from count-words and count-words-region.
1585 (count-words-region): Caller changed.
1586 (count-lines-region): Make it an obsolete alias.
1588 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1590 * saveplace.el (save-place-to-alist)
1591 (save-place-ignore-files-regexp): Allow value nil to disable this
1594 2012-03-04 Chong Yidong <cyd@gnu.org>
1596 * faces.el (face-spec-reset-face): For the default face, reset the
1597 attributes to default values (Bug#10748).
1599 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1601 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1602 previous patch: Check `message-send-mail-function', and not the
1603 default function (bug#10897).
1605 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1607 * notifications.el (notifications-on-action-signal)
1608 (notifications-on-closed-signal): Check for unique service name of
1609 incoming event. Fix error in removing entry.
1610 (top): Register for signals with wildcard service name.
1611 (notifications-notify): Use daemon unique service name for map entries.
1613 2012-03-04 Chong Yidong <cyd@gnu.org>
1615 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1617 2012-03-04 Glenn Morris <rgm@gnu.org>
1619 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1620 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1621 (expand-abbrev, define-abbrev-table): Doc fixes.
1623 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1625 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1626 `message-default-send-mail-function' and not `send-mail-function'
1627 when doing the prompting for `sendmail-query-once' before sending
1628 in Message buffers (bug#10897).
1630 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1631 This is inconsistent with all the other stream functions, which leave
1632 the setting up to the higher levels (if so wanted) (bug#10931).
1634 2012-03-02 Alan Mackenzie <acm@muc.de>
1636 Depessimize the handling of very large macros.
1638 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1639 (c-macro-cache-syntactic): New variables to implement a one
1640 element macro cache.
1641 (c-invalidate-macro-cache): New function.
1642 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1643 Adapt to use the new cache.
1644 (c-state-safe-place): Use better the cache of safe positions.
1645 (c-state-semi-nonlit-pos-cache)
1646 (c-state-semi-nonlit-pos-cache-limit):
1647 New variables for...
1648 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1649 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1650 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1651 Use c-state-semi-safe-place.
1653 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1654 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1656 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1658 * jka-compr.el (jka-compr-call-process):
1659 Apply `file-accessible-directory-p' only when the default directory is
1662 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1664 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1665 access of FILE2, if FILE1 does not exist.
1667 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1668 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1670 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1671 Add "PAGER=" to `process-environment'.
1673 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1675 * progmodes/sql.el: Bug fix
1676 (sql-get-login-ext): Save login values in globals.
1677 (sql-get-login): Use new version of `sql-get-login-ext'.
1678 (sql-interactive-mode): Set global `sql-connection' to nil.
1679 (sql-connect): Set global values for connection.
1680 (sql-product-interactive): Save global values as buffer local.
1682 2012-02-29 Leo Liu <sdl.web@gmail.com>
1684 * abbrev.el (define-abbrevs): Reset sys to nil.
1686 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1688 * files.el (file-equal-p): Rename from `files-equal-p'.
1689 Return nil when one or both files don't exist.
1690 (file-subdir-of-p): Now only top directory must exists,
1691 return nil if it doesn't.
1692 (copy-directory): No need to test with `file-subdir-of-p' after
1694 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1697 2012-02-28 Glenn Morris <rgm@gnu.org>
1699 * shell.el (shell-mode):
1700 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1701 * play/landmark.el (landmark-font-lock-face-O):
1702 * play/handwrite.el (handwrite):
1703 * play/gomoku.el (gomoku-O):
1704 * net/browse-url.el (browse-url-browser-display):
1705 * international/mule.el (define-charset):
1706 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1707 * filesets.el (filesets-find-file-delay):
1708 * eshell/em-xtra.el (eshell-xtra):
1709 * eshell/em-unix.el (eshell-grep):
1710 * emulation/viper.el (viper-mode):
1711 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1712 * emacs-lisp/easymenu.el (easy-menu-define):
1713 * calendar/timeclock.el (timeclock-use-display-time):
1715 * bookmark.el (bookmark-save-flag):
1716 Doc fix (standardize possessive apostrophe usage).
1718 2012-02-27 Chong Yidong <cyd@gnu.org>
1720 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1721 Fix key-binding lookup for ESC key (Bug#9146).
1723 * font-lock.el (font-lock-specified-p): Rename from
1724 font-lock-spec-present. Callers changed.
1726 2012-02-27 Daniel Hackney <dan@haxney.org>
1728 * emacs-lisp/package.el (package-compute-transaction):
1729 Handle holding a package version to t in package-load-list.
1731 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1733 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1734 (tramp-get-inode, tramp-get-device): Use cached values.
1736 2012-02-26 Alan Mackenzie <acm@muc.de>
1738 Check there is a font-lock specification before doing initial
1741 * font-core.el (font-lock-mode): Move the conditional from
1742 :after-hook to font-lock-initial-fontify.
1743 (font-lock-default-function): Move the check for a specification
1744 to font-lock-spec-present.
1746 * font-lock.el (font-lock-initial-fontify): Call ...
1747 (font-lock-spec-present): New function.
1749 2012-02-26 Jim Blandy <jimb@red-bean.com>
1751 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1752 (gdb-send): Apply it to the operand of the '-interpreter-exec
1753 console' command, so that we can pass arguments with (say) quotes
1754 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1756 2012-02-26 Chong Yidong <cyd@gnu.org>
1758 * help-fns.el (describe-function-1): Clarify description of
1759 remapping (Bug#10844).
1761 * files.el (files-equal-p): Doc fix.
1762 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1763 and quit the loop once a mismatch is found.
1765 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1767 * bs.el (bs--show-with-configuration): Don't throw an error
1768 if the window cannot be split; otherwise, subsequent calls to
1769 bs-show fail, restoring a stale window config. (Bug#10882)
1771 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1773 * term/ns-win.el (global-map): Bind ns-drag-file to
1774 ns-find-file (Bug#5855, Bug#10050).
1776 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1778 * calendar/parse-time.el (parse-time-string): Allow extractor to
1781 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp.el (tramp-file-name-for-operation):
1784 Add `files-equal-p' and `file-subdir-of-p'.
1786 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1787 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1788 Add COPY-CONTENTS argument.
1790 2012-02-25 Chong Yidong <cyd@gnu.org>
1792 Add custom groups for VC backends, for consistency with vc-bzr.
1794 * vc/vc-arch.el (vc-arch):
1795 * vc/vc-cvs.el (vc-cvs):
1796 * vc/vc-git.el (vc-git):
1797 * vc/vc-hg.el (vc-hg):
1798 * vc/vc-mtn.el (vc-mtn):
1799 * vc/vc-rcs.el (vc-rcs):
1800 * vc/vc-sccs.el (vc-sccs):
1801 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1802 All relevant defcustoms reassigned.
1804 2012-02-25 Chong Yidong <cyd@gnu.org>
1806 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1808 * term/x-win.el (x-initialize-window-system): Reduce default for
1809 x-selection-timeout to 5 seconds (Bug#8869).
1811 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1813 * files.el (files-equal-p, file-subdir-of-p): New functions.
1814 (copy-directory): Error when trying to copy a directory on itself.
1815 Add missing copy-contents arg to tramp handler.
1816 * dired-aux.el (dired-copy-file-recursive): Same.
1817 (dired-create-files): Modify destination when source is equal to
1818 dest when copying files.
1819 Return also when dest is a subdir of source. (Bug#10489)
1821 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1823 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1826 2012-02-23 Alan Mackenzie <acm@muc.de>
1828 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1829 parameter "after-hook:" to allow the expansion to run code after
1830 the execution of the mode hooks.
1832 * font-lock.el (font-lock-initial-fontify): New function extracted
1833 from font-lock-mode-internal.
1835 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1838 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1841 (completion--cache-all-sorted-completions): New function.
1842 (completion-all-sorted-completions): Use it.
1843 (completion--do-completion, minibuffer-force-complete):
1844 Use it to re-instate the flush hook.
1846 * icomplete.el (icomplete-completions): Replace last fix with a better
1849 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1851 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1852 when it might call us back infinitely (bug#10797).
1854 2012-02-23 Glenn Morris <rgm@gnu.org>
1856 * minibuffer.el (completion-category-overrides): Doc fix.
1858 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1860 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1861 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1863 2012-02-23 Glenn Morris <rgm@gnu.org>
1865 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1866 (authors-obsolete-files-regexps, authors-ignored-files)
1867 (authors-ambiguous-files, authors-renamed-files-alist):
1870 2012-02-23 Juri Linkov <juri@jurta.org>
1872 * isearch.el (isearch-occur): Sync interactive spec with occur's
1873 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1875 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1877 2012-02-22 Juri Linkov <juri@jurta.org>
1879 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1880 (ucs-insert): Doc fix. Check for hex digits in the string.
1881 Don't display `nil' in the error message. (Bug#10857)
1883 2012-02-22 Alan Mackenzie <acm@muc.de>
1885 * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
1887 2012-02-22 Glenn Morris <rgm@gnu.org>
1889 * ffap.el (ffap-c-path):
1890 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1892 2012-02-22 Chong Yidong <cyd@gnu.org>
1894 * custom.el (load-theme): Doc fix.
1896 2012-02-22 Glenn Morris <rgm@gnu.org>
1898 * dired-x.el (dired-guess-shell-alist-default):
1899 Remove escape sequences from nroff output. (Bug#172)
1901 2012-02-21 Glenn Morris <rgm@gnu.org>
1903 * vc/emerge.el (emerge-defvar-local):
1904 Set `permanent-local' property rather than unused `preserved'.
1906 * textmodes/picture.el (picture-delete-char): New alias.
1907 (picture-mode-map): Use it. (Bug#10860)
1908 (picture-mode): Doc fix.
1910 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1912 * newcomment.el (uncomment-region-default): Remove unused binding.
1914 2012-02-21 Glenn Morris <rgm@gnu.org>
1916 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1917 (picture-self-insert, picture-tab-chars): Doc fix.
1918 (picture-mode-map): Fix C-a, C-e.
1920 2012-02-20 Glenn Morris <rgm@gnu.org>
1922 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1924 2012-02-20 Leo Liu <sdl.web@gmail.com>
1926 * icomplete.el (icomplete-completions): Check FROM arg before
1927 passing to substring (Bug#10850).
1929 2012-02-19 Chong Yidong <cyd@gnu.org>
1931 * comint.el: Require ansi-color.
1932 (comint-output-filter-functions): Add ansi-color-process-output.
1934 * ansi-color.el: Don't set comint-output-filter-functions; it is
1935 now in the initial value defined in comint.el.
1936 (ansi-color-apply-face-function): New variable.
1937 (ansi-color-apply-on-region): Use it.
1938 (ansi-color-apply-overlay-face): New function.
1940 * shell.el (shell): No need to require ansi-color.
1941 (shell-mode): Use ansi-color-apply-face-function to highlight
1942 color escapes using font-lock-face property (Bug#10835).
1944 2012-02-19 Chong Yidong <cyd@gnu.org>
1946 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1947 mode-line formats (Bug#10839).
1949 2012-02-18 Glenn Morris <rgm@gnu.org>
1951 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1953 * mail/undigest.el (unforward-rmail-message): Doc fix.
1955 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1957 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1959 * international/characters.el (script-list): Sync with the latest
1960 Unicode Character Database.
1962 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1964 * international/titdic-cnv.el: Remove duplicate coding tag.
1965 * language/cham.el: Likewise.
1966 * language/tai-viet.el: Likewise.
1968 2012-02-18 Glenn Morris <rgm@gnu.org>
1970 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1971 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1972 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1973 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1974 * calendar/holidays.el (holiday-bahai-holidays)
1975 (calendar-holidays, list-holidays):
1976 Use utf-8 Bahá'í in doc-strings, menus, etc.
1978 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1980 * saveplace.el (save-place-ignore-files-regexp): New variable
1981 allowing for excluding files from saving their location of point.
1982 The default value matches the temporary commit message editing
1983 files from Git, SVN, Bazaar, and Mercurial.
1984 (save-place-to-alist): Use it.
1986 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1987 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * newcomment.el (uncomment-region-default): Don't leave extra space
1990 when an arg is provided (bug#8150).
1992 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1994 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1996 2012-02-17 Glenn Morris <rgm@gnu.org>
1998 * net/socks.el: Require network-stream. (Bug#10599)
2000 2012-02-17 Kenichi Handa <handa@m17n.org>
2002 * international/charprop.el:
2003 * international/uni-name.el:
2004 * international/uni-old-name.el:
2005 * international/uni-comment.el: Regenerate.
2007 2012-02-16 Glenn Morris <rgm@gnu.org>
2009 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2010 Interactively in calendar buffer, give an error if not on a date.
2012 2012-02-15 Glenn Morris <rgm@gnu.org>
2014 * shell.el (shell-delimiter-argument-list):
2015 Revert 2011-02-17 change. (Bug#8027)
2017 2012-02-15 Chong Yidong <cyd@gnu.org>
2019 * minibuffer.el (completion-at-point-functions): Doc fix.
2021 * custom.el (defcustom): Doc fix; note use of defvar.
2023 2012-02-15 Glenn Morris <rgm@gnu.org>
2025 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2028 2012-02-14 Glenn Morris <rgm@gnu.org>
2030 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2032 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2034 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2035 way the ports list is computed.
2036 (smtpmail-query-smtp-server): Prompt the user for a port number if
2037 we can't connect to any of the standard ports (bug#10810).
2039 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2041 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2043 2012-02-13 Glenn Morris <rgm@gnu.org>
2045 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2047 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2049 * net/gnutls.el (gnutls-trustfiles): New variable.
2050 (gnutls-negotiate): Use it.
2052 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2054 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2055 does its stuff if Gnus is running.
2057 2012-02-13 Alan Mackenzie <acm@muc.de>
2059 Fix a loop in c-set-fl-decl-start.
2061 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2062 c-backward-syntactic-ws actually moves backwards.
2064 2012-02-13 Leo Liu <sdl.web@gmail.com>
2066 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2067 beginning so that all \C-o chars are removed.
2069 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2071 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2073 2012-02-12 Alan Mackenzie <acm@muc.de>
2075 Fix infinite loop with long macros.
2076 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2078 2012-02-12 Chong Yidong <cyd@gnu.org>
2080 * window.el (display-buffer): Doc fix (Bug#10785).
2082 2012-02-12 Glenn Morris <rgm@gnu.org>
2084 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2085 (x-disown-selection-internal, x-get-selection-internal):
2086 Sync docs with the xselect.c versions.
2088 * allout-widgets.el: Add missing license notice.
2090 2012-02-11 Glenn Morris <rgm@gnu.org>
2092 * select.el (x-get-selection-internal, x-own-selection-internal)
2093 (x-disown-selection-internal):
2094 * x-dnd.el (x-get-selection-internal): Update declarations.
2096 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2098 * window.el (window-sides-slots):
2099 * tool-bar.el (tool-bar-position):
2100 * term/xterm.el (xterm-extra-capabilities):
2101 * ses.el (ses-self-reference-early-detection):
2102 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2103 (verilog-auto-wire-type)
2104 (verilog-auto-delete-trailing-whitespace)
2105 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2106 (verilog-auto-tieoff-declaration):
2107 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2108 (sql-oracle-statement-starters, sql-oracle-scan-on):
2109 * progmodes/prolog.el (prolog-align-comments-flag)
2110 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2111 (prolog-left-indent-regexp, prolog-paren-indent-p)
2112 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2113 (prolog-types, prolog-mode-specificators)
2114 (prolog-determinism-specificators, prolog-directives)
2115 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2116 (prolog-electric-dot-flag)
2117 (prolog-electric-dot-full-predicate-template)
2118 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2119 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2120 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2121 (prolog-program-switches, prolog-prompt-regexp)
2122 (prolog-debug-on-string, prolog-debug-off-string)
2123 (prolog-trace-on-string, prolog-trace-off-string)
2124 (prolog-zip-on-string, prolog-zip-off-string)
2125 (prolog-use-standard-consult-compile-method-flag)
2126 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2127 (prolog-imenu-max-lines, prolog-info-predicate-index)
2128 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2129 (prolog-char-quote-workaround):
2130 * progmodes/cc-vars.el (c-defun-tactic):
2131 * net/tramp.el (tramp-encoding-command-interactive)
2132 (tramp-local-end-of-line):
2133 * net/soap-client.el (soap-client):
2134 * net/netrc.el (netrc-file):
2135 * net/gnutls.el (gnutls):
2136 * minibuffer.el (completion-category-overrides)
2137 (completion-cycle-threshold)
2138 (completion-pcm-complete-word-inserts-delimiters):
2139 * man.el (Man-name-local-regexp):
2140 * mail/feedmail.el (feedmail-display-full-frame):
2141 * international/characters.el (glyphless-char-display-control):
2142 * eshell/em-ls.el (eshell-ls-date-format):
2143 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2144 (lisp-lambda-list-keyword-parameter-indentation)
2145 (lisp-lambda-list-keyword-parameter-alignment):
2146 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2147 * dired-x.el (dired-omit-verbose):
2148 * cus-theme.el (custom-theme-allow-multiple-selections):
2149 * calc/calc.el (calc-highlight-selections-with-faces)
2150 (calc-lu-field-reference, calc-lu-power-reference)
2151 (calc-note-threshold):
2152 * battery.el (battery-mode-line-limit):
2153 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2154 (archive-7z-update):
2155 * allout.el (allout-prefixed-keybindings)
2156 (allout-unprefixed-keybindings)
2157 (allout-inhibit-auto-fill-on-headline)
2158 (allout-flattened-numbering-abbreviation):
2159 * allout-widgets.el (allout-widgets-auto-activation)
2160 (allout-widgets-icons-dark-subdir)
2161 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2162 (allout-widgets-theme-dark-background)
2163 (allout-widgets-theme-light-background)
2164 (allout-widgets-item-image-properties-emacs)
2165 (allout-widgets-item-image-properties-xemacs)
2166 (allout-widgets-run-unit-tests-on-load)
2167 (allout-widgets-time-decoration-activity)
2168 (allout-widgets-hook-error-post-time)
2169 (allout-widgets-track-decoration):
2170 Add missing :version tags to new defcustoms and defgroups.
2172 * progmodes/sql.el (sql-ansi-statement-starters)
2173 (sql-oracle-statement-starters): Add custom type.
2175 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2176 (prolog-system-version): Give it a type.
2178 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2180 * term/pc-win.el (x-select-text, x-selection-owner-p)
2181 (x-own-selection-internal, x-disown-selection-internal)
2182 (x-get-selection-internal): Sync doc strings and argument lists
2183 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2185 2012-02-11 Leo Liu <sdl.web@gmail.com>
2187 * progmodes/python.el (python-end-of-statement): Fix infinite
2190 2012-02-10 Glenn Morris <rgm@gnu.org>
2192 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2193 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2195 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2197 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2198 about SMTP before checking the From header.
2200 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2201 into own function for reuse by emacsbug.el.
2203 2012-02-10 Leo Liu <sdl.web@gmail.com>
2205 * subr.el (condition-case-unless-debug): Rename from
2206 condition-case-no-debug. All callers changed.
2207 (with-demoted-errors): Fix caller.
2209 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2210 * nxml/rng-valid.el (rng-do-some-validation):
2211 * emacs-lisp/package.el (package-refresh-contents)
2212 (package-menu-execute):
2213 * desktop.el (desktop-create-buffer):
2214 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2216 2012-02-10 Glenn Morris <rgm@gnu.org>
2218 * textmodes/bibtex.el:
2219 Add missing :version tags for new/changed defcustoms.
2221 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2223 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2225 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2226 (smtpmail-via-smtp): Use it, or fall back on the From address.
2227 (smtpmail-send-it): Ditto.
2229 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2232 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2233 (byte-compile-tmp-var): New const.
2234 (byte-compile-defvar): Use it to minimize .elc size.
2235 Just use `defvar' rather than simulate it (bug#10761).
2237 2012-02-09 Glenn Morris <rgm@gnu.org>
2239 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2241 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2244 * progmodes/compile.el (compilation-error-screen-columns)
2245 (compilation-first-column, compilation-filter-start): Doc fixes.
2247 * vc/log-view.el (log-view-toggle-entry-display):
2248 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2250 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2251 (report-emacs-bug-can-use-xdg-email):
2252 (report-emacs-bug-insert-to-mailer): Doc fixes.
2253 (report-emacs-bug): Message fix.
2255 * net/browse-url.el (browse-url-can-use-xdg-open)
2256 (browse-url-xdg-open): Doc fixes.
2258 * electric.el (electric-indent-mode, electric-pair-mode)
2259 (electric-layout-rules, electric-layout-mode): Doc fixes.
2260 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2262 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2264 * server.el (server-unselect-display): Don't inadvertently kill
2265 the current buffer. (Bug#10729)
2267 2012-02-08 Glenn Morris <rgm@gnu.org>
2269 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2270 (sql-list-table): Doc fixes.
2272 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2273 Comment out (does nothing).
2275 * completion.el (dynamic-completion-mode):
2276 * dirtrack.el (dirtrack-debug-mode):
2277 * electric.el (electric-layout-mode):
2278 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2279 * face-remap.el (text-scale-mode, buffer-face-mode):
2280 * iimage.el (iimage-mode):
2281 * image-mode.el (image-transform-mode):
2282 * minibuffer.el (completion-in-region-mode):
2283 * scroll-lock.el (scroll-lock-mode):
2284 * simple.el (next-error-follow-minor-mode):
2285 * tar-mode.el (tar-subfile-mode):
2286 * tooltip.el (tooltip-mode):
2287 * vcursor.el (vcursor-use-vcursor-map):
2288 * wid-browse.el (widget-minor-mode):
2289 * emulation/tpu-edt.el (tpu-edt-mode):
2290 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2291 * international/iso-ascii.el (iso-ascii-mode):
2292 * language/thai-util.el (thai-word-mode):
2293 * mail/supercite.el (sc-minor-mode):
2294 * net/goto-addr.el (goto-address-mode):
2295 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2296 * progmodes/cwarn.el (cwarn-mode):
2297 * progmodes/flymake.el (flymake-mode):
2298 * progmodes/glasses.el (glasses-mode):
2299 * progmodes/hideshow.el (hs-minor-mode):
2300 * progmodes/pascal.el (pascal-outline-mode):
2301 * textmodes/enriched.el (enriched-mode):
2302 * vc/smerge-mode.el (smerge-mode):
2303 Doc fixes (minor mode argument).
2305 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2307 * ls-lisp.el (ls-lisp-sanitize): New function.
2308 (ls-lisp-insert-directory): Use it to fix or remove any elements
2309 in file-alist with missing attributes. (Bug#4673)
2311 2012-02-07 Alan Mackenzie <acm@muc.de>
2313 Fix spurious recognition of c-in-knr-argdecl.
2315 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2316 putative K&R region.
2318 2012-02-07 Alan Mackenzie <acm@muc.de>
2320 * progmodes/cc-engine.el (c-forward-objc-directive):
2321 Prevent looping in "#pragma mark @implementation".
2323 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2325 * notifications.el (notifications-on-closed-signal): Make `reason'
2326 optional. (Bug#10744)
2328 2012-02-07 Glenn Morris <rgm@gnu.org>
2330 * emacs-lisp/easy-mmode.el (define-minor-mode):
2331 Doc fixes for the macro and the mode it defines.
2333 * image.el (imagemagick-types-inhibit): Doc fix.
2335 * cus-start.el (imagemagick-render-type): Add it.
2337 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2339 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2340 Set the default at load time, too, so that `font-lock-fontify-buffer'
2341 can be called without setting up the entire mode first. This fixes
2342 a bug in `mm-inline-text' with C MIME parts.
2344 2012-02-06 Chong Yidong <cyd@gnu.org>
2346 * simple.el (list-processes--refresh): Delete exited processes
2349 * comint.el (comint-next-prompt): next-single-char-property-change
2350 and prev-single-char-property-change never return nil (Bug#8657).
2352 * custom.el (defcustom): Doc fix (Bug#9711).
2354 2012-02-05 Chong Yidong <cyd@gnu.org>
2356 * cus-edit.el (custom-variable-reset-backup): Quote the value
2357 before storing it in the customized-value property (Bug#6712).
2358 (custom-display): Add a customization type tag.
2359 (custom-buffer-create-internal): Improve tooltip message.
2361 * wid-edit.el (widget-field-value-get): New optional arg to
2362 suppress trailing whitespace truncation.
2363 (character): Use it (Bug#2689).
2365 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2367 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2368 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2370 2012-02-05 Chong Yidong <cyd@gnu.org>
2372 * cus-edit.el (custom-variable-value-create): For mismatched
2373 types, show the current value (Bug#7600).
2375 * custom.el (defcustom): Doc fix.
2377 2012-02-05 Glenn Morris <rgm@gnu.org>
2379 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2381 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2383 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2384 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2385 (pp-last-sexp): Use `looking-at-p'.
2387 2012-02-04 Glenn Morris <rgm@gnu.org>
2389 * files.el (revert-buffer):
2390 Doc fix (mention revert-buffer-in-progress-p).
2392 * emacs-lisp/ert-x.el (ert-simulate-command):
2393 Check deferred-action-list (which is obsolete) is bound.
2395 * subr.el (with-wrapper-hook): Doc fixes.
2397 * simple.el (filter-buffer-substring-functions)
2398 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2400 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2402 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2403 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2405 2012-02-04 Leo Liu <sdl.web@gmail.com>
2407 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2409 2012-02-04 Glenn Morris <rgm@gnu.org>
2411 * image.el (image-extension-data): Add obsolete alias.
2413 * isearch.el (isearch-update): Doc fix.
2415 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2417 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2419 2012-02-03 Glenn Morris <rgm@gnu.org>
2421 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2422 (image-animate-timeout): Doc fix.
2424 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2426 2012-02-02 Glenn Morris <rgm@gnu.org>
2428 * server.el (server-auth-dir): Doc fix.
2429 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2431 * subr.el (run-mode-hooks): Doc fix.
2433 2012-02-02 Juri Linkov <juri@jurta.org>
2435 * image-mode.el (image-toggle-display-image): Remove tautological
2436 `major-mode' from the `derived-mode-p' test.
2438 2012-02-02 Kenichi Handa <handa@m17n.org>
2440 * composite.el (compose-region): Cancel previous change.
2442 2012-02-02 Kenichi Handa <handa@m17n.org>
2444 * composite.el (compose-region, compose-string): Signal error for
2445 a null string component (Bug#6988).
2447 2012-02-01 Chong Yidong <cyd@gnu.org>
2449 * view.el (view-buffer-other-window, view-buffer-other-frame):
2450 Handle special modes like view-buffer (Bug#10650).
2451 (view-buffer): Simplify.
2453 * frame.el (set-frame-font): Tweak meaning of third argument.
2455 * dynamic-setting.el (font-setting-change-default-font):
2456 Use set-frame-font (Bug#9982).
2458 2012-02-01 Glenn Morris <rgm@gnu.org>
2460 * progmodes/compile.el (compilation-internal-error-properties):
2461 Respect compilation-first-column in the "*compilation*" buffer.
2463 * emacs-lisp/easy-mmode.el (define-minor-mode):
2464 Relax :variable's test for a named function.
2466 2012-01-31 Alan Mackenzie <acm@muc.de>
2468 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2471 2012-01-31 Chong Yidong <cyd@gnu.org>
2473 * frame.el (set-frame-font): New arg ALL-FRAMES.
2475 * menu-bar.el (menu-set-font): Use set-frame-font.
2477 * faces.el (face-spec-reset-face): Don't apply unspecified
2478 attribute values to the default face.
2480 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2482 * progmodes/cwarn.el (cwarn): Remove dead link.
2483 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2484 Remove * from defcustom docstrings.
2485 (turn-on-cwarn-mode): Make obsolete.
2486 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2487 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2489 2012-01-31 Glenn Morris <rgm@gnu.org>
2491 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2492 Fix :variable handling of mode a symbol not equal to modefun.
2493 Allow named functions to be used as the cdr of :variable.
2495 2012-01-30 Glenn Morris <rgm@gnu.org>
2497 * emacs-lisp/authors.el (authors-fixed-entries):
2498 Remove reference to deleted file rnewspost.el.
2500 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2502 * window.el (window-with-parameter): Remove unused variable `windows'.
2503 (window--side-check): Remove unused variable `code'.
2504 (window--resize-siblings): Remove unused variable `first'.
2505 (adjust-window-trailing-edge): Remove unused variable `failed'.
2506 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2507 Use `let', not `let*'.
2508 (balance-windows-2): Remove unused variable `found'.
2509 (window--state-put-2): Remove unused variable `splits'.
2510 (window-state-put): Remove unused variable `selected'.
2511 (same-window-p): Use `string-match-p'.
2512 (display-buffer-assq-regexp): Remove unused variable `value'.
2513 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2514 Mark argument ALIST as ignored.
2515 (pop-to-buffer): Remove unused variable `old-window'.
2517 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2519 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2520 and .lzma compressed files.
2522 2012-01-29 Chong Yidong <cyd@gnu.org>
2524 * frame.el (window-system-default-frame-alist): Doc fix.
2526 * dynamic-setting.el (font-setting-change-default-font): Don't
2527 change the default face if SET-FONT argument is non-nil (Bug#9982).
2529 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2531 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2533 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2535 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2536 breakpoints in files outside current directory (Bug#6098).
2538 2012-01-29 Chong Yidong <cyd@gnu.org>
2540 * progmodes/python.el: Require ansi-color at top-level.
2542 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2543 Define and use in Emacs Lisp mode (Bug#9360).
2544 (lisp-mode-abbrev-table): Add doc.
2545 (lisp-mode-variables): Don't set local-abbrev-table.
2546 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2548 2012-01-28 Roland Winkler <winkler@gnu.org>
2550 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2552 2012-01-28 Roland Winkler <winkler@gnu.org>
2554 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2555 (bibtex-set-dialect): Use it. Either set global values of
2556 dialect-dependent variables or bind these variables buffer-locally
2558 (bibtex-mode): Call bibtex-set-dialect via
2559 hack-local-variables-hook.
2560 (bibtex-dialect): Update docstring.
2561 Add safe-local-variable predicate.
2562 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2564 (bibtex-mode-map): Define menu for each dialect.
2565 (bibtex-entry): Fix docstring.
2567 2012-01-28 Chong Yidong <cyd@gnu.org>
2569 * eshell/esh-arg.el (eshell-quote-argument): New function.
2571 * eshell/esh-ext.el (eshell-invoke-batch-file):
2572 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2573 first arg to eshell-parse-command (Bug#10523).
2575 2012-01-28 Drew Adams <drew.adams@oracle.com>
2577 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2578 `default-directory' is non-nil.
2580 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2582 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2583 line that displays system-configuration-options. (Bug#9924)
2585 2012-01-28 Drew Adams <drew.adams@oracle.com>
2587 * descr-text.el (describe-char): Show information about POS, in
2588 addition to information about the character at POS. Improve and
2589 update the doc string. Change "code point" to "code point in
2590 charset", to avoid confusion with the character's Unicode code
2591 point shown above that. (Bug#10129)
2593 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2595 * descr-text.el (describe-char): Show the raw character, not only
2596 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2597 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2600 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2602 * emacs-lisp/package.el (package-install):
2603 Run package-refresh-contents if there is no archive yet (Bug#9798).
2605 2012-01-28 Chong Yidong <cyd@gnu.org>
2607 * emacs-lisp/package.el (package-maybe-load-descriptor):
2608 New function, split from package-maybe-load-descriptor.
2609 (package-maybe-load-descriptor): Use it.
2610 (package-download-transaction): Fully load required packages
2611 inside the loop, so that `require' calls work (Bug#10593).
2612 (package-install): No need to call package-initialize now.
2614 2012-01-28 Chong Yidong <cyd@gnu.org>
2616 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2618 * tooltip.el (tooltip-mode): Doc fix.
2619 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2621 * frame.el (set-cursor-color): Doc fix (Bug#352).
2623 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2624 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2626 * cus-edit.el (custom-buffer-create-internal): Fix search button
2628 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2630 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2632 * dired.el (dired-mark-files-regexp):
2633 Include any subdirectory components. (Bug#10445)
2635 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2637 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2638 Handle [host]:port syntax. (Bug#10533)
2640 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2642 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2644 2012-01-26 Glenn Morris <rgm@gnu.org>
2646 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2647 * term.el (term-raw-escape-map): Use Control-X-prefix.
2648 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2650 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2652 * window.el (window-state-get, window--state-get-1): Don't deal
2653 with fixed-sizeness of windows. Simplify code.
2655 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2657 * window.el (window--state-get-1, window--state-put-2):
2658 Don't save and restore the mark.
2660 2012-01-25 Chong Yidong <cyd@gnu.org>
2662 * custom.el (custom-variable-p): Doc fix.
2664 2012-01-25 Glenn Morris <rgm@gnu.org>
2666 * dired.el (dired-goto-file): Handle some of the more common
2667 characters that `ls -b' escapes. (Bug#10596)
2669 * progmodes/compile.el (compilation-next-error-function):
2670 Respect compilation-first-column in the "*compilation*" buffer.
2671 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2673 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2675 2012-01-24 Glenn Morris <rgm@gnu.org>
2677 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2679 2012-01-24 Julien Danjou <julien@danjou.info>
2681 * color.el (color-rgb-to-hsl): Fix value computing.
2682 (color-hue-to-rgb): New function.
2683 (color-hsl-to-rgb): New function.
2684 (color-clamp, color-saturate-hsl, color-saturate-name)
2685 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2686 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2688 2012-01-24 Glenn Morris <rgm@gnu.org>
2690 * vc/vc-rcs.el (vc-rcs-create-tag):
2691 * vc/vc-sccs.el (vc-sccs-create-tag):
2692 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2694 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2696 * eshell/esh-util.el (eshell-read-hosts-file):
2697 Skip comment lines. (Bug#10549)
2699 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2701 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2703 * subr.el (display-delayed-warnings): Doc fix.
2704 (collapse-delayed-warnings): New function to collapse identical
2706 (delayed-warnings-hook): Add it.
2708 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2710 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2712 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2713 properties, when "login-as" is set.
2715 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2716 (tramp-default-user-alist): Don't add "pscp".
2717 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2718 property "login-as", if set. (Bug#10530)
2720 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2722 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2723 "plink1" and "psftp". (Bug#10530)
2725 2012-01-21 Kenichi Handa <handa@m17n.org>
2727 * international/mule-cmds.el (prefer-coding-system): Show a
2728 warning message if the default value of file-name-coding-system
2731 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2733 * windmove.el (windmove-reference-loc):
2734 Fix windmove-reference-loc miscalculation.
2736 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2738 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2741 2012-01-21 Glenn Morris <rgm@gnu.org>
2743 * international/mule.el (auto-coding-alist): Add .tbz.
2745 * files.el (local-enable-local-variables): Doc fix.
2746 (inhibit-local-variables-regexps): Rename from
2747 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2748 Doc fix. Add some extensions from auto-coding-alist.
2749 (inhibit-local-variables-suffixes):
2750 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2751 (inhibit-local-variables-p):
2752 New function, extracted from set-auto-mode-1.
2753 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2754 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2755 (hack-local-variables): Doc fix. Make the mode-only case
2756 respect enable-local-variables and friends.
2757 Respect inhibit-local-variables-regexps for file-locals, but
2758 not for directory-locals.
2759 (set-visited-file-name):
2760 Take account of inhibit-local-variables-regexps.
2761 Whether it applies may change as the file name is changed.
2762 * jka-cmpr-hook.el (jka-compr-install):
2763 * jka-compr.el (jka-compr-uninstall):
2764 Update for inhibit-first-line-modes-suffixes name change.
2766 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2768 * help-macro.el (make-help-screen): Temporarily restore original
2769 binding for minor-mode-map-alist (Bug#10454).
2771 2012-01-19 Julien Danjou <julien@danjou.info>
2773 * color.el (color-name-to-rgb): Use the white color to find the max
2774 color component value and return correctly computed values.
2775 (color-name-to-rgb): Add missing float conversion for max value.
2777 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2779 * window.el (window--state-get-1, window-state-get): Do not use
2780 special state value for window-persistent-parameters.
2781 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2782 (window--state-put-2): Reset all window parameters to nil before
2783 assigning values of persistent parameters.
2785 2012-01-18 Alan Mackenzie <acm@muc.de>
2787 Eliminate sluggishness and hangs in fontification of "semicolon
2790 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2791 Change value 10000 -> 3000.
2792 (c-state-safe-place): Reformulate so it doesn't stack up an
2793 infinite number of wrong entries in c-state-nonlit-pos-cache.
2794 (c-determine-limit-get-base, c-determine-limit): New functions to
2795 determine backward search limits disregarding literals.
2796 (c-find-decl-spots): Amend commenting.
2797 (c-cheap-inside-bracelist-p): New function which detects "={".
2799 * progmodes/cc-fonts.el
2800 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2802 (c-font-lock-declarations): Fix an occurrence of point being
2803 undefined. Check additionally for point being in a bracelist or
2804 near a macro invocation without a semicolon so as to avoid a
2805 fruitless time consuming search for a declarator. Give a more
2806 precise search limit for declarators using the new
2809 2012-01-18 Glenn Morris <rgm@gnu.org>
2811 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2812 (set-auto-mode): Doc fixes.
2814 2012-01-17 Glenn Morris <rgm@gnu.org>
2816 * isearch.el (search-nonincremental-instead): Fix doc typo.
2818 * dired.el (dired-insert-directory): Handle newlines in directory name.
2819 (dired-build-subdir-alist): Unescape newlines in directory name.
2821 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2823 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2824 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2825 (tramp-action-terminal): Use it. (Bug#10530)
2827 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2829 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2831 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2833 * window.el (window-state-ignored-parameters): Remove variable.
2834 (window--state-get-1): Rename argument MARKERS to IGNORE.
2835 Handle persistent window parameters. Make copy of clone-of
2836 parameter only if requested. (Bug#10348)
2837 (window--state-put-2): Install a window parameter only if it has
2838 a non-nil value or an existing parameter shall be overwritten.
2840 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2842 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2844 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2846 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2847 don't pass the (nil) value of `upnode' to string-match.
2849 2012-01-14 Chong Yidong <cyd@gnu.org>
2851 * startup.el (command-line): Fix X resource class for cursorColor.
2852 Fix values recognized by the cursorBlink resource.
2854 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2856 * epg.el (epg--make-temp-file): Avoid permission race condition
2857 when running on old Emacs versions (bug#10403).
2859 2012-01-14 Glenn Morris <rgm@gnu.org>
2861 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2863 2012-01-13 Alan Mackenzie <acm@muc.de>
2865 Fix filling for when filladapt mode is enabled.
2867 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2868 c-mask-paragraph, pass in `fill-paragraph' rather than
2869 `fill-region-as-paragraph'. (This is a reversion of a previous
2871 * progmodes/cc-mode.el (c-basic-common-init):
2872 Make fill-paragraph-handle-comment buffer local and set it to nil.
2874 2012-01-13 Glenn Morris <rgm@gnu.org>
2876 * dired.el (dired-switches-escape-p): New function.
2877 (dired-insert-directory): Use dired-switches-escape-p.
2878 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2880 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2882 2012-01-12 Glenn Morris <rgm@gnu.org>
2884 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2885 changes in adaptive-fill-regexp. (Bug#10276)
2887 2012-01-11 Alan Mackenzie <acm@muc.de>
2889 Fix Emacs bug #10463 - put `widen's around the critical spots.
2891 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2892 widen around each invocation of c-state-pp-to-literal. Remove an
2893 unused let variable.
2895 2012-01-11 Glenn Morris <rgm@gnu.org>
2897 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2900 2012-01-10 Chong Yidong <cyd@gnu.org>
2902 * net/network-stream.el (network-stream-open-starttls):
2903 Avoid emitting a confusing error message when the server gives a bad
2904 response to the capability command.
2906 2012-01-10 Glenn Morris <rgm@gnu.org>
2908 * mail/unrmail.el (unrmail): Tweak previous change.
2910 2012-01-09 Chong Yidong <cyd@gnu.org>
2912 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2914 2012-01-08 Alan Mackenzie <acm@muc.de>
2916 Optimise font locking in long enum definitions.
2918 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2919 arm to a cond form to handle enums.
2920 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2921 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2923 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2925 * files.el (move-file-to-trash): Preserve default file modes on error.
2928 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2930 * faces.el (set-face-attribute): Clarify the meaning of the nil
2933 * subr.el (with-selected-frame): Mention that the selected frame
2934 is restored (bug#9980).
2936 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2939 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2940 (password-read): Don't autoload unused function.
2942 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2944 * progmodes/which-func.el (which-func-mode): Turn into a
2945 non-interactive function and mark as obsolete (bug#10428).
2947 2012-01-06 Chong Yidong <cyd@gnu.org>
2949 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2950 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2951 functions, along with 1 and -1.
2953 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2955 * time.el (display-time-load-average)
2956 (display-time-default-load-average): Doc fixes. See the thread
2958 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2961 2012-01-06 Glenn Morris <rgm@gnu.org>
2963 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2964 has no messages. (Bug#10377)
2966 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2967 than Info-edit. (Bug#10385)
2969 * time.el (display-time-load-average, display-time-next-load-average):
2972 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2973 local setting of buffer-read-only to the input buffer. (Bug#10419)
2975 * calendar/calendar.el (calendar-mode):
2976 Locally set scroll-margin to 0. (Bug#10379)
2978 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2980 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2982 2012-01-05 Glenn Morris <rgm@gnu.org>
2984 * eshell/em-unix.el (diff-no-select): Autoload it.
2985 (eshell/diff): Use diff-no-select. (Bug#10420)
2987 2012-01-05 Chong Yidong <cyd@gnu.org>
2989 * shell.el (shell-dynamic-complete-functions): Revert last change.
2990 (shell-command-completion-function): New function.
2991 (shell-completion-vars): Use it to implement
2992 shell-completion-execonly (Bug#10417).
2994 * custom.el (enable-theme): Don't set custom-safe-themes.
2996 * cus-theme.el (custom-theme-merge-theme):
2997 Ignore custom-enabled-themes and custom-safe-themes.
2999 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3001 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3002 first prompt in `sql-interacive-mode'.
3003 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3005 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3006 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3007 context of original buffer. Invoke `sql-login-hook'.
3009 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3011 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3012 letters in cite-prefix.
3014 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3016 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3018 2012-01-03 Chong Yidong <cyd@gnu.org>
3020 * shell.el (shell-dynamic-complete-functions):
3021 Put pcomplete-completions-at-point, so as to try
3022 comint-filename-completion first (Bug#10417).
3024 2012-01-02 Richard Stallman <rms@gnu.org>
3026 * battery.el (battery-status-function):
3027 Detect when to use battery-yeeloong-sysfs.
3028 (battery-echo-area-format): Add string for Yeeloong.
3029 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3030 (battery-yeeloong-sysfs): New function.
3032 2012-01-02 Chong Yidong <cyd@gnu.org>
3034 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3035 (dirtrack): Merge code for handling relative filenames in prompt
3036 from shell-dir-cookie-watcher.
3037 (dirtrack-debug-message): New arg to avoid excess format calls.
3039 * shell.el (shell-dir-cookie-re): Variable deleted.
3040 (shell-dir-cookie-watcher): Function deleted.
3041 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3044 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3046 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3047 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3050 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3052 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3054 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3056 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3057 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3059 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3061 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3062 also for alternative shells.
3063 (tramp-open-connection-setup-interactive-shell): Check, whether
3064 the shell is a busybox.
3065 (tramp-send-command): Don't suppress multiple prompts for
3066 busyboxes, it hurts.
3068 2011-12-28 Chong Yidong <cyd@gnu.org>
3070 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3071 (gdb-get-source-file): Move mode line update to
3072 gdb-get-source-file (Bug#10087).
3074 2011-12-25 Chong Yidong <cyd@gnu.org>
3076 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3077 gud-gdb-marker-filter without taking it as an argument.
3078 (gud-gdb-run-command-fetch-lines): Caller changed.
3079 (gud-gdb-completion-function): New variable.
3080 (gud-gdb-completion-at-point): Use it.
3081 (gud-gdb-completions-1): Split from gud-gdb-completions.
3083 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3084 function as separate arguments.
3085 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3086 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3087 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3088 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3089 (gdb-stopped, def-gdb-auto-update-trigger)
3090 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3091 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3093 (gud-gdbmi-completions): New function.
3094 (gdb): Use it for generating the completion table.
3096 2011-12-24 Alan Mackenzie <acm@muc.de>
3098 Introduce a mechanism to widen the region used in context font
3099 locking. Use this to protect declarations from losing their contexts.
3101 * progmodes/cc-langs.el (c-before-font-lock-functions):
3102 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3103 (c-before-context-fontification-functions): New defvar, a list of
3104 functions to be run just before context (etc.) font locking.
3106 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3107 New, functionality extracted from
3108 c-neutralize-syntax-in-and-mark-CPP.
3109 (c-in-after-change-fontification): New variable.
3110 (c-after-change): Set c-in-after-change-fontification.
3111 (c-set-fl-decl-start): Rejig its interface, so it can be called
3112 from both after-change and context fontifying.
3113 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3115 (c-standard-font-lock-fontify-region-function): New variable.
3116 (c-font-lock-fontify-region): New function.
3118 2011-12-24 Juri Linkov <juri@jurta.org>
3120 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3123 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3125 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3126 existence of source file. (Bug#10325)
3128 2011-12-23 Alan Mackenzie <acm@muc.de>
3130 Fix unstable fontification inside templates.
3132 * progmodes/cc-langs.el (c-before-font-lock-functions):
3133 Newly created from the singular version. The (c c++ objc) entry now
3134 additionally has c-set-fl-decl-start. The other languages (apart
3135 from AWK) have that as a single entry.
3137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3138 The functionality for "local" declarations has been extracted to
3139 c-set-fl-decl-start.
3141 * progmodes/cc-mode.el (c-common-init, c-after-change):
3142 Changes due to pluralisation of c-before-font-lock-functions.
3143 (c-set-fl-decl-start): New function, extracted from
3144 c-font-lock-enclosing-decls and enhanced.
3146 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3148 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3150 2011-12-22 Juri Linkov <juri@jurta.org>
3152 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3154 2011-12-22 Chong Yidong <cyd@gnu.org>
3156 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3158 2011-12-21 Drew Adams <drew.adams@oracle.com>
3160 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3162 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3164 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3166 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3168 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3169 highlighting and support. Fix up comments for capitalization.
3170 (cfengine-mode-debug): New var.
3171 (cfengine3-mode): Change the modeline indicator to "CFE3".
3172 (cfengine3-font-lock-keywords): Improve defun highlighting.
3173 (cfengine2-actions): Rename from `cfengine-actions'.
3174 (cfengine2-font-lock-keywords): Rename from
3175 `cfengine-font-lock-keywords'.
3176 (cfengine2-imenu-expression): Rename from
3177 `cfengine-imenu-expression'.
3178 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3179 (cfengine2-beginning-of-defun): Rename from
3180 `cfengine-beginning-of-defun'.
3181 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3182 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3183 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3184 modeline indicator to "CFE2".
3185 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3186 (cfengine-mode-abbrevs): Mark obsolete.
3188 2011-12-21 Chong Yidong <cyd@gnu.org>
3190 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3193 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3195 * window.el (window-normalize-buffer-to-display): Remove.
3196 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3198 2011-12-19 Chong Yidong <cyd@gnu.org>
3200 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3201 Don't signal an error in a predicate function; return non-nil.
3202 (vc-dir-mark-file): Move the error here.
3203 (vc-dir-mark-unmark): If acting on the region, keep going if one
3204 of the entries cannot be marked/unmarked.
3205 (vc-dir-mark-all-files): If current entry is a directory, mark
3206 only child files, as documented.
3208 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3210 * ses.el: Ooops... undo changes of revision 106664, as trunk
3211 branch is feature frozen, and revision 106664 was a feature
3214 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3216 * term/ns-win.el (ns-get-selection-internal)
3217 (ns-store-selection-internal): Declare.
3218 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3219 Declare as obsolete.
3220 (ns-get-pasteboard, ns-paste-secondary):
3221 Use ns-get-selection-internal.
3222 (ns-set-pasteboard, ns-copy-including-secondary):
3223 Use ns-store-selection-internal.
3225 2011-12-17 Chong Yidong <cyd@gnu.org>
3227 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3228 (vc-deduce-fileset): Doc fix.
3230 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3232 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3234 2011-12-13 Sam Steingold <sds@gnu.org>
3236 * man.el (Man-getpage-in-background): When running under a
3237 window-system, ignore $MANWIDTH and $COLUMNS.
3239 2011-12-15 Kenichi Handa <handa@m17n.org>
3241 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3242 (setup-ethiopic-environment-internal): Comment out key-binding for
3243 ethio-toggle-punctuation.
3245 2011-12-13 Alan Mackenzie <acm@muc.de>
3247 Add the switch statement to AWK Mode.
3249 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3250 "default" to the keywords regexp.
3252 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3253 expression as the rest.
3254 (c-nonlabel-token-key): Allow string literals for AWK.
3255 Refactor for the other modes.
3257 Large brace-block initialisation makes CC Mode slow: Fix.
3258 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3259 routines. Limit backward searching in c-font-lock-enclosing.decl.
3261 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3262 pp-state and literal type in addition to the limits.
3263 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3264 (c-state-literal-at): Use the above new defun.
3265 (c-slow-in-literal, c-fast-in-literal): Remove.
3266 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3269 being in a literal. Add a limit for backward searching.
3271 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3274 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3278 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3280 * window.el (delete-other-windows): Use correct frame in call to
3281 window-with-parameter.
3283 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3285 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3286 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3287 (makefile-gmake-statements, makefile-makepp-statements):
3288 Use it and add new makepp keywords.
3289 (makefile-makepp-font-lock-keywords): Add new patterns.
3290 (makefile-match-function-end): Match new [...] and [[...]].
3292 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3294 * ses.el (ses-call-printer-return, ses-cell-property-get)
3295 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3296 (ses-create-cell-variable, ses-reset-header-string)
3297 (ses-cell-set-formula, ses-repair-cell-reference-all)
3298 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3299 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3300 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3301 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3302 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3303 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3304 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3305 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3306 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3307 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3308 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3309 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3311 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3313 * ses.el: The overall change is to add cell renaming, that is
3314 setting fancy names for cell symbols other than name matching
3315 "\\`[A-Z]+[0-9]+\\'" regexp .
3316 (ses-create-cell-variable): New defun.
3317 (ses-relocate-formula): Relocate formulas only for cells the
3318 symbols of which are not renamed, i.e. symbols whose names do not
3319 match regexp "\\`[A-Z]+[0-9]+\\'".
3320 (ses-relocate-all): Relocate values only for cells the symbols of
3321 which are not renamed.
3322 (ses-load): Create cells variables as the (ses-cell ...) are read,
3323 in order to check row col consistency with cell symbol name only
3324 for cells that are not renamed.
3325 (ses-replace-name-in-formula): New defun.
3326 (ses-rename-cell): New defun.
3328 2011-12-11 Chong Yidong <cyd@gnu.org>
3330 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3331 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3333 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3335 * window.el (other-window): Fix docstring.
3337 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3339 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3340 `from' or `to' address before taking its substring.
3341 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3342 encoded name is chopped in the middle of the encoded string, and
3343 thus displayed encoded.
3345 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3347 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3349 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3351 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3352 to use texinfo-update-node and commands that call it if the
3353 Texinfo file uses @node lines without next/prev/up pointers.
3354 Correct outdated description about texinfo-master-menu.
3355 (texinfo-all-menus-update, texinfo-master-menu)
3356 (texinfo-update-node, texinfo-every-node-update)
3357 (texinfo-multiple-files-update): Doc fix. Warn against updating
3358 all the @node lines.
3359 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3360 argument is numeric. Explain better in the doc string what the
3361 function really does.
3362 (texinfo-insert-master-menu-list): Improve the error message
3363 displayed if there's no menu in the Top node.
3364 (Bug#2975) See also this thread:
3365 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3367 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3369 * speedbar.el (speedbar-supported-extension-expressions):
3370 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3372 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3374 * printing.el (pr-mode-alist):
3375 * simple.el (filter-buffer-substring-functions)
3376 (completion-list-insert-choice-function):
3377 * window.el (window-with-parameter, window-atom-root)
3378 (window-sides-slots, window-size-fixed, window-min-delta)
3379 (window-max-delta, window--resize-mini-window)
3380 (window--resize-child-windows-normal, window-tree)
3381 (delete-other-windows, quit-window, split-window)
3382 (display-buffer-record-window, special-display-buffer-names)
3383 (special-display-regexps, special-display-popup-frame)
3384 (same-window-p, split-window-sensibly)
3385 (display-buffer-overriding-action, display-buffer-alist)
3386 (display-buffer-base-action, display-buffer, switch-to-buffer)
3387 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3388 (fit-window-to-buffer, recenter-positions)
3389 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3390 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3391 and remove unneeded backslashes in docstrings.
3393 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3397 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3398 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3400 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3401 when reading the makefile (bug#10116).
3403 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3408 2011-12-06 Glenn Morris <rgm@gnu.org>
3410 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3412 2011-12-06 Chong Yidong <cyd@gnu.org>
3414 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3416 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3418 * textmodes/table.el (table-shorten-cell): Fix typo.
3420 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3422 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3424 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3426 * descr-text.el (describe-char): Fix display of strong
3427 right-to-left characters and directional embeddings and overrides.
3429 * simple.el (what-cursor-position): Fix display of codepoints of
3430 strong right-to-left characters.
3432 2011-12-05 Chong Yidong <cyd@gnu.org>
3434 * faces.el (read-color): Doc fix.
3436 2011-12-05 Glenn Morris <rgm@gnu.org>
3438 * align.el (align--set-marker): Add doc-string.
3439 Don't try to move something that is not a marker. (Bug#10216)
3441 2011-12-04 Glenn Morris <rgm@gnu.org>
3443 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3444 overly zealous deletion of trailing whitespace.
3446 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3448 * server.el (server-delete-client): On Windows, do not try to delete
3450 (server-process-filter): On Windows, treat requests for a tty frame as
3451 if they were for a GUI frame if the running server is in GUI mode.
3453 2011-12-03 Glenn Morris <rgm@gnu.org>
3455 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3457 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * electric.el: Streamline electric-indent's hook.
3460 (electric-indent-chars): Revert to simple list.
3461 (electric-indent-functions): New var.
3462 (electric-indent-post-self-insert-function): Use it.
3464 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3465 there's no inferior buffer (bug#10196).
3466 (prolog-consult-compile): Don't use toggle-read-only.
3468 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3470 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3471 interrupt. (Bug#10187)
3473 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3478 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3481 2011-12-02 Juri Linkov <juri@jurta.org>
3483 * info.el (Info-search): Display "end of manual" when Isearch
3484 reaches the end of single-file Info manual. (Bug#9918)
3486 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3488 * isearch.el (isearch-message-prefix): Run the input method part
3489 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3491 2011-12-02 Juri Linkov <juri@jurta.org>
3493 * isearch.el (isearch-occur): Use `word-search-regexp' for
3495 (isearch-search-and-update): Add condition for `isearch-word' and
3496 call `word-search-regexp'. (Bug#10145)
3498 2011-12-01 Glenn Morris <rgm@gnu.org>
3500 * eshell/em-hist.el (eshell-hist-initialize):
3501 Handle eshell-history-size nil and HISTSIZE set or unset.
3502 (eshell-history-file-name, eshell-history-size): Fix custom type.
3504 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3508 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3510 * progmodes/verilog-mode.el (verilog-pretty-expr):
3511 Rework verilog-pretty-expr to handle new assignment operators in system
3512 verilog, such as += *= and the like.
3513 (verilog-assignment-operator-re): Regular expression to find the
3514 assigment operator in a verilog assignment.
3515 (verilog-assignment-operation-re): Regular expression to find an
3516 assignment statement for pretty-expr.
3517 (verilog-in-attribute-p): Query returns true if point is in an
3518 attribute context; used to skip these for expression line up from
3520 (verilog-in-parameter-p): Query returns true if point is in an
3521 parameter definition context; used to skip these for expression
3522 line up from pretty-expr.
3523 (verilog-in-parenthesis-p): Query returns true if point is in a
3524 parenthetical expression, specifically ( ) but not [ ] or { };
3525 used by pretty-expr.
3526 (verilog-just-one-space): If there is no space, don't add one.
3527 (verilog-get-lineup-indent-2): Specifically skip just attribute
3528 contexts for expression lineup, rather than skipping all
3529 parenthetical expressions.
3530 (verilog-calculate-indent): Fix comment, and fix indent.
3531 (verilog-do-indent): Indent declarations in lists (suggested by
3533 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3535 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3538 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3540 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3541 parameters with embedded comments. Reported by Ray Stevens.
3542 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3543 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3544 Reported by Tim Holt.
3545 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3546 instantiated by upper module causing wrong expansion until AUTOed a
3547 second time. Reported by K C Buckenmaier.
3548 (verilog-diff-auto): Fix showing .* as a difference when
3549 `verilog-auto-star-save' off. Reported by Dan Dever.
3550 (verilog-auto-reset, verilog-read-always-signals)
3551 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3552 temporary signals in reset list if
3553 verilog-auto-reset-blocking-in-non is nil, and match assignment
3554 style to each signal's assignment type, bug381.
3555 Reported by Thomas Esposito.
3556 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3557 (verilog-uvm-statement-re): Support UVM indentation and
3558 highlighting, with old OVM keywords only.
3559 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3560 Support AUTOTIEOFF creating non-wire data types.
3561 Suggested by Jonathan Greenlaw.
3562 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3563 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3564 (verilog-inject-sense, verilog-read-inst-pins)
3565 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3566 Fix mismatching parenthesis inside commented out code when deleting
3567 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3568 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3569 non-numeric vector width. Reported by Alex Reed.
3570 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3571 detecting signals with parameter widths. Reported by Alex Reed.
3572 (verilog-auto-delete-trailing-whitespace):
3573 With `verilog-auto-delete-trailing-whitespace' remove trailing
3574 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3575 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3576 Fix verilog-scan-cache corruption when running user AUTO expansion
3577 hooks that call indentation routines.
3578 (verilog-simplify-range-expression): Fix typo ignoring lower case
3580 (verilog-delete-auto): Fix delete-autos to also remove user created
3581 automatics, as long as they start with AUTO.
3582 (verilog-batch-diff-auto, verilog-diff-auto)
3583 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3584 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3585 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3586 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3587 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3588 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3589 is disabled and its cache will get corrupt, causing AUTOS not to
3590 expand. Instead use only -quick functions.
3591 (verilog-scan-region): Fix scanning over escaped quotes.
3592 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3593 (verilog-re-search-backward-quick)
3594 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3595 related functions now ignore strings, to fix misparsing of strings
3596 with magic comments embedded in them.
3597 (verilog-read-auto-template):
3598 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3599 Reported by Brad Dobbie.
3600 (verilog-read-auto-template):
3601 Fix 'verilog-auto-inst-template-numbers' with comments.
3602 Reported by Brad Dobbie.
3603 (verilog-auto-inst, verilog-auto-inst-param)
3604 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3605 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3606 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3607 debugging templates without merge conflicts, bug357.
3608 Reported by Brad Dobbie.
3609 (verilog-read-auto-template):
3610 Fix verilog-auto-inst-template-numbers with multiple templates.
3611 Reported by Brad Dobbie.
3612 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3613 abbrevs so user won't be asked to save.
3614 (verilog-read-auto-lisp-present): Fix to start at beginning of
3615 buffer in case called outside of verilog-auto.
3616 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3617 to "X-2". Reported by Matthew Myers.
3618 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3619 all inputs from module templates. Reported by Leith Johnson.
3620 (verilog-module-inside-filename-p): Fix locating programs as with
3622 (verilog-auto-inst-port): Fix vl-width expressions when using
3623 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3624 (verilog-decls-get-regs, verilog-decls-get-signals,
3625 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3626 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3627 verilog-read-decls): Combine reg and wire structures into one var
3628 structure to represent SystemVerilog concepts.
3629 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3630 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3631 (verilog-auto-wire-type, verilog-insert-definition):
3632 Add verilog-auto-wire-type and AUTOLOGIC to support using
3633 SystemVerilog "logic" keyword instead of "wire"/"reg".
3634 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3635 to declares outputs that also have assignments (presumably in an
3636 ifdef or generate if so there's not a driver conflict).
3637 Reported by Matthew Myers.
3638 (verilog-auto-declare-nettype, verilog-insert-definition):
3639 Add verilog-auto-declare-nettype to fix declarations using
3640 `default_nettype none. Reported by Julian Gorfajn.
3641 (verilog-read-always-signals-recurse, verilog-read-decls)
3642 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3643 malformed end statement, bug325. Reported by Joshua Wise and
3645 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3646 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3647 when expanding .* in interfaces, bug320.
3648 Reported by Pierre-David Pfister.
3649 (verilog-read-module-name): Fix import statements between module
3650 name and open parenthesis, bug317.
3651 Reported by Pierre-David Pfister.
3652 (verilog-simplify-range-expression): Fix simplification of
3653 multiplications inside AUTOWIRE connections, bug303.
3654 (verilog-auto-inst-port): Support parameter expansion in
3655 multidimensional arrays.
3656 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3657 after "assert property". Reported by Julian Gorfajn.
3658 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3659 with multiplication, bug303.
3660 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3661 Reported by Jan Frode Lonnum.
3663 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3665 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3666 (hfy-shell-file-name, hfy-shell):
3667 * international/fontset.el (x-decompose-font-name): Fix typos.
3669 2011-11-29 Ken Brown <kbrown@cornell.edu>
3671 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3672 (gdb-version): Remove defvar.
3673 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3674 (gdb-gud-context-command, gdb-non-stop-handler)
3675 (gdb-current-context-command, gdb-stopped): Use it.
3676 (gdb-init-1): Enable pretty printing here.
3677 (gdb-non-stop-handler): Don't enable pretty-printing here.
3678 Check to see if the target supports non-stop mode; if not, turn off
3679 non-stop mode. Use the following.
3680 (gdb-check-target-async): New defun.
3681 (gud-watch, gdb-stopped): Fix whitespace.
3682 (gdb-get-source-file): Don't try to display the source file if
3683 `gdb-main-file' is nil.
3685 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * align.el: Try to generate fewer markers (bug#10047).
3688 (align--set-marker): New macro.
3689 (align-region): Use it.
3691 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3695 2011-11-29 Chong Yidong <cyd@gnu.org>
3697 * indent.el (indent-for-tab-command, indent-according-to-mode):
3699 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3701 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3703 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3704 aware of remote file names. (Bug#10124)
3706 2011-11-29 Chong Yidong <cyd@gnu.org>
3708 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3710 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * files.el (find-file): Don't use force-same-window (bug#10144).
3713 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3714 use pop-to-buffer if the selected window can't be used.
3715 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3717 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3719 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3722 2011-11-28 Chong Yidong <cyd@gnu.org>
3724 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3726 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3728 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3729 gdb-get-source-file-list on gdb-create-source-file-list.
3731 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3733 * whitespace.el (whitespace-newline): Use a different foreground
3734 color for 16-color light-background displays.
3736 2011-11-24 Chong Yidong <cyd@gnu.org>
3738 * window.el (display-buffer--special-action): Doc fix.
3740 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3742 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3743 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3744 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3745 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3746 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3747 (avl-tree-stack-first):
3748 * emacs-lisp/cconv.el (cconv--analyse-use):
3749 * net/gnutls.el (gnutls-negotiate): Fix typos.
3751 2011-11-24 Glenn Morris <rgm@gnu.org>
3753 * lpr.el (lpr-windows-system, lpr-lp-system):
3754 * mail/binhex.el (binhex-begin-line):
3755 * progmodes/grep.el (grep-history, grep-find-history):
3756 * textmodes/flyspell.el:
3757 * vc/pcvs-defs.el (cvs-global-menu):
3758 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3759 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3760 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3762 * net/tls.el: Fix case of "GnuTLS".
3764 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3766 * version.el (emacs-build-system): Give it a doc-string.
3768 2011-11-24 Juri Linkov <juri@jurta.org>
3770 * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
3772 2011-11-24 Glenn Morris <rgm@gnu.org>
3774 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3775 if called on a non-mime message just toggle the headers. (Bug#8006)
3777 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3779 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3780 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3781 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3782 (allout-rebullet-heading, allout-open-sibtopic)
3783 (allout-toggle-current-subtree-encryption)
3784 (allout-toggle-subtree-encryption, allout-encrypt-string)
3785 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3786 (allout-distinctive-bullets-string, allout-auto-activation):
3787 * window.el (window-normalize-buffer-to-display):
3788 * progmodes/verilog-mode.el (verilog-batch-indent):
3789 * textmodes/bibtex.el (bibtex-field-braces-opt)
3790 (bibtex-field-strings-opt):
3791 * vc/cvs-status.el (cvs-tree-merge):
3794 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3796 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3797 `non-essential' to t, in order to avoid remote connections.
3799 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3801 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3802 On MS-DOS and MS-Windows, compare with loaddefs.el
3805 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3807 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3809 2011-11-23 Glenn Morris <rgm@gnu.org>
3811 * paths.el (rmail-file-name): Reformat the doc-string so that it
3814 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3815 (rmail-auto-file): Ignore case in the "special" field names,
3816 as mail-fetch-field does for all others.
3818 * mail/rmail.el (rmail-forward):
3819 * mail/rmailkwd.el (rmail-set-label):
3820 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3821 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3823 * mail/rmail.el (rmail-current-message): Doc fix.
3825 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3827 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3831 2011-11-22 Glenn Morris <rgm@gnu.org>
3833 * mail/rmailmm.el (test-rmail-mime-handler)
3834 (test-rmail-mime-bulk-handler)
3835 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3837 2011-11-21 Juri Linkov <juri@jurta.org>
3839 * calc/calc.el (calc-read-key-sequence):
3840 Let-bind `input-method-function' to nil. (Bug#10018)
3842 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3844 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3845 Tell the caller that the next line needs recomputation, even
3846 though it doesn't start a sexp (bug#10094).
3848 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3852 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3855 Use force-same-window.
3857 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3859 * descr-text.el (describe-char-unicode-data):
3860 * json.el (json-string-escape):
3861 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3862 (Footnote-unicode, Footnote-style-p):
3863 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3865 2011-11-20 Chong Yidong <cyd@gnu.org>
3867 * window.el (replace-buffer-in-windows): Restore interactive spec.
3869 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3873 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3874 (byte-compile-global-not-obsolete-vars): New var.
3875 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3877 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3879 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3881 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3882 * progmodes/pascal.el (electric-pascal-equal):
3883 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3884 * xml.el (xml-substitute-special): Fix typos.
3886 2011-11-20 Glenn Morris <rgm@gnu.org>
3888 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3889 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3891 (rmail-decode-mime-charset): Mark as obsolete.
3893 * mail/rmailsum.el (rmail-message-regexp-p-1):
3894 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3895 Before using mime functions, check they are set. (Bug#10077)
3897 2011-11-19 Juri Linkov <juri@jurta.org>
3899 * info.el (Info-finder-find-node): Use `package--builtins' instead
3900 of `package-alist'. Use node names formed by the pattern "Keyword "
3901 and the keyword name.
3903 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3905 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3907 2011-11-19 Juri Linkov <juri@jurta.org>
3909 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3910 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3911 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3912 `old-history', `old-history-forward'. Add let-binding
3913 `window-selected'. Remove calls to `kill-buffer',
3914 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3915 before calling `Info-find-node', so `Info-find-node-2' will reread
3916 the Info file. Restore window positions only when `window-selected'
3919 2011-11-19 Juri Linkov <juri@jurta.org>
3921 * isearch.el (isearch-lazy-highlight-new-loop):
3922 Remove condition `(not isearch-error)'. (Bug#9918)
3924 * misearch.el (multi-isearch-search-fun): Add condition
3925 `(not bound)' to ignore lazy-highlighting search.
3926 Add the search-failed message "end of multi" when the end of
3927 multi-sequence is reached. Uncapitalize the search-failed
3928 message "Repeat for next buffer".
3930 * info.el (Info-search): Add the search-failed message
3931 "end of the manual" when the end of the manual is reached
3934 2011-11-19 Juri Linkov <juri@jurta.org>
3936 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3937 Use non-destructive `remove' instead of `delete' because
3938 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3939 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3941 2011-11-19 Juri Linkov <juri@jurta.org>
3943 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3944 to nil instead of binding `search-ring' and `regexp-search-ring'.
3947 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3949 * simple.el (line-move): Force movement by logical lines for any
3950 hscrolled window, not only when auto-hscroll-mode is on.
3951 (line-move-visual): Update doc string to that effect. (Bug#10076)
3953 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3955 * language/european.el (macintosh): Define as alias for mac-roman.
3957 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3959 * mail/rmailmm.el (rmail-mime-display-header)
3960 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3961 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3962 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3963 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3964 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3966 (rmail-mime-entity-segment): To get past the tagline, move forward
3967 2 more lines, to account for the 2 empty lines that precede and
3968 follow the line with the buttons.
3969 (rmail-mime-update-tagline): Move one more line, to get past the
3970 empty line that follows the buttons in the tagline. (Bug#9520)
3972 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3974 * window.el (window-max-delta-1, window-min-delta-1)
3975 (window-min-size-1, window-state-get-1, window-state-put-1)
3976 (window-state-put-2): Use "window--" prefix.
3978 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3981 (smie-warning-count): New var.
3982 (smie-set-prec2tab): Use it.
3983 (smie-bnf->prec2): Improve warnings. Add docstring.
3984 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3985 (smie-bnf--set-class): New function.
3986 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3989 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3990 (compilation-error-properties, compilation-move-to-column):
3991 Handle compilation-first-column while in the target buffer.
3993 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3994 Don't hardcode point-min==1.
3996 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3997 (eshell-rewrite-for-command): Remove workaround.
3998 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3999 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4000 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4002 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4004 2011-11-17 Glenn Morris <rgm@gnu.org>
4006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4007 Ignore buffer-local generated-autoload-file if it is the same
4008 as the global value. (Bug#10049)
4010 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4012 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4013 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4014 (reftex-toc-previous-heading, reftex-toc-max-level)
4015 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4016 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4017 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4018 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4019 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4020 (reftex-toc-rename-label, reftex-toc-visit-location)
4021 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4022 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4023 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4024 leaving "*toc*" only for references to the buffer.
4026 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4028 * window.el (window-resize, delete-window, split-window):
4029 Replace window-splits by window-combination-resize.
4030 * cus-start.el (window-splits): Replace by window-combination-resize.
4032 2011-11-17 Glenn Morris <rgm@gnu.org>
4034 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4035 Make bash entry derive from sh entry, not shell entry.
4037 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4039 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4040 properties of linked files. (Bug#9879)
4042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4045 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4047 * menu-bar.el (menu-bar-file-menu):
4048 * printing.el (pr-ps-utility):
4049 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4050 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4051 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4052 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4053 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4054 (icalendar--convert-cyclic-to-ical)
4055 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4056 (icalendar--convert-ical-to-diary)
4057 (icalendar--convert-recurring-to-diary)
4058 (icalendar--convert-non-recurring-all-day-to-diary)
4059 (icalendar-import-format-sample):
4060 * progmodes/idlw-shell.el (idlwave-shell-mode):
4061 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4062 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4063 (vhdl-ps-print-init): Fix typos.
4065 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4067 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4068 FSF and collapse date sequence, obscure author/maintainer email address
4069 better, remove extra version line, track relocation of author's webpage.
4071 * progmodes/python.el (python-pdbtrack-input-prompt)
4072 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4073 regular python pdb prompts. Adjustments shamelessly taken exactly as
4074 suggested in EmacsWiki page (tiny change):
4075 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4077 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4079 * expand.el (expand-pos, expand-index, expand-point):
4080 Remove redundant info from docstring.
4081 (expand-add-abbrevs): Doc fix.
4082 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4083 (expand-sample-perl-mode-expand-list): Fix typos.
4085 * net/dbus.el (dbus-event-member-name):
4086 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4087 * term/pc-win.el (msdos-create-frame-with-faces):
4088 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4090 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4092 * window.el (split-window, window-state-get-1)
4093 (window-state-put-1, window-state-put-2): Rename occurrences of
4094 window-nest to window-combination-limit.
4095 * cus-start.el (window-nest): Rename to window-combination-limit.
4097 2011-11-16 Chong Yidong <cyd@gnu.org>
4099 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4102 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4105 `completing-read' will remove *Completions* and will preserve
4106 current-buffer for us.
4107 (tmm-add-prompt): Users of *Completions* will always (re)set its
4109 (tmm-old-comp-map): Remove.
4111 2011-11-16 Glenn Morris <rgm@gnu.org>
4113 * mail/rmailedit.el: Require rmailmm when compiling.
4114 (rmail-old-mime-state): New declaration.
4115 (rmail-edit-current-message): If editing a mime message,
4116 edit the "raw" message from the mbox buffer.
4117 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4119 2011-11-15 Glenn Morris <rgm@gnu.org>
4121 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4122 which wasn't being used. Add optional arg to force given state.
4123 (rmail-mime): Add optional arg to force given state.
4125 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4127 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4128 * frame.el (display-mm-dimensions-alist):
4129 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4130 (outline-move-subtree-down):
4131 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4132 (newsticker--treeview-do-get-node):
4133 * net/quickurl.el (quickurl-list-buffer-name):
4134 * progmodes/dcl-mode.el (dcl-mode):
4135 * progmodes/gdb-mi.el (gdb-mapcar*):
4136 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4138 2011-11-15 Glenn Morris <rgm@gnu.org>
4140 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4141 in a boolean sense, so just make it a boolean, and fix the doc.
4142 (rmail-show-mime-function, rmail-mime-feature)
4143 (rmail-require-mime-maybe): Doc fixes.
4144 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4146 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4148 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4150 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4151 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4152 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4153 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4155 2011-11-15 Glenn Morris <rgm@gnu.org>
4157 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4158 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4159 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4160 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4161 (rmail-mime, rmail-show-mime): Doc fixes.
4163 * term/ns-win.el (mode-line-frame-identification):
4164 Leave it alone. (Bug#10051)
4166 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4168 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4169 Handle empty buffers. (Bug#9978)
4171 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4173 * international/mule.el (define-charset):
4174 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4175 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4176 * progmodes/verilog-mode.el (verilog-backward-token):
4177 * textmodes/ispell.el (lookup-words):
4178 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4180 2011-11-14 Glenn Morris <rgm@gnu.org>
4182 * progmodes/executable.el
4183 (executable-make-buffer-file-executable-if-script-p):
4184 Handle file-modes returning nil.
4186 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4187 message - not necessary, and causes problems. (Bug#9831)
4189 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4191 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4193 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4194 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4195 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4197 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4199 * window.el (window-resize, delete-window): Use window-splits
4200 variable instead of function.
4201 (window-state-get-1, window-state-put-2, window-state-put):
4202 Don't deal with windows' splits status.
4204 2011-11-12 Glenn Morris <rgm@gnu.org>
4206 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4207 (apropos-documentation): Doc fixes.
4209 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4211 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4212 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4214 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * electric.el (electric-indent-post-self-insert-function): Make it
4217 possible for a char to only indent in some circumstances.
4218 (electric-indent-mode): Simplify.
4220 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4222 * window.el (windows-with-parameter): Remove unused function.
4223 (windows-at-side): Rename to window-at-side-list.
4224 (window-check, window-atom-check, window-atom-check-1)
4225 (window-side-check, window-size-ignore, window-size-fixed-1)
4226 (window-in-direction-2): Prefix with "window--".
4227 (window-tree-1): Rename to window--subtree, fix doc-string.
4229 2011-11-11 Glenn Morris <rgm@gnu.org>
4231 * subr.el (eval-after-load): If FILE is already loaded,
4232 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4234 2011-11-10 Glenn Morris <rgm@gnu.org>
4236 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4237 Call svn via vc-svn-command rather than vc-do-command.
4238 (vc-svn-command): Add --non-interactive. (Bug#9993)
4239 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4242 Add toggle-read-only. (Bug#7292)
4243 * files.el (toggle-read-only): Mention that it should only
4244 be used interactively. (Bug#10006)
4246 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4248 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4249 Adjust regexp for OCaml warnings.
4251 * electric.el (electric-pair-post-self-insert-function): Let user
4252 turn it off buffer-locally (bug#9932).
4254 * progmodes/python.el (python-beginning-of-statement):
4257 * progmodes/compile.el: Better handle TABs (bug#9749).
4258 (compilation-internal-error-properties)
4259 (compilation-next-error-function): Obey the target buffer's
4260 compilation-error-screen-columns.
4262 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4264 * progmodes/meta-mode.el: Remove obsolete comments.
4265 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4266 Fix typos in docstrings.
4268 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4270 * window.el (window-size-fixed-p): Rewrite doc-string.
4271 (window-resizable-p): Rename to window--resizable-p. Update callers.
4272 (window--resizable): New function. Make all callers of
4273 window-resizable call window--resizable instead.
4274 (window-resizable): Rewrite in terms of window--resizable.
4276 2011-11-08 Glenn Morris <rgm@gnu.org>
4278 * progmodes/delphi.el (delphi-mode-syntax-table):
4279 Let define-derived-mode define a proper syntax table. (Bug#9994)
4281 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * window.el: Stay away from defsubst.
4284 (window-list-no-nils): Remove.
4285 (window-state-get-1, window-state-get): Use backquote instead.
4287 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4289 * emacs-lisp/find-func.el (find-function-read):
4290 Fix incorrect use of default argument in `completing-read'.
4292 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4294 * window.el (display-buffer-function, special-display-function):
4295 Mention display-buffer-record-window but do not mention
4296 help-setup parameter in doc-strings.
4297 (window-min-delta): Fix doc-string typo.
4299 2011-11-08 Chong Yidong <cyd@gnu.org>
4301 * window.el (window-total-height, window-total-width): Doc fix.
4302 (window-body-size): Move from C.
4303 (window-body-height, window-body-width): Move to C.
4305 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * window.el: Make special-display like display-buffer-alist (bug#9532).
4308 (display-buffer--special-action): New function, morphed
4309 from display-buffer--special.
4310 (display-buffer): Use it to handle special-display-buffers at higher
4311 priority (just after display-buffer-alist).
4312 (display-buffer-fallback-action, display-buffer--other-frame-action)
4313 (pop-to-buffer-same-window): Remove display-buffer--special.
4315 2011-11-07 Glenn Morris <rgm@gnu.org>
4317 * calendar/cal-menu.el (cal-menu-set-date-title):
4318 Do nothing if not in a calendar. (Bug#9976)
4320 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * files.el (find-file): Always use selected-window.
4324 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4326 * window.el (window-combinations): Make WINDOW argument
4327 mandatory. Rewrite doc-string.
4328 (walk-window-subtree, window-atom-check, window-min-delta)
4329 (window-max-delta, window--resize-this-window)
4330 (window--resize-root-window-vertically, window-tree)
4331 (balance-windows, window-state-put): Rewrite doc-strings as to
4332 not mention the term "subwindow".
4333 (window--resize-subwindows-skip-p): Rename to
4334 window--resize-child-windows-skip-p.
4335 (window--resize-subwindows-normal): Rename to
4336 window--resize-child-windows-normal.
4337 (window--resize-subwindows): Rename to
4338 window--resize-child-windows.
4339 (window-or-subwindow-p): Rename to window--in-subtree-p.
4341 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4343 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4344 Ensure that mbox format messages end in two newlines (Bug#9974).
4346 2011-11-06 Chong Yidong <cyd@gnu.org>
4348 * window.el (window-combination-p): Function deleted; its
4349 side-effect is not used in any existing code.
4350 (window-combinations, window-combined-p): Call window-*-child
4353 2011-11-05 Chong Yidong <cyd@gnu.org>
4355 * window.el (window-valid-p): Rename from window-any-p.
4356 (window-size-ignore, window-state-get): Callers changed.
4357 (window-normalize-window): Rename from window-normalize-any-window.
4358 New arg LIVE-ONLY, replacing window-normalize-live-window.
4359 (window-normalize-live-window): Delete.
4360 (window-combination-p, window-combined-p, window-combinations)
4361 (walk-window-subtree, window-atom-root, window-min-size)
4362 (window-sizable, window-sizable-p, window-size-fixed-p)
4363 (window-min-delta, window-max-delta, window-resizable)
4364 (window-resizable-p, window-full-height-p, window-full-width-p)
4365 (window-current-scroll-bars, window-point-1, set-window-point-1)
4366 (window-at-side-p, window-in-direction, window-resize)
4367 (adjust-window-trailing-edge, maximize-window, minimize-window)
4368 (window-deletable-p, delete-window, delete-other-windows)
4369 (record-window-buffer, unrecord-window-buffer)
4370 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4371 (quit-window, split-window, window-state-put)
4372 (set-window-text-height, fit-window-to-buffer)
4373 (shrink-window-if-larger-than-buffer): Callers changed.
4375 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4377 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4378 rfc2047-decode-string.
4379 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4382 * window.el (window-body-height, window-body-width): Mention in
4383 the doc string that the return values are in frame's canonical
4386 2011-11-03 Alan Mackenzie <acm@muc.de>
4388 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4389 change in cc-engine.el.
4391 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4393 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4395 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4397 * window.el (quit-window): Call unrecord-window-buffer after
4398 showing another buffer in the window. (Bug#9937)
4399 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4401 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4403 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4404 Accept status with more than 9 shelves. (Bug#9935)
4405 Reported by Colin D Bennett <colin@gibibit.com>.
4407 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4409 * help.el (with-help-window): Don't reference
4410 temp-buffer-show-specifiers in doc-string.
4412 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4414 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4417 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4419 * whitespace.el: New version 13.2.2.
4420 (whitespace-newline-mode): Disable properly. Reported by Sarah
4423 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4425 * net/newst-treeview.el: Remove "Time-stamp".
4426 (newsticker--group-manage-orphan-feeds): Do not call
4427 newsticker--treeview-tree-update.
4428 (newsticker-treeview-update, newsticker-treeview):
4429 Call newsticker--treeview-tree-update if necessary.
4431 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4433 * window.el (window-iso-combination-p, window-iso-combined-p)
4434 (window-iso-combinations): Remove "iso-" infix.
4435 Suggested by Chong Yidong.
4436 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4437 (window-max-delta-1, window-resize, window--resize-siblings)
4438 (window--resize-this-window, adjust-window-trailing-edge)
4439 (split-window, balance-windows-1)
4440 (shrink-window-if-larger-than-buffer):
4441 * calendar/calendar.el (calendar-generate-window):
4442 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4444 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4446 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4447 in place (bug#9907).
4448 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4449 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4450 (eshell-structure-basic-command, eshell-rewrite-while-command)
4451 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4452 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4453 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4454 (eshell-do-pipelines-synchronously, eshell-eval-command):
4455 Use backquotes and prefer setq to set.
4456 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4457 (eshell-macrop): Use functionp.
4458 (eshell-do-eval): Handle multiple expressions in `while' body.
4460 2011-10-30 Chong Yidong <cyd@gnu.org>
4462 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4463 instead of set-mark (Bug#9810).
4465 2011-10-30 Chong Yidong <cyd@gnu.org>
4467 * window.el (split-window-below, split-window-right): Rename from
4468 split-window-above-each-other and split-window-side-by-side
4469 respectively. All callers changed.
4470 (split-window-sensibly, split-window-sensibly): Use them.
4471 (split-window-keep-point): Doc fix.
4473 * isearch.el: Add isearch-scroll property to split-window-below
4474 and split-window-right.
4476 * follow.el (follow-mode):
4477 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4478 * progmodes/ada-xref.el (ada-gdb-application):
4479 * emulation/vip.el (vip-buffer-in-two-windows):
4480 * image-dired.el (image-dired-dired-with-window-configuration):
4481 * dired-x.el (dired-do-find-marked-files):
4482 * dired.el (dired-pop-to-buffer):
4483 * bs.el (bs--show-with-configuration):
4484 * vc/emerge.el (emerge-setup-windows):
4485 * textmodes/two-column.el (2C-two-columns):
4486 * textmodes/reftex-toc.el (reftex-toc):
4487 * progmodes/gdb-mi.el (gdb-setup-windows):
4488 * progmodes/fortran.el (fortran-window-create):
4489 * net/newst-treeview.el (newsticker--treeview-window-init):
4490 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4491 * emulation/tpu-edt.el (tpu-gold-map):
4492 * emulation/crisp.el (crisp-mode-map):
4493 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4495 2011-10-29 Chong Yidong <cyd@gnu.org>
4497 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4499 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4501 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4502 forged Ispell output (Bug#7904).
4504 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4506 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4508 * doc-view.el: Avoid ugly errors about not finding nil.
4509 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4510 (doc-view-dvipdf-program, doc-view-unoconv-program)
4511 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4512 Avoid nil or absolute file name as default value.
4513 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4515 2011-10-28 Alan Mackenzie <acm@muc.de>
4517 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4519 2011-10-28 Alan Mackenzie <acm@muc.de>
4521 Amend the handling of c-beginning/end-of-defun in nested declaration
4524 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4525 cc-langs.el. Change it to a defcustom.
4527 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4530 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4531 Prevent "class foo : bar" being spuriously recognized as a label.
4533 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4534 Add parameter `inclusive' (to include enclosing braces in the region).
4535 (c-widen-to-enclosing-decl-scope): New function.
4536 (c-while-widening-to-decl-block): New macro.
4537 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4538 outward for defun boundaries, and correspondingly change symbol
4539 `respect-enclosure' to `go-outward'.
4540 (c-declaration-limits): Change algorithm to report only the "innermost"
4543 2011-10-28 Deniz Dogan <deniz@dogan.se>
4545 * net/rcirc.el (rcirc-mode): Use hard newlines.
4547 2011-10-28 Alan Mackenzie <acm@muc.de>
4549 Amend to indent and fontify macros "which include their own semicolon"
4550 correctly, using the "virtual semicolon" mechanism.
4552 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4554 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4555 Recode to scan one line at a time rather than having \n and \r
4556 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4557 (c-forward-label): Amend for virtual semicolons.
4558 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4560 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4561 of the new C macros.
4563 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4564 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4565 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4566 (c-opt-cpp-macro-define): Make into a full language variable.
4567 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4568 AWK Mode (including \n, \r) removed, no longer needed.
4570 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4571 Invoke c-make-macro-with-semi-re.
4573 * progmodes/cc-vars.el (c-macro-with-semi-re):
4574 (c-macro-names-with-semicolon): New variables.
4575 (c-make-macro-with-semi-re): New function.
4577 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * vc/log-edit.el: Fill empty field rather than adding new one.
4580 (log-edit-add-field): New function.
4581 (log-edit-insert-changelog): Use it.
4583 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4585 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4587 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4590 (gdb--check-interpreter): New function.
4593 2011-10-27 Glenn Morris <rgm@gnu.org>
4595 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4596 (least-positive-float, least-negative-float)
4597 (least-positive-normalized-float, least-negative-normalized-float)
4598 (float-epsilon, float-negative-epsilon):
4599 Remove unnecessary declarations.
4601 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4602 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4603 (least-positive-float, least-negative-float)
4604 (least-positive-normalized-float, least-negative-normalized-float)
4605 (float-epsilon, float-negative-epsilon): Add doc-strings,
4606 based on those in cl.texi.
4608 * files.el (set-visited-file-name): If the major-mode changed,
4609 reload the local variables. (Bug#9796)
4611 2011-10-27 Chong Yidong <cyd@gnu.org>
4613 * subr.el (change-major-mode-after-body-hook): New hook.
4614 (run-mode-hooks): Run it.
4616 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4617 Use change-major-mode-before-body-hook.
4619 * simple.el (fundamental-mode):
4620 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4621 change introducing fundamental-mode-hook.
4623 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4625 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4627 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4629 * ido.el (ido-file-name-all-completions-1): Do not require
4630 tramp.el explicitly. (Bug#7583)
4632 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * progmodes/octave-mod.el:
4635 * progmodes/octave-inf.el: Update maintainer.
4637 2011-10-26 Chong Yidong <cyd@gnu.org>
4639 * subr.el (with-wrapper-hook): Rewrite doc.
4641 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4643 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4644 filenames "/method:foo:". (Bug#9793)
4646 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4651 2011-10-24 Glenn Morris <rgm@gnu.org>
4653 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4655 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4657 * notifications.el: Add the requirement of a running D-Bus session
4658 bus to the Commentary.
4660 2011-10-24 Juri Linkov <juri@jurta.org>
4662 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4663 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4666 2011-10-24 Juri Linkov <juri@jurta.org>
4668 * info.el (Info-following-node-name-re): Add newline to the list
4669 of allowed characters for leading space. (Bug#9824)
4671 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * progmodes/octave-inf.el (inferior-octave-mode-map):
4674 Fix C-c C-h binding.
4675 * progmodes/octave-mod.el (octave-help): Remove.
4677 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4679 Sync with Tramp 2.2.3.
4681 * net/tramp-cache.el (top): Pacify byte-compiler using
4682 `init-file-user' and `site-run-file'.
4684 * net/trampver.el: Update release number.
4686 2011-10-23 Chong Yidong <cyd@gnu.org>
4688 * files.el (toggle-read-only): Remove obsolete comment about
4691 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4692 for toggle-read-only. Note that this hasn't called vc-next-action
4693 since 2008-05-02, though it wasn't documented at the time.
4695 * vc/ediff-init.el (ediff-toggle-read-only-function):
4696 Use toggle-read-only.
4698 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4700 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4703 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4704 correct faulty logical expression.
4705 (c-parse-state-state, c-record-parse-state-state):
4706 (c-replay-parse-state-state): New defvar/defuns.
4707 (c-debug-parse-state): Use new functions.
4709 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4711 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4712 last fix. Use window-in-direction correctly.
4714 2011-10-21 Chong Yidong <cyd@gnu.org>
4716 * progmodes/idlwave.el (idlwave-mode):
4717 * progmodes/vera-mode.el (vera-mode): No need to set
4718 require-final-newline; that's done in prog-mode.
4719 Suggested by Stefan Monnier.
4721 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4723 * mouse.el (mouse-drag-window-above)
4724 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4725 (mouse-drag-mode-line-1, mouse-drag-header-line)
4726 (mouse-drag-vertical-line-rightward-window): Remove.
4727 (mouse-drag-line): New function.
4728 (mouse-drag-mode-line, mouse-drag-header-line)
4729 (mouse-drag-vertical-line): Call mouse-drag-line.
4730 * window.el (window-at-side-p, windows-at-side): New functions.
4732 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4734 * tar-mode.el (tar-grind-file-mode):
4735 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4737 2011-10-21 Chong Yidong <cyd@gnu.org>
4739 * progmodes/idlwave.el (idlwave-mode):
4740 * progmodes/vera-mode.el (vera-mode):
4741 Use mode-require-final-newline.
4743 2011-10-20 Glenn Morris <rgm@gnu.org>
4745 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4747 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4749 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4751 2011-10-20 Chong Yidong <cyd@gnu.org>
4753 * emulation/cua-base.el (cua-mode):
4754 * mail/footnote.el (footnote-mode):
4755 * mail/mailabbrev.el (mail-abbrevs-mode):
4756 * net/xesam.el (xesam-minor-mode):
4757 * progmodes/bug-reference.el (bug-reference-mode):
4758 * progmodes/cap-words.el (capitalized-words-mode):
4759 * progmodes/compile.el (compilation-minor-mode)
4760 (compilation-shell-minor-mode):
4761 * progmodes/gud.el (gud-tooltip-mode):
4762 * progmodes/hideif.el (hide-ifdef-mode):
4763 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4764 * progmodes/subword.el (subword-mode):
4765 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4766 * progmodes/which-func.el (which-function-mode):
4767 * term/tvi970.el (tvi970-set-keypad-mode):
4768 * term/vt100.el (vt100-wide-mode):
4769 * textmodes/flyspell.el (flyspell-mode):
4770 * textmodes/ispell.el (ispell-minor-mode):
4771 * textmodes/nroff-mode.el (nroff-electric-mode):
4772 * textmodes/paragraphs.el (use-hard-newlines):
4773 * textmodes/refill.el (refill-mode):
4774 * textmodes/reftex.el (reftex-mode):
4775 * textmodes/rst.el (rst-minor-mode):
4776 * textmodes/sgml-mode.el (html-autoview-mode)
4777 (sgml-electric-tag-pair-mode):
4778 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4779 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4780 * emulation/crisp.el (crisp-mode):
4781 * emacs-lisp/eldoc.el (eldoc-mode):
4782 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4783 minor mode behavior.
4785 2011-10-19 Juri Linkov <juri@jurta.org>
4787 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4788 the list of hard-coded chars with escape-glyph face.
4790 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4794 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4796 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4799 2011-10-19 Glenn Morris <rgm@gnu.org>
4801 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4802 Ignore ignored files. (Bug#9726)
4804 2011-10-19 Chong Yidong <cyd@gnu.org>
4806 Doc fix for minor modes, stating that an omitted argument enables
4807 the mode unconditionally when called from Lisp.
4809 * abbrev.el (abbrev-mode):
4810 * allout.el (allout-mode):
4811 * autoinsert.el (auto-insert-mode):
4812 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4813 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4814 (global-auto-revert-mode):
4815 * battery.el (display-battery-mode):
4816 * composite.el (global-auto-composition-mode)
4817 (auto-composition-mode):
4818 * delsel.el (delete-selection-mode):
4819 * desktop.el (desktop-save-mode):
4820 * dired-x.el (dired-omit-mode):
4821 * dirtrack.el (dirtrack-mode):
4822 * doc-view.el (doc-view-minor-mode):
4823 * double.el (double-mode):
4824 * electric.el (electric-indent-mode, electric-pair-mode):
4825 * emacs-lock.el (emacs-lock-mode):
4826 * epa-hook.el (auto-encryption-mode):
4827 * follow.el (follow-mode):
4828 * font-core.el (font-lock-mode):
4829 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4830 * help.el (temp-buffer-resize-mode):
4831 * hilit-chg.el (highlight-changes-mode)
4832 (highlight-changes-visible-mode):
4833 * hi-lock.el (hi-lock-mode):
4834 * hl-line.el (hl-line-mode, global-hl-line-mode):
4835 * icomplete.el (icomplete-mode):
4836 * ido.el (ido-everywhere):
4837 * image-file.el (auto-image-file-mode):
4838 * image-mode.el (image-minor-mode):
4839 * iswitchb.el (iswitchb-mode):
4840 * jka-cmpr-hook.el (auto-compression-mode):
4841 * linum.el (linum-mode):
4842 * longlines.el (longlines-mode):
4843 * master.el (master-mode):
4844 * mb-depth.el (minibuffer-depth-indicate-mode):
4845 * menu-bar.el (menu-bar-mode):
4846 * minibuf-eldef.el (minibuffer-electric-default-mode):
4847 * mouse-sel.el (mouse-sel-mode):
4848 * msb.el (msb-mode):
4849 * mwheel.el (mouse-wheel-mode):
4850 * outline.el (outline-minor-mode):
4851 * paren.el (show-paren-mode):
4852 * recentf.el (recentf-mode):
4853 * reveal.el (reveal-mode, global-reveal-mode):
4854 * rfn-eshadow.el (file-name-shadow-mode):
4855 * ruler-mode.el (ruler-mode):
4856 * savehist.el (savehist-mode):
4857 * scroll-all.el (scroll-all-mode):
4858 * scroll-bar.el (scroll-bar-mode):
4859 * server.el (server-mode):
4860 * shell.el (shell-dirtrack-mode):
4861 * simple.el (auto-fill-mode, transient-mark-mode)
4862 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4863 (line-number-mode, column-number-mode, size-indication-mode)
4864 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4865 * strokes.el (strokes-mode):
4866 * time.el (display-time-mode):
4867 * t-mouse.el (gpm-mouse-mode):
4868 * tool-bar.el (tool-bar-mode):
4869 * tooltip.el (tooltip-mode):
4870 * type-break.el (type-break-mode-line-message-mode)
4871 (type-break-query-mode):
4872 * view.el (view-mode):
4873 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4874 (global-whitespace-mode, global-whitespace-newline-mode):
4875 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4877 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4878 Fix autogenerated docstring.
4880 2011-10-19 Juri Linkov <juri@jurta.org>
4882 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4883 by checking environment variables "DESKTOP_SESSION" and
4884 "XDG_CURRENT_DESKTOP". (Bug#9779)
4886 2011-10-19 Juri Linkov <juri@jurta.org>
4888 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4889 (browse-url-chromium-program, browse-url-chromium-arguments):
4891 (browse-url-default-browser): Check for `browse-url-chromium' and
4892 call `browse-url-chromium-program'.
4893 (browse-url-chromium): New command. (Bug#9779)
4895 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4897 * facemenu.el (list-colors-duplicates): On Windows, detect more
4898 duplicates by assuming that only colors matching "^System" are
4899 special "system colors". (Bug#9722)
4901 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4903 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4904 to distinguish the author from the committer.
4906 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4908 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4910 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4912 * international/mule.el (sgml-html-meta-auto-coding-function):
4913 Add support for detecting encoding in HTML5 specified only as
4914 <meta charset="UTF-8">. Implementation just makes http-equiv and
4915 content-type parts from HTML4 encoding string optional. (Bug#9716)
4917 2011-10-18 Glenn Morris <rgm@gnu.org>
4919 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4921 2011-10-18 Chong Yidong <cyd@gnu.org>
4923 * faces.el (cursor): Doc fix.
4925 2011-10-17 Chong Yidong <cyd@gnu.org>
4927 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4929 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4931 * dirtrack.el (dirtrack): Support shell buffers with path
4932 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4934 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4936 * json.el: Bump version to 1.3 and note change in History.
4937 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4939 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4941 * comint.el (comint-insert-input, comint-send-input)
4942 (comint-get-old-input-default, comint-backward-matching-input)
4943 (comint-next-prompt): Use nil instead of `input' for field property of
4944 past user input (bug#114).
4946 * minibuffer.el (completion--replace): Inherit surrounding properties
4948 (minibuffer-complete-and-exit): Use it.
4950 * comint.el (comint--table-subvert): Quote the all-completions output
4953 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4955 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4957 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4958 window on right of selected. (Bug#9350) Reword other window
4959 entries and separate them from frame entries.
4961 2011-10-15 Glenn Morris <rgm@gnu.org>
4963 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4966 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4968 * net/network-stream.el (network-stream-open-starttls):
4969 Improve detection of failure due to lack of TLS support.
4971 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4972 putting the input text in front and in bold.
4974 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4976 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4978 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4981 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4982 unread-command-events rather than pushing yet-another event.
4984 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4986 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4987 the explanation of the possible choices. Make the options passed
4988 to completing-read shorter.
4990 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4992 * textmodes/flyspell.el (flyspell-large-region): Make sure
4993 extended character mode is used if defined (Bug#1339).
4995 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4997 * simple.el (what-cursor-position): Fix the display of the
4998 character info for LRE, LRO, RLE, and RLO characters by appending
5001 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5004 even in case of error; add debug spec; simplify data flow.
5005 (with-timeout-handler): Remove.
5007 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5009 Fix Bug#6019, Bug#9315.
5011 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5012 complete `buffer-file-name', the local file name part could look
5013 remotely (for example on VMS).
5015 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5016 `tramp-run-real-handler'.
5017 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5018 already quoted by '"'.
5020 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5021 Let `file-name-handler-alist' be nil, the local file name part
5022 could look remotely (for example on VMS).
5024 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5028 (flyspell-post-command-hook): ...to here.
5030 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5034 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5035 using completion. Protect against "slow" callers.
5036 Remove the "message hack".
5038 2011-10-11 Juri Linkov <juri@jurta.org>
5040 * isearch.el (isearch-lazy-highlight-word): New variable.
5041 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5044 2011-10-11 Glenn Morris <rgm@gnu.org>
5046 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5047 like f90-previous-statement does.
5049 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5051 * eshell/eshell.el (eshell-command): History should be saved
5052 only in interactive use, to avoid error.
5054 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * minibuffer.el (completion-file-name-table): Fix last change,
5057 i.e. ignore normal errors but not the other ones.
5059 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5061 * window.el (special-display-buffer-names)
5062 (special-display-regexps): Remove some remnants of earlier
5063 changes from doc-strings.
5064 (quit-windows-on): New function.
5066 * vc/vc.el (vc-revert, vc-rollback):
5067 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5068 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5069 (Bug#6183) (Bug#7074) (Bug#7447)
5071 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5073 * window.el (frame-auto-hide-function): Add version tag.
5076 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5078 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5081 2011-10-09 Leo Liu <sdl.web@gmail.com>
5083 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5086 2011-10-08 Glenn Morris <rgm@gnu.org>
5088 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5089 before the first code statement zero indent. (Bug#9690)
5091 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5093 * simple.el (count-words-region): Always count in the region.
5094 Report the number of lines and characters too.
5095 (count-words): New command, which counts in the buffer if the
5096 region is inactive, as count-words-region used to.
5097 (count-words--message): New function. Handle plurals.
5098 (count-lines-region): Make it an alias for count-words-region.
5100 * bindings.el (esc-map): Replace count-lines-region with
5103 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5105 * window.el (window--delete): Delete dedicated frame
5106 unconditionally when argument KILL is non-nil. (Bug#9699)
5107 (switch-to-buffer): Fix doc-string typo.
5109 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5111 * eshell/eshell.el (eshell-command): Avoid using hooks.
5113 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5115 * bindings.el ([M-left],[M-right]): Bind to left-word and
5116 right-word respectively.
5118 2011-10-07 Glenn Morris <rgm@gnu.org>
5120 * cus-start.el (debug-on-quit): Fix custom type.
5122 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5124 * subr.el (define-key-after): Clarify that the function is not
5125 useful for non-menu keymaps.
5127 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5129 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5131 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5132 in current minibuffer (Fix bug with recursive minibuffers).
5134 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5136 * progmodes/gdb-mi.el (gdb): Doc fix.
5138 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5140 * window.el (frame-auto-hide-function): New option replacing
5141 frame-auto-delete. Suggested by Stefan Monnier.
5142 (window--delete): Call frame-auto-hide-function instead of
5143 investigating frame-auto-delete.
5144 (window-point-1, set-window-point-1): New functions.
5145 (window-in-direction, record-window-buffer, window-state-get-1)
5146 (display-buffer-record-window): Use window-point-1 instead of
5148 (set-window-buffer-start-and-point): Use set-window-point-1.
5150 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5154 2011-10-05 Glenn Morris <rgm@gnu.org>
5156 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5157 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5159 2011-10-05 Leo Liu <sdl.web@gmail.com>
5161 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5162 works with buffer object.
5164 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5166 * mpc.el (mpc-tool-bar-map): Add labels.
5168 2011-10-04 Glenn Morris <rgm@gnu.org>
5170 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5172 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5174 * window.el (window--delete): New function.
5175 (frame-auto-delete): Resuscitate option.
5176 (bury-buffer, replace-buffer-in-windows)
5177 (quit-window): Rewrite using window--delete.
5178 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5179 Pass display-buffer-mark-dedicated to window--display-buffer-2
5182 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5185 returns a list (bug#9554). Add remote file name completion.
5186 * comint.el (comint--table-subvert): Curry and get quote&unquote
5187 functions as arguments.
5188 (comint--complete-file-name-data): Adjust call accordingly.
5189 * pcomplete.el (pcomplete--table-subvert): Remove.
5190 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5192 * minibuffer.el (completion-table-case-fold): Use currying.
5193 (completion--styles-type, completion--cycling-threshold-type):
5195 (completion-styles, completion-category-overrides)
5196 (completion-cycle-threshold): Use them.
5197 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5198 completion-table-case-fold.
5200 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5202 * minibuffer.el (completion-category-overrides): Fix type of styles
5203 and add more user friendly tags (bug#9660).
5205 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5207 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5208 (mule-input-method-string): New widget.
5209 (default-input-method, language-info-custom-alist): Use it.
5211 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5213 * pcomplete.el: Require comint.
5214 (pcomplete--common-suffix): Remove.
5215 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5216 (pcomplete--table-subvert): Sync with comint--table-subvert.
5217 (pcomplete--entries): Use comint-completion-file-name-table.
5218 * comint.el (comint-unquote-filename): Simplify.
5219 (comint-completion-file-name-table): New function (bug#9616).
5220 (comint--complete-file-name-data): Use it.
5222 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5223 (pcmpl-gnu-tar-buffer): Remove.
5224 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5225 around. Make sure pcomplete-suffix-list is only changed temporarily.
5226 Don't look inside the tar's file if it's too large.
5228 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5230 * cus-edit.el (custom-mode-map):
5231 * epa.el (epa-key-list-mode-map):
5232 * man.el (Man-mode-map):
5233 * startup.el (splash-screen-keymap):
5234 * simple.el (special-mode-map): Use scroll-up-command and
5235 scroll-down-command.
5237 * progmodes/idlw-help.el (idlwave-help-mode-map):
5238 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5239 * net/newst-plainview.el (newsticker-mode-map):
5240 * emulation/ws-mode.el (wordstar-mode-map):
5241 * emulation/vi.el (vi-com-map):
5242 * calc/calc-graph.el (calc-graph-show-dumb):
5243 * term/sun.el (terminal-init-sun):
5244 * term/ns-win.el (global-map):
5245 * progmodes/grep.el (grep-mode-map):
5246 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5247 * mail/rmail.el (rmail-mode-map):
5248 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5250 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5251 custom-safe-themes as special.
5253 2011-10-01 Julien Danjou <julien@danjou.info>
5255 * notifications.el (notifications-notify): Fix docstring.
5257 2011-10-01 Per Starbäck <per@starback.se>
5259 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5261 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5263 * startup.el (command-line-1): Fix last fix by inserting
5264 initial-scratch-message into *scratch* before displaying it.
5265 (Bug#9605) and (Bug#9636)
5267 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5269 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5270 window is hscrolled, move by logical lines. (Bug#9607)
5271 (line-move-visual): Update the doc string to the above effect.
5273 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5275 * window.el (display-buffer-record-window): When WINDOW is the
5276 selected window use `point' instead of `window-point'. (Bug#9626)
5278 * startup.el (command-line-1): Use insert-before-markers when
5279 inserting initial-scratch-message. (Bug#9605)
5281 * help.el (help-window): Remove variable.
5283 2011-09-29 Glenn Morris <rgm@gnu.org>
5285 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5287 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5289 * descr-text.el (describe-char-categories): Accept category
5290 descriptions more than one line long.
5292 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5294 * simple.el (delete-trailing-whitespace): Fix last change.
5296 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5297 Don't confuse "y => 3" as the beginning of a `y' operation.
5299 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5300 object has more than 4 slots (bug#9613).
5302 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5304 * subr.el (with-output-to-temp-buffer):
5305 * net/quickurl.el (quickurl, quickurl-browse-url):
5306 Fix typos in docstrings.
5308 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5310 * minibuffer.el (completion-styles)
5311 (completion-category-overrides): Cross reference each other in doc
5314 2011-09-27 Glenn Morris <rgm@gnu.org>
5316 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5317 to split-string. (Bug#9606)
5319 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5321 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5324 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5326 * emacs-lisp/package.el (list-packages): Fix echo area message.
5328 2011-09-27 Leo Liu <sdl.web@gmail.com>
5330 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5332 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5334 * net/dbus.el (dbus-unregister-object): Don't release services for
5335 registered signals. (Bug#9581)
5337 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5339 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5340 function that picks between cfengine 2 and 3 support
5341 automatically. Update docs accordingly.
5343 2011-09-22 Kenichi Handa <handa@m17n.org>
5345 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5347 (indian-itrans-v5-table-for-tamil): New variable.
5348 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5350 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5352 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5353 that's true if the current command involved collapsing of text.
5354 It's reset to false at the beginning of the next command.
5355 (allout-post-command-business): Move the cursor to the beginning
5356 of entry if the cursor is hidden and collapsing activity just
5359 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5361 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5362 tracking (Bug#9541).
5364 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5366 * net/newst-reader.el (newsticker-html-renderer)
5367 (newsticker-show-news): Automatically load html rendering package
5368 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5369 because w3m-fill-column is let-bound" and the error "Symbol's value
5370 as variable is void: w3m-fill-column".
5372 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5374 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5375 Release services only if they are defined. (Bug#9581)
5377 2011-09-23 Richard Stallman <rms@gnu.org>
5379 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5380 distinguish start of paragraph from start of its text.
5382 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5384 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5385 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5386 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5388 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5390 * international/mule-diag.el (mule-diag): Insert a newline after
5391 each fontset description.
5393 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * simple.el (delete-trailing-whitespace):
5396 Document last change; simplify.
5398 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5400 * simple.el (delete-trailing-whitespace): Also delete
5401 extra newlines at the end of the buffer.
5403 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5404 (picture-newline): Use forward-line so as to ignore fields.
5406 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * subr.el (with-wrapper-hook): Fix edebug spec.
5410 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5415 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5417 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5418 Fix nasty bug using wrong cached values.
5420 2011-09-23 Alan Mackenzie <acm@muc.de>
5422 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5424 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5426 * window.el (pop-to-buffer): Ensure right window is selected if we
5427 chose another frame.
5429 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5431 * simple.el (what-cursor-position): Use get-char-property-change
5432 and next-single-char-property-change, to be able to show display
5433 properties that come from overlays as well as text properties.
5435 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5437 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5439 * cmuscheme.el (run-scheme, switch-to-scheme):
5440 * cus-edit.el (customize-group, custom-buffer-create)
5444 * mail/sendmail.el (mail):
5445 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5447 2011-09-22 Richard Stallman <rms@gnu.org>
5449 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5450 move back only to line beg, don't move back over blank lines.
5452 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5454 * files.el (copy-directory): Set directory attributes only in case
5455 they could be retrieved from the source directory. (Bug#9565)
5457 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5459 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5460 (hs-find-block-beginning, hs-hide-level-recursive):
5461 Ignore strings as well as comments. (Bug#9502)
5463 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5465 * progmodes/sql.el (sql-comint-postgres):
5466 Convert port number to a string. (Bug#9566)
5468 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5470 * window.el (quit-window): Undedicate window when switching to
5471 previous buffer. Reported by Thierry Volpiatto
5472 <thierry.volpiatto@gmail.com>.
5473 (special-display-popup-frame): When popping up a new frame reset
5474 its previous buffers to nil. Simplify code.
5476 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5478 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5479 and process filter, as done also in `shell-command'.
5481 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5483 * window.el (set-window-buffer-start-and-point):
5484 Call set-window-start with NOFORCE argument t.
5485 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5486 (quit-window): Reword doc-string. Handle new format of
5487 quit-restore parameter. Don't delete window if it has a
5488 previous buffer we can show instead of the present one.
5489 (display-buffer-record-window): Rewrite using a new format for
5490 the quit-restore window parameter
5491 (special-display-popup-frame, display-buffer-same-window)
5492 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5493 (display-buffer-pop-up-window, display-buffer-use-some-window):
5494 Adapt symbol passed to display-buffer-record-window.
5495 * help.el (help-window-setup): Handle new format of quit-restore
5498 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5500 * faces.el (face-list): Fix docstring (bug#9564).
5502 * window.el (display-buffer--action-function-custom-type):
5503 Don't include internal functions in the Custom interface.
5505 2011-09-20 Juri Linkov <juri@jurta.org>
5507 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5508 (Info-forward-node, Info-backward-node, Info-next-preorder)
5509 (Info-last-preorder): Use it. (Bug#9528)
5511 2011-09-20 Juri Linkov <juri@jurta.org>
5513 * info.el (Info-last-preorder): Visit last menu item only when
5514 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5516 2011-09-20 Julien Danjou <julien@danjou.info>
5518 * password-cache.el (password-cache-remove): Remove entries even if the
5519 value is nil, so that password with a nil value (negative caching) is
5520 possible to invalidate.
5522 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5524 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5525 all whitespace around breakpoint. (Bug#9553)
5526 (f90-find-breakpoint): Only break at whitespace inside a comment.
5528 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * minibuffer.el (completion-file-name-table): Keep track of errors.
5531 (completion-table-with-predicate): Handle the case where pred1 is nil.
5532 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5534 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5537 (debugger-return-value): Signal an error if the debugging context does
5538 not await any return value.
5540 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5541 * image-mode.el (image-toggle-display-text)
5542 (image-toggle-display-image): Stay away from evil `intangible'.
5544 2011-09-19 Leo Liu <sdl.web@gmail.com>
5546 * replace.el (occur-revert-arguments): Make it permanent-local.
5547 (occur-mode): Don't call font-lock-defontify.
5549 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5551 * net/ldap.el (ldap-search-internal): Don't push empty search
5554 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5558 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5560 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5561 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5563 2011-09-18 Juri Linkov <juri@jurta.org>
5565 * buff-menu.el (Buffer-menu-mode-map):
5566 * dired.el (dired-mode-map):
5567 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5568 (lisp-interaction-mode-map):
5569 * emacs-lisp/package.el (package-menu-mode-map):
5570 * epa.el (epa-key-list-mode-map):
5571 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5572 (menu-bar-options-menu):
5573 * outline.el (outline-mode-menu-bar-map):
5574 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5575 * vc/vc-dir.el (vc-dir-menu-map):
5576 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5577 Capitalize non-function content words in menu item strings.
5579 * dired.el (dired-mode-map): Add menu item for
5580 `image-dired-dired-toggle-marked-thumbs'.
5582 2011-09-18 Juri Linkov <juri@jurta.org>
5584 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5585 to `isearch-case-fold-search' and restore its original value
5586 after the `isearch-mode' call.
5588 2011-09-18 Juri Linkov <juri@jurta.org>
5590 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5591 because `zgrep' returns 1 for successful matches (bug#9226).
5593 2011-09-18 Juri Linkov <juri@jurta.org>
5595 * info.el (Info-extract-menu-node-name): Check the second match
5596 for empty string (second test-case of bug#9528).
5597 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5598 intermediate nodes to the history (first test-case of bug#9528).
5600 2011-09-18 Juri Linkov <juri@jurta.org>
5602 * info.el (Info-mode-syntax-table): New variable.
5603 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5605 2011-09-18 Juri Linkov <juri@jurta.org>
5607 * info.el (Info-file-supports-index-cookies):
5608 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5609 outputs one more line for long file names (bug#4142).
5611 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5613 * newcomment.el (comment-normalize-vars): If prompting for
5614 comment-start, set comment-start-skip too (Bug#8424).
5616 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5618 * icomplete.el: Fix previous fix of Bug#5849.
5619 (icomplete-mode): Don't set completion-show-inline-help.
5620 (icomplete-minibuffer-setup): Set completion-show-inline-help
5621 locally during icompletion.
5623 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5625 * woman.el (woman2-process-escapes): Don't delete unrecognized
5628 * files.el (inhibit-first-line-modes-regexps): Add image files.
5629 (hack-local-variables-prop-line): Return nil for malformed
5630 prop-lines (Bug#9044).
5632 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5634 * net/tramp.el (top): Don't require 'shell.
5635 (tramp-methods): Fix docstring.
5636 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5637 Return complete remote file name. Handle "smb" case.
5638 Use `tramp-tmpdir', if defined for the respective method.
5639 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5641 * net/tramp-compat.el (top): Require 'shell.
5643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5644 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5645 `tramp-current-host'.
5646 (tramp-get-remote-tmpdir): Remove.
5648 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5649 `tramp-tmpdir' entries.
5650 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5651 (tramp-smb-handle-file-attributes): Ignore errors.
5652 (tramp-smb-wait-for-output): Check also for process end.
5654 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5657 when sending QUIT (bug#9312).
5659 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5661 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5662 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5663 occur-mode-display-occurrence.
5664 (occur-edit-mode): Add usage message.
5665 (occur-cease-edit): New command.
5666 (occur-after-change-function): Use text properties to find the
5667 position of the prefix text.
5668 (occur-engine): Set stickiness of prefix text properties.
5670 2011-09-17 Glenn Morris <rgm@gnu.org>
5672 * progmodes/etags.el (complete-tag):
5673 Fix call to completion-in-region. (Bug#9526)
5675 2011-09-17 Juri Linkov <juri@jurta.org>
5677 * textmodes/ispell.el (ispell-word): Add to the error message
5678 the word, ispell program name and current dictionary (bug#9121).
5679 (ispell-tex-arg-end): Capitalize "error" in the error message.
5681 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5683 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5686 2011-09-17 Juri Linkov <juri@jurta.org>
5688 * window.el (window-safe-min-height, window-safe-min-width):
5689 Fix typos (followup to bug#9522).
5691 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5693 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5695 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5697 * simple.el (line-move): If goal-column is set, move by logical
5698 lines, not by display lines. (Bug#971)
5699 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5700 to reflect the above change.
5702 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5704 * image.el (imagemagick-register-types): Use regexp-opt.
5706 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5708 * window.el (display-buffer-base-action): Rename from
5709 display-buffer-default-action. Make default value empty.
5710 (display-buffer-overriding-action): Convert to defvar.
5711 (display-buffer-fallback-action): New var.
5713 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5715 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5717 (package--add-to-archive-contents): If there is a duplicate entry
5718 with an older version, remove it.
5719 (package-menu-mark-delete, package-menu-mark-install)
5720 (package-menu-mark-unmark): Make unused args optional.
5721 (package-menu-mark-obsolete-for-deletion):
5722 Use package-menu-get-status instead of a regexp search.
5723 (package-menu-get-status): Use tabulated-list-entry.
5724 (package-menu-mark-upgrades): New command.
5725 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5726 (package-menu-execute): Do installation before deletion.
5727 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5728 instead of checking major-mode.
5729 (package-menu--find-upgrades): New function.
5731 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5733 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5734 passwords in the log buffer.
5735 (smtpmail-process-filter): Update the process marker so that the
5736 "broken by peer" status message is inserted in the right place.
5738 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5741 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5742 bibtex-completion-at-point-function.
5743 (bibtex-completion-at-point-function): Use them.
5745 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5747 * mpc.el (mpc-constraints-tag-lookup): New function.
5748 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5749 also to browser "album|playlist".
5751 2011-09-14 Juri Linkov <juri@jurta.org>
5753 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5754 (isearch-edit-string): Use length of `isearch-string' when
5755 `isearch-fail-pos' returns nil.
5756 (isearch-message): Remove duplicate code and call
5757 `isearch-fail-pos' with arg `t'.
5759 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5761 * replace.el (occur-mode-goto-occurrence): Don't force using other
5764 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5766 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5768 * window.el (display-buffer-window): Remove.
5769 (display-buffer-record-window): Use help-setup window parameter
5770 instead of variable display-buffer-window.
5771 (display-buffer-function, special-display-buffer-names)
5772 (special-display-function): Mention help-setup parameter instead
5773 of display-buffer-window in doc-string.
5774 * help.el (help-window-setup): New argument help-window.
5775 Use help-window-setup parameter instead of display-buffer-window.
5776 Reword some messages.
5777 (with-help-window): Pass window used for displaying the buffer
5778 to help-window-setup. Don't set display-buffer-window.
5780 2011-09-13 Glenn Morris <rgm@gnu.org>
5782 * emacs-lisp/debug.el (debugger-make-xrefs):
5783 Preserve point. (Bug#9462)
5785 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5787 * window.el (window-deletable-p): Use next-frame.
5789 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5791 * window.el (window-auto-delete): Remove.
5792 (window-deletable-p): Remove argument FORCE. Don't deal with
5793 dedication and previous buffers.
5794 (switch-to-prev-buffer): Don't delete window.
5795 (delete-windows-on): Delete a window's frame if and only if the
5796 window is dedicated.
5797 (replace-buffer-in-windows): Delete buffer's window or frame if
5798 and only if window is dedicated.
5799 (quit-window): Handle quit-restore as before last change.
5800 (bury-buffer): Delete window only if window-deletable-p returns t.
5802 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5804 * window.el (window-deletable-p): Never delete the last frame on a
5807 2011-09-13 Glenn Morris <rgm@gnu.org>
5809 * help.el (describe-key-briefly): Copy previous standard-output change.
5811 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5813 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5815 2011-09-13 Glenn Morris <rgm@gnu.org>
5817 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5818 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5820 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5822 * dired-aux.el (dired-mark-read-string): Don't return default
5823 value on empty input (Bug#9361).
5824 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5825 Omit initial minibuffer contents.
5826 (dired-do-chmod): Signal an error on empty input.
5827 (dired-mark-read-string): Don't return default on empty input.
5829 * files.el (file-modes-symbolic-to-number): Doc fix.
5831 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * international/mule-cmds.el (ucs-completions): Remove.
5834 (read-char-by-name): Use complete-with-action instead; add metadata.
5836 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5838 * window.el (display-buffer--action-function-custom-type)
5839 (display-buffer--action-custom-type): New vars.
5840 (display-buffer-alist, display-buffer-default-action)
5841 (display-buffer-overriding-action): Add defcustom types.
5843 * frame.el (delete-other-frames): Doc fix (Bug#276).
5845 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5847 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5849 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5851 Change modes that used same-window-* vars to use switch-to-buffer.
5853 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5854 Use switch-to-buffer.
5856 * cus-edit.el (customize-group, custom-buffer-create)
5857 (customize-browse, custom-buffer-create-other-window):
5858 Use switch-to-buffer or switch-to-buffer-other-window.
5860 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5861 (Info-prev, Info-up, Info-speedbar-goto-node)
5862 (info-display-manual): Use switch-to-buffer.
5863 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5865 * mail/sendmail.el (mail): Use switch-to-buffer.
5866 (mail-recover): Use switch-to-buffer-other-window.
5868 * cmuscheme.el (run-scheme, switch-to-scheme):
5871 * net/rlogin.el (rlogin):
5872 * net/telnet.el (telnet, rsh):
5873 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5875 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5877 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5879 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5882 so don't mention it (bug#9301).
5883 (dired-sort-toggle-or-edit): Clarify string further.
5885 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5886 match `x', `w32' and `ns', like the manual says (bug#9029).
5888 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5889 (process-kill-buffer-query-function): Mention the buffer name in
5892 * image-mode.el (image-next-line): The line parameter is mandatory
5895 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5896 which can be useful (bug#9301).
5898 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5900 * subr.el (match-string): Mention that the current buffer should
5901 be the same as the search was done in (bug#9282).
5903 * facemenu.el: Disable the remove-* commands if the mark isn't
5906 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5908 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5910 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5912 * replace.el (occur-mode-goto-occurrence)
5913 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5916 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5919 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5920 special-display and same-window variables.
5921 (mail-other-window): Use switch-to-buffer-other-window.
5922 (mail-other-frame): USe switch-to-buffer-other-frame.
5924 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5925 Use display-buffer-other-frame.
5926 (gdb-display-gdb-buffer): Use pop-to-buffer.
5928 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5930 * progmodes/python.el: Don't set same-window-buffer-names.
5932 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5934 * window.el (display-buffer-alist): Add *Python*.
5936 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5938 * window.el (display-buffer-alist): Add entry for buffers
5939 previously handled same-window-*.
5940 (display-buffer-alist, display-buffer-default-action)
5941 (display-buffer-overriding-action): Mark as risky.
5942 (display-buffer-alist): Document action function changes.
5943 (display-buffer--same-window-action)
5944 (display-buffer--other-frame-action): New variables.
5945 (switch-to-buffer, display-buffer-other-frame): Use them.
5946 (display-buffer): Rename reuse-frame entry to reusable-frames.
5947 (display-buffer-reuse-selected-window): Function deleted.
5948 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5949 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5950 (display-buffer-special): New function.
5951 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5952 display-buffer-reuse-or-pop-window. Split off special-display
5953 part into display-buffer-special.
5954 (display-buffer-use-some-window): Don't perform any special
5955 pop-up-frames handling.
5956 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5957 (display-buffer--maybe-same-window): Rename from
5958 display-buffer-maybe-same-window.
5960 * info.el: Don't set same-window-regexps.
5961 (info-setup): New function.
5962 (info-other-window, info): Call it.
5964 * cus-edit.el: Don't set same-window-regexps.
5965 (customize-group): New argument.
5966 (customize-group-other-window): Use it.
5967 (customize-face, customize-face-other-window): Likewise.
5968 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5972 * progmodes/gud.el: Don't set same-window-regexps.
5978 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5980 2011-09-10 Juri Linkov <juri@jurta.org>
5982 * isearch.el (isearch-edit-string): Remove obsolete mention of
5983 `C-w' (`isearch-yank-word-or-char') from docstring.
5984 (isearch-query-replace): Fix typo in docstring (bug#9466).
5986 2011-09-10 Juri Linkov <juri@jurta.org>
5988 * paren.el (show-paren-function): Don't show escaped parens.
5989 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5991 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5993 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5994 (mm-default-file-encoding): Remove autoload forms, they are
5995 replaced with autoload cookies in mml.el and mm-encode.el.
5996 (mail-add-attachment): New command.
5997 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5998 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6000 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6002 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6004 * simple.el (count-words-region): Use buffer if there's no region
6007 2011-09-09 Juri Linkov <juri@jurta.org>
6009 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6010 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6011 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6013 2011-09-09 Alan Mackenzie <acm@muc.de>
6015 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6016 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6018 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6020 Fix for Savannah bug#9392.
6021 * simple.el (mail-encode-mml): New defvar.
6023 * mail/rmail.el (mail-encode-mml): Add a defvar.
6024 (rmail-enable-mime-composing): Default to t.
6025 (rmail-forward): Use MIME method of forwarding only if both
6026 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6027 Set mail-encode-mml non-nil if the MIME method was used.
6029 * mail/sendmail.el (mml-to-mime): Add autoload form.
6030 (mail-encode-mml): Add a defvar.
6031 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6033 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6034 message through mml-to-mime, and reset mail-encode-mml to nil.
6036 2011-09-09 Glenn Morris <rgm@gnu.org>
6038 * woman.el (woman-if-body): When processing an .el block,
6039 do not delete the next .el block as well. (Bug#9447)
6040 (woman-special-characters): Add oq, cq, and hy characters.
6042 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6044 * window.el (window-deletable-p): Make sure window is live before
6045 invoking window-prev-buffers.
6047 2011-09-08 Leo Liu <sdl.web@gmail.com>
6049 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6051 2011-09-08 Juri Linkov <juri@jurta.org>
6053 * progmodes/compile.el (compilation-environment): Make it
6054 a defcustom (bug#8340).
6056 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6058 * window.el (frame-auto-delete): Rename to window-auto-delete.
6059 Make it control auto-deletion of windows and/or frames.
6060 (window-deletable-p): New argument FORCE. Rewrite conditions
6061 for deleting window/frame. (Bug#9419)
6062 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6063 Rewrite handling of case when window/frame can be deleted.
6064 (delete-windows-on): Call window-deletable-p with new FORCE
6065 argument t. (Bug#9456)
6067 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6069 * help-mode.el (help-mode): Restore autoload.
6071 2011-09-07 Juri Linkov <juri@jurta.org>
6073 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6074 `compilation-environment'. Set buffer-local
6075 `compilation-environment' to `thisenv' later after (funcall mode).
6078 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6079 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6080 instead of replacing its value. (Bug#8340)
6082 2011-09-07 Juri Linkov <juri@jurta.org>
6084 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6085 based on text properties put by `grep-filter' instead of matching
6087 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6088 to the value of `grep-error-screen-columns' (bug#9438).
6090 2011-09-07 Juri Linkov <juri@jurta.org>
6092 * simple.el (next-error-highlight, next-error-highlight-no-select):
6095 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6097 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6098 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6100 2011-09-07 Leo Liu <sdl.web@gmail.com>
6102 * net/rcirc.el (rcirc-mode): Conditionally initialize
6105 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * emacs-lisp/find-func.el (find-function-C-source): Only set
6108 find-function-C-source-directory after checking that we found a source
6109 file there (bug#9440).
6111 2011-09-06 Alan Mackenzie <acm@muc.de>
6113 * isearch.el (isearch-other-meta-char): Wherever a key list is
6114 unread, "unread" the prefix arg, too. This fixes bug #8901.
6116 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6118 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6120 2011-09-05 Juri Linkov <juri@jurta.org>
6122 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6124 2011-09-05 Juri Linkov <juri@jurta.org>
6126 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6127 keeping point where processing of grep matches begins, and
6128 continue to delete remaining escape sequences from the same point.
6129 (grep-filter): Make leading zero optional in "0?1;31m" because
6130 git-grep emits "\033[1;31m" escape sequences unlike expected
6131 "\033[01;31m" as GNU Grep does (bug#9408).
6132 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6134 2011-09-05 Juri Linkov <juri@jurta.org>
6136 * subr.el (y-or-n-p): Capitalize "yes".
6138 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6140 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6141 `tramp-cache-unload-hook' where appropriate.
6142 (tramp-methods): Rename `tramp-remote-sh' to
6143 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6144 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6146 * net/tramp-sh.el (top): Don't require 'shell.
6147 (tramp-methods): Add `tramp-remote-shell' and
6148 `tramp-remote-shell-args' entries.
6149 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6150 (tramp-sh-handle-shell-command): Remove.
6151 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6152 Use `tramp-remote-shell'.
6154 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6156 * mail/sendmail.el (sendmail-query-once-function): Delete.
6157 (sendmail-query-once): Save directly to send-mail-function.
6158 Update message-send-mail-function too.
6160 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6162 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6164 * progmodes/python.el (python-mode-map): Use correct function to
6165 start python interpreter from menu-bar (as reported by Geert
6167 (inferior-python-mode-map): Fix typo.
6168 (python-shell-map): Remove.
6170 2011-09-03 Deniz Dogan <deniz@dogan.se>
6172 * net/rcirc.el (rcirc-print): Simplify code for
6173 rcirc-scroll-show-maximum-output. There is no need to walk
6174 through all windows to find the right one.
6176 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6178 * help.el (help-return-method): Doc fix.
6180 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6182 * window.el (window-deletable-p): Don't return a non-nil value
6183 when there's a buffer that was shown in the window before.
6185 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6186 Set window's previous buffers to nil.
6188 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6190 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6191 newline before and after the tag line, so it doesn't interfere
6192 with determining the paragraph direction of bidirectional text.
6194 2011-09-03 Leo Liu <sdl.web@gmail.com>
6196 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6198 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6200 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6201 (pop-to-buffer): Change interactive spec. Pass second argument
6202 directly to display-buffer.
6203 (display-buffer): Fix interactive spec. Use functionp to
6204 distinguish between a function and a list of functions.
6206 * abbrev.el (edit-abbrevs):
6207 * arc-mode.el (archive-extract):
6208 * autoinsert.el (auto-insert):
6209 * bookmark.el (bookmark-bmenu-list):
6210 * files.el (find-file):
6211 * view.el (view-buffer):
6212 * progmodes/compile.el (compilation-goto-locus):
6213 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6215 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6217 * window.el (display-buffer-alist): Doc fix.
6218 (display-buffer): Add docstring. Don't treat
6219 display-buffer-default specially.
6220 (display-buffer-reuse-selected-window)
6221 (display-buffer-same-window, display-buffer-maybe-same-window)
6222 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6223 (display-buffer-pop-up-window)
6224 (display-buffer-reuse-or-pop-window)
6225 (display-buffer-use-some-window): New functions.
6226 (display-buffer-default-action): Use them.
6227 (display-buffer-default): Delete.
6228 (pop-to-buffer-1): Fix choice of actions.
6230 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6232 * minibuffer.el (completion--insert-strings): Don't get confused by
6233 completion entries that end with an LF char.
6235 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6237 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6239 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6241 * window.el (display-buffer): Restore interactive spec.
6242 (display-buffer-same-window, display-buffer-other-window):
6244 (pop-to-buffer-1): New function. Use the above.
6245 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6246 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6248 * view.el (view-buffer-other-window, view-buffer-other-frame):
6249 Just use pop-to-buffer.
6251 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6253 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6255 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6257 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6259 2011-08-31 Richard Stallman <rms@gnu.org>
6261 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6262 of the separation of rmail-view-buffer from rmail-buffer.
6263 If you say no to "replace original", the decrypt is in the
6264 view buffer. If you say yes, the decrypt goes into the
6267 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6269 * window.el (display-buffer-window): Rewrite doc-string.
6270 (display-buffer-record-window): New function.
6271 (display-buffer-macro-specifiers)
6272 (display-buffer-even-window-sizes, display-buffer-set-height)
6273 (display-buffer-set-width, display-buffer-in-window)
6274 (display-buffer-reuse-window, display-buffer-split-specifiers)
6275 (display-buffer-side-specifiers, display-buffer-split-window-1)
6276 (display-buffer-split-window, display-buffer-split-atom-window)
6277 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6278 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6279 (display-buffer-other-window-means-other-frame)
6280 (display-buffer-normalize-special)
6281 (display-buffer-normalize-default)
6282 (display-buffer-normalize-argument)
6283 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6284 (display-buffer-normalize-specifiers, display-buffer-frame)
6285 (display-buffer-same-window, display-buffer-same-frame)
6286 (display-buffer-other-window)
6287 (display-buffer-same-frame-other-window)
6288 (display-buffer-other-frame, pop-to-buffer-same-window)
6289 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6290 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6291 (switch-to-buffer-same-frame)
6292 (switch-to-buffer-other-window-same-frame)
6293 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6294 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6295 (display-buffer-alist-set): Remove.
6296 (display-buffer-function, special-display-buffer-names)
6297 (special-display-regexps, special-display-function):
6298 In doc-string refer to display-buffer-window and quit-restore
6300 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6301 (special-display-frame-alist, special-display-popup-frame)
6302 (same-window-buffer-names, same-window-regexps, same-window-p)
6303 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6304 (split-window-preferred-function, split-height-threshold)
6305 (split-width-threshold, window-splittable-p)
6306 (split-window-sensibly, window--try-to-split-window)
6307 (window--frame-usable-p, even-window-heights)
6308 (window--even-window-heights, window--display-buffer-1)
6309 (window--display-buffer-2, display-buffer-other-frame):
6310 Restore old Emacs 23 code, order and doc-strings where applicable.
6311 (display-buffer-default, display-buffer-assq-regexp): New functions.
6312 (display-buffer-alist): Rewrite doc-string.
6313 (display-buffer-default-action)
6314 (display-buffer-overriding-action): New variables.
6315 (display-buffer, switch-to-buffer): Rewrite.
6316 (pop-to-buffer): Restore Emacs 23 behavior but use
6317 window-normalize-buffer-to-display.
6318 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6319 Restore Emacs 23 behavior but use
6320 window-normalize-buffer-to-switch-to.
6321 (pop-to-buffer-same-window): Rewrite.
6322 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6323 Rewrite using Emacs 23 options.
6325 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6327 * net/tramp.el (tramp-root-regexp): Remove.
6328 (tramp-completion-file-name-regexp-unified)
6329 (tramp-completion-file-name-regexp-separate)
6330 (tramp-completion-file-name-regexp-url): Don't use leading volume
6331 letter on win32 systems. (Bug#5303, Bug#9311)
6332 (tramp-drop-volume-letter): Simplify definition.
6333 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6335 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6340 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6342 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6344 2011-08-29 Juri Linkov <juri@jurta.org>
6346 * isearch.el (isearch-done): Don't display message "Mark saved"
6347 when arg `edit' is non-nil to prevent its flicker in the echo area.
6349 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6351 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6352 obsolete packages for deletion.
6354 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6356 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6357 (help-mode): Derive help-mode from special-mode. Don't invoke
6358 view-mode from help-mode.
6359 (help-xref-override-view-map): Remove.
6360 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6361 view-mode is not used anymore.
6363 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6365 * server.el (server-port): Doc fix.
6367 * cus-theme.el (custom-theme-choose-mode): Inherit from
6368 special-mode (Bug#9124).
6369 (custom-theme-choose-mode-map): Add special-mode to parent.
6371 2011-08-28 Alan Mackenzie <acm@muc.de>
6373 * progmodes/cc-fonts.el
6374 (c-make-font-lock-BO-decl-search-function): New function.
6375 (c-basic-matchers-after - "Fontify the clauses after various
6376 keywords"): Extract the three keyword lists for the 3 erroneous
6377 constructs from the list of four, and use the new function above
6378 in place of an old one.
6380 2011-08-28 Deniz Dogan <deniz@dogan.se>
6382 * net/rcirc.el (rcirc-insert-prev-input)
6383 (rcirc-insert-next-input): Remove unused argument.
6385 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6387 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6389 2011-08-27 Alan Mackenzie <acm@muc.de>
6391 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6392 handle function pointer parameters properly.
6394 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6396 * window.el (display-buffer-reuse-window): Fix case where
6397 selected window was reused with non-nil OTHER-WINDOW argument.
6400 2011-08-27 Deniz Dogan <deniz@dogan.se>
6402 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6403 oftc's NickServ messages.
6405 2011-08-27 Glenn Morris <rgm@gnu.org>
6407 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6409 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6411 * emacs-lisp/package.el (package-install): Call package-initialize
6412 if called interactively.
6414 2011-08-26 Leo Liu <sdl.web@gmail.com>
6416 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6418 2011-08-25 Juri Linkov <juri@jurta.org>
6420 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6421 `search-whitespace-regexp' (bug#9364).
6423 2011-08-25 Juri Linkov <juri@jurta.org>
6425 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6426 `regexp-search-ring' to their global values to protect from
6427 updating by `read-from-minibuffer' (bug#9185).
6429 2011-08-25 Juri Linkov <juri@jurta.org>
6431 * textmodes/ispell.el (ispell-command-loop): Add newline
6432 at the end of the "Use option `i'..." line.
6434 2011-08-25 Juri Linkov <juri@jurta.org>
6436 * battery.el (display-battery-mode): If `battery-status-function'
6437 or `battery-mode-line-format' is nil, display the message and set
6438 `display-battery-mode' to nil (bug#9363).
6440 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6442 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6443 bidi-string-mark-left-to-right; they are unnecessary now.
6445 2011-08-25 Deniz Dogan <deniz@dogan.se>
6447 * net/quickurl.el: Documentation typo fixes.
6449 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6451 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6453 2011-08-25 Glenn Morris <rgm@gnu.org>
6455 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6457 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6458 (smtpmail-via-smtp): Handle nil response from smtp.
6460 2011-08-24 Juri Linkov <juri@jurta.org>
6462 * proced.el (proced-marked): Inherit from `error' instead of
6463 `font-lock-warning-face'.
6465 * ibuffer.el (ibuffer-marked-face): Change default face from
6466 `font-lock-warning-face' to `warning'.
6467 (ibuffer-deletion-face): Change default face from
6468 `font-lock-type-face' to `error'.
6470 * battery.el (battery-update): Use the face `error' instead of
6471 `font-lock-warning-face' (bug#6117).
6473 2011-08-24 Juri Linkov <juri@jurta.org>
6475 * faces.el (success): Change face color from "Green3" to
6476 "ForestGreen" on light background (bug#9353).
6478 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6480 * window.el (quit-window): Rename from quit-restore-window.
6481 Use same arglist as old quit-window.
6482 (frame-auto-delete): Doc fix.
6484 * view.el (view-mode-exit): Use quit-window.
6486 2011-08-24 Juri Linkov <juri@jurta.org>
6488 * isearch.el (isearch-ring-adjust1): Start visiting previous
6489 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6490 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6491 for empty search string (when the last search string is reused
6492 automatically) to adjust the isearch ring to the last element and
6493 prepare the correct index for further M-p commands (bug#9185).
6495 2011-08-24 Kenichi Handa <handa@m17n.org>
6497 * international/ucs-normalize.el: If decomposition property of
6498 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6500 (nfd, nfkd): Likewise.
6502 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6504 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6505 from process filters aren't reliably transmitted to the surrounding
6506 accept-process-output.
6507 (mpc-proc-check): New function.
6508 (mpc-proc-sync): Use it (bug#8293)
6510 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6512 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6513 Add compatibility functions (bug#9313).
6515 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6517 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6519 * international/uni-bidi.el: Regenerate.
6521 2011-08-23 Kenichi Handa <handa@m17n.org>
6523 * international/charprop.el:
6524 * international/uni-bidi.el:
6525 * international/uni-category.el:
6526 * international/uni-combining.el:
6527 * international/uni-comment.el:
6528 * international/uni-decimal.el:
6529 * international/uni-decomposition.el:
6530 * international/uni-digit.el:
6531 * international/uni-lowercase.el:
6532 * international/uni-mirrored.el:
6533 * international/uni-name.el:
6534 * international/uni-numeric.el:
6535 * international/uni-old-name.el:
6536 * international/uni-titlecase.el:
6537 * international/uni-uppercase.el: Regenerate.
6539 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6541 * help.el (help-window-setup): Fix message displayed when other
6542 window is reused. (Bug#9341)
6544 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6547 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6549 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6551 * shell.el (shell-parse-pcomplete-arguments): New function.
6552 (shell-completion-vars): Use it instead (bug#9160).
6554 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6556 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6557 strings and comments (bug#9333).
6559 * emacs-lisp/debug.el (debug-arglist): New function.
6560 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6561 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6563 2011-08-22 Juri Linkov <juri@jurta.org>
6565 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6566 Revert regexp that highlights output switches to its old
6567 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6569 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6570 to check for empty output (bug#9226).
6572 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6574 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6575 symbol-constituent as the default, as that stops font-lock from
6576 working properly (Bug#8843).
6578 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6580 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6581 `coding-system-for-*' around the process open call to avoid
6582 auth-source side effects.
6583 (smtpmail-try-auth-methods): Expand the secret password.
6584 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6587 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6589 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6591 * emacs-lisp/find-func.el (find-function-noselect): New arg
6594 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6595 signal an error for built-in functions (Bug#6664).
6597 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6600 (smtpmail-try-auth-methods): Use it.
6602 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6604 * font-lock.el (font-lock-fontify-region)
6605 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6606 (font-lock-default-unfontify-buffer)
6607 (font-lock-default-fontify-region)
6608 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6610 * progmodes/compile.el (compilation-error-properties):
6611 Fix confusion between file struct and message struct (Bug#9319).
6612 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6615 * net/browse-url.el (browse-url-firefox): Don't call
6616 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6618 2011-08-20 Glenn Morris <rgm@gnu.org>
6620 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6622 * tutorial.el (tutorial--default-keys): Update some default bindings.
6624 * files.el (hack-local-variables): Fully ignore case for "mode:".
6626 2011-08-20 Alan Mackenzie <acm@muc.de>
6628 Resolve invalid use of a regexp in regexp-opt.
6630 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6631 detection for a java annotation.
6633 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6634 detection for a java annotation.
6636 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6638 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6640 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6642 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6645 2011-08-20 Alan Mackenzie <acm@muc.de>
6647 Fontify CPP expressions correctly when starting in the middle of
6648 such a construct. Mainly for when jit-lock etc. starts a chunk
6651 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6653 (c-make-font-lock-search-form): New function, extracted from
6654 c-make-font-lock-search-function.
6655 (c-make-font-lock-search-function): Use the above function.
6656 (c-make-font-lock-context-search-function): New function.
6657 (c-cpp-matchers): Enhance the preprocessor expression case with
6659 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6660 which takes an expression.
6662 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6664 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6666 * window.el (display-buffer-reuse-window)
6667 (display-buffer-pop-up-window): Don't reuse or split a side
6670 2011-08-19 Glenn Morris <rgm@gnu.org>
6672 * files.el (hack-local-variables-prop-line, hack-local-variables):
6673 Downcase "Mode:". (Bug#9331)
6675 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6677 * international/characters.el: Add L and R categories.
6679 * subr.el (bidi-string-mark-left-to-right): Rename from
6680 string-mark-left-to-right. Use category search.
6682 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6684 2011-08-18 Juri Linkov <juri@jurta.org>
6686 * faces.el (error, warning, success): New faces with definitions
6687 copied from old default values of `font-lock-warning-face',
6688 `compilation-warning', `compilation-info' (bug#6117).
6690 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6692 * progmodes/compile.el (compilation-error): Inherit from `error'.
6693 (compilation-warning): Inherit from `warning'.
6694 (compilation-info): Inherit from `success'.
6696 * dired.el (dired-marked): Inherit from `warning'.
6697 (dired-flagged): Inherit from `error'.
6699 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6701 * mail/smtpmail.el (auth-source): Require to avoid problems with
6702 binding variables (bug#9298). Also clean up some unused
6705 * net/network-stream.el (network-stream-open-starttls):
6706 Support using starttls.el without using gnutls-cli.
6708 2011-08-17 Juri Linkov <juri@jurta.org>
6710 * progmodes/grep.el (rgrep): Handle the case when
6711 `grep-find-command' is a cons cell (bug#9278).
6713 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6715 * window.el (display-buffer-pop-up-frame): Run frame creation
6716 function with BUFFER current (as special-display-popup-frame
6717 does). Reported by Drew Adams.
6719 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6721 * epa-mail.el: Simplify GnuPG group expansion using
6723 (epa-mail-group-alist, epa-mail-group-modtime)
6724 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6725 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6726 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6729 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6731 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6733 2011-08-16 Alan Mackenzie <acm@muc.de>
6735 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6736 Correct, to avoid the inside of macros.
6738 2011-08-16 Richard Stallman <rms@gnu.org>
6740 * epa-mail.el: Handle GnuPG group definitions.
6741 (epa-mail-group-alist, epa-mail-group-modtime)
6742 (epa-mail-gnupg-conf-file): New variables.
6743 (epa-mail-parse-groups, epa-mail-sync-groups)
6744 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6745 (epa-mail-expand-recipients): New functions.
6746 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6748 * mail/rmail.el (rmail-epa-decrypt): New command.
6750 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6751 Don't bind buffer-read-only, just inhibit-read-only.
6752 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6753 (epa-decrypt-armor-in-region): Make error message clearer.
6755 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6758 and "a2b" to "ab" for `prefix'.
6760 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6762 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6764 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6765 Fourquet (Bug#8804).
6767 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6769 * startup.el (argi): Declare as global variable (bug#9275).
6771 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6773 * subr.el (string-mark-left-to-right): Search the entire string
6774 for RTL script, not just the terminating character. Doc fix.
6776 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6780 (js--regexp-literal, js-syntax-propertize-function): Remove.
6781 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6782 (js-mode-map): Don't rebind electric keys.
6783 (js-insert-and-indent): Remove.
6784 (js-mode): Setup electric-layout and electric-indent instead.
6786 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6788 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6790 * epa.el (epa-progress-callback-function): Fix the logic of
6791 displaying progress.
6792 * epa-file.el (epa-file-insert-file-contents): Make progress
6793 display more user-friendly.
6794 (epa-file-write-region): Ditto.
6796 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6798 * subr.el (string-mark-left-to-right): New function.
6800 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6801 Use string-mark-left-to-right.
6802 (list-buffers-noselect): Caller changed.
6804 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6805 Use string-mark-left-to-right.
6806 (tabulated-list-print): Recenter after moving point.
6808 2011-08-10 Juri Linkov <juri@jurta.org>
6810 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6811 This finishes incomplete reversion of revno:104787 (2011-06-30)
6812 intended by revno:104988 (2011-07-06).
6814 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6816 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6819 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6821 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6822 character. (Bug#6594)
6824 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6826 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6827 (image-dired--with-db-file): New macro.
6828 (image-dired-write-tags, image-dired-remove-tag)
6829 (image-dired-create-gallery-lists, image-dired-write-comments)
6830 (image-dired-get-comment, image-dired-mark-tagged-files)
6831 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6832 (image-dired-gallery-generate): Use insert-file-contents.
6834 * time.el (display-time-world-list, display-time-world-display):
6835 * time-stamp.el (time-stamp-string):
6836 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6837 set-time-zone-rule (Bug#7337).
6839 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6841 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6842 (epg-error-to-string, epg-errors-to-string): New function.
6843 (epg-wait-for-completion): Reverse errors list.
6844 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6845 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6846 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6847 (epg-sign-keys, epg-generate-key-from-file)
6848 (epg-generate-key-from-string): Format errors by using
6849 epg-errors-to-string (bug#9255).
6850 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6852 2011-08-07 Juri Linkov <juri@jurta.org>
6854 * faces.el (list-faces-display): Remove extra angle bracket
6855 from `help-mode-map'.
6857 * info.el (Info-history-toc-nodes): Doc fix.
6859 * longlines.el (longlines-mode): Doc fix.
6861 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6864 of statements and in a few more cases (bug#9183).
6866 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6868 (cl-transform-lambda): Use them (bug#9239).
6870 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6872 * window.el (display-buffer-same-window)
6873 (display-buffer-same-frame, display-buffer-other-window)
6874 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6875 (pop-to-buffer-other-window)
6876 (pop-to-buffer-same-frame-other-window)
6877 (pop-to-buffer-other-frame): Make them defuns.
6878 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6880 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * subr.el (make-composed-keymap): Move from C. Change calling
6883 convention, and improve docstring to bring attention to a subtle point.
6884 * minibuffer.el (completing-read-default): Adjust accordingly.
6886 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6888 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6889 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6891 * net/trampver.el: Update release number.
6893 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6895 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6898 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6900 * mail/sendmail.el (sendmail-query-once): Restore the current
6901 buffer after querying (bug#9074).
6903 * dired.el (dired-flagged): Use different faces for marked and
6904 flagged files (bug#6117).
6906 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6909 * ido.el (ido-mode): Switch off the message if called
6912 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6913 before 587, since it appears that that's more likely to work for
6916 * cus-edit.el (custom-file): When running under emacs -q, always
6917 refuse to save the customizations, even if the .emacs file doesn't
6920 * info.el: Remove the `Info-beginning-of-buffer' function
6923 * net/network-stream.el (network-stream-open-starttls):
6924 Use `starttls-available-p' to see whether starttls.el can be used.
6926 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6928 * window.el (display-buffer-in-window): Don't set dedicated status
6929 of window here (Bug#9215).
6930 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6931 (display-buffer-pop-up-side-window)
6932 (display-buffer-in-side-window): Set dedicated status of window here.
6934 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6937 before binding generated-autoload-file.
6939 2011-08-01 Deniz Dogan <deniz@dogan.se>
6941 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6943 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6945 Sync with Tramp 2.2.2.
6947 * net/trampver.el: Update release number.
6949 2011-07-30 Juri Linkov <juri@jurta.org>
6951 * dired-aux.el (dired-touch-initial): Remove function.
6952 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6953 current time, and `default' to the last modification time of the
6954 current marked file (bug#6887).
6956 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6958 * simple.el (goto-line): Use string-to-number to provide a
6959 numeric argument to read-number (bug#9163).
6961 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6963 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6964 connection process, it could be nil.
6966 2011-07-27 Leo Liu <sdl.web@gmail.com>
6968 Simplify url handling in rcirc-mode.
6970 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6971 (rcirc-browse-url-at-mouse): Remove.
6972 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6974 2011-07-26 Alan Mackenzie <acm@muc.de>
6976 Fontify bitfield declarations properly.
6978 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6979 (c-symbol-chars): Now exported as a lang variable.
6980 (c-not-primitive-type-keywords): New lang variable.
6982 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6983 QT keyword "more" to prevent "more slots: ...." being spuriously
6984 parsed as a bitfield declaration.
6986 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6987 Refactor and enhance to handle bitfield declarations.
6988 (c-punctuation-in): New function.
6989 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6990 declarations properly.
6992 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6994 * calendar/icalendar.el (icalendar--all-events): Take care of
6995 multiple vcalendars in a single file.
6996 (icalendar--convert-float-to-ical): Checkdoc fixes.
6998 2011-07-25 Deniz Dogan <deniz@dogan.se>
7000 * image.el (insert-image): Clarifying docstring.
7002 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7004 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7005 `tramp-send-command-and-check' if there is no error.
7006 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7008 2011-07-22 Alan Mackenzie <acm@muc.de>
7010 Prevent cc-langs.elc being loaded at run time.
7012 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7015 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7016 "(require 'cc-langs)". Quote a form so it will evaluate at
7017 (cc-mode's) compilation time.
7019 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7021 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7024 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7026 * window.el (display-buffer-pop-up-window)
7027 (display-buffer-pop-up-side-window)
7028 (display-buffer-in-side-window): Call display-buffer-set-height
7029 and display-buffer-set-width after setting the new window's
7030 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7032 2011-07-20 Sam Steingold <sds@gnu.org>
7034 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7035 (etags-tags-included-tables): Call `convert-standard-filename' on
7036 the file names contained in TAGS so that windows Emacs can handle
7037 TAGS files created by cygwin ctags.
7039 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7041 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7042 which apparently didn't work.
7044 2011-07-19 Roland Winkler <winkler@gnu.org>
7046 * proced.el (proced-send-signal): For *Marked Processes* buffer
7047 put point at beginning of buffer.
7049 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7051 * proced.el (proced-format): Make header lines align with the text
7054 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7056 * view.el (view-buffer): Allow running in `special' modes if we're
7057 visiting a file (bug#8615).
7059 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7061 * window.el (display-buffer-alist-of-strings-p)
7062 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7064 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7067 2011-07-18 Alan Mackenzie <acm@muc.de>
7069 Fontify declarators properly when, e.g., a jit-lock chunk begins
7070 inside a declaration.
7072 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7074 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7076 (c-complex-decl-matchers): Insert reference to
7077 c-font-lock-enclosing-decls.
7079 * progmodes/cc-engine.el (c-backward-single-comment):
7080 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7081 to nil around calls to (forward-comment -1).
7083 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085 * image.el (put-image): Doc typo fix.
7087 * progmodes/etags.el (tags-search): Doc typo fix.
7089 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7090 password if we get errors 550 to 554.
7092 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094 * net/gnutls.el (gnutls-log-level): Remove.
7096 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7097 indentation character (bug#6380).
7099 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7101 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7102 to clarify what the problem is (bug#4291).
7104 * simple.el (current-kill): Clarify what
7105 `interprogram-paste-function' does (bug#7500).
7106 (auto-fill-mode): Document `auto-fill-function' in relation to
7107 `auto-fill-mode' (bug#2470).
7109 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7111 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7112 method if slot is read-only (bug#9035).
7114 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7116 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7117 * window.el (pop-to-buffer): Select window used even if it was
7118 selected before, see discussion of (Bug#8615), (Bug#6954).
7119 Pass argument NORECORD on to select-frame-set-input-focus.
7121 2011-07-15 Glenn Morris <rgm@gnu.org>
7123 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7126 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7128 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7129 (gnutls-negotiate): Use it.
7131 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7133 * net/gnutls.el (gnutls-negotiate):
7134 Upcase `gnutls-algorithm-priority'.
7136 2011-07-15 Glenn Morris <rgm@gnu.org>
7138 * jka-compr.el (jka-compr-verbose): Move from here...
7139 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7140 Add missing :version tag.
7141 * info.el: No need to require jka-compr when compiling.
7143 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7146 (gnutls-negotiate): Use it.
7148 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7150 * info.el (Info-beginning-of-buffer): New command.
7151 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7152 announcing `b' as the key (bug#8325).
7153 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7155 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7157 * international/mule-cmds.el
7158 (describe-specified-language-support): Make the error message
7161 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7163 * isearch.el (isearch-barrier): Add a doc string, since it's
7164 mentioned in a function doc string (bug#8678).
7166 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7168 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7169 buffer argument (Bug#9083) and self-identifying label argument.
7171 2011-07-15 Glenn Morris <rgm@gnu.org>
7173 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7175 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7177 * man.el (Man-fontify-manpage): Fix message when formatting the
7178 man page (bug#7929).
7180 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7182 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7183 argument LRM; if non-nil, append an invisible LRM character to the
7185 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7186 last argument non-nil, when formatting buffer names.
7187 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7188 paragraph direction.
7190 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7193 the man page name (bug#7929).
7195 * image.el (put-image): Mention the `put-image' overlay property
7198 * scroll-bar.el (set-scroll-bar-mode): Mention that
7199 `scroll-bar-mode' lists the values (bug#7772).
7201 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7204 * rect.el (apply-on-rectangle): Return the point after the last
7206 (string-rectangle): Go to the point after the last operation
7209 * printing.el (pr-toggle-region): Clarify the documentation
7210 slightly (bug#7493).
7212 * time.el (display-time-update):
7213 Allow `display-time-mail-function' to return nil (bug#7158).
7214 Fix suggested by Detlev Zundel.
7216 * vc/diff.el (diff): Clarify the order the file names are read
7219 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7220 the doc string (bug#7015).
7222 * font-lock.el (font-lock-maximum-decoration): Mention what
7223 numeric levels mean (bug#6935).
7225 * startup.el (initial-buffer-choice): Don't mention the `none'
7226 selection, which is against policy.
7228 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7230 * window.el (display-buffer-normalize-special):
7231 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7233 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7235 * subr.el (version<, version<=, version=): Mention "-CVS" and
7236 "-12345" alpha version numbers.
7238 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7240 * bindings.el: Add advertised binding for set-mark-command
7243 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7245 * bindings.el (mode-line-other-buffer):
7246 * bookmark.el (bookmark-bmenu-2-window):
7247 * bs.el (bs-cycle-next, bs-cycle-previous):
7248 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7251 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7254 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7256 * follow.el (follow-debug-message, follow-redisplay):
7257 * jka-cmpr-hook.el (with-auto-compression-mode):
7258 Fix typos in docstrings.
7260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7262 * subr.el (with-silent-modifications): Clarify somewhat what the
7263 macro inhibits (bug#6525).
7265 * simple.el (eval-expression): Note what it does if called
7266 interactively (bug#6495).
7268 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7270 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7271 Use pop-to-buffer buffer-or-name if it is nil.
7273 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7274 Remove switch-to-buffer.
7276 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278 * files.el (make-directory): Clarify that an error will be raised
7279 if there's an error (bug#6397).
7281 * startup.el (initial-buffer-choice): Add `none' as a choice
7284 * subr.el (add-hook): Clarify section about buffer-local hooks
7287 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7289 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7291 * tabify.el (untabify): Preserve the current column so that point
7292 doesn't move (bug#6032).
7294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7297 Rewrite to avoid awkward possessive "s" (bug#5986).
7299 2011-07-13 Glenn Morris <rgm@gnu.org>
7301 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7302 (dired-insert-directory): Give a message the first time
7303 if ls is found not to support --dired.
7305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7307 * simple.el (toggle-truncate-lines): Clarify what is toggled
7308 (bug#5580). Text by Drew Adams.
7310 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7312 * simple.el (blink-matching-open): Make the error message from the
7313 last change less verbose.
7315 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7317 * font-lock.el (font-lock-comment-face): Use the high contrast
7318 "yellow" color for font-lock-comment-face on low color terminals
7319 using a dark background color (bug#4221).
7321 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7323 * dired.el (dired-insert-set-properties): Make the doc string
7324 reflect what it does now (bug#5325).
7326 * simple.el (blink-matching-open): Say that we were unable to find
7327 the match within the limit, if we're limited (bug#5122).
7329 * international/mule-cmds.el (prefer-coding-system): Add an
7332 * progmodes/etags.el (tags-search): Document `file-list-form'
7335 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7337 * net/browse-url.el (browse-url-default-browser)
7338 (browse-url-browser-function): Make the default browser choice a
7339 bit more logical (bug#4300). Also clean up the doc string.
7341 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7343 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7344 binary endings (bug#4440).
7346 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7349 which can be pretty annoying (bug#8971).
7351 * jka-compr.el (jka-compr-verbose): New variable, and use
7352 throughout (bug#8971).
7354 * info.el (Info-find-file): Fall back on the installation
7355 directory if we can't find the info node anywhere else.
7357 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7359 * vc/vc.el (vc-revert-file):
7360 Don't set file time-stamp in the past. (Bug#5181)
7362 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7364 * files.el (after-find-file): Give a better error message when
7365 trying to find a symlink that points to a file that doesn't exist
7368 * progmodes/cc-vars.el: Remove (probably) misleading comment
7371 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7373 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7375 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7377 * mouse-sel.el: Hack restoring functionality, while keeping
7378 compatibility with 2010-07-03 changes to mouse selection.
7379 (mouse-sel-primary-overlay): New var.
7380 (mouse-sel-selection-alist): Use it.
7381 (mouse-sel-mode): Doc fix; remove points that are default features
7384 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7386 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7387 Fix previous fix (bug#2490).
7389 2011-07-12 Roland Winkler <winkler@gnu.org>
7391 * textmodes/bibtex.el (bibtex-initialize):
7392 Use pop-to-buffer-same-window.
7393 (bibtex-search-entries): Fix interactive call.
7395 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7398 Fontise bytecomp Error lines more correctly (bug#2490).
7399 Fix suggested by Johan Bockgård.
7401 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7403 * dired-x.el (dired-guess-default): Use `delete-dups'.
7405 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7407 * dired.el (dired-mark-prompt):
7408 * dired-aux.el (dired-read-shell-command): Doc fix.
7410 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412 * mail/sendmail.el (sendmail-query-once):
7413 Use `customize-save-variable' unconditionally, now that it works under
7416 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7418 * cus-edit.el (custom-file): Take an optional no-error variable.
7419 (customize-save-variable): Set the variable, and give a warning if
7420 running under "emacs -q".
7422 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7424 * loadhist.el (unload-feature-special-hooks):
7425 Add `auto-coding-functions', `fill-nobreak-predicate' and
7426 `find-directory-functions' (bug#5327).
7428 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7430 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7432 * cus-edit.el (custom-guess-name-alist): -alist variables should
7433 use the `alist' type (bug#3120). Suggested by Drew Adams.
7435 * printing.el: Add documentation to all the `pr-toggle-' commands.
7437 2011-07-11 Leo Liu <sdl.web@gmail.com>
7439 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7440 backends where it makes sense (bug#2623).
7442 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7444 * dired-x.el (dired-guess-default): Remove duplicate shell command
7446 (dired-guess-default): Fix grammar in doc string (bug#2028).
7447 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7449 * subr.el (remove-duplicates): New conveniency function.
7451 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7453 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7456 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7458 * window.el (display-buffer-normalize-default): Don't invert
7459 meaning of even-window-heights. Reported by Eli Zaretskii
7462 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7464 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7466 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7468 * window.el (display-buffer): Fix arguments to
7469 display-buffer-reuse-window in last change.
7471 * faces.el (link): Use a less saturated blue on light backgrounds.
7473 * startup.el (fancy-startup-text, fancy-about-text)
7474 (fancy-startup-tail): Use font-lock faces, for background safety.
7476 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7478 * emulation/viper-cmd.el (viper-change-state-to-vi):
7479 Limit triggering of abbrev expansion (Bug#9038).
7481 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7483 * window.el (display-buffer-default-specifiers): Remove.
7484 (display-buffer-macro-specifiers): Remove default specifiers.
7485 (display-buffer-alist): Default to nil.
7486 (display-buffer-reuse-window): New optional argument other-window.
7487 (display-buffer-pop-up-window): Allow splitting internal
7488 windows. Check whether a live window was created.
7489 (display-buffer-other-window-means-other-frame)
7490 (display-buffer-normalize-arguments): Rename to
7491 display-buffer-normalize-argument and rewrite. Set the
7492 other-window specifier.
7493 (display-buffer-normalize-special): New function.
7494 (display-buffer-normalize-options): Rename to
7495 display-buffer-normalize-default and rewrite.
7496 (display-buffer-normalize-options-inhibit): Remove.
7497 (display-buffer-normalize-specifiers): Rewrite.
7498 (display-buffer): Process other-window specifier and call
7499 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7501 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7502 (display-buffer-alist-set): Don't handle 'unset default values.
7503 (display-buffer-in-window, display-buffer-alist-set):
7504 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7505 <tassilo@member.fsf.org>.
7507 2011-07-09 Leo Liu <sdl.web@gmail.com>
7509 * register.el (insert-register): Restore accidental change on
7510 2011-06-26. (Bug#9028)
7512 2011-07-09 Glenn Morris <rgm@gnu.org>
7514 * subr.el (remq): Handle the empty list. (Bug#9024)
7516 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7518 * mail/sendmail.el (send-mail-function): No longer delay custom
7520 * custom.el (custom-initialize-delay): Doc fix.
7522 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7524 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7526 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7528 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7529 human-friendly prompt.
7531 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7534 provided by a particular plugin.
7536 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7539 save customizations (with "emacs -Q"), just set the variable
7540 instead of erroring out.
7542 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7544 2011-07-08 Juri Linkov <juri@jurta.org>
7546 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7547 (archive-zip-update-case): Use 7z if found by `executable-find'.
7548 The order of searching the available programs is the same as in
7549 `archive-zip-extract' (bug#8968).
7551 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7553 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7554 (menu-bar-options-menu): Tweak descriptions.
7556 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7559 menu items into verb phrases (bug#1421). Also refill to fit under
7562 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7564 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7565 (Info-read-node-name): Doc fix (Bug#1084).
7567 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7568 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7569 (end-of-sexp, beginning-of-sexp)
7570 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7571 (forward-symbol, forward-same-syntax, word-at-point)
7572 (sentence-at-point): Doc fix (Bug#1144).
7574 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7577 should cover it (bug#1281).
7579 * cus-edit.el (custom-show): Mark as obsolete.
7581 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7582 negotiation fails, then possibly try again with a non-encrypted
7583 connection (bug#9017).
7585 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7588 2011-07-07 Richard Stallman <rms@gnu.org>
7590 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7591 property, and handle its changed format.
7592 Look for the correct line number.
7593 Use file's line contents (but not past first =) to find
7594 correct line in message.
7596 2011-07-07 Kenichi Handa <handa@m17n.org>
7598 * international/characters.el (build-unicode-category-table):
7600 (unicode-category-table): Set it by unicode-property-table-internal.
7602 * international/mule-cmds.el (char-code-property-alist): Move to
7604 (get-char-code-property): Call unicode-property-table-internal to
7605 load a file. Call get-unicode-property-internal where necessary.
7606 (put-char-code-property): Call unicode-property-table-internal to
7607 load a file. Call put-unicode-property-internal where necessary.
7608 put-unicode-property-internal where necessary.
7609 (char-code-property-description):
7610 Call unicode-property-table-internal to load a file.
7612 * international/charprop.el:
7613 * international/uni-bidi.el:
7614 * international/uni-category.el:
7615 * international/uni-combining.el:
7616 * international/uni-comment.el:
7617 * international/uni-decimal.el:
7618 * international/uni-decomposition.el:
7619 * international/uni-digit.el:
7620 * international/uni-lowercase.el:
7621 * international/uni-mirrored.el:
7622 * international/uni-name.el:
7623 * international/uni-numeric.el:
7624 * international/uni-old-name.el:
7625 * international/uni-titlecase.el:
7626 * international/uni-uppercase.el: Regenerate.
7628 * loadup.el: Load international/charprop.el before
7629 international/characters.
7631 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7633 * window.el (next-buffer, previous-buffer): Signal an error if
7634 called from a minibuffer window.
7636 * bindings.el: Revert 2011-07-04 change.
7638 2011-07-06 Richard Stallman <rms@gnu.org>
7640 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7641 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7642 Treat markers like ints.
7643 (rmail-mime-entity): Doc fix.
7645 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7648 defcustom again for backwards compatibility.
7650 * simple.el (shell-command-on-region): Fill.
7652 * dired-aux.el (dired-kill-line): Add a doc string.
7654 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7655 to "\\sw\\|\\s_" (bug#358).
7657 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7658 (dired-unmark-backward): Ditto.
7659 (dired-flag-backup-files): Ditto.
7661 * dired-x.el (dired-mark-sexp): Ditto.
7663 2011-07-06 Richard Stallman <rms@gnu.org>
7665 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7666 (rmail-mime-entity): New arg TRUNCATED.
7667 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7669 (rmail-mime-save): Warn if entity is truncated.
7670 (rmail-mime-toggle-hidden): Likewise, for showing.
7671 (rmail-mime-process-multipart): Record when an entity is truncated.
7673 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7674 if ENTITY is a string.
7676 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7678 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7679 of faces when `M-C-x'-ing their definitions (bug#8378).
7680 Also clean up the code slightly.
7682 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7683 because that makes the colors go away.
7685 * mail/sendmail.el (send-mail-function): Change the default to
7686 `sendmail-query-once'.
7687 (sendmail-query-once): Add an autoload cookie.
7689 * net/network-stream.el (network-stream-open-starttls): Try using
7690 a plain connection even if the server offered STARTTLS, and we
7691 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7692 capability. This should make smtpmail.el work in slightly more
7695 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7697 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7699 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7701 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7703 * progmodes/sql.el: Version 3.0
7704 (sql-product-alist): Add product :completion-object,
7705 :completion-column, and :statement attributes.
7706 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7707 (sql-mode-syntax-table): Mark all punctuation.
7708 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7710 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7711 (sql-mode-oracle-font-lock-keywords): Improve.
7712 (sql-oracle-show-reserved-words): New function for development.
7713 (sql-product-font-lock): Simplify for source code buffers.
7714 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7716 (sql-highlight-product): Set product specific syntax table.
7717 (sql-mode-map): Add statement movement functions.
7718 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7720 (sql-statement-regexp, sql-beginning-of-statement)
7721 (sql-end-of-statement, sql-signum): New functions.
7722 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7723 (sql-show-sqli-buffer): Bug fix.
7724 (sql-interactive-mode): Store connection data as buffer local.
7725 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7726 with sql-interactive-mode.
7727 (sql-save-connection): Save buffer local settings.
7728 (sql-connection-menu-filter): Change menu entry name.
7729 (sql-product-interactive): Bug fix.
7730 (sql-preoutput-hold): New variable.
7731 (sql-interactive-remove-continuation-prompt): Bug fixes.
7732 (sql-debug-redirect): New variable.
7733 (sql-str-literal): New function.
7734 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7736 (sql-oracle-save-settings, sql-oracle-restore-settings)
7737 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7738 (sql-completion-object, sql-completion-column)
7739 (sql-completion-sqlbuf): New variables.
7740 (sql-build-completions-1, sql-build-completions)
7741 (sql-try-completion): New functions.
7742 (sql-read-table-name): Use them.
7743 (sql-contains-names): New buffer local variable.
7744 (sql-list-all, sql-list-table): Use it.
7745 (sql-oracle-completion-types): New variable.
7746 (sql-oracle-completion-object, sql-sqlite-completion-object)
7747 (sql-postgres-completion-object): New functions.
7749 2011-07-06 Glenn Morris <rgm@gnu.org>
7751 * window.el (pop-to-buffer): Doc fix.
7753 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7755 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7757 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7759 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7761 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7763 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7765 * button.el (button): Inherit from link face. Suggested by Dan
7768 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7770 * progmodes/gdb-mi.el: Fit in 80 columns.
7771 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7774 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7775 if imenu is simply not configured (bug#8941).
7777 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7779 * allout.el (allout-post-undo-hook): New allout outline-change
7780 event hook to signal undo activity.
7781 (allout-post-command-business): Run allout-post-undo-hook if an
7783 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7784 * allout-widgets.el (allout-widgets-after-undo-function):
7785 Ensure the integrity of the current item's decoration after it has been
7786 in the vicinity of an undo.
7787 (allout-widgets-mode): Include allout-widgets-after-undo-function
7788 on the new allout-post-undo-hook.
7790 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7793 Let define-derived-mode define it.
7794 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7795 cycles of abbrev-table inheritance (bug#8998).
7797 2011-07-05 Roland Winkler <winkler@gnu.org>
7799 * textmodes/bibtex.el: Add support for biblatex.
7800 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7801 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7802 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7803 (bibtex-entry-alist, bibtex-field-alist): New variables.
7804 (bibtex-entry-field-alist): Obsolete alias for
7805 bibtex-BibTeX-entry-alist.
7806 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7807 (bibtex-set-dialect): New command.
7808 (bibtex-entry-type, bibtex-entry-head)
7809 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7810 Bind via bibtex-set-dialect.
7811 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7812 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7813 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7814 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7815 Define via bibtex-set-dialect.
7816 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7817 Obey bibtex-no-opt-remove-re.
7818 (bibtex-vec-push, bibtex-vec-incr): New functions.
7819 (bibtex-format-entry, bibtex-field-list)
7820 (bibtex-print-help-message, bibtex-validate)
7821 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7823 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * progmodes/compile.el (compilation-goto-locus):
7826 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7827 * bs.el (bs-cycle-next, bs-cycle-previous):
7828 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7829 * bindings.el (mode-line-other-buffer):
7830 * autoinsert.el (auto-insert):
7831 * arc-mode.el (archive-extract):
7832 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7834 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7836 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7837 Fix check of `emacs-lock-unlockable-modes'.
7838 Coerce true values of `emacs-lock--try-unlocking' to t.
7840 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7842 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7843 * emacs-lock.el: New file.
7845 2011-07-05 Julien Danjou <julien@danjou.info>
7847 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7848 than `boundp' to check if face is set.
7850 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7852 * register.el (registerv-make):
7853 * window.el (window-min-height): Fix typos in docstrings.
7855 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7857 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7860 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7862 * server.el (server-execute): Catch quit and call
7863 `server-return-error' to pass the error back to emacsclient and
7864 close the connection (bug#8942).
7866 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7868 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7869 insecure exception for current topic. Also note that auto-saves
7870 are handled differently.
7872 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7873 State variables for tracking auto-save inhibition situation.
7875 (allout-write-contents-hook-handler): Rename from
7876 'allout-write-file-hook-handler', and describe how it depends on
7877 write-contents-functions sensitivity to non-nil value to prevent
7880 (allout-auto-save-hook-handler): Remove. auto-save does not check
7881 this in individual buffers, only in the starting buffer, so this
7882 is not the right way for us to inhibit auto-save in a buffer
7883 according to its condition.
7885 (allout-mode): Use new allout-write-contents-hook-handler, and
7886 only with write-contents-functions. Remove auto-save provisions -
7887 they're implemented elsewhere.
7889 (allout-before-change-handler): If undo is in progress, note that
7890 for attention of allout-post-command-business.
7892 (allout-post-command-business): If the command we're following was
7893 an undo, check for change in the status of encrypted items and
7894 adjust auto-save inhibitions accordingly.
7896 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7897 according to whether there are or aren't any plain-text topics
7900 (allout-inhibit-auto-save-info-for-decryption):
7901 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7902 if there are plain-text topics pending encryption.
7904 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7905 buffer-saved-size and some allout state to not inhibit auto-saves
7906 if there are no longer any plain-text topics pending encryption.
7908 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7909 No longer provide for exemption of the current topic.
7911 2011-07-04 Juri Linkov <juri@jurta.org>
7913 Add 7z operations to delete and save changed members (bug#8968).
7914 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7916 (archive-7z-write-file-member): New function.
7917 (archive-7z-summarize): Fix the number of dashes in the
7920 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7925 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7927 * bindings.el: Ignore next-buffer and previous-buffer in
7928 minibuffer-local-map.
7930 * font-lock.el (font-lock-builtin-face): Change light background
7931 color to dark slate blue (Bug#6693).
7933 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7935 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7937 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7941 Add switch-to-buffer.
7943 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7945 * isearch.el (isearch-search-fun-function): Clarify further the
7946 meaning of the function returned.
7948 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7950 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7952 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7953 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7955 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7956 `tramp-default-remote-path' does not exist.
7957 (tramp-send-command-and-read): New optional argument NOERROR.
7958 (tramp-open-connection-setup-interactive-shell)
7959 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7960 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7961 (tramp-process-sentinel): Flush also process' connection property.
7962 (tramp-sh-handle-start-file-process): Do not set process
7963 sentinel. It is done now ...
7964 (tramp-maybe-open-connection): ... here. (Bug#8929)
7966 2011-07-04 MON KEY <monkey@sandpframing.com>
7968 * play/animate.el (animate-string): Doc fixes and allow changing
7969 the buffer name (bug#5417).
7971 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973 * play/animate.el (animation-buffer-name): Rename from *animate*.
7975 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7977 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7978 This is simpler and helps future-proof the code.
7979 (timer-until): Use time-subtract and float-time.
7980 (timer--time-less-p): Use time-less-p.
7982 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7984 * type-break.el (timep): Use the value of `float-time' to avoid a
7985 byte-compiler warning.
7987 * server.el (server-eval-and-print): Return any result, even nil.
7989 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7991 * type-break.el: Accept time formats that the builtins accept.
7992 (timep, type-break-time-difference): Accept any format that
7993 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7994 This is simpler and helps future-proof the code.
7995 (type-break-time-difference): Round rather than ignoring
7996 subseconds components.
7998 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8000 * info.el (Info-apropos-matches): Make non-interactive, since it
8001 doesn't seem to do anything useful as a command (bug#8829).
8003 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8005 * frame.el (frame-background-mode, frame-set-background-mode):
8007 (frame-default-terminal-background): New function.
8009 * custom.el (custom-push-theme): Don't record faces in `changed'
8010 theme; this doesn't work correctly for per-frame face settings.
8011 (disable-theme): Use face-set-after-frame-default to reset faces.
8012 (custom--frame-color-default): New function.
8014 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016 * dired.el (dired-flagging-regexp): Remove unused variable
8019 2011-03-29 Kevin Ryde <user42@zip.com.au>
8021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8022 `perl-Test2' extend to match possible "fail #N" rep count
8025 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8027 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8028 `smtpmail-via-smtp' now returns the error instead of nil.
8030 * isearch.el (isearch-search-fun-function): Clarify the doc string
8033 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8035 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8036 unnecessary spaces (bug#8987).
8038 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8040 * net/network-stream.el (open-network-stream): Use the
8041 :end-of-capability command thoughout.
8043 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8045 * net/network-stream.el (open-network-stream): Add the
8046 :end-of-capability command parameter, used by pop3.el.
8048 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8052 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8053 for list)" (bug#6475).
8055 * files.el (file-expand-wildcards): Ignore non-readable
8056 sub-directories while trying to find matches instead of signaling
8057 an error (bug#6297).
8059 * man.el (Man-reference-regexp): Allow matching possible
8060 word-wrapped references (bug#6289).
8062 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8063 for consistency with the other vc buffers (bug#6197).
8064 (vc-checkin): Ditto.
8066 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8068 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8070 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8072 * custom.el (defcustom): Clarify that :set is only used in the
8073 Customize user interface (bug#6089).
8075 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8076 associated with a file, refuse to run instead of erroring out
8079 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8080 the doc string, since it appears that using `fill-column' always
8081 controls the width (bug#7845).
8083 * simple.el (shell-command-on-region): Say where the error output
8084 went if `shell-command-default-error-buffer' is set (bug#6857).
8086 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8088 * allout.el (allout-yank-processing): Adjust cursor position for
8089 backwards-deleted space.
8091 (allout-rebullet-heading): Register changes with
8092 allout-exposure-changed-hook, so the modified topic is properly
8095 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8097 * minibuffer.el (completion-in-region): Document PREDICATE
8100 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8101 of keyword/argument pairs (bug#6904).
8103 * replace.el (multi-occur):
8104 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8106 2011-07-02 Drew Adams <drew.adams@oracle.com>
8108 * dired.el (dired-mark-if): Make the message about whether it's
8109 marking or unmarking clearer (bug#8523).
8111 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8113 * disp-table.el (display-table-print-array): New function.
8114 (describe-display-table): Use it to print the vectors more pretty
8117 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8119 * window.el (window-state-get-1): Don't assign clone numbers.
8120 Add clone-of item to list of window parameters.
8121 (window-state-put-2): Don't process clone numbers.
8122 (display-buffer-alist): Fix doc-string.
8124 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8126 * subr.el (remq): Don't allocate if it's not needed.
8127 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8128 (keymap--merge-bindings): New functions.
8129 (keymap-canonicalize): Use them to refine the canonicalization.
8130 * minibuffer.el (minibuffer-local-completion-map)
8131 (minibuffer-local-must-match-map): Move initialization from C.
8132 (minibuffer-local-filename-completion-map): Move initialization from C;
8133 don't inherit from anything here.
8134 (minibuffer-local-filename-must-match-map): Make obsolete.
8135 (completing-read-default): Use make-composed-keymap to combine
8136 minibuffer-local-filename-completion-map with either
8137 minibuffer-local-must-match-map or
8138 minibuffer-local-filename-completion-map.
8140 2011-07-01 Glenn Morris <rgm@gnu.org>
8142 * type-break.el (type-break-time-sum): Use dolist.
8144 * textmodes/flyspell.el (flyspell-word-search-backward):
8145 Replace CL function.
8147 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * mouse.el (mouse--strip-first-event): New function.
8150 (function-key-map): Use it to map fringe clicks to normal clicks
8153 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8154 (vc-bzr-revision-completion-table): Add support for annotate and date.
8156 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8157 inherit from parent.
8159 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8162 (dired-show-file-type): Doc fixup (bug#8818).
8164 * dired.el (dired-mode): Fix up the doc string as suggested by
8165 Drew Adams (bug#8817).
8167 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8168 cookie, since the manual says that it should be possible to add
8169 this function to `find-file-hook' (bug#8709).
8171 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8173 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8174 here. Noted Ted Zlatanov as the maintainer.
8175 (cfengine-common-settings, cfengine-common-syntax): New functions
8176 to set up common things between `cfengine-mode' and
8178 (cfengine3-mode): New mode.
8179 (cfengine3-defuns cfengine3-defuns-regex
8180 (cfengine3-class-selector-regex cfengine3-category-regex)
8181 (cfengine3-vartypes cfengine3-font-lock-keywords)
8182 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8183 (cfengine3-indent-line): Add from cfengine3.el.
8185 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8187 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8189 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8191 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8193 * window.el (same-window-buffer-names, same-window-regexps)
8194 (same-window-p, special-display-frame-alist)
8195 (special-display-popup-frame, special-display-function)
8196 (special-display-buffer-names, special-display-regexps)
8197 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8198 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8199 (split-window-preferred-function, split-height-threshold)
8200 (split-width-threshold, even-window-heights)
8201 (display-buffer-mark-dedicated, window-splittable-p)
8202 (split-window-sensibly, window-safely-shrinkable-p):
8204 (display-buffer): Don't spread args with function specifier
8205 because special-display-popup-frame won't like it.
8207 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8209 Time-stamp simplifications and fixes.
8210 These improve accuracy slightly, and future-proof the code
8211 against some potential changes to current-time format.
8213 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8214 by using time-since and float-time.
8216 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8217 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8218 + NNN microseconds".
8220 * type-break.el (type-break-time-sum): Rewrite using time-add.
8222 * play/hanoi.el (hanoi-current-time-float): Remove.
8223 All uses replaced by float-time.
8225 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8226 This yields a more-accurate answer.
8227 (rng-time-to-float): Remove; no longer needed.
8229 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8231 * calendar/timeclock.el (timeclock-seconds-to-time):
8232 Defalias to seconds-to-time, since they're the same thing.
8234 * emacs-lisp/elp.el (elp-elapsed-time):
8235 * emacs-lisp/benchmark.el (benchmark-elapse):
8236 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8238 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * window.el (bury-buffer): Don't iconify the only frame.
8241 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8242 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8244 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8246 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8247 Add mouse-yank-primary.
8249 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8251 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8253 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8255 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8256 (find-library-name): Use it to find relative load names when provided
8257 absolute file name (bug#8803).
8259 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8261 * textmodes/flyspell.el (flyspell-word): Consider words that
8262 differ only in case as potential doublons (bug#5687).
8264 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8265 Remove two rather uninteresting debugging-like messages to make
8266 debbugs.el more silent.
8268 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8269 a password-like phrase.
8271 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8273 * progmodes/cc-guess.el: New file.
8275 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8277 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8278 derived from `c-basic-common-init'.
8280 * progmodes/cc-mode.el (top-level): Require cc-guess.
8281 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8283 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8285 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8287 2011-06-30 Alan Mackenzie <acm@muc.de>
8289 * progmodes/cc-engine.el (c-guess-continued-construct):
8290 Correct the handling of template-args-cont, particularly for when font
8291 lock is disabled. Name this case as "CASE G".
8293 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8295 * allout.el (allout-yank-processing): Fix injection of extra space
8296 between bullet and non-whitespace character in first topic when
8297 pasting, ensuring that the actual spacing in the pasted topic
8298 following the bullet char is preserved. This extra space was
8299 causing pasted encrypted topics to get a decrypted status even
8300 when the content was actually still encrypted. Now the decryption
8301 status from before the paste is preserved.
8303 (allout-flag-region): Set all allout overlays so they evaporate
8304 when reduced to zero length (evanescent), to prevent overlay
8307 2011-06-30 Glenn Morris <rgm@gnu.org>
8309 * w32-fns.el (w32-charset-info-alist): Declare.
8311 * find-dired.el (find-grep-options): Simplify.
8313 * term/ns-win.el (ns-set-resource): Declare.
8315 * ses.el (row, col): Declare dynamic variables honestly.
8317 * textmodes/reftex-parse.el (index-tags): Declare.
8319 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8321 * cus-edit.el (customize-push-and-save): New function.
8323 * files.el (hack-local-variables-confirm): Use it.
8325 * custom.el (load-theme): New arg NO-CONFIRM.
8326 Use customize-push-and-save (Bug#8720).
8327 (custom-enabled-themes): Doc fix.
8329 * cus-theme.el (customize-create-theme)
8330 (custom-theme-merge-theme): Callers to load-theme changed.
8332 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8335 short URLs have at least one dot in them (bug #7614).
8337 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8338 nil, because using a pty is apparently too slow (bug #895).
8340 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8342 * mail/sendmail.el (sendmail-query-once): New function.
8343 (sendmail-query-once-function): New variable.
8345 2011-06-29 Glenn Morris <rgm@gnu.org>
8347 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8349 * ses.el (top-level): Require cl when compiling.
8350 (ses-set-localvars): Fix error statement.
8351 Call it at compile time to silence a storm of warnings.
8353 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8355 * window.el (normalize-live-buffer): Rename to
8356 window-normalize-buffer.
8357 (normalize-live-frame): Rename to window-normalize-frame.
8358 (normalize-any-window): Rename to window-normalize-any-window.
8359 (normalize-live-window): Rename to window-normalize-live-window.
8360 (make-window-atom): Rename to window-make-atom.
8361 (window-resize-reset): Rename to window--resize-reset.
8362 (window-resize-reset-1): Rename to window--resize-reset-1.
8363 (resize-mini-window): Rename to window--resize-mini-window.
8364 (resize-subwindows-skip-p): Rename to
8365 window--resize-subwindows-skip-p.
8366 (resize-subwindows-normal): Rename to
8367 window--resize-subwindows-normal.
8368 (resize-subwindows): Rename to window--resize-subwindows.
8369 (resize-other-windows): Rename to window--resize-siblings.
8370 (resize-this-window): Rename to window--resize-this-window.
8371 (resize-root-window): Rename to window--resize-root-window.
8372 (resize-root-window-vertically): Rename to
8373 window--resize-root-window-vertically.
8374 (normalize-buffer-to-display): Rename to
8375 window-normalize-buffer-to-display.
8376 (normalize-buffer-to-switch-to): Rename to
8377 window-normalize-buffer-to-switch-to.
8378 Correspondingly update all callers of the functions listed
8380 (display-buffer-alist, display-buffer-normalize-arguments)
8381 (display-buffer-normalize-options, display-buffer)
8382 (display-buffer-alist-set): Use "function" instead of
8385 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8387 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8388 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8389 debbugs.gnu.org. Mention acknowledgment email.
8391 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8393 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8394 buffer multibyteness, since it shouldn't matter.
8396 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8398 * window.el (display-buffer-in-side-window): Handle dedicated
8399 windows as in display-buffer-reuse-window.
8400 (display-buffer-normalize-alist): Use value of override
8402 (display-buffer-normalize-specifiers): Use value of
8403 other-window-means-other-frame specifier.
8404 (display-buffer-alist): Rewrite some texts in widgets.
8405 (display-buffer): Spread arguments when calling function
8406 specified by fun-with-args.
8408 2011-06-28 Deniz Dogan <deniz@dogan.se>
8410 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8413 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8414 selectors (Bug#5732).
8415 (css-proprietary-nmstart-re): Use `regexp-opt'.
8417 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8419 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8420 (eshell-ls-date-format): New defcustom.
8421 (eshell-ls-file): Use it.
8423 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8425 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8427 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8429 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8430 (ange-ftp-make-tmp-name): New arg.
8431 (ange-ftp-file-local-copy): Use it.
8433 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8435 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8436 no-conversion (Bug#8870).
8438 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8440 * window.el (window-right, window-left, window-child)
8441 (window-child-count, window-last-child)
8442 (window-iso-combination-p, walk-window-tree-1)
8443 (window-atom-check-1, window-tree-1, delete-window)
8444 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8445 new naming conventions - window-vchild, window-hchild,
8446 window-next and window-prev are now called window-top-child,
8447 window-left-child, window-next-sibling and window-prev-sibling
8449 (resize-window-reset): Rename to window-resize-reset.
8450 (resize-window-reset-1): Rename to window-resize-reset-1.
8451 (resize-window): Rename to window-resize.
8452 (window-min-height, window-min-width)
8453 (resize-mini-window, resize-this-window, resize-root-window)
8454 (resize-root-window-vertically, adjust-window-trailing-edge)
8455 (enlarge-window, shrink-window, maximize-window)
8456 (minimize-window, delete-window, quit-restore-window)
8457 (split-window, balance-windows, balance-windows-area-adjust)
8458 (balance-windows-area, window-state-put-2)
8459 (display-buffer-even-window-sizes, display-buffer-set-height)
8460 (display-buffer-set-width, set-window-text-height)
8461 (fit-window-to-buffer): Rename all "resize-window" prefixed
8462 calls to use the "window-resize" prefix convention.
8463 (display-buffer-alist): Fix symbol for label specifier.
8464 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8465 corresponding specifier.
8466 Reported by Juanma Barranquero <lekktu@gmail.com>.
8468 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8470 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8472 (ses-call-printer): Does not pass an empty string to formatter when the
8473 cell is empty to keep from barking printer Calc math-format-value.
8475 2011-06-27 Richard Stallman <rms@gnu.org>
8477 * battery.el (battery-mode-line-limit): New variable.
8478 (battery-update): Handle it.
8480 * mail/rmailmm.el (rmail-mime-process-multipart):
8481 Handle truncated messages.
8483 2011-06-27 Glenn Morris <rgm@gnu.org>
8485 * progmodes/flymake.el (flymake-err-line-patterns):
8486 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8488 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8490 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8491 (ses--clean-!, ses--clean-_): New functions.
8492 (ses-range): Add configurability of readout order, and conversion
8495 * ses.el (ses-repair-cell-reference-all): New function.
8496 (ses-cell-symbol): Set macro as safe, so that it can be used in
8499 * ses.el: Update cycle detection algorithm.
8500 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8501 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8502 (ses-set-localvars): New function.
8503 (ses-make-cell): Add property-list as a cell element.
8504 (ses-cell-property-get-fun, ses-cell-property-get)
8505 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8506 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8508 (ses-cell-property-set, ses-cell-property-pop)
8509 (ses-cell-property-get-handle): New macro.
8510 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8511 New aliases, used for code readability.
8512 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8514 (ses-self-reference-early-detection): New defcustom.
8515 (ses-formula-references): Robustify against self-referring cells.
8516 (ses-mode): Use ses-set-localvars.
8517 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8518 before lauching the update processing.
8519 (ses-initialize-Dijkstra-attempt): New function.
8520 (ses-recalculate-cell): Update for cycle detection based on
8523 * ses.el: Fix commenting and indenting convention.
8525 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * bs.el (bs-cycle-next): Complete last change.
8529 2011-06-27 Drew Adams <drew.adams@oracle.com>
8531 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8533 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8535 * net/network-stream.el (network-stream-open-starttls):
8536 Don't re-get capabilities unless we've reestablished connection.
8537 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8539 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8540 to binary to possibly avoid line encoding issues on Windows (among
8543 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545 * net/network-stream.el (open-network-stream): Return an :error
8546 saying what the problem was, if possible.
8548 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8551 * net/network-stream.el (network-stream-open-starttls): If we
8552 wanted to use STARTTLS, and the server offered it, but we weren't
8553 able to because we had no STARTTLS support, then close the connection.
8554 (open-network-stream): Return an :error element, if present.
8556 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8558 * hl-line.el (hl-line-sticky-flag): Doc fix.
8559 (global-hl-line-sticky-flag): New option (Bug#8323).
8560 (global-hl-line-highlight): Obey it.
8562 * vc/vc.el (vc-revert-show-diff): Default to t.
8564 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8566 * allout-widgets.el (allout-widgets-post-command-business):
8567 Stop decorating intermediate isearch matches. They're not being
8568 undecorated when an isearch is continued past, and isearch
8569 automatically collapses them. This leads to "widget leaks", where
8570 decorated items accumulate in collapsed areas. Lines with lots of
8571 hidden widgets can slow down cursor travel, substantially.
8572 Too much complicated machinery would be needed to ensure undecoration,
8573 so we're doing without this nicety.
8575 (allout-widgets-tally-string): Don't try to do a hash-table-count
8576 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8577 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8578 *Messages* when allout-widgets-maintain-tally is t.
8580 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8582 * window.el (display-buffer-normalize-argument): Rename to
8583 display-buffer-normalize-arguments. Handle special meaning of
8584 LABEL argument. Respect special-display-function when popping up
8585 a new frame. Fix code searching for a window showing the buffer
8587 (display-buffer-normalize-specifiers):
8588 Call display-buffer-normalize-arguments.
8589 (display-buffer-in-window): Don't undedicate the window if its
8590 buffer remains the same.
8591 Reported by Drew Adams <drew.adams@oracle.com>.
8592 (display-buffer-alist): Add choice for same-window macro
8594 (display-buffer): Mention special meaning of LABEL argument in
8595 doc-string. Fix quoting. Don't pop up a new frame even as
8598 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8600 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8601 avoid deleting the current window in some cases (bug#8911).
8603 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8605 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8608 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610 * net/network-stream.el (network-stream-open-starttls):
8611 Use built-in TLS support if `gnutls-available-p' is true.
8612 (network-stream-open-tls): Ditto.
8614 2011-06-26 Leo Liu <sdl.web@gmail.com>
8616 * register.el (registerv): New struct.
8617 (registerv-make): New function.
8618 (jump-to-register, describe-register-1, insert-register):
8619 Support the jump-func, print-func and insert-func slot of a registerv
8622 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8624 * vc/vc.el (vc-revert-show-diff): New defcustom.
8625 (vc-diff-internal): New arg specifying diff buffer.
8626 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8627 reuse an existing *vc-diff* buffer (Bug#8927).
8629 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8631 2011-06-26 Glenn Morris <rgm@gnu.org>
8633 * progmodes/f90.el (f90-critical-indent): New option.
8634 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8635 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8636 (f90-mode): Doc fix.
8637 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8638 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8639 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8640 (f90-match-end): Handle block, critical.
8642 2011-06-25 Glenn Morris <rgm@gnu.org>
8644 * calendar/diary-lib.el (diary-included-files): Doc fix.
8645 (diary-include-files): New function, extracted from
8646 diary-include-other-diary-files and diary-mark-included-diary-files.
8647 (diary-include-other-diary-files, diary-mark-included-diary-files):
8648 Just call diary-include-files.
8649 (diary-mark-entries): Reset diary-included-files on first call.
8651 * calendar/diary-lib.el (diary-mark-entries)
8652 (diary-mark-included-diary-files):
8653 Visit included diary-files in temp buffers.
8655 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8656 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8657 (f90-start-block-re, f90-imenu-generic-expression)
8658 (f90-looking-at-program-block-start, f90-no-block-limit):
8659 Add support for submodules.
8661 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8662 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8664 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8666 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8667 buffer-file-type before setting its value, to avoid disastrous
8668 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8670 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8672 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8674 * ses.el (ses-unload-function):
8675 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8677 * proced.el (proced-unload-function):
8678 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8680 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8682 * server.el (server-create-window-system-frame): Add parameters arg.
8683 (server-process-filter): Doc fix. Handle frame-parameters.
8685 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8687 Fix bug#8730, bug#8781.
8689 * loadhist.el (unload--set-major-mode): New function.
8690 (unload-feature): Use it.
8692 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8693 (python-unload-function): New function.
8695 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8699 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8701 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8702 the candidates list.
8704 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8706 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8708 2011-06-23 Richard Stallman <rms@gnu.org>
8710 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8711 (rmail-variables): Set next-error-move-function.
8712 (rmail-what-message): Take argument POS.
8713 (rmail-next-error-move): New function.
8715 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8717 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8718 messages for adjacent non-terminals.
8720 2011-06-23 Richard Stallman <rms@gnu.org>
8722 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8723 (rmail-show-message-1): Preserve buffer modified flag.
8724 (rmail-start-mail): Don't specify use of rmail-mail-return;
8725 that's done by mail-bury now.
8726 (rmail-mail-return): Handle arg NEWBUF.
8728 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8730 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8733 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8735 * window.el (get-lru-window, get-mru-window)
8736 (get-largest-window): Never return a minibuffer window.
8737 (display-buffer-pop-up-window): Fix a bug that could lead to
8738 reusing the minibuffer window.
8739 (display-buffer): Pass original specifier argument to
8740 display-buffer-function instead of the normalized one.
8741 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8743 2011-06-22 Leo Liu <sdl.web@gmail.com>
8745 * minibuffer.el (completing-read-function)
8746 (completing-read-default): Move from minibuf.c
8748 2011-06-22 Richard Stallman <rms@gnu.org>
8750 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8751 to Rmail even if not started by a special Rmail command.
8753 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8754 Copy the buffer currently showing just one message.
8756 2011-06-22 Roland Winkler <winkler@gnu.org>
8758 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8759 (bibtex-clean-entry): First delete the old key so that a
8760 customized algorithm for generating the new key does not get
8761 confused by the old key.
8762 (bibtex-url): Obey regexp of first step.
8763 (bibtex-search-entries): Do not use add-to-list with local
8766 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8768 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8769 stored a user name, then query for the password first, instead of
8770 waiting for SMTP to give an error message and the trying again.
8772 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8774 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8775 BUFFER in call-process.
8777 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8781 (smtpmail-try-auth-methods): Require user name and password from
8784 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8786 * window.el (display-buffer-default-specifiers)
8787 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8788 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8789 (split-window): Normalize SIDE argument (Bug#8916).
8791 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8792 (special-display-frame-alist, special-display-popup-frame):
8793 Remove duplicate declarations. These are now in window.el.
8795 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8797 * mail/smtpmail.el (smtpmail-via-smtp):
8798 Set :use-starttls-if-possible so that we always use STARTTLS if the
8799 server supports it. SMTP servers that support STARTTLS commonly
8802 * net/network-stream.el (network-stream-open-starttls): Support
8803 upgrading to STARTTLS always, even if we don't have built-in support.
8804 (open-network-stream): Add the :always-query-capabilities keyword.
8806 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8807 upgrades with `open-network-stream', and rely solely on
8808 auth-source for all credentials. Big changes throughout the file,
8810 (smtpmail-auth-credentials): Remove.
8811 (smtpmail-starttls-credentials): Remove.
8812 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8815 * net/network-stream.el (network-stream-open-starttls):
8816 Provide support for client certificates both for external and built-in
8818 (auth-source): Require.
8819 (open-network-stream): Document the :client-certificate keyword.
8820 (network-stream-certificate): Change cert-cert to cert and
8823 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8825 * net/tramp-cache.el (top): Don't load the persistency file when
8826 "emacs -Q" has been called.
8828 2011-06-21 Tim Harper <timcharper@gmail.com>
8830 * term/ns-win.el (ns-initialize-window-system):
8831 Set application-specific `ApplePressAndHoldEnabled' system
8832 resource to NO as it is not yet supported by the NS port.
8834 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8836 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8837 (list-dynamic-libraries): ...not here.
8839 2011-06-21 Leo Liu <sdl.web@gmail.com>
8841 * subr.el (sha1): Implement sha1 using secure-hash.
8843 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8845 * window.el (display-buffer-alist): In default value do not
8846 enforce searching a window on any but the selected frame.
8847 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8848 (display-buffer-select-window): Remove function.
8849 (display-buffer-in-window): When a window on another frame gets
8850 reused, do not select it any more but just raise its frame if
8851 necessary (Bug#8851) and (Bug#8856).
8852 (display-buffer-normalize-options): Handle pop-up-frames related
8853 options more faithfully.
8854 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8855 window if it is on another frame.
8856 (display-buffer-alist, display-buffer-default-specifiers):
8857 Don't make new frame unsplittable by default.
8858 (display-buffer-normalize-argument): Fix doc-string typo and use
8859 'same-frame-other-window instead of 'other-window when associating
8860 with display-buffer-macro-specifiers.
8862 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8864 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8866 (5x5-mode-map, 5x5-mode-menu): Bind them.
8867 (5x5-draw-grid): Tweak the solver's rendering.
8869 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8872 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8874 2011-06-21 Drew Adams <drew.adams@oracle.com>
8876 * menu-bar.el: Use function variable instead of switch-to-buffer.
8877 (menu-bar-select-buffer-function): New variable.
8878 (menu-bar-update-buffers): Use it (bug#8876).
8880 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8882 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8885 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8887 * x-dnd.el (x-dnd-version-from-flags)
8888 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8889 and long as number (Bug#8899).
8890 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8892 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8895 (completion-try-completion, completion-all-completions): Compute the
8896 metadata argument if it's missing; make it optional (bug#8795).
8898 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8899 (widget-complete): Use new :completion-function property.
8900 (widget-completions-at-point): New function.
8901 (default): Use :completion-function instead of :complete.
8902 (widget-default-completions): Rename from widget-default-complete;
8904 (widget-string-complete, widget-file-complete, widget-color-complete):
8906 (file, symbol, function, variable, coding-system, color):
8907 * international/mule-cmds.el (default-input-method, charset)
8908 (language-info-custom-alist):
8909 * cus-edit.el (face): Use new property :completions.
8911 * progmodes/pascal.el (pascal-completions-at-point): New function.
8912 (pascal-mode): Use it.
8913 (pascal-mode-map): Use completion-at-point.
8914 (pascal-toggle-completions): Make obsolete.
8915 (pascal-complete-word, pascal-show-completions):
8916 * progmodes/octave-mod.el (octave-complete-symbol):
8917 Redefine as obsolete alias.
8918 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8919 Signal absence of completion info for old Octave,
8920 (inferior-octave-complete): Redefine as obsolete alias.
8921 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8922 (meta-completions-at-point): Rename from meta-complete-symbol and
8923 adapt it for use on completion-at-point-functions.
8924 (meta-common-mode): Use it.
8925 (meta-looking-at-backward, meta-match-buffer): Remove.
8926 (meta-complete-symbol): Redefine as obsolete alias.
8927 (meta-common-mode-map): Use completion-at-point.
8928 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8929 (makefile-mode-map): Use completion-at-point.
8930 (makefile-completions-at-point): Rename from makefile-complete and
8931 adapt it for use on completion-at-point-functions.
8932 (makefile-mode): Use it.
8933 (makefile-complete): Redefine as obsolete alias.
8935 2011-06-20 Deniz Dogan <deniz@dogan.se>
8937 * net/rcirc.el: Delete trailing whitespaces once and for all.
8939 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8941 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8943 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8945 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8947 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8949 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8951 * window.el (display-buffer-other-window-means-other-frame):
8952 Call display-buffer-normalize-alist.
8953 (display-buffer-normalize-specifiers-1): Rename to
8954 display-buffer-normalize-argument. New argument other-frame.
8956 (display-buffer-normalize-specifiers-2): Rename to
8957 display-buffer-normalize-options.
8958 (display-buffer-normalize-alist-1): New function.
8959 (display-buffer-normalize-specifiers-3): Rename to
8960 display-buffer-normalize-alist.
8961 Call display-buffer-normalize-alist-1.
8962 (display-buffer-normalize-options-inhibit): New variable.
8963 (display-buffer-normalize-specifiers): Rewrite calling
8964 display-buffer-normalize-alist,
8965 display-buffer-normalize-argument, and
8966 display-buffer-normalize-options. Don't call the latter if
8967 display-buffer-normalize-options-inhibit is non-nil.
8968 (frame-auto-delete): New option.
8969 (window-deletable-p): Use frame-auto-delete.
8970 (window-list-no-nils, window-state-ignored-parameters)
8971 (window-state-get-1, window-state-get, window-state-put-list)
8972 (window-state-put-1, window-state-put-2, window-state-put):
8974 (display-buffer-normalize-options): Move special-display-p group
8975 after pop-up-frame group (Bug#8851) and (Bug#8856).
8977 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8979 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8981 (rx-submatch-n): New function.
8984 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8987 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8989 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8991 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8992 anytime existing face settings are present (Bug#8889).
8994 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8995 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8996 Remove unused argument.
8998 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9000 * window.el (display-buffer-default-specifiers):
9001 Remove pop-up-frame. Add pop-up-window-min-height,
9002 pop-up-window-min-width, and another reuse-window specifier
9003 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9004 (display-buffer-normalize-specifiers-2):
9005 Handle split-height-threshold and split-width-threshold also when
9006 pop-up-windows is unset. Add a reuse-window specifier for the
9007 case popping up a new window fails.
9008 (special-display-popup-frame): Remove double quoting.
9009 (display-buffer-normalize-specifiers-1): Fix thinko.
9011 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9013 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9014 according to comint-completion-addsuffix.
9016 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9017 (pcomplete-suffix-list): Mark as obsolete.
9018 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9019 pcomplete-seen in the closure.
9020 (pcomplete-comint-setup): Setup completion-at-point as well.
9021 (pcomplete--entries): New function.
9022 (pcomplete--env-regexp): New var.
9023 (pcomplete-entries): Rewrite to work with partial-completion and
9024 without relying on pcomplete-suffix-list.
9025 (pcomplete-pare-list): Remove, unused.
9027 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9029 * window.el (display-buffer-alist): Set pop-up-window-min-height
9030 and pop-up-window-min-width in default value. Reported by
9031 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9032 other-window-means-other-frame.
9033 (display-buffer-macro-specifiers): Comment out entry for
9034 other-window specifier.
9035 (display-buffer-other-window-means-other-frame): New function.
9036 (display-buffer-normalize-specifiers-1): New arguments
9037 buffer-name and label. Treat other-window case specially.
9038 (display-buffer-normalize-specifiers-2): Treat other-window case
9040 (display-buffer-normalize-specifiers-3): New function.
9041 (display-buffer-normalize-specifiers):
9042 Call display-buffer-normalize-specifiers-3.
9044 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9046 * window.el (same-window-p): Fix two typos introduced when
9047 adding with-no-warnings.
9048 (display-buffer-normalize-specifiers-1): Don't check
9049 pop-up-frames for 'unset initialization.
9050 (display-buffer-normalize-specifiers-2): Major rewrite using
9051 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9052 (pop-up-frames, display-buffer-reuse-frames)
9053 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9054 Suggested by David Engster <deng@randomsample.de>.
9055 (even-window-heights): Initialize to 'unset.
9056 (display-buffer-alist-set): Handle new 'unset initializations.
9057 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9060 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9062 * window.el (display-buffer-normalize-specifiers-1):
9063 Respect current value of pop-up-frames for most reasonable values of
9064 second argument of display-buffer (Bug#8865).
9065 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9066 (switch-to-buffer-other-window-same-frame)
9067 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9069 (display-buffer): Don't check noninteractive when calling
9070 display-buffer-pop-up-frame.
9071 (display-buffer-pop-up-frame): Never pop up a frame in
9072 noninteractive mode (Bug#8857).
9073 (enlarge-window, shrink-window): Don't report an error when the
9074 window can't be resized as requested (Bug#8862).
9076 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9080 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9082 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9084 2011-06-15 Alan Mackenzie <acm@muc.de>
9086 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9087 for declarators, disable knr checking to speed up for normal files.
9088 2: Refactor, replacing a sequence of nested if forms by a cond form.
9090 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092 * net/network-stream.el (open-network-stream): Add the keyword
9093 :always-query-capabilities for the case where you want to force a
9094 `plain' network connection, but the protocol still requires the
9095 capabilitiy command (i.e., SMTP and EHLO).
9097 * subr.el (process-live-p): Rename from `process-alive-p' for
9098 consistency with other `-live-p' functions.
9100 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9102 * window.el (same-window-buffer-names, same-window-regexps)
9103 (special-display-frame-alist, special-display-popup-frame)
9104 (special-display-function, special-display-buffer-names)
9105 (special-display-regexps, pop-up-frame-alist)
9106 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9107 (pop-up-windows, split-window-preferred-function)
9108 (split-height-threshold, split-width-threshold, even-window-heights)
9109 (display-buffer-mark-dedicated): Don't encourage the use of
9110 display-buffer-alist from Elisp code.
9112 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9114 * progmodes/python.el (python-mode): Derive from prog-mode.
9115 * progmodes/ps-mode.el (ps-mode):
9116 * progmodes/mixal-mode.el (mixal-mode):
9117 * progmodes/cfengine.el (cfengine-mode):
9118 * progmodes/ld-script.el (ld-script-mode): Likewise.
9120 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9122 * window.el (display-buffer-alist): Trim default value to avoid
9123 popping up a new frame (Bug#8857) or reusing an arbitrary window
9125 (display-buffer): Do not fall back on popping up a new frame in
9126 batch mode (Bug#8857).
9128 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9130 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9131 (custom-theme-summary): New function.
9132 (customize-themes): Use it.
9134 2011-06-13 Glenn Morris <rgm@gnu.org>
9136 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9138 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9140 * help.el (help-window): Remove variable.
9141 (help-window-point-marker, temp-buffer-max-height)
9142 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9143 (help-print-return-message): Don't set help-window.
9144 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9145 (help-window-setup-finish): Remove.
9146 (help-window-display-message, help-window-setup)
9147 (with-help-window): Major rewrite based on new
9148 display-buffer-window variable.
9150 * help-mode.el (help-mode-finish): Remove help-window related
9153 * view.el (view-exits-all-viewing-windows): Remove reference to
9154 view-return-to-alist in doc-string.
9155 (view-return-to-alist): Make obsolete.
9156 (view-buffer): Call pop-to-buffer-same-window and remove
9158 (view-buffer-other-window): Call pop-to-buffer-other-window and
9159 simplify code. Ignore second argument.
9160 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9161 simplify code. Ignore second argument.
9162 (view-return-to-alist-update): Make obsolete.
9163 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9164 Rewrite using quit-restore window parameters.
9165 (view-mode-exit): Rename second argument to EXIT-ONLY.
9166 Rewrite using quit-restore-window.
9167 (View-exit, View-exit-and-edit, View-leave, View-quit)
9168 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9169 appropriate arguments.
9170 (view-end-message): Use quit-restore window parameter.
9172 * window.el (display-buffer-function): Rewrite doc-string.
9173 (display-buffer-window, display-buffer-alist): New variables.
9174 (display-buffer-split-specifiers)
9175 (display-buffer-side-specifiers)
9176 (display-buffer-macro-specifiers): New constants.
9177 (display-buffer-even-window-sizes, display-buffer-set-height)
9178 (display-buffer-set-width, display-buffer-select-window)
9179 (display-buffer-in-window, display-buffer-reuse-window)
9180 (display-buffer-split-window-1, display-buffer-split-window)
9181 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9182 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9183 (display-buffer-in-side-window, normalize-buffer-to-display)
9184 (display-buffer-normalize-specifiers-1)
9185 (display-buffer-normalize-specifiers-2)
9186 (display-buffer-normalize-specifiers, display-buffer-frame):
9188 (display-buffer): Major rewrite.
9189 (display-buffer-other-window, display-buffer-other-frame)
9190 (pop-to-buffer, switch-to-buffer-other-window)
9191 (switch-to-buffer-other-frame): Rewrite.
9192 (display-buffer-same-window, display-buffer-same-frame)
9193 (display-buffer-same-frame-other-window)
9194 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9195 (pop-to-buffer-other-window)
9196 (pop-to-buffer-same-frame-other-window)
9197 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9198 (switch-to-buffer-other-window-same-frame): New functions.
9199 (same-window-p, special-display-p): Rewrite disabling warnings.
9201 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9202 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9204 (same-window-buffer-names, same-window-regexps)
9205 (special-display-frame-alist, special-display-popup-frame)
9206 (special-display-function, special-display-buffer-names)
9207 (special-display-regexps, pop-up-frame-alist)
9208 (pop-up-frame-function, split-window-preferred-function)
9209 (split-height-threshold, split-width-threshold)
9210 (even-window-heights): Make obsolete.
9212 2011-06-12 Glenn Morris <rgm@gnu.org>
9214 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9215 Misc simplifications.
9217 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9219 * window.el (window-safely-shrinkable-p): Restore function which
9220 was inadvertently removed in change from 2011-06-11. Declare as
9223 * calendar/calendar.el (calendar-generate-window):
9224 Use window-iso-combined-p instead of combination of one-window-p and
9225 window-safely-shrinkable-p.
9227 2011-06-12 Glenn Morris <rgm@gnu.org>
9229 * progmodes/fortran.el (fortran-mode-syntax-table):
9230 * progmodes/f90.el (f90-mode-syntax-table):
9231 Set % to punctuation. (Bug#8820)
9232 (f90-find-tag-default): Remove, no longer needed.
9234 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9236 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9238 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9240 * image.el (image-animated-p): Return animation delay in seconds.
9241 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9242 (image-animate-timeout): Remove DELAY argument. Don't assume
9243 every subimage has the same delay; get it from image-animated-p.
9244 (image-animate): Caller changed.
9246 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9248 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9249 to ignored backtrace functions.
9251 2011-06-11 Glenn Morris <rgm@gnu.org>
9253 * calendar/appt.el (appt-disp-window-function): Doc fix.
9254 (appt-check): Handle overlapping appointments. (Bug#8337)
9256 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9258 * window.el (window-tree-1, window-tree): New functions, moving
9259 the latter to window.el.
9260 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9261 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9262 (bw-refresh-edges): Remove.
9263 (balance-windows-1, balance-windows-2): New functions.
9264 (balance-windows): Rewrite in terms of window tree functions,
9265 balance-windows-1 and balance-windows-2.
9266 (bw-adjust-window): Remove.
9267 (balance-windows-area-adjust): New function with functionality of
9268 bw-adjust-window but using resize-window.
9269 (set-window-text-height): Rewrite doc-string.
9270 Use normalize-live-window and resize-window.
9271 (enlarge-window-horizontally, shrink-window-horizontally):
9272 Rename argument to DELTA.
9273 (window-buffer-height): New function.
9274 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9275 Rewrite using new window resize routines.
9276 (kill-buffer-and-window, mouse-autoselect-window-select):
9277 Use ignore-errors instead of condition-case.
9278 (quit-window): Call delete-frame instead of delete-windows-on
9279 for the only buffer on frame.
9281 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9283 * loadup.el (top-level): Load window before files for the sake
9284 of replace-buffer-in-windows.
9286 * files.el (read-buffer-to-switch)
9287 (switch-to-buffer-other-window)
9288 (switch-to-buffer-other-frame, display-buffer-other-frame):
9291 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9292 (previous-buffer): Move to window.el.
9294 * bindings.el (unbury-buffer): Move to window.el.
9296 * window.el (delete-other-windows-vertically): Move after
9297 definition of delete-other-windows.
9298 (other-window, delete-windows-on, replace-buffer-in-windows):
9299 Move here from window.c.
9300 (record-window-buffer, unrecord-window-buffer)
9301 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9302 (switch-to-next-buffer): New functions.
9303 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9304 from simple.el. Call switch-to-next-buffer.
9305 (previous-buffer): Move here from simple.el.
9306 Call switch-to-prev-buffer.
9307 (bury-buffer): Move here from buffer.c. Switch to previous
9308 buffer when window cannot be deleted.
9309 (unbury-buffer): Move here from bindings.el.
9310 (ctl-x-map): Move binding for other-window from window.c to
9312 (read-buffer-to-switch, switch-to-buffer-other-window)
9313 (switch-to-buffer-other-frame): Move here from files.el.
9314 (normalize-buffer-to-switch-to): New functions.
9315 (switch-to-buffer): Move here from buffer.c.
9316 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9318 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9320 * window.el (window-min-height, window-min-width): Move here
9321 from window.c. Add defcustoms and rewrite doc-strings.
9322 (resize-mini-window, resize-window): New functions.
9323 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9324 Move here from window.c.
9325 (maximize-window, minimize-window): New functions.
9326 (delete-window, delete-other-windows, split-window): Move here
9328 (window-split-min-size): New function.
9329 (split-window-keep-point): Mention split-window-above-each-other
9330 instead of split-window-vertically.
9331 (split-window-above-each-other, split-window-vertically):
9332 Rename split-window-vertically to split-window-above-each-other
9333 and provide defalias for old definition.
9334 (split-window-side-by-side, split-window-horizontally):
9335 Rename split-window-horizontally to split-window-side-by-side
9336 and provide defalias for the old definition.
9337 (ctl-x-map): Move bindings for delete-window,
9338 delete-other-windows and enlarge-window here from window.c.
9339 Replace bindings for split-window-vertically and
9340 split-window-horizontally by bindings for
9341 split-window-above-each-other and split-window-side-by-side.
9343 * cus-start.el (all): Remove entries for window-min-height and
9344 window-min-width. Add entries for window-splits and
9347 2011-06-09 Glenn Morris <rgm@gnu.org>
9349 * calendar/appt.el (appt-mode-line): New function.
9350 (appt-check, appt-disp-window): Use it.
9352 * files.el (hack-one-local-variable-eval-safep):
9353 Allow minor-modes with explicit +/-1 arguments.
9355 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9357 * term/xterm.el (xterm): Add defgroup.
9358 (xterm-extra-capabilities): Add defcustom to supply known xterm
9359 capabilities, skip querying them, or query them (default).
9360 (terminal-init-xterm): Use it.
9361 (terminal-init-xterm-modify-other-keys): New function to set up
9362 modifyOtherKeys support to simplify `terminal-init-xterm'.
9364 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9366 * window.el (resize-window-reset, resize-window-reset-1)
9367 (resize-subwindows-skip-p, resize-subwindows-normal)
9368 (resize-subwindows, resize-other-windows, resize-this-window)
9369 (resize-root-window, resize-root-window-vertically)
9370 (window-deletable-p, window-or-subwindow-p)
9371 (frame-root-window-p): New functions.
9373 2011-06-09 Glenn Morris <rgm@gnu.org>
9375 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9376 (ange-ftp-get-files): Use it.
9378 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9380 * mail/sendmail.el (mail-recover-1, mail-recover):
9381 * files.el (recover-file, recover-session):
9382 Handle dired-listing-switches not being just a single short option.
9384 2011-06-09 Glenn Morris <rgm@gnu.org>
9386 * calendar/appt.el (appt-display-message, appt-disp-window):
9387 Handle lists of appointments.
9389 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9391 * window.el (one-window-p): Move down in code.
9393 (window-current-scroll-bars): Rewrite doc-string.
9394 Normalize live window argument.
9395 (walk-windows, get-window-with-predicate, count-windows):
9396 Rewrite doc-string. Use window-list-1.
9397 (window-in-direction-2, window-in-direction, get-mru-window):
9400 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9402 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9405 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9407 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9409 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9411 * loadhist.el (unload-feature-special-hooks):
9412 Add `comint-output-filter-functions'.
9414 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9416 * calendar/appt.el (appt-check): Move some initializations into the let.
9418 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9420 * window.el (window-height): Defalias to window-total-height.
9421 (window-width): Defalias to window-body-width.
9423 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9425 * image-mode.el (image-toggle-animation): New command.
9426 (image-mode-map): Bind it to RET.
9427 (image-mode): Update message.
9428 (image-toggle-display-image): Avoid a spurious cache flush.
9429 (image-transform-rotation): Doc fix.
9430 (image-transform-properties): Return quickly in the normal case.
9431 (image-animate-loop): Rename from image-animate-max-time.
9433 * image.el (image-animate-max-time): Move to image-mode.el.
9434 (create-animated-image): Remove unnecessary function.
9435 (image-animate): Rename from image-animate-start. New arg.
9436 (image-animate-stop): Remove; just use image-animate-timer.
9437 (image-animate-timer): Use car-safe.
9438 (image-animate-timeout): Rename argument.
9440 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9442 * window.el (get-lru-window, get-largest-window): Move here from
9443 window.c. Rename first argument to ALL-FRAMES.
9444 Rephrase doc-strings.
9445 (get-buffer-window-list): Rewrite using window-list-1.
9446 Rephrase doc-string.
9447 (window-safe-min-height, window-safe-min-width): New constants.
9448 (window-size-ignore, window-min-size, window-min-size-1)
9449 (window-sizable, window-sizable-p, window-size-fixed-1)
9450 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9451 (window-max-delta-1, window-max-delta, window-resizable)
9452 (window-resizable-p, window-total-height, window-total-width)
9453 (window-body-width): New functions.
9454 (window-full-height-p, window-full-width-p): Rewrite using
9456 (window-body-height): Rewrite using window-body-size.
9458 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9460 * window.el (window-right, window-left, window-child)
9461 (window-child-count, window-last-child, window-any-p)
9462 (normalize-live-buffer, normalize-live-frame)
9463 (normalize-any-window, normalize-live-window)
9464 (window-iso-combination-p, window-iso-combined-p)
9465 (window-iso-combinations)
9466 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9467 (windows-with-parameter, window-with-parameter)
9468 (window-atom-root, make-window-atom, window-atom-check-1)
9469 (window-atom-check, window-side-check, window-check):
9471 (ignore-window-parameters, window-sides, window-sides-vertical)
9472 (window-sides-slots): New variables.
9473 (window-size-fixed): Move down in code. Minor doc-string fix.
9475 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9477 * comint.el (comint-dynamic-complete-as-filename)
9478 (comint-dynamic-complete-filename): Correctly call
9479 completion-in-region.
9481 2011-06-05 Deniz Dogan <deniz@dogan.se>
9483 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9486 2011-06-05 Deniz Dogan <deniz@dogan.se>
9488 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9489 (rcirc): Use it to prompt for encryption.
9491 2011-06-05 Roland Winkler <winkler@gnu.org>
9493 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9494 (bibtex-search-entries): New command bound to C-c C-a.
9495 (bibtex-display-entries): New function.
9497 2011-06-05 Roland Winkler <winkler@gnu.org>
9499 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9500 (bibtex-insert-kill): After yanking insert newline if necessary.
9501 (bibtex-initialize): Call bibtex-string-files-init only once.
9502 (bibtex-mode): Do not call easy-menu-add.
9503 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9504 (bibtex-yank): Set arg properly if nil.
9506 2011-06-05 Roland Winkler <winkler@gnu.org>
9508 * textmodes/bibtex.el (bibtex-search-entry-globally):
9510 (bibtex-search-entry): Use it.
9512 2011-06-05 Roland Winkler <winkler@gnu.org>
9514 * textmodes/bibtex.el (bibtex-entry-format): New option
9516 (bibtex-format-entry, bibtex-reformat): Honor this option.
9517 (bibtex-parse-entry): Return fields in proper order.
9519 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9521 * doc-view.el (doc-view-remove-if): Move computation of result out
9522 of `dolist' to silence misleading lexical-binding warning.
9524 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9526 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9527 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9529 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9531 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9534 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9536 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9537 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9538 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9539 (tramp-parse-putty):
9540 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9541 (tramp-completion-function-alist-ssh)
9542 (tramp-completion-function-alist-telnet)
9543 (tramp-completion-function-alist-su)
9544 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9549 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9550 load "tramp.el" `tramp-set-completion-function'.
9552 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * shell.el: Require and use pcomplete.
9555 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9556 (shell-completion-vars): Set pcomplete-default-completion-function.
9558 2011-06-04 Deniz Dogan <deniz@dogan.se>
9560 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9563 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9565 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9567 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9569 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9570 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9571 * vc/log-view.el (log-view-beginning-of-defun):
9572 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9573 (smerge-refine-forward, smerge-refine-chopup-region):
9574 Silence warning for unused `dotimes' counter variables.
9576 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9578 * net/tramp.el (tramp-with-progress-reporter): Rename from
9579 with-progress-reporter. Use `declare'.
9582 * net/tramp-gvfs.el: Update all uses.
9584 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9586 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9587 buffer isn't killed before making it current.
9589 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9591 Silence various byte-compiler warnings.
9592 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9593 `access-type' and new obsolescence format.
9594 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9596 (byte-compile-check-variable): New `access-type' argument.
9597 Only warn if the access-type is obsolete.
9598 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9599 (byte-compile-variable-set): Adjust callers.
9600 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9601 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9602 setting it as obsolete.
9603 * simple.el (minibuffer-completing-symbol):
9604 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9606 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9608 * international/quail.el (quail-mouse-choose-completion): Remove unused
9609 code referring to obsolete var.
9610 (quail-choose-completion-string): Remove.
9611 * server.el (server-clients-with, server-kill-buffer-query-function)
9612 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9613 * proced.el (proced-send-signal):
9614 * emacs-lisp/lisp.el (lisp-complete-symbol):
9615 Replace completion-annotate-function with completion-extra-properties.
9617 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9619 * simple.el (goto-line): Use read-number.
9620 (overriding-map-is-bound): Remove.
9621 (saved-overriding-map): Change default.
9622 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9623 Take the map as argument.
9624 (universal-argument, negative-argument, digit-argument): Use it.
9625 (restore-overriding-map): Adjust.
9626 (do-auto-fill): Use fill-forward-paragraph.
9627 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9629 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9630 (minibuffer-inactive-mode): New major mode.
9631 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9632 the *Messages* buffer" hack.
9633 (mouse-popup-menubar): Don't burp if the event is a normal key.
9635 Miscellaneous tweaks.
9636 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9637 lexical scoping as in subr.el's dolist and dotimes.
9638 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9639 Silence compiler warning.
9640 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9641 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9642 * international/ccl.el (ccl-compile): Trivial simplification.
9643 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9644 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9645 `printflag' argument.
9646 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9647 Purecopy the whole obsolescence data.
9649 2011-06-01 Leo Liu <sdl.web@gmail.com>
9651 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9652 improve doc-string as suggested by Marco Pessotto
9653 <melmothx@gmail.com>.
9654 (rcirc-print): Fix last change.
9656 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * minibuffer.el (complete-with-action): Return nil for the metadata and
9659 boundaries of non-functional tables.
9660 (completion-table-dynamic): Return nil for the metadata.
9661 (completion-table-with-terminator): Add default case, using
9662 complete-with-action.
9663 (completion--metadata): New function.
9664 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9665 to try and avoid pathological performance problems.
9666 (completion--embedded-envvar-table): Return `category' metadata.
9668 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670 * subr.el (process-alive-p): New tiny convenience function.
9672 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9675 content but also its previous major mode.
9677 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9679 * emacs-lisp/debug.el (debug): Restore the previous content of the
9680 *Backtrace* buffer when we exit with C-M-c.
9682 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * minibuffer.el: Add metadata method to completion tables.
9685 (completion-category-overrides): New defcustom.
9686 (completion-metadata, completion--field-metadata)
9687 (completion-metadata-get, completion--styles)
9688 (completion--cycle-threshold): New functions.
9689 (completion-try-completion, completion-all-completions):
9690 Add `metadata' argument to choose completion-styles.
9691 (completion--do-completion): Use metadata to choose cycling.
9692 (completion-all-sorted-completions): Use metadata for sorting.
9693 Remove :completion-cycle-penalty which is not needed any more.
9694 (completion--try-word-completion): Add `metadata' argument.
9695 (minibuffer-completion-help): Check metadata for annotation function
9697 (completion-file-name-table): Return `category' metadata.
9698 (minibuffer-completing-file-name): Make obsolete.
9699 * simple.el (minibuffer-completing-symbol): Make obsolete.
9700 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9701 completion-try-completion.
9703 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9707 2011-05-30 Leo Liu <sdl.web@gmail.com>
9709 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9710 (rcirc-print): Decode all incoming messages (bug#8744).
9711 (rcirc-decode-coding-system): Allow value nil for automatic coding
9714 2011-06-01 Glenn Morris <rgm@gnu.org>
9716 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9718 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9720 * image.el (image-animate-max-time): Allow nil and t values.
9722 (create-animated-image): Doc fix.
9723 (image-animate-start): Remove second arg; just use
9724 image-animate-max-time.
9725 (image-animate-timeout): Doc fix. Args changed.
9727 * image-mode.el (image-toggle-display-image): Ensure that the
9728 image spec passed to the animate timer is the same object as in
9729 the buffer's display property (Bug#6981).
9730 (image-transform-properties): Doc fix.
9732 * image.el (image-animate-max-time): Default to nil.
9734 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9736 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9737 entire buffer list (Bug#8184).
9739 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9741 * image.el (imagemagick-types-inhibit)
9742 (imagemagick-register-types): Doc fix.
9744 2011-05-29 Deniz Dogan <deniz@dogan.se>
9746 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9749 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9751 * select.el: Don't perform clipboard-manager saving in hooks;
9752 leave the hooks empty.
9754 2011-05-28 Leo Liu <sdl.web@gmail.com>
9756 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9757 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9758 (occur-edit-mode): New major mode (Bug#8463).
9759 (occur-after-change-function): New function.
9760 (occur-engine): Give Occur tags a read-only property.
9762 2011-05-28 Kevin Ryde <user42@zip.com.au>
9764 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9766 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9768 * bindings.el (help-echo): Make the initial non-indicator dash
9769 empty on graphical terminals (Bug#7295).
9771 * files.el (auto-mode-alist): Move config rule after the
9772 in-stripping one (Bug#8547).
9774 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9776 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9779 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9781 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9782 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9785 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9787 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9789 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9791 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9792 (hs-hide-block-at-point, hs-find-block-beginning)
9793 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9796 2011-05-28 Glenn Morris <rgm@gnu.org>
9798 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9800 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9802 * help-fns.el (describe-function-1): If the function is a derived
9803 major mode, print the parent mode.
9805 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9806 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9808 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9810 * minibuffer.el (completion--capf-wrapper): Check applicability before
9811 returning non-nil for non-exclusive completion data.
9812 * progmodes/etags.el (tags-completion-at-point-function):
9813 * info-look.el (info-lookup-completions-at-point): Mark as
9815 (info-complete): Adjust accordingly.
9817 * info-look.el: Convert to lexical-binding and completion-at-point.
9818 (info-lookup-completions-at-point): New function.
9819 (info-complete): Use it and completion-in-region.
9821 2011-05-28 Drew Adams <drew.adams@oracle.com>
9823 * isearch.el: Let M-e start with point at the first mismatched char.
9824 (isearch-fail-pos): New function.
9825 (isearch-edit-string): Use it.
9827 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9829 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9831 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9833 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9834 traversal functions for avl-trees.
9835 (avl-tree--stack): New struct.
9836 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9837 (avl-tree-enter): Add optional `updatefun' arg.
9838 (avl-tree--do-enter): Add optional `updatefun' arg.
9839 Change return value.
9840 (avl-tree-delete): Add optional `test' and `nilflag' args.
9841 (avl-tree--do-delete): Add `test' and `nilflag' args.
9842 Change return value.
9843 (avl-tree-member): Add optional `nilflag'
9844 (avl-tree-member-p): New function.
9845 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9846 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9847 (avl-tree-stack-empty-p): New functions.
9849 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9850 avl-tree--del-balance1 and make it work both ways.
9851 (avl-tree--del-balance2): Remove.
9852 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9853 make it work both ways.
9854 (avl-tree--enter-balance2): Remove.
9855 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9857 (avl-tree--mapc, avl-tree-map): Add direction argument.
9859 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9861 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9863 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9865 * select.el: Support clipboard managers with built-in function
9866 x-clipboard-manager-save, via delete-frame-functions and
9868 (xselect-convert-to-targets): Add MULTIPLE target to list.
9869 (xselect-convert-to-save-targets): New function.
9871 2011-05-27 Kenichi Handa <handa@m17n.org>
9873 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9874 let-binding rfc2047-encode-encoded-words to nil.
9876 2011-05-27 Glenn Morris <rgm@gnu.org>
9878 * mail/emacsbug.el: Don't require url-util.
9880 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9882 * files.el (set-auto-mode):
9883 Also respect mode: entries at the end of the file. (Bug#8586)
9885 2011-05-26 Glenn Morris <rgm@gnu.org>
9887 * files.el (hack-local-variables-prop-line, hack-local-variables):
9888 Downcase mode names, as seems to be traditional.
9889 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9891 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9892 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9894 2011-05-25 Julien Danjou <julien@danjou.info>
9896 * textmodes/rst.el (rst-define-level-faces): Do not define face
9897 symbol if it is already defined.
9899 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9901 * play/5x5.el (5x5-new-game, 5x5-randomize):
9902 Reset 5x5-solver-output to nil when a new grid is cast.
9903 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9904 these debugging traces, as defmacro breaks the compiled code.
9906 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9908 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9910 2011-05-24 Leo Liu <sdl.web@gmail.com>
9912 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9913 (vc-bzr-sha1): Adapt.
9915 * sha1.el: Remove. Function `sha1' is now builtin.
9917 * bindings.el: Provide sha1 feature.
9919 2011-05-24 Kenichi Handa <handa@m17n.org>
9921 * mail/sendmail.el: Require `rfc2047'.
9922 (mail-insert-from-field): Do not perform RFC2047 encoding.
9923 (mail-encode-header): New function.
9924 (sendmail-send-it): Set buffer-file-coding-system of the work
9925 buffer to the return value of select-message-coding-system.
9926 Call mail-encode-header.
9928 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9930 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9932 * mail/supercite.el (sc-default-cite-frame):
9933 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9935 2011-05-24 Glenn Morris <rgm@gnu.org>
9937 * progmodes/python.el (brm-menu): Declare.
9939 * emulation/viper.el (viper-set-hooks): Declare.
9941 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9942 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9943 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9944 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9945 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9946 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9948 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9950 Add an :exit-function for completion-at-point.
9952 * minibuffer.el (completion--done): New fun.
9953 (completion--do-completion): Use it. New arg `expect-exact'.
9954 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9955 since completion--do-completion does it for us now.
9956 (minibuffer-force-complete): Use completion--done and
9957 completion--replace. Handle sole-completion case with more care.
9958 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9959 (completion-extra-properties): New var.
9960 (completion-annotate-function): Make obsolete.
9961 (minibuffer-completion-help): Adjust accordingly.
9962 Use completion-list-insert-choice-function.
9963 (completion-at-point, completion-help-at-point):
9964 Bind completion-extra-properties.
9965 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9966 * simple.el (completion-list-insert-choice-function): New var.
9967 (completion-setup-function): Preserve it.
9968 (choose-completion): Pay attention to it, shuffle the code a bit.
9969 (choose-completion-string): New arg `insert-function'.
9971 * textmodes/bibtex.el: Convert to lexical binding.
9972 (bibtex-mode-map): Use completion-at-point.
9973 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9974 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9975 (bibtex-complete): Define as obsolete alias.
9976 (bibtex-complete-internal): Remove.
9977 (bibtex-format-entry): Remove unused sub-group in regexp.
9978 * shell.el (shell--command-completion-data)
9979 (shell-environment-variable-completion):
9980 * pcomplete.el (pcomplete-completions-at-point):
9981 * comint.el (comint--complete-file-name-data): Use :exit-function
9982 instead of completion-table-with-terminator so it also works for
9985 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9989 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9992 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9994 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9996 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9997 customization variable and implement: If non-nil, auto-fill will
9998 be inhibited while on topic's header line.
10000 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10002 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10003 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10004 always have a solution in grid size = 5 cases.
10005 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10006 (5x5-solver-output, 5x5-log-buffer): New vars.
10007 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10008 Make these variables buffer local to achieve 5x5 multi-session-ness.
10009 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10010 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10011 (5x5-solve-suggest): New funs.
10012 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10013 randomize a grid so that we ensure that there is always a solution.
10014 (5x5-make-random-grid): Allow other movement than flipping.
10016 2011-05-23 Kevin Ryde <user42@zip.com.au>
10018 * emacs-lisp/advice.el (ad-read-advised-function):
10019 Use `function-called-at-point' as the default, if it has
10020 advice and passes PREDICATE.
10022 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10024 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10025 byte-compile-lambda if it's actually a lambda.
10027 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10028 Fix function quoting. Use backquote better.
10030 2011-05-22 Yuanle Song <sylecn@gmail.com>
10032 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10033 matching (Bug#8516).
10035 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10037 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10038 different face (Bug#8178).
10040 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10042 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10043 defface (Bug#8144).
10045 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10048 funcall as well (bug#8712). Warn when performing those conversions.
10049 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10051 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10053 2011-05-22 Glenn Morris <rgm@gnu.org>
10055 * files.el (hack-local-variables-prop-line): Small simplifications.
10056 (hack-local-variables, hack-local-variables-prop-line):
10057 If MODE-ONLY, return the mode, rather than just `t'.
10059 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10061 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10063 2011-05-21 Glenn Morris <rgm@gnu.org>
10065 * files.el (hack-local-variables-prop-line, hack-local-variables):
10066 If only interested in the mode, don't bother doing the other stuff.
10068 * image-mode.el (image-after-revert-hook):
10069 Redraw all frames on which the image is visible. (Bug#8567)
10071 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10073 * wid-edit.el (widget-checklist-match-inline):
10074 Fix 2011-04-19 change. (Bug#8649)
10076 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10079 Also allow singlespace after single-letter capitals followed by a dot.
10081 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10082 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10084 2011-05-20 Nix <nix@esperi.org.uk>
10086 * files.el (basic-save-buffer-2):
10087 Fix handling of break-hardlink-on-save with non-existent files.
10089 2011-05-19 Deniz Dogan <deniz@dogan.se>
10091 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10092 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10094 2011-05-19 Glenn Morris <rgm@gnu.org>
10096 * progmodes/f90.el (f90-type-def-re):
10097 Handle "type, bind(c)". (Bug#8691)
10099 * emacs-lisp/autoload.el (batch-update-autoloads):
10100 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10102 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10104 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10105 property for the correct connection in case of multihops.
10107 2011-05-18 Glenn Morris <rgm@gnu.org>
10109 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10110 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10112 Rationalize calendar handling of day and month abbrev-arrays.
10113 * calendar/calendar.el (calendar-customized-p): New function.
10114 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10115 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10117 (calendar-abbrev-length, calendar-day-abbrev-array)
10118 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10119 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10120 Elements may no longer be nil.
10121 (calendar-day-name, calendar-month-name):
10122 Update for changed nature of abbrev arrays.
10123 * calendar/diary-lib.el (diary-name-pattern):
10124 Update for changed nature of abbrev arrays.
10125 (diary-mark-entries-1): Update calendar-make-alist calls.
10126 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10127 * calendar/cal-html.el (cal-html-day-abbrev-array):
10128 Simply inherit from calendar-day-abbrev-array.
10130 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * progmodes/grep.el (grep-mode): Disable default
10133 compilation-directory-matcher setting (bug#8684).
10135 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10137 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10138 instead of "head" and "tail". There were problems with SunOS 5.9,
10139 and it performs better.
10141 2011-05-17 Glenn Morris <rgm@gnu.org>
10143 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10145 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10146 Replace obsolete function.
10148 * shell.el (pcomplete-parse-arguments-function): Declare.
10150 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10151 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10152 (appt-check): Doc fixes.
10153 (appt-disp-window-function, appt-delete-window-function):
10154 Remove needless special case in custom :type.
10155 (appt-display-count): Default to 0, not nil.
10156 (appt-check): Reset appt-display-count to 0, not nil.
10158 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10160 * progmodes/python.el (python-font-lock-keywords):
10161 Add the Python 3.X keyword "nonlocal" (bug#8639).
10163 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10167 2011-05-16 Kevin Ryde <user42@zip.com.au>
10169 * info-look.el (makefile-automake-mode): New setups, looking in
10170 automake manual, then makefile-mode.
10171 (makefile-mode): Remove automake manual, have it just in
10172 makefile-automake-mode since there's various things different or
10173 not relevant to plain make.
10174 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10175 believe a hypothetical automake-mode would go to makefile-mode,
10176 not the other way around.
10178 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10180 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10181 hunk-end tags (Bug#8672).
10183 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10184 vc-annotate-show-diff-revision-at-line (Bug#8671).
10186 2011-05-14 Glenn Morris <rgm@gnu.org>
10188 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10189 in the middle of an existing one with multiple authors. (Bug#8645)
10190 (change-log-font-lock-keywords): Also handle multiple author lines
10191 with leading tabs. (Bug#8644)
10193 * calendar/appt.el (appt-check): Rename some local variables.
10194 Some simplification/reordering.
10196 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10197 (feedmail-sendmail-f-doesnt-sell-me-out)
10198 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10199 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10200 (feedmail-queue-runner-message-sender): Set :version.
10201 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10202 (bbdb-dwim-net-address, vm-mail): Declare.
10203 (feedmail-binmail-gnulinuxish-template):
10204 Rename from feedmail-binmail-linuxish-template.
10205 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10206 Use insert-buffer-substring.
10208 2011-05-14 Bill Carpenter <bill@carpenter.org>
10210 * mail/feedmail.el (feedmail-patch-level): Increase.
10211 (feedmail-debug): New custom group.
10212 (feedmail-confirm-outgoing-timeout)
10213 (feedmail-sendmail-f-doesnt-sell-me-out)
10214 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10215 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10216 (feedmail-sender-line, feedmail-from-line)
10217 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10218 (feedmail-spray-this-address)
10219 (feedmail-spray-address-fiddle-plex-list)
10220 (feedmail-queue-use-send-time-for-date)
10221 (feedmail-queue-use-send-time-for-message-id)
10222 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10223 (feedmail-buffer-eating-function):
10225 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10226 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10227 (feedmail-message-action-scroll-down): New functions.
10228 (feedmail-queue-directory, feedmail-queue-draft-directory):
10229 Use expand-file-name.
10230 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10231 Remove C-v help entry.
10232 (feedmail-queue-buffer-file-name): New variable.
10233 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10234 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10235 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10236 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10237 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10238 (feedmail-message-action-toggle-spray)
10239 (feedmail-run-the-queue-no-prompts)
10240 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10241 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10242 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10243 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10244 (feedmail-envelope-deducer, feedmail-fiddle-from)
10245 (feedmail-fiddle-sender, feedmail-default-date-generator)
10246 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10247 (feedmail-fiddle-spray-address)
10248 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10249 (feedmail-fiddle-list-of-fiddle-plexes)
10250 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10251 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10252 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10253 Change default. Doc fix.
10254 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10255 (feedmail-binmail-linuxish-template): New constant.
10256 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10257 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10258 (feedmail-send-it): Add debug call.
10259 Use feedmail-queue-buffer-file-name, and
10260 feedmail-send-it-immediately-wrapper.
10261 (feedmail-message-action-send): Add debug call.
10262 Use feedmail-send-it-immediately-wrapper.
10263 (feedmail-queue-express-to-queue): Add debug call.
10264 Run feedmail-queue-express-hook.
10265 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10266 (feedmail-message-action-help-blat):
10267 Rename from feedmail-queue-send-edit-prompt-help-first.
10268 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10269 Check line-endings. Handle errors better.
10270 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10271 Doc fix. Add debug call.
10272 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10273 Use feedmail-queue-send-edit-prompt-inner.
10274 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10275 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10276 from feedmail-queue-send-edit-prompt.
10277 (feedmail-queue-send-edit-prompt-help)
10278 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10279 (feedmail-tidy-up-slug): Add debug call.
10280 Respect feedmail-queue-slug-suspect-regexp.
10281 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10282 (feedmail-dump-message-to-queue): Add debug call.
10283 Expand queue-directory.
10284 (feedmail-dump-message-to-queue): Change message slightly.
10285 Use feedmail-say-chatter.
10286 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10287 (feedmail-send-it-immediately-wrapper): New function.
10288 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10289 Insert empty string rather than newline. Handle full-frame case.
10290 Use catch/throw. Use feedmail-say-chatter.
10291 (feedmail-fiddle-from): Try mail-host-address.
10292 (feedmail-default-message-id-generator): Doc fix.
10293 Bind system-time-locale. Handle missing end.
10294 (feedmail-fiddle-x-mailer): Add debug call.
10295 Handle feedmail-x-mailer-line being nil.
10296 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10297 Add debug call. Use buffer-substring-no-properties.
10298 (feedmail-say-debug, feedmail-say-chatter): New functions.
10299 (feedmail-find-eoh): Give an explicit error.
10301 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10303 * net/newst-treeview.el (newsticker-treeview-face): Change default
10304 family from helvetica to sans.
10305 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10306 etc/images/newsticker.
10308 * net/newst-reader.el (newsticker-feed-face): Change default
10309 family from helvetica to sans.
10311 * net/newst-plainview.el (newsticker-new-item-face)
10312 (newsticker-old-item-face, newsticker-immortal-item-face)
10313 (newsticker-obsolete-item-face, newsticker-date-face)
10314 (newsticker-statistics-face): Change default family from
10316 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10317 etc/images/newsticker.
10319 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10320 (newsticker--process-auto-mark-filter-match): : Tell user about
10323 2011-05-13 Didier Verna <didier@xemacs.org>
10325 Common Lisp indentation improvements on defmethod and lambda-lists.
10326 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10328 (lisp-lambda-list-keyword-parameter-indentation)
10329 (lisp-lambda-list-keyword-parameter-alignment)
10330 (lisp-lambda-list-keyword-alignment): New customizable user options.
10331 (lisp-indent-defun-method): Improve docstring.
10332 (extended-loop-p): Fix comment.
10333 (lisp-indent-lambda-list-keywords-regexp): New variable.
10334 (lisp-indent-lambda-list): New function.
10335 (lisp-indent-259): Use it.
10336 (lisp-indent-defmethod): Support for more than one
10337 method qualifier and properly indent methods lambda-lists.
10338 (defgeneric): Provide a missing common-lisp-indent-function property.
10340 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10342 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10343 bounds for the empty string (bug#8667).
10345 2011-05-13 Glenn Morris <rgm@gnu.org>
10347 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10349 * mail/sendmail.el (sendmail-program): Try executable-find first.
10350 (sendmail-send-it): `sendmail-program' cannot be unbound.
10352 * calendar/appt.el (appt-make-list): Simplify.
10353 (appt-time-msg-list): Doc fix.
10354 (appt-check): Change mode-line message at the time of the appointment.
10356 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10358 * progmodes/ld-script.el (ld-script-keywords)
10359 (ld-script-builtins): Update keywords list.
10361 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10365 * shell.el (shell-completion-vars): New function.
10367 * simple.el (read-shell-command): Use it.
10368 (blink-matching-open): No need for " [...]" in minibuffer-message.
10370 2011-05-12 Glenn Morris <rgm@gnu.org>
10372 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10373 (appt-check): Simplify.
10375 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10377 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10378 literal "/dev/null".
10380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10382 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10385 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10387 * progmodes/which-func.el (which-function):
10388 Use add-log-current-defun instead of add-log-current-defun-function,
10389 which might not be defined (Bug#8260).
10391 2011-05-12 Glenn Morris <rgm@gnu.org>
10393 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10394 Let byte-compile-initial-macro-environment always take precedence.
10396 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * net/rcirc.el: Add support for SSL/TLS connections.
10399 (rcirc-server-alist): New field `encryption'.
10400 (rcirc): Check `encryption' settings.
10401 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10402 Merge make-local-variable into `set'.
10403 (rcirc--connection-open-p): New function.
10404 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10405 the process is not a network process (e.g. running gnutls-cli).
10406 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10407 Make rcirc-(en|de)code-coding-system local here.
10408 (rcirc-mode): Merge make-local-variable into `set'.
10409 (rcirc-parent-buffer): Make permanent buffer-local.
10410 (rcirc-multiline-minor-mode): Don't do it here.
10411 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10412 there's no server buffer.
10414 2011-05-11 Glenn Morris <rgm@gnu.org>
10416 * newcomment.el (comment-kill): Prefix "unused" local.
10418 * term/w32console.el (get-screen-color): Declare.
10420 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10421 Handle symbol elements of byte-compile-initial-macro-environment.
10423 2011-05-10 Leo Liu <sdl.web@gmail.com>
10425 * bookmark.el (bookmark-bmenu-mode-map):
10426 Bind bookmark-bmenu-search to `/'.
10428 * mail/footnote.el: Convert to utf-8 encoding.
10429 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10430 (Footnote-unicode): New function.
10431 (footnote-style-alist): Add unicode style to the list.
10432 (footnote-style): Doc fix.
10434 2011-05-10 Jim Meyering <meyering@redhat.com>
10436 Fix doubled-word typos.
10437 * international/quail.el (quail-insert-kbd-layout): and and -> and
10438 * kermit.el: and and -> and
10439 * net/ldap.el (ldap-search-internal): to to -> to
10440 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10441 * progmodes/js.el (js-mode): and and -> and
10442 * textmodes/artist.el (artist-move-to-xy): at at -> at
10443 (artist-draw-region-trim-line-endings): if if -> if
10444 And Safetyc -> Safety.
10445 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10447 2011-05-10 Glenn Morris <rgm@gnu.org>
10448 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * files.el (hack-one-local-variable-eval-safep):
10451 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10453 2011-05-10 Glenn Morris <rgm@gnu.org>
10455 * calendar/diary-lib.el (diary-list-entries-hook)
10456 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10457 (diary-nongregorian-marking-hook, diary-list-entries)
10458 (diary-include-other-diary-files, diary-mark-entries)
10459 (diary-mark-included-diary-files): Doc fixes.
10461 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10463 * misc.el: Require tabulated-list.el during compilation.
10465 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10467 * progmodes/compile.el (compilation-start):
10468 Run compilation-filter-hook for the async case too.
10469 (compilation-filter-hook): Doc fix.
10471 2011-05-09 Deniz Dogan <deniz@dogan.se>
10473 * wdired.el: Remove outdated installation comment. Fix usage
10476 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10478 * misc.el: Implement new command `list-dynamic-libraries'.
10479 (list-dynamic-libraries--loaded-only-p): New variable.
10480 (list-dynamic-libraries--refresh): New function.
10481 (list-dynamic-libraries): New command.
10483 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10486 Fix the ant regexp to handle end-line and end-column info from jikes.
10487 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10488 higher priority to avoid clobbering by gnu.
10490 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10492 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10493 if the face has existing theme settings (Bug#8454).
10495 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10497 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10498 Only match variables declared via `my' or `our' (Bug#8261).
10500 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10501 special file names `.' and `..' (Bug#8259).
10503 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10505 * progmodes/grep.el (grep-mode-font-lock-keywords):
10506 Remove buffer-changing entries.
10507 (grep-filter): New function.
10508 (grep-mode): Add it to compilation-filter-hook.
10510 * progmodes/compile.el (compilation-filter-hook)
10511 (compilation-filter-start): New defvars.
10512 (compilation-filter): Call compilation-filter-hook prior to
10513 updating the process mark.
10515 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10517 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10519 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10521 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10522 mailclient-send-it even if window-system is nil. (Bug#8595)
10524 * term/w32console.el (terminal-init-w32console):
10525 Call get-screen-color and use its output to set the frame
10526 background-mode. (Bug#8597)
10528 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10530 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10531 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10533 (defgeneric, eieio--defmethod): Use them.
10534 (eieio-defgeneric): Remove.
10535 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10537 2011-05-07 Glenn Morris <rgm@gnu.org>
10539 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10540 Use let rather than let*.
10541 (timeclock-find-discrep): Remove unused local.
10543 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10545 * calendar/appt.el (appt-time-msg-list): Doc fix.
10547 2011-05-06 Noah Friedman <friedman@splode.com>
10549 * apropos.el (apropos-print-doc): Only use
10550 emacs-lisp-docstring-fill-column when it is bound to an integer,
10551 per that variable's documentation.
10553 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10555 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10556 and warnings are not silently discarded (e.g. use -d instead of -P).
10558 2011-05-06 Glenn Morris <rgm@gnu.org>
10560 * calendar/appt.el (appt-message-warning-time): Doc fix.
10561 (appt-warning-time-regexp): New option.
10562 (appt-make-list): Respect appt-message-warning-time.
10564 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10566 (diary-add-to-list): Strip comments from the displayed string.
10567 (diary-mode): Set comment-start and comment-end.
10569 * vc/diff-mode.el (smerge-refine-subst): Declare.
10570 (diff-refine-hunk): Don't require smerge-mode when compiling.
10572 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10574 * simple.el (list-processes): Return nil as the docstring says.
10576 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10578 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10580 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10581 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10582 determining of binary transfer. (Bug#7383)
10584 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10587 Fix port computation bug. (Bug#8618)
10589 2011-05-05 Glenn Morris <rgm@gnu.org>
10591 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10593 * simple.el (shell-dynamic-complete-functions)
10594 (comint-dynamic-complete-functions): Declare.
10596 * net/network-stream.el (gnutls-negotiate):
10597 * simple.el (tabulated-list-print): Fix declarations.
10599 * progmodes/gud.el (syntax-symbol, syntax-point):
10600 Remove unnecessary and incorrect declarations.
10602 * emacs-lisp/check-declare.el (check-declare-scan):
10603 Handle byte-compile-initial-macro-environment in bytecomp.el
10605 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10607 Fix earlier half-done eieio-defmethod change (bug#8338).
10608 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10609 Streamline and change calling convention.
10610 (defmethod): Adjust accordingly and simplify.
10611 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10612 new eieio--defmethod.
10613 (slot-boundp): Minor CSE simplification.
10615 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10617 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10618 (glasses-make-readable): Use glasses-separate-capital-groups.
10620 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10622 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10623 (warning-series): Doc fix.
10624 (display-warning): Don't try to create the buffer if we just found it.
10626 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10628 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10629 (autoload-find-generated-file): New function.
10630 (generate-file-autoloads): Bind generated-autoload-file to
10632 (update-file-autoloads, update-directory-autoloads):
10633 Use autoload-find-generated-file. If called interactively, prompt for
10634 output file (Bug#7989).
10635 (batch-update-autoloads): Doc fix.
10637 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10639 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10641 2011-05-04 Glenn Morris <rgm@gnu.org>
10643 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10644 function, so it follows changes in calendar-date-style.
10645 (diary-fancy-date-matcher): New function.
10646 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10647 (diary-fancy-font-lock-fontify-region-function):
10648 Use diary-fancy-date-pattern as a function.
10650 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10651 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10653 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10655 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10656 instead of positional arguments. Allow :keylist and :crlfiles
10658 (open-gnutls-stream): Call it.
10660 * net/network-stream.el (network-stream-open-starttls): Adjust to
10661 call `gnutls-negotiate' with :process and :hostname arguments.
10663 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * minibuffer.el (completion--message): New function.
10666 (completion--do-completion, minibuffer-complete)
10667 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10668 (completion--do-completion): Don't ignore completion-auto-help when in
10671 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10672 internal encoding (e.g. tibetan zero is not whitespace).
10673 (global-whitespace-mode): Prefer save-current-buffer.
10674 (whitespace-trailing-regexp): Remove useless save-match-data.
10675 (whitespace-empty-at-bob-regexp): Minor simplification.
10677 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10679 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10681 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10683 * textmodes/ispell.el (ispell-add-per-file-word-list):
10684 Use `concat' to create string for insertion.
10686 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10688 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10689 Avoid open-line which runs post-self-insert-hook.
10690 (bibtex-fill-entry): Remove unused `end' var.
10692 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10694 * textmodes/ispell.el (ispell-add-per-file-word-list):
10695 Protect against `nil' value of `comment-start' (Bug#8579).
10697 2011-05-03 Leo Liu <sdl.web@gmail.com>
10699 * isearch.el (isearch-yank-pop): New command.
10700 (isearch-mode-map): Bind it to `M-y'.
10701 (isearch-forward): Mention it.
10703 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * simple.el (minibuffer-complete-shell-command): Remove.
10706 (minibuffer-local-shell-command-map): Use completion-at-point.
10707 (read-shell-command): Setup completion vars here instead.
10708 (read-expression-map): Bind TAB to symbol completion.
10710 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10711 error directly rather via storing it into `results'.
10713 2011-05-02 Leo Liu <sdl.web@gmail.com>
10715 * vc/diff.el: Fix description.
10717 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719 * server.el (server-eval-at): New function.
10721 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10723 * net/network-stream.el (open-network-stream): Take a :nowait
10724 parameter and pass it on to `make-network-process'.
10725 (network-stream-open-plain): Ditto.
10727 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10729 * faces.el (face-spec-set-match-display): Don't match toolkit
10730 options on terminal frames.
10732 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * progmodes/pascal.el: Use lexical binding.
10735 (pascal-mode-map): Remove author preferences.
10737 * pcomplete.el (pcomplete-std-complete): Don't abuse
10738 completion-at-point.
10740 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10742 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10743 removing code that has been dead since 1991 or so.
10745 * startup.el (command-line): When warning about "_emacs", use a
10746 delayed warning to allow the user to filter it out.
10748 2011-04-28 Deniz Dogan <deniz@dogan.se>
10750 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10751 user has not joined.
10753 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10755 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10756 aren't any completions at point.
10758 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10760 * subr.el (display-delayed-warnings): New function.
10761 (delayed-warnings-hook): New variable.
10763 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10765 * minibuffer.el (completion-at-point, completion-help-at-point):
10766 Don't presume that a given completion-at-point-function will always
10767 use the same calling convention.
10769 * pcomplete.el (pcomplete-completions-at-point):
10770 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10771 pcomplete-seen is non-nil.
10772 (pcomplete-comint-setup): Also recognize the new comint/shell
10773 completion functions.
10774 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10775 pcomplete-seen is non-nil.
10777 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10779 * calendar/icalendar.el (diary-lib): Add require statement.
10780 (icalendar--create-uid): Read out a uid from a text-property on
10781 the first character in the entry. This allows for code to add its
10782 own uid to the entry.
10783 (icalendar--convert-float-to-ical): Add export of
10784 `diary-float'-entries save for those with the optional DAY
10787 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10789 * subr.el (shell-quote-argument): Use alternate escaping strategy
10790 when we spot a variable reference in a string.
10792 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10794 * cus-start.el (all): Define customization for debug-on-event.
10796 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10798 * subr.el (shell-quote-argument): Escape correctly under Windows.
10800 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10804 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10806 * net/tramp.el (tramp-process-actions): Add POS argument.
10807 Delete region between POS and (pos).
10809 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10810 Use `nil' position in `tramp-process-actions' call.
10811 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10813 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10814 position in `tramp-process-actions' call.
10816 * net/trampver.el: Update release number.
10818 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * custom.el (defcustom): Obey lexical-binding.
10822 Fix octave-inf completion problems reported by Alexander Klimov.
10823 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10824 Inherit from octave-mode-syntax-table.
10825 (inferior-octave-mode): Set info-lookup-mode.
10826 (inferior-octave-completion-at-point): New function.
10827 (inferior-octave-complete): Use it and completion-in-region.
10828 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10829 comint-filename-completion.
10830 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10831 symbol elements which shouldn't be word elements.
10832 (octave-font-lock-keywords, octave-beginning-of-defun)
10833 (octave-function-header-regexp): Adjust regexps accordingly.
10834 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10836 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10838 * net/gnutls.el (gnutls-errorp): Declare before first use.
10840 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10842 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10843 verify-error, and verify-hostname-error parameters. Check whether
10844 default trustfile exists before going to use it. Add missing
10845 argument to gnutls-message-maybe call. Return value.
10846 Reported by Claudio Bley <claudio.bley@gmail.com>.
10847 (open-gnutls-stream): Add usage example.
10849 * net/network-stream.el (network-stream-open-starttls): Give host
10850 parameter to `gnutls-negotiate'.
10851 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10852 * subr.el (shell-quote-argument): Escape correctly under Windows.
10854 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10856 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10857 Use correct match group (bug#8438).
10859 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10861 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10862 (package-menu--generate): New arg specifying packages to show.
10863 (package-menu-refresh, package-menu-execute, list-packages):
10865 (package-show-package-list): New function, replacing deleted
10866 package--list-packages (renamed because it is non-internal).
10868 * finder.el (finder-list-matches): Use package-show-package-list
10869 instead of deleted package--list-packages.
10871 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10872 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10873 (vc-annotate-mode-map): Bind it to RET.
10875 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10877 * progmodes/etags.el (next-file): Don't use set-buffer to change
10878 buffers (Bug#8478).
10880 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10882 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10884 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10885 (apropos-accumulator): Doc fix.
10886 (apropos-function, apropos-macro, apropos-command)
10887 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10888 (apropos-plist): Add face property.
10889 (apropos-symbols-internal): Fix indentation.
10890 (apropos-print): Simplify help, and recognize apropos-multi-type.
10891 (apropos-print-doc): Use button-type-get to extract the button's
10892 face property. Fill docstring (Bug#8352).
10894 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10896 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10898 * play/mpuz.el (mpuz-silent): Doc fix.
10899 (mpuz-mode-map): Use mapc.
10900 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10901 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10902 Fix typos in docstrings.
10904 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10905 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10907 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10909 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10911 * minibuffer.el (completion--do-completion): Avoid the "Next char
10912 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10914 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10915 mouse-2 into unread-command-events, it is interpreted correctly.
10917 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10918 (image-toggle-display): Doc fix.
10920 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10922 * textmodes/page.el (what-page): Use line-number-at-pos to
10923 calculate line number (Bug#6825).
10925 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10927 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10928 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10929 Pass argument NO-DEFAULT to `find-tag-interactive'.
10931 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10933 Lexical-binding cleanup.
10935 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10936 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10937 * progmodes/ada-prj.el (ada-prj-initialize-values)
10938 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10939 (ada-prj-show-value):
10940 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10941 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10942 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10943 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10944 * progmodes/bug-reference.el (bug-reference-push-button):
10945 * progmodes/fortran.el (fortran-line-length):
10946 * progmodes/glasses.el (glasses-change):
10947 * progmodes/octave-mod.el (octave-fill-paragraph):
10948 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10949 (python-pdbtrack-grub-for-buffer, python-sentinel):
10950 * progmodes/sql.el (sql-save-connection):
10951 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10952 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10953 Mark unused parameters.
10955 * progmodes/compile.el (compilation--flush-directory-cache)
10956 (compilation--flush-parse, compile-internal): Mark unused parameters.
10957 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10958 (compilation-next-error-function): Remove unused variable `timestamp'.
10960 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10961 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10963 * progmodes/dcl-mode.el (dcl-end-of-command):
10964 Remove unused variable `start'.
10965 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10966 (dcl-option-value-basic, dcl-option-value-offset)
10967 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10968 Mark unused parameters.
10969 (dcl-save-local-variable): Remove unused variable `val'.
10972 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10973 Mark unused parameters.
10974 (delphi-ignore-changes): Move before first use.
10975 (delphi-charset-token-at): Remove unused variable `start'.
10976 (delphi-else-start): Remove unused variable `if-count'.
10977 (delphi-comment-block-start, delphi-comment-block-end):
10978 Remove unused variable `kind'.
10979 (delphi-indent-line): Remove unused variable `new-point'.
10981 * progmodes/ebrowse.el (ebrowse-files-list)
10982 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10983 Mark unused parameters. Don't quote `lambda'.
10984 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10985 Don't quote `lambda'.
10986 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10987 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10988 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10989 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10990 Use `ignore-errors'.
10991 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10992 (ebrowse-view/find-file-and-search-pattern)
10993 (ebrowse-view/find-member-declaration/definition):
10994 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10995 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10996 Rename parameter PREFIX-ARG to PREFIX.
10997 (ebrowse-tags-read-name): Remove unused variables `start' and
10999 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11002 * progmodes/etags.el (local-find-tag-hook): Declare.
11003 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11004 Mark unused parameters.
11006 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11007 (executable-interpret): Mark unused parameter.
11009 * progmodes/flymake.el (flymake-process-sentinel)
11010 (flymake-after-change-function)
11011 (flymake-create-temp-with-folder-structure)
11012 (flymake-get-include-dirs-dot): Mark unused parameters.
11013 (flymake-safe-delete-directory): Remove unused variable `err'.
11015 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11016 (speedbar-timer-fn, speedbar-line-text)
11017 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11018 (speedbar-center-buffer-smartly): Declare functions.
11019 (gdb-find-watch-expression): Remove unused variable `array'.
11020 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11021 (gdb-starting): Mark unused parameters.
11022 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11023 (gdb-table-string): Remove unused variable `res'.
11024 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11025 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11026 (gdb-display-buffer): Remove unused variable `cur-size'.
11028 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11029 allow lexical-binding compilation.
11030 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11031 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11032 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11033 Mark unused parameters.
11034 (gud-gdb-marker-filter): Remove unused variable `match'.
11035 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11036 lambda expressions and funcall them, instead of using `fset'.
11038 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11039 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11041 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11042 variable `header-beg'; use `let'.
11044 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11045 `restart', `last-sexp' and `at-do'.
11047 * progmodes/js.el (js--debug): Mark unused parameter.
11048 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11049 (js--splice-into-items): Remove unused variable `item'.
11050 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11052 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11053 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11054 (makefile-complete): Remove unused variable `try'.
11055 (makefile-fill-paragraph, makefile-match-function-end):
11056 Mark unused parameters.
11058 * progmodes/octave-inf.el (inferior-octave-complete):
11059 Remove unused variable `proc'.
11060 (inferior-octave-output-digest): Mark unused parameter.
11062 * progmodes/perl-mode.el (perl-calculate-indent):
11063 Remove unused variable `err'.
11065 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11066 (prolog-indent-line): Mark unused parameters.
11067 (prolog-indent-line): Remove unused variable `beg'.
11069 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11070 (reporter-dont-compact-list): Declare.
11072 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11073 Remove unused variable `char'.
11074 (sh-debug): Mark unused parameter.
11075 (sh-get-indent-info): Remove unused variable `start'.
11076 (sh-calculate-indent): Remove unused variable `var'.
11078 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11079 (simula-electric-keyword): Remove unused variable `null'.
11080 (simula-search-backward, simula-search-forward): Remove unused
11081 variables `begin' and `end'.
11083 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11084 Remove unused variable `pos'.
11085 (vera-electric-tab, vera-comment-uncomment-region):
11086 Mark unused parameters.
11087 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11089 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11091 * emacs-lisp/package.el (package--builtins, package-alist)
11092 (package-load-descriptor, package-built-in-p, package-activate)
11093 (define-package, package-installed-p)
11094 (package-compute-transaction, package-buffer-info)
11095 (package--push): Doc fix. Distinguish more clearly between
11096 version strings and version lists.
11098 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11100 Lexical-binding cleanup.
11102 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11103 (5x5-make-mutate-best):
11104 * play/fortune.el (fortune-in-buffer):
11105 * play/gomoku.el (gomoku-init-display):
11106 * play/solitaire.el (solitaire, solitaire-do-check):
11107 * play/tetris.el (tetris-default-update-speed-function):
11108 Mark unused parameters.
11110 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11111 (bubbles--shift): Remove unused variable `char-org'.
11112 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11113 (bubbles--show-images): Remove unused variable `char'.
11115 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11116 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11117 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11118 (decipher-analyze-buffer): Use ?\s.
11119 (decipher-make-checkpoint): Remove unused variable `mapping'.
11121 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11123 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11124 Remove unused variable `result'; use `let'.
11126 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11127 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11128 (gametree-children-shown-p, gametree-compute-reduced-score):
11129 Use `ignore-errors'.
11131 * play/handwrite.el (ps-lpr-switches): Declare.
11132 (handwrite): Remove unused variables `pmin' and `lastp'.
11134 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11136 * play/landmark.el (landmark-init-display)
11137 (landmark-update-naught-weights): Mark unused parameters.
11138 (landmark-y): Remove unused variable `noise'. Simplify.
11139 (landmark-human-plays): Remove unused variable `score'.
11141 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11142 (mpuz-try-proposal): Remove unused variable `game'.
11144 * play/zone.el (life-patterns): Declare.
11146 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11148 * vc/vc.el (ediff-vc-internal): Declare function.
11150 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11152 * shell.el: Use lexical-binding and std completion UI.
11153 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11154 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11155 comint-preoutput-filter-functions rather than on
11156 comint-output-filter-functions.
11157 (shell-command-completion, shell--command-completion-data)
11158 (shell-filename-completion, shell-environment-variable-completion)
11159 (shell-c-a-p-replace-by-expanded-directory): New functions.
11160 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11161 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11162 (shell-dynamic-complete-environment-variable): Use them.
11163 (shell-dynamic-complete-as-environment-variable)
11164 (shell-dynamic-complete-as-command): Remove.
11165 (shell-match-partial-variable): Match past point.
11166 * comint.el: Clean up use of completion-at-point-functions.
11167 (comint-completion-at-point): New function.
11168 (comint-mode): Use it completion-at-point-functions.
11169 (comint-dynamic-complete): Make it obsolete.
11170 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11171 (comint-c-a-p-replace-by-expanded-history): New function.
11172 (comint-dynamic-complete-functions)
11173 (comint-replace-by-expanded-history): Use it.
11174 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11175 termination strings. Try harder to avoid second try-completion.
11176 (completion-in-region-mode-map): Disable bindings that don't work yet.
11178 * comint.el: Use lexical-binding. Require CL.
11179 (comint-dynamic-complete-functions): Use comint-filename-completion.
11180 (comint-completion-addsuffix): Tweak custom type.
11181 (comint-filename-completion, comint--common-suffix)
11182 (comint--common-quoted-suffix, comint--table-subvert)
11183 (comint--complete-file-name-data): New functions.
11184 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11185 (comint-dynamic-list-filename-completions): Use them.
11186 (comint-dynamic-simple-complete): Make obsolete.
11188 * minibuffer.el (completion-in-region-mode):
11189 Keep completion-in-region-mode--predicate global.
11190 (completion-in-region--postch):
11191 Assume completion-in-region-mode--predicate is not null.
11193 * progmodes/flymake.el (flymake-start-syntax-check-process):
11194 Obey `dir'. Simplify.
11196 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11197 we're in VC after all.
11199 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11201 * vc/vc.el (vc-diff-build-argument-list-internal)
11202 (vc-version-ediff, vc-ediff): New commands.
11203 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11205 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11207 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11210 * obsolete/erc-hecomplete.el: Make obsolete.
11211 * obsolete/: Standardize obsolescence info in the header.
11213 2011-04-20 Glenn Morris <rgm@gnu.org>
11215 * calendar/solar.el (solar-horizontal-coordinates):
11216 Use the longitude argument rather than `calendar-longitude'.
11217 (solar-date-next-longitude): Remove unused locals.
11219 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11221 * whitespace.el: New version 13.2.1.
11223 2011-04-20 felix <EmacsWiki> (tiny change)
11225 * whitespace.el (global-whitespace-mode): Keep highlight when
11226 switching between major modes on a file.
11228 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11231 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11232 multi-line comments as well.
11234 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11236 Lexical-binding cleanup.
11238 * arc-mode.el (archive-mode-revert):
11239 * cmuscheme.el (scheme-interactively-start-process):
11240 * custom.el (custom-initialize-delay):
11241 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11242 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11243 * emacs-lock.el (emacs-lock-clear-sentinel):
11244 * ezimage.el (defezimage):
11245 * follow.el (follow-avoid-tail-recenter):
11246 * fringe.el (set-fringe-mode-1):
11247 * generic-x.el (bat-generic-mode-compile):
11248 * help-mode.el (help-info-variable, help-do-xref)
11249 (help-mode-revert-buffer):
11250 * help.el (view-emacs-todo):
11251 * iswitchb.el (iswitchb-completion-help):
11252 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11253 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11254 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11255 * locate.el (locate-update):
11256 * longlines.el (longlines-encode-region)
11257 (longlines-after-change-function):
11258 * outline.el (outline-isearch-open-invisible):
11259 * ps-def.el (declare-function, charset-dimension, char-width)
11261 * ps-mule.el (ps-mule-plot-string):
11262 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11263 (recentf-edit-list-select, recentf-edit-list-validate)
11264 (recentf-open-files-action):
11265 * rect.el (delete-whitespace-rectangle-line)
11266 (rectangle-number-line-callback):
11267 * register.el (window-configuration-to-register)
11268 (frame-configuration-to-register):
11269 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11270 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11271 (xselect-convert-to-targets, xselect-convert-to-delete)
11272 (xselect-convert-to-filename, xselect-convert-to-charpos)
11273 (xselect-convert-to-lineno, xselect-convert-to-colno)
11274 (xselect-convert-to-os, xselect-convert-to-host)
11275 (xselect-convert-to-user, xselect-convert-to-class)
11276 (xselect-convert-to-name, xselect-convert-to-integer)
11277 (xselect-convert-to-atom, xselect-convert-to-identity):
11278 * subr.el (declare, ignore, process-kill-without-query)
11279 (text-clone-maintain):
11280 * terminal.el (te-get-char, te-tic-sentinel):
11281 * tool-bar.el (tool-bar-make-keymap):
11282 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11283 * type-break.el (type-break-mode, type-break-noninteractive-query):
11284 * view.el (View-back-to-mark):
11285 * wid-browse.el (widget-browse-action, widget-browse-widget)
11286 (widget-browse-widgets, widget-browse-sexp):
11287 * widget.el (define-widget-keywords):
11288 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11289 Mark unused parameters.
11291 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11292 (align-areas): Remove unused variable `look'.
11293 (align-region): Remove unused variables `real-end' and `pos-list'.
11295 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11297 * bindings.el (mode-line-modified, mode-line-remote):
11298 Mark unused parameters.
11299 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11301 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11302 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11304 * comint.el (comint-history-isearch-pop-state)
11305 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11306 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11307 (comint-substitute-in-file-name): Doc fix.
11309 * completion.el (cmpl-statistics-block): Mark unused parameter.
11310 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11311 (save-completions-to-file, load-completions-from-file):
11312 Remove unused local variable `e'.
11314 * composite.el (compose-chars): Remove unused variable `len'.
11315 (lgstring-insert-glyph): Remove unused variable `g'.
11316 (compose-glyph-string): Remove unused variables `ascent',
11317 `descent', `lbearing' and `rbearing'.
11318 (compose-glyph-string-relative): Remove unused variables
11319 `lbearing', `rbearing' and `wadjust'.
11320 (compose-gstring-for-graphic): Remove unused variables `header',
11321 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11322 (compose-gstring-for-terminal): Remove unused variables `header'
11323 and `nchars'. Use `let', not `let*'.
11325 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11326 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11327 (Custom-buffer-done, custom-buffer-create-internal)
11328 (custom-browse-visibility-action, custom-browse-group-tag-action)
11329 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11330 (widget-magic-mouse-down-action, custom-toggle-parent)
11331 (custom-add-parent-links, custom-toggle-hide-variable)
11332 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11333 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11334 (custom-face-menu-create, custom-variable-menu-create, get)
11335 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11336 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11337 (customize-apropos): Remove unused variable `tests'.
11338 (custom-group-value-create): Remove unused variable `hidden-p'.
11339 (sort-fold-case): Declare.
11341 * cus-theme.el (custom-reset-standard-faces-list)
11342 (custom-reset-standard-variables-list): Declare.
11343 (customize-create-theme, custom-theme-revert, custom-theme-write)
11344 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11345 Mark unused parameters.
11347 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11349 * delim-col.el (delimit-columns-max): Move defvar before first use.
11351 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11352 (describe-char): Don't quote `lambda'. Mark unused parameter.
11354 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11355 (auto-insert): Declare.
11356 (desktop-restore-file-buffer): Rename desktop-* parameters;
11358 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11359 (desktop-buffer): Rename desktop-* parameters.
11361 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11362 (dframe-reposition-frame-xemacs, dframe-help-echo)
11363 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11364 Mark unused parameters.
11366 * dired-aux.el (backup-extract-version-start, overwrite-query)
11367 (overwrite-backup-query, rename-regexp-query)
11368 (rename-non-directory-query): Declare.
11369 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11370 (dired-add-entry): Remove unused variable `orig-file-name'.
11371 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11372 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11373 `dired-copy-preserve-time' directly.
11374 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11375 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11377 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11378 (dired-virtual-revert, dired-make-relative-symlink):
11379 Mark unused parameters.
11380 (manual-program): Declare.
11381 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11382 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11383 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11385 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11387 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11389 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11392 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11394 * electric.el (Electric-command-loop): Rename parameter
11395 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11397 * expand.el (expand-in-literal): Remove unused variable `here'.
11399 * facemenu.el (facemenu-add-new-color):
11400 Remove unused variable `docstring'.
11402 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11403 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11404 (face-attr-construct): Mark unused parameter. Doc fix.
11405 (read-color): Remove unused variable `hex-string'.
11407 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11408 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11409 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11410 (display-buffer-other-frame): Remove unused variable `old-window'.
11411 (kill-buffer-hook): Declare.
11412 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11413 Mark unused parameters.
11414 (after-find-file): Pass 1 to `auto-save-mode', not t.
11416 * files-x.el (auto-insert): Declare.
11417 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11419 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11420 variable `buf'. Mark unused parameter.
11421 (find-lisp-insert-directory): Mark unused parameter.
11423 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11424 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11425 (format-common-tail): Remove, unused.
11426 (format-deannotate-region): Remove unused variable `loc'.
11427 (format-annotate-region): Remove unused variable `p'.
11428 (format-annotate-single-property-change): Remove unused variables
11429 `default' and `tail'.
11431 * forms.el (read-file-filter): Declare.
11432 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11434 * frame.el (frame-creation-function-alist): Mark unused parameter.
11435 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11437 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11438 Remove unused parameters.
11439 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11440 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11442 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11443 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11444 (hfy-prepare-tag-map): Mark unused parameters.
11445 (htmlfontify-buffer): Use `called-interactively-p'.
11447 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11448 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11449 (ibuffer-do-occur): Mark unused parameters.
11450 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11451 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11453 * ibuffer.el: Don't quote `lambda'.
11454 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11455 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11456 Mark unused parameters.
11458 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11459 (ido-completing-read): Mark unused parameters.
11460 (ido-copy-current-word): Mark unused parameters;
11461 remove unused variable `name'.
11462 (ido-sort-merged-list): Remove unused parameter `dirs'.
11464 * ielm.el (ielm-input-sender): Mark unused parameter.
11465 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11466 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11467 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11468 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11469 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11471 * image-dired.el (image-dired-display-thumbs): Remove unused
11472 variables `curr-file' and `count'.
11473 (image-dired-remove-tag): Remove unused variable `start'.
11474 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11475 variable `curr-file'
11476 (image-dired-rotate-original): Remove unused variable `temp-file'.
11477 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11478 Remove unused variable `file'.
11479 (image-dired-gallery-generate): Remove unused variable `curr'.
11480 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11482 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11484 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11486 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11488 * isearch.el (minibuffer-history-symbol): Declare.
11489 (isearch-edit-string): Remove unused variable `err'.
11490 (isearch-message-prefix, isearch-message-suffix):
11491 Mark unused parameters.
11493 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11495 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11497 * makesum.el (double-column): Remove unused variable `cnt'.
11499 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11500 (ido-ignore-item-temp-list): Declare.
11502 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11503 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11504 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11505 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11508 * mouse-sel.el (mouse-extend-internal):
11509 Remove unused variable `orig-window-frame'.
11511 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11512 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11513 Move declarations before first use.
11514 (pcomplete-opt): Mark unused parameters; doc fix.
11516 * proced.el (proced-revert): Mark unused parameter.
11517 (proced-send-signal): Remove unused variable `err'.
11519 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11520 Rename parameter PREFIX-ARG to ARG.
11521 (ps-basic-plot-string, ps-basic-plot-whitespace):
11522 Mark unused parameters.
11524 * replace.el (replace-count): Define.
11525 (occur-revert-function): Mark unused parameters.
11526 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11527 (isearch-case-fold-search, isearch-string): Declare.
11528 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11529 bind `case-fold-search'. Remove unused variables `beg' and `end',
11531 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11532 COUNT and bind `replace-count'.
11533 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11536 * savehist.el (print-readably, print-string-length): Declare.
11538 * shadowfile.el (shadow-expand-cluster-in-file-name):
11539 Remove unused variable `cluster'.
11540 (shadow-copy-file): Remove unused variable `i'.
11541 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11542 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11543 (shadow-define-literal-group, shadow-define-regexp-group)
11544 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11546 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11547 (shell): Use `called-interactively-p'.
11548 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11550 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11551 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11552 (delete-backward-char): Remove unused variable `ocol'.
11553 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11554 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11555 (event-apply-hyper-modifier, event-apply-shift-modifier)
11556 (event-apply-control-modifier, event-apply-meta-modifier):
11557 Mark unused parameters.
11558 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11559 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11561 * speedbar.el (speedbar-ignored-directory-expressions)
11562 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11563 (speedbar-find-file, speedbar-dir-follow)
11564 (speedbar-directory-buttons-follow, speedbar-tag-find)
11565 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11566 (speedbar-buffers-line-directory, speedbar-buffer-click):
11567 Mark unused parameters.
11568 (speedbar-tag-file): Remove unused variable `mode'.
11569 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11571 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11573 * talk.el (talk): Remove unused variable `display'.
11575 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11576 (tar-write-region-annotate): Mark unused parameter.
11578 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11579 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11580 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11581 warning by another.
11583 * time-stamp.el (time-stamp-string-preprocess):
11584 Remove unused variable `require-padding'.
11586 * tree-widget.el (widget-glyph-enable): Declare.
11587 (tree-widget-action): Mark unused parameter.
11589 * w32-fns.el (x-get-selection): Mark unused parameter.
11590 (autoload-make-program, generated-autoload-file): Declare.
11592 * wdired.el (wdired-revert): Mark unused parameters.
11593 (wdired-xcase-word): Remove unused variable `err'.
11595 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11596 (whitespace-help-scroll): Remove unused variable `data-help'.
11598 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11599 (widget-image-insert, widget-after-change, default)
11600 (widget-default-format-handler, widget-default-notify)
11601 (widget-default-prompt-value, widget-info-link-action)
11602 (widget-url-link-action, widget-function-link-action)
11603 (widget-variable-link-action, widget-file-link-action)
11604 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11605 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11606 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11607 (widget-insert-button-action, widget-delete-button-action, visibility)
11608 (widget-documentation-link-action, widget-documentation-string-action)
11609 (widget-const-prompt-value, widget-regexp-match, symbol)
11610 (widget-coding-system-prompt-value)
11611 (widget-key-sequence-value-to-external, sexp)
11612 (widget-sexp-value-to-internal, character, vector, cons)
11613 (widget-choice-prompt-value, widget-boolean-prompt-value)
11614 (widget-color--choose-action): Mark unused parameters.
11615 (widget-item-match-inline, widget-choice-match-inline)
11616 (widget-checklist-match, widget-checklist-match-inline)
11617 (widget-group-match): Rename parameter VALUES to VALS.
11618 (widget-field-value-set): Remove unused variable `size'.
11619 (widget-color-action): Remove unused variables `value' and `start'.
11621 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11622 variable `dir'. Doc fix.
11623 (windmove-find-other-window): Don't pass it.
11625 * window.el (count-windows): Mark unused parameter.
11626 (bw-adjust-window): Remove unused variable `err'.
11628 * woman.el (woman-file-name): Remove unused variable `default'.
11629 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11630 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11631 (global-font-lock-mode): Declare.
11632 (woman-decode-region): Mark unused parameter.
11633 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11635 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11636 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11637 (x-dnd-handle-moz-url): Remove unused variable `title'.
11638 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11640 * xml.el (xml-parse-tag, xml-parse-attlist):
11641 Remove unused variable `pos'.
11643 2011-04-19 Glenn Morris <rgm@gnu.org>
11645 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11646 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11647 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11648 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11649 * calendar/cal-html.el (cal-html-insert-minical):
11650 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11651 (calendar-mark-date-pattern):
11652 Prefix "unused" locals.
11654 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11655 optional argument `style'.
11657 * calendar/appt.el (appt-make-list):
11658 * calendar/cal-china.el (calendar-chinese-date-string):
11659 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11660 (diary-hebrew-yahrzeit):
11661 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11662 * calendar/calendar.el (calendar-generate-window):
11663 * calendar/time-date.el (time-to-days):
11664 Remove unused local variables.
11666 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11668 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11669 glyphless-char-display table.
11670 (tabulated-list-glyphless-char-display): New var.
11672 2011-04-18 Sam Steingold <sds@gnu.org>
11674 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11675 to acknowledgments.
11677 2011-04-17 Glenn Morris <rgm@gnu.org>
11679 * calendar/diary-lib.el (diary-sexp-entry):
11680 * calendar/holidays.el (holiday-sexp):
11681 Set debug-on-error rather than the removed stack-trace-on-error.
11683 2011-04-16 Glenn Morris <rgm@gnu.org>
11685 * progmodes/f90.el: Use lexical-binding.
11686 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11688 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11691 (mail-mode): Setup mailalias completion here instead.
11692 * mail/mailalias.el: Use lexical-binding.
11693 (pattern, mailalias-done): Declare dynamic.
11694 (mail-completion-at-point-function): New function, from mail-complete.
11695 (mail-complete): Use it.
11696 (mail-completion-expand): New function.
11697 (mail-get-names): Use it.
11698 (mail-directory, mail-directory-process, mail-directory-stream):
11699 Don't use `pattern' for lexically bound arg.
11701 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11703 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11704 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11705 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11707 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11708 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11709 (byte-interactive-p): Define them again, for use when inlining
11712 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11714 * loadup.el: Use `string-to-number', not `string-to-int'.
11716 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11718 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11719 gud-gdb-complete-command.
11720 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11721 (gud-gdb-completion-at-point): New function.
11722 (gud-gdb-completions): Remove.
11724 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11726 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11727 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11728 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11729 whether `executable-find' is bound.
11731 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11733 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11735 * minibuffer.el (completion-in-region-mode-predicate)
11736 (completion-in-region-mode--predicate): New vars.
11737 (completion-in-region, completion-in-region--postch)
11738 (completion-in-region-mode): Use them.
11739 (completion--capf-wrapper): Also return the hook function.
11740 (completion-at-point, completion-help-at-point):
11741 Adjust and provide a predicate.
11743 Preserve arg names for advice of subr and lexical functions (bug#8457).
11744 * help-fns.el (help-function-arglist): Consolidate the subr and
11745 new-byte-code cases. Add argument `preserve-names' to extract names
11746 from the docstring when needed.
11747 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11748 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11749 (ad-arglist): Use help-function-arglist's new arg.
11750 (ad-definition-type): Use cond.
11752 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11754 * autorevert.el (auto-revert-handler):
11755 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11756 which was removed in revno:101730 (2010-10-02).
11757 Don't quote lambda.
11759 * image-mode.el (image-transform-set-scale):
11760 Fix change in revno:103877 (2011-04-09).
11762 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11764 * net/network-stream.el (network-stream-open-starttls): Only do
11765 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11766 Upgrades via gnutls-cli are too slow to be done opportunistically.
11768 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11770 * dframe.el (dframe-current-frame): Remove spurious quote.
11772 2011-04-12 Glenn Morris <rgm@gnu.org>
11774 * calendar/cal-tex.el (cal-tex-end-document):
11775 Try to automatically use latin1 input if needed.
11777 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11778 Don't try to cons a mark onto an empty element.
11780 2011-04-11 Leo Liu <sdl.web@gmail.com>
11782 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11784 (ido-kill-buffer-at-head): Support killing virtual buffers.
11786 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11788 * minibuffer.el (completion-show-inline-help): New var.
11789 (completion--do-completion, minibuffer-complete)
11790 (minibuffer-force-complete, minibuffer-complete-word):
11791 Inhibit minibuffer messages if completion-show-inline-help is nil.
11793 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11794 to avoid interference from inline help (Bug#5849).
11796 2011-04-10 Leo Liu <sdl.web@gmail.com>
11798 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11801 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11803 * image-mode.el (image-toggle-display-image): Signal an error if
11805 (image-transform-mode, image-transform-resize)
11806 (image-transform-set-rotation): Doc fix.
11807 (image-transform-set-resize): Delete.
11808 (image-transform-set-scale, image-transform-fit-to-height)
11809 (image-transform-fit-to-width): Handle image-toggle-display-image
11810 and image-transform-resize directly.
11812 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11814 * doc-view.el (doc-view-fit-width-to-window)
11815 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11816 New functions for fitting the shown image to the Emacs window size.
11817 (doc-view-mode-map): Add bindings for the new functions.
11819 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11821 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11822 Fix typo in docstring.
11824 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11826 * files.el (file-size-human-readable): Produce one digit after
11827 decimal, like "ls -lh" does.
11829 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11830 the file size representation.
11832 * simple.el (list-processes): If async subprocesses are not
11833 available, error out with a clear error message.
11835 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11837 * help.el (help-form-show): New function, to be called from C.
11838 Put help-form output in a buffer named differently than *Help*.
11840 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11842 * files.el (file-size-human-readable): New function.
11844 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11845 computing the representation inline. Don't require `cl'.
11847 2011-04-08 Glenn Morris <rgm@gnu.org>
11849 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11851 * net/browse-url.el (browse-url-firefox):
11852 Test system-type, not system-configuration.
11854 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11855 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11856 Use log-edit-empty-buffer-p. (Bug#7598)
11858 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11859 (rlogin-mode-map): Initialize in the defvar.
11860 (rlogin): Use ignore-errors.
11862 * replace.el (occur-mode-map): Some fixes for menu items.
11864 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11866 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11868 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11870 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11871 issuing unused warnings.
11873 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11876 * simple.el: Lisp reimplement of list-processes. Based on an
11877 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11878 (process-menu-mode): New major mode.
11879 (list-processes--refresh, list-processes):
11880 (process-menu-visit-buffer): New functions.
11882 * files.el (save-buffers-kill-emacs): Don't assume any return
11883 value of list-processes, which is undocumented anyway.
11885 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11887 * emacs-lisp/tabulated-list.el: New file.
11889 * emacs-lisp/package.el: Use Tabulated List mode.
11890 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11891 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11892 table format using Tabulated List mode variables.
11893 (package--push): New macro, replacing package-list-maybe-add.
11894 (package-menu--generate): Use package--push. Renamed from
11895 package--generate-package-list.
11896 (package-menu-refresh, list-packages): Use it.
11897 (package-menu--print-info): Rename from package-print-package.
11898 Return insertion data instead of inserting it directly.
11899 (package-menu-describe-package, package-menu-execute):
11900 Use tabulated-list-get-id.
11901 (package-menu-mark-delete, package-menu-mark-install)
11902 (package-menu-mark-unmark, package-menu-backup-unmark)
11903 (package-menu-mark-obsolete-for-deletion):
11904 Use tabulated-list-put-tag.
11905 (package--list-packages, package-menu-revert)
11906 (package-menu-get-package, package-menu-get-version)
11907 (package-menu-sort-by-column): Functions deleted.
11908 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11909 (package-menu--status-predicate, package-menu--version-predicate)
11910 (package-menu--name-predicate)
11911 (package-menu--description-predicate): Handle arguments in the
11912 Tabulated List format.
11913 (package-list-packages-no-fetch): Call list-packages.
11915 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11917 * files.el (after-find-file-from-revert-buffer): Remove variable.
11918 (after-find-file): Don't bind it.
11919 (revert-buffer-in-progress-p): New variable.
11920 (revert-buffer): Bind it.
11921 Pass nil for `after-find-file-from-revert-buffer'.
11923 * saveplace.el (save-place-find-file-hook): Use new variable
11924 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11926 2011-04-06 Glenn Morris <rgm@gnu.org>
11928 * Makefile.in (AUTOGEN_VCS): New variable.
11929 (autoloads): Use $AUTOGEN_VCS.
11931 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11932 * calendar/calendar.el (calendar-mode-map):
11933 Check for toolkit scroll bars. (Bug#8305)
11935 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11937 * minibuffer.el (completion-in-region--postch)
11938 (completion-in-region-mode): Remove unnecessary messages.
11940 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11942 * font-lock.el (font-lock-refresh-defaults):
11943 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11944 revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
11946 * info.el (Info-directory-list, Info-read-node-name-2)
11947 (Info-split-parameter-string): Doc fixes.
11948 (Info-virtual-nodes): Reflow docstring.
11949 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11950 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11951 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11952 Fix typos in docstrings.
11953 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11954 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11955 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11956 (Info-restore-desktop-buffer): Mark unused parameters.
11957 (Info-directory-find-file, Info-directory-find-node)
11958 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11959 (Info-virtual-index-find-node, Info-apropos-find-file)
11960 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11961 Mark unused parameters; fix typos in docstrings.
11962 (Info-virtual-index): Remove unused local variable `nodename'.
11964 2011-04-05 Deniz Dogan <deniz@dogan.se>
11966 * net/rcirc.el: Update my e-mail address.
11967 (rcirc-mode-map): Remove M-o binding.
11969 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11971 * startup.el (command-line): Save the cursor's theme-face
11972 directly, instead of using face-override-spec.
11974 * custom.el (load-theme): Minor optimization in assigning faces.
11976 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11978 * help-fns.el (describe-variable): Complete all variables having
11979 documentation, including keywords.
11980 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11982 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11984 Convert to lexical-binding.
11986 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11987 (bs--get-marked-string, bs--get-modified-string)
11988 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11989 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11990 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11992 * ehelp.el (electric-help-execute-extended)
11993 (electric-help-ctrl-x-prefix):
11994 * hexl.el (hexl-revert-buffer-function):
11995 * linum.el (linum-after-change, linum-after-scroll):
11996 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11998 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12000 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12007 * epg.el: Use lexical binding.
12009 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12011 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12013 * textmodes/flyspell.el (flyspell-word): Recognize default
12014 dictionary case for flyspell-mark-duplications-exceptions.
12015 Use regexp matching for languages.
12016 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12017 default dictionary (Bug#7926).
12019 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12021 * emacs-lisp/package.el (package--with-work-buffer):
12022 Recognize https URLs.
12024 * net/network-stream.el: Move from gnus/proto-stream.el.
12025 Change prefix to network-stream throughout.
12026 (open-protocol-stream): Merge into open-network-stream, leaving
12027 open-protocol-stream as an alias. Handle nil BUFFER args.
12029 * subr.el (open-network-stream): Move to net/network-stream.el.
12031 2011-04-02 Glenn Morris <rgm@gnu.org>
12033 * find-dired.el (find-exec-terminator): New option.
12034 (find-ls-option): Test for -ls support.
12035 (find-ls-subdir-switches): Test for -b in find-ls-option.
12036 (find-dired, find-grep-dired): Doc fixes.
12037 (find-dired): Use find-exec-terminator.
12039 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12040 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12041 (find-name-arg): Remove purecopy.
12043 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12044 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12045 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12046 accordingly. Don't add the null-device if not needed.
12048 * files.el (save-some-buffers): Doc fix.
12050 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12052 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12054 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12056 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12057 Use `dolist' rather than `mapcar'.
12059 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12061 Add lexical binding.
12063 * subr.el (apply-partially): Use new closures rather than CL.
12064 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12065 (dolist, dotimes): Use slightly different expansion for lexical code.
12066 (functionp): Move to C.
12067 (letrec): New macro.
12068 (with-wrapper-hook): Use it and apply-partially instead of CL.
12069 (eval-after-load): Preserve lexical-binding.
12070 (save-window-excursion, with-output-to-temp-buffer): Turn them
12073 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12075 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12077 (help-add-fundoc-usage): Don't add `Not documented'.
12078 (help-function-arglist): Handle closures, subroutines, and new
12079 byte-code-functions.
12080 (help-make-usage): Remove leading underscores.
12081 (describe-function-1): Handle closures.
12082 (describe-variable): Use special-variable-p for completion.
12084 * files.el (lexical-binding): Declare safe.
12086 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12087 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12088 (pcase): Add `let' pattern.
12089 Change memoization so it actually works.
12090 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12091 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12094 * emacs-lisp/macroexp.el: Use lexical binding.
12095 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12096 Don't convert ' to #' without checking that it's indeed quoting
12099 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12100 Use eval-sexp-add-defvars.
12101 (eval-sexp-add-defvars): New fun.
12103 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12105 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12107 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12108 than the internal `byte-compile-lambda'.
12109 (defmethod): Don't hide code under quotes.
12110 (eieio-defmethod): New `code' argument.
12112 * emacs-lisp/eieio-comp.el: Remove.
12114 * emacs-lisp/edebug.el (edebug-eval-defun)
12115 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12116 (edebug-toggle): Avoid `eval'.
12118 * emacs-lisp/disass.el (disassemble-internal): Handle new
12120 (disassemble-1): Handle new byte codes.
12122 * emacs-lisp/cl.el (pushnew): Silence warning.
12124 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12125 (cl-byte-compile-throw): Remove.
12126 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12128 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12131 * emacs-lisp/cconv.el: New file.
12133 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12134 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12135 (byte-compile-initial-macro-environment):
12136 Handle declare-function here.
12137 (byte-compile--lexical-environment): New var.
12138 (byte-stack-ref, byte-stack-set, byte-discardN)
12139 (byte-discardN-preserve-tos): New lap codes.
12140 (byte-interactive-p): Don't use any more.
12141 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12143 (byte-compile-lapcode): Use them and handle new lap codes.
12144 (byte-compile-obsolete): Remove.
12145 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12146 (byte-compile-arglist-warn): Check late def of inlinable funs.
12147 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12148 since they should have been expanded by now.
12149 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12150 (byte-compile-from-buffer): Remove unused second arg.
12151 (byte-compile-preprocess): New function.
12152 (byte-compile-toplevel-file-form): New function to distinguish
12153 file-form calls from outside from file-form calls from hunk-handlers.
12154 (byte-compile-file-form): Simplify.
12155 (byte-compile-file-form-defsubst): Remove.
12156 (byte-compile-file-form-defmumble): Simplify now that
12157 byte-compile-lambda always returns a byte-code-function.
12158 (byte-compile): Preprocess.
12159 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12160 Remove, not used any more.
12161 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12162 (byte-compile-make-args-desc): New funs.
12163 (byte-compile-lambda): Handle lexical functions. Always return
12164 a byte-code-function.
12165 (byte-compile-reserved-constants): New var, to make up room for
12166 closed-over variables.
12167 (byte-compile-constants-vector): Obey it.
12168 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12169 (byte-compile-macroexpand-declare-function): New function.
12170 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12171 byte-code-functions.
12172 (byte-compile-form): Check obsolescence here.
12173 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12174 (byte-compile-variable-ref): Remove.
12175 (byte-compile-dynamic-variable-op): New fun.
12176 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12177 (byte-compile-variable-set): New funs.
12178 (byte-compile-discard): Add 2 args.
12179 (byte-compile-stack-ref, byte-compile-stack-set)
12180 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12181 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12182 macroexpand-all instead.
12183 (byte-compile-quote-form): Remove.
12184 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12185 (byte-compile-bind, byte-compile-unbind): New funs.
12186 (byte-compile-let): Handle let* and lexical binding.
12187 (byte-compile-let*): Remove.
12188 (byte-compile-catch, byte-compile-unwind-protect)
12189 (byte-compile-track-mouse, byte-compile-condition-case):
12190 Handle a new :fun-body form, used for lexical scoping.
12191 (byte-compile-save-window-excursion)
12192 (byte-compile-with-output-to-temp-buffer): Remove.
12193 (byte-compile-defun): Simplify.
12194 (byte-compile-stack-adjustment): New fun.
12195 (byte-compile-out): Use it.
12196 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12198 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12201 * emacs-lisp/byte-opt.el: Use lexical binding.
12202 (byte-inline-lapcode): Remove (to bytecomp).
12203 (byte-compile-inline-expand): Pay attention to inlining to/from
12204 lexically bound code.
12205 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12207 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12208 any more and don't call compiler-macros.
12209 (byte-compile-splice-in-already-compiled-code): Remove.
12210 (byte-code): Don't inline any more.
12211 (disassemble-offset): Receive `bytes' as argument rather than via
12213 (byte-compile-tag-number): Declare before first use.
12214 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12215 `return' even if make-spliceable.
12216 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12217 obsolete interactive-p.
12218 (byte-optimize-lapcode): Optimize new lap-codes.
12219 Don't trip up on new form of `byte-constant' lap code.
12221 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12223 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12225 * custom.el (custom-initialize-default, custom-declare-variable):
12228 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12230 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12231 (COMPILE_FIRST): Add macroexp and cconv.
12232 * makefile.w32-in: Mirror changes in Makefile.in.
12234 * vc/cvs-status.el:
12238 * vc/smerge-mode.el:
12239 * textmodes/bibtex-style.el:
12240 * textmodes/css.el:
12248 * emacs-lisp/smie.el:
12251 * abbrev.el: Use lexical binding.
12253 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12255 * info.el (info-display-manual): New function.
12257 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12259 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12261 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12263 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12264 an entry for that server in rcirc-authinfo. (Bug#8385)
12266 2011-03-31 Glenn Morris <rgm@gnu.org>
12268 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12270 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12272 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12274 * progmodes/python.el (python-default-interpreter)
12275 (python-python-command-args, python-jython-command-args)
12276 (python-which-shell, python-which-args, python-which-bufname)
12277 (python-file-queue, python-comint-output-filter-function)
12278 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12279 variables and functions.
12281 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12283 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12284 (completion-in-region-mode): New minor mode.
12285 (completion-in-region): Use it.
12286 (completion-in-region--data, completion-in-region-mode-map): New vars.
12287 (completion-in-region--postch): New function.
12288 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12290 (completion--capf-wrapper): New function.
12291 (completion-at-point): Use it to track well-behavedness of
12293 (completion-help-at-point): New command.
12295 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12297 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12298 syntax class to search for whitespace on a single line
12299 (Message-ID: <4D938140.4030905@redhat.com>).
12301 2011-03-30 Leo Liu <sdl.web@gmail.com>
12303 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12305 (edit-abbrevs-map): Bind them here.
12306 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12308 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12310 * allout.el (allout-hide-by-annotation, allout-flag-region):
12311 Reduce possibility of overlay leakage by making them volatile.
12313 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12314 hash is not shared between buffers. Mode initialization is
12315 responsible for giving it a useful starting value.
12316 (allout-item-span): Reduce possibility of overlay leakage by
12317 making them volatile.
12318 (allout-widgets-count-buttons-in-region): Add diagnostic function
12319 for tracking down button overlay leaks.
12321 2011-03-29 Leo Liu <sdl.web@gmail.com>
12323 * ido.el (ido-read-internal): Use the default history var
12324 minibuffer-history if no HISTORY is specified.
12326 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12328 * net/imap.el (imap-shell-open, imap-process-connection-type):
12329 Use imap-process-connection-type for 'shell' streams as well as
12330 Kerberos, SSL, other subprocesses.
12332 2011-03-28 Leo Liu <sdl.web@gmail.com>
12334 * abbrev.el (abbrev-table-empty-p): New function.
12335 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12336 nonempty ones. (Bug#5937)
12338 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12340 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12342 2011-03-27 Leo Liu <sdl.web@gmail.com>
12344 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12345 for foreground and background colors.
12346 (ansi-color-make-color-map): Adapt.
12348 2011-03-25 Leo Liu <sdl.web@gmail.com>
12350 * midnight.el (midnight-time-float): Remove. Note it calculates
12351 the microsecond component incorrectly and seconds-to-time does the
12353 Remove redundant (require 'timer).
12355 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12356 (ido-completions): Remove unused arguments. (Bug#8329)
12358 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12360 * minibuffer.el (completion--flush-all-sorted-completions):
12361 Remove itself from hook.
12362 (completion-at-point): Let the functions perform the completion
12363 immediately and return nil or t.
12364 * comint.el (comint-dynamic-complete-functions): Now identical to
12365 completion-at-point-functions.
12366 (comint-dynamic-list-input-ring): Remove unused var `index'.
12367 (comint--match-partial-filename, comint--unquote&expand-filename):
12368 New funs, split from comint-match-partial-filename.
12369 (comint-dynamic-complete): Use completion-at-point.
12370 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12372 2011-03-24 Drew Adams <drew.adams@oracle.com>
12374 * thingatpt.el: Support `defun'.
12376 2011-03-23 Leo Liu <sdl.web@gmail.com>
12378 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12380 * help-mode.el (help-mode-finish): Tweak regexp.
12382 2011-03-23 Glenn Morris <rgm@gnu.org>
12384 * eshell/esh-opt.el (eshell-eval-using-options):
12385 Do not bind unused local variable `eshell-option-stub'.
12387 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12389 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12391 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12392 keymap variable in `with-no-warnings' to avoid a warning when the
12393 keymap has been already `defconst'ed.
12395 2011-03-22 Leo Liu <sdl.web@gmail.com>
12397 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12398 encode all chars in abbrevs; otherwise use emacs-mule or
12399 utf-8-emacs. (Bug#8308)
12401 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12403 * simple.el (backward-delete-char-untabify):
12404 Avoid warning about using `delete-backward-char'.
12406 * image.el (image-type-file-name-regexps): Make it variable.
12407 `imagemagick-register-types' modifies it, and the user may want
12408 to add new extensions for known image types.
12409 (imagemagick-register-types): Throw error if not using ImageMagick.
12411 2011-03-22 Leo Liu <sdl.web@gmail.com>
12413 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12414 located before rcirc-prompt-end-marker.
12415 (rcirc-complete): Error if point is not after rcirc prompt.
12416 Handle the case when table is nil.
12417 (rcirc-user-authenticated): Define to fix compiler warning.
12419 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12421 * custom.el (custom--inhibit-theme-enable): Make it affect only
12422 custom-theme-set-variables and custom-theme-set-faces.
12423 (provide-theme): Ignore custom--inhibit-theme-enable.
12424 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12425 (custom-enabling-themes): Delete variable.
12426 (enable-theme): Accept only loaded themes as arguments.
12427 Ignore the special custom-enabled-themes variable.
12428 (custom-enabled-themes): Forbid themes from setting this.
12429 Eliminate use of custom-enabling-themes.
12430 (custom-push-theme): Quote "changed" custom var entry.
12432 2011-03-21 Leo Liu <sdl.web@gmail.com>
12434 * ido.el (ido-read-internal): Add ido-selected to history instead
12437 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12439 * subr.el (deferred-action-list, deferred-action-function):
12442 2011-03-21 Leo Liu <sdl.web@gmail.com>
12444 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12445 change on 2011-02-13 (bug#8309).
12447 * minibuffer.el (read-file-name-function): Change default value.
12448 (read-file-name--defaults): Rename from read-file-name-defaults.
12449 (read-file-name-default): Rename from read-file-name.
12450 (read-file-name): Call read-file-name-function.
12452 2011-03-21 Glenn Morris <rgm@gnu.org>
12454 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12457 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12459 * cus-theme.el: Add missing provide statement.
12460 (customize-create-theme): Extract theme value correctly.
12461 (custom-theme-visit-theme): Autoload.
12462 (customize-create-theme): Prompt before inserting default faces.
12464 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12466 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12467 units and musical notes.
12469 2011-03-20 Leo Liu <sdl.web@gmail.com>
12471 * ido.el (ido-read-internal): Use completing-read-default.
12472 (ido-completing-read): Fix compatibility with completing-read.
12474 2011-03-20 Christian Ohler <ohler@gnu.org>
12476 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12477 (ert-delete-all-tests): Use `called-interactively-p' rather than
12479 (ert--make-xrefs-region): Respect END.
12481 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12483 * dired-aux.el (dired-create-directory): Signal an error if the
12484 directory already exists (Bug#8246).
12486 * facemenu.el (list-colors-display): Call list-faces-display
12487 inside with-help-window.
12488 (list-colors-print): Use display property to align the final
12489 column, instead of checking window-width.
12491 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12493 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12494 windows-nt systems.
12495 (emerge-protect-metachars): Quote correctly for ms-dos and
12496 windows-nt systems.
12498 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12500 * info.el (info-initialize): Replace all uses of `:' with
12501 path-separator for compatibility with non-Unix systems.
12502 Cache quoting of path-separator. (Bug#8258)
12504 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12506 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12507 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12508 (mouse-avoidance-mode): Fix typos in docstrings.
12510 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12512 * startup.el (package-subdirectory-regexp): Move from package.el.
12513 Omit \\` and \\', and let callers add them.
12515 * emacs-lisp/package.el (package-strip-version)
12516 (package-load-all-descriptors): Add \\` and \\' to
12517 package-subdirectory-regexp before using it.
12518 (package-untar-buffer): New arg DIR; ensure that file untars only
12519 into this expected directory. Remove superfluous delete-region.
12520 (package-unpack): Caller changed.
12521 (package-tar-file-info): Use package-subdirectory-regexp.
12523 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12526 diff-mode-shared-map (bug#8284).
12527 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12529 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12531 * calendar/time-date.el (format-seconds): Use assoc instead of
12532 assoc-string, since assoc-string doesn't exist in XEmacs.
12534 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12536 * custom.el (custom-known-themes): Reflow docstring.
12537 (custom-theme-load-path): Fix typo in docstring.
12538 (load-theme): Fix typo in error message.
12539 (custom-available-themes, custom-variable-theme-value):
12540 Use `let', not `let*'.
12542 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12544 * calc/README: Mention inclusion of musical notes.
12546 * calc/calc-units.el (calc-lu-quant): Rename from
12547 `calc-logunits-quantity'.
12548 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12549 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12550 (calc-db): Rename from `calc-dblevel'.
12551 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12552 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12553 (calc-np): Rename from `calc-nplevel'.
12554 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12555 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12556 (calc-lu-plus): Rename from `calc-logunits-add'.
12557 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12558 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12559 (calc-lu-minus): Rename from `calc-logunits-sub'.
12560 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12561 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12562 (calc-lu-times): Rename from `calc-logunits-mul'.
12563 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12564 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12565 (calc-lu-divide): Rename from `calc-logunits-div'.
12566 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12567 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12569 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12570 functions being autoloaded.
12572 * calc/calc.el (calc-lu-power-reference): Rename from
12573 `calc-logunits-power-reference'.
12574 (calc-lu-field-reference): Rename from
12575 `calc-logunits-field-reference'.
12577 * calc/calc-help.el (calc-l-prefix-help):
12578 Mention musical note functions.
12580 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12582 * minibuffer.el (completion-all-sorted-completions):
12583 Use :completion-cycle-penalty text property if present.
12585 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12587 * allout.el (allout-yank-processing): Adjust for new rebulleting
12588 regime so bullet being yanked is used without prompting the user
12591 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12593 * startup.el (command-line): Warn the user that _emacs is deprecated.
12595 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12597 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12598 (delphi-verbose, delphi-comment-face, delphi-string-face)
12599 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12600 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12601 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12602 (delphi-new-comment-line, delphi-font-lock-defaults)
12603 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12604 Fix typos in docstrings.
12606 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12608 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12609 Invert the roles of character and string values for INSTEAD, so a
12610 string is used for the more common case of a defaulting prompt.
12612 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12614 * progmodes/ruby-mode.el (ruby-backward-sexp):
12615 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12616 * play/gamegrid.el (gamegrid-make-face):
12617 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12618 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12619 * notifications.el (notifications-notify):
12620 * net/xesam.el (xesam-search-engines):
12621 * net/quickurl.el (quickurl-list-insert):
12622 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12624 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12626 * startup.el (command-line): Update package subdirectory regexp.
12628 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * allout.el (allout-abbreviate-flattened-numbering)
12631 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12633 * subr.el (read-char-choice): Only show the cursor after the prompt,
12634 not after the answer.
12636 2011-03-15 Kevin Ryde <user42@zip.com.au>
12638 * help-fns.el (variable-at-point): Skip leading quotes, if any
12641 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12643 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12646 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12648 * shell.el (shell): When called interactively, offer to change the
12649 shell file name on remote hosts.
12651 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12653 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12654 integration for LDAP parameters. The host, base, user or binddn,
12655 and secret tokens can be specified in a netrc file, for instance.
12656 This is optional because an `auth-source' parameter must be
12657 specified in the search attributes.
12659 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12661 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12663 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12665 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12666 into declaration. Remove redundant and harmful binding.
12668 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12670 * files.el (file-ownership-preserved-p): Pass `integer' as an
12671 explicit 2nd argument to `file-attributes'. If the file's owner
12672 is the Administrators group on Windows, and the current user is
12673 Administrator, consider that a match.
12675 * server.el (server-ensure-safe-dir): Consider server directory
12676 safe on MS-Windows if its owner is the Administrators group while
12677 the current Emacs user is Administrator. Use `=' to compare
12678 numerical UIDs, since they could be integers or floats.
12680 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12682 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12684 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12686 Sync with Tramp 2.2.1.
12688 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12690 * net/trampver.el: Update release number.
12692 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12694 * progmodes/compile.el (compilation--previous-directory): Fix up
12695 various nil/dead-marker mismatches (bug#8014).
12696 (compilation-directory-properties, compilation-error-properties):
12697 Don't call it at a position past the one we're about to change.
12699 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12700 Disable obsolescence warnings in the file that declares it.
12702 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12704 * allout-widgets.el (allout-widgets-tally):
12705 Initialize allout-widgets-tally as a hash table rather than nil to
12706 prevent mode-line redisplay warnings. Also, clarify the module
12707 description and fix a comment typo.
12709 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12711 * help-fns.el (describe-variable): Don't complete keywords.
12712 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12714 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12716 * emacs-lisp/package.el (package-version-join): Impose a standard
12717 string representation for pre/alpha/beta version lists.
12718 (package-unpack-single): Standardize the directory name by passing
12719 it through package-version-join.
12720 (package-strip-rcs-id): Accept any version string that does not
12721 signal an error in version-to-list.
12723 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12725 * simple.el (delete-trailing-whitespace): Return nil for the
12726 benefit of `write-file-functions'.
12728 2011-03-10 Glenn Morris <rgm@gnu.org>
12730 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12732 * vc/vc-git.el (vc-git-program): New option.
12733 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12734 (vc-git--call): Use it.
12736 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12738 * cus-edit.el (Custom-newline): If no button at point, look
12739 for a subgroup button at start-of-line. (Bug#2298)
12741 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12743 2011-03-10 Julien Danjou <julien@danjou.info>
12745 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12746 `cursor-type' is nil.
12748 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12750 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12752 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12754 * allout.el: Change so yank of distinctive-bullet items
12755 preserves the existing header prefix, rebulleting it if necessary,
12756 rather than replacing it. This is necessary for proper operation
12757 of cooperative addons like allout-widgets.
12758 (allout-make-topic-prefix, allout-rebullet-heading):
12759 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12760 value as alternate bullet to be used, instead of prompting the user
12761 for a bullet character.
12763 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12765 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12766 Do not use `tramp-file-name-port', because this returns also
12767 `tramp-default-port'.
12769 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12771 * net/rcirc.el (rcirc-handler-001): Remove useless
12772 with-rcirc-process-buffer.
12773 (rcirc-check-auth-status): Swap arguments to string-match.
12775 2011-03-09 Glenn Morris <rgm@gnu.org>
12777 * shell.el (shell-mode):
12778 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12780 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12781 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12783 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12785 * emacs-lisp/package.el (package-refresh-contents)
12786 (package-menu-execute): Use condition-case-no-debug.
12788 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12790 * simple.el (shell-command-to-string): Use `process-file'.
12792 * emacs-lisp/package.el (package-tar-file-info): Handle also
12795 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12796 Use `equal' for upload base check.
12798 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12800 * textmodes/texinfo.el (texinfo-environments):
12801 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12803 2011-03-08 Glenn Morris <rgm@gnu.org>
12805 * cus-start.el (cursor-in-non-selected-windows):
12806 Fix :set quoting oddness. (Bug#8192)
12808 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12809 in some setf expressions. (Bug#2159)
12811 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12813 * custom.el (custom-available-themes): Return themes in
12814 alphabetical order.
12816 See ChangeLog.15 for earlier changes.
12818 ;; Local Variables:
12822 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12824 This file is part of GNU Emacs.
12826 GNU Emacs is free software: you can redistribute it and/or modify
12827 it under the terms of the GNU General Public License as published by
12828 the Free Software Foundation, either version 3 of the License, or
12829 (at your option) any later version.
12831 GNU Emacs is distributed in the hope that it will be useful,
12832 but WITHOUT ANY WARRANTY; without even the implied warranty of
12833 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12834 GNU General Public License for more details.
12836 You should have received a copy of the GNU General Public License
12837 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.