1 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4 (ruby-syntax-propertize-regexp): Remove.
5 (ruby-syntax-propertize-function): Split regexp into chunks.
6 Match following code directly.
8 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11 (ruby-syntax-propertize-regexp): New function.
12 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
16 (ruby-syntax-general-delimiters-goto-beg)
17 (ruby-syntax-propertize-general-delimiters): New functions.
18 (ruby-syntax-propertize-function): Use them to handle GDL.
19 (ruby-font-lock-keywords): Move old handling of GDL...
20 (ruby-font-lock-syntactic-keywords): .. to here.
21 (ruby-calculate-indent): Adjust indentation for GDL.
23 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
25 * notifications.el (notifications-interface)
26 (notifications-notify-method, notifications-notify)
27 (notifications-close-notification-method): Fix docstring.
28 (notifications-get-capabilities-method): New defconst.
29 (notifications-get-capabilities): New defun.
31 2012-04-24 Leo Liu <sdl.web@gmail.com>
33 * progmodes/python.el: Move hideshow setup to the end.
35 2012-04-24 Martin Rudalics <rudalics@gmx.at>
37 * window.el (handle-select-window): Clear echo area since this is
38 no more done by read_char (Bug#11304).
40 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
42 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
43 and `/ M' to filter-derived-mode.
44 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
45 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
46 (ibuffer-mark-by-mode): Use default rather than initial-input.
47 (ibuffer-filter-by-derived-mode): Autoload and require-match.
49 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
51 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
52 (ibuffer-filter-by-derived-mode): New filter.
53 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
55 2012-04-23 Andreas Politz <politza@fh-trier.de>
57 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
59 2012-04-23 Chong Yidong <cyd@gnu.org>
61 * cus-edit.el (customize-apropos, customize-apropos-options):
62 Disable matching of non-option variables (Bug#11176).
63 (customize-option, customize-option-other-window)
64 (customize-changed-options): Doc fix.
65 (customize-apropos-options, customize-apropos-faces)
66 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
68 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
69 Fix word list splitting (Bug#11132).
70 (apropos-symbol, apropos-keybinding, apropos-label)
71 (apropos-property, apropos-function-button)
72 (apropos-variable-button, apropos-misc-button): New faces.
73 (apropos-symbol-face, apropos-keybinding-face)
74 (apropos-label-face, apropos-property-face, apropos-match-face):
75 Variables removed (Bug#8396).
76 (apropos-library-button, apropos-format-plist, apropos-print)
77 (apropos-print-doc, apropos-describe-plist): Callers changed.
79 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
81 * net/xesam.el (xesam-mode-map): Use let-bound map in
82 initialization. (Bug#11292)
84 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
86 Preserve ispell session localwords when switching back to
89 * ispell.el (ispell-buffer-session-localwords): New buffer-local
90 variable to hold buffer session localwords.
91 (ispell-kill-ispell): add option 'clear to delete session
93 (ispell-command-loop, ispell-change-dictionary)
94 (ispell-buffer-local-words): Preserve session localwords when
97 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
98 Preserve session localwords when needed.
100 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
102 * ispell.el (ispell-insert-word) Remove unneeded function using
103 obsolete `translation-table-for-input'.
104 (ispell-word, ispell-process-line, ispell-complete-word): Use
105 plain `insert' instead of removed `ispell-insert-word'.
107 2012-04-22 Chong Yidong <cyd@gnu.org>
109 * cus-edit.el (custom-variable-menu)
110 (custom-variable-reset-saved, custom-face-menu)
111 (custom-face-reset-saved): If there is no saved value, make the
112 "reset-saved" operation bring back the default (Bug#9509).
113 (custom-face-state): Properly detect themed faces.
115 * faces.el (face-spec-set): Stop supporting deprecated form of
118 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
120 Move functions from C to Lisp. Make non-blocking method calls
121 the default. Implement further D-Bus standard interfaces.
123 * net/dbus.el (dbus-message-internal): Declare function. Remove
124 unneeded function declarations.
125 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
126 (dbus-message-type-method-return, dbus-message-type-error)
127 (dbus-message-type-signal): Declare variables. Remove local
129 (dbus-interface-dbus, dbus-interface-peer)
130 (dbus-interface-introspectable, dbus-interface-properties)
131 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
133 (dbus-interface-objectmanager): New defconst.
134 (dbus-call-method, dbus-call-method-asynchronously)
135 (dbus-send-signal, dbus-method-return-internal)
136 (dbus-method-error-internal, dbus-register-service)
137 (dbus-register-signal, dbus-register-method): New defuns, moved
139 (dbus-call-method-handler, dbus-setenv)
140 (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
142 (dbus-call-method-non-blocking): Make it an obsolete function.
143 (dbus-unregister-object, dbus-unregister-service)
144 (dbus-handle-event, dbus-register-property)
145 (dbus-property-handler): Obey the new structure of
146 `bus-registered-objects'.
147 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
148 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
149 Use `dbus-call-method'.
151 2012-04-22 Chong Yidong <cyd@gnu.org>
153 * cus-edit.el (custom-commands, custom-reset-menu)
154 (Custom-reset-standard): Tweak labels.
155 (custom-reset-button-menu): Change default to t.
156 (custom-buffer-create-internal): For the custom-reset-button-menu
157 case, put the revert button first.
158 (custom-group-subtitle): New face.
159 (custom-group-value-create): Align docstring to a specific column.
161 * wid-edit.el (widget-documentation-link-add): Don't handle
162 indentation in this function.
163 (widget-documentation-string-indent-to): New function.
164 (widget-documentation-string-value-create): Use it.
166 * autorevert.el (auto-revert):
167 * epg-config.el (epg):
168 * ibuffer.el (ibuffer):
171 * eshell/eshell.el (eshell):
172 * net/ange-ftp.el (ange-ftp):
173 * progmodes/ebnf2ps.el (postscript):
174 * progmodes/flymake.el (flymake):
175 * progmodes/prolog.el (prolog):
176 * progmodes/verilog-mode.el (verilog-mode):
177 * progmodes/which-func.el (which-func):
178 * term/xterm.el (xterm):
179 * textmodes/picture.el (picture):
180 * textmodes/tildify.el (tildify):
181 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
182 customization buffers.
184 2012-04-22 Alan Mackenzie <acm@muc.de>
186 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
187 Adding a ) can hide the resulting (..) from searches. Fix it.
188 Bound the backward search to the position of the existing (.
190 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
192 * progmodes/verilog-mode.el (verilog-mode): Check whether
193 which-func-modes is t before adding verilog-mode.
194 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
196 2012-04-21 Leo Liu <sdl.web@gmail.com>
198 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
200 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
202 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
203 filling of the last column of a table (Bug#5635).
204 (woman-find-next-control-line): New arg, specifying an additional
205 regexp component for the control line.
206 (woman2-roff-buffer): Use it.
207 (woman-break-table): New function.
210 2012-04-21 Chong Yidong <cyd@gnu.org>
212 * woman.el (woman-set-buffer-display-table, woman-decode-region)
213 (woman-horizontal-escapes, woman-negative-vertical-space)
214 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
215 (WoMan-warn-ignored): Use ?\s instead of ?\ .
217 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
219 * minibuffer.el (completion-file-name-table): Complete user names.
221 2012-04-20 Leo Liu <sdl.web@gmail.com>
223 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
226 2012-04-20 Chong Yidong <cyd@gnu.org>
228 * server.el (server-execute): Respect initial-buffer-choice if it
229 is a string and there are no files to open (Bug#2825).
230 (server-create-window-system-frame, server-create-tty-frame):
231 Don't switch buffers here.
232 (server-process-filter): Only try to open a window system frame if
233 compiled with graphical support (Bug#8314).
235 2012-04-20 Dan Nicolaescu <dann@gnu.org>
237 * battery.el (battery-echo-area-format): Display remaining time
238 for sysfs backend too (Bug#11269).
239 (battery-linux-sysfs): Fix conditional for the charge.
241 2012-04-20 Chong Yidong <cyd@gnu.org>
243 * progmodes/gdb-mi.el (gdb): Revert previous change.
244 (gdb-inferior-io--init-proc): New function.
245 (gdb-init-1): Use it.
246 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
247 responsible for allocating a new pty and hooking it to gdb when
248 the old pty gets an EIO due to process exit.
249 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
250 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
251 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
253 2012-04-20 Eli Zaretskii <eliz@gnu.org>
255 * window.el (window-min-size, window-sizable, window-min-delta)
256 (window-max-delta, window--resizable, window-resizable)
257 (window-total-size, window-full-height-p, window-full-width-p)
258 (window-in-direction, window--resize-mini-window, window-resize)
259 (window--resize-child-windows-normal)
260 (window--resize-child-windows, window--resize-siblings)
261 (window--resize-this-window, adjust-window-trailing-edge)
262 (enlarge-window, shrink-window): Doc fixes.
264 2012-04-20 Chong Yidong <cyd@gnu.org>
266 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
267 function to call delete-process on the gdb-inferior buffer's pty.
268 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
269 pty process (Bug#11273).
270 (gdb-update): New arg to suppress talking to the gdb process.
271 (gdb-done-or-error): Use it.
272 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
273 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
274 sentinel not being called.
276 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
278 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
280 2012-04-20 Glenn Morris <rgm@gnu.org>
282 * net/network-stream.el (open-network-stream): Doc fix.
284 2012-04-20 Chong Yidong <cyd@gnu.org>
286 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
288 2012-04-20 Alan Mackenzie <acm@muc.de>
290 Ensure searching for keywords is case sensitive.
292 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
293 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
294 (c-defun-name, c-mark-function, c-cpp-define-name)
295 (c-comment-indent, c-scan-conditionals, c-indent-defun)
296 (c-context-line-break): Bind case-fold-search to nil.
298 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
299 case-fold-search to nil.
301 2012-04-20 Chong Yidong <cyd@gnu.org>
303 * mail/sendmail.el (mail-bury): Call return action with the right
304 Rmail buffer (Bug#11242).
306 * server.el (server-process-filter): Handle corner case where both
307 tty and nowait options are present (Bug#11102).
309 2012-04-20 Eli Zaretskii <eliz@gnu.org>
311 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
312 (top level): Put into the executable the ident-style '$Id:' tag on
315 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
317 * electric.el (electric-indent-post-self-insert-function): Check that
318 electric-indent-mode is enabled in current buffer.
320 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
322 * imenu.el (imenu-progress-message): Restore; it is "used" in
323 erc/erc-imenu.el and net/snmp-mode.el.
325 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
327 * avoid.el (mouse-avoidance-mode): Mark unused arg.
328 (mouse-avoidance-nudge-mouse): Remove unused binding.
330 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
332 * descr-text.el (describe-char):
333 * progmodes/python.el (python-describe-symbol):
334 Don't call `toggle-read-only', set `buffer-read-only'.
336 * imenu.el (imenu-default-goto-function): Mark unused args.
337 (imenu-progress-message): Remove obsolete macro; all callers changed.
339 * subr.el (keymap-canonicalize): Remove unused binding.
340 (read-passwd): Mark unused arg.
342 * tutorial.el (tutorial--display-changes): Remove unused binding.
343 (tutorial--save-tutorial-to): Remove unused variable.
345 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
346 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
347 (package-generate-autoloads, package-menu--generate)
348 (package-menu--find-upgrades): Remove unused bindings.
350 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
351 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
352 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
353 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
354 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
355 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
356 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
357 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
358 (cua-delete-char-rectangle): Mark unused args.
359 (cua-align-rectangle): Remove unused binding.
361 * mail/rmail.el (compilation--message->loc)
362 (epa--find-coding-system-for-mime-charset): Declare.
364 * net/dbus.el (dbus-register-service): Declare.
365 (dbus-name-owner-changed-handler): Remove unused binding.
367 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
368 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
369 (nxml-scan-backward-within): Mark unused arg.
370 (nxml-dynamic-markup-word): Remove unused binding.
372 * mouse.el (mouse-menu-major-mode-map):
373 * emacs-lisp/authors.el (authors-scan-change-log)
374 (authors-add-to-author-list):
375 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
376 * emacs-lisp/smie.el (smie-auto-fill):
377 * mail/sendmail.el (mail-bury):
378 * mail/unrmail.el (unrmail):
379 * net/tls.el (open-tls-stream):
380 * textmodes/picture.el (picture-mouse-set-point):
381 Remove unused bindings.
383 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
385 * net/tramp.el (tramp-action-password): Let-bind
386 `enable-recursive-minibuffers' to t.
388 2012-04-18 Sam Steingold <sds@gnu.org>
390 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
391 instead of 'string to accommodate values like [f11].
392 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
393 * progmodes/gdb-mi.el: Likewise.
395 2012-04-18 Leo Liu <sdl.web@gmail.com>
397 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
399 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
402 2012-04-18 Chong Yidong <cyd@gnu.org>
404 * simple.el (line-move): Use forward-line if in batch mode
407 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
409 * files.el (after-find-file): Do not try to add a final newline if
410 the buffer is read-only (Bug#11156).
412 2012-04-17 Richard Stallman <rms@gnu.org>
414 * mail/rmail.el (rmail-start-mail):
415 Pass (rmail-mail-return...) for the return-action.
416 Pass (rmail-yank-current-message...) for the yank-action.
417 (rmail-yank-current-message): New function.
418 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
419 (rmail-reply): Likewise.
420 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
422 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
423 buffer, not the last. Reject temp buffers. Use the rmail-mode
426 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
428 * server.el (server-ensure-safe-dir): Simplify.
430 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
432 * emacs-lisp/smie.el: Provide smarter auto-filling.
433 (smie-auto-fill): New function.
434 (smie-setup): Use it.
436 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
438 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
440 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
441 (comment-indent): Use it.
443 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
445 * ses.el: The overall change is to add cell renaming, that is
446 setting fancy names for cell symbols other than name matching
447 "\\`[A-Z]+[0-9]+\\'" regexp .
448 (ses-localvars): Add ses--renamed-cell-symb-list.
449 (ses-create-cell-variable): New defun.
450 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
451 (ses-relocate-formula): Relocate formulas only for cells the
452 symbols of which are not renamed, i.e. symbols whose names do not
453 match regexp "\\`[A-Z]+[0-9]+\\'".
454 (ses-relocate-all): Relocate values only for cells the symbols of
455 which are not renamed.
456 (ses-load): Create cells variables as the (ses-cell ...) are read,
457 in order to check row col consistency with cell symbol name only
458 for cells that are not renamed.
459 (ses-replace-name-in-formula): New defun.
460 (ses-rename-cell): New defun.
462 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
464 * progmodes/perl-mode.el (perl-indent-parens-as-block):
465 New option (bug#11118).
466 (perl-calculate-indent): Respect it.
468 2012-04-17 Glenn Morris <rgm@gnu.org>
470 * dired-aux.el (dired-mark-read-string): Doc fix.
472 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
474 * dired-aux.el (dired-mark-read-string): Offer optional completion.
475 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
477 2012-04-17 Glenn Morris <rgm@gnu.org>
479 * mouse.el (mouse-drag-track):
480 * speedbar.el (speedbar-frame-mode):
481 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
483 2012-04-16 Leo Liu <sdl.web@gmail.com>
485 * progmodes/python.el: Trivial cleanup.
487 2012-04-16 Glenn Morris <rgm@gnu.org>
489 * vc/vc.el (vc-string-prefix-p):
490 * vc/pcvs-util.el (cvs-string-prefix-p):
491 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
492 * mpc.el (mpc-string-prefix-p):
493 Make all of these into obsolete aliases for string-prefix-p.
495 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
497 * textmodes/two-column.el: Move custom options to the start.
498 (frame-width): Remove compat definition.
499 (2C-associate-buffer, 2C-dissociate):
500 Use with-current-buffer rather than save-excursion.
501 (2C-dissociate): Force a mode-line update.
502 (2C-autoscroll): Use ignore-errors.
504 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
507 * emacs-lisp/cl-extra.el (*random-state*):
508 Remove unnecessary declaration.
510 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
512 * play/cookie1.el (cookie-snarf):
513 Give an explicit error if input file cannot be read.
515 * play/yow.el (yow-file): Use expand-file-name rather than concat.
517 * progmodes/perl-mode.el (c-macro-expand):
518 Remove unnecessary autoload (it is in loaddefs.el).
520 * textmodes/picture.el (picture-desired-column)
521 (picture-update-desired-column): Convert comments to doc-strings.
522 (picture-substitute): Remove function.
523 (picture-mode-map): Initialize in the defvar.
525 * woman.el: Remove eval-after-load for tar-mode.
526 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
527 (woman-tar-extract-file): Autoload it.
529 * frame.el (automatic-hscrolling): Make this alias obsolete.
531 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
533 * ispell.el (ispell-set-spellchecker-params): Post-process
534 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
535 (ispell-dictionary-base-alist): Revert to original XEmacs
536 friendly version for default. [:alpha:] will be added in
537 `ispell-set-spellchecker-params' if needed
539 2012-04-16 Chong Yidong <cyd@gnu.org>
541 * image.el (imagemagick--extension-regexp): New variable.
542 (imagemagick-register-types): Use it.
543 (imagemagick-types-inhibit): Add :set function. Allow new value
544 of t to inhibit all types.
546 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
547 so we can preload it.
549 * loadup.el (fboundp): Preload regexp-opt, needed by
550 imagemagick-register-types.
552 2012-04-15 Chong Yidong <cyd@gnu.org>
554 * frame.el (scrolling): Remove nearly unused customization group.
556 * scroll-all.el (scroll-all-mode): Move to windows group.
558 2012-04-15 Chong Yidong <cyd@gnu.org>
560 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
562 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
564 Avoid the use of ((lambda ...) ...) in lexical-binding code.
565 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
567 2012-04-15 Glenn Morris <rgm@gnu.org>
569 * simple.el (process-file-side-effects): Doc fix.
571 2012-04-15 Glenn Morris <rgm@gnu.org>
573 * international/mule-cmds.el (set-language-environment): Doc fix.
575 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
577 * server.el (server-auth-key, server-generate-key): Doc fixes.
578 (server-get-auth-key): Doc fix. Use `string-match-p'.
579 (server-start): Reflow docstring.
581 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
583 * server.el (server-generate-key): `called-interactively-p'
584 requires a parameter.
586 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
588 * server.el (server-auth-key): New variable.
589 (server-generate-key, server-get-auth-key): New function.
590 (server-start): Use the new variable and functions to allow
591 setting a permanent server key (bug#9423).
593 2012-04-14 Leo Liu <sdl.web@gmail.com>
595 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
597 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
600 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
601 Emacs uses American spelling.
603 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
605 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
606 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
607 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
608 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
610 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
612 * progmodes/which-func.el (which-func-modes): Change default.
614 2012-04-14 Kim F. Storm <storm@cua.dk>
616 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
617 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
619 2012-04-14 Chong Yidong <cyd@gnu.org>
621 * custom.el (custom-theme-set-variables): Doc fix.
623 2012-04-14 Glenn Morris <rgm@gnu.org>
625 * international/mule.el (set-auto-coding-for-load): Doc fix.
627 2012-04-14 Alan Mackenzie <acm@muc.de>
629 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
630 imenu work again for Objective C Mode. Correct the *-index values,
631 these having been disturbed by a previous change in 2011-08.
633 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
634 Correct two search limits.
636 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
638 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
640 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
642 * international/characters.el: Fix sorting.
644 2012-04-14 Eli Zaretskii <eliz@gnu.org>
646 * international/characters.el: Add more missing Latin case pairs.
648 2012-04-14 Glenn Morris <rgm@gnu.org>
650 * files.el (dir-locals-set-class-variables): Doc fix.
652 2012-04-14 Eli Zaretskii <eliz@gnu.org>
654 * international/characters.el: Add set-case-syntax-pair call for
655 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
656 counterpart. (Bug#11209)
658 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
660 2012-04-14 Glenn Morris <rgm@gnu.org>
662 * calendar/holidays.el (calendar-check-holidays): Doc fix.
664 2012-04-14 Eli Zaretskii <eliz@gnu.org>
666 * textmodes/ispell.el (ispell-dictionary-base-alist):
669 2012-04-14 Chong Yidong <cyd@gnu.org>
671 * net/rcirc.el (rcirc-cmd-quit):
672 Revert 2012-03-18 change (Bug#11192).
674 2012-04-14 Glenn Morris <rgm@gnu.org>
676 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
678 2012-04-14 Eli Zaretskii <eliz@gnu.org>
680 * minibuffer.el (completion-in-region-mode-map):
681 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
683 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
685 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
687 2012-04-13 Masatake YAMATO <yamato@redhat.com>
689 * minibuffer.el (minibuffer-local-filename-syntax): New variable
690 to allow `C-M-f' and `C-M-b' to move to the nearest path
691 separator (bug#9511).
693 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
695 * avoid.el: Require cl when compiling. And also move the
696 `provide' to the end.
698 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
700 * avoid.el (mouse-avoidance-banish-position): New variable.
701 (mouse-avoidance-banish-destination): Use it (bug#10165).
703 2012-04-13 Leo Liu <sdl.web@gmail.com>
705 * progmodes/which-func.el (which-func-modes): Add objc-mode.
707 2012-04-13 Ken Brown <kbrown@cornell.edu>
709 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
710 this is no longer needed now that cygstart understands file:// URLs.
711 (browse-url-filename-alist): For the same reason, don't modify
712 file:// URLs on Cygwin.
714 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
716 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
717 the region on shift if the binding is already shifted (bug#11221).
719 2012-04-12 Glenn Morris <rgm@gnu.org>
721 * mail/mailpost.el: Move to obsolete/.
723 2012-04-12 Drew Adams <drew.adams@oracle.com>
725 * imenu.el (imenu--generic-function): Ignore invisible definitions
728 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
730 * hexl.el (hexl-bits): New variable.
731 (hexl-options): Mention the variable in the doc string.
732 (hexl-rulerise, hexl-line-displen): New functions.
733 (hexl-mode): Mention the new variable.
734 (hexl-mode, hexl-current-address, hexl-current-address):
736 (hexl-ascii-start-column): New function.
737 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
738 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
740 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
742 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
743 '("-i" ENCODING), in 2 separate command-line arguments, to specify
744 the encoding, as expected by hunspell.
746 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
748 * battery.el (battery--linux-sysfs-regexp): New const.
749 (battery-status-function): Use it. Remove yeeloong special case.
750 (battery-yeeloong-sysfs): Remove.
751 (battery-echo-area-format): Remove yeeloong special case.
753 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
755 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
756 Reported by Noah Friedman.
758 * subr.el (read-passwd): Use read-string.
760 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
762 * vcursor.el (vcursor-move): Increase the priority of the overlay
765 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
767 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
768 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
770 2012-04-11 William Stevenson <yhvh2000@gmail.com>
772 * textmodes/artist.el (artist-mode): Convert artist-mode to use
773 define-minor-mode (bug#10760).
775 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
777 * progmodes/grep.el (rgrep): Tweak the find command line so
778 that directories matching `grep-find-ignored-files' won't be
781 2012-04-11 Chong Yidong <cyd@gnu.org>
783 * startup.el (command-line): Remove support for long-obsolete
784 variable font-lock-face-attributes.
786 2012-04-11 Glenn Morris <rgm@gnu.org>
788 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
790 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
792 * window.el (window--state-get-1): Obey window-point-insertion-type.
794 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
796 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
797 to previous function when point is on the first character of a
798 function. Take care of that in `narrow-to-defun' (bug#6157).
800 2012-04-11 Glenn Morris <rgm@gnu.org>
802 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
803 not just file-errors.
805 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
806 (vc-bzr-sha1): Use internal sha1.
808 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
810 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
812 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
814 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
815 that start in the middle of the line (bug#10496).
817 2012-04-10 Dan Nicolaescu <dann@gnu.org>
819 * battery.el (battery-linux-proc-acpi): Only one battery is
820 discharged at a time, but that seems to confuse battery.el when
821 computing `rate-type' for the battery not being discharged
824 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
826 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
828 * international/quail.el: Use dolist and simplify.
829 (quail-define-package, quail-update-keyboard-layout)
830 (quail-define-rules): Use dolist.
831 (quail-insert-kbd-layout, quail-get-translation): CSE.
833 * tmm.el: Use dolist, remove left over hook.
834 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
836 (calendar-load-hook): Don't mess with it.
838 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
839 Use derived-mode-p. Run the diff asynchronously.
841 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
843 * obsolete/mouse-sel.el: Add an Obsolete-since header.
845 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
847 * misc.el: Display absolute path of loaded DLLs (bug#10424).
848 (list-dynamic-libraries--loaded): New function.
849 (list-dynamic-libraries--refresh): Use it.
851 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
853 * progmodes/python.el (python-fill-paragraph):
854 Make python-fill-region in a multiline string work when font-lock is
857 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
859 * language/european.el (cp775): Add oem/legacy (en)coding on
860 DOS/MS Windows for the Baltic languages. There are still plenty
861 of texts written in this encoding/codepage (bug#6519).
863 2012-04-10 Glenn Morris <rgm@gnu.org>
865 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
866 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
868 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
870 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
871 next-line "n" and previous-line "p" in order to make recentf more
872 consistent with ibuffer, dired or org-mode (bug#9387).
874 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
876 * image.el (put-image): Return the overlay created instead of the
877 optional input string (bug#7834). Note that this may break code
878 that is (for some reason or other) depending on `put-image'
879 returning the string.
881 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
883 * simple.el (zap-to-char): Allow zapping using input methods
886 * textmodes/fill.el (fill-region): Leave point and mark where they
887 were before filling (bug#5399).
889 2012-04-09 Glenn Morris <rgm@gnu.org>
891 * version.el (emacs-bzr-get-version):
892 Handle lightweight checkouts of local branches.
894 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
896 * international/characters.el: Recover lost case pairs. (Bug#11209)
898 2012-04-09 Chong Yidong <cyd@gnu.org>
900 * custom.el (custom-variable-p): Return nil for non-symbol
901 arguments instead of signaling an error.
902 (user-variable-p): Obsolete alias for custom-variable-p.
904 * apropos.el (apropos-variable):
905 * files-x.el (read-file-local-variable):
906 * simple.el (set-variable):
907 * woman.el (woman-mini-help):
908 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
910 2012-04-09 Glenn Morris <rgm@gnu.org>
912 * startup.el (normal-top-level): Don't look for leim-list.el
913 in places where it will not be found. (Bug#910)
915 * international/mule-cmds.el (set-default-coding-systems):
916 * files.el (normal-mode):
917 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
918 This function was removed with ucs-tables.el in 2008.
920 2012-04-08 Eli Zaretskii <eliz@gnu.org>
922 * textmodes/ispell.el (ispell-check-version): For hunspell, set
923 ispell-encoding8-command to "-i", without a trailing space.
924 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
925 separate command-line arguments, to specify the encoding, since
926 that's how hunspell expects it.
928 2012-04-08 Glenn Morris <rgm@gnu.org>
930 * loadup.el: Load bindings before cus-start.
931 This reduces somewhat the number of "rogue" settings in emacs -Q.
933 2012-04-07 Glenn Morris <rgm@gnu.org>
935 * version.el (emacs-bzr-get-version): New function.
936 (emacs-bzr-version): New variable.
937 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
938 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
940 2012-04-07 Eli Zaretskii <eliz@gnu.org>
942 * international/uni-bidi.el, international/uni-category.el:
943 * international/uni-combining.el, international/uni-decimal.el:
944 * international/uni-decomposition.el, international/uni-digit.el:
945 * international/uni-lowercase.el, international/uni-mirrored.el:
946 * international/uni-name.el, international/uni-numeric.el:
947 * international/uni-titlecase.el, international/uni-uppercase.el:
948 Update for Unicode 6.1.
950 2012-04-07 Eli Zaretskii <eliz@gnu.org>
952 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
954 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
956 * window.el (shrink-window): Mention the `window-min-height'
957 variable in the doc string.
959 2012-04-05 Bastien Guerry <bzg@altern.org>
961 * color.el (color-lighten-name): Fix typo.
963 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
965 * server.el (server--on-display-p): New function.
966 (server--on-display-p): Use it.
968 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
970 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
973 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
975 * comint.el (comint--common-quoted-suffix): Check string boundary
976 before comparing (bug#11158).
977 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
979 2012-04-04 Chong Yidong <cyd@gnu.org>
981 * minibuffer.el (completion-extra-properties): Doc fix.
983 * subr.el (delayed-warnings-hook): Doc fix.
985 2012-04-04 Daiki Ueno <ueno@unixuser.org>
987 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
988 selection (Bug#11159).
989 (epa-insert-keys): Inform that the default public key will be
990 exported if no key is selected.
992 2012-04-04 Richard Stallman <rms@gnu.org>
994 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
996 2012-04-03 Chong Yidong <cyd@gnu.org>
998 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
999 mail-insert-file, not its obsolete alias mail-attach-file.
1001 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1003 * notifications.el (notifications-notify): Fix docstring.
1005 2012-04-02 Glenn Morris <rgm@gnu.org>
1007 * emacs-lisp/authors.el (authors-aliases): Another addition.
1009 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1011 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1012 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1013 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1015 2012-04-01 Chong Yidong <cyd@gnu.org>
1017 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1018 Handle root directory properly.
1019 (copy-directory): Caller changed.
1021 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1022 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1024 2012-03-31 Glenn Morris <rgm@gnu.org>
1026 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1028 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1030 * calendar/calendar.el (calendar-window-list)
1031 (calendar-hide-window): Restore. (Bug#11140)
1032 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1034 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1036 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1038 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1039 Check if file is a symlink (Bug#10489).
1041 * files.el (copy-directory): Likewise.
1043 2012-03-30 Chong Yidong <cyd@gnu.org>
1045 * image.el (imagemagick-types-inhibit)
1046 (imagemagick-register-types): Doc fix.
1048 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1050 * ispell.el (ispell-get-extended-character-mode): Disable
1051 extended-char-mode for hunspell. hunspell does not support it
1052 and treats ~word as ordinary words in pipe mode.
1054 2012-03-30 Glenn Morris <rgm@gnu.org>
1056 * tutorial.el (help-with-tutorial): Ensure local variables don't
1057 happen to make the buffer read-only. (Bug#11127)
1059 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1062 (perl-calculate-indent): Return `noindent' in strings.
1064 2012-03-28 Sam Steingold <sds@gnu.org>
1066 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1067 instead of the broken adhockery which does not prevent calendar
1068 buffers from being displayed at random after exit.
1069 (calendar-window-list, calendar-hide-window): Remove the broken
1072 2012-03-28 Glenn Morris <rgm@gnu.org>
1074 * replace.el (query-replace-map): Doc fix.
1076 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1078 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1079 contents. (Bug#11109)
1081 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1085 (avl-tree--check, avl-tree--check-node): New funs.
1087 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1089 * window.el (switch-to-visible-buffer): New option.
1090 (switch-to-prev-buffer, switch-to-next-buffer):
1091 Observe switch-to-visible-buffer. Make sure that checking for a window
1092 showing a buffer already is done on the same frame.
1094 2012-03-27 Glenn Morris <rgm@gnu.org>
1096 * startup.el (mail-host-address): Doc fix.
1098 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1100 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1103 2012-03-26 Ami Fischman <ami@fischman.org>
1105 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1107 2012-03-26 Glenn Morris <rgm@gnu.org>
1109 * files.el (save-buffers-kill-emacs): Doc fix.
1111 * startup.el (normal-top-level, command-line, command-line-1):
1112 Give them doc strings.
1114 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1116 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1117 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1119 2012-03-25 Chong Yidong <cyd@gnu.org>
1121 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1122 theme if it was previously enabled before (Bug#11031).
1124 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1125 spec with custom-face-get-current-spec if its :shown-value is not
1126 determined yet (Bug#9337).
1127 (customize-create-theme, custom-theme-revert): Doc fixes.
1129 * button.el (button-at): Minor addition to docstring.
1131 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1133 * vc/vc.el (vc-merge): Fix a prompt.
1135 2012-03-24 Chong Yidong <cyd@gnu.org>
1137 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1140 * button.el (button-at): Minor addition to docstring.
1142 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * newcomment.el (comment-choose-indent): No space after BOL.
1146 2012-03-22 Sam Steingold <sds@gnu.org>
1148 * window.el (switch-to-prev-buffer): Revert last patch because the
1149 bug turned out to be an advertised feature (Elisp manual 28.14).
1151 2012-03-22 Glenn Morris <rgm@gnu.org>
1153 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1154 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1156 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1158 * net/network-stream.el (network-stream-open-starttls): Make error
1159 message under Windows be less misleading.
1161 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1163 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1164 understands (bug#9942).
1166 2012-03-22 Chong Yidong <cyd@gnu.org>
1168 * simple.el (end-of-visible-line): Handle return value of
1169 next-single-property-change properly (Bug#9371).
1171 2012-03-22 Kenichi Handa <handa@m17n.org>
1173 * international/quail.el (quail-insert-kbd-layout): Fix previous
1174 change. To avoid unwanted bidi reordering, use
1175 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1177 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1179 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1180 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1181 (ruby-beginning-of-indent): Be more careful with the difference
1182 between word-boundary and symbol boundary.
1183 (ruby-mode-syntax-table): Make : a symbol constituent.
1185 2012-03-21 Andreas Politz <politza@fh-trier.de>
1187 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1189 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * progmodes/etags.el (tags-completion-at-point-function):
1194 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1196 2012-03-21 Sam Steingold <sds@gnu.org>
1198 * progmodes/etags.el (tags-completion-at-point-function):
1199 Avoid the error when point is inside the pattern.
1201 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1203 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1206 2012-03-21 Drew Adams <drew.adams@oracle.com>
1208 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1210 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1212 * ido.el (ido-set-current-directory, ido-read-internal)
1213 (ido-choose-completion-string, ido-completion-help): Handle nil
1214 value of ido-completion-buffer (Bug#11008).
1216 2012-03-21 Sam Steingold <sds@gnu.org>
1218 * window.el (switch-to-prev-buffer): Do not switch to a visible
1219 window previous buffer, just like with the frame previous buffers.
1221 2012-03-21 Chong Yidong <cyd@gnu.org>
1223 * faces.el (make-face, make-empty-face, copy-face):
1224 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1227 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1230 (widget-complete): Remove broken use of it.
1232 2012-03-20 Chong Yidong <cyd@gnu.org>
1234 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1235 Use string-width and truncate-string-width to handle arbitrary
1238 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1240 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1241 to draw rectangles, not squares. (Regression introduced by revno
1242 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1244 2012-03-18 Chong Yidong <cyd@gnu.org>
1246 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1247 it is not yet defined (for temacs).
1249 2012-03-18 Leo Liu <sdl.web@gmail.com>
1251 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1253 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1255 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1256 (ispell-choices-win-default-height, ispell-silently-savep)
1257 (ispell-dictionary-alist, ispell-encoding8-command)
1258 (ispell-check-version, ispell-aspell-find-dictionary)
1259 (ispell-valid-dictionary-list, ispell-words-keyword)
1260 (ispell-get-word, ispell-internal-change-dictionary)
1261 (ispell-region, ispell-skip-region-list)
1262 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1263 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1264 (ispell-message-text-end, ispell-message)
1265 (ispell-buffer-local-parsing): Doc fix.
1267 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1269 * htmlfontify.el: Add support for code block fontification for ODT
1271 (hfy-optimisations): Define new option
1273 (hfy-fontify-buffer): Honor above setting.
1274 (hfy-begin-span, hfy-end-span): New routines factored out form
1275 `hfy-fontify-buffer'.
1276 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1277 that permit insertion of custom tags.
1278 (hfy-fontify-buffer): Use above handlers.
1279 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1280 (hfy-face-to-css): Re-defined to be a variable.
1281 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1282 over multiple runs. This is made possible by having the caller let
1283 bind a special variable `hfy-user-sheet-assoc'.
1284 (htmlfontify-string): New defun.
1285 (hfy-compile-face-map): Make sure that the last char in the
1286 buffer is correctly fontified.
1287 (hfy-face-resolve-face): Whitespace only change.
1289 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1291 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1294 2012-03-16 Leo Liu <sdl.web@gmail.com>
1296 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1298 2012-03-16 Alan Mackenzie <acm@muc.de>
1300 Further optimise the handling of large macros.
1302 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1303 limit to a call of `c-literal-limits'.
1304 (c-determine-+ve-limit): New function.
1305 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1306 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1307 In CASE 5B, restrict a search limit to 500.
1308 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1310 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1311 Restrict macro bounds to +-500 from after-change's BEG END.
1313 2012-03-16 Leo Liu <sdl.web@gmail.com>
1315 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1317 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1319 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1320 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1322 2012-03-16 Glenn Morris <rgm@gnu.org>
1324 * view.el (view-buffer, view-buffer-other-window)
1325 (view-buffer-other-frame): Doc fixes re special mode-class.
1327 * subr.el (eval-after-load): If named feature is provided not from
1328 a file, run after-load forms. (Bug#10946)
1330 * calendar/calendar.el (calendar-insert-at-column):
1331 Handle non-unit-width characters a bit better. (Bug#10978)
1333 2012-03-15 Chong Yidong <cyd@gnu.org>
1335 * emacs-lisp/ring.el (ring-extend): New function.
1336 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1338 * comint.el (comint-read-input-ring)
1339 (comint-add-to-input-history): Grow comint-input-ring lazily.
1341 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1344 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1346 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1347 (imenu-add-to-menubar): Don't add a redundant index.
1348 (imenu-update-menubar): Handle a dynamically composed keymap.
1350 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1352 * mail/sendmail.el (mail-encode-header):
1353 Bind rfc2047-encode-encoded-words to nil.
1355 2012-03-13 Glenn Morris <rgm@gnu.org>
1357 * calendar/calendar.el (calendar-string-spread):
1358 Handle non-unit-width characters a bit better. (Bug#10978)
1360 2012-03-13 Leo Liu <sdl.web@gmail.com>
1362 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1363 directory and file as argument (Bug#10822).
1365 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1367 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1368 For dynamically generated code, follow $PC.
1369 (gdb-disassembly-handler-custom): Handle no function name case.
1371 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1373 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1374 * emulation/ws-mode.el (ws-query-replace):
1375 * sort.el (sort-regexp-fields):
1376 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1378 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * dabbrev.el: Fix cycle completion order (bug#10963).
1381 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1382 (dabbrev-completion): Don't use an obarray; provide
1383 a cycle-sort-function.
1385 2012-03-12 Leo Liu <sdl.web@gmail.com>
1387 * simple.el (kill-new): Use equal-including-properties for comparison.
1388 (kill-do-not-save-duplicates): Doc fix.
1390 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * dabbrev.el: Fix cycle completion (bug#10963).
1393 Use lexical binding and wrap to 80 columns.
1394 (dabbrev-completion): Delay computing the list of completions.
1396 2012-03-12 Kenichi Handa <handa@m17n.org>
1398 * international/quail.el (quail-insert-kbd-layout): Surround each
1399 row by LRO and PDF instead of inserting many LRMs. Pad the left
1400 and right of each non-spacing marks. Insert invisible space
1401 between lower and upper characters to prevent composition.
1403 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * minibuffer.el (minibuffer-complete): Don't get confused when the
1406 function is run twice via different commands (bug#10958).
1407 (complete-with-action): Fix docstring.
1409 2012-03-12 Chong Yidong <cyd@gnu.org>
1411 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1412 (nxml-completion-at-point-function): New function.
1413 (nxml-mode): Use it.
1414 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1416 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1417 Load generated autoloads file before byte compiling (Bug#10970).
1418 (package--make-autoloads-and-compile): New helper fun.
1420 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1422 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1424 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1426 * autorevert.el (auto-revert-handler): Ensure, that
1427 file-readable-p is applied only for local files or in
1428 auto-revert-tail-mode.
1430 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1432 * server.el (server-eval-at): Handle non-tcp connections.
1433 Decode result string.
1435 * server.el (server-msg-size): New constant.
1436 (server-reply-print): New function.
1437 (server-eval-and-print): Use it.
1438 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1441 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1443 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1446 2012-03-11 Chong Yidong <cyd@gnu.org>
1448 * simple.el (goto-line): Doc fix (Bug#9938).
1450 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1452 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1453 when finished (Bug#10963).
1455 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1457 * window.el (split-window-below): Fix bug in case where
1458 split-window-keep-point is nil (Bug#10971).
1460 2012-03-11 Juri Linkov <juri@jurta.org>
1462 * replace.el (replace-highlight): Set isearch-word to nil
1463 unconditionally. (Bug#10887)
1465 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1467 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1468 mairix-replace-illegal-chars; all callers changed. Don't remove
1469 ^, ~, and = characters: they are meaningful in mairix search specs.
1470 (mairix-widget-create-query): Add usage information about mairix
1471 search forms: negating words, searching for substrings, etc.
1473 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1475 * international/fontset.el (font-encoding-alist): Add an entry for
1478 2012-03-10 Richard Stallman <rms@gnu.org>
1480 * mail/sendmail.el (mail-encode-header):
1481 Set rfc2047-encode-encoded-words.
1483 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1485 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1486 view buffer means not swapped.
1487 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1488 (rmail-write-region-annotate): Error if real text has disappeared.
1490 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1492 2012-03-10 Chong Yidong <cyd@gnu.org>
1494 * emulation/cua-rect.el (cua--init-rectangles):
1495 * emulation/cua-base.el (cua--init-keymaps):
1496 Add delete-forward-char to remappings (Bug#9666).
1498 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1500 * speedbar.el (speedbar-unhighlight-one-tag-line):
1501 Avoid unhighlighting due to frame switching (Bug#10275).
1503 2012-03-10 Chong Yidong <cyd@gnu.org>
1505 * minibuffer.el (completion-in-region, completion-help-at-point):
1506 Give the completion field overlay a high priority (Bug#6830).
1508 * dired.el (dired-goto-file): Recognize absolute file name
1509 listings (Bug#7126).
1510 (dired-goto-file-1): New helper function.
1511 (dired-toggle-read-only): Inhibit warnings.
1513 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1515 * net/dbus.el (dbus-property-handler): Return empty array if
1516 there are no properties.
1518 2012-03-09 Leo Liu <sdl.web@gmail.com>
1520 * savehist.el (savehist-printable): Stricter check for string
1523 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1525 * mail/smtpmail.el (smtpmail-send-it):
1526 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1529 2012-03-09 Glenn Morris <rgm@gnu.org>
1531 * files.el (dir-locals-find-file):
1532 Don't check result is regular, readable.
1533 (dir-locals-read-from-file): Demote errors.
1535 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1537 * international/quail.el (quail-insert-kbd-layout):
1538 Insert invisible LRM characters before each character in a keyboard
1539 layout cell, to prevent their reordering by bidi display engine.
1540 For details, see the discussion in
1541 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1543 2012-03-08 Alan Mackenzie <acm@muc.de>
1545 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1546 the starting position; make it extend the marked region when
1547 invoked repeatedly - all under appropriate circumstances.
1548 Fixes bugs #5525, #10906.
1550 2012-03-08 Glenn Morris <rgm@gnu.org>
1552 * files.el (locate-dominating-file, dir-locals-find-file):
1553 Undo 2012-03-06 change.
1555 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1557 * international/quail.el (quail-help):
1558 Force bidi-paragraph-direction be left-to-right. See discussion in
1559 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1562 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1564 Avoid superfluous registering of signals. (Bug#10807)
1566 * notifications.el (notifications-on-action-object)
1567 (notifications-on-close-object): New defvars.
1568 (notifications-on-action-signal, notifications-on-closed-signal):
1569 Unregister the signal if not needed any longer.
1570 (notifications-notify): Register `notifications-action-signal' or
1571 `notifications-closed-signal', if :on-action or :on-close has been
1574 2012-03-07 Chong Yidong <cyd@gnu.org>
1576 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1579 2012-03-06 Glenn Morris <rgm@gnu.org>
1581 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1582 (x-disown-selection-internal, x-get-selection-internal):
1583 Doc fix (add arglist signatures). (Bug#10783)
1585 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1587 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1588 Handle breakpoints with no "type".
1590 2012-03-06 Glenn Morris <rgm@gnu.org>
1592 * files.el (locate-dominating-file): Add optional predicate argument.
1593 (dir-locals-find-file): Make use of above change.
1595 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1597 * info.el (Info-insert-dir): Also try "dir.gz".
1599 2012-03-06 Glenn Morris <rgm@gnu.org>
1601 * files.el (dir-locals-find-file):
1602 Ignore non-readable or non-regular files. (Bug#10928)
1604 * files.el (locate-dominating-file): Doc fix.
1606 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1608 * calendar/calendar.el (calendar-set-mode-line):
1609 `getenv' returns a string. (Bug#10951)
1611 2012-03-05 Leo Liu <sdl.web@gmail.com>
1613 * simple.el (backward-delete-char-untabify): Constrain point to
1616 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1618 2012-03-05 Chong Yidong <cyd@gnu.org>
1620 * simple.el (count-words): If called from Lisp, return the word
1621 count, for symmetry with `count-lines'. Arglist changed.
1622 (count-words--message): Args changed. Consolidate counting code
1623 from count-words and count-words-region.
1624 (count-words-region): Caller changed.
1625 (count-lines-region): Make it an obsolete alias.
1627 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1629 * saveplace.el (save-place-to-alist)
1630 (save-place-ignore-files-regexp): Allow value nil to disable this
1633 2012-03-04 Chong Yidong <cyd@gnu.org>
1635 * faces.el (face-spec-reset-face): For the default face, reset the
1636 attributes to default values (Bug#10748).
1638 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1640 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1641 previous patch: Check `message-send-mail-function', and not the
1642 default function (bug#10897).
1644 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1646 * notifications.el (notifications-on-action-signal)
1647 (notifications-on-closed-signal): Check for unique service name of
1648 incoming event. Fix error in removing entry.
1649 (top): Register for signals with wildcard service name.
1650 (notifications-notify): Use daemon unique service name for map entries.
1652 2012-03-04 Chong Yidong <cyd@gnu.org>
1654 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1656 2012-03-04 Glenn Morris <rgm@gnu.org>
1658 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1659 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1660 (expand-abbrev, define-abbrev-table): Doc fixes.
1662 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1664 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1665 `message-default-send-mail-function' and not `send-mail-function'
1666 when doing the prompting for `sendmail-query-once' before sending
1667 in Message buffers (bug#10897).
1669 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1670 This is inconsistent with all the other stream functions, which leave
1671 the setting up to the higher levels (if so wanted) (bug#10931).
1673 2012-03-02 Alan Mackenzie <acm@muc.de>
1675 Depessimize the handling of very large macros.
1677 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1678 (c-macro-cache-syntactic): New variables to implement a one
1679 element macro cache.
1680 (c-invalidate-macro-cache): New function.
1681 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1682 Adapt to use the new cache.
1683 (c-state-safe-place): Use better the cache of safe positions.
1684 (c-state-semi-nonlit-pos-cache)
1685 (c-state-semi-nonlit-pos-cache-limit):
1686 New variables for...
1687 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1688 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1689 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1690 Use c-state-semi-safe-place.
1692 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1693 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1695 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1697 * jka-compr.el (jka-compr-call-process):
1698 Apply `file-accessible-directory-p' only when the default directory is
1701 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1703 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1704 access of FILE2, if FILE1 does not exist.
1706 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1707 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1709 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1710 Add "PAGER=" to `process-environment'.
1712 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1714 * progmodes/sql.el: Bug fix
1715 (sql-get-login-ext): Save login values in globals.
1716 (sql-get-login): Use new version of `sql-get-login-ext'.
1717 (sql-interactive-mode): Set global `sql-connection' to nil.
1718 (sql-connect): Set global values for connection.
1719 (sql-product-interactive): Save global values as buffer local.
1721 2012-02-29 Leo Liu <sdl.web@gmail.com>
1723 * abbrev.el (define-abbrevs): Reset sys to nil.
1725 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1727 * files.el (file-equal-p): Rename from `files-equal-p'.
1728 Return nil when one or both files don't exist.
1729 (file-subdir-of-p): Now only top directory must exists,
1730 return nil if it doesn't.
1731 (copy-directory): No need to test with `file-subdir-of-p' after
1733 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1736 2012-02-28 Glenn Morris <rgm@gnu.org>
1738 * shell.el (shell-mode):
1739 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1740 * play/landmark.el (landmark-font-lock-face-O):
1741 * play/handwrite.el (handwrite):
1742 * play/gomoku.el (gomoku-O):
1743 * net/browse-url.el (browse-url-browser-display):
1744 * international/mule.el (define-charset):
1745 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1746 * filesets.el (filesets-find-file-delay):
1747 * eshell/em-xtra.el (eshell-xtra):
1748 * eshell/em-unix.el (eshell-grep):
1749 * emulation/viper.el (viper-mode):
1750 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1751 * emacs-lisp/easymenu.el (easy-menu-define):
1752 * calendar/timeclock.el (timeclock-use-display-time):
1754 * bookmark.el (bookmark-save-flag):
1755 Doc fix (standardize possessive apostrophe usage).
1757 2012-02-27 Chong Yidong <cyd@gnu.org>
1759 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1760 Fix key-binding lookup for ESC key (Bug#9146).
1762 * font-lock.el (font-lock-specified-p): Rename from
1763 font-lock-spec-present. Callers changed.
1765 2012-02-27 Daniel Hackney <dan@haxney.org>
1767 * emacs-lisp/package.el (package-compute-transaction):
1768 Handle holding a package version to t in package-load-list.
1770 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1772 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1773 (tramp-get-inode, tramp-get-device): Use cached values.
1775 2012-02-26 Alan Mackenzie <acm@muc.de>
1777 Check there is a font-lock specification before doing initial
1780 * font-core.el (font-lock-mode): Move the conditional from
1781 :after-hook to font-lock-initial-fontify.
1782 (font-lock-default-function): Move the check for a specification
1783 to font-lock-spec-present.
1785 * font-lock.el (font-lock-initial-fontify): Call ...
1786 (font-lock-spec-present): New function.
1788 2012-02-26 Jim Blandy <jimb@red-bean.com>
1790 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1791 (gdb-send): Apply it to the operand of the '-interpreter-exec
1792 console' command, so that we can pass arguments with (say) quotes
1793 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1795 2012-02-26 Chong Yidong <cyd@gnu.org>
1797 * help-fns.el (describe-function-1): Clarify description of
1798 remapping (Bug#10844).
1800 * files.el (files-equal-p): Doc fix.
1801 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1802 and quit the loop once a mismatch is found.
1804 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1806 * bs.el (bs--show-with-configuration): Don't throw an error
1807 if the window cannot be split; otherwise, subsequent calls to
1808 bs-show fail, restoring a stale window config. (Bug#10882)
1810 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1812 * term/ns-win.el (global-map): Bind ns-drag-file to
1813 ns-find-file (Bug#5855, Bug#10050).
1815 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1817 * calendar/parse-time.el (parse-time-string): Allow extractor to
1820 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1822 * net/tramp.el (tramp-file-name-for-operation):
1823 Add `files-equal-p' and `file-subdir-of-p'.
1825 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1826 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1827 Add COPY-CONTENTS argument.
1829 2012-02-25 Chong Yidong <cyd@gnu.org>
1831 Add custom groups for VC backends, for consistency with vc-bzr.
1833 * vc/vc-arch.el (vc-arch):
1834 * vc/vc-cvs.el (vc-cvs):
1835 * vc/vc-git.el (vc-git):
1836 * vc/vc-hg.el (vc-hg):
1837 * vc/vc-mtn.el (vc-mtn):
1838 * vc/vc-rcs.el (vc-rcs):
1839 * vc/vc-sccs.el (vc-sccs):
1840 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1841 All relevant defcustoms reassigned.
1843 2012-02-25 Chong Yidong <cyd@gnu.org>
1845 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1847 * term/x-win.el (x-initialize-window-system): Reduce default for
1848 x-selection-timeout to 5 seconds (Bug#8869).
1850 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1852 * files.el (files-equal-p, file-subdir-of-p): New functions.
1853 (copy-directory): Error when trying to copy a directory on itself.
1854 Add missing copy-contents arg to tramp handler.
1855 * dired-aux.el (dired-copy-file-recursive): Same.
1856 (dired-create-files): Modify destination when source is equal to
1857 dest when copying files.
1858 Return also when dest is a subdir of source. (Bug#10489)
1860 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1862 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1865 2012-02-23 Alan Mackenzie <acm@muc.de>
1867 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1868 parameter "after-hook:" to allow the expansion to run code after
1869 the execution of the mode hooks.
1871 * font-lock.el (font-lock-initial-fontify): New function extracted
1872 from font-lock-mode-internal.
1874 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1877 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1880 (completion--cache-all-sorted-completions): New function.
1881 (completion-all-sorted-completions): Use it.
1882 (completion--do-completion, minibuffer-force-complete):
1883 Use it to re-instate the flush hook.
1885 * icomplete.el (icomplete-completions): Replace last fix with a better
1888 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1890 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1891 when it might call us back infinitely (bug#10797).
1893 2012-02-23 Glenn Morris <rgm@gnu.org>
1895 * minibuffer.el (completion-category-overrides): Doc fix.
1897 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1900 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1902 2012-02-23 Glenn Morris <rgm@gnu.org>
1904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1905 (authors-obsolete-files-regexps, authors-ignored-files)
1906 (authors-ambiguous-files, authors-renamed-files-alist):
1909 2012-02-23 Juri Linkov <juri@jurta.org>
1911 * isearch.el (isearch-occur): Sync interactive spec with occur's
1912 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1914 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1916 2012-02-22 Juri Linkov <juri@jurta.org>
1918 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1919 (ucs-insert): Doc fix. Check for hex digits in the string.
1920 Don't display `nil' in the error message. (Bug#10857)
1922 2012-02-22 Alan Mackenzie <acm@muc.de>
1924 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1926 2012-02-22 Glenn Morris <rgm@gnu.org>
1928 * ffap.el (ffap-c-path):
1929 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1931 2012-02-22 Chong Yidong <cyd@gnu.org>
1933 * custom.el (load-theme): Doc fix.
1935 2012-02-22 Glenn Morris <rgm@gnu.org>
1937 * dired-x.el (dired-guess-shell-alist-default):
1938 Remove escape sequences from nroff output. (Bug#172)
1940 2012-02-21 Glenn Morris <rgm@gnu.org>
1942 * vc/emerge.el (emerge-defvar-local):
1943 Set `permanent-local' property rather than unused `preserved'.
1945 * textmodes/picture.el (picture-delete-char): New alias.
1946 (picture-mode-map): Use it. (Bug#10860)
1947 (picture-mode): Doc fix.
1949 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1951 * newcomment.el (uncomment-region-default): Remove unused binding.
1953 2012-02-21 Glenn Morris <rgm@gnu.org>
1955 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1956 (picture-self-insert, picture-tab-chars): Doc fix.
1957 (picture-mode-map): Fix C-a, C-e.
1959 2012-02-20 Glenn Morris <rgm@gnu.org>
1961 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1963 2012-02-20 Leo Liu <sdl.web@gmail.com>
1965 * icomplete.el (icomplete-completions): Check FROM arg before
1966 passing to substring (Bug#10850).
1968 2012-02-19 Chong Yidong <cyd@gnu.org>
1970 * comint.el: Require ansi-color.
1971 (comint-output-filter-functions): Add ansi-color-process-output.
1973 * ansi-color.el: Don't set comint-output-filter-functions; it is
1974 now in the initial value defined in comint.el.
1975 (ansi-color-apply-face-function): New variable.
1976 (ansi-color-apply-on-region): Use it.
1977 (ansi-color-apply-overlay-face): New function.
1979 * shell.el (shell): No need to require ansi-color.
1980 (shell-mode): Use ansi-color-apply-face-function to highlight
1981 color escapes using font-lock-face property (Bug#10835).
1983 2012-02-19 Chong Yidong <cyd@gnu.org>
1985 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1986 mode-line formats (Bug#10839).
1988 2012-02-18 Glenn Morris <rgm@gnu.org>
1990 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1992 * mail/undigest.el (unforward-rmail-message): Doc fix.
1994 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1996 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1998 * international/characters.el (script-list): Sync with the latest
1999 Unicode Character Database.
2001 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2003 * international/titdic-cnv.el: Remove duplicate coding tag.
2004 * language/cham.el: Likewise.
2005 * language/tai-viet.el: Likewise.
2007 2012-02-18 Glenn Morris <rgm@gnu.org>
2009 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2010 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2011 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2012 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2013 * calendar/holidays.el (holiday-bahai-holidays)
2014 (calendar-holidays, list-holidays):
2015 Use utf-8 Bahá'í in doc-strings, menus, etc.
2017 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2019 * saveplace.el (save-place-ignore-files-regexp): New variable
2020 allowing for excluding files from saving their location of point.
2021 The default value matches the temporary commit message editing
2022 files from Git, SVN, Bazaar, and Mercurial.
2023 (save-place-to-alist): Use it.
2025 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2026 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * newcomment.el (uncomment-region-default): Don't leave extra space
2029 when an arg is provided (bug#8150).
2031 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2033 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2035 2012-02-17 Glenn Morris <rgm@gnu.org>
2037 * net/socks.el: Require network-stream. (Bug#10599)
2039 2012-02-17 Kenichi Handa <handa@m17n.org>
2041 * international/charprop.el:
2042 * international/uni-name.el:
2043 * international/uni-old-name.el:
2044 * international/uni-comment.el: Regenerate.
2046 2012-02-16 Glenn Morris <rgm@gnu.org>
2048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2049 Interactively in calendar buffer, give an error if not on a date.
2051 2012-02-15 Glenn Morris <rgm@gnu.org>
2053 * shell.el (shell-delimiter-argument-list):
2054 Revert 2011-02-17 change. (Bug#8027)
2056 2012-02-15 Chong Yidong <cyd@gnu.org>
2058 * minibuffer.el (completion-at-point-functions): Doc fix.
2060 * custom.el (defcustom): Doc fix; note use of defvar.
2062 2012-02-15 Glenn Morris <rgm@gnu.org>
2064 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2067 2012-02-14 Glenn Morris <rgm@gnu.org>
2069 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2071 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2073 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2074 way the ports list is computed.
2075 (smtpmail-query-smtp-server): Prompt the user for a port number if
2076 we can't connect to any of the standard ports (bug#10810).
2078 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2080 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2082 2012-02-13 Glenn Morris <rgm@gnu.org>
2084 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2086 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2088 * net/gnutls.el (gnutls-trustfiles): New variable.
2089 (gnutls-negotiate): Use it.
2091 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2093 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2094 does its stuff if Gnus is running.
2096 2012-02-13 Alan Mackenzie <acm@muc.de>
2098 Fix a loop in c-set-fl-decl-start.
2100 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2101 c-backward-syntactic-ws actually moves backwards.
2103 2012-02-13 Leo Liu <sdl.web@gmail.com>
2105 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2106 beginning so that all \C-o chars are removed.
2108 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2110 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2112 2012-02-12 Alan Mackenzie <acm@muc.de>
2114 Fix infinite loop with long macros.
2115 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2117 2012-02-12 Chong Yidong <cyd@gnu.org>
2119 * window.el (display-buffer): Doc fix (Bug#10785).
2121 2012-02-12 Glenn Morris <rgm@gnu.org>
2123 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2124 (x-disown-selection-internal, x-get-selection-internal):
2125 Sync docs with the xselect.c versions.
2127 * allout-widgets.el: Add missing license notice.
2129 2012-02-11 Glenn Morris <rgm@gnu.org>
2131 * select.el (x-get-selection-internal, x-own-selection-internal)
2132 (x-disown-selection-internal):
2133 * x-dnd.el (x-get-selection-internal): Update declarations.
2135 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2137 * window.el (window-sides-slots):
2138 * tool-bar.el (tool-bar-position):
2139 * term/xterm.el (xterm-extra-capabilities):
2140 * ses.el (ses-self-reference-early-detection):
2141 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2142 (verilog-auto-wire-type)
2143 (verilog-auto-delete-trailing-whitespace)
2144 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2145 (verilog-auto-tieoff-declaration):
2146 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2147 (sql-oracle-statement-starters, sql-oracle-scan-on):
2148 * progmodes/prolog.el (prolog-align-comments-flag)
2149 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2150 (prolog-left-indent-regexp, prolog-paren-indent-p)
2151 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2152 (prolog-types, prolog-mode-specificators)
2153 (prolog-determinism-specificators, prolog-directives)
2154 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2155 (prolog-electric-dot-flag)
2156 (prolog-electric-dot-full-predicate-template)
2157 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2158 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2159 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2160 (prolog-program-switches, prolog-prompt-regexp)
2161 (prolog-debug-on-string, prolog-debug-off-string)
2162 (prolog-trace-on-string, prolog-trace-off-string)
2163 (prolog-zip-on-string, prolog-zip-off-string)
2164 (prolog-use-standard-consult-compile-method-flag)
2165 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2166 (prolog-imenu-max-lines, prolog-info-predicate-index)
2167 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2168 (prolog-char-quote-workaround):
2169 * progmodes/cc-vars.el (c-defun-tactic):
2170 * net/tramp.el (tramp-encoding-command-interactive)
2171 (tramp-local-end-of-line):
2172 * net/soap-client.el (soap-client):
2173 * net/netrc.el (netrc-file):
2174 * net/gnutls.el (gnutls):
2175 * minibuffer.el (completion-category-overrides)
2176 (completion-cycle-threshold)
2177 (completion-pcm-complete-word-inserts-delimiters):
2178 * man.el (Man-name-local-regexp):
2179 * mail/feedmail.el (feedmail-display-full-frame):
2180 * international/characters.el (glyphless-char-display-control):
2181 * eshell/em-ls.el (eshell-ls-date-format):
2182 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2183 (lisp-lambda-list-keyword-parameter-indentation)
2184 (lisp-lambda-list-keyword-parameter-alignment):
2185 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2186 * dired-x.el (dired-omit-verbose):
2187 * cus-theme.el (custom-theme-allow-multiple-selections):
2188 * calc/calc.el (calc-highlight-selections-with-faces)
2189 (calc-lu-field-reference, calc-lu-power-reference)
2190 (calc-note-threshold):
2191 * battery.el (battery-mode-line-limit):
2192 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2193 (archive-7z-update):
2194 * allout.el (allout-prefixed-keybindings)
2195 (allout-unprefixed-keybindings)
2196 (allout-inhibit-auto-fill-on-headline)
2197 (allout-flattened-numbering-abbreviation):
2198 * allout-widgets.el (allout-widgets-auto-activation)
2199 (allout-widgets-icons-dark-subdir)
2200 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2201 (allout-widgets-theme-dark-background)
2202 (allout-widgets-theme-light-background)
2203 (allout-widgets-item-image-properties-emacs)
2204 (allout-widgets-item-image-properties-xemacs)
2205 (allout-widgets-run-unit-tests-on-load)
2206 (allout-widgets-time-decoration-activity)
2207 (allout-widgets-hook-error-post-time)
2208 (allout-widgets-track-decoration):
2209 Add missing :version tags to new defcustoms and defgroups.
2211 * progmodes/sql.el (sql-ansi-statement-starters)
2212 (sql-oracle-statement-starters): Add custom type.
2214 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2215 (prolog-system-version): Give it a type.
2217 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2219 * term/pc-win.el (x-select-text, x-selection-owner-p)
2220 (x-own-selection-internal, x-disown-selection-internal)
2221 (x-get-selection-internal): Sync doc strings and argument lists
2222 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2224 2012-02-11 Leo Liu <sdl.web@gmail.com>
2226 * progmodes/python.el (python-end-of-statement): Fix infinite
2229 2012-02-10 Glenn Morris <rgm@gnu.org>
2231 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2232 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2234 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2236 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2237 about SMTP before checking the From header.
2239 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2240 into own function for reuse by emacsbug.el.
2242 2012-02-10 Leo Liu <sdl.web@gmail.com>
2244 * subr.el (condition-case-unless-debug): Rename from
2245 condition-case-no-debug. All callers changed.
2246 (with-demoted-errors): Fix caller.
2248 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2249 * nxml/rng-valid.el (rng-do-some-validation):
2250 * emacs-lisp/package.el (package-refresh-contents)
2251 (package-menu-execute):
2252 * desktop.el (desktop-create-buffer):
2253 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2255 2012-02-10 Glenn Morris <rgm@gnu.org>
2257 * textmodes/bibtex.el:
2258 Add missing :version tags for new/changed defcustoms.
2260 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2262 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2264 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2265 (smtpmail-via-smtp): Use it, or fall back on the From address.
2266 (smtpmail-send-it): Ditto.
2268 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2271 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2272 (byte-compile-tmp-var): New const.
2273 (byte-compile-defvar): Use it to minimize .elc size.
2274 Just use `defvar' rather than simulate it (bug#10761).
2276 2012-02-09 Glenn Morris <rgm@gnu.org>
2278 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2280 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2283 * progmodes/compile.el (compilation-error-screen-columns)
2284 (compilation-first-column, compilation-filter-start): Doc fixes.
2286 * vc/log-view.el (log-view-toggle-entry-display):
2287 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2289 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2290 (report-emacs-bug-can-use-xdg-email):
2291 (report-emacs-bug-insert-to-mailer): Doc fixes.
2292 (report-emacs-bug): Message fix.
2294 * net/browse-url.el (browse-url-can-use-xdg-open)
2295 (browse-url-xdg-open): Doc fixes.
2297 * electric.el (electric-indent-mode, electric-pair-mode)
2298 (electric-layout-rules, electric-layout-mode): Doc fixes.
2299 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2301 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2303 * server.el (server-unselect-display): Don't inadvertently kill
2304 the current buffer. (Bug#10729)
2306 2012-02-08 Glenn Morris <rgm@gnu.org>
2308 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2309 (sql-list-table): Doc fixes.
2311 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2312 Comment out (does nothing).
2314 * completion.el (dynamic-completion-mode):
2315 * dirtrack.el (dirtrack-debug-mode):
2316 * electric.el (electric-layout-mode):
2317 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2318 * face-remap.el (text-scale-mode, buffer-face-mode):
2319 * iimage.el (iimage-mode):
2320 * image-mode.el (image-transform-mode):
2321 * minibuffer.el (completion-in-region-mode):
2322 * scroll-lock.el (scroll-lock-mode):
2323 * simple.el (next-error-follow-minor-mode):
2324 * tar-mode.el (tar-subfile-mode):
2325 * tooltip.el (tooltip-mode):
2326 * vcursor.el (vcursor-use-vcursor-map):
2327 * wid-browse.el (widget-minor-mode):
2328 * emulation/tpu-edt.el (tpu-edt-mode):
2329 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2330 * international/iso-ascii.el (iso-ascii-mode):
2331 * language/thai-util.el (thai-word-mode):
2332 * mail/supercite.el (sc-minor-mode):
2333 * net/goto-addr.el (goto-address-mode):
2334 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2335 * progmodes/cwarn.el (cwarn-mode):
2336 * progmodes/flymake.el (flymake-mode):
2337 * progmodes/glasses.el (glasses-mode):
2338 * progmodes/hideshow.el (hs-minor-mode):
2339 * progmodes/pascal.el (pascal-outline-mode):
2340 * textmodes/enriched.el (enriched-mode):
2341 * vc/smerge-mode.el (smerge-mode):
2342 Doc fixes (minor mode argument).
2344 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2346 * ls-lisp.el (ls-lisp-sanitize): New function.
2347 (ls-lisp-insert-directory): Use it to fix or remove any elements
2348 in file-alist with missing attributes. (Bug#4673)
2350 2012-02-07 Alan Mackenzie <acm@muc.de>
2352 Fix spurious recognition of c-in-knr-argdecl.
2354 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2355 putative K&R region.
2357 2012-02-07 Alan Mackenzie <acm@muc.de>
2359 * progmodes/cc-engine.el (c-forward-objc-directive):
2360 Prevent looping in "#pragma mark @implementation".
2362 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2364 * notifications.el (notifications-on-closed-signal): Make `reason'
2365 optional. (Bug#10744)
2367 2012-02-07 Glenn Morris <rgm@gnu.org>
2369 * emacs-lisp/easy-mmode.el (define-minor-mode):
2370 Doc fixes for the macro and the mode it defines.
2372 * image.el (imagemagick-types-inhibit): Doc fix.
2374 * cus-start.el (imagemagick-render-type): Add it.
2376 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2378 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2379 Set the default at load time, too, so that `font-lock-fontify-buffer'
2380 can be called without setting up the entire mode first. This fixes
2381 a bug in `mm-inline-text' with C MIME parts.
2383 2012-02-06 Chong Yidong <cyd@gnu.org>
2385 * simple.el (list-processes--refresh): Delete exited processes
2388 * comint.el (comint-next-prompt): next-single-char-property-change
2389 and prev-single-char-property-change never return nil (Bug#8657).
2391 * custom.el (defcustom): Doc fix (Bug#9711).
2393 2012-02-05 Chong Yidong <cyd@gnu.org>
2395 * cus-edit.el (custom-variable-reset-backup): Quote the value
2396 before storing it in the customized-value property (Bug#6712).
2397 (custom-display): Add a customization type tag.
2398 (custom-buffer-create-internal): Improve tooltip message.
2400 * wid-edit.el (widget-field-value-get): New optional arg to
2401 suppress trailing whitespace truncation.
2402 (character): Use it (Bug#2689).
2404 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2406 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2407 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2409 2012-02-05 Chong Yidong <cyd@gnu.org>
2411 * cus-edit.el (custom-variable-value-create): For mismatched
2412 types, show the current value (Bug#7600).
2414 * custom.el (defcustom): Doc fix.
2416 2012-02-05 Glenn Morris <rgm@gnu.org>
2418 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2420 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2422 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2423 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2424 (pp-last-sexp): Use `looking-at-p'.
2426 2012-02-04 Glenn Morris <rgm@gnu.org>
2428 * files.el (revert-buffer):
2429 Doc fix (mention revert-buffer-in-progress-p).
2431 * emacs-lisp/ert-x.el (ert-simulate-command):
2432 Check deferred-action-list (which is obsolete) is bound.
2434 * subr.el (with-wrapper-hook): Doc fixes.
2436 * simple.el (filter-buffer-substring-functions)
2437 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2439 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2441 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2442 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2444 2012-02-04 Leo Liu <sdl.web@gmail.com>
2446 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2448 2012-02-04 Glenn Morris <rgm@gnu.org>
2450 * image.el (image-extension-data): Add obsolete alias.
2452 * isearch.el (isearch-update): Doc fix.
2454 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2456 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2458 2012-02-03 Glenn Morris <rgm@gnu.org>
2460 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2461 (image-animate-timeout): Doc fix.
2463 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2465 2012-02-02 Glenn Morris <rgm@gnu.org>
2467 * server.el (server-auth-dir): Doc fix.
2468 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2470 * subr.el (run-mode-hooks): Doc fix.
2472 2012-02-02 Juri Linkov <juri@jurta.org>
2474 * image-mode.el (image-toggle-display-image): Remove tautological
2475 `major-mode' from the `derived-mode-p' test.
2477 2012-02-02 Kenichi Handa <handa@m17n.org>
2479 * composite.el (compose-region): Cancel previous change.
2481 2012-02-02 Kenichi Handa <handa@m17n.org>
2483 * composite.el (compose-region, compose-string): Signal error for
2484 a null string component (Bug#6988).
2486 2012-02-01 Chong Yidong <cyd@gnu.org>
2488 * view.el (view-buffer-other-window, view-buffer-other-frame):
2489 Handle special modes like view-buffer (Bug#10650).
2490 (view-buffer): Simplify.
2492 * frame.el (set-frame-font): Tweak meaning of third argument.
2494 * dynamic-setting.el (font-setting-change-default-font):
2495 Use set-frame-font (Bug#9982).
2497 2012-02-01 Glenn Morris <rgm@gnu.org>
2499 * progmodes/compile.el (compilation-internal-error-properties):
2500 Respect compilation-first-column in the "*compilation*" buffer.
2502 * emacs-lisp/easy-mmode.el (define-minor-mode):
2503 Relax :variable's test for a named function.
2505 2012-01-31 Alan Mackenzie <acm@muc.de>
2507 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2510 2012-01-31 Chong Yidong <cyd@gnu.org>
2512 * frame.el (set-frame-font): New arg ALL-FRAMES.
2514 * menu-bar.el (menu-set-font): Use set-frame-font.
2516 * faces.el (face-spec-reset-face): Don't apply unspecified
2517 attribute values to the default face.
2519 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2521 * progmodes/cwarn.el (cwarn): Remove dead link.
2522 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2523 Remove * from defcustom docstrings.
2524 (turn-on-cwarn-mode): Make obsolete.
2525 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2526 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2528 2012-01-31 Glenn Morris <rgm@gnu.org>
2530 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2531 Fix :variable handling of mode a symbol not equal to modefun.
2532 Allow named functions to be used as the cdr of :variable.
2534 2012-01-30 Glenn Morris <rgm@gnu.org>
2536 * emacs-lisp/authors.el (authors-fixed-entries):
2537 Remove reference to deleted file rnewspost.el.
2539 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2541 * window.el (window-with-parameter): Remove unused variable `windows'.
2542 (window--side-check): Remove unused variable `code'.
2543 (window--resize-siblings): Remove unused variable `first'.
2544 (adjust-window-trailing-edge): Remove unused variable `failed'.
2545 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2546 Use `let', not `let*'.
2547 (balance-windows-2): Remove unused variable `found'.
2548 (window--state-put-2): Remove unused variable `splits'.
2549 (window-state-put): Remove unused variable `selected'.
2550 (same-window-p): Use `string-match-p'.
2551 (display-buffer-assq-regexp): Remove unused variable `value'.
2552 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2553 Mark argument ALIST as ignored.
2554 (pop-to-buffer): Remove unused variable `old-window'.
2556 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2558 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2559 and .lzma compressed files.
2561 2012-01-29 Chong Yidong <cyd@gnu.org>
2563 * frame.el (window-system-default-frame-alist): Doc fix.
2565 * dynamic-setting.el (font-setting-change-default-font): Don't
2566 change the default face if SET-FONT argument is non-nil (Bug#9982).
2568 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2570 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2572 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2574 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2575 breakpoints in files outside current directory (Bug#6098).
2577 2012-01-29 Chong Yidong <cyd@gnu.org>
2579 * progmodes/python.el: Require ansi-color at top-level.
2581 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2582 Define and use in Emacs Lisp mode (Bug#9360).
2583 (lisp-mode-abbrev-table): Add doc.
2584 (lisp-mode-variables): Don't set local-abbrev-table.
2585 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2587 2012-01-28 Roland Winkler <winkler@gnu.org>
2589 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2591 2012-01-28 Roland Winkler <winkler@gnu.org>
2593 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2594 (bibtex-set-dialect): Use it. Either set global values of
2595 dialect-dependent variables or bind these variables buffer-locally
2597 (bibtex-mode): Call bibtex-set-dialect via
2598 hack-local-variables-hook.
2599 (bibtex-dialect): Update docstring.
2600 Add safe-local-variable predicate.
2601 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2603 (bibtex-mode-map): Define menu for each dialect.
2604 (bibtex-entry): Fix docstring.
2606 2012-01-28 Chong Yidong <cyd@gnu.org>
2608 * eshell/esh-arg.el (eshell-quote-argument): New function.
2610 * eshell/esh-ext.el (eshell-invoke-batch-file):
2611 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2612 first arg to eshell-parse-command (Bug#10523).
2614 2012-01-28 Drew Adams <drew.adams@oracle.com>
2616 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2617 `default-directory' is non-nil.
2619 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2621 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2622 line that displays system-configuration-options. (Bug#9924)
2624 2012-01-28 Drew Adams <drew.adams@oracle.com>
2626 * descr-text.el (describe-char): Show information about POS, in
2627 addition to information about the character at POS. Improve and
2628 update the doc string. Change "code point" to "code point in
2629 charset", to avoid confusion with the character's Unicode code
2630 point shown above that. (Bug#10129)
2632 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2634 * descr-text.el (describe-char): Show the raw character, not only
2635 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2636 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2639 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2641 * emacs-lisp/package.el (package-install):
2642 Run package-refresh-contents if there is no archive yet (Bug#9798).
2644 2012-01-28 Chong Yidong <cyd@gnu.org>
2646 * emacs-lisp/package.el (package-maybe-load-descriptor):
2647 New function, split from package-maybe-load-descriptor.
2648 (package-maybe-load-descriptor): Use it.
2649 (package-download-transaction): Fully load required packages
2650 inside the loop, so that `require' calls work (Bug#10593).
2651 (package-install): No need to call package-initialize now.
2653 2012-01-28 Chong Yidong <cyd@gnu.org>
2655 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2657 * tooltip.el (tooltip-mode): Doc fix.
2658 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2660 * frame.el (set-cursor-color): Doc fix (Bug#352).
2662 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2663 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2665 * cus-edit.el (custom-buffer-create-internal): Fix search button
2667 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2669 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2671 * dired.el (dired-mark-files-regexp):
2672 Include any subdirectory components. (Bug#10445)
2674 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2676 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2677 Handle [host]:port syntax. (Bug#10533)
2679 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2681 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2683 2012-01-26 Glenn Morris <rgm@gnu.org>
2685 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2686 * term.el (term-raw-escape-map): Use Control-X-prefix.
2687 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2689 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2691 * window.el (window-state-get, window--state-get-1): Don't deal
2692 with fixed-sizeness of windows. Simplify code.
2694 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2696 * window.el (window--state-get-1, window--state-put-2):
2697 Don't save and restore the mark.
2699 2012-01-25 Chong Yidong <cyd@gnu.org>
2701 * custom.el (custom-variable-p): Doc fix.
2703 2012-01-25 Glenn Morris <rgm@gnu.org>
2705 * dired.el (dired-goto-file): Handle some of the more common
2706 characters that `ls -b' escapes. (Bug#10596)
2708 * progmodes/compile.el (compilation-next-error-function):
2709 Respect compilation-first-column in the "*compilation*" buffer.
2710 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2712 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2714 2012-01-24 Glenn Morris <rgm@gnu.org>
2716 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2718 2012-01-24 Julien Danjou <julien@danjou.info>
2720 * color.el (color-rgb-to-hsl): Fix value computing.
2721 (color-hue-to-rgb): New function.
2722 (color-hsl-to-rgb): New function.
2723 (color-clamp, color-saturate-hsl, color-saturate-name)
2724 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2725 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2727 2012-01-24 Glenn Morris <rgm@gnu.org>
2729 * vc/vc-rcs.el (vc-rcs-create-tag):
2730 * vc/vc-sccs.el (vc-sccs-create-tag):
2731 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2733 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2735 * eshell/esh-util.el (eshell-read-hosts-file):
2736 Skip comment lines. (Bug#10549)
2738 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2740 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2742 * subr.el (display-delayed-warnings): Doc fix.
2743 (collapse-delayed-warnings): New function to collapse identical
2745 (delayed-warnings-hook): Add it.
2747 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2749 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2751 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2752 properties, when "login-as" is set.
2754 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2755 (tramp-default-user-alist): Don't add "pscp".
2756 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2757 property "login-as", if set. (Bug#10530)
2759 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2761 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2762 "plink1" and "psftp". (Bug#10530)
2764 2012-01-21 Kenichi Handa <handa@m17n.org>
2766 * international/mule-cmds.el (prefer-coding-system): Show a
2767 warning message if the default value of file-name-coding-system
2770 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2772 * windmove.el (windmove-reference-loc):
2773 Fix windmove-reference-loc miscalculation.
2775 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2777 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2780 2012-01-21 Glenn Morris <rgm@gnu.org>
2782 * international/mule.el (auto-coding-alist): Add .tbz.
2784 * files.el (local-enable-local-variables): Doc fix.
2785 (inhibit-local-variables-regexps): Rename from
2786 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2787 Doc fix. Add some extensions from auto-coding-alist.
2788 (inhibit-local-variables-suffixes):
2789 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2790 (inhibit-local-variables-p):
2791 New function, extracted from set-auto-mode-1.
2792 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2793 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2794 (hack-local-variables): Doc fix. Make the mode-only case
2795 respect enable-local-variables and friends.
2796 Respect inhibit-local-variables-regexps for file-locals, but
2797 not for directory-locals.
2798 (set-visited-file-name):
2799 Take account of inhibit-local-variables-regexps.
2800 Whether it applies may change as the file name is changed.
2801 * jka-cmpr-hook.el (jka-compr-install):
2802 * jka-compr.el (jka-compr-uninstall):
2803 Update for inhibit-first-line-modes-suffixes name change.
2805 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2807 * help-macro.el (make-help-screen): Temporarily restore original
2808 binding for minor-mode-map-alist (Bug#10454).
2810 2012-01-19 Julien Danjou <julien@danjou.info>
2812 * color.el (color-name-to-rgb): Use the white color to find the max
2813 color component value and return correctly computed values.
2814 (color-name-to-rgb): Add missing float conversion for max value.
2816 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2818 * window.el (window--state-get-1, window-state-get): Do not use
2819 special state value for window-persistent-parameters.
2820 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2821 (window--state-put-2): Reset all window parameters to nil before
2822 assigning values of persistent parameters.
2824 2012-01-18 Alan Mackenzie <acm@muc.de>
2826 Eliminate sluggishness and hangs in fontification of "semicolon
2829 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2830 Change value 10000 -> 3000.
2831 (c-state-safe-place): Reformulate so it doesn't stack up an
2832 infinite number of wrong entries in c-state-nonlit-pos-cache.
2833 (c-determine-limit-get-base, c-determine-limit): New functions to
2834 determine backward search limits disregarding literals.
2835 (c-find-decl-spots): Amend commenting.
2836 (c-cheap-inside-bracelist-p): New function which detects "={".
2838 * progmodes/cc-fonts.el
2839 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2841 (c-font-lock-declarations): Fix an occurrence of point being
2842 undefined. Check additionally for point being in a bracelist or
2843 near a macro invocation without a semicolon so as to avoid a
2844 fruitless time consuming search for a declarator. Give a more
2845 precise search limit for declarators using the new
2848 2012-01-18 Glenn Morris <rgm@gnu.org>
2850 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2851 (set-auto-mode): Doc fixes.
2853 2012-01-17 Glenn Morris <rgm@gnu.org>
2855 * isearch.el (search-nonincremental-instead): Fix doc typo.
2857 * dired.el (dired-insert-directory): Handle newlines in directory name.
2858 (dired-build-subdir-alist): Unescape newlines in directory name.
2860 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2862 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2863 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2864 (tramp-action-terminal): Use it. (Bug#10530)
2866 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2870 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2872 * window.el (window-state-ignored-parameters): Remove variable.
2873 (window--state-get-1): Rename argument MARKERS to IGNORE.
2874 Handle persistent window parameters. Make copy of clone-of
2875 parameter only if requested. (Bug#10348)
2876 (window--state-put-2): Install a window parameter only if it has
2877 a non-nil value or an existing parameter shall be overwritten.
2879 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2881 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2883 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2885 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2886 don't pass the (nil) value of `upnode' to string-match.
2888 2012-01-14 Chong Yidong <cyd@gnu.org>
2890 * startup.el (command-line): Fix X resource class for cursorColor.
2891 Fix values recognized by the cursorBlink resource.
2893 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2895 * epg.el (epg--make-temp-file): Avoid permission race condition
2896 when running on old Emacs versions (bug#10403).
2898 2012-01-14 Glenn Morris <rgm@gnu.org>
2900 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2902 2012-01-13 Alan Mackenzie <acm@muc.de>
2904 Fix filling for when filladapt mode is enabled.
2906 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2907 c-mask-paragraph, pass in `fill-paragraph' rather than
2908 `fill-region-as-paragraph'. (This is a reversion of a previous
2910 * progmodes/cc-mode.el (c-basic-common-init):
2911 Make fill-paragraph-handle-comment buffer local and set it to nil.
2913 2012-01-13 Glenn Morris <rgm@gnu.org>
2915 * dired.el (dired-switches-escape-p): New function.
2916 (dired-insert-directory): Use dired-switches-escape-p.
2917 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2919 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2921 2012-01-12 Glenn Morris <rgm@gnu.org>
2923 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2924 changes in adaptive-fill-regexp. (Bug#10276)
2926 2012-01-11 Alan Mackenzie <acm@muc.de>
2928 Fix Emacs bug #10463 - put `widen's around the critical spots.
2930 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2931 widen around each invocation of c-state-pp-to-literal. Remove an
2932 unused let variable.
2934 2012-01-11 Glenn Morris <rgm@gnu.org>
2936 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2939 2012-01-10 Chong Yidong <cyd@gnu.org>
2941 * net/network-stream.el (network-stream-open-starttls):
2942 Avoid emitting a confusing error message when the server gives a bad
2943 response to the capability command.
2945 2012-01-10 Glenn Morris <rgm@gnu.org>
2947 * mail/unrmail.el (unrmail): Tweak previous change.
2949 2012-01-09 Chong Yidong <cyd@gnu.org>
2951 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2953 2012-01-08 Alan Mackenzie <acm@muc.de>
2955 Optimise font locking in long enum definitions.
2957 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2958 arm to a cond form to handle enums.
2959 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2960 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2962 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2964 * files.el (move-file-to-trash): Preserve default file modes on error.
2967 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2969 * faces.el (set-face-attribute): Clarify the meaning of the nil
2972 * subr.el (with-selected-frame): Mention that the selected frame
2973 is restored (bug#9980).
2975 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2978 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2979 (password-read): Don't autoload unused function.
2981 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2983 * progmodes/which-func.el (which-func-mode): Turn into a
2984 non-interactive function and mark as obsolete (bug#10428).
2986 2012-01-06 Chong Yidong <cyd@gnu.org>
2988 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2989 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2990 functions, along with 1 and -1.
2992 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2994 * time.el (display-time-load-average)
2995 (display-time-default-load-average): Doc fixes. See the thread
2997 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3000 2012-01-06 Glenn Morris <rgm@gnu.org>
3002 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3003 has no messages. (Bug#10377)
3005 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3006 than Info-edit. (Bug#10385)
3008 * time.el (display-time-load-average, display-time-next-load-average):
3011 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3012 local setting of buffer-read-only to the input buffer. (Bug#10419)
3014 * calendar/calendar.el (calendar-mode):
3015 Locally set scroll-margin to 0. (Bug#10379)
3017 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3019 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3021 2012-01-05 Glenn Morris <rgm@gnu.org>
3023 * eshell/em-unix.el (diff-no-select): Autoload it.
3024 (eshell/diff): Use diff-no-select. (Bug#10420)
3026 2012-01-05 Chong Yidong <cyd@gnu.org>
3028 * shell.el (shell-dynamic-complete-functions): Revert last change.
3029 (shell-command-completion-function): New function.
3030 (shell-completion-vars): Use it to implement
3031 shell-completion-execonly (Bug#10417).
3033 * custom.el (enable-theme): Don't set custom-safe-themes.
3035 * cus-theme.el (custom-theme-merge-theme):
3036 Ignore custom-enabled-themes and custom-safe-themes.
3038 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3040 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3041 first prompt in `sql-interacive-mode'.
3042 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3044 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3045 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3046 context of original buffer. Invoke `sql-login-hook'.
3048 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3050 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3051 letters in cite-prefix.
3053 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3055 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3057 2012-01-03 Chong Yidong <cyd@gnu.org>
3059 * shell.el (shell-dynamic-complete-functions):
3060 Put pcomplete-completions-at-point, so as to try
3061 comint-filename-completion first (Bug#10417).
3063 2012-01-02 Richard Stallman <rms@gnu.org>
3065 * battery.el (battery-status-function):
3066 Detect when to use battery-yeeloong-sysfs.
3067 (battery-echo-area-format): Add string for Yeeloong.
3068 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3069 (battery-yeeloong-sysfs): New function.
3071 2012-01-02 Chong Yidong <cyd@gnu.org>
3073 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3074 (dirtrack): Merge code for handling relative filenames in prompt
3075 from shell-dir-cookie-watcher.
3076 (dirtrack-debug-message): New arg to avoid excess format calls.
3078 * shell.el (shell-dir-cookie-re): Variable deleted.
3079 (shell-dir-cookie-watcher): Function deleted.
3080 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3083 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3085 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3086 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3089 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3091 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3093 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3095 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3096 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3098 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3100 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3101 also for alternative shells.
3102 (tramp-open-connection-setup-interactive-shell): Check, whether
3103 the shell is a busybox.
3104 (tramp-send-command): Don't suppress multiple prompts for
3105 busyboxes, it hurts.
3107 2011-12-28 Chong Yidong <cyd@gnu.org>
3109 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3110 (gdb-get-source-file): Move mode line update to
3111 gdb-get-source-file (Bug#10087).
3113 2011-12-25 Chong Yidong <cyd@gnu.org>
3115 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3116 gud-gdb-marker-filter without taking it as an argument.
3117 (gud-gdb-run-command-fetch-lines): Caller changed.
3118 (gud-gdb-completion-function): New variable.
3119 (gud-gdb-completion-at-point): Use it.
3120 (gud-gdb-completions-1): Split from gud-gdb-completions.
3122 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3123 function as separate arguments.
3124 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3125 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3126 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3127 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3128 (gdb-stopped, def-gdb-auto-update-trigger)
3129 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3130 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3132 (gud-gdbmi-completions): New function.
3133 (gdb): Use it for generating the completion table.
3135 2011-12-24 Alan Mackenzie <acm@muc.de>
3137 Introduce a mechanism to widen the region used in context font
3138 locking. Use this to protect declarations from losing their contexts.
3140 * progmodes/cc-langs.el (c-before-font-lock-functions):
3141 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3142 (c-before-context-fontification-functions): New defvar, a list of
3143 functions to be run just before context (etc.) font locking.
3145 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3146 New, functionality extracted from
3147 c-neutralize-syntax-in-and-mark-CPP.
3148 (c-in-after-change-fontification): New variable.
3149 (c-after-change): Set c-in-after-change-fontification.
3150 (c-set-fl-decl-start): Rejig its interface, so it can be called
3151 from both after-change and context fontifying.
3152 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3154 (c-standard-font-lock-fontify-region-function): New variable.
3155 (c-font-lock-fontify-region): New function.
3157 2011-12-24 Juri Linkov <juri@jurta.org>
3159 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3162 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3164 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3165 existence of source file. (Bug#10325)
3167 2011-12-23 Alan Mackenzie <acm@muc.de>
3169 Fix unstable fontification inside templates.
3171 * progmodes/cc-langs.el (c-before-font-lock-functions):
3172 Newly created from the singular version. The (c c++ objc) entry now
3173 additionally has c-set-fl-decl-start. The other languages (apart
3174 from AWK) have that as a single entry.
3176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3177 The functionality for "local" declarations has been extracted to
3178 c-set-fl-decl-start.
3180 * progmodes/cc-mode.el (c-common-init, c-after-change):
3181 Changes due to pluralisation of c-before-font-lock-functions.
3182 (c-set-fl-decl-start): New function, extracted from
3183 c-font-lock-enclosing-decls and enhanced.
3185 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3187 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3189 2011-12-22 Juri Linkov <juri@jurta.org>
3191 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3193 2011-12-22 Chong Yidong <cyd@gnu.org>
3195 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3197 2011-12-21 Drew Adams <drew.adams@oracle.com>
3199 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3201 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3203 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3205 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3207 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3208 highlighting and support. Fix up comments for capitalization.
3209 (cfengine-mode-debug): New var.
3210 (cfengine3-mode): Change the modeline indicator to "CFE3".
3211 (cfengine3-font-lock-keywords): Improve defun highlighting.
3212 (cfengine2-actions): Rename from `cfengine-actions'.
3213 (cfengine2-font-lock-keywords): Rename from
3214 `cfengine-font-lock-keywords'.
3215 (cfengine2-imenu-expression): Rename from
3216 `cfengine-imenu-expression'.
3217 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3218 (cfengine2-beginning-of-defun): Rename from
3219 `cfengine-beginning-of-defun'.
3220 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3221 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3222 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3223 modeline indicator to "CFE2".
3224 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3225 (cfengine-mode-abbrevs): Mark obsolete.
3227 2011-12-21 Chong Yidong <cyd@gnu.org>
3229 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3232 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3234 * window.el (window-normalize-buffer-to-display): Remove.
3235 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3237 2011-12-19 Chong Yidong <cyd@gnu.org>
3239 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3240 Don't signal an error in a predicate function; return non-nil.
3241 (vc-dir-mark-file): Move the error here.
3242 (vc-dir-mark-unmark): If acting on the region, keep going if one
3243 of the entries cannot be marked/unmarked.
3244 (vc-dir-mark-all-files): If current entry is a directory, mark
3245 only child files, as documented.
3247 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3249 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3250 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3253 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3255 * term/ns-win.el (ns-get-selection-internal)
3256 (ns-store-selection-internal): Declare.
3257 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3258 Declare as obsolete.
3259 (ns-get-pasteboard, ns-paste-secondary):
3260 Use ns-get-selection-internal.
3261 (ns-set-pasteboard, ns-copy-including-secondary):
3262 Use ns-store-selection-internal.
3264 2011-12-17 Chong Yidong <cyd@gnu.org>
3266 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3267 (vc-deduce-fileset): Doc fix.
3269 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3271 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3273 2011-12-13 Sam Steingold <sds@gnu.org>
3275 * man.el (Man-getpage-in-background): When running under a
3276 window-system, ignore $MANWIDTH and $COLUMNS.
3278 2011-12-15 Kenichi Handa <handa@m17n.org>
3280 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3281 (setup-ethiopic-environment-internal): Comment out key-binding for
3282 ethio-toggle-punctuation.
3284 2011-12-13 Alan Mackenzie <acm@muc.de>
3286 Add the switch statement to AWK Mode.
3288 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3289 "default" to the keywords regexp.
3291 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3292 expression as the rest.
3293 (c-nonlabel-token-key): Allow string literals for AWK.
3294 Refactor for the other modes.
3296 Large brace-block initialisation makes CC Mode slow: Fix.
3297 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3298 routines. Limit backward searching in c-font-lock-enclosing.decl.
3300 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3301 pp-state and literal type in addition to the limits.
3302 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3303 (c-state-literal-at): Use the above new defun.
3304 (c-slow-in-literal, c-fast-in-literal): Remove.
3305 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3308 being in a literal. Add a limit for backward searching.
3310 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3313 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3317 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3319 * window.el (delete-other-windows): Use correct frame in call to
3320 window-with-parameter.
3322 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3324 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3325 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3326 (makefile-gmake-statements, makefile-makepp-statements):
3327 Use it and add new makepp keywords.
3328 (makefile-makepp-font-lock-keywords): Add new patterns.
3329 (makefile-match-function-end): Match new [...] and [[...]].
3331 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3333 * ses.el (ses-call-printer-return, ses-cell-property-get)
3334 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3335 (ses-create-cell-variable, ses-reset-header-string)
3336 (ses-cell-set-formula, ses-repair-cell-reference-all)
3337 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3338 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3339 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3340 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3341 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3342 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3343 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3344 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3345 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3346 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3347 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3348 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3350 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3352 * ses.el: The overall change is to add cell renaming, that is
3353 setting fancy names for cell symbols other than name matching
3354 "\\`[A-Z]+[0-9]+\\'" regexp .
3355 (ses-create-cell-variable): New defun.
3356 (ses-relocate-formula): Relocate formulas only for cells the
3357 symbols of which are not renamed, i.e. symbols whose names do not
3358 match regexp "\\`[A-Z]+[0-9]+\\'".
3359 (ses-relocate-all): Relocate values only for cells the symbols of
3360 which are not renamed.
3361 (ses-load): Create cells variables as the (ses-cell ...) are read,
3362 in order to check row col consistency with cell symbol name only
3363 for cells that are not renamed.
3364 (ses-replace-name-in-formula): New defun.
3365 (ses-rename-cell): New defun.
3367 2011-12-11 Chong Yidong <cyd@gnu.org>
3369 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3370 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3372 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3374 * window.el (other-window): Fix docstring.
3376 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3378 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3379 `from' or `to' address before taking its substring.
3380 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3381 encoded name is chopped in the middle of the encoded string, and
3382 thus displayed encoded.
3384 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3386 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3388 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3390 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3391 to use texinfo-update-node and commands that call it if the
3392 Texinfo file uses @node lines without next/prev/up pointers.
3393 Correct outdated description about texinfo-master-menu.
3394 (texinfo-all-menus-update, texinfo-master-menu)
3395 (texinfo-update-node, texinfo-every-node-update)
3396 (texinfo-multiple-files-update): Doc fix. Warn against updating
3397 all the @node lines.
3398 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3399 argument is numeric. Explain better in the doc string what the
3400 function really does.
3401 (texinfo-insert-master-menu-list): Improve the error message
3402 displayed if there's no menu in the Top node.
3403 (Bug#2975) See also this thread:
3404 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3406 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3408 * speedbar.el (speedbar-supported-extension-expressions):
3409 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3411 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3413 * printing.el (pr-mode-alist):
3414 * simple.el (filter-buffer-substring-functions)
3415 (completion-list-insert-choice-function):
3416 * window.el (window-with-parameter, window-atom-root)
3417 (window-sides-slots, window-size-fixed, window-min-delta)
3418 (window-max-delta, window--resize-mini-window)
3419 (window--resize-child-windows-normal, window-tree)
3420 (delete-other-windows, quit-window, split-window)
3421 (display-buffer-record-window, special-display-buffer-names)
3422 (special-display-regexps, special-display-popup-frame)
3423 (same-window-p, split-window-sensibly)
3424 (display-buffer-overriding-action, display-buffer-alist)
3425 (display-buffer-base-action, display-buffer, switch-to-buffer)
3426 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3427 (fit-window-to-buffer, recenter-positions)
3428 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3429 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3430 and remove unneeded backslashes in docstrings.
3432 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3434 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3436 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3437 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3439 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3440 when reading the makefile (bug#10116).
3442 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3447 2011-12-06 Glenn Morris <rgm@gnu.org>
3449 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3451 2011-12-06 Chong Yidong <cyd@gnu.org>
3453 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3455 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3457 * textmodes/table.el (table-shorten-cell): Fix typo.
3459 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3461 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3463 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3465 * descr-text.el (describe-char): Fix display of strong
3466 right-to-left characters and directional embeddings and overrides.
3468 * simple.el (what-cursor-position): Fix display of codepoints of
3469 strong right-to-left characters.
3471 2011-12-05 Chong Yidong <cyd@gnu.org>
3473 * faces.el (read-color): Doc fix.
3475 2011-12-05 Glenn Morris <rgm@gnu.org>
3477 * align.el (align--set-marker): Add doc-string.
3478 Don't try to move something that is not a marker. (Bug#10216)
3480 2011-12-04 Glenn Morris <rgm@gnu.org>
3482 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3483 overly zealous deletion of trailing whitespace.
3485 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3487 * server.el (server-delete-client): On Windows, do not try to delete
3489 (server-process-filter): On Windows, treat requests for a tty frame as
3490 if they were for a GUI frame if the running server is in GUI mode.
3492 2011-12-03 Glenn Morris <rgm@gnu.org>
3494 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3496 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * electric.el: Streamline electric-indent's hook.
3499 (electric-indent-chars): Revert to simple list.
3500 (electric-indent-functions): New var.
3501 (electric-indent-post-self-insert-function): Use it.
3503 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3504 there's no inferior buffer (bug#10196).
3505 (prolog-consult-compile): Don't use toggle-read-only.
3507 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3509 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3510 interrupt. (Bug#10187)
3512 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3517 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3520 2011-12-02 Juri Linkov <juri@jurta.org>
3522 * info.el (Info-search): Display "end of manual" when Isearch
3523 reaches the end of single-file Info manual. (Bug#9918)
3525 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3527 * isearch.el (isearch-message-prefix): Run the input method part
3528 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3530 2011-12-02 Juri Linkov <juri@jurta.org>
3532 * isearch.el (isearch-occur): Use `word-search-regexp' for
3534 (isearch-search-and-update): Add condition for `isearch-word' and
3535 call `word-search-regexp'. (Bug#10145)
3537 2011-12-01 Glenn Morris <rgm@gnu.org>
3539 * eshell/em-hist.el (eshell-hist-initialize):
3540 Handle eshell-history-size nil and HISTSIZE set or unset.
3541 (eshell-history-file-name, eshell-history-size): Fix custom type.
3543 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3547 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3549 * progmodes/verilog-mode.el (verilog-pretty-expr):
3550 Rework verilog-pretty-expr to handle new assignment operators in system
3551 verilog, such as += *= and the like.
3552 (verilog-assignment-operator-re): Regular expression to find the
3553 assigment operator in a verilog assignment.
3554 (verilog-assignment-operation-re): Regular expression to find an
3555 assignment statement for pretty-expr.
3556 (verilog-in-attribute-p): Query returns true if point is in an
3557 attribute context; used to skip these for expression line up from
3559 (verilog-in-parameter-p): Query returns true if point is in an
3560 parameter definition context; used to skip these for expression
3561 line up from pretty-expr.
3562 (verilog-in-parenthesis-p): Query returns true if point is in a
3563 parenthetical expression, specifically ( ) but not [ ] or { };
3564 used by pretty-expr.
3565 (verilog-just-one-space): If there is no space, don't add one.
3566 (verilog-get-lineup-indent-2): Specifically skip just attribute
3567 contexts for expression lineup, rather than skipping all
3568 parenthetical expressions.
3569 (verilog-calculate-indent): Fix comment, and fix indent.
3570 (verilog-do-indent): Indent declarations in lists (suggested by
3572 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3574 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3577 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3579 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3580 parameters with embedded comments. Reported by Ray Stevens.
3581 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3582 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3583 Reported by Tim Holt.
3584 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3585 instantiated by upper module causing wrong expansion until AUTOed a
3586 second time. Reported by K C Buckenmaier.
3587 (verilog-diff-auto): Fix showing .* as a difference when
3588 `verilog-auto-star-save' off. Reported by Dan Dever.
3589 (verilog-auto-reset, verilog-read-always-signals)
3590 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3591 temporary signals in reset list if
3592 verilog-auto-reset-blocking-in-non is nil, and match assignment
3593 style to each signal's assignment type, bug381.
3594 Reported by Thomas Esposito.
3595 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3596 (verilog-uvm-statement-re): Support UVM indentation and
3597 highlighting, with old OVM keywords only.
3598 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3599 Support AUTOTIEOFF creating non-wire data types.
3600 Suggested by Jonathan Greenlaw.
3601 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3602 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3603 (verilog-inject-sense, verilog-read-inst-pins)
3604 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3605 Fix mismatching parenthesis inside commented out code when deleting
3606 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3607 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3608 non-numeric vector width. Reported by Alex Reed.
3609 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3610 detecting signals with parameter widths. Reported by Alex Reed.
3611 (verilog-auto-delete-trailing-whitespace):
3612 With `verilog-auto-delete-trailing-whitespace' remove trailing
3613 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3614 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3615 Fix verilog-scan-cache corruption when running user AUTO expansion
3616 hooks that call indentation routines.
3617 (verilog-simplify-range-expression): Fix typo ignoring lower case
3619 (verilog-delete-auto): Fix delete-autos to also remove user created
3620 automatics, as long as they start with AUTO.
3621 (verilog-batch-diff-auto, verilog-diff-auto)
3622 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3623 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3624 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3625 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3626 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3627 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3628 is disabled and its cache will get corrupt, causing AUTOS not to
3629 expand. Instead use only -quick functions.
3630 (verilog-scan-region): Fix scanning over escaped quotes.
3631 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3632 (verilog-re-search-backward-quick)
3633 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3634 related functions now ignore strings, to fix misparsing of strings
3635 with magic comments embedded in them.
3636 (verilog-read-auto-template):
3637 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3638 Reported by Brad Dobbie.
3639 (verilog-read-auto-template):
3640 Fix 'verilog-auto-inst-template-numbers' with comments.
3641 Reported by Brad Dobbie.
3642 (verilog-auto-inst, verilog-auto-inst-param)
3643 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3644 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3645 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3646 debugging templates without merge conflicts, bug357.
3647 Reported by Brad Dobbie.
3648 (verilog-read-auto-template):
3649 Fix verilog-auto-inst-template-numbers with multiple templates.
3650 Reported by Brad Dobbie.
3651 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3652 abbrevs so user won't be asked to save.
3653 (verilog-read-auto-lisp-present): Fix to start at beginning of
3654 buffer in case called outside of verilog-auto.
3655 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3656 to "X-2". Reported by Matthew Myers.
3657 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3658 all inputs from module templates. Reported by Leith Johnson.
3659 (verilog-module-inside-filename-p): Fix locating programs as with
3661 (verilog-auto-inst-port): Fix vl-width expressions when using
3662 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3663 (verilog-decls-get-regs, verilog-decls-get-signals,
3664 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3665 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3666 verilog-read-decls): Combine reg and wire structures into one var
3667 structure to represent SystemVerilog concepts.
3668 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3669 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3670 (verilog-auto-wire-type, verilog-insert-definition):
3671 Add verilog-auto-wire-type and AUTOLOGIC to support using
3672 SystemVerilog "logic" keyword instead of "wire"/"reg".
3673 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3674 to declares outputs that also have assignments (presumably in an
3675 ifdef or generate if so there's not a driver conflict).
3676 Reported by Matthew Myers.
3677 (verilog-auto-declare-nettype, verilog-insert-definition):
3678 Add verilog-auto-declare-nettype to fix declarations using
3679 `default_nettype none. Reported by Julian Gorfajn.
3680 (verilog-read-always-signals-recurse, verilog-read-decls)
3681 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3682 malformed end statement, bug325. Reported by Joshua Wise and
3684 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3685 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3686 when expanding .* in interfaces, bug320.
3687 Reported by Pierre-David Pfister.
3688 (verilog-read-module-name): Fix import statements between module
3689 name and open parenthesis, bug317.
3690 Reported by Pierre-David Pfister.
3691 (verilog-simplify-range-expression): Fix simplification of
3692 multiplications inside AUTOWIRE connections, bug303.
3693 (verilog-auto-inst-port): Support parameter expansion in
3694 multidimensional arrays.
3695 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3696 after "assert property". Reported by Julian Gorfajn.
3697 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3698 with multiplication, bug303.
3699 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3700 Reported by Jan Frode Lonnum.
3702 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3704 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3705 (hfy-shell-file-name, hfy-shell):
3706 * international/fontset.el (x-decompose-font-name): Fix typos.
3708 2011-11-29 Ken Brown <kbrown@cornell.edu>
3710 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3711 (gdb-version): Remove defvar.
3712 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3713 (gdb-gud-context-command, gdb-non-stop-handler)
3714 (gdb-current-context-command, gdb-stopped): Use it.
3715 (gdb-init-1): Enable pretty printing here.
3716 (gdb-non-stop-handler): Don't enable pretty-printing here.
3717 Check to see if the target supports non-stop mode; if not, turn off
3718 non-stop mode. Use the following.
3719 (gdb-check-target-async): New defun.
3720 (gud-watch, gdb-stopped): Fix whitespace.
3721 (gdb-get-source-file): Don't try to display the source file if
3722 `gdb-main-file' is nil.
3724 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3726 * align.el: Try to generate fewer markers (bug#10047).
3727 (align--set-marker): New macro.
3728 (align-region): Use it.
3730 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3734 2011-11-29 Chong Yidong <cyd@gnu.org>
3736 * indent.el (indent-for-tab-command, indent-according-to-mode):
3738 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3740 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3742 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3743 aware of remote file names. (Bug#10124)
3745 2011-11-29 Chong Yidong <cyd@gnu.org>
3747 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3749 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * files.el (find-file): Don't use force-same-window (bug#10144).
3752 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3753 use pop-to-buffer if the selected window can't be used.
3754 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3756 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3758 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3761 2011-11-28 Chong Yidong <cyd@gnu.org>
3763 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3765 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3767 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3768 gdb-get-source-file-list on gdb-create-source-file-list.
3770 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3772 * whitespace.el (whitespace-newline): Use a different foreground
3773 color for 16-color light-background displays.
3775 2011-11-24 Chong Yidong <cyd@gnu.org>
3777 * window.el (display-buffer--special-action): Doc fix.
3779 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3781 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3782 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3783 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3784 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3785 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3786 (avl-tree-stack-first):
3787 * emacs-lisp/cconv.el (cconv--analyse-use):
3788 * net/gnutls.el (gnutls-negotiate): Fix typos.
3790 2011-11-24 Glenn Morris <rgm@gnu.org>
3792 * lpr.el (lpr-windows-system, lpr-lp-system):
3793 * mail/binhex.el (binhex-begin-line):
3794 * progmodes/grep.el (grep-history, grep-find-history):
3795 * textmodes/flyspell.el:
3796 * vc/pcvs-defs.el (cvs-global-menu):
3797 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3798 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3799 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3801 * net/tls.el: Fix case of "GnuTLS".
3803 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3805 * version.el (emacs-build-system): Give it a doc-string.
3807 2011-11-24 Juri Linkov <juri@jurta.org>
3809 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3811 2011-11-24 Glenn Morris <rgm@gnu.org>
3813 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3814 if called on a non-mime message just toggle the headers. (Bug#8006)
3816 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3818 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3819 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3820 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3821 (allout-rebullet-heading, allout-open-sibtopic)
3822 (allout-toggle-current-subtree-encryption)
3823 (allout-toggle-subtree-encryption, allout-encrypt-string)
3824 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3825 (allout-distinctive-bullets-string, allout-auto-activation):
3826 * window.el (window-normalize-buffer-to-display):
3827 * progmodes/verilog-mode.el (verilog-batch-indent):
3828 * textmodes/bibtex.el (bibtex-field-braces-opt)
3829 (bibtex-field-strings-opt):
3830 * vc/cvs-status.el (cvs-tree-merge):
3833 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3835 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3836 `non-essential' to t, in order to avoid remote connections.
3838 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3840 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3841 On MS-DOS and MS-Windows, compare with loaddefs.el
3844 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3846 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3848 2011-11-23 Glenn Morris <rgm@gnu.org>
3850 * paths.el (rmail-file-name): Reformat the doc-string so that it
3853 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3854 (rmail-auto-file): Ignore case in the "special" field names,
3855 as mail-fetch-field does for all others.
3857 * mail/rmail.el (rmail-forward):
3858 * mail/rmailkwd.el (rmail-set-label):
3859 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3860 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3862 * mail/rmail.el (rmail-current-message): Doc fix.
3864 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3866 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3870 2011-11-22 Glenn Morris <rgm@gnu.org>
3872 * mail/rmailmm.el (test-rmail-mime-handler)
3873 (test-rmail-mime-bulk-handler)
3874 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3876 2011-11-21 Juri Linkov <juri@jurta.org>
3878 * calc/calc.el (calc-read-key-sequence):
3879 Let-bind `input-method-function' to nil. (Bug#10018)
3881 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3883 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3884 Tell the caller that the next line needs recomputation, even
3885 though it doesn't start a sexp (bug#10094).
3887 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3889 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3891 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3894 Use force-same-window.
3896 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3898 * descr-text.el (describe-char-unicode-data):
3899 * json.el (json-string-escape):
3900 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3901 (Footnote-unicode, Footnote-style-p):
3902 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3904 2011-11-20 Chong Yidong <cyd@gnu.org>
3906 * window.el (replace-buffer-in-windows): Restore interactive spec.
3908 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3912 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3913 (byte-compile-global-not-obsolete-vars): New var.
3914 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3916 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3918 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3920 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3921 * progmodes/pascal.el (electric-pascal-equal):
3922 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3923 * xml.el (xml-substitute-special): Fix typos.
3925 2011-11-20 Glenn Morris <rgm@gnu.org>
3927 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3928 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3930 (rmail-decode-mime-charset): Mark as obsolete.
3932 * mail/rmailsum.el (rmail-message-regexp-p-1):
3933 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3934 Before using mime functions, check they are set. (Bug#10077)
3936 2011-11-19 Juri Linkov <juri@jurta.org>
3938 * info.el (Info-finder-find-node): Use `package--builtins' instead
3939 of `package-alist'. Use node names formed by the pattern "Keyword "
3940 and the keyword name.
3942 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3944 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3946 2011-11-19 Juri Linkov <juri@jurta.org>
3948 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3949 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3950 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3951 `old-history', `old-history-forward'. Add let-binding
3952 `window-selected'. Remove calls to `kill-buffer',
3953 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3954 before calling `Info-find-node', so `Info-find-node-2' will reread
3955 the Info file. Restore window positions only when `window-selected'
3958 2011-11-19 Juri Linkov <juri@jurta.org>
3960 * isearch.el (isearch-lazy-highlight-new-loop):
3961 Remove condition `(not isearch-error)'. (Bug#9918)
3963 * misearch.el (multi-isearch-search-fun): Add condition
3964 `(not bound)' to ignore lazy-highlighting search.
3965 Add the search-failed message "end of multi" when the end of
3966 multi-sequence is reached. Uncapitalize the search-failed
3967 message "Repeat for next buffer".
3969 * info.el (Info-search): Add the search-failed message
3970 "end of the manual" when the end of the manual is reached
3973 2011-11-19 Juri Linkov <juri@jurta.org>
3975 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3976 Use non-destructive `remove' instead of `delete' because
3977 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3978 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3980 2011-11-19 Juri Linkov <juri@jurta.org>
3982 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3983 to nil instead of binding `search-ring' and `regexp-search-ring'.
3986 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3988 * simple.el (line-move): Force movement by logical lines for any
3989 hscrolled window, not only when auto-hscroll-mode is on.
3990 (line-move-visual): Update doc string to that effect. (Bug#10076)
3992 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3994 * language/european.el (macintosh): Define as alias for mac-roman.
3996 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3998 * mail/rmailmm.el (rmail-mime-display-header)
3999 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4000 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4001 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4002 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4003 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4005 (rmail-mime-entity-segment): To get past the tagline, move forward
4006 2 more lines, to account for the 2 empty lines that precede and
4007 follow the line with the buttons.
4008 (rmail-mime-update-tagline): Move one more line, to get past the
4009 empty line that follows the buttons in the tagline. (Bug#9520)
4011 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4013 * window.el (window-max-delta-1, window-min-delta-1)
4014 (window-min-size-1, window-state-get-1, window-state-put-1)
4015 (window-state-put-2): Use "window--" prefix.
4017 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4020 (smie-warning-count): New var.
4021 (smie-set-prec2tab): Use it.
4022 (smie-bnf->prec2): Improve warnings. Add docstring.
4023 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4024 (smie-bnf--set-class): New function.
4025 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4028 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4029 (compilation-error-properties, compilation-move-to-column):
4030 Handle compilation-first-column while in the target buffer.
4032 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4033 Don't hardcode point-min==1.
4035 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4036 (eshell-rewrite-for-command): Remove workaround.
4037 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4038 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4039 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4041 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4043 2011-11-17 Glenn Morris <rgm@gnu.org>
4045 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4046 Ignore buffer-local generated-autoload-file if it is the same
4047 as the global value. (Bug#10049)
4049 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4051 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4052 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4053 (reftex-toc-previous-heading, reftex-toc-max-level)
4054 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4055 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4056 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4057 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4058 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4059 (reftex-toc-rename-label, reftex-toc-visit-location)
4060 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4061 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4062 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4063 leaving "*toc*" only for references to the buffer.
4065 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4067 * window.el (window-resize, delete-window, split-window):
4068 Replace window-splits by window-combination-resize.
4069 * cus-start.el (window-splits): Replace by window-combination-resize.
4071 2011-11-17 Glenn Morris <rgm@gnu.org>
4073 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4074 Make bash entry derive from sh entry, not shell entry.
4076 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4078 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4079 properties of linked files. (Bug#9879)
4081 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4084 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4086 * menu-bar.el (menu-bar-file-menu):
4087 * printing.el (pr-ps-utility):
4088 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4089 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4090 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4091 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4092 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4093 (icalendar--convert-cyclic-to-ical)
4094 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4095 (icalendar--convert-ical-to-diary)
4096 (icalendar--convert-recurring-to-diary)
4097 (icalendar--convert-non-recurring-all-day-to-diary)
4098 (icalendar-import-format-sample):
4099 * progmodes/idlw-shell.el (idlwave-shell-mode):
4100 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4101 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4102 (vhdl-ps-print-init): Fix typos.
4104 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4106 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4107 FSF and collapse date sequence, obscure author/maintainer email address
4108 better, remove extra version line, track relocation of author's webpage.
4110 * progmodes/python.el (python-pdbtrack-input-prompt)
4111 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4112 regular python pdb prompts. Adjustments shamelessly taken exactly as
4113 suggested in EmacsWiki page (tiny change):
4114 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4116 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4118 * expand.el (expand-pos, expand-index, expand-point):
4119 Remove redundant info from docstring.
4120 (expand-add-abbrevs): Doc fix.
4121 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4122 (expand-sample-perl-mode-expand-list): Fix typos.
4124 * net/dbus.el (dbus-event-member-name):
4125 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4126 * term/pc-win.el (msdos-create-frame-with-faces):
4127 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4129 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4131 * window.el (split-window, window-state-get-1)
4132 (window-state-put-1, window-state-put-2): Rename occurrences of
4133 window-nest to window-combination-limit.
4134 * cus-start.el (window-nest): Rename to window-combination-limit.
4136 2011-11-16 Chong Yidong <cyd@gnu.org>
4138 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4141 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4144 `completing-read' will remove *Completions* and will preserve
4145 current-buffer for us.
4146 (tmm-add-prompt): Users of *Completions* will always (re)set its
4148 (tmm-old-comp-map): Remove.
4150 2011-11-16 Glenn Morris <rgm@gnu.org>
4152 * mail/rmailedit.el: Require rmailmm when compiling.
4153 (rmail-old-mime-state): New declaration.
4154 (rmail-edit-current-message): If editing a mime message,
4155 edit the "raw" message from the mbox buffer.
4156 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4158 2011-11-15 Glenn Morris <rgm@gnu.org>
4160 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4161 which wasn't being used. Add optional arg to force given state.
4162 (rmail-mime): Add optional arg to force given state.
4164 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4166 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4167 * frame.el (display-mm-dimensions-alist):
4168 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4169 (outline-move-subtree-down):
4170 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4171 (newsticker--treeview-do-get-node):
4172 * net/quickurl.el (quickurl-list-buffer-name):
4173 * progmodes/dcl-mode.el (dcl-mode):
4174 * progmodes/gdb-mi.el (gdb-mapcar*):
4175 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4177 2011-11-15 Glenn Morris <rgm@gnu.org>
4179 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4180 in a boolean sense, so just make it a boolean, and fix the doc.
4181 (rmail-show-mime-function, rmail-mime-feature)
4182 (rmail-require-mime-maybe): Doc fixes.
4183 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4185 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4187 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4189 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4190 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4191 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4192 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4194 2011-11-15 Glenn Morris <rgm@gnu.org>
4196 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4197 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4198 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4199 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4200 (rmail-mime, rmail-show-mime): Doc fixes.
4202 * term/ns-win.el (mode-line-frame-identification):
4203 Leave it alone. (Bug#10051)
4205 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4207 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4208 Handle empty buffers. (Bug#9978)
4210 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4212 * international/mule.el (define-charset):
4213 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4214 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4215 * progmodes/verilog-mode.el (verilog-backward-token):
4216 * textmodes/ispell.el (lookup-words):
4217 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4219 2011-11-14 Glenn Morris <rgm@gnu.org>
4221 * progmodes/executable.el
4222 (executable-make-buffer-file-executable-if-script-p):
4223 Handle file-modes returning nil.
4225 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4226 message - not necessary, and causes problems. (Bug#9831)
4228 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4230 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4232 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4233 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4234 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4236 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4238 * window.el (window-resize, delete-window): Use window-splits
4239 variable instead of function.
4240 (window-state-get-1, window-state-put-2, window-state-put):
4241 Don't deal with windows' splits status.
4243 2011-11-12 Glenn Morris <rgm@gnu.org>
4245 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4246 (apropos-documentation): Doc fixes.
4248 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4250 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4251 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4253 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * electric.el (electric-indent-post-self-insert-function): Make it
4256 possible for a char to only indent in some circumstances.
4257 (electric-indent-mode): Simplify.
4259 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4261 * window.el (windows-with-parameter): Remove unused function.
4262 (windows-at-side): Rename to window-at-side-list.
4263 (window-check, window-atom-check, window-atom-check-1)
4264 (window-side-check, window-size-ignore, window-size-fixed-1)
4265 (window-in-direction-2): Prefix with "window--".
4266 (window-tree-1): Rename to window--subtree, fix doc-string.
4268 2011-11-11 Glenn Morris <rgm@gnu.org>
4270 * subr.el (eval-after-load): If FILE is already loaded,
4271 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4273 2011-11-10 Glenn Morris <rgm@gnu.org>
4275 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4276 Call svn via vc-svn-command rather than vc-do-command.
4277 (vc-svn-command): Add --non-interactive. (Bug#9993)
4278 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4280 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4281 Add toggle-read-only. (Bug#7292)
4282 * files.el (toggle-read-only): Mention that it should only
4283 be used interactively. (Bug#10006)
4285 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4287 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4288 Adjust regexp for OCaml warnings.
4290 * electric.el (electric-pair-post-self-insert-function): Let user
4291 turn it off buffer-locally (bug#9932).
4293 * progmodes/python.el (python-beginning-of-statement):
4296 * progmodes/compile.el: Better handle TABs (bug#9749).
4297 (compilation-internal-error-properties)
4298 (compilation-next-error-function): Obey the target buffer's
4299 compilation-error-screen-columns.
4301 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4303 * progmodes/meta-mode.el: Remove obsolete comments.
4304 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4305 Fix typos in docstrings.
4307 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4309 * window.el (window-size-fixed-p): Rewrite doc-string.
4310 (window-resizable-p): Rename to window--resizable-p. Update callers.
4311 (window--resizable): New function. Make all callers of
4312 window-resizable call window--resizable instead.
4313 (window-resizable): Rewrite in terms of window--resizable.
4315 2011-11-08 Glenn Morris <rgm@gnu.org>
4317 * progmodes/delphi.el (delphi-mode-syntax-table):
4318 Let define-derived-mode define a proper syntax table. (Bug#9994)
4320 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * window.el: Stay away from defsubst.
4323 (window-list-no-nils): Remove.
4324 (window-state-get-1, window-state-get): Use backquote instead.
4326 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4328 * emacs-lisp/find-func.el (find-function-read):
4329 Fix incorrect use of default argument in `completing-read'.
4331 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4333 * window.el (display-buffer-function, special-display-function):
4334 Mention display-buffer-record-window but do not mention
4335 help-setup parameter in doc-strings.
4336 (window-min-delta): Fix doc-string typo.
4338 2011-11-08 Chong Yidong <cyd@gnu.org>
4340 * window.el (window-total-height, window-total-width): Doc fix.
4341 (window-body-size): Move from C.
4342 (window-body-height, window-body-width): Move to C.
4344 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * window.el: Make special-display like display-buffer-alist (bug#9532).
4347 (display-buffer--special-action): New function, morphed
4348 from display-buffer--special.
4349 (display-buffer): Use it to handle special-display-buffers at higher
4350 priority (just after display-buffer-alist).
4351 (display-buffer-fallback-action, display-buffer--other-frame-action)
4352 (pop-to-buffer-same-window): Remove display-buffer--special.
4354 2011-11-07 Glenn Morris <rgm@gnu.org>
4356 * calendar/cal-menu.el (cal-menu-set-date-title):
4357 Do nothing if not in a calendar. (Bug#9976)
4359 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * files.el (find-file): Always use selected-window.
4363 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4365 * window.el (window-combinations): Make WINDOW argument
4366 mandatory. Rewrite doc-string.
4367 (walk-window-subtree, window-atom-check, window-min-delta)
4368 (window-max-delta, window--resize-this-window)
4369 (window--resize-root-window-vertically, window-tree)
4370 (balance-windows, window-state-put): Rewrite doc-strings as to
4371 not mention the term "subwindow".
4372 (window--resize-subwindows-skip-p): Rename to
4373 window--resize-child-windows-skip-p.
4374 (window--resize-subwindows-normal): Rename to
4375 window--resize-child-windows-normal.
4376 (window--resize-subwindows): Rename to
4377 window--resize-child-windows.
4378 (window-or-subwindow-p): Rename to window--in-subtree-p.
4380 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4382 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4383 Ensure that mbox format messages end in two newlines (Bug#9974).
4385 2011-11-06 Chong Yidong <cyd@gnu.org>
4387 * window.el (window-combination-p): Function deleted; its
4388 side-effect is not used in any existing code.
4389 (window-combinations, window-combined-p): Call window-*-child
4392 2011-11-05 Chong Yidong <cyd@gnu.org>
4394 * window.el (window-valid-p): Rename from window-any-p.
4395 (window-size-ignore, window-state-get): Callers changed.
4396 (window-normalize-window): Rename from window-normalize-any-window.
4397 New arg LIVE-ONLY, replacing window-normalize-live-window.
4398 (window-normalize-live-window): Delete.
4399 (window-combination-p, window-combined-p, window-combinations)
4400 (walk-window-subtree, window-atom-root, window-min-size)
4401 (window-sizable, window-sizable-p, window-size-fixed-p)
4402 (window-min-delta, window-max-delta, window-resizable)
4403 (window-resizable-p, window-full-height-p, window-full-width-p)
4404 (window-current-scroll-bars, window-point-1, set-window-point-1)
4405 (window-at-side-p, window-in-direction, window-resize)
4406 (adjust-window-trailing-edge, maximize-window, minimize-window)
4407 (window-deletable-p, delete-window, delete-other-windows)
4408 (record-window-buffer, unrecord-window-buffer)
4409 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4410 (quit-window, split-window, window-state-put)
4411 (set-window-text-height, fit-window-to-buffer)
4412 (shrink-window-if-larger-than-buffer): Callers changed.
4414 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4416 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4417 rfc2047-decode-string.
4418 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4421 * window.el (window-body-height, window-body-width): Mention in
4422 the doc string that the return values are in frame's canonical
4425 2011-11-03 Alan Mackenzie <acm@muc.de>
4427 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4428 change in cc-engine.el.
4430 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4434 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4436 * window.el (quit-window): Call unrecord-window-buffer after
4437 showing another buffer in the window. (Bug#9937)
4438 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4440 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4442 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4443 Accept status with more than 9 shelves. (Bug#9935)
4444 Reported by Colin D Bennett <colin@gibibit.com>.
4446 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4448 * help.el (with-help-window): Don't reference
4449 temp-buffer-show-specifiers in doc-string.
4451 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4453 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4456 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4458 * whitespace.el: New version 13.2.2.
4459 (whitespace-newline-mode): Disable properly. Reported by Sarah
4462 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4464 * net/newst-treeview.el: Remove "Time-stamp".
4465 (newsticker--group-manage-orphan-feeds): Do not call
4466 newsticker--treeview-tree-update.
4467 (newsticker-treeview-update, newsticker-treeview):
4468 Call newsticker--treeview-tree-update if necessary.
4470 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4472 * window.el (window-iso-combination-p, window-iso-combined-p)
4473 (window-iso-combinations): Remove "iso-" infix.
4474 Suggested by Chong Yidong.
4475 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4476 (window-max-delta-1, window-resize, window--resize-siblings)
4477 (window--resize-this-window, adjust-window-trailing-edge)
4478 (split-window, balance-windows-1)
4479 (shrink-window-if-larger-than-buffer):
4480 * calendar/calendar.el (calendar-generate-window):
4481 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4483 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4486 in place (bug#9907).
4487 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4488 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4489 (eshell-structure-basic-command, eshell-rewrite-while-command)
4490 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4491 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4492 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4493 (eshell-do-pipelines-synchronously, eshell-eval-command):
4494 Use backquotes and prefer setq to set.
4495 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4496 (eshell-macrop): Use functionp.
4497 (eshell-do-eval): Handle multiple expressions in `while' body.
4499 2011-10-30 Chong Yidong <cyd@gnu.org>
4501 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4502 instead of set-mark (Bug#9810).
4504 2011-10-30 Chong Yidong <cyd@gnu.org>
4506 * window.el (split-window-below, split-window-right): Rename from
4507 split-window-above-each-other and split-window-side-by-side
4508 respectively. All callers changed.
4509 (split-window-sensibly, split-window-sensibly): Use them.
4510 (split-window-keep-point): Doc fix.
4512 * isearch.el: Add isearch-scroll property to split-window-below
4513 and split-window-right.
4515 * follow.el (follow-mode):
4516 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4517 * progmodes/ada-xref.el (ada-gdb-application):
4518 * emulation/vip.el (vip-buffer-in-two-windows):
4519 * image-dired.el (image-dired-dired-with-window-configuration):
4520 * dired-x.el (dired-do-find-marked-files):
4521 * dired.el (dired-pop-to-buffer):
4522 * bs.el (bs--show-with-configuration):
4523 * vc/emerge.el (emerge-setup-windows):
4524 * textmodes/two-column.el (2C-two-columns):
4525 * textmodes/reftex-toc.el (reftex-toc):
4526 * progmodes/gdb-mi.el (gdb-setup-windows):
4527 * progmodes/fortran.el (fortran-window-create):
4528 * net/newst-treeview.el (newsticker--treeview-window-init):
4529 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4530 * emulation/tpu-edt.el (tpu-gold-map):
4531 * emulation/crisp.el (crisp-mode-map):
4532 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4534 2011-10-29 Chong Yidong <cyd@gnu.org>
4536 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4538 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4540 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4541 forged Ispell output (Bug#7904).
4543 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4545 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4547 * doc-view.el: Avoid ugly errors about not finding nil.
4548 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4549 (doc-view-dvipdf-program, doc-view-unoconv-program)
4550 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4551 Avoid nil or absolute file name as default value.
4552 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4554 2011-10-28 Alan Mackenzie <acm@muc.de>
4556 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4558 2011-10-28 Alan Mackenzie <acm@muc.de>
4560 Amend the handling of c-beginning/end-of-defun in nested declaration
4563 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4564 cc-langs.el. Change it to a defcustom.
4566 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4569 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4570 Prevent "class foo : bar" being spuriously recognized as a label.
4572 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4573 Add parameter `inclusive' (to include enclosing braces in the region).
4574 (c-widen-to-enclosing-decl-scope): New function.
4575 (c-while-widening-to-decl-block): New macro.
4576 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4577 outward for defun boundaries, and correspondingly change symbol
4578 `respect-enclosure' to `go-outward'.
4579 (c-declaration-limits): Change algorithm to report only the "innermost"
4582 2011-10-28 Deniz Dogan <deniz@dogan.se>
4584 * net/rcirc.el (rcirc-mode): Use hard newlines.
4586 2011-10-28 Alan Mackenzie <acm@muc.de>
4588 Amend to indent and fontify macros "which include their own semicolon"
4589 correctly, using the "virtual semicolon" mechanism.
4591 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4593 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4594 Recode to scan one line at a time rather than having \n and \r
4595 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4596 (c-forward-label): Amend for virtual semicolons.
4597 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4599 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4600 of the new C macros.
4602 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4603 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4604 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4605 (c-opt-cpp-macro-define): Make into a full language variable.
4606 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4607 AWK Mode (including \n, \r) removed, no longer needed.
4609 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4610 Invoke c-make-macro-with-semi-re.
4612 * progmodes/cc-vars.el (c-macro-with-semi-re):
4613 (c-macro-names-with-semicolon): New variables.
4614 (c-make-macro-with-semi-re): New function.
4616 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * vc/log-edit.el: Fill empty field rather than adding new one.
4619 (log-edit-add-field): New function.
4620 (log-edit-insert-changelog): Use it.
4622 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4624 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4626 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4629 (gdb--check-interpreter): New function.
4632 2011-10-27 Glenn Morris <rgm@gnu.org>
4634 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4635 (least-positive-float, least-negative-float)
4636 (least-positive-normalized-float, least-negative-normalized-float)
4637 (float-epsilon, float-negative-epsilon):
4638 Remove unnecessary declarations.
4640 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4641 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4642 (least-positive-float, least-negative-float)
4643 (least-positive-normalized-float, least-negative-normalized-float)
4644 (float-epsilon, float-negative-epsilon): Add doc-strings,
4645 based on those in cl.texi.
4647 * files.el (set-visited-file-name): If the major-mode changed,
4648 reload the local variables. (Bug#9796)
4650 2011-10-27 Chong Yidong <cyd@gnu.org>
4652 * subr.el (change-major-mode-after-body-hook): New hook.
4653 (run-mode-hooks): Run it.
4655 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4656 Use change-major-mode-before-body-hook.
4658 * simple.el (fundamental-mode):
4659 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4660 change introducing fundamental-mode-hook.
4662 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4664 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4666 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4668 * ido.el (ido-file-name-all-completions-1): Do not require
4669 tramp.el explicitly. (Bug#7583)
4671 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * progmodes/octave-mod.el:
4674 * progmodes/octave-inf.el: Update maintainer.
4676 2011-10-26 Chong Yidong <cyd@gnu.org>
4678 * subr.el (with-wrapper-hook): Rewrite doc.
4680 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4682 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4683 filenames "/method:foo:". (Bug#9793)
4685 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4690 2011-10-24 Glenn Morris <rgm@gnu.org>
4692 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4694 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4696 * notifications.el: Add the requirement of a running D-Bus session
4697 bus to the Commentary.
4699 2011-10-24 Juri Linkov <juri@jurta.org>
4701 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4702 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4705 2011-10-24 Juri Linkov <juri@jurta.org>
4707 * info.el (Info-following-node-name-re): Add newline to the list
4708 of allowed characters for leading space. (Bug#9824)
4710 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * progmodes/octave-inf.el (inferior-octave-mode-map):
4713 Fix C-c C-h binding.
4714 * progmodes/octave-mod.el (octave-help): Remove.
4716 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4718 Sync with Tramp 2.2.3.
4720 * net/tramp-cache.el (top): Pacify byte-compiler using
4721 `init-file-user' and `site-run-file'.
4723 * net/trampver.el: Update release number.
4725 2011-10-23 Chong Yidong <cyd@gnu.org>
4727 * files.el (toggle-read-only): Remove obsolete comment about
4730 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4731 for toggle-read-only. Note that this hasn't called vc-next-action
4732 since 2008-05-02, though it wasn't documented at the time.
4734 * vc/ediff-init.el (ediff-toggle-read-only-function):
4735 Use toggle-read-only.
4737 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4739 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4742 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4743 correct faulty logical expression.
4744 (c-parse-state-state, c-record-parse-state-state):
4745 (c-replay-parse-state-state): New defvar/defuns.
4746 (c-debug-parse-state): Use new functions.
4748 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4750 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4751 last fix. Use window-in-direction correctly.
4753 2011-10-21 Chong Yidong <cyd@gnu.org>
4755 * progmodes/idlwave.el (idlwave-mode):
4756 * progmodes/vera-mode.el (vera-mode): No need to set
4757 require-final-newline; that's done in prog-mode.
4758 Suggested by Stefan Monnier.
4760 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4762 * mouse.el (mouse-drag-window-above)
4763 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4764 (mouse-drag-mode-line-1, mouse-drag-header-line)
4765 (mouse-drag-vertical-line-rightward-window): Remove.
4766 (mouse-drag-line): New function.
4767 (mouse-drag-mode-line, mouse-drag-header-line)
4768 (mouse-drag-vertical-line): Call mouse-drag-line.
4769 * window.el (window-at-side-p, windows-at-side): New functions.
4771 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4773 * tar-mode.el (tar-grind-file-mode):
4774 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4776 2011-10-21 Chong Yidong <cyd@gnu.org>
4778 * progmodes/idlwave.el (idlwave-mode):
4779 * progmodes/vera-mode.el (vera-mode):
4780 Use mode-require-final-newline.
4782 2011-10-20 Glenn Morris <rgm@gnu.org>
4784 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4786 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4788 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4790 2011-10-20 Chong Yidong <cyd@gnu.org>
4792 * emulation/cua-base.el (cua-mode):
4793 * mail/footnote.el (footnote-mode):
4794 * mail/mailabbrev.el (mail-abbrevs-mode):
4795 * net/xesam.el (xesam-minor-mode):
4796 * progmodes/bug-reference.el (bug-reference-mode):
4797 * progmodes/cap-words.el (capitalized-words-mode):
4798 * progmodes/compile.el (compilation-minor-mode)
4799 (compilation-shell-minor-mode):
4800 * progmodes/gud.el (gud-tooltip-mode):
4801 * progmodes/hideif.el (hide-ifdef-mode):
4802 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4803 * progmodes/subword.el (subword-mode):
4804 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4805 * progmodes/which-func.el (which-function-mode):
4806 * term/tvi970.el (tvi970-set-keypad-mode):
4807 * term/vt100.el (vt100-wide-mode):
4808 * textmodes/flyspell.el (flyspell-mode):
4809 * textmodes/ispell.el (ispell-minor-mode):
4810 * textmodes/nroff-mode.el (nroff-electric-mode):
4811 * textmodes/paragraphs.el (use-hard-newlines):
4812 * textmodes/refill.el (refill-mode):
4813 * textmodes/reftex.el (reftex-mode):
4814 * textmodes/rst.el (rst-minor-mode):
4815 * textmodes/sgml-mode.el (html-autoview-mode)
4816 (sgml-electric-tag-pair-mode):
4817 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4818 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4819 * emulation/crisp.el (crisp-mode):
4820 * emacs-lisp/eldoc.el (eldoc-mode):
4821 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4822 minor mode behavior.
4824 2011-10-19 Juri Linkov <juri@jurta.org>
4826 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4827 the list of hard-coded chars with escape-glyph face.
4829 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4831 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4833 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4835 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4838 2011-10-19 Glenn Morris <rgm@gnu.org>
4840 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4841 Ignore ignored files. (Bug#9726)
4843 2011-10-19 Chong Yidong <cyd@gnu.org>
4845 Doc fix for minor modes, stating that an omitted argument enables
4846 the mode unconditionally when called from Lisp.
4848 * abbrev.el (abbrev-mode):
4849 * allout.el (allout-mode):
4850 * autoinsert.el (auto-insert-mode):
4851 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4852 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4853 (global-auto-revert-mode):
4854 * battery.el (display-battery-mode):
4855 * composite.el (global-auto-composition-mode)
4856 (auto-composition-mode):
4857 * delsel.el (delete-selection-mode):
4858 * desktop.el (desktop-save-mode):
4859 * dired-x.el (dired-omit-mode):
4860 * dirtrack.el (dirtrack-mode):
4861 * doc-view.el (doc-view-minor-mode):
4862 * double.el (double-mode):
4863 * electric.el (electric-indent-mode, electric-pair-mode):
4864 * emacs-lock.el (emacs-lock-mode):
4865 * epa-hook.el (auto-encryption-mode):
4866 * follow.el (follow-mode):
4867 * font-core.el (font-lock-mode):
4868 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4869 * help.el (temp-buffer-resize-mode):
4870 * hilit-chg.el (highlight-changes-mode)
4871 (highlight-changes-visible-mode):
4872 * hi-lock.el (hi-lock-mode):
4873 * hl-line.el (hl-line-mode, global-hl-line-mode):
4874 * icomplete.el (icomplete-mode):
4875 * ido.el (ido-everywhere):
4876 * image-file.el (auto-image-file-mode):
4877 * image-mode.el (image-minor-mode):
4878 * iswitchb.el (iswitchb-mode):
4879 * jka-cmpr-hook.el (auto-compression-mode):
4880 * linum.el (linum-mode):
4881 * longlines.el (longlines-mode):
4882 * master.el (master-mode):
4883 * mb-depth.el (minibuffer-depth-indicate-mode):
4884 * menu-bar.el (menu-bar-mode):
4885 * minibuf-eldef.el (minibuffer-electric-default-mode):
4886 * mouse-sel.el (mouse-sel-mode):
4887 * msb.el (msb-mode):
4888 * mwheel.el (mouse-wheel-mode):
4889 * outline.el (outline-minor-mode):
4890 * paren.el (show-paren-mode):
4891 * recentf.el (recentf-mode):
4892 * reveal.el (reveal-mode, global-reveal-mode):
4893 * rfn-eshadow.el (file-name-shadow-mode):
4894 * ruler-mode.el (ruler-mode):
4895 * savehist.el (savehist-mode):
4896 * scroll-all.el (scroll-all-mode):
4897 * scroll-bar.el (scroll-bar-mode):
4898 * server.el (server-mode):
4899 * shell.el (shell-dirtrack-mode):
4900 * simple.el (auto-fill-mode, transient-mark-mode)
4901 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4902 (line-number-mode, column-number-mode, size-indication-mode)
4903 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4904 * strokes.el (strokes-mode):
4905 * time.el (display-time-mode):
4906 * t-mouse.el (gpm-mouse-mode):
4907 * tool-bar.el (tool-bar-mode):
4908 * tooltip.el (tooltip-mode):
4909 * type-break.el (type-break-mode-line-message-mode)
4910 (type-break-query-mode):
4911 * view.el (view-mode):
4912 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4913 (global-whitespace-mode, global-whitespace-newline-mode):
4914 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4916 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4917 Fix autogenerated docstring.
4919 2011-10-19 Juri Linkov <juri@jurta.org>
4921 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4922 by checking environment variables "DESKTOP_SESSION" and
4923 "XDG_CURRENT_DESKTOP". (Bug#9779)
4925 2011-10-19 Juri Linkov <juri@jurta.org>
4927 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4928 (browse-url-chromium-program, browse-url-chromium-arguments):
4930 (browse-url-default-browser): Check for `browse-url-chromium' and
4931 call `browse-url-chromium-program'.
4932 (browse-url-chromium): New command. (Bug#9779)
4934 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4936 * facemenu.el (list-colors-duplicates): On Windows, detect more
4937 duplicates by assuming that only colors matching "^System" are
4938 special "system colors". (Bug#9722)
4940 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4943 to distinguish the author from the committer.
4945 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4947 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4949 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4951 * international/mule.el (sgml-html-meta-auto-coding-function):
4952 Add support for detecting encoding in HTML5 specified only as
4953 <meta charset="UTF-8">. Implementation just makes http-equiv and
4954 content-type parts from HTML4 encoding string optional. (Bug#9716)
4956 2011-10-18 Glenn Morris <rgm@gnu.org>
4958 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4960 2011-10-18 Chong Yidong <cyd@gnu.org>
4962 * faces.el (cursor): Doc fix.
4964 2011-10-17 Chong Yidong <cyd@gnu.org>
4966 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4968 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4970 * dirtrack.el (dirtrack): Support shell buffers with path
4971 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4973 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4975 * json.el: Bump version to 1.3 and note change in History.
4976 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4978 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * comint.el (comint-insert-input, comint-send-input)
4981 (comint-get-old-input-default, comint-backward-matching-input)
4982 (comint-next-prompt): Use nil instead of `input' for field property of
4983 past user input (bug#114).
4985 * minibuffer.el (completion--replace): Inherit surrounding properties
4987 (minibuffer-complete-and-exit): Use it.
4989 * comint.el (comint--table-subvert): Quote the all-completions output
4992 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4994 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4996 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4997 window on right of selected. (Bug#9350) Reword other window
4998 entries and separate them from frame entries.
5000 2011-10-15 Glenn Morris <rgm@gnu.org>
5002 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5005 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5007 * net/network-stream.el (network-stream-open-starttls):
5008 Improve detection of failure due to lack of TLS support.
5010 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5011 putting the input text in front and in bold.
5013 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5015 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5017 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5020 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5021 unread-command-events rather than pushing yet-another event.
5023 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5025 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5026 the explanation of the possible choices. Make the options passed
5027 to completing-read shorter.
5029 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5031 * textmodes/flyspell.el (flyspell-large-region): Make sure
5032 extended character mode is used if defined (Bug#1339).
5034 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5036 * simple.el (what-cursor-position): Fix the display of the
5037 character info for LRE, LRO, RLE, and RLO characters by appending
5040 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5042 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5043 even in case of error; add debug spec; simplify data flow.
5044 (with-timeout-handler): Remove.
5046 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5048 Fix Bug#6019, Bug#9315.
5050 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5051 complete `buffer-file-name', the local file name part could look
5052 remotely (for example on VMS).
5054 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5055 `tramp-run-real-handler'.
5056 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5057 already quoted by '"'.
5059 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5060 Let `file-name-handler-alist' be nil, the local file name part
5061 could look remotely (for example on VMS).
5063 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5065 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5067 (flyspell-post-command-hook): ...to here.
5069 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5073 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5074 using completion. Protect against "slow" callers.
5075 Remove the "message hack".
5077 2011-10-11 Juri Linkov <juri@jurta.org>
5079 * isearch.el (isearch-lazy-highlight-word): New variable.
5080 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5083 2011-10-11 Glenn Morris <rgm@gnu.org>
5085 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5086 like f90-previous-statement does.
5088 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5090 * eshell/eshell.el (eshell-command): History should be saved
5091 only in interactive use, to avoid error.
5093 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * minibuffer.el (completion-file-name-table): Fix last change,
5096 i.e. ignore normal errors but not the other ones.
5098 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5100 * window.el (special-display-buffer-names)
5101 (special-display-regexps): Remove some remnants of earlier
5102 changes from doc-strings.
5103 (quit-windows-on): New function.
5105 * vc/vc.el (vc-revert, vc-rollback):
5106 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5107 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5108 (Bug#6183) (Bug#7074) (Bug#7447)
5110 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5112 * window.el (frame-auto-hide-function): Add version tag.
5115 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5117 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5120 2011-10-09 Leo Liu <sdl.web@gmail.com>
5122 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5125 2011-10-08 Glenn Morris <rgm@gnu.org>
5127 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5128 before the first code statement zero indent. (Bug#9690)
5130 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5132 * simple.el (count-words-region): Always count in the region.
5133 Report the number of lines and characters too.
5134 (count-words): New command, which counts in the buffer if the
5135 region is inactive, as count-words-region used to.
5136 (count-words--message): New function. Handle plurals.
5137 (count-lines-region): Make it an alias for count-words-region.
5139 * bindings.el (esc-map): Replace count-lines-region with
5142 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5144 * window.el (window--delete): Delete dedicated frame
5145 unconditionally when argument KILL is non-nil. (Bug#9699)
5146 (switch-to-buffer): Fix doc-string typo.
5148 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5150 * eshell/eshell.el (eshell-command): Avoid using hooks.
5152 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5154 * bindings.el ([M-left],[M-right]): Bind to left-word and
5155 right-word respectively.
5157 2011-10-07 Glenn Morris <rgm@gnu.org>
5159 * cus-start.el (debug-on-quit): Fix custom type.
5161 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5163 * subr.el (define-key-after): Clarify that the function is not
5164 useful for non-menu keymaps.
5166 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5168 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5170 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5171 in current minibuffer (Fix bug with recursive minibuffers).
5173 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5175 * progmodes/gdb-mi.el (gdb): Doc fix.
5177 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5179 * window.el (frame-auto-hide-function): New option replacing
5180 frame-auto-delete. Suggested by Stefan Monnier.
5181 (window--delete): Call frame-auto-hide-function instead of
5182 investigating frame-auto-delete.
5183 (window-point-1, set-window-point-1): New functions.
5184 (window-in-direction, record-window-buffer, window-state-get-1)
5185 (display-buffer-record-window): Use window-point-1 instead of
5187 (set-window-buffer-start-and-point): Use set-window-point-1.
5189 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5193 2011-10-05 Glenn Morris <rgm@gnu.org>
5195 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5196 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5198 2011-10-05 Leo Liu <sdl.web@gmail.com>
5200 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5201 works with buffer object.
5203 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5205 * mpc.el (mpc-tool-bar-map): Add labels.
5207 2011-10-04 Glenn Morris <rgm@gnu.org>
5209 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5211 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5213 * window.el (window--delete): New function.
5214 (frame-auto-delete): Resuscitate option.
5215 (bury-buffer, replace-buffer-in-windows)
5216 (quit-window): Rewrite using window--delete.
5217 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5218 Pass display-buffer-mark-dedicated to window--display-buffer-2
5221 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5223 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5224 returns a list (bug#9554). Add remote file name completion.
5225 * comint.el (comint--table-subvert): Curry and get quote&unquote
5226 functions as arguments.
5227 (comint--complete-file-name-data): Adjust call accordingly.
5228 * pcomplete.el (pcomplete--table-subvert): Remove.
5229 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5231 * minibuffer.el (completion-table-case-fold): Use currying.
5232 (completion--styles-type, completion--cycling-threshold-type):
5234 (completion-styles, completion-category-overrides)
5235 (completion-cycle-threshold): Use them.
5236 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5237 completion-table-case-fold.
5239 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5241 * minibuffer.el (completion-category-overrides): Fix type of styles
5242 and add more user friendly tags (bug#9660).
5244 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5247 (mule-input-method-string): New widget.
5248 (default-input-method, language-info-custom-alist): Use it.
5250 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * pcomplete.el: Require comint.
5253 (pcomplete--common-suffix): Remove.
5254 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5255 (pcomplete--table-subvert): Sync with comint--table-subvert.
5256 (pcomplete--entries): Use comint-completion-file-name-table.
5257 * comint.el (comint-unquote-filename): Simplify.
5258 (comint-completion-file-name-table): New function (bug#9616).
5259 (comint--complete-file-name-data): Use it.
5261 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5262 (pcmpl-gnu-tar-buffer): Remove.
5263 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5264 around. Make sure pcomplete-suffix-list is only changed temporarily.
5265 Don't look inside the tar's file if it's too large.
5267 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5269 * cus-edit.el (custom-mode-map):
5270 * epa.el (epa-key-list-mode-map):
5271 * man.el (Man-mode-map):
5272 * startup.el (splash-screen-keymap):
5273 * simple.el (special-mode-map): Use scroll-up-command and
5274 scroll-down-command.
5276 * progmodes/idlw-help.el (idlwave-help-mode-map):
5277 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5278 * net/newst-plainview.el (newsticker-mode-map):
5279 * emulation/ws-mode.el (wordstar-mode-map):
5280 * emulation/vi.el (vi-com-map):
5281 * calc/calc-graph.el (calc-graph-show-dumb):
5282 * term/sun.el (terminal-init-sun):
5283 * term/ns-win.el (global-map):
5284 * progmodes/grep.el (grep-mode-map):
5285 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5286 * mail/rmail.el (rmail-mode-map):
5287 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5289 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5290 custom-safe-themes as special.
5292 2011-10-01 Julien Danjou <julien@danjou.info>
5294 * notifications.el (notifications-notify): Fix docstring.
5296 2011-10-01 Per Starbäck <per@starback.se>
5298 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5300 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5302 * startup.el (command-line-1): Fix last fix by inserting
5303 initial-scratch-message into *scratch* before displaying it.
5304 (Bug#9605) and (Bug#9636)
5306 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5308 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5309 window is hscrolled, move by logical lines. (Bug#9607)
5310 (line-move-visual): Update the doc string to the above effect.
5312 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5314 * window.el (display-buffer-record-window): When WINDOW is the
5315 selected window use `point' instead of `window-point'. (Bug#9626)
5317 * startup.el (command-line-1): Use insert-before-markers when
5318 inserting initial-scratch-message. (Bug#9605)
5320 * help.el (help-window): Remove variable.
5322 2011-09-29 Glenn Morris <rgm@gnu.org>
5324 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5326 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5328 * descr-text.el (describe-char-categories): Accept category
5329 descriptions more than one line long.
5331 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * simple.el (delete-trailing-whitespace): Fix last change.
5335 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5336 Don't confuse "y => 3" as the beginning of a `y' operation.
5338 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5339 object has more than 4 slots (bug#9613).
5341 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5343 * subr.el (with-output-to-temp-buffer):
5344 * net/quickurl.el (quickurl, quickurl-browse-url):
5345 Fix typos in docstrings.
5347 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5349 * minibuffer.el (completion-styles)
5350 (completion-category-overrides): Cross reference each other in doc
5353 2011-09-27 Glenn Morris <rgm@gnu.org>
5355 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5356 to split-string. (Bug#9606)
5358 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5363 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5365 * emacs-lisp/package.el (list-packages): Fix echo area message.
5367 2011-09-27 Leo Liu <sdl.web@gmail.com>
5369 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5371 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5373 * net/dbus.el (dbus-unregister-object): Don't release services for
5374 registered signals. (Bug#9581)
5376 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5378 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5379 function that picks between cfengine 2 and 3 support
5380 automatically. Update docs accordingly.
5382 2011-09-22 Kenichi Handa <handa@m17n.org>
5384 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5386 (indian-itrans-v5-table-for-tamil): New variable.
5387 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5389 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5391 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5392 that's true if the current command involved collapsing of text.
5393 It's reset to false at the beginning of the next command.
5394 (allout-post-command-business): Move the cursor to the beginning
5395 of entry if the cursor is hidden and collapsing activity just
5398 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5400 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5401 tracking (Bug#9541).
5403 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5405 * net/newst-reader.el (newsticker-html-renderer)
5406 (newsticker-show-news): Automatically load html rendering package
5407 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5408 because w3m-fill-column is let-bound" and the error "Symbol's value
5409 as variable is void: w3m-fill-column".
5411 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5413 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5414 Release services only if they are defined. (Bug#9581)
5416 2011-09-23 Richard Stallman <rms@gnu.org>
5418 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5419 distinguish start of paragraph from start of its text.
5421 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5423 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5424 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5425 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5427 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5429 * international/mule-diag.el (mule-diag): Insert a newline after
5430 each fontset description.
5432 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * simple.el (delete-trailing-whitespace):
5435 Document last change; simplify.
5437 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5439 * simple.el (delete-trailing-whitespace): Also delete
5440 extra newlines at the end of the buffer.
5442 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5443 (picture-newline): Use forward-line so as to ignore fields.
5445 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * subr.el (with-wrapper-hook): Fix edebug spec.
5449 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5451 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5454 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5456 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5457 Fix nasty bug using wrong cached values.
5459 2011-09-23 Alan Mackenzie <acm@muc.de>
5461 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5463 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5465 * window.el (pop-to-buffer): Ensure right window is selected if we
5466 chose another frame.
5468 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5470 * simple.el (what-cursor-position): Use get-char-property-change
5471 and next-single-char-property-change, to be able to show display
5472 properties that come from overlays as well as text properties.
5474 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5476 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5478 * cmuscheme.el (run-scheme, switch-to-scheme):
5479 * cus-edit.el (customize-group, custom-buffer-create)
5483 * mail/sendmail.el (mail):
5484 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5486 2011-09-22 Richard Stallman <rms@gnu.org>
5488 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5489 move back only to line beg, don't move back over blank lines.
5491 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5493 * files.el (copy-directory): Set directory attributes only in case
5494 they could be retrieved from the source directory. (Bug#9565)
5496 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5498 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5499 (hs-find-block-beginning, hs-hide-level-recursive):
5500 Ignore strings as well as comments. (Bug#9502)
5502 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5504 * progmodes/sql.el (sql-comint-postgres):
5505 Convert port number to a string. (Bug#9566)
5507 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5509 * window.el (quit-window): Undedicate window when switching to
5510 previous buffer. Reported by Thierry Volpiatto
5511 <thierry.volpiatto@gmail.com>.
5512 (special-display-popup-frame): When popping up a new frame reset
5513 its previous buffers to nil. Simplify code.
5515 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5517 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5518 and process filter, as done also in `shell-command'.
5520 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5522 * window.el (set-window-buffer-start-and-point):
5523 Call set-window-start with NOFORCE argument t.
5524 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5525 (quit-window): Reword doc-string. Handle new format of
5526 quit-restore parameter. Don't delete window if it has a
5527 previous buffer we can show instead of the present one.
5528 (display-buffer-record-window): Rewrite using a new format for
5529 the quit-restore window parameter
5530 (special-display-popup-frame, display-buffer-same-window)
5531 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5532 (display-buffer-pop-up-window, display-buffer-use-some-window):
5533 Adapt symbol passed to display-buffer-record-window.
5534 * help.el (help-window-setup): Handle new format of quit-restore
5537 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5539 * faces.el (face-list): Fix docstring (bug#9564).
5541 * window.el (display-buffer--action-function-custom-type):
5542 Don't include internal functions in the Custom interface.
5544 2011-09-20 Juri Linkov <juri@jurta.org>
5546 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5547 (Info-forward-node, Info-backward-node, Info-next-preorder)
5548 (Info-last-preorder): Use it. (Bug#9528)
5550 2011-09-20 Juri Linkov <juri@jurta.org>
5552 * info.el (Info-last-preorder): Visit last menu item only when
5553 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5555 2011-09-20 Julien Danjou <julien@danjou.info>
5557 * password-cache.el (password-cache-remove): Remove entries even if the
5558 value is nil, so that password with a nil value (negative caching) is
5559 possible to invalidate.
5561 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5563 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5564 all whitespace around breakpoint. (Bug#9553)
5565 (f90-find-breakpoint): Only break at whitespace inside a comment.
5567 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * minibuffer.el (completion-file-name-table): Keep track of errors.
5570 (completion-table-with-predicate): Handle the case where pred1 is nil.
5571 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5573 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5576 (debugger-return-value): Signal an error if the debugging context does
5577 not await any return value.
5579 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5580 * image-mode.el (image-toggle-display-text)
5581 (image-toggle-display-image): Stay away from evil `intangible'.
5583 2011-09-19 Leo Liu <sdl.web@gmail.com>
5585 * replace.el (occur-revert-arguments): Make it permanent-local.
5586 (occur-mode): Don't call font-lock-defontify.
5588 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5590 * net/ldap.el (ldap-search-internal): Don't push empty search
5593 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5597 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5599 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5600 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5602 2011-09-18 Juri Linkov <juri@jurta.org>
5604 * buff-menu.el (Buffer-menu-mode-map):
5605 * dired.el (dired-mode-map):
5606 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5607 (lisp-interaction-mode-map):
5608 * emacs-lisp/package.el (package-menu-mode-map):
5609 * epa.el (epa-key-list-mode-map):
5610 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5611 (menu-bar-options-menu):
5612 * outline.el (outline-mode-menu-bar-map):
5613 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5614 * vc/vc-dir.el (vc-dir-menu-map):
5615 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5616 Capitalize non-function content words in menu item strings.
5618 * dired.el (dired-mode-map): Add menu item for
5619 `image-dired-dired-toggle-marked-thumbs'.
5621 2011-09-18 Juri Linkov <juri@jurta.org>
5623 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5624 to `isearch-case-fold-search' and restore its original value
5625 after the `isearch-mode' call.
5627 2011-09-18 Juri Linkov <juri@jurta.org>
5629 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5630 because `zgrep' returns 1 for successful matches (bug#9226).
5632 2011-09-18 Juri Linkov <juri@jurta.org>
5634 * info.el (Info-extract-menu-node-name): Check the second match
5635 for empty string (second test-case of bug#9528).
5636 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5637 intermediate nodes to the history (first test-case of bug#9528).
5639 2011-09-18 Juri Linkov <juri@jurta.org>
5641 * info.el (Info-mode-syntax-table): New variable.
5642 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5644 2011-09-18 Juri Linkov <juri@jurta.org>
5646 * info.el (Info-file-supports-index-cookies):
5647 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5648 outputs one more line for long file names (bug#4142).
5650 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5652 * newcomment.el (comment-normalize-vars): If prompting for
5653 comment-start, set comment-start-skip too (Bug#8424).
5655 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5657 * icomplete.el: Fix previous fix of Bug#5849.
5658 (icomplete-mode): Don't set completion-show-inline-help.
5659 (icomplete-minibuffer-setup): Set completion-show-inline-help
5660 locally during icompletion.
5662 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5664 * woman.el (woman2-process-escapes): Don't delete unrecognized
5667 * files.el (inhibit-first-line-modes-regexps): Add image files.
5668 (hack-local-variables-prop-line): Return nil for malformed
5669 prop-lines (Bug#9044).
5671 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5673 * net/tramp.el (top): Don't require 'shell.
5674 (tramp-methods): Fix docstring.
5675 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5676 Return complete remote file name. Handle "smb" case.
5677 Use `tramp-tmpdir', if defined for the respective method.
5678 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5680 * net/tramp-compat.el (top): Require 'shell.
5682 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5683 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5684 `tramp-current-host'.
5685 (tramp-get-remote-tmpdir): Remove.
5687 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5688 `tramp-tmpdir' entries.
5689 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5690 (tramp-smb-handle-file-attributes): Ignore errors.
5691 (tramp-smb-wait-for-output): Check also for process end.
5693 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5696 when sending QUIT (bug#9312).
5698 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5700 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5701 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5702 occur-mode-display-occurrence.
5703 (occur-edit-mode): Add usage message.
5704 (occur-cease-edit): New command.
5705 (occur-after-change-function): Use text properties to find the
5706 position of the prefix text.
5707 (occur-engine): Set stickiness of prefix text properties.
5709 2011-09-17 Glenn Morris <rgm@gnu.org>
5711 * progmodes/etags.el (complete-tag):
5712 Fix call to completion-in-region. (Bug#9526)
5714 2011-09-17 Juri Linkov <juri@jurta.org>
5716 * textmodes/ispell.el (ispell-word): Add to the error message
5717 the word, ispell program name and current dictionary (bug#9121).
5718 (ispell-tex-arg-end): Capitalize "error" in the error message.
5720 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5722 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5725 2011-09-17 Juri Linkov <juri@jurta.org>
5727 * window.el (window-safe-min-height, window-safe-min-width):
5728 Fix typos (followup to bug#9522).
5730 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5732 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5734 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5736 * simple.el (line-move): If goal-column is set, move by logical
5737 lines, not by display lines. (Bug#971)
5738 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5739 to reflect the above change.
5741 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * image.el (imagemagick-register-types): Use regexp-opt.
5745 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5747 * window.el (display-buffer-base-action): Rename from
5748 display-buffer-default-action. Make default value empty.
5749 (display-buffer-overriding-action): Convert to defvar.
5750 (display-buffer-fallback-action): New var.
5752 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5754 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5756 (package--add-to-archive-contents): If there is a duplicate entry
5757 with an older version, remove it.
5758 (package-menu-mark-delete, package-menu-mark-install)
5759 (package-menu-mark-unmark): Make unused args optional.
5760 (package-menu-mark-obsolete-for-deletion):
5761 Use package-menu-get-status instead of a regexp search.
5762 (package-menu-get-status): Use tabulated-list-entry.
5763 (package-menu-mark-upgrades): New command.
5764 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5765 (package-menu-execute): Do installation before deletion.
5766 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5767 instead of checking major-mode.
5768 (package-menu--find-upgrades): New function.
5770 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5773 passwords in the log buffer.
5774 (smtpmail-process-filter): Update the process marker so that the
5775 "broken by peer" status message is inserted in the right place.
5777 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5779 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5780 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5781 bibtex-completion-at-point-function.
5782 (bibtex-completion-at-point-function): Use them.
5784 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5786 * mpc.el (mpc-constraints-tag-lookup): New function.
5787 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5788 also to browser "album|playlist".
5790 2011-09-14 Juri Linkov <juri@jurta.org>
5792 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5793 (isearch-edit-string): Use length of `isearch-string' when
5794 `isearch-fail-pos' returns nil.
5795 (isearch-message): Remove duplicate code and call
5796 `isearch-fail-pos' with arg `t'.
5798 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5800 * replace.el (occur-mode-goto-occurrence): Don't force using other
5803 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5805 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5807 * window.el (display-buffer-window): Remove.
5808 (display-buffer-record-window): Use help-setup window parameter
5809 instead of variable display-buffer-window.
5810 (display-buffer-function, special-display-buffer-names)
5811 (special-display-function): Mention help-setup parameter instead
5812 of display-buffer-window in doc-string.
5813 * help.el (help-window-setup): New argument help-window.
5814 Use help-window-setup parameter instead of display-buffer-window.
5815 Reword some messages.
5816 (with-help-window): Pass window used for displaying the buffer
5817 to help-window-setup. Don't set display-buffer-window.
5819 2011-09-13 Glenn Morris <rgm@gnu.org>
5821 * emacs-lisp/debug.el (debugger-make-xrefs):
5822 Preserve point. (Bug#9462)
5824 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5826 * window.el (window-deletable-p): Use next-frame.
5828 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5830 * window.el (window-auto-delete): Remove.
5831 (window-deletable-p): Remove argument FORCE. Don't deal with
5832 dedication and previous buffers.
5833 (switch-to-prev-buffer): Don't delete window.
5834 (delete-windows-on): Delete a window's frame if and only if the
5835 window is dedicated.
5836 (replace-buffer-in-windows): Delete buffer's window or frame if
5837 and only if window is dedicated.
5838 (quit-window): Handle quit-restore as before last change.
5839 (bury-buffer): Delete window only if window-deletable-p returns t.
5841 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5843 * window.el (window-deletable-p): Never delete the last frame on a
5846 2011-09-13 Glenn Morris <rgm@gnu.org>
5848 * help.el (describe-key-briefly): Copy previous standard-output change.
5850 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5852 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5854 2011-09-13 Glenn Morris <rgm@gnu.org>
5856 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5857 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5859 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5861 * dired-aux.el (dired-mark-read-string): Don't return default
5862 value on empty input (Bug#9361).
5863 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5864 Omit initial minibuffer contents.
5865 (dired-do-chmod): Signal an error on empty input.
5866 (dired-mark-read-string): Don't return default on empty input.
5868 * files.el (file-modes-symbolic-to-number): Doc fix.
5870 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * international/mule-cmds.el (ucs-completions): Remove.
5873 (read-char-by-name): Use complete-with-action instead; add metadata.
5875 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5877 * window.el (display-buffer--action-function-custom-type)
5878 (display-buffer--action-custom-type): New vars.
5879 (display-buffer-alist, display-buffer-default-action)
5880 (display-buffer-overriding-action): Add defcustom types.
5882 * frame.el (delete-other-frames): Doc fix (Bug#276).
5884 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5886 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5888 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5890 Change modes that used same-window-* vars to use switch-to-buffer.
5892 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5893 Use switch-to-buffer.
5895 * cus-edit.el (customize-group, custom-buffer-create)
5896 (customize-browse, custom-buffer-create-other-window):
5897 Use switch-to-buffer or switch-to-buffer-other-window.
5899 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5900 (Info-prev, Info-up, Info-speedbar-goto-node)
5901 (info-display-manual): Use switch-to-buffer.
5902 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5904 * mail/sendmail.el (mail): Use switch-to-buffer.
5905 (mail-recover): Use switch-to-buffer-other-window.
5907 * cmuscheme.el (run-scheme, switch-to-scheme):
5910 * net/rlogin.el (rlogin):
5911 * net/telnet.el (telnet, rsh):
5912 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5914 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5916 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5918 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5920 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5921 so don't mention it (bug#9301).
5922 (dired-sort-toggle-or-edit): Clarify string further.
5924 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5925 match `x', `w32' and `ns', like the manual says (bug#9029).
5927 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5928 (process-kill-buffer-query-function): Mention the buffer name in
5931 * image-mode.el (image-next-line): The line parameter is mandatory
5934 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5935 which can be useful (bug#9301).
5937 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5939 * subr.el (match-string): Mention that the current buffer should
5940 be the same as the search was done in (bug#9282).
5942 * facemenu.el: Disable the remove-* commands if the mark isn't
5945 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5947 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5949 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5951 * replace.el (occur-mode-goto-occurrence)
5952 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5955 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5958 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5959 special-display and same-window variables.
5960 (mail-other-window): Use switch-to-buffer-other-window.
5961 (mail-other-frame): USe switch-to-buffer-other-frame.
5963 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5964 Use display-buffer-other-frame.
5965 (gdb-display-gdb-buffer): Use pop-to-buffer.
5967 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5969 * progmodes/python.el: Don't set same-window-buffer-names.
5971 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5973 * window.el (display-buffer-alist): Add *Python*.
5975 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5977 * window.el (display-buffer-alist): Add entry for buffers
5978 previously handled same-window-*.
5979 (display-buffer-alist, display-buffer-default-action)
5980 (display-buffer-overriding-action): Mark as risky.
5981 (display-buffer-alist): Document action function changes.
5982 (display-buffer--same-window-action)
5983 (display-buffer--other-frame-action): New variables.
5984 (switch-to-buffer, display-buffer-other-frame): Use them.
5985 (display-buffer): Rename reuse-frame entry to reusable-frames.
5986 (display-buffer-reuse-selected-window): Function deleted.
5987 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5988 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5989 (display-buffer-special): New function.
5990 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5991 display-buffer-reuse-or-pop-window. Split off special-display
5992 part into display-buffer-special.
5993 (display-buffer-use-some-window): Don't perform any special
5994 pop-up-frames handling.
5995 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5996 (display-buffer--maybe-same-window): Rename from
5997 display-buffer-maybe-same-window.
5999 * info.el: Don't set same-window-regexps.
6000 (info-setup): New function.
6001 (info-other-window, info): Call it.
6003 * cus-edit.el: Don't set same-window-regexps.
6004 (customize-group): New argument.
6005 (customize-group-other-window): Use it.
6006 (customize-face, customize-face-other-window): Likewise.
6007 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6011 * progmodes/gud.el: Don't set same-window-regexps.
6017 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6019 2011-09-10 Juri Linkov <juri@jurta.org>
6021 * isearch.el (isearch-edit-string): Remove obsolete mention of
6022 `C-w' (`isearch-yank-word-or-char') from docstring.
6023 (isearch-query-replace): Fix typo in docstring (bug#9466).
6025 2011-09-10 Juri Linkov <juri@jurta.org>
6027 * paren.el (show-paren-function): Don't show escaped parens.
6028 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6030 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6032 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6033 (mm-default-file-encoding): Remove autoload forms, they are
6034 replaced with autoload cookies in mml.el and mm-encode.el.
6035 (mail-add-attachment): New command.
6036 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6037 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6039 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6041 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6043 * simple.el (count-words-region): Use buffer if there's no region
6046 2011-09-09 Juri Linkov <juri@jurta.org>
6048 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6049 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6050 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6052 2011-09-09 Alan Mackenzie <acm@muc.de>
6054 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6055 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6057 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6059 Fix for Savannah bug#9392.
6060 * simple.el (mail-encode-mml): New defvar.
6062 * mail/rmail.el (mail-encode-mml): Add a defvar.
6063 (rmail-enable-mime-composing): Default to t.
6064 (rmail-forward): Use MIME method of forwarding only if both
6065 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6066 Set mail-encode-mml non-nil if the MIME method was used.
6068 * mail/sendmail.el (mml-to-mime): Add autoload form.
6069 (mail-encode-mml): Add a defvar.
6070 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6072 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6073 message through mml-to-mime, and reset mail-encode-mml to nil.
6075 2011-09-09 Glenn Morris <rgm@gnu.org>
6077 * woman.el (woman-if-body): When processing an .el block,
6078 do not delete the next .el block as well. (Bug#9447)
6079 (woman-special-characters): Add oq, cq, and hy characters.
6081 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6083 * window.el (window-deletable-p): Make sure window is live before
6084 invoking window-prev-buffers.
6086 2011-09-08 Leo Liu <sdl.web@gmail.com>
6088 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6090 2011-09-08 Juri Linkov <juri@jurta.org>
6092 * progmodes/compile.el (compilation-environment): Make it
6093 a defcustom (bug#8340).
6095 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6097 * window.el (frame-auto-delete): Rename to window-auto-delete.
6098 Make it control auto-deletion of windows and/or frames.
6099 (window-deletable-p): New argument FORCE. Rewrite conditions
6100 for deleting window/frame. (Bug#9419)
6101 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6102 Rewrite handling of case when window/frame can be deleted.
6103 (delete-windows-on): Call window-deletable-p with new FORCE
6104 argument t. (Bug#9456)
6106 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6108 * help-mode.el (help-mode): Restore autoload.
6110 2011-09-07 Juri Linkov <juri@jurta.org>
6112 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6113 `compilation-environment'. Set buffer-local
6114 `compilation-environment' to `thisenv' later after (funcall mode).
6117 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6118 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6119 instead of replacing its value. (Bug#8340)
6121 2011-09-07 Juri Linkov <juri@jurta.org>
6123 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6124 based on text properties put by `grep-filter' instead of matching
6126 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6127 to the value of `grep-error-screen-columns' (bug#9438).
6129 2011-09-07 Juri Linkov <juri@jurta.org>
6131 * simple.el (next-error-highlight, next-error-highlight-no-select):
6134 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6136 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6137 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6139 2011-09-07 Leo Liu <sdl.web@gmail.com>
6141 * net/rcirc.el (rcirc-mode): Conditionally initialize
6144 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6146 * emacs-lisp/find-func.el (find-function-C-source): Only set
6147 find-function-C-source-directory after checking that we found a source
6148 file there (bug#9440).
6150 2011-09-06 Alan Mackenzie <acm@muc.de>
6152 * isearch.el (isearch-other-meta-char): Wherever a key list is
6153 unread, "unread" the prefix arg, too. This fixes bug #8901.
6155 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6157 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6159 2011-09-05 Juri Linkov <juri@jurta.org>
6161 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6163 2011-09-05 Juri Linkov <juri@jurta.org>
6165 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6166 keeping point where processing of grep matches begins, and
6167 continue to delete remaining escape sequences from the same point.
6168 (grep-filter): Make leading zero optional in "0?1;31m" because
6169 git-grep emits "\033[1;31m" escape sequences unlike expected
6170 "\033[01;31m" as GNU Grep does (bug#9408).
6171 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6173 2011-09-05 Juri Linkov <juri@jurta.org>
6175 * subr.el (y-or-n-p): Capitalize "yes".
6177 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6179 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6180 `tramp-cache-unload-hook' where appropriate.
6181 (tramp-methods): Rename `tramp-remote-sh' to
6182 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6183 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6185 * net/tramp-sh.el (top): Don't require 'shell.
6186 (tramp-methods): Add `tramp-remote-shell' and
6187 `tramp-remote-shell-args' entries.
6188 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6189 (tramp-sh-handle-shell-command): Remove.
6190 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6191 Use `tramp-remote-shell'.
6193 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6195 * mail/sendmail.el (sendmail-query-once-function): Delete.
6196 (sendmail-query-once): Save directly to send-mail-function.
6197 Update message-send-mail-function too.
6199 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6201 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6203 * progmodes/python.el (python-mode-map): Use correct function to
6204 start python interpreter from menu-bar (as reported by Geert
6206 (inferior-python-mode-map): Fix typo.
6207 (python-shell-map): Remove.
6209 2011-09-03 Deniz Dogan <deniz@dogan.se>
6211 * net/rcirc.el (rcirc-print): Simplify code for
6212 rcirc-scroll-show-maximum-output. There is no need to walk
6213 through all windows to find the right one.
6215 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6217 * help.el (help-return-method): Doc fix.
6219 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6221 * window.el (window-deletable-p): Don't return a non-nil value
6222 when there's a buffer that was shown in the window before.
6224 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6225 Set window's previous buffers to nil.
6227 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6229 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6230 newline before and after the tag line, so it doesn't interfere
6231 with determining the paragraph direction of bidirectional text.
6233 2011-09-03 Leo Liu <sdl.web@gmail.com>
6235 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6237 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6239 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6240 (pop-to-buffer): Change interactive spec. Pass second argument
6241 directly to display-buffer.
6242 (display-buffer): Fix interactive spec. Use functionp to
6243 distinguish between a function and a list of functions.
6245 * abbrev.el (edit-abbrevs):
6246 * arc-mode.el (archive-extract):
6247 * autoinsert.el (auto-insert):
6248 * bookmark.el (bookmark-bmenu-list):
6249 * files.el (find-file):
6250 * view.el (view-buffer):
6251 * progmodes/compile.el (compilation-goto-locus):
6252 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6254 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6256 * window.el (display-buffer-alist): Doc fix.
6257 (display-buffer): Add docstring. Don't treat
6258 display-buffer-default specially.
6259 (display-buffer-reuse-selected-window)
6260 (display-buffer-same-window, display-buffer-maybe-same-window)
6261 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6262 (display-buffer-pop-up-window)
6263 (display-buffer-reuse-or-pop-window)
6264 (display-buffer-use-some-window): New functions.
6265 (display-buffer-default-action): Use them.
6266 (display-buffer-default): Delete.
6267 (pop-to-buffer-1): Fix choice of actions.
6269 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6271 * minibuffer.el (completion--insert-strings): Don't get confused by
6272 completion entries that end with an LF char.
6274 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6276 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6278 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6280 * window.el (display-buffer): Restore interactive spec.
6281 (display-buffer-same-window, display-buffer-other-window):
6283 (pop-to-buffer-1): New function. Use the above.
6284 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6285 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6287 * view.el (view-buffer-other-window, view-buffer-other-frame):
6288 Just use pop-to-buffer.
6290 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6292 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6294 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6296 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6298 2011-08-31 Richard Stallman <rms@gnu.org>
6300 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6301 of the separation of rmail-view-buffer from rmail-buffer.
6302 If you say no to "replace original", the decrypt is in the
6303 view buffer. If you say yes, the decrypt goes into the
6306 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6308 * window.el (display-buffer-window): Rewrite doc-string.
6309 (display-buffer-record-window): New function.
6310 (display-buffer-macro-specifiers)
6311 (display-buffer-even-window-sizes, display-buffer-set-height)
6312 (display-buffer-set-width, display-buffer-in-window)
6313 (display-buffer-reuse-window, display-buffer-split-specifiers)
6314 (display-buffer-side-specifiers, display-buffer-split-window-1)
6315 (display-buffer-split-window, display-buffer-split-atom-window)
6316 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6317 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6318 (display-buffer-other-window-means-other-frame)
6319 (display-buffer-normalize-special)
6320 (display-buffer-normalize-default)
6321 (display-buffer-normalize-argument)
6322 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6323 (display-buffer-normalize-specifiers, display-buffer-frame)
6324 (display-buffer-same-window, display-buffer-same-frame)
6325 (display-buffer-other-window)
6326 (display-buffer-same-frame-other-window)
6327 (display-buffer-other-frame, pop-to-buffer-same-window)
6328 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6329 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6330 (switch-to-buffer-same-frame)
6331 (switch-to-buffer-other-window-same-frame)
6332 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6333 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6334 (display-buffer-alist-set): Remove.
6335 (display-buffer-function, special-display-buffer-names)
6336 (special-display-regexps, special-display-function):
6337 In doc-string refer to display-buffer-window and quit-restore
6339 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6340 (special-display-frame-alist, special-display-popup-frame)
6341 (same-window-buffer-names, same-window-regexps, same-window-p)
6342 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6343 (split-window-preferred-function, split-height-threshold)
6344 (split-width-threshold, window-splittable-p)
6345 (split-window-sensibly, window--try-to-split-window)
6346 (window--frame-usable-p, even-window-heights)
6347 (window--even-window-heights, window--display-buffer-1)
6348 (window--display-buffer-2, display-buffer-other-frame):
6349 Restore old Emacs 23 code, order and doc-strings where applicable.
6350 (display-buffer-default, display-buffer-assq-regexp): New functions.
6351 (display-buffer-alist): Rewrite doc-string.
6352 (display-buffer-default-action)
6353 (display-buffer-overriding-action): New variables.
6354 (display-buffer, switch-to-buffer): Rewrite.
6355 (pop-to-buffer): Restore Emacs 23 behavior but use
6356 window-normalize-buffer-to-display.
6357 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6358 Restore Emacs 23 behavior but use
6359 window-normalize-buffer-to-switch-to.
6360 (pop-to-buffer-same-window): Rewrite.
6361 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6362 Rewrite using Emacs 23 options.
6364 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6366 * net/tramp.el (tramp-root-regexp): Remove.
6367 (tramp-completion-file-name-regexp-unified)
6368 (tramp-completion-file-name-regexp-separate)
6369 (tramp-completion-file-name-regexp-url): Don't use leading volume
6370 letter on win32 systems. (Bug#5303, Bug#9311)
6371 (tramp-drop-volume-letter): Simplify definition.
6372 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6374 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6379 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6381 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6383 2011-08-29 Juri Linkov <juri@jurta.org>
6385 * isearch.el (isearch-done): Don't display message "Mark saved"
6386 when arg `edit' is non-nil to prevent its flicker in the echo area.
6388 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6390 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6391 obsolete packages for deletion.
6393 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6395 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6396 (help-mode): Derive help-mode from special-mode. Don't invoke
6397 view-mode from help-mode.
6398 (help-xref-override-view-map): Remove.
6399 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6400 view-mode is not used anymore.
6402 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6404 * server.el (server-port): Doc fix.
6406 * cus-theme.el (custom-theme-choose-mode): Inherit from
6407 special-mode (Bug#9124).
6408 (custom-theme-choose-mode-map): Add special-mode to parent.
6410 2011-08-28 Alan Mackenzie <acm@muc.de>
6412 * progmodes/cc-fonts.el
6413 (c-make-font-lock-BO-decl-search-function): New function.
6414 (c-basic-matchers-after - "Fontify the clauses after various
6415 keywords"): Extract the three keyword lists for the 3 erroneous
6416 constructs from the list of four, and use the new function above
6417 in place of an old one.
6419 2011-08-28 Deniz Dogan <deniz@dogan.se>
6421 * net/rcirc.el (rcirc-insert-prev-input)
6422 (rcirc-insert-next-input): Remove unused argument.
6424 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6428 2011-08-27 Alan Mackenzie <acm@muc.de>
6430 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6431 handle function pointer parameters properly.
6433 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6435 * window.el (display-buffer-reuse-window): Fix case where
6436 selected window was reused with non-nil OTHER-WINDOW argument.
6439 2011-08-27 Deniz Dogan <deniz@dogan.se>
6441 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6442 oftc's NickServ messages.
6444 2011-08-27 Glenn Morris <rgm@gnu.org>
6446 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6448 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6450 * emacs-lisp/package.el (package-install): Call package-initialize
6451 if called interactively.
6453 2011-08-26 Leo Liu <sdl.web@gmail.com>
6455 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6457 2011-08-25 Juri Linkov <juri@jurta.org>
6459 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6460 `search-whitespace-regexp' (bug#9364).
6462 2011-08-25 Juri Linkov <juri@jurta.org>
6464 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6465 `regexp-search-ring' to their global values to protect from
6466 updating by `read-from-minibuffer' (bug#9185).
6468 2011-08-25 Juri Linkov <juri@jurta.org>
6470 * textmodes/ispell.el (ispell-command-loop): Add newline
6471 at the end of the "Use option `i'..." line.
6473 2011-08-25 Juri Linkov <juri@jurta.org>
6475 * battery.el (display-battery-mode): If `battery-status-function'
6476 or `battery-mode-line-format' is nil, display the message and set
6477 `display-battery-mode' to nil (bug#9363).
6479 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6481 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6482 bidi-string-mark-left-to-right; they are unnecessary now.
6484 2011-08-25 Deniz Dogan <deniz@dogan.se>
6486 * net/quickurl.el: Documentation typo fixes.
6488 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6490 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6492 2011-08-25 Glenn Morris <rgm@gnu.org>
6494 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6496 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6497 (smtpmail-via-smtp): Handle nil response from smtp.
6499 2011-08-24 Juri Linkov <juri@jurta.org>
6501 * proced.el (proced-marked): Inherit from `error' instead of
6502 `font-lock-warning-face'.
6504 * ibuffer.el (ibuffer-marked-face): Change default face from
6505 `font-lock-warning-face' to `warning'.
6506 (ibuffer-deletion-face): Change default face from
6507 `font-lock-type-face' to `error'.
6509 * battery.el (battery-update): Use the face `error' instead of
6510 `font-lock-warning-face' (bug#6117).
6512 2011-08-24 Juri Linkov <juri@jurta.org>
6514 * faces.el (success): Change face color from "Green3" to
6515 "ForestGreen" on light background (bug#9353).
6517 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6519 * window.el (quit-window): Rename from quit-restore-window.
6520 Use same arglist as old quit-window.
6521 (frame-auto-delete): Doc fix.
6523 * view.el (view-mode-exit): Use quit-window.
6525 2011-08-24 Juri Linkov <juri@jurta.org>
6527 * isearch.el (isearch-ring-adjust1): Start visiting previous
6528 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6529 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6530 for empty search string (when the last search string is reused
6531 automatically) to adjust the isearch ring to the last element and
6532 prepare the correct index for further M-p commands (bug#9185).
6534 2011-08-24 Kenichi Handa <handa@m17n.org>
6536 * international/ucs-normalize.el: If decomposition property of
6537 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6539 (nfd, nfkd): Likewise.
6541 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6544 from process filters aren't reliably transmitted to the surrounding
6545 accept-process-output.
6546 (mpc-proc-check): New function.
6547 (mpc-proc-sync): Use it (bug#8293)
6549 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6552 Add compatibility functions (bug#9313).
6554 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6556 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6558 * international/uni-bidi.el: Regenerate.
6560 2011-08-23 Kenichi Handa <handa@m17n.org>
6562 * international/charprop.el:
6563 * international/uni-bidi.el:
6564 * international/uni-category.el:
6565 * international/uni-combining.el:
6566 * international/uni-comment.el:
6567 * international/uni-decimal.el:
6568 * international/uni-decomposition.el:
6569 * international/uni-digit.el:
6570 * international/uni-lowercase.el:
6571 * international/uni-mirrored.el:
6572 * international/uni-name.el:
6573 * international/uni-numeric.el:
6574 * international/uni-old-name.el:
6575 * international/uni-titlecase.el:
6576 * international/uni-uppercase.el: Regenerate.
6578 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6580 * help.el (help-window-setup): Fix message displayed when other
6581 window is reused. (Bug#9341)
6583 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6586 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6588 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6590 * shell.el (shell-parse-pcomplete-arguments): New function.
6591 (shell-completion-vars): Use it instead (bug#9160).
6593 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6596 strings and comments (bug#9333).
6598 * emacs-lisp/debug.el (debug-arglist): New function.
6599 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6600 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6602 2011-08-22 Juri Linkov <juri@jurta.org>
6604 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6605 Revert regexp that highlights output switches to its old
6606 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6608 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6609 to check for empty output (bug#9226).
6611 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6613 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6614 symbol-constituent as the default, as that stops font-lock from
6615 working properly (Bug#8843).
6617 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6620 `coding-system-for-*' around the process open call to avoid
6621 auth-source side effects.
6622 (smtpmail-try-auth-methods): Expand the secret password.
6623 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6626 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6628 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6630 * emacs-lisp/find-func.el (find-function-noselect): New arg
6633 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6634 signal an error for built-in functions (Bug#6664).
6636 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6638 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6639 (smtpmail-try-auth-methods): Use it.
6641 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6643 * font-lock.el (font-lock-fontify-region)
6644 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6645 (font-lock-default-unfontify-buffer)
6646 (font-lock-default-fontify-region)
6647 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6649 * progmodes/compile.el (compilation-error-properties):
6650 Fix confusion between file struct and message struct (Bug#9319).
6651 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6654 * net/browse-url.el (browse-url-firefox): Don't call
6655 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6657 2011-08-20 Glenn Morris <rgm@gnu.org>
6659 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6661 * tutorial.el (tutorial--default-keys): Update some default bindings.
6663 * files.el (hack-local-variables): Fully ignore case for "mode:".
6665 2011-08-20 Alan Mackenzie <acm@muc.de>
6667 Resolve invalid use of a regexp in regexp-opt.
6669 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6670 detection for a java annotation.
6672 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6673 detection for a java annotation.
6675 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6677 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6679 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6681 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6684 2011-08-20 Alan Mackenzie <acm@muc.de>
6686 Fontify CPP expressions correctly when starting in the middle of
6687 such a construct. Mainly for when jit-lock etc. starts a chunk
6690 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6692 (c-make-font-lock-search-form): New function, extracted from
6693 c-make-font-lock-search-function.
6694 (c-make-font-lock-search-function): Use the above function.
6695 (c-make-font-lock-context-search-function): New function.
6696 (c-cpp-matchers): Enhance the preprocessor expression case with
6698 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6699 which takes an expression.
6701 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6703 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6705 * window.el (display-buffer-reuse-window)
6706 (display-buffer-pop-up-window): Don't reuse or split a side
6709 2011-08-19 Glenn Morris <rgm@gnu.org>
6711 * files.el (hack-local-variables-prop-line, hack-local-variables):
6712 Downcase "Mode:". (Bug#9331)
6714 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6716 * international/characters.el: Add L and R categories.
6718 * subr.el (bidi-string-mark-left-to-right): Rename from
6719 string-mark-left-to-right. Use category search.
6721 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6723 2011-08-18 Juri Linkov <juri@jurta.org>
6725 * faces.el (error, warning, success): New faces with definitions
6726 copied from old default values of `font-lock-warning-face',
6727 `compilation-warning', `compilation-info' (bug#6117).
6729 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6731 * progmodes/compile.el (compilation-error): Inherit from `error'.
6732 (compilation-warning): Inherit from `warning'.
6733 (compilation-info): Inherit from `success'.
6735 * dired.el (dired-marked): Inherit from `warning'.
6736 (dired-flagged): Inherit from `error'.
6738 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6740 * mail/smtpmail.el (auth-source): Require to avoid problems with
6741 binding variables (bug#9298). Also clean up some unused
6744 * net/network-stream.el (network-stream-open-starttls):
6745 Support using starttls.el without using gnutls-cli.
6747 2011-08-17 Juri Linkov <juri@jurta.org>
6749 * progmodes/grep.el (rgrep): Handle the case when
6750 `grep-find-command' is a cons cell (bug#9278).
6752 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6754 * window.el (display-buffer-pop-up-frame): Run frame creation
6755 function with BUFFER current (as special-display-popup-frame
6756 does). Reported by Drew Adams.
6758 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6760 * epa-mail.el: Simplify GnuPG group expansion using
6762 (epa-mail-group-alist, epa-mail-group-modtime)
6763 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6764 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6765 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6768 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6770 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6772 2011-08-16 Alan Mackenzie <acm@muc.de>
6774 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6775 Correct, to avoid the inside of macros.
6777 2011-08-16 Richard Stallman <rms@gnu.org>
6779 * epa-mail.el: Handle GnuPG group definitions.
6780 (epa-mail-group-alist, epa-mail-group-modtime)
6781 (epa-mail-gnupg-conf-file): New variables.
6782 (epa-mail-parse-groups, epa-mail-sync-groups)
6783 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6784 (epa-mail-expand-recipients): New functions.
6785 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6787 * mail/rmail.el (rmail-epa-decrypt): New command.
6789 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6790 Don't bind buffer-read-only, just inhibit-read-only.
6791 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6792 (epa-decrypt-armor-in-region): Make error message clearer.
6794 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6797 and "a2b" to "ab" for `prefix'.
6799 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6801 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6803 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6804 Fourquet (Bug#8804).
6806 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6808 * startup.el (argi): Declare as global variable (bug#9275).
6810 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6812 * subr.el (string-mark-left-to-right): Search the entire string
6813 for RTL script, not just the terminating character. Doc fix.
6815 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6817 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6819 (js--regexp-literal, js-syntax-propertize-function): Remove.
6820 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6821 (js-mode-map): Don't rebind electric keys.
6822 (js-insert-and-indent): Remove.
6823 (js-mode): Setup electric-layout and electric-indent instead.
6825 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6827 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6829 * epa.el (epa-progress-callback-function): Fix the logic of
6830 displaying progress.
6831 * epa-file.el (epa-file-insert-file-contents): Make progress
6832 display more user-friendly.
6833 (epa-file-write-region): Ditto.
6835 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6837 * subr.el (string-mark-left-to-right): New function.
6839 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6840 Use string-mark-left-to-right.
6841 (list-buffers-noselect): Caller changed.
6843 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6844 Use string-mark-left-to-right.
6845 (tabulated-list-print): Recenter after moving point.
6847 2011-08-10 Juri Linkov <juri@jurta.org>
6849 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6850 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6851 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6853 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6855 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6858 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6860 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6861 character. (Bug#6594)
6863 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6865 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6866 (image-dired--with-db-file): New macro.
6867 (image-dired-write-tags, image-dired-remove-tag)
6868 (image-dired-create-gallery-lists, image-dired-write-comments)
6869 (image-dired-get-comment, image-dired-mark-tagged-files)
6870 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6871 (image-dired-gallery-generate): Use insert-file-contents.
6873 * time.el (display-time-world-list, display-time-world-display):
6874 * time-stamp.el (time-stamp-string):
6875 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6876 set-time-zone-rule (Bug#7337).
6878 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6880 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6881 (epg-error-to-string, epg-errors-to-string): New function.
6882 (epg-wait-for-completion): Reverse errors list.
6883 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6884 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6885 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6886 (epg-sign-keys, epg-generate-key-from-file)
6887 (epg-generate-key-from-string): Format errors by using
6888 epg-errors-to-string (bug#9255).
6889 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6891 2011-08-07 Juri Linkov <juri@jurta.org>
6893 * faces.el (list-faces-display): Remove extra angle bracket
6894 from `help-mode-map'.
6896 * info.el (Info-history-toc-nodes): Doc fix.
6898 * longlines.el (longlines-mode): Doc fix.
6900 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6902 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6903 of statements and in a few more cases (bug#9183).
6905 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6907 (cl-transform-lambda): Use them (bug#9239).
6909 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6911 * window.el (display-buffer-same-window)
6912 (display-buffer-same-frame, display-buffer-other-window)
6913 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6914 (pop-to-buffer-other-window)
6915 (pop-to-buffer-same-frame-other-window)
6916 (pop-to-buffer-other-frame): Make them defuns.
6917 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6919 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * subr.el (make-composed-keymap): Move from C. Change calling
6922 convention, and improve docstring to bring attention to a subtle point.
6923 * minibuffer.el (completing-read-default): Adjust accordingly.
6925 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6927 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6928 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6930 * net/trampver.el: Update release number.
6932 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6934 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6937 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939 * mail/sendmail.el (sendmail-query-once): Restore the current
6940 buffer after querying (bug#9074).
6942 * dired.el (dired-flagged): Use different faces for marked and
6943 flagged files (bug#6117).
6945 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6948 * ido.el (ido-mode): Switch off the message if called
6951 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6952 before 587, since it appears that that's more likely to work for
6955 * cus-edit.el (custom-file): When running under emacs -q, always
6956 refuse to save the customizations, even if the .emacs file doesn't
6959 * info.el: Remove the `Info-beginning-of-buffer' function
6962 * net/network-stream.el (network-stream-open-starttls):
6963 Use `starttls-available-p' to see whether starttls.el can be used.
6965 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6967 * window.el (display-buffer-in-window): Don't set dedicated status
6968 of window here (Bug#9215).
6969 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6970 (display-buffer-pop-up-side-window)
6971 (display-buffer-in-side-window): Set dedicated status of window here.
6973 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6976 before binding generated-autoload-file.
6978 2011-08-01 Deniz Dogan <deniz@dogan.se>
6980 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6982 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6984 Sync with Tramp 2.2.2.
6986 * net/trampver.el: Update release number.
6988 2011-07-30 Juri Linkov <juri@jurta.org>
6990 * dired-aux.el (dired-touch-initial): Remove function.
6991 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6992 current time, and `default' to the last modification time of the
6993 current marked file (bug#6887).
6995 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6997 * simple.el (goto-line): Use string-to-number to provide a
6998 numeric argument to read-number (bug#9163).
7000 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7002 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7003 connection process, it could be nil.
7005 2011-07-27 Leo Liu <sdl.web@gmail.com>
7007 Simplify url handling in rcirc-mode.
7009 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7010 (rcirc-browse-url-at-mouse): Remove.
7011 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7013 2011-07-26 Alan Mackenzie <acm@muc.de>
7015 Fontify bitfield declarations properly.
7017 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7018 (c-symbol-chars): Now exported as a lang variable.
7019 (c-not-primitive-type-keywords): New lang variable.
7021 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7022 QT keyword "more" to prevent "more slots: ...." being spuriously
7023 parsed as a bitfield declaration.
7025 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7026 Refactor and enhance to handle bitfield declarations.
7027 (c-punctuation-in): New function.
7028 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7029 declarations properly.
7031 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7033 * calendar/icalendar.el (icalendar--all-events): Take care of
7034 multiple vcalendars in a single file.
7035 (icalendar--convert-float-to-ical): Checkdoc fixes.
7037 2011-07-25 Deniz Dogan <deniz@dogan.se>
7039 * image.el (insert-image): Clarifying docstring.
7041 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7043 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7044 `tramp-send-command-and-check' if there is no error.
7045 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7047 2011-07-22 Alan Mackenzie <acm@muc.de>
7049 Prevent cc-langs.elc being loaded at run time.
7051 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7054 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7055 "(require 'cc-langs)". Quote a form so it will evaluate at
7056 (cc-mode's) compilation time.
7058 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7060 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7063 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7065 * window.el (display-buffer-pop-up-window)
7066 (display-buffer-pop-up-side-window)
7067 (display-buffer-in-side-window): Call display-buffer-set-height
7068 and display-buffer-set-width after setting the new window's
7069 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7071 2011-07-20 Sam Steingold <sds@gnu.org>
7073 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7074 (etags-tags-included-tables): Call `convert-standard-filename' on
7075 the file names contained in TAGS so that windows Emacs can handle
7076 TAGS files created by cygwin ctags.
7078 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7081 which apparently didn't work.
7083 2011-07-19 Roland Winkler <winkler@gnu.org>
7085 * proced.el (proced-send-signal): For *Marked Processes* buffer
7086 put point at beginning of buffer.
7088 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7090 * proced.el (proced-format): Make header lines align with the text
7093 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7095 * view.el (view-buffer): Allow running in `special' modes if we're
7096 visiting a file (bug#8615).
7098 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7100 * window.el (display-buffer-alist-of-strings-p)
7101 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7103 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7106 2011-07-18 Alan Mackenzie <acm@muc.de>
7108 Fontify declarators properly when, e.g., a jit-lock chunk begins
7109 inside a declaration.
7111 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7113 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7115 (c-complex-decl-matchers): Insert reference to
7116 c-font-lock-enclosing-decls.
7118 * progmodes/cc-engine.el (c-backward-single-comment):
7119 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7120 to nil around calls to (forward-comment -1).
7122 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124 * image.el (put-image): Doc typo fix.
7126 * progmodes/etags.el (tags-search): Doc typo fix.
7128 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7129 password if we get errors 550 to 554.
7131 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7133 * net/gnutls.el (gnutls-log-level): Remove.
7135 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7136 indentation character (bug#6380).
7138 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7140 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7141 to clarify what the problem is (bug#4291).
7143 * simple.el (current-kill): Clarify what
7144 `interprogram-paste-function' does (bug#7500).
7145 (auto-fill-mode): Document `auto-fill-function' in relation to
7146 `auto-fill-mode' (bug#2470).
7148 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7150 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7151 method if slot is read-only (bug#9035).
7153 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7155 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7156 * window.el (pop-to-buffer): Select window used even if it was
7157 selected before, see discussion of (Bug#8615), (Bug#6954).
7158 Pass argument NORECORD on to select-frame-set-input-focus.
7160 2011-07-15 Glenn Morris <rgm@gnu.org>
7162 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7165 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7167 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7168 (gnutls-negotiate): Use it.
7170 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172 * net/gnutls.el (gnutls-negotiate):
7173 Upcase `gnutls-algorithm-priority'.
7175 2011-07-15 Glenn Morris <rgm@gnu.org>
7177 * jka-compr.el (jka-compr-verbose): Move from here...
7178 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7179 Add missing :version tag.
7180 * info.el: No need to require jka-compr when compiling.
7182 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7184 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7185 (gnutls-negotiate): Use it.
7187 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7189 * info.el (Info-beginning-of-buffer): New command.
7190 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7191 announcing `b' as the key (bug#8325).
7192 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7194 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7196 * international/mule-cmds.el
7197 (describe-specified-language-support): Make the error message
7200 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7202 * isearch.el (isearch-barrier): Add a doc string, since it's
7203 mentioned in a function doc string (bug#8678).
7205 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7207 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7208 buffer argument (Bug#9083) and self-identifying label argument.
7210 2011-07-15 Glenn Morris <rgm@gnu.org>
7212 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7214 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7216 * man.el (Man-fontify-manpage): Fix message when formatting the
7217 man page (bug#7929).
7219 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7221 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7222 argument LRM; if non-nil, append an invisible LRM character to the
7224 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7225 last argument non-nil, when formatting buffer names.
7226 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7227 paragraph direction.
7229 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7231 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7232 the man page name (bug#7929).
7234 * image.el (put-image): Mention the `put-image' overlay property
7237 * scroll-bar.el (set-scroll-bar-mode): Mention that
7238 `scroll-bar-mode' lists the values (bug#7772).
7240 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7243 * rect.el (apply-on-rectangle): Return the point after the last
7245 (string-rectangle): Go to the point after the last operation
7248 * printing.el (pr-toggle-region): Clarify the documentation
7249 slightly (bug#7493).
7251 * time.el (display-time-update):
7252 Allow `display-time-mail-function' to return nil (bug#7158).
7253 Fix suggested by Detlev Zundel.
7255 * vc/diff.el (diff): Clarify the order the file names are read
7258 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7259 the doc string (bug#7015).
7261 * font-lock.el (font-lock-maximum-decoration): Mention what
7262 numeric levels mean (bug#6935).
7264 * startup.el (initial-buffer-choice): Don't mention the `none'
7265 selection, which is against policy.
7267 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7269 * window.el (display-buffer-normalize-special):
7270 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7272 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7274 * subr.el (version<, version<=, version=): Mention "-CVS" and
7275 "-12345" alpha version numbers.
7277 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7279 * bindings.el: Add advertised binding for set-mark-command
7282 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7284 * bindings.el (mode-line-other-buffer):
7285 * bookmark.el (bookmark-bmenu-2-window):
7286 * bs.el (bs-cycle-next, bs-cycle-previous):
7287 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7290 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7293 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7295 * follow.el (follow-debug-message, follow-redisplay):
7296 * jka-cmpr-hook.el (with-auto-compression-mode):
7297 Fix typos in docstrings.
7299 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301 * subr.el (with-silent-modifications): Clarify somewhat what the
7302 macro inhibits (bug#6525).
7304 * simple.el (eval-expression): Note what it does if called
7305 interactively (bug#6495).
7307 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7309 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7310 Use pop-to-buffer buffer-or-name if it is nil.
7312 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7313 Remove switch-to-buffer.
7315 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317 * files.el (make-directory): Clarify that an error will be raised
7318 if there's an error (bug#6397).
7320 * startup.el (initial-buffer-choice): Add `none' as a choice
7323 * subr.el (add-hook): Clarify section about buffer-local hooks
7326 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7328 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7330 * tabify.el (untabify): Preserve the current column so that point
7331 doesn't move (bug#6032).
7333 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7336 Rewrite to avoid awkward possessive "s" (bug#5986).
7338 2011-07-13 Glenn Morris <rgm@gnu.org>
7340 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7341 (dired-insert-directory): Give a message the first time
7342 if ls is found not to support --dired.
7344 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7346 * simple.el (toggle-truncate-lines): Clarify what is toggled
7347 (bug#5580). Text by Drew Adams.
7349 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7351 * simple.el (blink-matching-open): Make the error message from the
7352 last change less verbose.
7354 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7356 * font-lock.el (font-lock-comment-face): Use the high contrast
7357 "yellow" color for font-lock-comment-face on low color terminals
7358 using a dark background color (bug#4221).
7360 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362 * dired.el (dired-insert-set-properties): Make the doc string
7363 reflect what it does now (bug#5325).
7365 * simple.el (blink-matching-open): Say that we were unable to find
7366 the match within the limit, if we're limited (bug#5122).
7368 * international/mule-cmds.el (prefer-coding-system): Add an
7371 * progmodes/etags.el (tags-search): Document `file-list-form'
7374 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7376 * net/browse-url.el (browse-url-default-browser)
7377 (browse-url-browser-function): Make the default browser choice a
7378 bit more logical (bug#4300). Also clean up the doc string.
7380 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7382 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7383 binary endings (bug#4440).
7385 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7388 which can be pretty annoying (bug#8971).
7390 * jka-compr.el (jka-compr-verbose): New variable, and use
7391 throughout (bug#8971).
7393 * info.el (Info-find-file): Fall back on the installation
7394 directory if we can't find the info node anywhere else.
7396 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7398 * vc/vc.el (vc-revert-file):
7399 Don't set file time-stamp in the past. (Bug#5181)
7401 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7403 * files.el (after-find-file): Give a better error message when
7404 trying to find a symlink that points to a file that doesn't exist
7407 * progmodes/cc-vars.el: Remove (probably) misleading comment
7410 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7412 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7414 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7416 * mouse-sel.el: Hack restoring functionality, while keeping
7417 compatibility with 2010-07-03 changes to mouse selection.
7418 (mouse-sel-primary-overlay): New var.
7419 (mouse-sel-selection-alist): Use it.
7420 (mouse-sel-mode): Doc fix; remove points that are default features
7423 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7425 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7426 Fix previous fix (bug#2490).
7428 2011-07-12 Roland Winkler <winkler@gnu.org>
7430 * textmodes/bibtex.el (bibtex-initialize):
7431 Use pop-to-buffer-same-window.
7432 (bibtex-search-entries): Fix interactive call.
7434 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7437 Fontise bytecomp Error lines more correctly (bug#2490).
7438 Fix suggested by Johan Bockgård.
7440 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7442 * dired-x.el (dired-guess-default): Use `delete-dups'.
7444 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7446 * dired.el (dired-mark-prompt):
7447 * dired-aux.el (dired-read-shell-command): Doc fix.
7449 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451 * mail/sendmail.el (sendmail-query-once):
7452 Use `customize-save-variable' unconditionally, now that it works under
7455 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7457 * cus-edit.el (custom-file): Take an optional no-error variable.
7458 (customize-save-variable): Set the variable, and give a warning if
7459 running under "emacs -q".
7461 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7463 * loadhist.el (unload-feature-special-hooks):
7464 Add `auto-coding-functions', `fill-nobreak-predicate' and
7465 `find-directory-functions' (bug#5327).
7467 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7471 * cus-edit.el (custom-guess-name-alist): -alist variables should
7472 use the `alist' type (bug#3120). Suggested by Drew Adams.
7474 * printing.el: Add documentation to all the `pr-toggle-' commands.
7476 2011-07-11 Leo Liu <sdl.web@gmail.com>
7478 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7479 backends where it makes sense (bug#2623).
7481 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7483 * dired-x.el (dired-guess-default): Remove duplicate shell command
7485 (dired-guess-default): Fix grammar in doc string (bug#2028).
7486 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7488 * subr.el (remove-duplicates): New conveniency function.
7490 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7492 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7495 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7497 * window.el (display-buffer-normalize-default): Don't invert
7498 meaning of even-window-heights. Reported by Eli Zaretskii
7501 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7503 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7505 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7507 * window.el (display-buffer): Fix arguments to
7508 display-buffer-reuse-window in last change.
7510 * faces.el (link): Use a less saturated blue on light backgrounds.
7512 * startup.el (fancy-startup-text, fancy-about-text)
7513 (fancy-startup-tail): Use font-lock faces, for background safety.
7515 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7517 * emulation/viper-cmd.el (viper-change-state-to-vi):
7518 Limit triggering of abbrev expansion (Bug#9038).
7520 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7522 * window.el (display-buffer-default-specifiers): Remove.
7523 (display-buffer-macro-specifiers): Remove default specifiers.
7524 (display-buffer-alist): Default to nil.
7525 (display-buffer-reuse-window): New optional argument other-window.
7526 (display-buffer-pop-up-window): Allow splitting internal
7527 windows. Check whether a live window was created.
7528 (display-buffer-other-window-means-other-frame)
7529 (display-buffer-normalize-arguments): Rename to
7530 display-buffer-normalize-argument and rewrite. Set the
7531 other-window specifier.
7532 (display-buffer-normalize-special): New function.
7533 (display-buffer-normalize-options): Rename to
7534 display-buffer-normalize-default and rewrite.
7535 (display-buffer-normalize-options-inhibit): Remove.
7536 (display-buffer-normalize-specifiers): Rewrite.
7537 (display-buffer): Process other-window specifier and call
7538 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7540 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7541 (display-buffer-alist-set): Don't handle 'unset default values.
7542 (display-buffer-in-window, display-buffer-alist-set):
7543 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7544 <tassilo@member.fsf.org>.
7546 2011-07-09 Leo Liu <sdl.web@gmail.com>
7548 * register.el (insert-register): Restore accidental change on
7549 2011-06-26. (Bug#9028)
7551 2011-07-09 Glenn Morris <rgm@gnu.org>
7553 * subr.el (remq): Handle the empty list. (Bug#9024)
7555 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7557 * mail/sendmail.el (send-mail-function): No longer delay custom
7559 * custom.el (custom-initialize-delay): Doc fix.
7561 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7565 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7567 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7568 human-friendly prompt.
7570 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7573 provided by a particular plugin.
7575 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7577 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7578 save customizations (with "emacs -Q"), just set the variable
7579 instead of erroring out.
7581 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7583 2011-07-08 Juri Linkov <juri@jurta.org>
7585 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7586 (archive-zip-update-case): Use 7z if found by `executable-find'.
7587 The order of searching the available programs is the same as in
7588 `archive-zip-extract' (bug#8968).
7590 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7592 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7593 (menu-bar-options-menu): Tweak descriptions.
7595 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7597 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7598 menu items into verb phrases (bug#1421). Also refill to fit under
7601 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7603 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7604 (Info-read-node-name): Doc fix (Bug#1084).
7606 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7607 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7608 (end-of-sexp, beginning-of-sexp)
7609 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7610 (forward-symbol, forward-same-syntax, word-at-point)
7611 (sentence-at-point): Doc fix (Bug#1144).
7613 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7615 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7616 should cover it (bug#1281).
7618 * cus-edit.el (custom-show): Mark as obsolete.
7620 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7621 negotiation fails, then possibly try again with a non-encrypted
7622 connection (bug#9017).
7624 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7627 2011-07-07 Richard Stallman <rms@gnu.org>
7629 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7630 property, and handle its changed format.
7631 Look for the correct line number.
7632 Use file's line contents (but not past first =) to find
7633 correct line in message.
7635 2011-07-07 Kenichi Handa <handa@m17n.org>
7637 * international/characters.el (build-unicode-category-table):
7639 (unicode-category-table): Set it by unicode-property-table-internal.
7641 * international/mule-cmds.el (char-code-property-alist): Move to
7643 (get-char-code-property): Call unicode-property-table-internal to
7644 load a file. Call get-unicode-property-internal where necessary.
7645 (put-char-code-property): Call unicode-property-table-internal to
7646 load a file. Call put-unicode-property-internal where necessary.
7647 put-unicode-property-internal where necessary.
7648 (char-code-property-description):
7649 Call unicode-property-table-internal to load a file.
7651 * international/charprop.el:
7652 * international/uni-bidi.el:
7653 * international/uni-category.el:
7654 * international/uni-combining.el:
7655 * international/uni-comment.el:
7656 * international/uni-decimal.el:
7657 * international/uni-decomposition.el:
7658 * international/uni-digit.el:
7659 * international/uni-lowercase.el:
7660 * international/uni-mirrored.el:
7661 * international/uni-name.el:
7662 * international/uni-numeric.el:
7663 * international/uni-old-name.el:
7664 * international/uni-titlecase.el:
7665 * international/uni-uppercase.el: Regenerate.
7667 * loadup.el: Load international/charprop.el before
7668 international/characters.
7670 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7672 * window.el (next-buffer, previous-buffer): Signal an error if
7673 called from a minibuffer window.
7675 * bindings.el: Revert 2011-07-04 change.
7677 2011-07-06 Richard Stallman <rms@gnu.org>
7679 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7680 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7681 Treat markers like ints.
7682 (rmail-mime-entity): Doc fix.
7684 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7687 defcustom again for backwards compatibility.
7689 * simple.el (shell-command-on-region): Fill.
7691 * dired-aux.el (dired-kill-line): Add a doc string.
7693 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7694 to "\\sw\\|\\s_" (bug#358).
7696 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7697 (dired-unmark-backward): Ditto.
7698 (dired-flag-backup-files): Ditto.
7700 * dired-x.el (dired-mark-sexp): Ditto.
7702 2011-07-06 Richard Stallman <rms@gnu.org>
7704 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7705 (rmail-mime-entity): New arg TRUNCATED.
7706 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7708 (rmail-mime-save): Warn if entity is truncated.
7709 (rmail-mime-toggle-hidden): Likewise, for showing.
7710 (rmail-mime-process-multipart): Record when an entity is truncated.
7712 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7713 if ENTITY is a string.
7715 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7717 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7718 of faces when `M-C-x'-ing their definitions (bug#8378).
7719 Also clean up the code slightly.
7721 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7722 because that makes the colors go away.
7724 * mail/sendmail.el (send-mail-function): Change the default to
7725 `sendmail-query-once'.
7726 (sendmail-query-once): Add an autoload cookie.
7728 * net/network-stream.el (network-stream-open-starttls): Try using
7729 a plain connection even if the server offered STARTTLS, and we
7730 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7731 capability. This should make smtpmail.el work in slightly more
7734 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7736 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7738 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7740 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7742 * progmodes/sql.el: Version 3.0
7743 (sql-product-alist): Add product :completion-object,
7744 :completion-column, and :statement attributes.
7745 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7746 (sql-mode-syntax-table): Mark all punctuation.
7747 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7749 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7750 (sql-mode-oracle-font-lock-keywords): Improve.
7751 (sql-oracle-show-reserved-words): New function for development.
7752 (sql-product-font-lock): Simplify for source code buffers.
7753 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7755 (sql-highlight-product): Set product specific syntax table.
7756 (sql-mode-map): Add statement movement functions.
7757 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7759 (sql-statement-regexp, sql-beginning-of-statement)
7760 (sql-end-of-statement, sql-signum): New functions.
7761 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7762 (sql-show-sqli-buffer): Bug fix.
7763 (sql-interactive-mode): Store connection data as buffer local.
7764 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7765 with sql-interactive-mode.
7766 (sql-save-connection): Save buffer local settings.
7767 (sql-connection-menu-filter): Change menu entry name.
7768 (sql-product-interactive): Bug fix.
7769 (sql-preoutput-hold): New variable.
7770 (sql-interactive-remove-continuation-prompt): Bug fixes.
7771 (sql-debug-redirect): New variable.
7772 (sql-str-literal): New function.
7773 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7775 (sql-oracle-save-settings, sql-oracle-restore-settings)
7776 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7777 (sql-completion-object, sql-completion-column)
7778 (sql-completion-sqlbuf): New variables.
7779 (sql-build-completions-1, sql-build-completions)
7780 (sql-try-completion): New functions.
7781 (sql-read-table-name): Use them.
7782 (sql-contains-names): New buffer local variable.
7783 (sql-list-all, sql-list-table): Use it.
7784 (sql-oracle-completion-types): New variable.
7785 (sql-oracle-completion-object, sql-sqlite-completion-object)
7786 (sql-postgres-completion-object): New functions.
7788 2011-07-06 Glenn Morris <rgm@gnu.org>
7790 * window.el (pop-to-buffer): Doc fix.
7792 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7794 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7796 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7798 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7800 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7802 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7804 * button.el (button): Inherit from link face. Suggested by Dan
7807 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7809 * progmodes/gdb-mi.el: Fit in 80 columns.
7810 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7813 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7814 if imenu is simply not configured (bug#8941).
7816 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7818 * allout.el (allout-post-undo-hook): New allout outline-change
7819 event hook to signal undo activity.
7820 (allout-post-command-business): Run allout-post-undo-hook if an
7822 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7823 * allout-widgets.el (allout-widgets-after-undo-function):
7824 Ensure the integrity of the current item's decoration after it has been
7825 in the vicinity of an undo.
7826 (allout-widgets-mode): Include allout-widgets-after-undo-function
7827 on the new allout-post-undo-hook.
7829 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7832 Let define-derived-mode define it.
7833 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7834 cycles of abbrev-table inheritance (bug#8998).
7836 2011-07-05 Roland Winkler <winkler@gnu.org>
7838 * textmodes/bibtex.el: Add support for biblatex.
7839 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7840 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7841 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7842 (bibtex-entry-alist, bibtex-field-alist): New variables.
7843 (bibtex-entry-field-alist): Obsolete alias for
7844 bibtex-BibTeX-entry-alist.
7845 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7846 (bibtex-set-dialect): New command.
7847 (bibtex-entry-type, bibtex-entry-head)
7848 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7849 Bind via bibtex-set-dialect.
7850 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7851 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7852 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7853 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7854 Define via bibtex-set-dialect.
7855 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7856 Obey bibtex-no-opt-remove-re.
7857 (bibtex-vec-push, bibtex-vec-incr): New functions.
7858 (bibtex-format-entry, bibtex-field-list)
7859 (bibtex-print-help-message, bibtex-validate)
7860 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7862 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * progmodes/compile.el (compilation-goto-locus):
7865 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7866 * bs.el (bs-cycle-next, bs-cycle-previous):
7867 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7868 * bindings.el (mode-line-other-buffer):
7869 * autoinsert.el (auto-insert):
7870 * arc-mode.el (archive-extract):
7871 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7873 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7875 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7876 Fix check of `emacs-lock-unlockable-modes'.
7877 Coerce true values of `emacs-lock--try-unlocking' to t.
7879 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7881 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7882 * emacs-lock.el: New file.
7884 2011-07-05 Julien Danjou <julien@danjou.info>
7886 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7887 than `boundp' to check if face is set.
7889 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7891 * register.el (registerv-make):
7892 * window.el (window-min-height): Fix typos in docstrings.
7894 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7896 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7899 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7901 * server.el (server-execute): Catch quit and call
7902 `server-return-error' to pass the error back to emacsclient and
7903 close the connection (bug#8942).
7905 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7907 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7908 insecure exception for current topic. Also note that auto-saves
7909 are handled differently.
7911 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7912 State variables for tracking auto-save inhibition situation.
7914 (allout-write-contents-hook-handler): Rename from
7915 'allout-write-file-hook-handler', and describe how it depends on
7916 write-contents-functions sensitivity to non-nil value to prevent
7919 (allout-auto-save-hook-handler): Remove. auto-save does not check
7920 this in individual buffers, only in the starting buffer, so this
7921 is not the right way for us to inhibit auto-save in a buffer
7922 according to its condition.
7924 (allout-mode): Use new allout-write-contents-hook-handler, and
7925 only with write-contents-functions. Remove auto-save provisions -
7926 they're implemented elsewhere.
7928 (allout-before-change-handler): If undo is in progress, note that
7929 for attention of allout-post-command-business.
7931 (allout-post-command-business): If the command we're following was
7932 an undo, check for change in the status of encrypted items and
7933 adjust auto-save inhibitions accordingly.
7935 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7936 according to whether there are or aren't any plain-text topics
7939 (allout-inhibit-auto-save-info-for-decryption):
7940 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7941 if there are plain-text topics pending encryption.
7943 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7944 buffer-saved-size and some allout state to not inhibit auto-saves
7945 if there are no longer any plain-text topics pending encryption.
7947 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7948 No longer provide for exemption of the current topic.
7950 2011-07-04 Juri Linkov <juri@jurta.org>
7952 Add 7z operations to delete and save changed members (bug#8968).
7953 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7955 (archive-7z-write-file-member): New function.
7956 (archive-7z-summarize): Fix the number of dashes in the
7959 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7961 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7964 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7966 * bindings.el: Ignore next-buffer and previous-buffer in
7967 minibuffer-local-map.
7969 * font-lock.el (font-lock-builtin-face): Change light background
7970 color to dark slate blue (Bug#6693).
7972 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7974 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7976 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7979 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7980 Add switch-to-buffer.
7982 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7984 * isearch.el (isearch-search-fun-function): Clarify further the
7985 meaning of the function returned.
7987 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7989 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7991 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7992 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7994 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7995 `tramp-default-remote-path' does not exist.
7996 (tramp-send-command-and-read): New optional argument NOERROR.
7997 (tramp-open-connection-setup-interactive-shell)
7998 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7999 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8000 (tramp-process-sentinel): Flush also process' connection property.
8001 (tramp-sh-handle-start-file-process): Do not set process
8002 sentinel. It is done now ...
8003 (tramp-maybe-open-connection): ... here. (Bug#8929)
8005 2011-07-04 MON KEY <monkey@sandpframing.com>
8007 * play/animate.el (animate-string): Doc fixes and allow changing
8008 the buffer name (bug#5417).
8010 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012 * play/animate.el (animation-buffer-name): Rename from *animate*.
8014 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8016 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8017 This is simpler and helps future-proof the code.
8018 (timer-until): Use time-subtract and float-time.
8019 (timer--time-less-p): Use time-less-p.
8021 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8023 * type-break.el (timep): Use the value of `float-time' to avoid a
8024 byte-compiler warning.
8026 * server.el (server-eval-and-print): Return any result, even nil.
8028 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8030 * type-break.el: Accept time formats that the builtins accept.
8031 (timep, type-break-time-difference): Accept any format that
8032 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8033 This is simpler and helps future-proof the code.
8034 (type-break-time-difference): Round rather than ignoring
8035 subseconds components.
8037 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8039 * info.el (Info-apropos-matches): Make non-interactive, since it
8040 doesn't seem to do anything useful as a command (bug#8829).
8042 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8044 * frame.el (frame-background-mode, frame-set-background-mode):
8046 (frame-default-terminal-background): New function.
8048 * custom.el (custom-push-theme): Don't record faces in `changed'
8049 theme; this doesn't work correctly for per-frame face settings.
8050 (disable-theme): Use face-set-after-frame-default to reset faces.
8051 (custom--frame-color-default): New function.
8053 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055 * dired.el (dired-flagging-regexp): Remove unused variable
8058 2011-03-29 Kevin Ryde <user42@zip.com.au>
8060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8061 `perl-Test2' extend to match possible "fail #N" rep count
8064 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8066 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8067 `smtpmail-via-smtp' now returns the error instead of nil.
8069 * isearch.el (isearch-search-fun-function): Clarify the doc string
8072 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8074 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8075 unnecessary spaces (bug#8987).
8077 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8079 * net/network-stream.el (open-network-stream): Use the
8080 :end-of-capability command thoughout.
8082 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8084 * net/network-stream.el (open-network-stream): Add the
8085 :end-of-capability command parameter, used by pop3.el.
8087 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8091 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8092 for list)" (bug#6475).
8094 * files.el (file-expand-wildcards): Ignore non-readable
8095 sub-directories while trying to find matches instead of signaling
8096 an error (bug#6297).
8098 * man.el (Man-reference-regexp): Allow matching possible
8099 word-wrapped references (bug#6289).
8101 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8102 for consistency with the other vc buffers (bug#6197).
8103 (vc-checkin): Ditto.
8105 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8107 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8109 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111 * custom.el (defcustom): Clarify that :set is only used in the
8112 Customize user interface (bug#6089).
8114 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8115 associated with a file, refuse to run instead of erroring out
8118 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8119 the doc string, since it appears that using `fill-column' always
8120 controls the width (bug#7845).
8122 * simple.el (shell-command-on-region): Say where the error output
8123 went if `shell-command-default-error-buffer' is set (bug#6857).
8125 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8127 * allout.el (allout-yank-processing): Adjust cursor position for
8128 backwards-deleted space.
8130 (allout-rebullet-heading): Register changes with
8131 allout-exposure-changed-hook, so the modified topic is properly
8134 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8136 * minibuffer.el (completion-in-region): Document PREDICATE
8139 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8140 of keyword/argument pairs (bug#6904).
8142 * replace.el (multi-occur):
8143 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8145 2011-07-02 Drew Adams <drew.adams@oracle.com>
8147 * dired.el (dired-mark-if): Make the message about whether it's
8148 marking or unmarking clearer (bug#8523).
8150 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8152 * disp-table.el (display-table-print-array): New function.
8153 (describe-display-table): Use it to print the vectors more pretty
8156 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8158 * window.el (window-state-get-1): Don't assign clone numbers.
8159 Add clone-of item to list of window parameters.
8160 (window-state-put-2): Don't process clone numbers.
8161 (display-buffer-alist): Fix doc-string.
8163 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8165 * subr.el (remq): Don't allocate if it's not needed.
8166 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8167 (keymap--merge-bindings): New functions.
8168 (keymap-canonicalize): Use them to refine the canonicalization.
8169 * minibuffer.el (minibuffer-local-completion-map)
8170 (minibuffer-local-must-match-map): Move initialization from C.
8171 (minibuffer-local-filename-completion-map): Move initialization from C;
8172 don't inherit from anything here.
8173 (minibuffer-local-filename-must-match-map): Make obsolete.
8174 (completing-read-default): Use make-composed-keymap to combine
8175 minibuffer-local-filename-completion-map with either
8176 minibuffer-local-must-match-map or
8177 minibuffer-local-filename-completion-map.
8179 2011-07-01 Glenn Morris <rgm@gnu.org>
8181 * type-break.el (type-break-time-sum): Use dolist.
8183 * textmodes/flyspell.el (flyspell-word-search-backward):
8184 Replace CL function.
8186 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * mouse.el (mouse--strip-first-event): New function.
8189 (function-key-map): Use it to map fringe clicks to normal clicks
8192 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8193 (vc-bzr-revision-completion-table): Add support for annotate and date.
8195 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8196 inherit from parent.
8198 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8200 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8201 (dired-show-file-type): Doc fixup (bug#8818).
8203 * dired.el (dired-mode): Fix up the doc string as suggested by
8204 Drew Adams (bug#8817).
8206 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8207 cookie, since the manual says that it should be possible to add
8208 this function to `find-file-hook' (bug#8709).
8210 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8212 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8213 here. Noted Ted Zlatanov as the maintainer.
8214 (cfengine-common-settings, cfengine-common-syntax): New functions
8215 to set up common things between `cfengine-mode' and
8217 (cfengine3-mode): New mode.
8218 (cfengine3-defuns cfengine3-defuns-regex
8219 (cfengine3-class-selector-regex cfengine3-category-regex)
8220 (cfengine3-vartypes cfengine3-font-lock-keywords)
8221 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8222 (cfengine3-indent-line): Add from cfengine3.el.
8224 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8226 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8228 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8230 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8232 * window.el (same-window-buffer-names, same-window-regexps)
8233 (same-window-p, special-display-frame-alist)
8234 (special-display-popup-frame, special-display-function)
8235 (special-display-buffer-names, special-display-regexps)
8236 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8237 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8238 (split-window-preferred-function, split-height-threshold)
8239 (split-width-threshold, even-window-heights)
8240 (display-buffer-mark-dedicated, window-splittable-p)
8241 (split-window-sensibly, window-safely-shrinkable-p):
8243 (display-buffer): Don't spread args with function specifier
8244 because special-display-popup-frame won't like it.
8246 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8248 Time-stamp simplifications and fixes.
8249 These improve accuracy slightly, and future-proof the code
8250 against some potential changes to current-time format.
8252 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8253 by using time-since and float-time.
8255 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8256 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8257 + NNN microseconds".
8259 * type-break.el (type-break-time-sum): Rewrite using time-add.
8261 * play/hanoi.el (hanoi-current-time-float): Remove.
8262 All uses replaced by float-time.
8264 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8265 This yields a more-accurate answer.
8266 (rng-time-to-float): Remove; no longer needed.
8268 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8270 * calendar/timeclock.el (timeclock-seconds-to-time):
8271 Defalias to seconds-to-time, since they're the same thing.
8273 * emacs-lisp/elp.el (elp-elapsed-time):
8274 * emacs-lisp/benchmark.el (benchmark-elapse):
8275 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8277 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8279 * window.el (bury-buffer): Don't iconify the only frame.
8280 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8281 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8283 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8285 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8286 Add mouse-yank-primary.
8288 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8290 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8292 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8294 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8295 (find-library-name): Use it to find relative load names when provided
8296 absolute file name (bug#8803).
8298 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300 * textmodes/flyspell.el (flyspell-word): Consider words that
8301 differ only in case as potential doublons (bug#5687).
8303 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8304 Remove two rather uninteresting debugging-like messages to make
8305 debbugs.el more silent.
8307 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8308 a password-like phrase.
8310 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8312 * progmodes/cc-guess.el: New file.
8314 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8316 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8317 derived from `c-basic-common-init'.
8319 * progmodes/cc-mode.el (top-level): Require cc-guess.
8320 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8322 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8324 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8326 2011-06-30 Alan Mackenzie <acm@muc.de>
8328 * progmodes/cc-engine.el (c-guess-continued-construct):
8329 Correct the handling of template-args-cont, particularly for when font
8330 lock is disabled. Name this case as "CASE G".
8332 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8334 * allout.el (allout-yank-processing): Fix injection of extra space
8335 between bullet and non-whitespace character in first topic when
8336 pasting, ensuring that the actual spacing in the pasted topic
8337 following the bullet char is preserved. This extra space was
8338 causing pasted encrypted topics to get a decrypted status even
8339 when the content was actually still encrypted. Now the decryption
8340 status from before the paste is preserved.
8342 (allout-flag-region): Set all allout overlays so they evaporate
8343 when reduced to zero length (evanescent), to prevent overlay
8346 2011-06-30 Glenn Morris <rgm@gnu.org>
8348 * w32-fns.el (w32-charset-info-alist): Declare.
8350 * find-dired.el (find-grep-options): Simplify.
8352 * term/ns-win.el (ns-set-resource): Declare.
8354 * ses.el (row, col): Declare dynamic variables honestly.
8356 * textmodes/reftex-parse.el (index-tags): Declare.
8358 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8360 * cus-edit.el (customize-push-and-save): New function.
8362 * files.el (hack-local-variables-confirm): Use it.
8364 * custom.el (load-theme): New arg NO-CONFIRM.
8365 Use customize-push-and-save (Bug#8720).
8366 (custom-enabled-themes): Doc fix.
8368 * cus-theme.el (customize-create-theme)
8369 (custom-theme-merge-theme): Callers to load-theme changed.
8371 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8373 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8374 short URLs have at least one dot in them (bug #7614).
8376 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8377 nil, because using a pty is apparently too slow (bug #895).
8379 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8381 * mail/sendmail.el (sendmail-query-once): New function.
8382 (sendmail-query-once-function): New variable.
8384 2011-06-29 Glenn Morris <rgm@gnu.org>
8386 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8388 * ses.el (top-level): Require cl when compiling.
8389 (ses-set-localvars): Fix error statement.
8390 Call it at compile time to silence a storm of warnings.
8392 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8394 * window.el (normalize-live-buffer): Rename to
8395 window-normalize-buffer.
8396 (normalize-live-frame): Rename to window-normalize-frame.
8397 (normalize-any-window): Rename to window-normalize-any-window.
8398 (normalize-live-window): Rename to window-normalize-live-window.
8399 (make-window-atom): Rename to window-make-atom.
8400 (window-resize-reset): Rename to window--resize-reset.
8401 (window-resize-reset-1): Rename to window--resize-reset-1.
8402 (resize-mini-window): Rename to window--resize-mini-window.
8403 (resize-subwindows-skip-p): Rename to
8404 window--resize-subwindows-skip-p.
8405 (resize-subwindows-normal): Rename to
8406 window--resize-subwindows-normal.
8407 (resize-subwindows): Rename to window--resize-subwindows.
8408 (resize-other-windows): Rename to window--resize-siblings.
8409 (resize-this-window): Rename to window--resize-this-window.
8410 (resize-root-window): Rename to window--resize-root-window.
8411 (resize-root-window-vertically): Rename to
8412 window--resize-root-window-vertically.
8413 (normalize-buffer-to-display): Rename to
8414 window-normalize-buffer-to-display.
8415 (normalize-buffer-to-switch-to): Rename to
8416 window-normalize-buffer-to-switch-to.
8417 Correspondingly update all callers of the functions listed
8419 (display-buffer-alist, display-buffer-normalize-arguments)
8420 (display-buffer-normalize-options, display-buffer)
8421 (display-buffer-alist-set): Use "function" instead of
8424 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8426 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8427 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8428 debbugs.gnu.org. Mention acknowledgment email.
8430 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8432 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8433 buffer multibyteness, since it shouldn't matter.
8435 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8437 * window.el (display-buffer-in-side-window): Handle dedicated
8438 windows as in display-buffer-reuse-window.
8439 (display-buffer-normalize-alist): Use value of override
8441 (display-buffer-normalize-specifiers): Use value of
8442 other-window-means-other-frame specifier.
8443 (display-buffer-alist): Rewrite some texts in widgets.
8444 (display-buffer): Spread arguments when calling function
8445 specified by fun-with-args.
8447 2011-06-28 Deniz Dogan <deniz@dogan.se>
8449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8452 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8453 selectors (Bug#5732).
8454 (css-proprietary-nmstart-re): Use `regexp-opt'.
8456 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8458 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8459 (eshell-ls-date-format): New defcustom.
8460 (eshell-ls-file): Use it.
8462 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8464 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8466 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8468 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8469 (ange-ftp-make-tmp-name): New arg.
8470 (ange-ftp-file-local-copy): Use it.
8472 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8474 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8475 no-conversion (Bug#8870).
8477 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8479 * window.el (window-right, window-left, window-child)
8480 (window-child-count, window-last-child)
8481 (window-iso-combination-p, walk-window-tree-1)
8482 (window-atom-check-1, window-tree-1, delete-window)
8483 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8484 new naming conventions - window-vchild, window-hchild,
8485 window-next and window-prev are now called window-top-child,
8486 window-left-child, window-next-sibling and window-prev-sibling
8488 (resize-window-reset): Rename to window-resize-reset.
8489 (resize-window-reset-1): Rename to window-resize-reset-1.
8490 (resize-window): Rename to window-resize.
8491 (window-min-height, window-min-width)
8492 (resize-mini-window, resize-this-window, resize-root-window)
8493 (resize-root-window-vertically, adjust-window-trailing-edge)
8494 (enlarge-window, shrink-window, maximize-window)
8495 (minimize-window, delete-window, quit-restore-window)
8496 (split-window, balance-windows, balance-windows-area-adjust)
8497 (balance-windows-area, window-state-put-2)
8498 (display-buffer-even-window-sizes, display-buffer-set-height)
8499 (display-buffer-set-width, set-window-text-height)
8500 (fit-window-to-buffer): Rename all "resize-window" prefixed
8501 calls to use the "window-resize" prefix convention.
8502 (display-buffer-alist): Fix symbol for label specifier.
8503 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8504 corresponding specifier.
8505 Reported by Juanma Barranquero <lekktu@gmail.com>.
8507 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8509 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8511 (ses-call-printer): Does not pass an empty string to formatter when the
8512 cell is empty to keep from barking printer Calc math-format-value.
8514 2011-06-27 Richard Stallman <rms@gnu.org>
8516 * battery.el (battery-mode-line-limit): New variable.
8517 (battery-update): Handle it.
8519 * mail/rmailmm.el (rmail-mime-process-multipart):
8520 Handle truncated messages.
8522 2011-06-27 Glenn Morris <rgm@gnu.org>
8524 * progmodes/flymake.el (flymake-err-line-patterns):
8525 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8527 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8529 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8530 (ses--clean-!, ses--clean-_): New functions.
8531 (ses-range): Add configurability of readout order, and conversion
8534 * ses.el (ses-repair-cell-reference-all): New function.
8535 (ses-cell-symbol): Set macro as safe, so that it can be used in
8538 * ses.el: Update cycle detection algorithm.
8539 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8540 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8541 (ses-set-localvars): New function.
8542 (ses-make-cell): Add property-list as a cell element.
8543 (ses-cell-property-get-fun, ses-cell-property-get)
8544 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8545 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8547 (ses-cell-property-set, ses-cell-property-pop)
8548 (ses-cell-property-get-handle): New macro.
8549 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8550 New aliases, used for code readability.
8551 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8553 (ses-self-reference-early-detection): New defcustom.
8554 (ses-formula-references): Robustify against self-referring cells.
8555 (ses-mode): Use ses-set-localvars.
8556 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8557 before lauching the update processing.
8558 (ses-initialize-Dijkstra-attempt): New function.
8559 (ses-recalculate-cell): Update for cycle detection based on
8562 * ses.el: Fix commenting and indenting convention.
8564 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8566 * bs.el (bs-cycle-next): Complete last change.
8568 2011-06-27 Drew Adams <drew.adams@oracle.com>
8570 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8572 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574 * net/network-stream.el (network-stream-open-starttls):
8575 Don't re-get capabilities unless we've reestablished connection.
8576 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8578 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8579 to binary to possibly avoid line encoding issues on Windows (among
8582 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8584 * net/network-stream.el (open-network-stream): Return an :error
8585 saying what the problem was, if possible.
8587 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8590 * net/network-stream.el (network-stream-open-starttls): If we
8591 wanted to use STARTTLS, and the server offered it, but we weren't
8592 able to because we had no STARTTLS support, then close the connection.
8593 (open-network-stream): Return an :error element, if present.
8595 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8597 * hl-line.el (hl-line-sticky-flag): Doc fix.
8598 (global-hl-line-sticky-flag): New option (Bug#8323).
8599 (global-hl-line-highlight): Obey it.
8601 * vc/vc.el (vc-revert-show-diff): Default to t.
8603 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8605 * allout-widgets.el (allout-widgets-post-command-business):
8606 Stop decorating intermediate isearch matches. They're not being
8607 undecorated when an isearch is continued past, and isearch
8608 automatically collapses them. This leads to "widget leaks", where
8609 decorated items accumulate in collapsed areas. Lines with lots of
8610 hidden widgets can slow down cursor travel, substantially.
8611 Too much complicated machinery would be needed to ensure undecoration,
8612 so we're doing without this nicety.
8614 (allout-widgets-tally-string): Don't try to do a hash-table-count
8615 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8616 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8617 *Messages* when allout-widgets-maintain-tally is t.
8619 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8621 * window.el (display-buffer-normalize-argument): Rename to
8622 display-buffer-normalize-arguments. Handle special meaning of
8623 LABEL argument. Respect special-display-function when popping up
8624 a new frame. Fix code searching for a window showing the buffer
8626 (display-buffer-normalize-specifiers):
8627 Call display-buffer-normalize-arguments.
8628 (display-buffer-in-window): Don't undedicate the window if its
8629 buffer remains the same.
8630 Reported by Drew Adams <drew.adams@oracle.com>.
8631 (display-buffer-alist): Add choice for same-window macro
8633 (display-buffer): Mention special meaning of LABEL argument in
8634 doc-string. Fix quoting. Don't pop up a new frame even as
8637 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8639 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8640 avoid deleting the current window in some cases (bug#8911).
8642 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8644 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8647 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649 * net/network-stream.el (network-stream-open-starttls):
8650 Use built-in TLS support if `gnutls-available-p' is true.
8651 (network-stream-open-tls): Ditto.
8653 2011-06-26 Leo Liu <sdl.web@gmail.com>
8655 * register.el (registerv): New struct.
8656 (registerv-make): New function.
8657 (jump-to-register, describe-register-1, insert-register):
8658 Support the jump-func, print-func and insert-func slot of a registerv
8661 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8663 * vc/vc.el (vc-revert-show-diff): New defcustom.
8664 (vc-diff-internal): New arg specifying diff buffer.
8665 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8666 reuse an existing *vc-diff* buffer (Bug#8927).
8668 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8670 2011-06-26 Glenn Morris <rgm@gnu.org>
8672 * progmodes/f90.el (f90-critical-indent): New option.
8673 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8674 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8675 (f90-mode): Doc fix.
8676 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8677 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8678 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8679 (f90-match-end): Handle block, critical.
8681 2011-06-25 Glenn Morris <rgm@gnu.org>
8683 * calendar/diary-lib.el (diary-included-files): Doc fix.
8684 (diary-include-files): New function, extracted from
8685 diary-include-other-diary-files and diary-mark-included-diary-files.
8686 (diary-include-other-diary-files, diary-mark-included-diary-files):
8687 Just call diary-include-files.
8688 (diary-mark-entries): Reset diary-included-files on first call.
8690 * calendar/diary-lib.el (diary-mark-entries)
8691 (diary-mark-included-diary-files):
8692 Visit included diary-files in temp buffers.
8694 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8695 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8696 (f90-start-block-re, f90-imenu-generic-expression)
8697 (f90-looking-at-program-block-start, f90-no-block-limit):
8698 Add support for submodules.
8700 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8701 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8703 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8705 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8706 buffer-file-type before setting its value, to avoid disastrous
8707 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8709 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8711 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8713 * ses.el (ses-unload-function):
8714 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8716 * proced.el (proced-unload-function):
8717 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8719 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8721 * server.el (server-create-window-system-frame): Add parameters arg.
8722 (server-process-filter): Doc fix. Handle frame-parameters.
8724 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8726 Fix bug#8730, bug#8781.
8728 * loadhist.el (unload--set-major-mode): New function.
8729 (unload-feature): Use it.
8731 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8732 (python-unload-function): New function.
8734 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8736 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8738 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8740 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8741 the candidates list.
8743 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8745 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8747 2011-06-23 Richard Stallman <rms@gnu.org>
8749 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8750 (rmail-variables): Set next-error-move-function.
8751 (rmail-what-message): Take argument POS.
8752 (rmail-next-error-move): New function.
8754 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8757 messages for adjacent non-terminals.
8759 2011-06-23 Richard Stallman <rms@gnu.org>
8761 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8762 (rmail-show-message-1): Preserve buffer modified flag.
8763 (rmail-start-mail): Don't specify use of rmail-mail-return;
8764 that's done by mail-bury now.
8765 (rmail-mail-return): Handle arg NEWBUF.
8767 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8769 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8772 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8774 * window.el (get-lru-window, get-mru-window)
8775 (get-largest-window): Never return a minibuffer window.
8776 (display-buffer-pop-up-window): Fix a bug that could lead to
8777 reusing the minibuffer window.
8778 (display-buffer): Pass original specifier argument to
8779 display-buffer-function instead of the normalized one.
8780 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8782 2011-06-22 Leo Liu <sdl.web@gmail.com>
8784 * minibuffer.el (completing-read-function)
8785 (completing-read-default): Move from minibuf.c
8787 2011-06-22 Richard Stallman <rms@gnu.org>
8789 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8790 to Rmail even if not started by a special Rmail command.
8792 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8793 Copy the buffer currently showing just one message.
8795 2011-06-22 Roland Winkler <winkler@gnu.org>
8797 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8798 (bibtex-clean-entry): First delete the old key so that a
8799 customized algorithm for generating the new key does not get
8800 confused by the old key.
8801 (bibtex-url): Obey regexp of first step.
8802 (bibtex-search-entries): Do not use add-to-list with local
8805 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8807 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8808 stored a user name, then query for the password first, instead of
8809 waiting for SMTP to give an error message and the trying again.
8811 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8813 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8814 BUFFER in call-process.
8816 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8818 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8820 (smtpmail-try-auth-methods): Require user name and password from
8823 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8825 * window.el (display-buffer-default-specifiers)
8826 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8827 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8828 (split-window): Normalize SIDE argument (Bug#8916).
8830 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8831 (special-display-frame-alist, special-display-popup-frame):
8832 Remove duplicate declarations. These are now in window.el.
8834 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8836 * mail/smtpmail.el (smtpmail-via-smtp):
8837 Set :use-starttls-if-possible so that we always use STARTTLS if the
8838 server supports it. SMTP servers that support STARTTLS commonly
8841 * net/network-stream.el (network-stream-open-starttls): Support
8842 upgrading to STARTTLS always, even if we don't have built-in support.
8843 (open-network-stream): Add the :always-query-capabilities keyword.
8845 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8846 upgrades with `open-network-stream', and rely solely on
8847 auth-source for all credentials. Big changes throughout the file,
8849 (smtpmail-auth-credentials): Remove.
8850 (smtpmail-starttls-credentials): Remove.
8851 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8854 * net/network-stream.el (network-stream-open-starttls):
8855 Provide support for client certificates both for external and built-in
8857 (auth-source): Require.
8858 (open-network-stream): Document the :client-certificate keyword.
8859 (network-stream-certificate): Change cert-cert to cert and
8862 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8864 * net/tramp-cache.el (top): Don't load the persistency file when
8865 "emacs -Q" has been called.
8867 2011-06-21 Tim Harper <timcharper@gmail.com>
8869 * term/ns-win.el (ns-initialize-window-system):
8870 Set application-specific `ApplePressAndHoldEnabled' system
8871 resource to NO as it is not yet supported by the NS port.
8873 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8875 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8876 (list-dynamic-libraries): ...not here.
8878 2011-06-21 Leo Liu <sdl.web@gmail.com>
8880 * subr.el (sha1): Implement sha1 using secure-hash.
8882 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8884 * window.el (display-buffer-alist): In default value do not
8885 enforce searching a window on any but the selected frame.
8886 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8887 (display-buffer-select-window): Remove function.
8888 (display-buffer-in-window): When a window on another frame gets
8889 reused, do not select it any more but just raise its frame if
8890 necessary (Bug#8851) and (Bug#8856).
8891 (display-buffer-normalize-options): Handle pop-up-frames related
8892 options more faithfully.
8893 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8894 window if it is on another frame.
8895 (display-buffer-alist, display-buffer-default-specifiers):
8896 Don't make new frame unsplittable by default.
8897 (display-buffer-normalize-argument): Fix doc-string typo and use
8898 'same-frame-other-window instead of 'other-window when associating
8899 with display-buffer-macro-specifiers.
8901 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8903 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8905 (5x5-mode-map, 5x5-mode-menu): Bind them.
8906 (5x5-draw-grid): Tweak the solver's rendering.
8908 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8911 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8913 2011-06-21 Drew Adams <drew.adams@oracle.com>
8915 * menu-bar.el: Use function variable instead of switch-to-buffer.
8916 (menu-bar-select-buffer-function): New variable.
8917 (menu-bar-update-buffers): Use it (bug#8876).
8919 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8921 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8924 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8926 * x-dnd.el (x-dnd-version-from-flags)
8927 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8928 and long as number (Bug#8899).
8929 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8931 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8933 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8934 (completion-try-completion, completion-all-completions): Compute the
8935 metadata argument if it's missing; make it optional (bug#8795).
8937 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8938 (widget-complete): Use new :completion-function property.
8939 (widget-completions-at-point): New function.
8940 (default): Use :completion-function instead of :complete.
8941 (widget-default-completions): Rename from widget-default-complete;
8943 (widget-string-complete, widget-file-complete, widget-color-complete):
8945 (file, symbol, function, variable, coding-system, color):
8946 * international/mule-cmds.el (default-input-method, charset)
8947 (language-info-custom-alist):
8948 * cus-edit.el (face): Use new property :completions.
8950 * progmodes/pascal.el (pascal-completions-at-point): New function.
8951 (pascal-mode): Use it.
8952 (pascal-mode-map): Use completion-at-point.
8953 (pascal-toggle-completions): Make obsolete.
8954 (pascal-complete-word, pascal-show-completions):
8955 * progmodes/octave-mod.el (octave-complete-symbol):
8956 Redefine as obsolete alias.
8957 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8958 Signal absence of completion info for old Octave,
8959 (inferior-octave-complete): Redefine as obsolete alias.
8960 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8961 (meta-completions-at-point): Rename from meta-complete-symbol and
8962 adapt it for use on completion-at-point-functions.
8963 (meta-common-mode): Use it.
8964 (meta-looking-at-backward, meta-match-buffer): Remove.
8965 (meta-complete-symbol): Redefine as obsolete alias.
8966 (meta-common-mode-map): Use completion-at-point.
8967 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8968 (makefile-mode-map): Use completion-at-point.
8969 (makefile-completions-at-point): Rename from makefile-complete and
8970 adapt it for use on completion-at-point-functions.
8971 (makefile-mode): Use it.
8972 (makefile-complete): Redefine as obsolete alias.
8974 2011-06-20 Deniz Dogan <deniz@dogan.se>
8976 * net/rcirc.el: Delete trailing whitespaces once and for all.
8978 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8980 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8982 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8984 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8986 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8988 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8990 * window.el (display-buffer-other-window-means-other-frame):
8991 Call display-buffer-normalize-alist.
8992 (display-buffer-normalize-specifiers-1): Rename to
8993 display-buffer-normalize-argument. New argument other-frame.
8995 (display-buffer-normalize-specifiers-2): Rename to
8996 display-buffer-normalize-options.
8997 (display-buffer-normalize-alist-1): New function.
8998 (display-buffer-normalize-specifiers-3): Rename to
8999 display-buffer-normalize-alist.
9000 Call display-buffer-normalize-alist-1.
9001 (display-buffer-normalize-options-inhibit): New variable.
9002 (display-buffer-normalize-specifiers): Rewrite calling
9003 display-buffer-normalize-alist,
9004 display-buffer-normalize-argument, and
9005 display-buffer-normalize-options. Don't call the latter if
9006 display-buffer-normalize-options-inhibit is non-nil.
9007 (frame-auto-delete): New option.
9008 (window-deletable-p): Use frame-auto-delete.
9009 (window-list-no-nils, window-state-ignored-parameters)
9010 (window-state-get-1, window-state-get, window-state-put-list)
9011 (window-state-put-1, window-state-put-2, window-state-put):
9013 (display-buffer-normalize-options): Move special-display-p group
9014 after pop-up-frame group (Bug#8851) and (Bug#8856).
9016 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9018 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9020 (rx-submatch-n): New function.
9023 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9026 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9028 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9030 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9031 anytime existing face settings are present (Bug#8889).
9033 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9034 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9035 Remove unused argument.
9037 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9039 * window.el (display-buffer-default-specifiers):
9040 Remove pop-up-frame. Add pop-up-window-min-height,
9041 pop-up-window-min-width, and another reuse-window specifier
9042 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9043 (display-buffer-normalize-specifiers-2):
9044 Handle split-height-threshold and split-width-threshold also when
9045 pop-up-windows is unset. Add a reuse-window specifier for the
9046 case popping up a new window fails.
9047 (special-display-popup-frame): Remove double quoting.
9048 (display-buffer-normalize-specifiers-1): Fix thinko.
9050 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9052 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9053 according to comint-completion-addsuffix.
9055 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9056 (pcomplete-suffix-list): Mark as obsolete.
9057 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9058 pcomplete-seen in the closure.
9059 (pcomplete-comint-setup): Setup completion-at-point as well.
9060 (pcomplete--entries): New function.
9061 (pcomplete--env-regexp): New var.
9062 (pcomplete-entries): Rewrite to work with partial-completion and
9063 without relying on pcomplete-suffix-list.
9064 (pcomplete-pare-list): Remove, unused.
9066 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9068 * window.el (display-buffer-alist): Set pop-up-window-min-height
9069 and pop-up-window-min-width in default value. Reported by
9070 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9071 other-window-means-other-frame.
9072 (display-buffer-macro-specifiers): Comment out entry for
9073 other-window specifier.
9074 (display-buffer-other-window-means-other-frame): New function.
9075 (display-buffer-normalize-specifiers-1): New arguments
9076 buffer-name and label. Treat other-window case specially.
9077 (display-buffer-normalize-specifiers-2): Treat other-window case
9079 (display-buffer-normalize-specifiers-3): New function.
9080 (display-buffer-normalize-specifiers):
9081 Call display-buffer-normalize-specifiers-3.
9083 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9085 * window.el (same-window-p): Fix two typos introduced when
9086 adding with-no-warnings.
9087 (display-buffer-normalize-specifiers-1): Don't check
9088 pop-up-frames for 'unset initialization.
9089 (display-buffer-normalize-specifiers-2): Major rewrite using
9090 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9091 (pop-up-frames, display-buffer-reuse-frames)
9092 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9093 Suggested by David Engster <deng@randomsample.de>.
9094 (even-window-heights): Initialize to 'unset.
9095 (display-buffer-alist-set): Handle new 'unset initializations.
9096 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9099 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9101 * window.el (display-buffer-normalize-specifiers-1):
9102 Respect current value of pop-up-frames for most reasonable values of
9103 second argument of display-buffer (Bug#8865).
9104 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9105 (switch-to-buffer-other-window-same-frame)
9106 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9108 (display-buffer): Don't check noninteractive when calling
9109 display-buffer-pop-up-frame.
9110 (display-buffer-pop-up-frame): Never pop up a frame in
9111 noninteractive mode (Bug#8857).
9112 (enlarge-window, shrink-window): Don't report an error when the
9113 window can't be resized as requested (Bug#8862).
9115 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9117 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9119 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9121 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9123 2011-06-15 Alan Mackenzie <acm@muc.de>
9125 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9126 for declarators, disable knr checking to speed up for normal files.
9127 2: Refactor, replacing a sequence of nested if forms by a cond form.
9129 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9131 * net/network-stream.el (open-network-stream): Add the keyword
9132 :always-query-capabilities for the case where you want to force a
9133 `plain' network connection, but the protocol still requires the
9134 capabilitiy command (i.e., SMTP and EHLO).
9136 * subr.el (process-live-p): Rename from `process-alive-p' for
9137 consistency with other `-live-p' functions.
9139 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * window.el (same-window-buffer-names, same-window-regexps)
9142 (special-display-frame-alist, special-display-popup-frame)
9143 (special-display-function, special-display-buffer-names)
9144 (special-display-regexps, pop-up-frame-alist)
9145 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9146 (pop-up-windows, split-window-preferred-function)
9147 (split-height-threshold, split-width-threshold, even-window-heights)
9148 (display-buffer-mark-dedicated): Don't encourage the use of
9149 display-buffer-alist from Elisp code.
9151 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9153 * progmodes/python.el (python-mode): Derive from prog-mode.
9154 * progmodes/ps-mode.el (ps-mode):
9155 * progmodes/mixal-mode.el (mixal-mode):
9156 * progmodes/cfengine.el (cfengine-mode):
9157 * progmodes/ld-script.el (ld-script-mode): Likewise.
9159 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9161 * window.el (display-buffer-alist): Trim default value to avoid
9162 popping up a new frame (Bug#8857) or reusing an arbitrary window
9164 (display-buffer): Do not fall back on popping up a new frame in
9165 batch mode (Bug#8857).
9167 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9169 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9170 (custom-theme-summary): New function.
9171 (customize-themes): Use it.
9173 2011-06-13 Glenn Morris <rgm@gnu.org>
9175 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9177 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9179 * help.el (help-window): Remove variable.
9180 (help-window-point-marker, temp-buffer-max-height)
9181 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9182 (help-print-return-message): Don't set help-window.
9183 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9184 (help-window-setup-finish): Remove.
9185 (help-window-display-message, help-window-setup)
9186 (with-help-window): Major rewrite based on new
9187 display-buffer-window variable.
9189 * help-mode.el (help-mode-finish): Remove help-window related
9192 * view.el (view-exits-all-viewing-windows): Remove reference to
9193 view-return-to-alist in doc-string.
9194 (view-return-to-alist): Make obsolete.
9195 (view-buffer): Call pop-to-buffer-same-window and remove
9197 (view-buffer-other-window): Call pop-to-buffer-other-window and
9198 simplify code. Ignore second argument.
9199 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9200 simplify code. Ignore second argument.
9201 (view-return-to-alist-update): Make obsolete.
9202 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9203 Rewrite using quit-restore window parameters.
9204 (view-mode-exit): Rename second argument to EXIT-ONLY.
9205 Rewrite using quit-restore-window.
9206 (View-exit, View-exit-and-edit, View-leave, View-quit)
9207 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9208 appropriate arguments.
9209 (view-end-message): Use quit-restore window parameter.
9211 * window.el (display-buffer-function): Rewrite doc-string.
9212 (display-buffer-window, display-buffer-alist): New variables.
9213 (display-buffer-split-specifiers)
9214 (display-buffer-side-specifiers)
9215 (display-buffer-macro-specifiers): New constants.
9216 (display-buffer-even-window-sizes, display-buffer-set-height)
9217 (display-buffer-set-width, display-buffer-select-window)
9218 (display-buffer-in-window, display-buffer-reuse-window)
9219 (display-buffer-split-window-1, display-buffer-split-window)
9220 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9221 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9222 (display-buffer-in-side-window, normalize-buffer-to-display)
9223 (display-buffer-normalize-specifiers-1)
9224 (display-buffer-normalize-specifiers-2)
9225 (display-buffer-normalize-specifiers, display-buffer-frame):
9227 (display-buffer): Major rewrite.
9228 (display-buffer-other-window, display-buffer-other-frame)
9229 (pop-to-buffer, switch-to-buffer-other-window)
9230 (switch-to-buffer-other-frame): Rewrite.
9231 (display-buffer-same-window, display-buffer-same-frame)
9232 (display-buffer-same-frame-other-window)
9233 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9234 (pop-to-buffer-other-window)
9235 (pop-to-buffer-same-frame-other-window)
9236 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9237 (switch-to-buffer-other-window-same-frame): New functions.
9238 (same-window-p, special-display-p): Rewrite disabling warnings.
9240 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9241 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9243 (same-window-buffer-names, same-window-regexps)
9244 (special-display-frame-alist, special-display-popup-frame)
9245 (special-display-function, special-display-buffer-names)
9246 (special-display-regexps, pop-up-frame-alist)
9247 (pop-up-frame-function, split-window-preferred-function)
9248 (split-height-threshold, split-width-threshold)
9249 (even-window-heights): Make obsolete.
9251 2011-06-12 Glenn Morris <rgm@gnu.org>
9253 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9254 Misc simplifications.
9256 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9258 * window.el (window-safely-shrinkable-p): Restore function which
9259 was inadvertently removed in change from 2011-06-11. Declare as
9262 * calendar/calendar.el (calendar-generate-window):
9263 Use window-iso-combined-p instead of combination of one-window-p and
9264 window-safely-shrinkable-p.
9266 2011-06-12 Glenn Morris <rgm@gnu.org>
9268 * progmodes/fortran.el (fortran-mode-syntax-table):
9269 * progmodes/f90.el (f90-mode-syntax-table):
9270 Set % to punctuation. (Bug#8820)
9271 (f90-find-tag-default): Remove, no longer needed.
9273 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9275 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9277 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9279 * image.el (image-animated-p): Return animation delay in seconds.
9280 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9281 (image-animate-timeout): Remove DELAY argument. Don't assume
9282 every subimage has the same delay; get it from image-animated-p.
9283 (image-animate): Caller changed.
9285 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9287 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9288 to ignored backtrace functions.
9290 2011-06-11 Glenn Morris <rgm@gnu.org>
9292 * calendar/appt.el (appt-disp-window-function): Doc fix.
9293 (appt-check): Handle overlapping appointments. (Bug#8337)
9295 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9297 * window.el (window-tree-1, window-tree): New functions, moving
9298 the latter to window.el.
9299 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9300 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9301 (bw-refresh-edges): Remove.
9302 (balance-windows-1, balance-windows-2): New functions.
9303 (balance-windows): Rewrite in terms of window tree functions,
9304 balance-windows-1 and balance-windows-2.
9305 (bw-adjust-window): Remove.
9306 (balance-windows-area-adjust): New function with functionality of
9307 bw-adjust-window but using resize-window.
9308 (set-window-text-height): Rewrite doc-string.
9309 Use normalize-live-window and resize-window.
9310 (enlarge-window-horizontally, shrink-window-horizontally):
9311 Rename argument to DELTA.
9312 (window-buffer-height): New function.
9313 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9314 Rewrite using new window resize routines.
9315 (kill-buffer-and-window, mouse-autoselect-window-select):
9316 Use ignore-errors instead of condition-case.
9317 (quit-window): Call delete-frame instead of delete-windows-on
9318 for the only buffer on frame.
9320 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9322 * loadup.el (top-level): Load window before files for the sake
9323 of replace-buffer-in-windows.
9325 * files.el (read-buffer-to-switch)
9326 (switch-to-buffer-other-window)
9327 (switch-to-buffer-other-frame, display-buffer-other-frame):
9330 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9331 (previous-buffer): Move to window.el.
9333 * bindings.el (unbury-buffer): Move to window.el.
9335 * window.el (delete-other-windows-vertically): Move after
9336 definition of delete-other-windows.
9337 (other-window, delete-windows-on, replace-buffer-in-windows):
9338 Move here from window.c.
9339 (record-window-buffer, unrecord-window-buffer)
9340 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9341 (switch-to-next-buffer): New functions.
9342 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9343 from simple.el. Call switch-to-next-buffer.
9344 (previous-buffer): Move here from simple.el.
9345 Call switch-to-prev-buffer.
9346 (bury-buffer): Move here from buffer.c. Switch to previous
9347 buffer when window cannot be deleted.
9348 (unbury-buffer): Move here from bindings.el.
9349 (ctl-x-map): Move binding for other-window from window.c to
9351 (read-buffer-to-switch, switch-to-buffer-other-window)
9352 (switch-to-buffer-other-frame): Move here from files.el.
9353 (normalize-buffer-to-switch-to): New functions.
9354 (switch-to-buffer): Move here from buffer.c.
9355 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9357 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9359 * window.el (window-min-height, window-min-width): Move here
9360 from window.c. Add defcustoms and rewrite doc-strings.
9361 (resize-mini-window, resize-window): New functions.
9362 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9363 Move here from window.c.
9364 (maximize-window, minimize-window): New functions.
9365 (delete-window, delete-other-windows, split-window): Move here
9367 (window-split-min-size): New function.
9368 (split-window-keep-point): Mention split-window-above-each-other
9369 instead of split-window-vertically.
9370 (split-window-above-each-other, split-window-vertically):
9371 Rename split-window-vertically to split-window-above-each-other
9372 and provide defalias for old definition.
9373 (split-window-side-by-side, split-window-horizontally):
9374 Rename split-window-horizontally to split-window-side-by-side
9375 and provide defalias for the old definition.
9376 (ctl-x-map): Move bindings for delete-window,
9377 delete-other-windows and enlarge-window here from window.c.
9378 Replace bindings for split-window-vertically and
9379 split-window-horizontally by bindings for
9380 split-window-above-each-other and split-window-side-by-side.
9382 * cus-start.el (all): Remove entries for window-min-height and
9383 window-min-width. Add entries for window-splits and
9386 2011-06-09 Glenn Morris <rgm@gnu.org>
9388 * calendar/appt.el (appt-mode-line): New function.
9389 (appt-check, appt-disp-window): Use it.
9391 * files.el (hack-one-local-variable-eval-safep):
9392 Allow minor-modes with explicit +/-1 arguments.
9394 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9396 * term/xterm.el (xterm): Add defgroup.
9397 (xterm-extra-capabilities): Add defcustom to supply known xterm
9398 capabilities, skip querying them, or query them (default).
9399 (terminal-init-xterm): Use it.
9400 (terminal-init-xterm-modify-other-keys): New function to set up
9401 modifyOtherKeys support to simplify `terminal-init-xterm'.
9403 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9405 * window.el (resize-window-reset, resize-window-reset-1)
9406 (resize-subwindows-skip-p, resize-subwindows-normal)
9407 (resize-subwindows, resize-other-windows, resize-this-window)
9408 (resize-root-window, resize-root-window-vertically)
9409 (window-deletable-p, window-or-subwindow-p)
9410 (frame-root-window-p): New functions.
9412 2011-06-09 Glenn Morris <rgm@gnu.org>
9414 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9415 (ange-ftp-get-files): Use it.
9417 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9419 * mail/sendmail.el (mail-recover-1, mail-recover):
9420 * files.el (recover-file, recover-session):
9421 Handle dired-listing-switches not being just a single short option.
9423 2011-06-09 Glenn Morris <rgm@gnu.org>
9425 * calendar/appt.el (appt-display-message, appt-disp-window):
9426 Handle lists of appointments.
9428 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9430 * window.el (one-window-p): Move down in code.
9432 (window-current-scroll-bars): Rewrite doc-string.
9433 Normalize live window argument.
9434 (walk-windows, get-window-with-predicate, count-windows):
9435 Rewrite doc-string. Use window-list-1.
9436 (window-in-direction-2, window-in-direction, get-mru-window):
9439 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9441 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9444 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9446 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9448 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9450 * loadhist.el (unload-feature-special-hooks):
9451 Add `comint-output-filter-functions'.
9453 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9455 * calendar/appt.el (appt-check): Move some initializations into the let.
9457 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9459 * window.el (window-height): Defalias to window-total-height.
9460 (window-width): Defalias to window-body-width.
9462 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9464 * image-mode.el (image-toggle-animation): New command.
9465 (image-mode-map): Bind it to RET.
9466 (image-mode): Update message.
9467 (image-toggle-display-image): Avoid a spurious cache flush.
9468 (image-transform-rotation): Doc fix.
9469 (image-transform-properties): Return quickly in the normal case.
9470 (image-animate-loop): Rename from image-animate-max-time.
9472 * image.el (image-animate-max-time): Move to image-mode.el.
9473 (create-animated-image): Remove unnecessary function.
9474 (image-animate): Rename from image-animate-start. New arg.
9475 (image-animate-stop): Remove; just use image-animate-timer.
9476 (image-animate-timer): Use car-safe.
9477 (image-animate-timeout): Rename argument.
9479 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9481 * window.el (get-lru-window, get-largest-window): Move here from
9482 window.c. Rename first argument to ALL-FRAMES.
9483 Rephrase doc-strings.
9484 (get-buffer-window-list): Rewrite using window-list-1.
9485 Rephrase doc-string.
9486 (window-safe-min-height, window-safe-min-width): New constants.
9487 (window-size-ignore, window-min-size, window-min-size-1)
9488 (window-sizable, window-sizable-p, window-size-fixed-1)
9489 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9490 (window-max-delta-1, window-max-delta, window-resizable)
9491 (window-resizable-p, window-total-height, window-total-width)
9492 (window-body-width): New functions.
9493 (window-full-height-p, window-full-width-p): Rewrite using
9495 (window-body-height): Rewrite using window-body-size.
9497 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9499 * window.el (window-right, window-left, window-child)
9500 (window-child-count, window-last-child, window-any-p)
9501 (normalize-live-buffer, normalize-live-frame)
9502 (normalize-any-window, normalize-live-window)
9503 (window-iso-combination-p, window-iso-combined-p)
9504 (window-iso-combinations)
9505 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9506 (windows-with-parameter, window-with-parameter)
9507 (window-atom-root, make-window-atom, window-atom-check-1)
9508 (window-atom-check, window-side-check, window-check):
9510 (ignore-window-parameters, window-sides, window-sides-vertical)
9511 (window-sides-slots): New variables.
9512 (window-size-fixed): Move down in code. Minor doc-string fix.
9514 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9516 * comint.el (comint-dynamic-complete-as-filename)
9517 (comint-dynamic-complete-filename): Correctly call
9518 completion-in-region.
9520 2011-06-05 Deniz Dogan <deniz@dogan.se>
9522 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9525 2011-06-05 Deniz Dogan <deniz@dogan.se>
9527 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9528 (rcirc): Use it to prompt for encryption.
9530 2011-06-05 Roland Winkler <winkler@gnu.org>
9532 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9533 (bibtex-search-entries): New command bound to C-c C-a.
9534 (bibtex-display-entries): New function.
9536 2011-06-05 Roland Winkler <winkler@gnu.org>
9538 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9539 (bibtex-insert-kill): After yanking insert newline if necessary.
9540 (bibtex-initialize): Call bibtex-string-files-init only once.
9541 (bibtex-mode): Do not call easy-menu-add.
9542 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9543 (bibtex-yank): Set arg properly if nil.
9545 2011-06-05 Roland Winkler <winkler@gnu.org>
9547 * textmodes/bibtex.el (bibtex-search-entry-globally):
9549 (bibtex-search-entry): Use it.
9551 2011-06-05 Roland Winkler <winkler@gnu.org>
9553 * textmodes/bibtex.el (bibtex-entry-format): New option
9555 (bibtex-format-entry, bibtex-reformat): Honor this option.
9556 (bibtex-parse-entry): Return fields in proper order.
9558 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9560 * doc-view.el (doc-view-remove-if): Move computation of result out
9561 of `dolist' to silence misleading lexical-binding warning.
9563 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9565 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9566 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9568 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9570 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9573 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9575 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9576 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9577 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9578 (tramp-parse-putty):
9579 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9580 (tramp-completion-function-alist-ssh)
9581 (tramp-completion-function-alist-telnet)
9582 (tramp-completion-function-alist-su)
9583 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9588 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9589 load "tramp.el" `tramp-set-completion-function'.
9591 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9593 * shell.el: Require and use pcomplete.
9594 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9595 (shell-completion-vars): Set pcomplete-default-completion-function.
9597 2011-06-04 Deniz Dogan <deniz@dogan.se>
9599 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9602 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9606 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9608 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9609 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9610 * vc/log-view.el (log-view-beginning-of-defun):
9611 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9612 (smerge-refine-forward, smerge-refine-chopup-region):
9613 Silence warning for unused `dotimes' counter variables.
9615 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9617 * net/tramp.el (tramp-with-progress-reporter): Rename from
9618 with-progress-reporter. Use `declare'.
9621 * net/tramp-gvfs.el: Update all uses.
9623 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9625 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9626 buffer isn't killed before making it current.
9628 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9630 Silence various byte-compiler warnings.
9631 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9632 `access-type' and new obsolescence format.
9633 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9635 (byte-compile-check-variable): New `access-type' argument.
9636 Only warn if the access-type is obsolete.
9637 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9638 (byte-compile-variable-set): Adjust callers.
9639 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9640 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9641 setting it as obsolete.
9642 * simple.el (minibuffer-completing-symbol):
9643 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9645 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9647 * international/quail.el (quail-mouse-choose-completion): Remove unused
9648 code referring to obsolete var.
9649 (quail-choose-completion-string): Remove.
9650 * server.el (server-clients-with, server-kill-buffer-query-function)
9651 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9652 * proced.el (proced-send-signal):
9653 * emacs-lisp/lisp.el (lisp-complete-symbol):
9654 Replace completion-annotate-function with completion-extra-properties.
9656 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * simple.el (goto-line): Use read-number.
9659 (overriding-map-is-bound): Remove.
9660 (saved-overriding-map): Change default.
9661 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9662 Take the map as argument.
9663 (universal-argument, negative-argument, digit-argument): Use it.
9664 (restore-overriding-map): Adjust.
9665 (do-auto-fill): Use fill-forward-paragraph.
9666 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9668 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9669 (minibuffer-inactive-mode): New major mode.
9670 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9671 the *Messages* buffer" hack.
9672 (mouse-popup-menubar): Don't burp if the event is a normal key.
9674 Miscellaneous tweaks.
9675 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9676 lexical scoping as in subr.el's dolist and dotimes.
9677 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9678 Silence compiler warning.
9679 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9680 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9681 * international/ccl.el (ccl-compile): Trivial simplification.
9682 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9683 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9684 `printflag' argument.
9685 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9686 Purecopy the whole obsolescence data.
9688 2011-06-01 Leo Liu <sdl.web@gmail.com>
9690 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9691 improve doc-string as suggested by Marco Pessotto
9692 <melmothx@gmail.com>.
9693 (rcirc-print): Fix last change.
9695 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * minibuffer.el (complete-with-action): Return nil for the metadata and
9698 boundaries of non-functional tables.
9699 (completion-table-dynamic): Return nil for the metadata.
9700 (completion-table-with-terminator): Add default case, using
9701 complete-with-action.
9702 (completion--metadata): New function.
9703 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9704 to try and avoid pathological performance problems.
9705 (completion--embedded-envvar-table): Return `category' metadata.
9707 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9709 * subr.el (process-alive-p): New tiny convenience function.
9711 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9714 content but also its previous major mode.
9716 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9718 * emacs-lisp/debug.el (debug): Restore the previous content of the
9719 *Backtrace* buffer when we exit with C-M-c.
9721 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9723 * minibuffer.el: Add metadata method to completion tables.
9724 (completion-category-overrides): New defcustom.
9725 (completion-metadata, completion--field-metadata)
9726 (completion-metadata-get, completion--styles)
9727 (completion--cycle-threshold): New functions.
9728 (completion-try-completion, completion-all-completions):
9729 Add `metadata' argument to choose completion-styles.
9730 (completion--do-completion): Use metadata to choose cycling.
9731 (completion-all-sorted-completions): Use metadata for sorting.
9732 Remove :completion-cycle-penalty which is not needed any more.
9733 (completion--try-word-completion): Add `metadata' argument.
9734 (minibuffer-completion-help): Check metadata for annotation function
9736 (completion-file-name-table): Return `category' metadata.
9737 (minibuffer-completing-file-name): Make obsolete.
9738 * simple.el (minibuffer-completing-symbol): Make obsolete.
9739 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9740 completion-try-completion.
9742 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9744 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9746 2011-05-30 Leo Liu <sdl.web@gmail.com>
9748 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9749 (rcirc-print): Decode all incoming messages (bug#8744).
9750 (rcirc-decode-coding-system): Allow value nil for automatic coding
9753 2011-06-01 Glenn Morris <rgm@gnu.org>
9755 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9757 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9759 * image.el (image-animate-max-time): Allow nil and t values.
9761 (create-animated-image): Doc fix.
9762 (image-animate-start): Remove second arg; just use
9763 image-animate-max-time.
9764 (image-animate-timeout): Doc fix. Args changed.
9766 * image-mode.el (image-toggle-display-image): Ensure that the
9767 image spec passed to the animate timer is the same object as in
9768 the buffer's display property (Bug#6981).
9769 (image-transform-properties): Doc fix.
9771 * image.el (image-animate-max-time): Default to nil.
9773 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9775 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9776 entire buffer list (Bug#8184).
9778 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9780 * image.el (imagemagick-types-inhibit)
9781 (imagemagick-register-types): Doc fix.
9783 2011-05-29 Deniz Dogan <deniz@dogan.se>
9785 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9788 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9790 * select.el: Don't perform clipboard-manager saving in hooks;
9791 leave the hooks empty.
9793 2011-05-28 Leo Liu <sdl.web@gmail.com>
9795 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9796 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9797 (occur-edit-mode): New major mode (Bug#8463).
9798 (occur-after-change-function): New function.
9799 (occur-engine): Give Occur tags a read-only property.
9801 2011-05-28 Kevin Ryde <user42@zip.com.au>
9803 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9805 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9807 * bindings.el (help-echo): Make the initial non-indicator dash
9808 empty on graphical terminals (Bug#7295).
9810 * files.el (auto-mode-alist): Move config rule after the
9811 in-stripping one (Bug#8547).
9813 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9815 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9818 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9820 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9821 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9824 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9826 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9828 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9830 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9831 (hs-hide-block-at-point, hs-find-block-beginning)
9832 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9835 2011-05-28 Glenn Morris <rgm@gnu.org>
9837 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9839 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9841 * help-fns.el (describe-function-1): If the function is a derived
9842 major mode, print the parent mode.
9844 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9845 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9847 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * minibuffer.el (completion--capf-wrapper): Check applicability before
9850 returning non-nil for non-exclusive completion data.
9851 * progmodes/etags.el (tags-completion-at-point-function):
9852 * info-look.el (info-lookup-completions-at-point): Mark as
9854 (info-complete): Adjust accordingly.
9856 * info-look.el: Convert to lexical-binding and completion-at-point.
9857 (info-lookup-completions-at-point): New function.
9858 (info-complete): Use it and completion-in-region.
9860 2011-05-28 Drew Adams <drew.adams@oracle.com>
9862 * isearch.el: Let M-e start with point at the first mismatched char.
9863 (isearch-fail-pos): New function.
9864 (isearch-edit-string): Use it.
9866 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9868 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9870 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9872 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9873 traversal functions for avl-trees.
9874 (avl-tree--stack): New struct.
9875 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9876 (avl-tree-enter): Add optional `updatefun' arg.
9877 (avl-tree--do-enter): Add optional `updatefun' arg.
9878 Change return value.
9879 (avl-tree-delete): Add optional `test' and `nilflag' args.
9880 (avl-tree--do-delete): Add `test' and `nilflag' args.
9881 Change return value.
9882 (avl-tree-member): Add optional `nilflag'
9883 (avl-tree-member-p): New function.
9884 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9885 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9886 (avl-tree-stack-empty-p): New functions.
9888 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9889 avl-tree--del-balance1 and make it work both ways.
9890 (avl-tree--del-balance2): Remove.
9891 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9892 make it work both ways.
9893 (avl-tree--enter-balance2): Remove.
9894 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9896 (avl-tree--mapc, avl-tree-map): Add direction argument.
9898 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9900 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9902 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9904 * select.el: Support clipboard managers with built-in function
9905 x-clipboard-manager-save, via delete-frame-functions and
9907 (xselect-convert-to-targets): Add MULTIPLE target to list.
9908 (xselect-convert-to-save-targets): New function.
9910 2011-05-27 Kenichi Handa <handa@m17n.org>
9912 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9913 let-binding rfc2047-encode-encoded-words to nil.
9915 2011-05-27 Glenn Morris <rgm@gnu.org>
9917 * mail/emacsbug.el: Don't require url-util.
9919 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9921 * files.el (set-auto-mode):
9922 Also respect mode: entries at the end of the file. (Bug#8586)
9924 2011-05-26 Glenn Morris <rgm@gnu.org>
9926 * files.el (hack-local-variables-prop-line, hack-local-variables):
9927 Downcase mode names, as seems to be traditional.
9928 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9930 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9931 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9933 2011-05-25 Julien Danjou <julien@danjou.info>
9935 * textmodes/rst.el (rst-define-level-faces): Do not define face
9936 symbol if it is already defined.
9938 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9940 * play/5x5.el (5x5-new-game, 5x5-randomize):
9941 Reset 5x5-solver-output to nil when a new grid is cast.
9942 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9943 these debugging traces, as defmacro breaks the compiled code.
9945 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9947 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9949 2011-05-24 Leo Liu <sdl.web@gmail.com>
9951 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9952 (vc-bzr-sha1): Adapt.
9954 * sha1.el: Remove. Function `sha1' is now builtin.
9956 * bindings.el: Provide sha1 feature.
9958 2011-05-24 Kenichi Handa <handa@m17n.org>
9960 * mail/sendmail.el: Require `rfc2047'.
9961 (mail-insert-from-field): Do not perform RFC2047 encoding.
9962 (mail-encode-header): New function.
9963 (sendmail-send-it): Set buffer-file-coding-system of the work
9964 buffer to the return value of select-message-coding-system.
9965 Call mail-encode-header.
9967 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9969 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9971 * mail/supercite.el (sc-default-cite-frame):
9972 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9974 2011-05-24 Glenn Morris <rgm@gnu.org>
9976 * progmodes/python.el (brm-menu): Declare.
9978 * emulation/viper.el (viper-set-hooks): Declare.
9980 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9981 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9982 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9983 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9984 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9985 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9987 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9989 Add an :exit-function for completion-at-point.
9991 * minibuffer.el (completion--done): New fun.
9992 (completion--do-completion): Use it. New arg `expect-exact'.
9993 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9994 since completion--do-completion does it for us now.
9995 (minibuffer-force-complete): Use completion--done and
9996 completion--replace. Handle sole-completion case with more care.
9997 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9998 (completion-extra-properties): New var.
9999 (completion-annotate-function): Make obsolete.
10000 (minibuffer-completion-help): Adjust accordingly.
10001 Use completion-list-insert-choice-function.
10002 (completion-at-point, completion-help-at-point):
10003 Bind completion-extra-properties.
10004 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10005 * simple.el (completion-list-insert-choice-function): New var.
10006 (completion-setup-function): Preserve it.
10007 (choose-completion): Pay attention to it, shuffle the code a bit.
10008 (choose-completion-string): New arg `insert-function'.
10010 * textmodes/bibtex.el: Convert to lexical binding.
10011 (bibtex-mode-map): Use completion-at-point.
10012 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10013 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10014 (bibtex-complete): Define as obsolete alias.
10015 (bibtex-complete-internal): Remove.
10016 (bibtex-format-entry): Remove unused sub-group in regexp.
10017 * shell.el (shell--command-completion-data)
10018 (shell-environment-variable-completion):
10019 * pcomplete.el (pcomplete-completions-at-point):
10020 * comint.el (comint--complete-file-name-data): Use :exit-function
10021 instead of completion-table-with-terminator so it also works for
10024 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10028 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10031 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10033 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10035 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10036 customization variable and implement: If non-nil, auto-fill will
10037 be inhibited while on topic's header line.
10039 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10041 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10042 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10043 always have a solution in grid size = 5 cases.
10044 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10045 (5x5-solver-output, 5x5-log-buffer): New vars.
10046 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10047 Make these variables buffer local to achieve 5x5 multi-session-ness.
10048 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10049 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10050 (5x5-solve-suggest): New funs.
10051 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10052 randomize a grid so that we ensure that there is always a solution.
10053 (5x5-make-random-grid): Allow other movement than flipping.
10055 2011-05-23 Kevin Ryde <user42@zip.com.au>
10057 * emacs-lisp/advice.el (ad-read-advised-function):
10058 Use `function-called-at-point' as the default, if it has
10059 advice and passes PREDICATE.
10061 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10064 byte-compile-lambda if it's actually a lambda.
10066 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10067 Fix function quoting. Use backquote better.
10069 2011-05-22 Yuanle Song <sylecn@gmail.com>
10071 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10072 matching (Bug#8516).
10074 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10076 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10077 different face (Bug#8178).
10079 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10081 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10082 defface (Bug#8144).
10084 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10086 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10087 funcall as well (bug#8712). Warn when performing those conversions.
10088 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10090 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10092 2011-05-22 Glenn Morris <rgm@gnu.org>
10094 * files.el (hack-local-variables-prop-line): Small simplifications.
10095 (hack-local-variables, hack-local-variables-prop-line):
10096 If MODE-ONLY, return the mode, rather than just `t'.
10098 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10102 2011-05-21 Glenn Morris <rgm@gnu.org>
10104 * files.el (hack-local-variables-prop-line, hack-local-variables):
10105 If only interested in the mode, don't bother doing the other stuff.
10107 * image-mode.el (image-after-revert-hook):
10108 Redraw all frames on which the image is visible. (Bug#8567)
10110 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10112 * wid-edit.el (widget-checklist-match-inline):
10113 Fix 2011-04-19 change. (Bug#8649)
10115 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10118 Also allow singlespace after single-letter capitals followed by a dot.
10120 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10121 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10123 2011-05-20 Nix <nix@esperi.org.uk>
10125 * files.el (basic-save-buffer-2):
10126 Fix handling of break-hardlink-on-save with non-existent files.
10128 2011-05-19 Deniz Dogan <deniz@dogan.se>
10130 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10131 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10133 2011-05-19 Glenn Morris <rgm@gnu.org>
10135 * progmodes/f90.el (f90-type-def-re):
10136 Handle "type, bind(c)". (Bug#8691)
10138 * emacs-lisp/autoload.el (batch-update-autoloads):
10139 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10141 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10143 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10144 property for the correct connection in case of multihops.
10146 2011-05-18 Glenn Morris <rgm@gnu.org>
10148 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10149 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10151 Rationalize calendar handling of day and month abbrev-arrays.
10152 * calendar/calendar.el (calendar-customized-p): New function.
10153 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10154 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10156 (calendar-abbrev-length, calendar-day-abbrev-array)
10157 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10158 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10159 Elements may no longer be nil.
10160 (calendar-day-name, calendar-month-name):
10161 Update for changed nature of abbrev arrays.
10162 * calendar/diary-lib.el (diary-name-pattern):
10163 Update for changed nature of abbrev arrays.
10164 (diary-mark-entries-1): Update calendar-make-alist calls.
10165 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10166 * calendar/cal-html.el (cal-html-day-abbrev-array):
10167 Simply inherit from calendar-day-abbrev-array.
10169 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10171 * progmodes/grep.el (grep-mode): Disable default
10172 compilation-directory-matcher setting (bug#8684).
10174 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10176 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10177 instead of "head" and "tail". There were problems with SunOS 5.9,
10178 and it performs better.
10180 2011-05-17 Glenn Morris <rgm@gnu.org>
10182 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10184 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10185 Replace obsolete function.
10187 * shell.el (pcomplete-parse-arguments-function): Declare.
10189 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10190 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10191 (appt-check): Doc fixes.
10192 (appt-disp-window-function, appt-delete-window-function):
10193 Remove needless special case in custom :type.
10194 (appt-display-count): Default to 0, not nil.
10195 (appt-check): Reset appt-display-count to 0, not nil.
10197 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10199 * progmodes/python.el (python-font-lock-keywords):
10200 Add the Python 3.X keyword "nonlocal" (bug#8639).
10202 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10206 2011-05-16 Kevin Ryde <user42@zip.com.au>
10208 * info-look.el (makefile-automake-mode): New setups, looking in
10209 automake manual, then makefile-mode.
10210 (makefile-mode): Remove automake manual, have it just in
10211 makefile-automake-mode since there's various things different or
10212 not relevant to plain make.
10213 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10214 believe a hypothetical automake-mode would go to makefile-mode,
10215 not the other way around.
10217 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10219 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10220 hunk-end tags (Bug#8672).
10222 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10223 vc-annotate-show-diff-revision-at-line (Bug#8671).
10225 2011-05-14 Glenn Morris <rgm@gnu.org>
10227 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10228 in the middle of an existing one with multiple authors. (Bug#8645)
10229 (change-log-font-lock-keywords): Also handle multiple author lines
10230 with leading tabs. (Bug#8644)
10232 * calendar/appt.el (appt-check): Rename some local variables.
10233 Some simplification/reordering.
10235 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10236 (feedmail-sendmail-f-doesnt-sell-me-out)
10237 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10238 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10239 (feedmail-queue-runner-message-sender): Set :version.
10240 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10241 (bbdb-dwim-net-address, vm-mail): Declare.
10242 (feedmail-binmail-gnulinuxish-template):
10243 Rename from feedmail-binmail-linuxish-template.
10244 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10245 Use insert-buffer-substring.
10247 2011-05-14 Bill Carpenter <bill@carpenter.org>
10249 * mail/feedmail.el (feedmail-patch-level): Increase.
10250 (feedmail-debug): New custom group.
10251 (feedmail-confirm-outgoing-timeout)
10252 (feedmail-sendmail-f-doesnt-sell-me-out)
10253 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10254 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10255 (feedmail-sender-line, feedmail-from-line)
10256 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10257 (feedmail-spray-this-address)
10258 (feedmail-spray-address-fiddle-plex-list)
10259 (feedmail-queue-use-send-time-for-date)
10260 (feedmail-queue-use-send-time-for-message-id)
10261 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10262 (feedmail-buffer-eating-function):
10264 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10265 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10266 (feedmail-message-action-scroll-down): New functions.
10267 (feedmail-queue-directory, feedmail-queue-draft-directory):
10268 Use expand-file-name.
10269 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10270 Remove C-v help entry.
10271 (feedmail-queue-buffer-file-name): New variable.
10272 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10273 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10274 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10275 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10276 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10277 (feedmail-message-action-toggle-spray)
10278 (feedmail-run-the-queue-no-prompts)
10279 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10280 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10281 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10282 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10283 (feedmail-envelope-deducer, feedmail-fiddle-from)
10284 (feedmail-fiddle-sender, feedmail-default-date-generator)
10285 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10286 (feedmail-fiddle-spray-address)
10287 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10288 (feedmail-fiddle-list-of-fiddle-plexes)
10289 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10290 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10291 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10292 Change default. Doc fix.
10293 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10294 (feedmail-binmail-linuxish-template): New constant.
10295 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10296 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10297 (feedmail-send-it): Add debug call.
10298 Use feedmail-queue-buffer-file-name, and
10299 feedmail-send-it-immediately-wrapper.
10300 (feedmail-message-action-send): Add debug call.
10301 Use feedmail-send-it-immediately-wrapper.
10302 (feedmail-queue-express-to-queue): Add debug call.
10303 Run feedmail-queue-express-hook.
10304 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10305 (feedmail-message-action-help-blat):
10306 Rename from feedmail-queue-send-edit-prompt-help-first.
10307 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10308 Check line-endings. Handle errors better.
10309 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10310 Doc fix. Add debug call.
10311 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10312 Use feedmail-queue-send-edit-prompt-inner.
10313 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10314 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10315 from feedmail-queue-send-edit-prompt.
10316 (feedmail-queue-send-edit-prompt-help)
10317 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10318 (feedmail-tidy-up-slug): Add debug call.
10319 Respect feedmail-queue-slug-suspect-regexp.
10320 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10321 (feedmail-dump-message-to-queue): Add debug call.
10322 Expand queue-directory.
10323 (feedmail-dump-message-to-queue): Change message slightly.
10324 Use feedmail-say-chatter.
10325 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10326 (feedmail-send-it-immediately-wrapper): New function.
10327 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10328 Insert empty string rather than newline. Handle full-frame case.
10329 Use catch/throw. Use feedmail-say-chatter.
10330 (feedmail-fiddle-from): Try mail-host-address.
10331 (feedmail-default-message-id-generator): Doc fix.
10332 Bind system-time-locale. Handle missing end.
10333 (feedmail-fiddle-x-mailer): Add debug call.
10334 Handle feedmail-x-mailer-line being nil.
10335 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10336 Add debug call. Use buffer-substring-no-properties.
10337 (feedmail-say-debug, feedmail-say-chatter): New functions.
10338 (feedmail-find-eoh): Give an explicit error.
10340 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10342 * net/newst-treeview.el (newsticker-treeview-face): Change default
10343 family from helvetica to sans.
10344 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10345 etc/images/newsticker.
10347 * net/newst-reader.el (newsticker-feed-face): Change default
10348 family from helvetica to sans.
10350 * net/newst-plainview.el (newsticker-new-item-face)
10351 (newsticker-old-item-face, newsticker-immortal-item-face)
10352 (newsticker-obsolete-item-face, newsticker-date-face)
10353 (newsticker-statistics-face): Change default family from
10355 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10356 etc/images/newsticker.
10358 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10359 (newsticker--process-auto-mark-filter-match): : Tell user about
10362 2011-05-13 Didier Verna <didier@xemacs.org>
10364 Common Lisp indentation improvements on defmethod and lambda-lists.
10365 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10367 (lisp-lambda-list-keyword-parameter-indentation)
10368 (lisp-lambda-list-keyword-parameter-alignment)
10369 (lisp-lambda-list-keyword-alignment): New customizable user options.
10370 (lisp-indent-defun-method): Improve docstring.
10371 (extended-loop-p): Fix comment.
10372 (lisp-indent-lambda-list-keywords-regexp): New variable.
10373 (lisp-indent-lambda-list): New function.
10374 (lisp-indent-259): Use it.
10375 (lisp-indent-defmethod): Support for more than one
10376 method qualifier and properly indent methods lambda-lists.
10377 (defgeneric): Provide a missing common-lisp-indent-function property.
10379 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10381 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10382 bounds for the empty string (bug#8667).
10384 2011-05-13 Glenn Morris <rgm@gnu.org>
10386 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10388 * mail/sendmail.el (sendmail-program): Try executable-find first.
10389 (sendmail-send-it): `sendmail-program' cannot be unbound.
10391 * calendar/appt.el (appt-make-list): Simplify.
10392 (appt-time-msg-list): Doc fix.
10393 (appt-check): Change mode-line message at the time of the appointment.
10395 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10397 * progmodes/ld-script.el (ld-script-keywords)
10398 (ld-script-builtins): Update keywords list.
10400 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10402 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10404 * shell.el (shell-completion-vars): New function.
10406 * simple.el (read-shell-command): Use it.
10407 (blink-matching-open): No need for " [...]" in minibuffer-message.
10409 2011-05-12 Glenn Morris <rgm@gnu.org>
10411 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10412 (appt-check): Simplify.
10414 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10416 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10417 literal "/dev/null".
10419 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10421 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10424 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10426 * progmodes/which-func.el (which-function):
10427 Use add-log-current-defun instead of add-log-current-defun-function,
10428 which might not be defined (Bug#8260).
10430 2011-05-12 Glenn Morris <rgm@gnu.org>
10432 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10433 Let byte-compile-initial-macro-environment always take precedence.
10435 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * net/rcirc.el: Add support for SSL/TLS connections.
10438 (rcirc-server-alist): New field `encryption'.
10439 (rcirc): Check `encryption' settings.
10440 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10441 Merge make-local-variable into `set'.
10442 (rcirc--connection-open-p): New function.
10443 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10444 the process is not a network process (e.g. running gnutls-cli).
10445 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10446 Make rcirc-(en|de)code-coding-system local here.
10447 (rcirc-mode): Merge make-local-variable into `set'.
10448 (rcirc-parent-buffer): Make permanent buffer-local.
10449 (rcirc-multiline-minor-mode): Don't do it here.
10450 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10451 there's no server buffer.
10453 2011-05-11 Glenn Morris <rgm@gnu.org>
10455 * newcomment.el (comment-kill): Prefix "unused" local.
10457 * term/w32console.el (get-screen-color): Declare.
10459 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10460 Handle symbol elements of byte-compile-initial-macro-environment.
10462 2011-05-10 Leo Liu <sdl.web@gmail.com>
10464 * bookmark.el (bookmark-bmenu-mode-map):
10465 Bind bookmark-bmenu-search to `/'.
10467 * mail/footnote.el: Convert to utf-8 encoding.
10468 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10469 (Footnote-unicode): New function.
10470 (footnote-style-alist): Add unicode style to the list.
10471 (footnote-style): Doc fix.
10473 2011-05-10 Jim Meyering <meyering@redhat.com>
10475 Fix doubled-word typos.
10476 * international/quail.el (quail-insert-kbd-layout): and and -> and
10477 * kermit.el: and and -> and
10478 * net/ldap.el (ldap-search-internal): to to -> to
10479 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10480 * progmodes/js.el (js-mode): and and -> and
10481 * textmodes/artist.el (artist-move-to-xy): at at -> at
10482 (artist-draw-region-trim-line-endings): if if -> if
10483 And Safetyc -> Safety.
10484 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10486 2011-05-10 Glenn Morris <rgm@gnu.org>
10487 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * files.el (hack-one-local-variable-eval-safep):
10490 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10492 2011-05-10 Glenn Morris <rgm@gnu.org>
10494 * calendar/diary-lib.el (diary-list-entries-hook)
10495 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10496 (diary-nongregorian-marking-hook, diary-list-entries)
10497 (diary-include-other-diary-files, diary-mark-entries)
10498 (diary-mark-included-diary-files): Doc fixes.
10500 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10502 * misc.el: Require tabulated-list.el during compilation.
10504 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10506 * progmodes/compile.el (compilation-start):
10507 Run compilation-filter-hook for the async case too.
10508 (compilation-filter-hook): Doc fix.
10510 2011-05-09 Deniz Dogan <deniz@dogan.se>
10512 * wdired.el: Remove outdated installation comment. Fix usage
10515 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10517 * misc.el: Implement new command `list-dynamic-libraries'.
10518 (list-dynamic-libraries--loaded-only-p): New variable.
10519 (list-dynamic-libraries--refresh): New function.
10520 (list-dynamic-libraries): New command.
10522 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10524 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10525 Fix the ant regexp to handle end-line and end-column info from jikes.
10526 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10527 higher priority to avoid clobbering by gnu.
10529 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10531 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10532 if the face has existing theme settings (Bug#8454).
10534 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10536 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10537 Only match variables declared via `my' or `our' (Bug#8261).
10539 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10540 special file names `.' and `..' (Bug#8259).
10542 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10544 * progmodes/grep.el (grep-mode-font-lock-keywords):
10545 Remove buffer-changing entries.
10546 (grep-filter): New function.
10547 (grep-mode): Add it to compilation-filter-hook.
10549 * progmodes/compile.el (compilation-filter-hook)
10550 (compilation-filter-start): New defvars.
10551 (compilation-filter): Call compilation-filter-hook prior to
10552 updating the process mark.
10554 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10558 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10560 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10561 mailclient-send-it even if window-system is nil. (Bug#8595)
10563 * term/w32console.el (terminal-init-w32console):
10564 Call get-screen-color and use its output to set the frame
10565 background-mode. (Bug#8597)
10567 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10569 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10570 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10572 (defgeneric, eieio--defmethod): Use them.
10573 (eieio-defgeneric): Remove.
10574 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10576 2011-05-07 Glenn Morris <rgm@gnu.org>
10578 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10579 Use let rather than let*.
10580 (timeclock-find-discrep): Remove unused local.
10582 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10584 * calendar/appt.el (appt-time-msg-list): Doc fix.
10586 2011-05-06 Noah Friedman <friedman@splode.com>
10588 * apropos.el (apropos-print-doc): Only use
10589 emacs-lisp-docstring-fill-column when it is bound to an integer,
10590 per that variable's documentation.
10592 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10594 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10595 and warnings are not silently discarded (e.g. use -d instead of -P).
10597 2011-05-06 Glenn Morris <rgm@gnu.org>
10599 * calendar/appt.el (appt-message-warning-time): Doc fix.
10600 (appt-warning-time-regexp): New option.
10601 (appt-make-list): Respect appt-message-warning-time.
10603 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10605 (diary-add-to-list): Strip comments from the displayed string.
10606 (diary-mode): Set comment-start and comment-end.
10608 * vc/diff-mode.el (smerge-refine-subst): Declare.
10609 (diff-refine-hunk): Don't require smerge-mode when compiling.
10611 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10613 * simple.el (list-processes): Return nil as the docstring says.
10615 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10617 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10619 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10620 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10621 determining of binary transfer. (Bug#7383)
10623 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10626 Fix port computation bug. (Bug#8618)
10628 2011-05-05 Glenn Morris <rgm@gnu.org>
10630 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10632 * simple.el (shell-dynamic-complete-functions)
10633 (comint-dynamic-complete-functions): Declare.
10635 * net/network-stream.el (gnutls-negotiate):
10636 * simple.el (tabulated-list-print): Fix declarations.
10638 * progmodes/gud.el (syntax-symbol, syntax-point):
10639 Remove unnecessary and incorrect declarations.
10641 * emacs-lisp/check-declare.el (check-declare-scan):
10642 Handle byte-compile-initial-macro-environment in bytecomp.el
10644 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10646 Fix earlier half-done eieio-defmethod change (bug#8338).
10647 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10648 Streamline and change calling convention.
10649 (defmethod): Adjust accordingly and simplify.
10650 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10651 new eieio--defmethod.
10652 (slot-boundp): Minor CSE simplification.
10654 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10656 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10657 (glasses-make-readable): Use glasses-separate-capital-groups.
10659 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10661 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10662 (warning-series): Doc fix.
10663 (display-warning): Don't try to create the buffer if we just found it.
10665 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10667 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10668 (autoload-find-generated-file): New function.
10669 (generate-file-autoloads): Bind generated-autoload-file to
10671 (update-file-autoloads, update-directory-autoloads):
10672 Use autoload-find-generated-file. If called interactively, prompt for
10673 output file (Bug#7989).
10674 (batch-update-autoloads): Doc fix.
10676 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10678 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10680 2011-05-04 Glenn Morris <rgm@gnu.org>
10682 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10683 function, so it follows changes in calendar-date-style.
10684 (diary-fancy-date-matcher): New function.
10685 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10686 (diary-fancy-font-lock-fontify-region-function):
10687 Use diary-fancy-date-pattern as a function.
10689 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10690 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10692 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10694 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10695 instead of positional arguments. Allow :keylist and :crlfiles
10697 (open-gnutls-stream): Call it.
10699 * net/network-stream.el (network-stream-open-starttls): Adjust to
10700 call `gnutls-negotiate' with :process and :hostname arguments.
10702 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * minibuffer.el (completion--message): New function.
10705 (completion--do-completion, minibuffer-complete)
10706 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10707 (completion--do-completion): Don't ignore completion-auto-help when in
10710 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10711 internal encoding (e.g. tibetan zero is not whitespace).
10712 (global-whitespace-mode): Prefer save-current-buffer.
10713 (whitespace-trailing-regexp): Remove useless save-match-data.
10714 (whitespace-empty-at-bob-regexp): Minor simplification.
10716 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10718 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10720 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10722 * textmodes/ispell.el (ispell-add-per-file-word-list):
10723 Use `concat' to create string for insertion.
10725 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10728 Avoid open-line which runs post-self-insert-hook.
10729 (bibtex-fill-entry): Remove unused `end' var.
10731 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10733 * textmodes/ispell.el (ispell-add-per-file-word-list):
10734 Protect against `nil' value of `comment-start' (Bug#8579).
10736 2011-05-03 Leo Liu <sdl.web@gmail.com>
10738 * isearch.el (isearch-yank-pop): New command.
10739 (isearch-mode-map): Bind it to `M-y'.
10740 (isearch-forward): Mention it.
10742 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * simple.el (minibuffer-complete-shell-command): Remove.
10745 (minibuffer-local-shell-command-map): Use completion-at-point.
10746 (read-shell-command): Setup completion vars here instead.
10747 (read-expression-map): Bind TAB to symbol completion.
10749 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10750 error directly rather via storing it into `results'.
10752 2011-05-02 Leo Liu <sdl.web@gmail.com>
10754 * vc/diff.el: Fix description.
10756 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10758 * server.el (server-eval-at): New function.
10760 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10762 * net/network-stream.el (open-network-stream): Take a :nowait
10763 parameter and pass it on to `make-network-process'.
10764 (network-stream-open-plain): Ditto.
10766 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10768 * faces.el (face-spec-set-match-display): Don't match toolkit
10769 options on terminal frames.
10771 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * progmodes/pascal.el: Use lexical binding.
10774 (pascal-mode-map): Remove author preferences.
10776 * pcomplete.el (pcomplete-std-complete): Don't abuse
10777 completion-at-point.
10779 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10781 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10782 removing code that has been dead since 1991 or so.
10784 * startup.el (command-line): When warning about "_emacs", use a
10785 delayed warning to allow the user to filter it out.
10787 2011-04-28 Deniz Dogan <deniz@dogan.se>
10789 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10790 user has not joined.
10792 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10795 aren't any completions at point.
10797 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10799 * subr.el (display-delayed-warnings): New function.
10800 (delayed-warnings-hook): New variable.
10802 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * minibuffer.el (completion-at-point, completion-help-at-point):
10805 Don't presume that a given completion-at-point-function will always
10806 use the same calling convention.
10808 * pcomplete.el (pcomplete-completions-at-point):
10809 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10810 pcomplete-seen is non-nil.
10811 (pcomplete-comint-setup): Also recognize the new comint/shell
10812 completion functions.
10813 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10814 pcomplete-seen is non-nil.
10816 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10818 * calendar/icalendar.el (diary-lib): Add require statement.
10819 (icalendar--create-uid): Read out a uid from a text-property on
10820 the first character in the entry. This allows for code to add its
10821 own uid to the entry.
10822 (icalendar--convert-float-to-ical): Add export of
10823 `diary-float'-entries save for those with the optional DAY
10826 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10828 * subr.el (shell-quote-argument): Use alternate escaping strategy
10829 when we spot a variable reference in a string.
10831 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10833 * cus-start.el (all): Define customization for debug-on-event.
10835 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10837 * subr.el (shell-quote-argument): Escape correctly under Windows.
10839 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10843 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10845 * net/tramp.el (tramp-process-actions): Add POS argument.
10846 Delete region between POS and (pos).
10848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10849 Use `nil' position in `tramp-process-actions' call.
10850 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10852 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10853 position in `tramp-process-actions' call.
10855 * net/trampver.el: Update release number.
10857 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * custom.el (defcustom): Obey lexical-binding.
10861 Fix octave-inf completion problems reported by Alexander Klimov.
10862 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10863 Inherit from octave-mode-syntax-table.
10864 (inferior-octave-mode): Set info-lookup-mode.
10865 (inferior-octave-completion-at-point): New function.
10866 (inferior-octave-complete): Use it and completion-in-region.
10867 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10868 comint-filename-completion.
10869 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10870 symbol elements which shouldn't be word elements.
10871 (octave-font-lock-keywords, octave-beginning-of-defun)
10872 (octave-function-header-regexp): Adjust regexps accordingly.
10873 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10875 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10877 * net/gnutls.el (gnutls-errorp): Declare before first use.
10879 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10881 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10882 verify-error, and verify-hostname-error parameters. Check whether
10883 default trustfile exists before going to use it. Add missing
10884 argument to gnutls-message-maybe call. Return value.
10885 Reported by Claudio Bley <claudio.bley@gmail.com>.
10886 (open-gnutls-stream): Add usage example.
10888 * net/network-stream.el (network-stream-open-starttls): Give host
10889 parameter to `gnutls-negotiate'.
10890 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10891 * subr.el (shell-quote-argument): Escape correctly under Windows.
10893 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10895 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10896 Use correct match group (bug#8438).
10898 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10900 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10901 (package-menu--generate): New arg specifying packages to show.
10902 (package-menu-refresh, package-menu-execute, list-packages):
10904 (package-show-package-list): New function, replacing deleted
10905 package--list-packages (renamed because it is non-internal).
10907 * finder.el (finder-list-matches): Use package-show-package-list
10908 instead of deleted package--list-packages.
10910 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10911 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10912 (vc-annotate-mode-map): Bind it to RET.
10914 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10916 * progmodes/etags.el (next-file): Don't use set-buffer to change
10917 buffers (Bug#8478).
10919 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10921 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10923 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10924 (apropos-accumulator): Doc fix.
10925 (apropos-function, apropos-macro, apropos-command)
10926 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10927 (apropos-plist): Add face property.
10928 (apropos-symbols-internal): Fix indentation.
10929 (apropos-print): Simplify help, and recognize apropos-multi-type.
10930 (apropos-print-doc): Use button-type-get to extract the button's
10931 face property. Fill docstring (Bug#8352).
10933 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10935 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10937 * play/mpuz.el (mpuz-silent): Doc fix.
10938 (mpuz-mode-map): Use mapc.
10939 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10940 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10941 Fix typos in docstrings.
10943 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10944 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10946 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10948 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10950 * minibuffer.el (completion--do-completion): Avoid the "Next char
10951 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10953 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10954 mouse-2 into unread-command-events, it is interpreted correctly.
10956 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10957 (image-toggle-display): Doc fix.
10959 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10961 * textmodes/page.el (what-page): Use line-number-at-pos to
10962 calculate line number (Bug#6825).
10964 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10966 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10967 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10968 Pass argument NO-DEFAULT to `find-tag-interactive'.
10970 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10972 Lexical-binding cleanup.
10974 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10975 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10976 * progmodes/ada-prj.el (ada-prj-initialize-values)
10977 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10978 (ada-prj-show-value):
10979 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10980 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10981 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10982 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10983 * progmodes/bug-reference.el (bug-reference-push-button):
10984 * progmodes/fortran.el (fortran-line-length):
10985 * progmodes/glasses.el (glasses-change):
10986 * progmodes/octave-mod.el (octave-fill-paragraph):
10987 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10988 (python-pdbtrack-grub-for-buffer, python-sentinel):
10989 * progmodes/sql.el (sql-save-connection):
10990 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10991 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10992 Mark unused parameters.
10994 * progmodes/compile.el (compilation--flush-directory-cache)
10995 (compilation--flush-parse, compile-internal): Mark unused parameters.
10996 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10997 (compilation-next-error-function): Remove unused variable `timestamp'.
10999 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11000 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11002 * progmodes/dcl-mode.el (dcl-end-of-command):
11003 Remove unused variable `start'.
11004 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11005 (dcl-option-value-basic, dcl-option-value-offset)
11006 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11007 Mark unused parameters.
11008 (dcl-save-local-variable): Remove unused variable `val'.
11011 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11012 Mark unused parameters.
11013 (delphi-ignore-changes): Move before first use.
11014 (delphi-charset-token-at): Remove unused variable `start'.
11015 (delphi-else-start): Remove unused variable `if-count'.
11016 (delphi-comment-block-start, delphi-comment-block-end):
11017 Remove unused variable `kind'.
11018 (delphi-indent-line): Remove unused variable `new-point'.
11020 * progmodes/ebrowse.el (ebrowse-files-list)
11021 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11022 Mark unused parameters. Don't quote `lambda'.
11023 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11024 Don't quote `lambda'.
11025 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11026 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11027 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11028 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11029 Use `ignore-errors'.
11030 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11031 (ebrowse-view/find-file-and-search-pattern)
11032 (ebrowse-view/find-member-declaration/definition):
11033 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11034 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11035 Rename parameter PREFIX-ARG to PREFIX.
11036 (ebrowse-tags-read-name): Remove unused variables `start' and
11038 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11041 * progmodes/etags.el (local-find-tag-hook): Declare.
11042 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11043 Mark unused parameters.
11045 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11046 (executable-interpret): Mark unused parameter.
11048 * progmodes/flymake.el (flymake-process-sentinel)
11049 (flymake-after-change-function)
11050 (flymake-create-temp-with-folder-structure)
11051 (flymake-get-include-dirs-dot): Mark unused parameters.
11052 (flymake-safe-delete-directory): Remove unused variable `err'.
11054 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11055 (speedbar-timer-fn, speedbar-line-text)
11056 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11057 (speedbar-center-buffer-smartly): Declare functions.
11058 (gdb-find-watch-expression): Remove unused variable `array'.
11059 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11060 (gdb-starting): Mark unused parameters.
11061 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11062 (gdb-table-string): Remove unused variable `res'.
11063 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11064 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11065 (gdb-display-buffer): Remove unused variable `cur-size'.
11067 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11068 allow lexical-binding compilation.
11069 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11070 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11071 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11072 Mark unused parameters.
11073 (gud-gdb-marker-filter): Remove unused variable `match'.
11074 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11075 lambda expressions and funcall them, instead of using `fset'.
11077 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11078 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11080 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11081 variable `header-beg'; use `let'.
11083 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11084 `restart', `last-sexp' and `at-do'.
11086 * progmodes/js.el (js--debug): Mark unused parameter.
11087 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11088 (js--splice-into-items): Remove unused variable `item'.
11089 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11091 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11092 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11093 (makefile-complete): Remove unused variable `try'.
11094 (makefile-fill-paragraph, makefile-match-function-end):
11095 Mark unused parameters.
11097 * progmodes/octave-inf.el (inferior-octave-complete):
11098 Remove unused variable `proc'.
11099 (inferior-octave-output-digest): Mark unused parameter.
11101 * progmodes/perl-mode.el (perl-calculate-indent):
11102 Remove unused variable `err'.
11104 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11105 (prolog-indent-line): Mark unused parameters.
11106 (prolog-indent-line): Remove unused variable `beg'.
11108 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11109 (reporter-dont-compact-list): Declare.
11111 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11112 Remove unused variable `char'.
11113 (sh-debug): Mark unused parameter.
11114 (sh-get-indent-info): Remove unused variable `start'.
11115 (sh-calculate-indent): Remove unused variable `var'.
11117 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11118 (simula-electric-keyword): Remove unused variable `null'.
11119 (simula-search-backward, simula-search-forward): Remove unused
11120 variables `begin' and `end'.
11122 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11123 Remove unused variable `pos'.
11124 (vera-electric-tab, vera-comment-uncomment-region):
11125 Mark unused parameters.
11126 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11128 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11130 * emacs-lisp/package.el (package--builtins, package-alist)
11131 (package-load-descriptor, package-built-in-p, package-activate)
11132 (define-package, package-installed-p)
11133 (package-compute-transaction, package-buffer-info)
11134 (package--push): Doc fix. Distinguish more clearly between
11135 version strings and version lists.
11137 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11139 Lexical-binding cleanup.
11141 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11142 (5x5-make-mutate-best):
11143 * play/fortune.el (fortune-in-buffer):
11144 * play/gomoku.el (gomoku-init-display):
11145 * play/solitaire.el (solitaire, solitaire-do-check):
11146 * play/tetris.el (tetris-default-update-speed-function):
11147 Mark unused parameters.
11149 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11150 (bubbles--shift): Remove unused variable `char-org'.
11151 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11152 (bubbles--show-images): Remove unused variable `char'.
11154 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11155 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11156 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11157 (decipher-analyze-buffer): Use ?\s.
11158 (decipher-make-checkpoint): Remove unused variable `mapping'.
11160 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11162 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11163 Remove unused variable `result'; use `let'.
11165 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11166 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11167 (gametree-children-shown-p, gametree-compute-reduced-score):
11168 Use `ignore-errors'.
11170 * play/handwrite.el (ps-lpr-switches): Declare.
11171 (handwrite): Remove unused variables `pmin' and `lastp'.
11173 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11175 * play/landmark.el (landmark-init-display)
11176 (landmark-update-naught-weights): Mark unused parameters.
11177 (landmark-y): Remove unused variable `noise'. Simplify.
11178 (landmark-human-plays): Remove unused variable `score'.
11180 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11181 (mpuz-try-proposal): Remove unused variable `game'.
11183 * play/zone.el (life-patterns): Declare.
11185 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11187 * vc/vc.el (ediff-vc-internal): Declare function.
11189 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11191 * shell.el: Use lexical-binding and std completion UI.
11192 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11193 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11194 comint-preoutput-filter-functions rather than on
11195 comint-output-filter-functions.
11196 (shell-command-completion, shell--command-completion-data)
11197 (shell-filename-completion, shell-environment-variable-completion)
11198 (shell-c-a-p-replace-by-expanded-directory): New functions.
11199 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11200 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11201 (shell-dynamic-complete-environment-variable): Use them.
11202 (shell-dynamic-complete-as-environment-variable)
11203 (shell-dynamic-complete-as-command): Remove.
11204 (shell-match-partial-variable): Match past point.
11205 * comint.el: Clean up use of completion-at-point-functions.
11206 (comint-completion-at-point): New function.
11207 (comint-mode): Use it completion-at-point-functions.
11208 (comint-dynamic-complete): Make it obsolete.
11209 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11210 (comint-c-a-p-replace-by-expanded-history): New function.
11211 (comint-dynamic-complete-functions)
11212 (comint-replace-by-expanded-history): Use it.
11213 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11214 termination strings. Try harder to avoid second try-completion.
11215 (completion-in-region-mode-map): Disable bindings that don't work yet.
11217 * comint.el: Use lexical-binding. Require CL.
11218 (comint-dynamic-complete-functions): Use comint-filename-completion.
11219 (comint-completion-addsuffix): Tweak custom type.
11220 (comint-filename-completion, comint--common-suffix)
11221 (comint--common-quoted-suffix, comint--table-subvert)
11222 (comint--complete-file-name-data): New functions.
11223 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11224 (comint-dynamic-list-filename-completions): Use them.
11225 (comint-dynamic-simple-complete): Make obsolete.
11227 * minibuffer.el (completion-in-region-mode):
11228 Keep completion-in-region-mode--predicate global.
11229 (completion-in-region--postch):
11230 Assume completion-in-region-mode--predicate is not null.
11232 * progmodes/flymake.el (flymake-start-syntax-check-process):
11233 Obey `dir'. Simplify.
11235 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11236 we're in VC after all.
11238 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11240 * vc/vc.el (vc-diff-build-argument-list-internal)
11241 (vc-version-ediff, vc-ediff): New commands.
11242 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11244 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11246 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11249 * obsolete/erc-hecomplete.el: Make obsolete.
11250 * obsolete/: Standardize obsolescence info in the header.
11252 2011-04-20 Glenn Morris <rgm@gnu.org>
11254 * calendar/solar.el (solar-horizontal-coordinates):
11255 Use the longitude argument rather than `calendar-longitude'.
11256 (solar-date-next-longitude): Remove unused locals.
11258 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11260 * whitespace.el: New version 13.2.1.
11262 2011-04-20 felix <EmacsWiki> (tiny change)
11264 * whitespace.el (global-whitespace-mode): Keep highlight when
11265 switching between major modes on a file.
11267 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11270 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11271 multi-line comments as well.
11273 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11275 Lexical-binding cleanup.
11277 * arc-mode.el (archive-mode-revert):
11278 * cmuscheme.el (scheme-interactively-start-process):
11279 * custom.el (custom-initialize-delay):
11280 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11281 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11282 * emacs-lock.el (emacs-lock-clear-sentinel):
11283 * ezimage.el (defezimage):
11284 * follow.el (follow-avoid-tail-recenter):
11285 * fringe.el (set-fringe-mode-1):
11286 * generic-x.el (bat-generic-mode-compile):
11287 * help-mode.el (help-info-variable, help-do-xref)
11288 (help-mode-revert-buffer):
11289 * help.el (view-emacs-todo):
11290 * iswitchb.el (iswitchb-completion-help):
11291 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11292 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11293 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11294 * locate.el (locate-update):
11295 * longlines.el (longlines-encode-region)
11296 (longlines-after-change-function):
11297 * outline.el (outline-isearch-open-invisible):
11298 * ps-def.el (declare-function, charset-dimension, char-width)
11300 * ps-mule.el (ps-mule-plot-string):
11301 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11302 (recentf-edit-list-select, recentf-edit-list-validate)
11303 (recentf-open-files-action):
11304 * rect.el (delete-whitespace-rectangle-line)
11305 (rectangle-number-line-callback):
11306 * register.el (window-configuration-to-register)
11307 (frame-configuration-to-register):
11308 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11309 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11310 (xselect-convert-to-targets, xselect-convert-to-delete)
11311 (xselect-convert-to-filename, xselect-convert-to-charpos)
11312 (xselect-convert-to-lineno, xselect-convert-to-colno)
11313 (xselect-convert-to-os, xselect-convert-to-host)
11314 (xselect-convert-to-user, xselect-convert-to-class)
11315 (xselect-convert-to-name, xselect-convert-to-integer)
11316 (xselect-convert-to-atom, xselect-convert-to-identity):
11317 * subr.el (declare, ignore, process-kill-without-query)
11318 (text-clone-maintain):
11319 * terminal.el (te-get-char, te-tic-sentinel):
11320 * tool-bar.el (tool-bar-make-keymap):
11321 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11322 * type-break.el (type-break-mode, type-break-noninteractive-query):
11323 * view.el (View-back-to-mark):
11324 * wid-browse.el (widget-browse-action, widget-browse-widget)
11325 (widget-browse-widgets, widget-browse-sexp):
11326 * widget.el (define-widget-keywords):
11327 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11328 Mark unused parameters.
11330 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11331 (align-areas): Remove unused variable `look'.
11332 (align-region): Remove unused variables `real-end' and `pos-list'.
11334 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11336 * bindings.el (mode-line-modified, mode-line-remote):
11337 Mark unused parameters.
11338 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11340 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11341 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11343 * comint.el (comint-history-isearch-pop-state)
11344 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11345 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11346 (comint-substitute-in-file-name): Doc fix.
11348 * completion.el (cmpl-statistics-block): Mark unused parameter.
11349 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11350 (save-completions-to-file, load-completions-from-file):
11351 Remove unused local variable `e'.
11353 * composite.el (compose-chars): Remove unused variable `len'.
11354 (lgstring-insert-glyph): Remove unused variable `g'.
11355 (compose-glyph-string): Remove unused variables `ascent',
11356 `descent', `lbearing' and `rbearing'.
11357 (compose-glyph-string-relative): Remove unused variables
11358 `lbearing', `rbearing' and `wadjust'.
11359 (compose-gstring-for-graphic): Remove unused variables `header',
11360 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11361 (compose-gstring-for-terminal): Remove unused variables `header'
11362 and `nchars'. Use `let', not `let*'.
11364 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11365 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11366 (Custom-buffer-done, custom-buffer-create-internal)
11367 (custom-browse-visibility-action, custom-browse-group-tag-action)
11368 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11369 (widget-magic-mouse-down-action, custom-toggle-parent)
11370 (custom-add-parent-links, custom-toggle-hide-variable)
11371 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11372 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11373 (custom-face-menu-create, custom-variable-menu-create, get)
11374 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11375 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11376 (customize-apropos): Remove unused variable `tests'.
11377 (custom-group-value-create): Remove unused variable `hidden-p'.
11378 (sort-fold-case): Declare.
11380 * cus-theme.el (custom-reset-standard-faces-list)
11381 (custom-reset-standard-variables-list): Declare.
11382 (customize-create-theme, custom-theme-revert, custom-theme-write)
11383 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11384 Mark unused parameters.
11386 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11388 * delim-col.el (delimit-columns-max): Move defvar before first use.
11390 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11391 (describe-char): Don't quote `lambda'. Mark unused parameter.
11393 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11394 (auto-insert): Declare.
11395 (desktop-restore-file-buffer): Rename desktop-* parameters;
11397 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11398 (desktop-buffer): Rename desktop-* parameters.
11400 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11401 (dframe-reposition-frame-xemacs, dframe-help-echo)
11402 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11403 Mark unused parameters.
11405 * dired-aux.el (backup-extract-version-start, overwrite-query)
11406 (overwrite-backup-query, rename-regexp-query)
11407 (rename-non-directory-query): Declare.
11408 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11409 (dired-add-entry): Remove unused variable `orig-file-name'.
11410 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11411 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11412 `dired-copy-preserve-time' directly.
11413 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11414 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11416 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11417 (dired-virtual-revert, dired-make-relative-symlink):
11418 Mark unused parameters.
11419 (manual-program): Declare.
11420 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11421 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11422 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11424 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11426 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11428 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11431 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11433 * electric.el (Electric-command-loop): Rename parameter
11434 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11436 * expand.el (expand-in-literal): Remove unused variable `here'.
11438 * facemenu.el (facemenu-add-new-color):
11439 Remove unused variable `docstring'.
11441 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11442 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11443 (face-attr-construct): Mark unused parameter. Doc fix.
11444 (read-color): Remove unused variable `hex-string'.
11446 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11447 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11448 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11449 (display-buffer-other-frame): Remove unused variable `old-window'.
11450 (kill-buffer-hook): Declare.
11451 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11452 Mark unused parameters.
11453 (after-find-file): Pass 1 to `auto-save-mode', not t.
11455 * files-x.el (auto-insert): Declare.
11456 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11458 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11459 variable `buf'. Mark unused parameter.
11460 (find-lisp-insert-directory): Mark unused parameter.
11462 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11463 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11464 (format-common-tail): Remove, unused.
11465 (format-deannotate-region): Remove unused variable `loc'.
11466 (format-annotate-region): Remove unused variable `p'.
11467 (format-annotate-single-property-change): Remove unused variables
11468 `default' and `tail'.
11470 * forms.el (read-file-filter): Declare.
11471 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11473 * frame.el (frame-creation-function-alist): Mark unused parameter.
11474 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11476 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11477 Remove unused parameters.
11478 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11479 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11481 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11482 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11483 (hfy-prepare-tag-map): Mark unused parameters.
11484 (htmlfontify-buffer): Use `called-interactively-p'.
11486 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11487 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11488 (ibuffer-do-occur): Mark unused parameters.
11489 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11490 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11492 * ibuffer.el: Don't quote `lambda'.
11493 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11494 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11495 Mark unused parameters.
11497 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11498 (ido-completing-read): Mark unused parameters.
11499 (ido-copy-current-word): Mark unused parameters;
11500 remove unused variable `name'.
11501 (ido-sort-merged-list): Remove unused parameter `dirs'.
11503 * ielm.el (ielm-input-sender): Mark unused parameter.
11504 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11505 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11506 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11507 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11508 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11510 * image-dired.el (image-dired-display-thumbs): Remove unused
11511 variables `curr-file' and `count'.
11512 (image-dired-remove-tag): Remove unused variable `start'.
11513 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11514 variable `curr-file'
11515 (image-dired-rotate-original): Remove unused variable `temp-file'.
11516 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11517 Remove unused variable `file'.
11518 (image-dired-gallery-generate): Remove unused variable `curr'.
11519 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11521 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11523 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11525 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11527 * isearch.el (minibuffer-history-symbol): Declare.
11528 (isearch-edit-string): Remove unused variable `err'.
11529 (isearch-message-prefix, isearch-message-suffix):
11530 Mark unused parameters.
11532 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11534 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11536 * makesum.el (double-column): Remove unused variable `cnt'.
11538 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11539 (ido-ignore-item-temp-list): Declare.
11541 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11542 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11543 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11544 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11547 * mouse-sel.el (mouse-extend-internal):
11548 Remove unused variable `orig-window-frame'.
11550 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11551 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11552 Move declarations before first use.
11553 (pcomplete-opt): Mark unused parameters; doc fix.
11555 * proced.el (proced-revert): Mark unused parameter.
11556 (proced-send-signal): Remove unused variable `err'.
11558 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11559 Rename parameter PREFIX-ARG to ARG.
11560 (ps-basic-plot-string, ps-basic-plot-whitespace):
11561 Mark unused parameters.
11563 * replace.el (replace-count): Define.
11564 (occur-revert-function): Mark unused parameters.
11565 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11566 (isearch-case-fold-search, isearch-string): Declare.
11567 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11568 bind `case-fold-search'. Remove unused variables `beg' and `end',
11570 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11571 COUNT and bind `replace-count'.
11572 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11575 * savehist.el (print-readably, print-string-length): Declare.
11577 * shadowfile.el (shadow-expand-cluster-in-file-name):
11578 Remove unused variable `cluster'.
11579 (shadow-copy-file): Remove unused variable `i'.
11580 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11581 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11582 (shadow-define-literal-group, shadow-define-regexp-group)
11583 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11585 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11586 (shell): Use `called-interactively-p'.
11587 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11589 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11590 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11591 (delete-backward-char): Remove unused variable `ocol'.
11592 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11593 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11594 (event-apply-hyper-modifier, event-apply-shift-modifier)
11595 (event-apply-control-modifier, event-apply-meta-modifier):
11596 Mark unused parameters.
11597 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11598 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11600 * speedbar.el (speedbar-ignored-directory-expressions)
11601 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11602 (speedbar-find-file, speedbar-dir-follow)
11603 (speedbar-directory-buttons-follow, speedbar-tag-find)
11604 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11605 (speedbar-buffers-line-directory, speedbar-buffer-click):
11606 Mark unused parameters.
11607 (speedbar-tag-file): Remove unused variable `mode'.
11608 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11610 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11612 * talk.el (talk): Remove unused variable `display'.
11614 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11615 (tar-write-region-annotate): Mark unused parameter.
11617 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11618 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11619 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11620 warning by another.
11622 * time-stamp.el (time-stamp-string-preprocess):
11623 Remove unused variable `require-padding'.
11625 * tree-widget.el (widget-glyph-enable): Declare.
11626 (tree-widget-action): Mark unused parameter.
11628 * w32-fns.el (x-get-selection): Mark unused parameter.
11629 (autoload-make-program, generated-autoload-file): Declare.
11631 * wdired.el (wdired-revert): Mark unused parameters.
11632 (wdired-xcase-word): Remove unused variable `err'.
11634 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11635 (whitespace-help-scroll): Remove unused variable `data-help'.
11637 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11638 (widget-image-insert, widget-after-change, default)
11639 (widget-default-format-handler, widget-default-notify)
11640 (widget-default-prompt-value, widget-info-link-action)
11641 (widget-url-link-action, widget-function-link-action)
11642 (widget-variable-link-action, widget-file-link-action)
11643 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11644 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11645 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11646 (widget-insert-button-action, widget-delete-button-action, visibility)
11647 (widget-documentation-link-action, widget-documentation-string-action)
11648 (widget-const-prompt-value, widget-regexp-match, symbol)
11649 (widget-coding-system-prompt-value)
11650 (widget-key-sequence-value-to-external, sexp)
11651 (widget-sexp-value-to-internal, character, vector, cons)
11652 (widget-choice-prompt-value, widget-boolean-prompt-value)
11653 (widget-color--choose-action): Mark unused parameters.
11654 (widget-item-match-inline, widget-choice-match-inline)
11655 (widget-checklist-match, widget-checklist-match-inline)
11656 (widget-group-match): Rename parameter VALUES to VALS.
11657 (widget-field-value-set): Remove unused variable `size'.
11658 (widget-color-action): Remove unused variables `value' and `start'.
11660 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11661 variable `dir'. Doc fix.
11662 (windmove-find-other-window): Don't pass it.
11664 * window.el (count-windows): Mark unused parameter.
11665 (bw-adjust-window): Remove unused variable `err'.
11667 * woman.el (woman-file-name): Remove unused variable `default'.
11668 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11669 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11670 (global-font-lock-mode): Declare.
11671 (woman-decode-region): Mark unused parameter.
11672 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11674 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11675 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11676 (x-dnd-handle-moz-url): Remove unused variable `title'.
11677 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11679 * xml.el (xml-parse-tag, xml-parse-attlist):
11680 Remove unused variable `pos'.
11682 2011-04-19 Glenn Morris <rgm@gnu.org>
11684 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11685 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11686 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11687 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11688 * calendar/cal-html.el (cal-html-insert-minical):
11689 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11690 (calendar-mark-date-pattern):
11691 Prefix "unused" locals.
11693 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11694 optional argument `style'.
11696 * calendar/appt.el (appt-make-list):
11697 * calendar/cal-china.el (calendar-chinese-date-string):
11698 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11699 (diary-hebrew-yahrzeit):
11700 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11701 * calendar/calendar.el (calendar-generate-window):
11702 * calendar/time-date.el (time-to-days):
11703 Remove unused local variables.
11705 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11707 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11708 glyphless-char-display table.
11709 (tabulated-list-glyphless-char-display): New var.
11711 2011-04-18 Sam Steingold <sds@gnu.org>
11713 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11714 to acknowledgments.
11716 2011-04-17 Glenn Morris <rgm@gnu.org>
11718 * calendar/diary-lib.el (diary-sexp-entry):
11719 * calendar/holidays.el (holiday-sexp):
11720 Set debug-on-error rather than the removed stack-trace-on-error.
11722 2011-04-16 Glenn Morris <rgm@gnu.org>
11724 * progmodes/f90.el: Use lexical-binding.
11725 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11727 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11729 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11730 (mail-mode): Setup mailalias completion here instead.
11731 * mail/mailalias.el: Use lexical-binding.
11732 (pattern, mailalias-done): Declare dynamic.
11733 (mail-completion-at-point-function): New function, from mail-complete.
11734 (mail-complete): Use it.
11735 (mail-completion-expand): New function.
11736 (mail-get-names): Use it.
11737 (mail-directory, mail-directory-process, mail-directory-stream):
11738 Don't use `pattern' for lexically bound arg.
11740 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11742 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11743 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11744 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11746 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11747 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11748 (byte-interactive-p): Define them again, for use when inlining
11751 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11753 * loadup.el: Use `string-to-number', not `string-to-int'.
11755 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11758 gud-gdb-complete-command.
11759 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11760 (gud-gdb-completion-at-point): New function.
11761 (gud-gdb-completions): Remove.
11763 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11765 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11766 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11767 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11768 whether `executable-find' is bound.
11770 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11772 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * minibuffer.el (completion-in-region-mode-predicate)
11775 (completion-in-region-mode--predicate): New vars.
11776 (completion-in-region, completion-in-region--postch)
11777 (completion-in-region-mode): Use them.
11778 (completion--capf-wrapper): Also return the hook function.
11779 (completion-at-point, completion-help-at-point):
11780 Adjust and provide a predicate.
11782 Preserve arg names for advice of subr and lexical functions (bug#8457).
11783 * help-fns.el (help-function-arglist): Consolidate the subr and
11784 new-byte-code cases. Add argument `preserve-names' to extract names
11785 from the docstring when needed.
11786 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11787 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11788 (ad-arglist): Use help-function-arglist's new arg.
11789 (ad-definition-type): Use cond.
11791 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11793 * autorevert.el (auto-revert-handler):
11794 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11795 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11796 Don't quote lambda.
11798 * image-mode.el (image-transform-set-scale):
11799 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11801 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11803 * net/network-stream.el (network-stream-open-starttls): Only do
11804 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11805 Upgrades via gnutls-cli are too slow to be done opportunistically.
11807 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11809 * dframe.el (dframe-current-frame): Remove spurious quote.
11811 2011-04-12 Glenn Morris <rgm@gnu.org>
11813 * calendar/cal-tex.el (cal-tex-end-document):
11814 Try to automatically use latin1 input if needed.
11816 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11817 Don't try to cons a mark onto an empty element.
11819 2011-04-11 Leo Liu <sdl.web@gmail.com>
11821 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11823 (ido-kill-buffer-at-head): Support killing virtual buffers.
11825 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11827 * minibuffer.el (completion-show-inline-help): New var.
11828 (completion--do-completion, minibuffer-complete)
11829 (minibuffer-force-complete, minibuffer-complete-word):
11830 Inhibit minibuffer messages if completion-show-inline-help is nil.
11832 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11833 to avoid interference from inline help (Bug#5849).
11835 2011-04-10 Leo Liu <sdl.web@gmail.com>
11837 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11840 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11842 * image-mode.el (image-toggle-display-image): Signal an error if
11844 (image-transform-mode, image-transform-resize)
11845 (image-transform-set-rotation): Doc fix.
11846 (image-transform-set-resize): Delete.
11847 (image-transform-set-scale, image-transform-fit-to-height)
11848 (image-transform-fit-to-width): Handle image-toggle-display-image
11849 and image-transform-resize directly.
11851 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11853 * doc-view.el (doc-view-fit-width-to-window)
11854 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11855 New functions for fitting the shown image to the Emacs window size.
11856 (doc-view-mode-map): Add bindings for the new functions.
11858 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11860 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11861 Fix typo in docstring.
11863 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11865 * files.el (file-size-human-readable): Produce one digit after
11866 decimal, like "ls -lh" does.
11868 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11869 the file size representation.
11871 * simple.el (list-processes): If async subprocesses are not
11872 available, error out with a clear error message.
11874 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11876 * help.el (help-form-show): New function, to be called from C.
11877 Put help-form output in a buffer named differently than *Help*.
11879 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11881 * files.el (file-size-human-readable): New function.
11883 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11884 computing the representation inline. Don't require `cl'.
11886 2011-04-08 Glenn Morris <rgm@gnu.org>
11888 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11890 * net/browse-url.el (browse-url-firefox):
11891 Test system-type, not system-configuration.
11893 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11894 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11895 Use log-edit-empty-buffer-p. (Bug#7598)
11897 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11898 (rlogin-mode-map): Initialize in the defvar.
11899 (rlogin): Use ignore-errors.
11901 * replace.el (occur-mode-map): Some fixes for menu items.
11903 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11905 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11907 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11909 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11910 issuing unused warnings.
11912 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11915 * simple.el: Lisp reimplement of list-processes. Based on an
11916 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11917 (process-menu-mode): New major mode.
11918 (list-processes--refresh, list-processes):
11919 (process-menu-visit-buffer): New functions.
11921 * files.el (save-buffers-kill-emacs): Don't assume any return
11922 value of list-processes, which is undocumented anyway.
11924 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11926 * emacs-lisp/tabulated-list.el: New file.
11928 * emacs-lisp/package.el: Use Tabulated List mode.
11929 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11930 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11931 table format using Tabulated List mode variables.
11932 (package--push): New macro, replacing package-list-maybe-add.
11933 (package-menu--generate): Use package--push. Renamed from
11934 package--generate-package-list.
11935 (package-menu-refresh, list-packages): Use it.
11936 (package-menu--print-info): Rename from package-print-package.
11937 Return insertion data instead of inserting it directly.
11938 (package-menu-describe-package, package-menu-execute):
11939 Use tabulated-list-get-id.
11940 (package-menu-mark-delete, package-menu-mark-install)
11941 (package-menu-mark-unmark, package-menu-backup-unmark)
11942 (package-menu-mark-obsolete-for-deletion):
11943 Use tabulated-list-put-tag.
11944 (package--list-packages, package-menu-revert)
11945 (package-menu-get-package, package-menu-get-version)
11946 (package-menu-sort-by-column): Functions deleted.
11947 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11948 (package-menu--status-predicate, package-menu--version-predicate)
11949 (package-menu--name-predicate)
11950 (package-menu--description-predicate): Handle arguments in the
11951 Tabulated List format.
11952 (package-list-packages-no-fetch): Call list-packages.
11954 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11956 * files.el (after-find-file-from-revert-buffer): Remove variable.
11957 (after-find-file): Don't bind it.
11958 (revert-buffer-in-progress-p): New variable.
11959 (revert-buffer): Bind it.
11960 Pass nil for `after-find-file-from-revert-buffer'.
11962 * saveplace.el (save-place-find-file-hook): Use new variable
11963 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11965 2011-04-06 Glenn Morris <rgm@gnu.org>
11967 * Makefile.in (AUTOGEN_VCS): New variable.
11968 (autoloads): Use $AUTOGEN_VCS.
11970 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11971 * calendar/calendar.el (calendar-mode-map):
11972 Check for toolkit scroll bars. (Bug#8305)
11974 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11976 * minibuffer.el (completion-in-region--postch)
11977 (completion-in-region-mode): Remove unnecessary messages.
11979 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11981 * font-lock.el (font-lock-refresh-defaults):
11982 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11983 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11985 * info.el (Info-directory-list, Info-read-node-name-2)
11986 (Info-split-parameter-string): Doc fixes.
11987 (Info-virtual-nodes): Reflow docstring.
11988 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11989 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11990 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11991 Fix typos in docstrings.
11992 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11993 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11994 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11995 (Info-restore-desktop-buffer): Mark unused parameters.
11996 (Info-directory-find-file, Info-directory-find-node)
11997 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11998 (Info-virtual-index-find-node, Info-apropos-find-file)
11999 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12000 Mark unused parameters; fix typos in docstrings.
12001 (Info-virtual-index): Remove unused local variable `nodename'.
12003 2011-04-05 Deniz Dogan <deniz@dogan.se>
12005 * net/rcirc.el: Update my e-mail address.
12006 (rcirc-mode-map): Remove M-o binding.
12008 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12010 * startup.el (command-line): Save the cursor's theme-face
12011 directly, instead of using face-override-spec.
12013 * custom.el (load-theme): Minor optimization in assigning faces.
12015 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12017 * help-fns.el (describe-variable): Complete all variables having
12018 documentation, including keywords.
12019 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12021 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12023 Convert to lexical-binding.
12025 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12026 (bs--get-marked-string, bs--get-modified-string)
12027 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12028 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12029 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12031 * ehelp.el (electric-help-execute-extended)
12032 (electric-help-ctrl-x-prefix):
12033 * hexl.el (hexl-revert-buffer-function):
12034 * linum.el (linum-after-change, linum-after-scroll):
12035 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12037 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12039 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12046 * epg.el: Use lexical binding.
12048 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12050 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12052 * textmodes/flyspell.el (flyspell-word): Recognize default
12053 dictionary case for flyspell-mark-duplications-exceptions.
12054 Use regexp matching for languages.
12055 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12056 default dictionary (Bug#7926).
12058 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12060 * emacs-lisp/package.el (package--with-work-buffer):
12061 Recognize https URLs.
12063 * net/network-stream.el: Move from gnus/proto-stream.el.
12064 Change prefix to network-stream throughout.
12065 (open-protocol-stream): Merge into open-network-stream, leaving
12066 open-protocol-stream as an alias. Handle nil BUFFER args.
12068 * subr.el (open-network-stream): Move to net/network-stream.el.
12070 2011-04-02 Glenn Morris <rgm@gnu.org>
12072 * find-dired.el (find-exec-terminator): New option.
12073 (find-ls-option): Test for -ls support.
12074 (find-ls-subdir-switches): Test for -b in find-ls-option.
12075 (find-dired, find-grep-dired): Doc fixes.
12076 (find-dired): Use find-exec-terminator.
12078 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12079 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12080 (find-name-arg): Remove purecopy.
12082 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12083 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12084 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12085 accordingly. Don't add the null-device if not needed.
12087 * files.el (save-some-buffers): Doc fix.
12089 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12091 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12093 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12095 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12096 Use `dolist' rather than `mapcar'.
12098 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12100 Add lexical binding.
12102 * subr.el (apply-partially): Use new closures rather than CL.
12103 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12104 (dolist, dotimes): Use slightly different expansion for lexical code.
12105 (functionp): Move to C.
12106 (letrec): New macro.
12107 (with-wrapper-hook): Use it and apply-partially instead of CL.
12108 (eval-after-load): Preserve lexical-binding.
12109 (save-window-excursion, with-output-to-temp-buffer): Turn them
12112 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12114 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12116 (help-add-fundoc-usage): Don't add `Not documented'.
12117 (help-function-arglist): Handle closures, subroutines, and new
12118 byte-code-functions.
12119 (help-make-usage): Remove leading underscores.
12120 (describe-function-1): Handle closures.
12121 (describe-variable): Use special-variable-p for completion.
12123 * files.el (lexical-binding): Declare safe.
12125 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12126 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12127 (pcase): Add `let' pattern.
12128 Change memoization so it actually works.
12129 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12130 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12133 * emacs-lisp/macroexp.el: Use lexical binding.
12134 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12135 Don't convert ' to #' without checking that it's indeed quoting
12138 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12139 Use eval-sexp-add-defvars.
12140 (eval-sexp-add-defvars): New fun.
12142 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12144 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12146 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12147 than the internal `byte-compile-lambda'.
12148 (defmethod): Don't hide code under quotes.
12149 (eieio-defmethod): New `code' argument.
12151 * emacs-lisp/eieio-comp.el: Remove.
12153 * emacs-lisp/edebug.el (edebug-eval-defun)
12154 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12155 (edebug-toggle): Avoid `eval'.
12157 * emacs-lisp/disass.el (disassemble-internal): Handle new
12159 (disassemble-1): Handle new byte codes.
12161 * emacs-lisp/cl.el (pushnew): Silence warning.
12163 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12164 (cl-byte-compile-throw): Remove.
12165 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12167 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12170 * emacs-lisp/cconv.el: New file.
12172 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12173 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12174 (byte-compile-initial-macro-environment):
12175 Handle declare-function here.
12176 (byte-compile--lexical-environment): New var.
12177 (byte-stack-ref, byte-stack-set, byte-discardN)
12178 (byte-discardN-preserve-tos): New lap codes.
12179 (byte-interactive-p): Don't use any more.
12180 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12182 (byte-compile-lapcode): Use them and handle new lap codes.
12183 (byte-compile-obsolete): Remove.
12184 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12185 (byte-compile-arglist-warn): Check late def of inlinable funs.
12186 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12187 since they should have been expanded by now.
12188 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12189 (byte-compile-from-buffer): Remove unused second arg.
12190 (byte-compile-preprocess): New function.
12191 (byte-compile-toplevel-file-form): New function to distinguish
12192 file-form calls from outside from file-form calls from hunk-handlers.
12193 (byte-compile-file-form): Simplify.
12194 (byte-compile-file-form-defsubst): Remove.
12195 (byte-compile-file-form-defmumble): Simplify now that
12196 byte-compile-lambda always returns a byte-code-function.
12197 (byte-compile): Preprocess.
12198 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12199 Remove, not used any more.
12200 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12201 (byte-compile-make-args-desc): New funs.
12202 (byte-compile-lambda): Handle lexical functions. Always return
12203 a byte-code-function.
12204 (byte-compile-reserved-constants): New var, to make up room for
12205 closed-over variables.
12206 (byte-compile-constants-vector): Obey it.
12207 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12208 (byte-compile-macroexpand-declare-function): New function.
12209 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12210 byte-code-functions.
12211 (byte-compile-form): Check obsolescence here.
12212 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12213 (byte-compile-variable-ref): Remove.
12214 (byte-compile-dynamic-variable-op): New fun.
12215 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12216 (byte-compile-variable-set): New funs.
12217 (byte-compile-discard): Add 2 args.
12218 (byte-compile-stack-ref, byte-compile-stack-set)
12219 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12220 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12221 macroexpand-all instead.
12222 (byte-compile-quote-form): Remove.
12223 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12224 (byte-compile-bind, byte-compile-unbind): New funs.
12225 (byte-compile-let): Handle let* and lexical binding.
12226 (byte-compile-let*): Remove.
12227 (byte-compile-catch, byte-compile-unwind-protect)
12228 (byte-compile-track-mouse, byte-compile-condition-case):
12229 Handle a new :fun-body form, used for lexical scoping.
12230 (byte-compile-save-window-excursion)
12231 (byte-compile-with-output-to-temp-buffer): Remove.
12232 (byte-compile-defun): Simplify.
12233 (byte-compile-stack-adjustment): New fun.
12234 (byte-compile-out): Use it.
12235 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12237 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12240 * emacs-lisp/byte-opt.el: Use lexical binding.
12241 (byte-inline-lapcode): Remove (to bytecomp).
12242 (byte-compile-inline-expand): Pay attention to inlining to/from
12243 lexically bound code.
12244 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12246 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12247 any more and don't call compiler-macros.
12248 (byte-compile-splice-in-already-compiled-code): Remove.
12249 (byte-code): Don't inline any more.
12250 (disassemble-offset): Receive `bytes' as argument rather than via
12252 (byte-compile-tag-number): Declare before first use.
12253 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12254 `return' even if make-spliceable.
12255 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12256 obsolete interactive-p.
12257 (byte-optimize-lapcode): Optimize new lap-codes.
12258 Don't trip up on new form of `byte-constant' lap code.
12260 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12262 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12264 * custom.el (custom-initialize-default, custom-declare-variable):
12267 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12269 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12270 (COMPILE_FIRST): Add macroexp and cconv.
12271 * makefile.w32-in: Mirror changes in Makefile.in.
12273 * vc/cvs-status.el:
12277 * vc/smerge-mode.el:
12278 * textmodes/bibtex-style.el:
12279 * textmodes/css.el:
12287 * emacs-lisp/smie.el:
12290 * abbrev.el: Use lexical binding.
12292 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12294 * info.el (info-display-manual): New function.
12296 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12300 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12302 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12303 an entry for that server in rcirc-authinfo. (Bug#8385)
12305 2011-03-31 Glenn Morris <rgm@gnu.org>
12307 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12309 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12311 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12313 * progmodes/python.el (python-default-interpreter)
12314 (python-python-command-args, python-jython-command-args)
12315 (python-which-shell, python-which-args, python-which-bufname)
12316 (python-file-queue, python-comint-output-filter-function)
12317 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12318 variables and functions.
12320 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12323 (completion-in-region-mode): New minor mode.
12324 (completion-in-region): Use it.
12325 (completion-in-region--data, completion-in-region-mode-map): New vars.
12326 (completion-in-region--postch): New function.
12327 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12329 (completion--capf-wrapper): New function.
12330 (completion-at-point): Use it to track well-behavedness of
12332 (completion-help-at-point): New command.
12334 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12336 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12337 syntax class to search for whitespace on a single line
12338 (Message-ID: <4D938140.4030905@redhat.com>).
12340 2011-03-30 Leo Liu <sdl.web@gmail.com>
12342 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12344 (edit-abbrevs-map): Bind them here.
12345 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12347 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12349 * allout.el (allout-hide-by-annotation, allout-flag-region):
12350 Reduce possibility of overlay leakage by making them volatile.
12352 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12353 hash is not shared between buffers. Mode initialization is
12354 responsible for giving it a useful starting value.
12355 (allout-item-span): Reduce possibility of overlay leakage by
12356 making them volatile.
12357 (allout-widgets-count-buttons-in-region): Add diagnostic function
12358 for tracking down button overlay leaks.
12360 2011-03-29 Leo Liu <sdl.web@gmail.com>
12362 * ido.el (ido-read-internal): Use the default history var
12363 minibuffer-history if no HISTORY is specified.
12365 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12367 * net/imap.el (imap-shell-open, imap-process-connection-type):
12368 Use imap-process-connection-type for 'shell' streams as well as
12369 Kerberos, SSL, other subprocesses.
12371 2011-03-28 Leo Liu <sdl.web@gmail.com>
12373 * abbrev.el (abbrev-table-empty-p): New function.
12374 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12375 nonempty ones. (Bug#5937)
12377 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12379 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12381 2011-03-27 Leo Liu <sdl.web@gmail.com>
12383 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12384 for foreground and background colors.
12385 (ansi-color-make-color-map): Adapt.
12387 2011-03-25 Leo Liu <sdl.web@gmail.com>
12389 * midnight.el (midnight-time-float): Remove. Note it calculates
12390 the microsecond component incorrectly and seconds-to-time does the
12392 Remove redundant (require 'timer).
12394 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12395 (ido-completions): Remove unused arguments. (Bug#8329)
12397 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12399 * minibuffer.el (completion--flush-all-sorted-completions):
12400 Remove itself from hook.
12401 (completion-at-point): Let the functions perform the completion
12402 immediately and return nil or t.
12403 * comint.el (comint-dynamic-complete-functions): Now identical to
12404 completion-at-point-functions.
12405 (comint-dynamic-list-input-ring): Remove unused var `index'.
12406 (comint--match-partial-filename, comint--unquote&expand-filename):
12407 New funs, split from comint-match-partial-filename.
12408 (comint-dynamic-complete): Use completion-at-point.
12409 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12411 2011-03-24 Drew Adams <drew.adams@oracle.com>
12413 * thingatpt.el: Support `defun'.
12415 2011-03-23 Leo Liu <sdl.web@gmail.com>
12417 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12419 * help-mode.el (help-mode-finish): Tweak regexp.
12421 2011-03-23 Glenn Morris <rgm@gnu.org>
12423 * eshell/esh-opt.el (eshell-eval-using-options):
12424 Do not bind unused local variable `eshell-option-stub'.
12426 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12428 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12430 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12431 keymap variable in `with-no-warnings' to avoid a warning when the
12432 keymap has been already `defconst'ed.
12434 2011-03-22 Leo Liu <sdl.web@gmail.com>
12436 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12437 encode all chars in abbrevs; otherwise use emacs-mule or
12438 utf-8-emacs. (Bug#8308)
12440 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12442 * simple.el (backward-delete-char-untabify):
12443 Avoid warning about using `delete-backward-char'.
12445 * image.el (image-type-file-name-regexps): Make it variable.
12446 `imagemagick-register-types' modifies it, and the user may want
12447 to add new extensions for known image types.
12448 (imagemagick-register-types): Throw error if not using ImageMagick.
12450 2011-03-22 Leo Liu <sdl.web@gmail.com>
12452 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12453 located before rcirc-prompt-end-marker.
12454 (rcirc-complete): Error if point is not after rcirc prompt.
12455 Handle the case when table is nil.
12456 (rcirc-user-authenticated): Define to fix compiler warning.
12458 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12460 * custom.el (custom--inhibit-theme-enable): Make it affect only
12461 custom-theme-set-variables and custom-theme-set-faces.
12462 (provide-theme): Ignore custom--inhibit-theme-enable.
12463 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12464 (custom-enabling-themes): Delete variable.
12465 (enable-theme): Accept only loaded themes as arguments.
12466 Ignore the special custom-enabled-themes variable.
12467 (custom-enabled-themes): Forbid themes from setting this.
12468 Eliminate use of custom-enabling-themes.
12469 (custom-push-theme): Quote "changed" custom var entry.
12471 2011-03-21 Leo Liu <sdl.web@gmail.com>
12473 * ido.el (ido-read-internal): Add ido-selected to history instead
12476 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * subr.el (deferred-action-list, deferred-action-function):
12481 2011-03-21 Leo Liu <sdl.web@gmail.com>
12483 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12484 change on 2011-02-13 (bug#8309).
12486 * minibuffer.el (read-file-name-function): Change default value.
12487 (read-file-name--defaults): Rename from read-file-name-defaults.
12488 (read-file-name-default): Rename from read-file-name.
12489 (read-file-name): Call read-file-name-function.
12491 2011-03-21 Glenn Morris <rgm@gnu.org>
12493 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12496 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12498 * cus-theme.el: Add missing provide statement.
12499 (customize-create-theme): Extract theme value correctly.
12500 (custom-theme-visit-theme): Autoload.
12501 (customize-create-theme): Prompt before inserting default faces.
12503 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12505 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12506 units and musical notes.
12508 2011-03-20 Leo Liu <sdl.web@gmail.com>
12510 * ido.el (ido-read-internal): Use completing-read-default.
12511 (ido-completing-read): Fix compatibility with completing-read.
12513 2011-03-20 Christian Ohler <ohler@gnu.org>
12515 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12516 (ert-delete-all-tests): Use `called-interactively-p' rather than
12518 (ert--make-xrefs-region): Respect END.
12520 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12522 * dired-aux.el (dired-create-directory): Signal an error if the
12523 directory already exists (Bug#8246).
12525 * facemenu.el (list-colors-display): Call list-faces-display
12526 inside with-help-window.
12527 (list-colors-print): Use display property to align the final
12528 column, instead of checking window-width.
12530 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12532 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12533 windows-nt systems.
12534 (emerge-protect-metachars): Quote correctly for ms-dos and
12535 windows-nt systems.
12537 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12539 * info.el (info-initialize): Replace all uses of `:' with
12540 path-separator for compatibility with non-Unix systems.
12541 Cache quoting of path-separator. (Bug#8258)
12543 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12545 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12546 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12547 (mouse-avoidance-mode): Fix typos in docstrings.
12549 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12551 * startup.el (package-subdirectory-regexp): Move from package.el.
12552 Omit \\` and \\', and let callers add them.
12554 * emacs-lisp/package.el (package-strip-version)
12555 (package-load-all-descriptors): Add \\` and \\' to
12556 package-subdirectory-regexp before using it.
12557 (package-untar-buffer): New arg DIR; ensure that file untars only
12558 into this expected directory. Remove superfluous delete-region.
12559 (package-unpack): Caller changed.
12560 (package-tar-file-info): Use package-subdirectory-regexp.
12562 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12564 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12565 diff-mode-shared-map (bug#8284).
12566 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12568 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12570 * calendar/time-date.el (format-seconds): Use assoc instead of
12571 assoc-string, since assoc-string doesn't exist in XEmacs.
12573 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12575 * custom.el (custom-known-themes): Reflow docstring.
12576 (custom-theme-load-path): Fix typo in docstring.
12577 (load-theme): Fix typo in error message.
12578 (custom-available-themes, custom-variable-theme-value):
12579 Use `let', not `let*'.
12581 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12583 * calc/README: Mention inclusion of musical notes.
12585 * calc/calc-units.el (calc-lu-quant): Rename from
12586 `calc-logunits-quantity'.
12587 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12588 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12589 (calc-db): Rename from `calc-dblevel'.
12590 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12591 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12592 (calc-np): Rename from `calc-nplevel'.
12593 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12594 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12595 (calc-lu-plus): Rename from `calc-logunits-add'.
12596 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12597 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12598 (calc-lu-minus): Rename from `calc-logunits-sub'.
12599 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12600 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12601 (calc-lu-times): Rename from `calc-logunits-mul'.
12602 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12603 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12604 (calc-lu-divide): Rename from `calc-logunits-div'.
12605 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12606 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12608 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12609 functions being autoloaded.
12611 * calc/calc.el (calc-lu-power-reference): Rename from
12612 `calc-logunits-power-reference'.
12613 (calc-lu-field-reference): Rename from
12614 `calc-logunits-field-reference'.
12616 * calc/calc-help.el (calc-l-prefix-help):
12617 Mention musical note functions.
12619 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * minibuffer.el (completion-all-sorted-completions):
12622 Use :completion-cycle-penalty text property if present.
12624 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12626 * allout.el (allout-yank-processing): Adjust for new rebulleting
12627 regime so bullet being yanked is used without prompting the user
12630 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12632 * startup.el (command-line): Warn the user that _emacs is deprecated.
12634 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12636 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12637 (delphi-verbose, delphi-comment-face, delphi-string-face)
12638 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12639 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12640 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12641 (delphi-new-comment-line, delphi-font-lock-defaults)
12642 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12643 Fix typos in docstrings.
12645 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12647 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12648 Invert the roles of character and string values for INSTEAD, so a
12649 string is used for the more common case of a defaulting prompt.
12651 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12653 * progmodes/ruby-mode.el (ruby-backward-sexp):
12654 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12655 * play/gamegrid.el (gamegrid-make-face):
12656 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12657 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12658 * notifications.el (notifications-notify):
12659 * net/xesam.el (xesam-search-engines):
12660 * net/quickurl.el (quickurl-list-insert):
12661 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12663 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12665 * startup.el (command-line): Update package subdirectory regexp.
12667 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * allout.el (allout-abbreviate-flattened-numbering)
12670 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12672 * subr.el (read-char-choice): Only show the cursor after the prompt,
12673 not after the answer.
12675 2011-03-15 Kevin Ryde <user42@zip.com.au>
12677 * help-fns.el (variable-at-point): Skip leading quotes, if any
12680 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12682 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12685 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12687 * shell.el (shell): When called interactively, offer to change the
12688 shell file name on remote hosts.
12690 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12692 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12693 integration for LDAP parameters. The host, base, user or binddn,
12694 and secret tokens can be specified in a netrc file, for instance.
12695 This is optional because an `auth-source' parameter must be
12696 specified in the search attributes.
12698 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12700 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12702 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12704 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12705 into declaration. Remove redundant and harmful binding.
12707 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12709 * files.el (file-ownership-preserved-p): Pass `integer' as an
12710 explicit 2nd argument to `file-attributes'. If the file's owner
12711 is the Administrators group on Windows, and the current user is
12712 Administrator, consider that a match.
12714 * server.el (server-ensure-safe-dir): Consider server directory
12715 safe on MS-Windows if its owner is the Administrators group while
12716 the current Emacs user is Administrator. Use `=' to compare
12717 numerical UIDs, since they could be integers or floats.
12719 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12721 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12723 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12725 Sync with Tramp 2.2.1.
12727 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12729 * net/trampver.el: Update release number.
12731 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12733 * progmodes/compile.el (compilation--previous-directory): Fix up
12734 various nil/dead-marker mismatches (bug#8014).
12735 (compilation-directory-properties, compilation-error-properties):
12736 Don't call it at a position past the one we're about to change.
12738 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12739 Disable obsolescence warnings in the file that declares it.
12741 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12743 * allout-widgets.el (allout-widgets-tally):
12744 Initialize allout-widgets-tally as a hash table rather than nil to
12745 prevent mode-line redisplay warnings. Also, clarify the module
12746 description and fix a comment typo.
12748 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12750 * help-fns.el (describe-variable): Don't complete keywords.
12751 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12753 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12755 * emacs-lisp/package.el (package-version-join): Impose a standard
12756 string representation for pre/alpha/beta version lists.
12757 (package-unpack-single): Standardize the directory name by passing
12758 it through package-version-join.
12759 (package-strip-rcs-id): Accept any version string that does not
12760 signal an error in version-to-list.
12762 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12764 * simple.el (delete-trailing-whitespace): Return nil for the
12765 benefit of `write-file-functions'.
12767 2011-03-10 Glenn Morris <rgm@gnu.org>
12769 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12771 * vc/vc-git.el (vc-git-program): New option.
12772 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12773 (vc-git--call): Use it.
12775 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12777 * cus-edit.el (Custom-newline): If no button at point, look
12778 for a subgroup button at start-of-line. (Bug#2298)
12780 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12782 2011-03-10 Julien Danjou <julien@danjou.info>
12784 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12785 `cursor-type' is nil.
12787 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12789 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12791 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12793 * allout.el: Change so yank of distinctive-bullet items
12794 preserves the existing header prefix, rebulleting it if necessary,
12795 rather than replacing it. This is necessary for proper operation
12796 of cooperative addons like allout-widgets.
12797 (allout-make-topic-prefix, allout-rebullet-heading):
12798 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12799 value as alternate bullet to be used, instead of prompting the user
12800 for a bullet character.
12802 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12804 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12805 Do not use `tramp-file-name-port', because this returns also
12806 `tramp-default-port'.
12808 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12810 * net/rcirc.el (rcirc-handler-001): Remove useless
12811 with-rcirc-process-buffer.
12812 (rcirc-check-auth-status): Swap arguments to string-match.
12814 2011-03-09 Glenn Morris <rgm@gnu.org>
12816 * shell.el (shell-mode):
12817 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12819 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12820 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12822 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12824 * emacs-lisp/package.el (package-refresh-contents)
12825 (package-menu-execute): Use condition-case-no-debug.
12827 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12829 * simple.el (shell-command-to-string): Use `process-file'.
12831 * emacs-lisp/package.el (package-tar-file-info): Handle also
12834 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12835 Use `equal' for upload base check.
12837 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12839 * textmodes/texinfo.el (texinfo-environments):
12840 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12842 2011-03-08 Glenn Morris <rgm@gnu.org>
12844 * cus-start.el (cursor-in-non-selected-windows):
12845 Fix :set quoting oddness. (Bug#8192)
12847 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12848 in some setf expressions. (Bug#2159)
12850 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12852 * custom.el (custom-available-themes): Return themes in
12853 alphabetical order.
12855 See ChangeLog.15 for earlier changes.
12857 ;; Local Variables:
12861 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12863 This file is part of GNU Emacs.
12865 GNU Emacs is free software: you can redistribute it and/or modify
12866 it under the terms of the GNU General Public License as published by
12867 the Free Software Foundation, either version 3 of the License, or
12868 (at your option) any later version.
12870 GNU Emacs is distributed in the hope that it will be useful,
12871 but WITHOUT ANY WARRANTY; without even the implied warranty of
12872 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12873 GNU General Public License for more details.
12875 You should have received a copy of the GNU General Public License
12876 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.