1 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5 * term/ns-win.el (ns-define-service):
6 * progmodes/pascal.el (pascal-goto-defun):
7 * progmodes/js.el (js--read-tab):
8 * progmodes/etags.el (tags-lazy-completion-table):
9 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10 * emacs-lisp/ewoc.el (ewoc--wrap):
11 * emacs-lisp/assoc.el (aput, adelete, amake):
12 * doc-view.el (doc-view-convert-current-doc):
13 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15 2012-04-26 Chong Yidong <cyd@gnu.org>
17 * image.el (image-type-from-buffer): Only return supported image
20 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
21 value, for symmetry with diff-end-of-hunk.
22 (diff-split-hunk, diff-find-source-location)
23 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
24 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
25 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
26 compute the relevant hunk or file properly (Bug#6005).
27 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
29 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
38 * vc/vc.el: Replace lexical-let by lexical-binding.
39 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
40 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
41 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
43 2012-04-26 Chong Yidong <cyd@gnu.org>
45 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
46 (diff-mode-shared-map): Bind it to / and [remap undo].
48 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
49 (ediff-window-setup-function): Use it as the default, to set up
50 windows based on whether the current frame is graphical (Bug#2138).
51 (ediff-choose-window-setup-function-automatically): Make obsolete.
53 * vc/ediff-init.el: Always define ediff-pixel-width/height.
55 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
57 * ffap.el: Remove old code for obsolete package.
58 (ffap-complete-as-file-p): Remove.
60 Use completion-table-with-quoting for comint and pcomplete.
61 * comint.el (comint--unquote&requote-argument)
62 (comint--unquote-argument, comint--requote-argument): New functions.
63 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
64 (comint-quote-filename): Use regexp-opt-charset.
65 (comint--common-suffix, comint--common-quoted-suffix)
66 (comint--table-subvert): Remove.
67 (comint-unquote-function, comint-requote-function): New vars.
68 (comint--complete-file-name-data): Use them with
69 completion-table-with-quoting.
70 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
71 * pcomplete.el (pcomplete-arg-quote-list)
72 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
73 (pcomplete-unquote-argument-function): Default to non-nil.
74 (pcomplete-unquote-argument): Simplify.
75 (pcomplete--common-quoted-suffix): Remove.
76 (pcomplete-requote-argument-function): New var.
77 (pcomplete--common-suffix): New function.
78 (pcomplete-completions-at-point): Use completion-table-with-quoting
79 and completion-table-subvert.
81 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
82 (minibuffer--double-dollars): Preserve properties.
83 (completion--sifn-requote): New function.
84 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
86 * minibuffer.el: Add support for completion of quoted/escaped data.
87 (completion-table-with-quoting, completion-table-subvert): New funs.
88 (completion--twq-try, completion--twq-all): New functions.
89 (completion--nth-completion): New function.
90 (completion-try-completion, completion-all-completions): Use it.
92 2012-04-25 Leo Liu <sdl.web@gmail.com>
94 * progmodes/python.el (python-pdbtrack-get-source-buffer):
95 Use compilation-message if available to find real filename.
97 2012-04-25 Chong Yidong <cyd@gnu.org>
99 * vc/diff-mode.el (diff-setup-whitespace): New function.
102 * vc/diff.el (diff-sentinel):
103 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
104 Whitespace mode variables based on diff style (Bug#8612).
106 2012-04-25 Leo Liu <sdl.web@gmail.com>
108 * progmodes/python.el (python-send-region): Add suffix .py to the
111 * files.el (auto-mode-alist): Use javascript-mode instead.
113 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
115 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
117 * soap-client.el (soap-resolve-references-for-sequence-type)
118 (soap-resolve-references-for-array-type): Hack to prevent self
119 references, see Bug#9.
120 (soap-parse-envelope): Report the contents of the 'detail' node
121 when receiving a fault reply.
122 (soap-parse-envelope): Report the contents of the entire 'detail' node.
124 * soap-inspect.el (soap-sample-value-for-simple-type)
125 (soap-inspect-simple-type): New function.
127 * soap-client.el (soap-simple-type): New struct.
128 (soap-default-xsd-types, soap-default-soapenc-types)
129 (soap-decode-basic-type, soap-encode-basic-type):
130 support unsignedInt and double basic types.
131 (soap-resolve-references-for-simple-type)
132 (soap-parse-simple-type, soap-encode-simple-type): New function.
133 (soap-parse-schema): Parse xsd:simpleType declarations.
135 * soap-client.el (soap-default-xsd-types)
136 (soap-default-soapenc-types): Add integer, byte and anyURI types.
137 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
138 the local name of "soapenc:Array".
139 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
140 decoding integer, byte and anyURI xsd types.
142 2012-04-25 Chong Yidong <cyd@gnu.org>
144 * cus-edit.el (custom-buffer-create-internal): Update header text.
146 2012-04-25 Eli Zaretskii <eliz@gnu.org>
148 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
149 settings on 'system-type', not on 'window-system'. On MS-Windows,
150 set interactive-mode on in GDB.
152 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
154 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
155 (ruby-syntax-propertize-regexp): Remove.
156 (ruby-syntax-propertize-function): Split regexp into chunks.
157 Match following code directly.
159 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
161 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
162 (ruby-syntax-propertize-regexp): New function.
163 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
164 by a special keyword.
166 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
167 (ruby-syntax-general-delimiters-goto-beg)
168 (ruby-syntax-propertize-general-delimiters): New functions.
169 (ruby-syntax-propertize-function): Use them to handle GDL.
170 (ruby-font-lock-keywords): Move old handling of GDL...
171 (ruby-font-lock-syntactic-keywords): .. to here.
172 (ruby-calculate-indent): Adjust indentation for GDL.
174 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
176 * notifications.el (top): Remove unneeded declarations.
177 (notifications-specification-version): Change to "1.2".
178 (notifications-interface, notifications-notify-method)
179 (notifications-close-notification-method): Fix docstring.
180 (notifications-get-capabilities-method): New defconst.
181 (notifications-notify): Add :action-items, :resident and
182 :transient hints. Change "image_data" to "image-data" and
183 "image_path" to "image-path".
184 (notifications-get-capabilities): New defun.
186 2012-04-24 Leo Liu <sdl.web@gmail.com>
188 * progmodes/python.el: Move hideshow setup to the end.
190 2012-04-24 Martin Rudalics <rudalics@gmx.at>
192 * window.el (handle-select-window): Clear echo area since this is
193 no more done by read_char (Bug#11304).
195 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
197 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
198 and `/ M' to filter-derived-mode.
199 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
200 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
201 (ibuffer-mark-by-mode): Use default rather than initial-input.
202 (ibuffer-filter-by-derived-mode): Autoload and require-match.
204 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
206 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
207 (ibuffer-filter-by-derived-mode): New filter.
208 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
210 2012-04-23 Andreas Politz <politza@fh-trier.de>
212 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
214 2012-04-23 Chong Yidong <cyd@gnu.org>
216 * cus-edit.el (customize-apropos, customize-apropos-options):
217 Disable matching of non-option variables (Bug#11176).
218 (customize-option, customize-option-other-window)
219 (customize-changed-options): Doc fix.
220 (customize-apropos-options, customize-apropos-faces)
221 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
223 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
224 Fix word list splitting (Bug#11132).
225 (apropos-symbol, apropos-keybinding, apropos-label)
226 (apropos-property, apropos-function-button)
227 (apropos-variable-button, apropos-misc-button): New faces.
228 (apropos-symbol-face, apropos-keybinding-face)
229 (apropos-label-face, apropos-property-face, apropos-match-face):
230 Variables removed (Bug#8396).
231 (apropos-library-button, apropos-format-plist, apropos-print)
232 (apropos-print-doc, apropos-describe-plist): Callers changed.
234 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
236 * net/xesam.el (xesam-mode-map): Use let-bound map in
237 initialization. (Bug#11292)
239 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
241 Preserve ispell session localwords when switching back to
244 * ispell.el (ispell-buffer-session-localwords): New buffer-local
245 variable to hold buffer session localwords.
246 (ispell-kill-ispell): add option 'clear to delete session
248 (ispell-command-loop, ispell-change-dictionary)
249 (ispell-buffer-local-words): Preserve session localwords when
252 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
253 Preserve session localwords when needed.
255 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
257 * ispell.el (ispell-insert-word) Remove unneeded function using
258 obsolete `translation-table-for-input'.
259 (ispell-word, ispell-process-line, ispell-complete-word):
260 Use plain `insert' instead of removed `ispell-insert-word'.
262 2012-04-22 Chong Yidong <cyd@gnu.org>
264 * cus-edit.el (custom-variable-menu)
265 (custom-variable-reset-saved, custom-face-menu)
266 (custom-face-reset-saved): If there is no saved value, make the
267 "reset-saved" operation bring back the default (Bug#9509).
268 (custom-face-state): Properly detect themed faces.
270 * faces.el (face-spec-set): Stop supporting deprecated form of
273 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
275 Move functions from C to Lisp. Make non-blocking method calls
276 the default. Implement further D-Bus standard interfaces.
278 * net/dbus.el (dbus-message-internal): Declare function.
279 Remove unneeded function declarations.
280 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
281 (dbus-message-type-method-return, dbus-message-type-error)
282 (dbus-message-type-signal): Declare variables. Remove local
284 (dbus-interface-dbus, dbus-interface-peer)
285 (dbus-interface-introspectable, dbus-interface-properties)
286 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
288 (dbus-interface-objectmanager): New defconst.
289 (dbus-call-method, dbus-call-method-asynchronously)
290 (dbus-send-signal, dbus-method-return-internal)
291 (dbus-method-error-internal, dbus-register-service)
292 (dbus-register-signal, dbus-register-method): New defuns, moved
294 (dbus-call-method-handler, dbus-setenv)
295 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
297 (dbus-call-method-non-blocking): Make it an obsolete function.
298 (dbus-unregister-object, dbus-unregister-service)
299 (dbus-handle-event, dbus-register-property)
300 (dbus-property-handler): Obey the new structure of
301 `bus-registered-objects'.
302 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
303 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
304 Use `dbus-call-method'.
306 2012-04-22 Chong Yidong <cyd@gnu.org>
308 * cus-edit.el (custom-commands, custom-reset-menu)
309 (Custom-reset-standard): Tweak labels.
310 (custom-reset-button-menu): Change default to t.
311 (custom-buffer-create-internal): For the custom-reset-button-menu
312 case, put the revert button first.
313 (custom-group-subtitle): New face.
314 (custom-group-value-create): Align docstring to a specific column.
316 * wid-edit.el (widget-documentation-link-add): Don't handle
317 indentation in this function.
318 (widget-documentation-string-indent-to): New function.
319 (widget-documentation-string-value-create): Use it.
321 * autorevert.el (auto-revert):
322 * epg-config.el (epg):
323 * ibuffer.el (ibuffer):
326 * eshell/eshell.el (eshell):
327 * net/ange-ftp.el (ange-ftp):
328 * progmodes/ebnf2ps.el (postscript):
329 * progmodes/flymake.el (flymake):
330 * progmodes/prolog.el (prolog):
331 * progmodes/verilog-mode.el (verilog-mode):
332 * progmodes/which-func.el (which-func):
333 * term/xterm.el (xterm):
334 * textmodes/picture.el (picture):
335 * textmodes/tildify.el (tildify):
336 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
337 customization buffers.
339 2012-04-22 Alan Mackenzie <acm@muc.de>
341 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
342 Adding a ) can hide the resulting (..) from searches. Fix it.
343 Bound the backward search to the position of the existing (.
345 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
347 * progmodes/verilog-mode.el (verilog-mode): Check whether
348 which-func-modes is t before adding verilog-mode.
349 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
351 2012-04-21 Leo Liu <sdl.web@gmail.com>
353 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
355 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
357 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
358 filling of the last column of a table (Bug#5635).
359 (woman-find-next-control-line): New arg, specifying an additional
360 regexp component for the control line.
361 (woman2-roff-buffer): Use it.
362 (woman-break-table): New function.
365 2012-04-21 Chong Yidong <cyd@gnu.org>
367 * woman.el (woman-set-buffer-display-table, woman-decode-region)
368 (woman-horizontal-escapes, woman-negative-vertical-space)
369 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
370 (WoMan-warn-ignored): Use ?\s instead of ?\ .
372 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
374 * minibuffer.el (completion-file-name-table): Complete user names.
376 2012-04-20 Leo Liu <sdl.web@gmail.com>
378 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
381 2012-04-20 Chong Yidong <cyd@gnu.org>
383 * server.el (server-execute): Respect initial-buffer-choice if it
384 is a string and there are no files to open (Bug#2825).
385 (server-create-window-system-frame, server-create-tty-frame):
386 Don't switch buffers here.
387 (server-process-filter): Only try to open a window system frame if
388 compiled with graphical support (Bug#8314).
390 2012-04-20 Dan Nicolaescu <dann@gnu.org>
392 * battery.el (battery-echo-area-format): Display remaining time
393 for sysfs backend too (Bug#11269).
394 (battery-linux-sysfs): Fix conditional for the charge.
396 2012-04-20 Chong Yidong <cyd@gnu.org>
398 * progmodes/gdb-mi.el (gdb): Revert previous change.
399 (gdb-inferior-io--init-proc): New function.
400 (gdb-init-1): Use it.
401 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
402 responsible for allocating a new pty and hooking it to gdb when
403 the old pty gets an EIO due to process exit.
404 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
405 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
406 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
408 2012-04-20 Eli Zaretskii <eliz@gnu.org>
410 * window.el (window-min-size, window-sizable, window-min-delta)
411 (window-max-delta, window--resizable, window-resizable)
412 (window-total-size, window-full-height-p, window-full-width-p)
413 (window-in-direction, window--resize-mini-window, window-resize)
414 (window--resize-child-windows-normal)
415 (window--resize-child-windows, window--resize-siblings)
416 (window--resize-this-window, adjust-window-trailing-edge)
417 (enlarge-window, shrink-window): Doc fixes.
419 2012-04-20 Chong Yidong <cyd@gnu.org>
421 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
422 New function to call delete-process on the gdb-inferior buffer's pty.
423 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
424 pty process (Bug#11273).
425 (gdb-update): New arg to suppress talking to the gdb process.
426 (gdb-done-or-error): Use it.
427 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
428 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
429 sentinel not being called.
431 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
433 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
435 2012-04-20 Glenn Morris <rgm@gnu.org>
437 * net/network-stream.el (open-network-stream): Doc fix.
439 2012-04-20 Chong Yidong <cyd@gnu.org>
441 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
443 2012-04-20 Alan Mackenzie <acm@muc.de>
445 Ensure searching for keywords is case sensitive.
447 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
448 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
449 (c-defun-name, c-mark-function, c-cpp-define-name)
450 (c-comment-indent, c-scan-conditionals, c-indent-defun)
451 (c-context-line-break): Bind case-fold-search to nil.
453 * progmodes/cc-mode.el (c-font-lock-fontify-region):
454 Bind case-fold-search to nil.
456 2012-04-20 Chong Yidong <cyd@gnu.org>
458 * mail/sendmail.el (mail-bury): Call return action with the right
459 Rmail buffer (Bug#11242).
461 * server.el (server-process-filter): Handle corner case where both
462 tty and nowait options are present (Bug#11102).
464 2012-04-20 Eli Zaretskii <eliz@gnu.org>
466 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
467 (top level): Put into the executable the ident-style '$Id:' tag on
470 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
472 * electric.el (electric-indent-post-self-insert-function): Check that
473 electric-indent-mode is enabled in current buffer.
475 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
477 * imenu.el (imenu-progress-message): Restore; it is "used" in
478 erc/erc-imenu.el and net/snmp-mode.el.
480 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
482 * avoid.el (mouse-avoidance-mode): Mark unused arg.
483 (mouse-avoidance-nudge-mouse): Remove unused binding.
485 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
487 * descr-text.el (describe-char):
488 * progmodes/python.el (python-describe-symbol):
489 Don't call `toggle-read-only', set `buffer-read-only'.
491 * imenu.el (imenu-default-goto-function): Mark unused args.
492 (imenu-progress-message): Remove obsolete macro; all callers changed.
494 * subr.el (keymap-canonicalize): Remove unused binding.
495 (read-passwd): Mark unused arg.
497 * tutorial.el (tutorial--display-changes): Remove unused binding.
498 (tutorial--save-tutorial-to): Remove unused variable.
500 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
501 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
502 (package-generate-autoloads, package-menu--generate)
503 (package-menu--find-upgrades): Remove unused bindings.
505 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
506 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
507 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
508 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
509 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
510 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
511 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
512 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
513 (cua-delete-char-rectangle): Mark unused args.
514 (cua-align-rectangle): Remove unused binding.
516 * mail/rmail.el (compilation--message->loc)
517 (epa--find-coding-system-for-mime-charset): Declare.
519 * net/dbus.el (dbus-register-service): Declare.
520 (dbus-name-owner-changed-handler): Remove unused binding.
522 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
523 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
524 (nxml-scan-backward-within): Mark unused arg.
525 (nxml-dynamic-markup-word): Remove unused binding.
527 * mouse.el (mouse-menu-major-mode-map):
528 * emacs-lisp/authors.el (authors-scan-change-log)
529 (authors-add-to-author-list):
530 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
531 * emacs-lisp/smie.el (smie-auto-fill):
532 * mail/sendmail.el (mail-bury):
533 * mail/unrmail.el (unrmail):
534 * net/tls.el (open-tls-stream):
535 * textmodes/picture.el (picture-mouse-set-point):
536 Remove unused bindings.
538 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
540 * net/tramp.el (tramp-action-password): Let-bind
541 `enable-recursive-minibuffers' to t.
543 2012-04-18 Sam Steingold <sds@gnu.org>
545 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
546 instead of 'string to accommodate values like [f11].
547 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
548 * progmodes/gdb-mi.el: Likewise.
550 2012-04-18 Leo Liu <sdl.web@gmail.com>
552 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
554 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
557 2012-04-18 Chong Yidong <cyd@gnu.org>
559 * simple.el (line-move): Use forward-line if in batch mode
562 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
564 * files.el (after-find-file): Do not try to add a final newline if
565 the buffer is read-only (Bug#11156).
567 2012-04-17 Richard Stallman <rms@gnu.org>
569 * mail/rmail.el (rmail-start-mail):
570 Pass (rmail-mail-return...) for the return-action.
571 Pass (rmail-yank-current-message...) for the yank-action.
572 (rmail-yank-current-message): New function.
573 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
574 (rmail-reply): Likewise.
575 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
577 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
578 buffer, not the last. Reject temp buffers. Use the rmail-mode
581 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
583 * server.el (server-ensure-safe-dir): Simplify.
585 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
587 * emacs-lisp/smie.el: Provide smarter auto-filling.
588 (smie-auto-fill): New function.
589 (smie-setup): Use it.
591 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
593 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
595 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
596 (comment-indent): Use it.
598 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
600 * ses.el: The overall change is to add cell renaming, that is
601 setting fancy names for cell symbols other than name matching
602 "\\`[A-Z]+[0-9]+\\'" regexp .
603 (ses-localvars): Add ses--renamed-cell-symb-list.
604 (ses-create-cell-variable): New defun.
605 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
606 (ses-relocate-formula): Relocate formulas only for cells the
607 symbols of which are not renamed, i.e. symbols whose names do not
608 match regexp "\\`[A-Z]+[0-9]+\\'".
609 (ses-relocate-all): Relocate values only for cells the symbols of
610 which are not renamed.
611 (ses-load): Create cells variables as the (ses-cell ...) are read,
612 in order to check row col consistency with cell symbol name only
613 for cells that are not renamed.
614 (ses-replace-name-in-formula): New defun.
615 (ses-rename-cell): New defun.
617 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
619 * progmodes/perl-mode.el (perl-indent-parens-as-block):
620 New option (bug#11118).
621 (perl-calculate-indent): Respect it.
623 2012-04-17 Glenn Morris <rgm@gnu.org>
625 * dired-aux.el (dired-mark-read-string): Doc fix.
627 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
629 * dired-aux.el (dired-mark-read-string): Offer optional completion.
630 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
632 2012-04-17 Glenn Morris <rgm@gnu.org>
634 * mouse.el (mouse-drag-track):
635 * speedbar.el (speedbar-frame-mode):
636 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
638 2012-04-16 Leo Liu <sdl.web@gmail.com>
640 * progmodes/python.el: Trivial cleanup.
642 2012-04-16 Glenn Morris <rgm@gnu.org>
644 * vc/vc.el (vc-string-prefix-p):
645 * vc/pcvs-util.el (cvs-string-prefix-p):
646 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
647 * mpc.el (mpc-string-prefix-p):
648 Make all of these into obsolete aliases for string-prefix-p.
650 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
652 * textmodes/two-column.el: Move custom options to the start.
653 (frame-width): Remove compat definition.
654 (2C-associate-buffer, 2C-dissociate):
655 Use with-current-buffer rather than save-excursion.
656 (2C-dissociate): Force a mode-line update.
657 (2C-autoscroll): Use ignore-errors.
659 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
662 * emacs-lisp/cl-extra.el (*random-state*):
663 Remove unnecessary declaration.
665 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
667 * play/cookie1.el (cookie-snarf):
668 Give an explicit error if input file cannot be read.
670 * play/yow.el (yow-file): Use expand-file-name rather than concat.
672 * progmodes/perl-mode.el (c-macro-expand):
673 Remove unnecessary autoload (it is in loaddefs.el).
675 * textmodes/picture.el (picture-desired-column)
676 (picture-update-desired-column): Convert comments to doc-strings.
677 (picture-substitute): Remove function.
678 (picture-mode-map): Initialize in the defvar.
680 * woman.el: Remove eval-after-load for tar-mode.
681 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
682 (woman-tar-extract-file): Autoload it.
684 * frame.el (automatic-hscrolling): Make this alias obsolete.
686 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
688 * ispell.el (ispell-set-spellchecker-params): Post-process
689 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
690 (ispell-dictionary-base-alist): Revert to original XEmacs
691 friendly version for default. [:alpha:] will be added in
692 `ispell-set-spellchecker-params' if needed
694 2012-04-16 Chong Yidong <cyd@gnu.org>
696 * image.el (imagemagick--extension-regexp): New variable.
697 (imagemagick-register-types): Use it.
698 (imagemagick-types-inhibit): Add :set function. Allow new value
699 of t to inhibit all types.
701 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
702 so we can preload it.
704 * loadup.el (fboundp): Preload regexp-opt, needed by
705 imagemagick-register-types.
707 2012-04-15 Chong Yidong <cyd@gnu.org>
709 * frame.el (scrolling): Remove nearly unused customization group.
711 * scroll-all.el (scroll-all-mode): Move to windows group.
713 2012-04-15 Chong Yidong <cyd@gnu.org>
715 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
717 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
719 Avoid the use of ((lambda ...) ...) in lexical-binding code.
720 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
722 2012-04-15 Glenn Morris <rgm@gnu.org>
724 * simple.el (process-file-side-effects): Doc fix.
726 2012-04-15 Glenn Morris <rgm@gnu.org>
728 * international/mule-cmds.el (set-language-environment): Doc fix.
730 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
732 * server.el (server-auth-key, server-generate-key): Doc fixes.
733 (server-get-auth-key): Doc fix. Use `string-match-p'.
734 (server-start): Reflow docstring.
736 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
738 * server.el (server-generate-key): `called-interactively-p'
739 requires a parameter.
741 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
743 * server.el (server-auth-key): New variable.
744 (server-generate-key, server-get-auth-key): New function.
745 (server-start): Use the new variable and functions to allow
746 setting a permanent server key (bug#9423).
748 2012-04-14 Leo Liu <sdl.web@gmail.com>
750 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
752 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
755 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
756 Emacs uses American spelling.
758 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
760 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
761 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
762 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
763 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
765 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
767 * progmodes/which-func.el (which-func-modes): Change default.
769 2012-04-14 Kim F. Storm <storm@cua.dk>
771 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
772 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
774 2012-04-14 Chong Yidong <cyd@gnu.org>
776 * custom.el (custom-theme-set-variables): Doc fix.
778 2012-04-14 Glenn Morris <rgm@gnu.org>
780 * international/mule.el (set-auto-coding-for-load): Doc fix.
782 2012-04-14 Alan Mackenzie <acm@muc.de>
784 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
785 imenu work again for Objective C Mode. Correct the *-index values,
786 these having been disturbed by a previous change in 2011-08.
788 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
789 Correct two search limits.
791 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
793 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
795 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
797 * international/characters.el: Fix sorting.
799 2012-04-14 Eli Zaretskii <eliz@gnu.org>
801 * international/characters.el: Add more missing Latin case pairs.
803 2012-04-14 Glenn Morris <rgm@gnu.org>
805 * files.el (dir-locals-set-class-variables): Doc fix.
807 2012-04-14 Eli Zaretskii <eliz@gnu.org>
809 * international/characters.el: Add set-case-syntax-pair call for
810 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
811 counterpart. (Bug#11209)
813 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
815 2012-04-14 Glenn Morris <rgm@gnu.org>
817 * calendar/holidays.el (calendar-check-holidays): Doc fix.
819 2012-04-14 Eli Zaretskii <eliz@gnu.org>
821 * textmodes/ispell.el (ispell-dictionary-base-alist):
824 2012-04-14 Chong Yidong <cyd@gnu.org>
826 * net/rcirc.el (rcirc-cmd-quit):
827 Revert 2012-03-18 change (Bug#11192).
829 2012-04-14 Glenn Morris <rgm@gnu.org>
831 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
833 2012-04-14 Eli Zaretskii <eliz@gnu.org>
835 * minibuffer.el (completion-in-region-mode-map):
836 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
838 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
840 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
842 2012-04-13 Masatake YAMATO <yamato@redhat.com>
844 * minibuffer.el (minibuffer-local-filename-syntax): New variable
845 to allow `C-M-f' and `C-M-b' to move to the nearest path
846 separator (bug#9511).
848 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
850 * avoid.el: Require cl when compiling. And also move the
851 `provide' to the end.
853 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
855 * avoid.el (mouse-avoidance-banish-position): New variable.
856 (mouse-avoidance-banish-destination): Use it (bug#10165).
858 2012-04-13 Leo Liu <sdl.web@gmail.com>
860 * progmodes/which-func.el (which-func-modes): Add objc-mode.
862 2012-04-13 Ken Brown <kbrown@cornell.edu>
864 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
865 this is no longer needed now that cygstart understands file:// URLs.
866 (browse-url-filename-alist): For the same reason, don't modify
867 file:// URLs on Cygwin.
869 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
871 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
872 the region on shift if the binding is already shifted (bug#11221).
874 2012-04-12 Glenn Morris <rgm@gnu.org>
876 * mail/mailpost.el: Move to obsolete/.
878 2012-04-12 Drew Adams <drew.adams@oracle.com>
880 * imenu.el (imenu--generic-function): Ignore invisible definitions
883 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
885 * hexl.el (hexl-bits): New variable.
886 (hexl-options): Mention the variable in the doc string.
887 (hexl-rulerise, hexl-line-displen): New functions.
888 (hexl-mode): Mention the new variable.
889 (hexl-mode, hexl-current-address, hexl-current-address):
891 (hexl-ascii-start-column): New function.
892 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
893 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
895 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
897 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
898 '("-i" ENCODING), in 2 separate command-line arguments, to specify
899 the encoding, as expected by hunspell.
901 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
903 * battery.el (battery--linux-sysfs-regexp): New const.
904 (battery-status-function): Use it. Remove yeeloong special case.
905 (battery-yeeloong-sysfs): Remove.
906 (battery-echo-area-format): Remove yeeloong special case.
908 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
910 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
911 Reported by Noah Friedman.
913 * subr.el (read-passwd): Use read-string.
915 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
917 * vcursor.el (vcursor-move): Increase the priority of the overlay
920 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
922 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
923 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
925 2012-04-11 William Stevenson <yhvh2000@gmail.com>
927 * textmodes/artist.el (artist-mode): Convert artist-mode to use
928 define-minor-mode (bug#10760).
930 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
932 * progmodes/grep.el (rgrep): Tweak the find command line so
933 that directories matching `grep-find-ignored-files' won't be
936 2012-04-11 Chong Yidong <cyd@gnu.org>
938 * startup.el (command-line): Remove support for long-obsolete
939 variable font-lock-face-attributes.
941 2012-04-11 Glenn Morris <rgm@gnu.org>
943 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
945 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
947 * window.el (window--state-get-1): Obey window-point-insertion-type.
949 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
951 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
952 to previous function when point is on the first character of a
953 function. Take care of that in `narrow-to-defun' (bug#6157).
955 2012-04-11 Glenn Morris <rgm@gnu.org>
957 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
958 not just file-errors.
960 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
961 (vc-bzr-sha1): Use internal sha1.
963 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
965 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
967 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
969 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
970 that start in the middle of the line (bug#10496).
972 2012-04-10 Dan Nicolaescu <dann@gnu.org>
974 * battery.el (battery-linux-proc-acpi): Only one battery is
975 discharged at a time, but that seems to confuse battery.el when
976 computing `rate-type' for the battery not being discharged
979 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
981 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
983 * international/quail.el: Use dolist and simplify.
984 (quail-define-package, quail-update-keyboard-layout)
985 (quail-define-rules): Use dolist.
986 (quail-insert-kbd-layout, quail-get-translation): CSE.
988 * tmm.el: Use dolist, remove left over hook.
989 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
991 (calendar-load-hook): Don't mess with it.
993 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
994 Use derived-mode-p. Run the diff asynchronously.
996 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
998 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1000 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1002 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1003 (list-dynamic-libraries--loaded): New function.
1004 (list-dynamic-libraries--refresh): Use it.
1006 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1008 * progmodes/python.el (python-fill-paragraph):
1009 Make python-fill-region in a multiline string work when font-lock is
1010 disabled (bug#7018).
1012 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1014 * language/european.el (cp775): Add oem/legacy (en)coding on
1015 DOS/MS Windows for the Baltic languages. There are still plenty
1016 of texts written in this encoding/codepage (bug#6519).
1018 2012-04-10 Glenn Morris <rgm@gnu.org>
1020 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1021 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1023 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1025 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1026 next-line "n" and previous-line "p" in order to make recentf more
1027 consistent with ibuffer, dired or org-mode (bug#9387).
1029 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1031 * image.el (put-image): Return the overlay created instead of the
1032 optional input string (bug#7834). Note that this may break code
1033 that is (for some reason or other) depending on `put-image'
1034 returning the string.
1036 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1038 * simple.el (zap-to-char): Allow zapping using input methods
1041 * textmodes/fill.el (fill-region): Leave point and mark where they
1042 were before filling (bug#5399).
1044 2012-04-09 Glenn Morris <rgm@gnu.org>
1046 * version.el (emacs-bzr-get-version):
1047 Handle lightweight checkouts of local branches.
1049 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1051 * international/characters.el: Recover lost case pairs. (Bug#11209)
1053 2012-04-09 Chong Yidong <cyd@gnu.org>
1055 * custom.el (custom-variable-p): Return nil for non-symbol
1056 arguments instead of signaling an error.
1057 (user-variable-p): Obsolete alias for custom-variable-p.
1059 * apropos.el (apropos-variable):
1060 * files-x.el (read-file-local-variable):
1061 * simple.el (set-variable):
1062 * woman.el (woman-mini-help):
1063 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1065 2012-04-09 Glenn Morris <rgm@gnu.org>
1067 * startup.el (normal-top-level): Don't look for leim-list.el
1068 in places where it will not be found. (Bug#910)
1070 * international/mule-cmds.el (set-default-coding-systems):
1071 * files.el (normal-mode):
1072 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1073 This function was removed with ucs-tables.el in 2008.
1075 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1077 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1078 ispell-encoding8-command to "-i", without a trailing space.
1079 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1080 separate command-line arguments, to specify the encoding, since
1081 that's how hunspell expects it.
1083 2012-04-08 Glenn Morris <rgm@gnu.org>
1085 * loadup.el: Load bindings before cus-start.
1086 This reduces somewhat the number of "rogue" settings in emacs -Q.
1088 2012-04-07 Glenn Morris <rgm@gnu.org>
1090 * version.el (emacs-bzr-get-version): New function.
1091 (emacs-bzr-version): New variable.
1092 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1093 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1095 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1097 * international/uni-bidi.el, international/uni-category.el:
1098 * international/uni-combining.el, international/uni-decimal.el:
1099 * international/uni-decomposition.el, international/uni-digit.el:
1100 * international/uni-lowercase.el, international/uni-mirrored.el:
1101 * international/uni-name.el, international/uni-numeric.el:
1102 * international/uni-titlecase.el, international/uni-uppercase.el:
1103 Update for Unicode 6.1.
1105 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1107 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1109 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1111 * window.el (shrink-window): Mention the `window-min-height'
1112 variable in the doc string.
1114 2012-04-05 Bastien Guerry <bzg@altern.org>
1116 * color.el (color-lighten-name): Fix typo.
1118 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1120 * server.el (server--on-display-p): New function.
1121 (server--on-display-p): Use it.
1123 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1125 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1128 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * comint.el (comint--common-quoted-suffix): Check string boundary
1131 before comparing (bug#11158).
1132 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1134 2012-04-04 Chong Yidong <cyd@gnu.org>
1136 * minibuffer.el (completion-extra-properties): Doc fix.
1138 * subr.el (delayed-warnings-hook): Doc fix.
1140 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1142 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1143 selection (Bug#11159).
1144 (epa-insert-keys): Inform that the default public key will be
1145 exported if no key is selected.
1147 2012-04-04 Richard Stallman <rms@gnu.org>
1149 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1151 2012-04-03 Chong Yidong <cyd@gnu.org>
1153 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1154 mail-insert-file, not its obsolete alias mail-attach-file.
1156 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1158 * notifications.el (notifications-notify): Fix docstring.
1160 2012-04-02 Glenn Morris <rgm@gnu.org>
1162 * emacs-lisp/authors.el (authors-aliases): Another addition.
1164 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1166 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1167 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1168 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1170 2012-04-01 Chong Yidong <cyd@gnu.org>
1172 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1173 Handle root directory properly.
1174 (copy-directory): Caller changed.
1176 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1177 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1179 2012-03-31 Glenn Morris <rgm@gnu.org>
1181 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1183 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1185 * calendar/calendar.el (calendar-window-list)
1186 (calendar-hide-window): Restore. (Bug#11140)
1187 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1189 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1191 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1193 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1194 Check if file is a symlink (Bug#10489).
1196 * files.el (copy-directory): Likewise.
1198 2012-03-30 Chong Yidong <cyd@gnu.org>
1200 * image.el (imagemagick-types-inhibit)
1201 (imagemagick-register-types): Doc fix.
1203 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1205 * ispell.el (ispell-get-extended-character-mode):
1206 Disable extended-char-mode for hunspell. hunspell does not support it
1207 and treats ~word as ordinary words in pipe mode.
1209 2012-03-30 Glenn Morris <rgm@gnu.org>
1211 * tutorial.el (help-with-tutorial): Ensure local variables don't
1212 happen to make the buffer read-only. (Bug#11127)
1214 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1217 (perl-calculate-indent): Return `noindent' in strings.
1219 2012-03-28 Sam Steingold <sds@gnu.org>
1221 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1222 instead of the broken adhockery which does not prevent calendar
1223 buffers from being displayed at random after exit.
1224 (calendar-window-list, calendar-hide-window): Remove the broken
1227 2012-03-28 Glenn Morris <rgm@gnu.org>
1229 * replace.el (query-replace-map): Doc fix.
1231 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1233 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1234 contents. (Bug#11109)
1236 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1240 (avl-tree--check, avl-tree--check-node): New funs.
1242 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1244 * window.el (switch-to-visible-buffer): New option.
1245 (switch-to-prev-buffer, switch-to-next-buffer):
1246 Observe switch-to-visible-buffer. Make sure that checking for a window
1247 showing a buffer already is done on the same frame.
1249 2012-03-27 Glenn Morris <rgm@gnu.org>
1251 * startup.el (mail-host-address): Doc fix.
1253 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1258 2012-03-26 Ami Fischman <ami@fischman.org>
1260 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1262 2012-03-26 Glenn Morris <rgm@gnu.org>
1264 * files.el (save-buffers-kill-emacs): Doc fix.
1266 * startup.el (normal-top-level, command-line, command-line-1):
1267 Give them doc strings.
1269 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1271 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1272 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1274 2012-03-25 Chong Yidong <cyd@gnu.org>
1276 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1277 theme if it was previously enabled before (Bug#11031).
1279 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1280 spec with custom-face-get-current-spec if its :shown-value is not
1281 determined yet (Bug#9337).
1282 (customize-create-theme, custom-theme-revert): Doc fixes.
1284 * button.el (button-at): Minor addition to docstring.
1286 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1288 * vc/vc.el (vc-merge): Fix a prompt.
1290 2012-03-24 Chong Yidong <cyd@gnu.org>
1292 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1295 * button.el (button-at): Minor addition to docstring.
1297 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * newcomment.el (comment-choose-indent): No space after BOL.
1301 2012-03-22 Sam Steingold <sds@gnu.org>
1303 * window.el (switch-to-prev-buffer): Revert last patch because the
1304 bug turned out to be an advertised feature (Elisp manual 28.14).
1306 2012-03-22 Glenn Morris <rgm@gnu.org>
1308 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1309 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1311 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1313 * net/network-stream.el (network-stream-open-starttls): Make error
1314 message under Windows be less misleading.
1316 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1318 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1319 understands (bug#9942).
1321 2012-03-22 Chong Yidong <cyd@gnu.org>
1323 * simple.el (end-of-visible-line): Handle return value of
1324 next-single-property-change properly (Bug#9371).
1326 2012-03-22 Kenichi Handa <handa@m17n.org>
1328 * international/quail.el (quail-insert-kbd-layout): Fix previous
1329 change. To avoid unwanted bidi reordering, use
1330 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1332 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1334 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1335 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1336 (ruby-beginning-of-indent): Be more careful with the difference
1337 between word-boundary and symbol boundary.
1338 (ruby-mode-syntax-table): Make : a symbol constituent.
1340 2012-03-21 Andreas Politz <politza@fh-trier.de>
1342 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1344 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * progmodes/etags.el (tags-completion-at-point-function):
1349 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1351 2012-03-21 Sam Steingold <sds@gnu.org>
1353 * progmodes/etags.el (tags-completion-at-point-function):
1354 Avoid the error when point is inside the pattern.
1356 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1358 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1361 2012-03-21 Drew Adams <drew.adams@oracle.com>
1363 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1365 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1367 * ido.el (ido-set-current-directory, ido-read-internal)
1368 (ido-choose-completion-string, ido-completion-help): Handle nil
1369 value of ido-completion-buffer (Bug#11008).
1371 2012-03-21 Sam Steingold <sds@gnu.org>
1373 * window.el (switch-to-prev-buffer): Do not switch to a visible
1374 window previous buffer, just like with the frame previous buffers.
1376 2012-03-21 Chong Yidong <cyd@gnu.org>
1378 * faces.el (make-face, make-empty-face, copy-face):
1379 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1382 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1385 (widget-complete): Remove broken use of it.
1387 2012-03-20 Chong Yidong <cyd@gnu.org>
1389 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1390 Use string-width and truncate-string-width to handle arbitrary
1393 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1395 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1396 to draw rectangles, not squares. (Regression introduced by revno
1397 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1399 2012-03-18 Chong Yidong <cyd@gnu.org>
1401 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1402 it is not yet defined (for temacs).
1404 2012-03-18 Leo Liu <sdl.web@gmail.com>
1406 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1408 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1410 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1411 (ispell-choices-win-default-height, ispell-silently-savep)
1412 (ispell-dictionary-alist, ispell-encoding8-command)
1413 (ispell-check-version, ispell-aspell-find-dictionary)
1414 (ispell-valid-dictionary-list, ispell-words-keyword)
1415 (ispell-get-word, ispell-internal-change-dictionary)
1416 (ispell-region, ispell-skip-region-list)
1417 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1418 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1419 (ispell-message-text-end, ispell-message)
1420 (ispell-buffer-local-parsing): Doc fix.
1422 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1424 * htmlfontify.el: Add support for code block fontification for ODT
1426 (hfy-optimisations): Define new option
1428 (hfy-fontify-buffer): Honor above setting.
1429 (hfy-begin-span, hfy-end-span): New routines factored out form
1430 `hfy-fontify-buffer'.
1431 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1432 that permit insertion of custom tags.
1433 (hfy-fontify-buffer): Use above handlers.
1434 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1435 (hfy-face-to-css): Re-defined to be a variable.
1436 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1437 over multiple runs. This is made possible by having the caller let
1438 bind a special variable `hfy-user-sheet-assoc'.
1439 (htmlfontify-string): New defun.
1440 (hfy-compile-face-map): Make sure that the last char in the
1441 buffer is correctly fontified.
1442 (hfy-face-resolve-face): Whitespace only change.
1444 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1446 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1449 2012-03-16 Leo Liu <sdl.web@gmail.com>
1451 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1453 2012-03-16 Alan Mackenzie <acm@muc.de>
1455 Further optimise the handling of large macros.
1457 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1458 limit to a call of `c-literal-limits'.
1459 (c-determine-+ve-limit): New function.
1460 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1461 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1462 In CASE 5B, restrict a search limit to 500.
1463 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1465 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1466 Restrict macro bounds to +-500 from after-change's BEG END.
1468 2012-03-16 Leo Liu <sdl.web@gmail.com>
1470 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1472 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1474 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1475 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1477 2012-03-16 Glenn Morris <rgm@gnu.org>
1479 * view.el (view-buffer, view-buffer-other-window)
1480 (view-buffer-other-frame): Doc fixes re special mode-class.
1482 * subr.el (eval-after-load): If named feature is provided not from
1483 a file, run after-load forms. (Bug#10946)
1485 * calendar/calendar.el (calendar-insert-at-column):
1486 Handle non-unit-width characters a bit better. (Bug#10978)
1488 2012-03-15 Chong Yidong <cyd@gnu.org>
1490 * emacs-lisp/ring.el (ring-extend): New function.
1491 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1493 * comint.el (comint-read-input-ring)
1494 (comint-add-to-input-history): Grow comint-input-ring lazily.
1496 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1499 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1501 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1502 (imenu-add-to-menubar): Don't add a redundant index.
1503 (imenu-update-menubar): Handle a dynamically composed keymap.
1505 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1507 * mail/sendmail.el (mail-encode-header):
1508 Bind rfc2047-encode-encoded-words to nil.
1510 2012-03-13 Glenn Morris <rgm@gnu.org>
1512 * calendar/calendar.el (calendar-string-spread):
1513 Handle non-unit-width characters a bit better. (Bug#10978)
1515 2012-03-13 Leo Liu <sdl.web@gmail.com>
1517 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1518 directory and file as argument (Bug#10822).
1520 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1522 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1523 For dynamically generated code, follow $PC.
1524 (gdb-disassembly-handler-custom): Handle no function name case.
1526 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1528 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1529 * emulation/ws-mode.el (ws-query-replace):
1530 * sort.el (sort-regexp-fields):
1531 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1533 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * dabbrev.el: Fix cycle completion order (bug#10963).
1536 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1537 (dabbrev-completion): Don't use an obarray; provide
1538 a cycle-sort-function.
1540 2012-03-12 Leo Liu <sdl.web@gmail.com>
1542 * simple.el (kill-new): Use equal-including-properties for comparison.
1543 (kill-do-not-save-duplicates): Doc fix.
1545 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * dabbrev.el: Fix cycle completion (bug#10963).
1548 Use lexical binding and wrap to 80 columns.
1549 (dabbrev-completion): Delay computing the list of completions.
1551 2012-03-12 Kenichi Handa <handa@m17n.org>
1553 * international/quail.el (quail-insert-kbd-layout): Surround each
1554 row by LRO and PDF instead of inserting many LRMs. Pad the left
1555 and right of each non-spacing marks. Insert invisible space
1556 between lower and upper characters to prevent composition.
1558 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * minibuffer.el (minibuffer-complete): Don't get confused when the
1561 function is run twice via different commands (bug#10958).
1562 (complete-with-action): Fix docstring.
1564 2012-03-12 Chong Yidong <cyd@gnu.org>
1566 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1567 (nxml-completion-at-point-function): New function.
1568 (nxml-mode): Use it.
1569 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1571 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1572 Load generated autoloads file before byte compiling (Bug#10970).
1573 (package--make-autoloads-and-compile): New helper fun.
1575 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1577 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1579 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1581 * autorevert.el (auto-revert-handler): Ensure, that
1582 file-readable-p is applied only for local files or in
1583 auto-revert-tail-mode.
1585 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1587 * server.el (server-eval-at): Handle non-tcp connections.
1588 Decode result string.
1590 * server.el (server-msg-size): New constant.
1591 (server-reply-print): New function.
1592 (server-eval-and-print): Use it.
1593 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1596 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1598 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1601 2012-03-11 Chong Yidong <cyd@gnu.org>
1603 * simple.el (goto-line): Doc fix (Bug#9938).
1605 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1607 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1608 when finished (Bug#10963).
1610 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1612 * window.el (split-window-below): Fix bug in case where
1613 split-window-keep-point is nil (Bug#10971).
1615 2012-03-11 Juri Linkov <juri@jurta.org>
1617 * replace.el (replace-highlight): Set isearch-word to nil
1618 unconditionally. (Bug#10887)
1620 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1622 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1623 mairix-replace-illegal-chars; all callers changed. Don't remove
1624 ^, ~, and = characters: they are meaningful in mairix search specs.
1625 (mairix-widget-create-query): Add usage information about mairix
1626 search forms: negating words, searching for substrings, etc.
1628 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1630 * international/fontset.el (font-encoding-alist): Add an entry for
1633 2012-03-10 Richard Stallman <rms@gnu.org>
1635 * mail/sendmail.el (mail-encode-header):
1636 Set rfc2047-encode-encoded-words.
1638 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1640 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1641 view buffer means not swapped.
1642 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1643 (rmail-write-region-annotate): Error if real text has disappeared.
1645 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1647 2012-03-10 Chong Yidong <cyd@gnu.org>
1649 * emulation/cua-rect.el (cua--init-rectangles):
1650 * emulation/cua-base.el (cua--init-keymaps):
1651 Add delete-forward-char to remappings (Bug#9666).
1653 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1655 * speedbar.el (speedbar-unhighlight-one-tag-line):
1656 Avoid unhighlighting due to frame switching (Bug#10275).
1658 2012-03-10 Chong Yidong <cyd@gnu.org>
1660 * minibuffer.el (completion-in-region, completion-help-at-point):
1661 Give the completion field overlay a high priority (Bug#6830).
1663 * dired.el (dired-goto-file): Recognize absolute file name
1664 listings (Bug#7126).
1665 (dired-goto-file-1): New helper function.
1666 (dired-toggle-read-only): Inhibit warnings.
1668 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1670 * net/dbus.el (dbus-property-handler): Return empty array if
1671 there are no properties.
1673 2012-03-09 Leo Liu <sdl.web@gmail.com>
1675 * savehist.el (savehist-printable): Stricter check for string
1678 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1680 * mail/smtpmail.el (smtpmail-send-it):
1681 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1684 2012-03-09 Glenn Morris <rgm@gnu.org>
1686 * files.el (dir-locals-find-file):
1687 Don't check result is regular, readable.
1688 (dir-locals-read-from-file): Demote errors.
1690 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1692 * international/quail.el (quail-insert-kbd-layout):
1693 Insert invisible LRM characters before each character in a keyboard
1694 layout cell, to prevent their reordering by bidi display engine.
1695 For details, see the discussion in
1696 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1698 2012-03-08 Alan Mackenzie <acm@muc.de>
1700 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1701 the starting position; make it extend the marked region when
1702 invoked repeatedly - all under appropriate circumstances.
1703 Fixes bugs #5525, #10906.
1705 2012-03-08 Glenn Morris <rgm@gnu.org>
1707 * files.el (locate-dominating-file, dir-locals-find-file):
1708 Undo 2012-03-06 change.
1710 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1712 * international/quail.el (quail-help):
1713 Force bidi-paragraph-direction be left-to-right. See discussion in
1714 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1717 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1719 Avoid superfluous registering of signals. (Bug#10807)
1721 * notifications.el (notifications-on-action-object)
1722 (notifications-on-close-object): New defvars.
1723 (notifications-on-action-signal, notifications-on-closed-signal):
1724 Unregister the signal if not needed any longer.
1725 (notifications-notify): Register `notifications-action-signal' or
1726 `notifications-closed-signal', if :on-action or :on-close has been
1729 2012-03-07 Chong Yidong <cyd@gnu.org>
1731 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1734 2012-03-06 Glenn Morris <rgm@gnu.org>
1736 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1737 (x-disown-selection-internal, x-get-selection-internal):
1738 Doc fix (add arglist signatures). (Bug#10783)
1740 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1742 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1743 Handle breakpoints with no "type".
1745 2012-03-06 Glenn Morris <rgm@gnu.org>
1747 * files.el (locate-dominating-file): Add optional predicate argument.
1748 (dir-locals-find-file): Make use of above change.
1750 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1752 * info.el (Info-insert-dir): Also try "dir.gz".
1754 2012-03-06 Glenn Morris <rgm@gnu.org>
1756 * files.el (dir-locals-find-file):
1757 Ignore non-readable or non-regular files. (Bug#10928)
1759 * files.el (locate-dominating-file): Doc fix.
1761 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1763 * calendar/calendar.el (calendar-set-mode-line):
1764 `getenv' returns a string. (Bug#10951)
1766 2012-03-05 Leo Liu <sdl.web@gmail.com>
1768 * simple.el (backward-delete-char-untabify): Constrain point to
1771 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1773 2012-03-05 Chong Yidong <cyd@gnu.org>
1775 * simple.el (count-words): If called from Lisp, return the word
1776 count, for symmetry with `count-lines'. Arglist changed.
1777 (count-words--message): Args changed. Consolidate counting code
1778 from count-words and count-words-region.
1779 (count-words-region): Caller changed.
1780 (count-lines-region): Make it an obsolete alias.
1782 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1784 * saveplace.el (save-place-to-alist)
1785 (save-place-ignore-files-regexp): Allow value nil to disable this
1788 2012-03-04 Chong Yidong <cyd@gnu.org>
1790 * faces.el (face-spec-reset-face): For the default face, reset the
1791 attributes to default values (Bug#10748).
1793 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1795 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1796 previous patch: Check `message-send-mail-function', and not the
1797 default function (bug#10897).
1799 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1801 * notifications.el (notifications-on-action-signal)
1802 (notifications-on-closed-signal): Check for unique service name of
1803 incoming event. Fix error in removing entry.
1804 (top): Register for signals with wildcard service name.
1805 (notifications-notify): Use daemon unique service name for map entries.
1807 2012-03-04 Chong Yidong <cyd@gnu.org>
1809 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1811 2012-03-04 Glenn Morris <rgm@gnu.org>
1813 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1814 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1815 (expand-abbrev, define-abbrev-table): Doc fixes.
1817 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1819 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1820 `message-default-send-mail-function' and not `send-mail-function'
1821 when doing the prompting for `sendmail-query-once' before sending
1822 in Message buffers (bug#10897).
1824 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1825 This is inconsistent with all the other stream functions, which leave
1826 the setting up to the higher levels (if so wanted) (bug#10931).
1828 2012-03-02 Alan Mackenzie <acm@muc.de>
1830 Depessimize the handling of very large macros.
1832 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1833 (c-macro-cache-syntactic): New variables to implement a one
1834 element macro cache.
1835 (c-invalidate-macro-cache): New function.
1836 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1837 Adapt to use the new cache.
1838 (c-state-safe-place): Use better the cache of safe positions.
1839 (c-state-semi-nonlit-pos-cache)
1840 (c-state-semi-nonlit-pos-cache-limit):
1841 New variables for...
1842 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1843 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1844 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1845 Use c-state-semi-safe-place.
1847 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1848 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1850 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1852 * jka-compr.el (jka-compr-call-process):
1853 Apply `file-accessible-directory-p' only when the default directory is
1856 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1858 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1859 access of FILE2, if FILE1 does not exist.
1861 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1862 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1864 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1865 Add "PAGER=" to `process-environment'.
1867 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1869 * progmodes/sql.el: Bug fix
1870 (sql-get-login-ext): Save login values in globals.
1871 (sql-get-login): Use new version of `sql-get-login-ext'.
1872 (sql-interactive-mode): Set global `sql-connection' to nil.
1873 (sql-connect): Set global values for connection.
1874 (sql-product-interactive): Save global values as buffer local.
1876 2012-02-29 Leo Liu <sdl.web@gmail.com>
1878 * abbrev.el (define-abbrevs): Reset sys to nil.
1880 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1882 * files.el (file-equal-p): Rename from `files-equal-p'.
1883 Return nil when one or both files don't exist.
1884 (file-subdir-of-p): Now only top directory must exists,
1885 return nil if it doesn't.
1886 (copy-directory): No need to test with `file-subdir-of-p' after
1888 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1891 2012-02-28 Glenn Morris <rgm@gnu.org>
1893 * shell.el (shell-mode):
1894 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1895 * play/landmark.el (landmark-font-lock-face-O):
1896 * play/handwrite.el (handwrite):
1897 * play/gomoku.el (gomoku-O):
1898 * net/browse-url.el (browse-url-browser-display):
1899 * international/mule.el (define-charset):
1900 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1901 * filesets.el (filesets-find-file-delay):
1902 * eshell/em-xtra.el (eshell-xtra):
1903 * eshell/em-unix.el (eshell-grep):
1904 * emulation/viper.el (viper-mode):
1905 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1906 * emacs-lisp/easymenu.el (easy-menu-define):
1907 * calendar/timeclock.el (timeclock-use-display-time):
1909 * bookmark.el (bookmark-save-flag):
1910 Doc fix (standardize possessive apostrophe usage).
1912 2012-02-27 Chong Yidong <cyd@gnu.org>
1914 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1915 Fix key-binding lookup for ESC key (Bug#9146).
1917 * font-lock.el (font-lock-specified-p): Rename from
1918 font-lock-spec-present. Callers changed.
1920 2012-02-27 Daniel Hackney <dan@haxney.org>
1922 * emacs-lisp/package.el (package-compute-transaction):
1923 Handle holding a package version to t in package-load-list.
1925 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1927 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1928 (tramp-get-inode, tramp-get-device): Use cached values.
1930 2012-02-26 Alan Mackenzie <acm@muc.de>
1932 Check there is a font-lock specification before doing initial
1935 * font-core.el (font-lock-mode): Move the conditional from
1936 :after-hook to font-lock-initial-fontify.
1937 (font-lock-default-function): Move the check for a specification
1938 to font-lock-spec-present.
1940 * font-lock.el (font-lock-initial-fontify): Call ...
1941 (font-lock-spec-present): New function.
1943 2012-02-26 Jim Blandy <jimb@red-bean.com>
1945 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1946 (gdb-send): Apply it to the operand of the '-interpreter-exec
1947 console' command, so that we can pass arguments with (say) quotes
1948 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1950 2012-02-26 Chong Yidong <cyd@gnu.org>
1952 * help-fns.el (describe-function-1): Clarify description of
1953 remapping (Bug#10844).
1955 * files.el (files-equal-p): Doc fix.
1956 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1957 and quit the loop once a mismatch is found.
1959 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1961 * bs.el (bs--show-with-configuration): Don't throw an error
1962 if the window cannot be split; otherwise, subsequent calls to
1963 bs-show fail, restoring a stale window config. (Bug#10882)
1965 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1967 * term/ns-win.el (global-map): Bind ns-drag-file to
1968 ns-find-file (Bug#5855, Bug#10050).
1970 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1972 * calendar/parse-time.el (parse-time-string): Allow extractor to
1975 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1977 * net/tramp.el (tramp-file-name-for-operation):
1978 Add `files-equal-p' and `file-subdir-of-p'.
1980 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1981 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1982 Add COPY-CONTENTS argument.
1984 2012-02-25 Chong Yidong <cyd@gnu.org>
1986 Add custom groups for VC backends, for consistency with vc-bzr.
1988 * vc/vc-arch.el (vc-arch):
1989 * vc/vc-cvs.el (vc-cvs):
1990 * vc/vc-git.el (vc-git):
1991 * vc/vc-hg.el (vc-hg):
1992 * vc/vc-mtn.el (vc-mtn):
1993 * vc/vc-rcs.el (vc-rcs):
1994 * vc/vc-sccs.el (vc-sccs):
1995 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1996 All relevant defcustoms reassigned.
1998 2012-02-25 Chong Yidong <cyd@gnu.org>
2000 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2002 * term/x-win.el (x-initialize-window-system): Reduce default for
2003 x-selection-timeout to 5 seconds (Bug#8869).
2005 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2007 * files.el (files-equal-p, file-subdir-of-p): New functions.
2008 (copy-directory): Error when trying to copy a directory on itself.
2009 Add missing copy-contents arg to tramp handler.
2010 * dired-aux.el (dired-copy-file-recursive): Same.
2011 (dired-create-files): Modify destination when source is equal to
2012 dest when copying files.
2013 Return also when dest is a subdir of source. (Bug#10489)
2015 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2017 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2020 2012-02-23 Alan Mackenzie <acm@muc.de>
2022 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2023 parameter "after-hook:" to allow the expansion to run code after
2024 the execution of the mode hooks.
2026 * font-lock.el (font-lock-initial-fontify): New function extracted
2027 from font-lock-mode-internal.
2029 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2032 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2034 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2035 (completion--cache-all-sorted-completions): New function.
2036 (completion-all-sorted-completions): Use it.
2037 (completion--do-completion, minibuffer-force-complete):
2038 Use it to re-instate the flush hook.
2040 * icomplete.el (icomplete-completions): Replace last fix with a better
2043 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2045 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2046 when it might call us back infinitely (bug#10797).
2048 2012-02-23 Glenn Morris <rgm@gnu.org>
2050 * minibuffer.el (completion-category-overrides): Doc fix.
2052 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2055 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2057 2012-02-23 Glenn Morris <rgm@gnu.org>
2059 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2060 (authors-obsolete-files-regexps, authors-ignored-files)
2061 (authors-ambiguous-files, authors-renamed-files-alist):
2064 2012-02-23 Juri Linkov <juri@jurta.org>
2066 * isearch.el (isearch-occur): Sync interactive spec with occur's
2067 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2069 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2071 2012-02-22 Juri Linkov <juri@jurta.org>
2073 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2074 (ucs-insert): Doc fix. Check for hex digits in the string.
2075 Don't display `nil' in the error message. (Bug#10857)
2077 2012-02-22 Alan Mackenzie <acm@muc.de>
2079 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2081 2012-02-22 Glenn Morris <rgm@gnu.org>
2083 * ffap.el (ffap-c-path):
2084 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2086 2012-02-22 Chong Yidong <cyd@gnu.org>
2088 * custom.el (load-theme): Doc fix.
2090 2012-02-22 Glenn Morris <rgm@gnu.org>
2092 * dired-x.el (dired-guess-shell-alist-default):
2093 Remove escape sequences from nroff output. (Bug#172)
2095 2012-02-21 Glenn Morris <rgm@gnu.org>
2097 * vc/emerge.el (emerge-defvar-local):
2098 Set `permanent-local' property rather than unused `preserved'.
2100 * textmodes/picture.el (picture-delete-char): New alias.
2101 (picture-mode-map): Use it. (Bug#10860)
2102 (picture-mode): Doc fix.
2104 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2106 * newcomment.el (uncomment-region-default): Remove unused binding.
2108 2012-02-21 Glenn Morris <rgm@gnu.org>
2110 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2111 (picture-self-insert, picture-tab-chars): Doc fix.
2112 (picture-mode-map): Fix C-a, C-e.
2114 2012-02-20 Glenn Morris <rgm@gnu.org>
2116 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2118 2012-02-20 Leo Liu <sdl.web@gmail.com>
2120 * icomplete.el (icomplete-completions): Check FROM arg before
2121 passing to substring (Bug#10850).
2123 2012-02-19 Chong Yidong <cyd@gnu.org>
2125 * comint.el: Require ansi-color.
2126 (comint-output-filter-functions): Add ansi-color-process-output.
2128 * ansi-color.el: Don't set comint-output-filter-functions; it is
2129 now in the initial value defined in comint.el.
2130 (ansi-color-apply-face-function): New variable.
2131 (ansi-color-apply-on-region): Use it.
2132 (ansi-color-apply-overlay-face): New function.
2134 * shell.el (shell): No need to require ansi-color.
2135 (shell-mode): Use ansi-color-apply-face-function to highlight
2136 color escapes using font-lock-face property (Bug#10835).
2138 2012-02-19 Chong Yidong <cyd@gnu.org>
2140 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2141 mode-line formats (Bug#10839).
2143 2012-02-18 Glenn Morris <rgm@gnu.org>
2145 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2147 * mail/undigest.el (unforward-rmail-message): Doc fix.
2149 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2151 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2153 * international/characters.el (script-list): Sync with the latest
2154 Unicode Character Database.
2156 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2158 * international/titdic-cnv.el: Remove duplicate coding tag.
2159 * language/cham.el: Likewise.
2160 * language/tai-viet.el: Likewise.
2162 2012-02-18 Glenn Morris <rgm@gnu.org>
2164 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2165 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2166 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2167 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2168 * calendar/holidays.el (holiday-bahai-holidays)
2169 (calendar-holidays, list-holidays):
2170 Use utf-8 Bahá'í in doc-strings, menus, etc.
2172 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2174 * saveplace.el (save-place-ignore-files-regexp): New variable
2175 allowing for excluding files from saving their location of point.
2176 The default value matches the temporary commit message editing
2177 files from Git, SVN, Bazaar, and Mercurial.
2178 (save-place-to-alist): Use it.
2180 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2181 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * newcomment.el (uncomment-region-default): Don't leave extra space
2184 when an arg is provided (bug#8150).
2186 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2188 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2190 2012-02-17 Glenn Morris <rgm@gnu.org>
2192 * net/socks.el: Require network-stream. (Bug#10599)
2194 2012-02-17 Kenichi Handa <handa@m17n.org>
2196 * international/charprop.el:
2197 * international/uni-name.el:
2198 * international/uni-old-name.el:
2199 * international/uni-comment.el: Regenerate.
2201 2012-02-16 Glenn Morris <rgm@gnu.org>
2203 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2204 Interactively in calendar buffer, give an error if not on a date.
2206 2012-02-15 Glenn Morris <rgm@gnu.org>
2208 * shell.el (shell-delimiter-argument-list):
2209 Revert 2011-02-17 change. (Bug#8027)
2211 2012-02-15 Chong Yidong <cyd@gnu.org>
2213 * minibuffer.el (completion-at-point-functions): Doc fix.
2215 * custom.el (defcustom): Doc fix; note use of defvar.
2217 2012-02-15 Glenn Morris <rgm@gnu.org>
2219 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2222 2012-02-14 Glenn Morris <rgm@gnu.org>
2224 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2226 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2228 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2229 way the ports list is computed.
2230 (smtpmail-query-smtp-server): Prompt the user for a port number if
2231 we can't connect to any of the standard ports (bug#10810).
2233 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2235 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2237 2012-02-13 Glenn Morris <rgm@gnu.org>
2239 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2241 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2243 * net/gnutls.el (gnutls-trustfiles): New variable.
2244 (gnutls-negotiate): Use it.
2246 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2248 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2249 does its stuff if Gnus is running.
2251 2012-02-13 Alan Mackenzie <acm@muc.de>
2253 Fix a loop in c-set-fl-decl-start.
2255 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2256 c-backward-syntactic-ws actually moves backwards.
2258 2012-02-13 Leo Liu <sdl.web@gmail.com>
2260 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2261 beginning so that all \C-o chars are removed.
2263 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2265 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2267 2012-02-12 Alan Mackenzie <acm@muc.de>
2269 Fix infinite loop with long macros.
2270 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2272 2012-02-12 Chong Yidong <cyd@gnu.org>
2274 * window.el (display-buffer): Doc fix (Bug#10785).
2276 2012-02-12 Glenn Morris <rgm@gnu.org>
2278 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2279 (x-disown-selection-internal, x-get-selection-internal):
2280 Sync docs with the xselect.c versions.
2282 * allout-widgets.el: Add missing license notice.
2284 2012-02-11 Glenn Morris <rgm@gnu.org>
2286 * select.el (x-get-selection-internal, x-own-selection-internal)
2287 (x-disown-selection-internal):
2288 * x-dnd.el (x-get-selection-internal): Update declarations.
2290 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2292 * window.el (window-sides-slots):
2293 * tool-bar.el (tool-bar-position):
2294 * term/xterm.el (xterm-extra-capabilities):
2295 * ses.el (ses-self-reference-early-detection):
2296 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2297 (verilog-auto-wire-type)
2298 (verilog-auto-delete-trailing-whitespace)
2299 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2300 (verilog-auto-tieoff-declaration):
2301 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2302 (sql-oracle-statement-starters, sql-oracle-scan-on):
2303 * progmodes/prolog.el (prolog-align-comments-flag)
2304 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2305 (prolog-left-indent-regexp, prolog-paren-indent-p)
2306 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2307 (prolog-types, prolog-mode-specificators)
2308 (prolog-determinism-specificators, prolog-directives)
2309 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2310 (prolog-electric-dot-flag)
2311 (prolog-electric-dot-full-predicate-template)
2312 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2313 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2314 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2315 (prolog-program-switches, prolog-prompt-regexp)
2316 (prolog-debug-on-string, prolog-debug-off-string)
2317 (prolog-trace-on-string, prolog-trace-off-string)
2318 (prolog-zip-on-string, prolog-zip-off-string)
2319 (prolog-use-standard-consult-compile-method-flag)
2320 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2321 (prolog-imenu-max-lines, prolog-info-predicate-index)
2322 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2323 (prolog-char-quote-workaround):
2324 * progmodes/cc-vars.el (c-defun-tactic):
2325 * net/tramp.el (tramp-encoding-command-interactive)
2326 (tramp-local-end-of-line):
2327 * net/soap-client.el (soap-client):
2328 * net/netrc.el (netrc-file):
2329 * net/gnutls.el (gnutls):
2330 * minibuffer.el (completion-category-overrides)
2331 (completion-cycle-threshold)
2332 (completion-pcm-complete-word-inserts-delimiters):
2333 * man.el (Man-name-local-regexp):
2334 * mail/feedmail.el (feedmail-display-full-frame):
2335 * international/characters.el (glyphless-char-display-control):
2336 * eshell/em-ls.el (eshell-ls-date-format):
2337 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2338 (lisp-lambda-list-keyword-parameter-indentation)
2339 (lisp-lambda-list-keyword-parameter-alignment):
2340 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2341 * dired-x.el (dired-omit-verbose):
2342 * cus-theme.el (custom-theme-allow-multiple-selections):
2343 * calc/calc.el (calc-highlight-selections-with-faces)
2344 (calc-lu-field-reference, calc-lu-power-reference)
2345 (calc-note-threshold):
2346 * battery.el (battery-mode-line-limit):
2347 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2348 (archive-7z-update):
2349 * allout.el (allout-prefixed-keybindings)
2350 (allout-unprefixed-keybindings)
2351 (allout-inhibit-auto-fill-on-headline)
2352 (allout-flattened-numbering-abbreviation):
2353 * allout-widgets.el (allout-widgets-auto-activation)
2354 (allout-widgets-icons-dark-subdir)
2355 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2356 (allout-widgets-theme-dark-background)
2357 (allout-widgets-theme-light-background)
2358 (allout-widgets-item-image-properties-emacs)
2359 (allout-widgets-item-image-properties-xemacs)
2360 (allout-widgets-run-unit-tests-on-load)
2361 (allout-widgets-time-decoration-activity)
2362 (allout-widgets-hook-error-post-time)
2363 (allout-widgets-track-decoration):
2364 Add missing :version tags to new defcustoms and defgroups.
2366 * progmodes/sql.el (sql-ansi-statement-starters)
2367 (sql-oracle-statement-starters): Add custom type.
2369 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2370 (prolog-system-version): Give it a type.
2372 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2374 * term/pc-win.el (x-select-text, x-selection-owner-p)
2375 (x-own-selection-internal, x-disown-selection-internal)
2376 (x-get-selection-internal): Sync doc strings and argument lists
2377 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2379 2012-02-11 Leo Liu <sdl.web@gmail.com>
2381 * progmodes/python.el (python-end-of-statement): Fix infinite
2384 2012-02-10 Glenn Morris <rgm@gnu.org>
2386 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2387 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2389 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2391 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2392 about SMTP before checking the From header.
2394 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2395 into own function for reuse by emacsbug.el.
2397 2012-02-10 Leo Liu <sdl.web@gmail.com>
2399 * subr.el (condition-case-unless-debug): Rename from
2400 condition-case-no-debug. All callers changed.
2401 (with-demoted-errors): Fix caller.
2403 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2404 * nxml/rng-valid.el (rng-do-some-validation):
2405 * emacs-lisp/package.el (package-refresh-contents)
2406 (package-menu-execute):
2407 * desktop.el (desktop-create-buffer):
2408 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2410 2012-02-10 Glenn Morris <rgm@gnu.org>
2412 * textmodes/bibtex.el:
2413 Add missing :version tags for new/changed defcustoms.
2415 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2417 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2419 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2420 (smtpmail-via-smtp): Use it, or fall back on the From address.
2421 (smtpmail-send-it): Ditto.
2423 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2426 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2427 (byte-compile-tmp-var): New const.
2428 (byte-compile-defvar): Use it to minimize .elc size.
2429 Just use `defvar' rather than simulate it (bug#10761).
2431 2012-02-09 Glenn Morris <rgm@gnu.org>
2433 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2435 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2438 * progmodes/compile.el (compilation-error-screen-columns)
2439 (compilation-first-column, compilation-filter-start): Doc fixes.
2441 * vc/log-view.el (log-view-toggle-entry-display):
2442 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2444 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2445 (report-emacs-bug-can-use-xdg-email):
2446 (report-emacs-bug-insert-to-mailer): Doc fixes.
2447 (report-emacs-bug): Message fix.
2449 * net/browse-url.el (browse-url-can-use-xdg-open)
2450 (browse-url-xdg-open): Doc fixes.
2452 * electric.el (electric-indent-mode, electric-pair-mode)
2453 (electric-layout-rules, electric-layout-mode): Doc fixes.
2454 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2456 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2458 * server.el (server-unselect-display): Don't inadvertently kill
2459 the current buffer. (Bug#10729)
2461 2012-02-08 Glenn Morris <rgm@gnu.org>
2463 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2464 (sql-list-table): Doc fixes.
2466 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2467 Comment out (does nothing).
2469 * completion.el (dynamic-completion-mode):
2470 * dirtrack.el (dirtrack-debug-mode):
2471 * electric.el (electric-layout-mode):
2472 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2473 * face-remap.el (text-scale-mode, buffer-face-mode):
2474 * iimage.el (iimage-mode):
2475 * image-mode.el (image-transform-mode):
2476 * minibuffer.el (completion-in-region-mode):
2477 * scroll-lock.el (scroll-lock-mode):
2478 * simple.el (next-error-follow-minor-mode):
2479 * tar-mode.el (tar-subfile-mode):
2480 * tooltip.el (tooltip-mode):
2481 * vcursor.el (vcursor-use-vcursor-map):
2482 * wid-browse.el (widget-minor-mode):
2483 * emulation/tpu-edt.el (tpu-edt-mode):
2484 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2485 * international/iso-ascii.el (iso-ascii-mode):
2486 * language/thai-util.el (thai-word-mode):
2487 * mail/supercite.el (sc-minor-mode):
2488 * net/goto-addr.el (goto-address-mode):
2489 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2490 * progmodes/cwarn.el (cwarn-mode):
2491 * progmodes/flymake.el (flymake-mode):
2492 * progmodes/glasses.el (glasses-mode):
2493 * progmodes/hideshow.el (hs-minor-mode):
2494 * progmodes/pascal.el (pascal-outline-mode):
2495 * textmodes/enriched.el (enriched-mode):
2496 * vc/smerge-mode.el (smerge-mode):
2497 Doc fixes (minor mode argument).
2499 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2501 * ls-lisp.el (ls-lisp-sanitize): New function.
2502 (ls-lisp-insert-directory): Use it to fix or remove any elements
2503 in file-alist with missing attributes. (Bug#4673)
2505 2012-02-07 Alan Mackenzie <acm@muc.de>
2507 Fix spurious recognition of c-in-knr-argdecl.
2509 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2510 putative K&R region.
2512 2012-02-07 Alan Mackenzie <acm@muc.de>
2514 * progmodes/cc-engine.el (c-forward-objc-directive):
2515 Prevent looping in "#pragma mark @implementation".
2517 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2519 * notifications.el (notifications-on-closed-signal): Make `reason'
2520 optional. (Bug#10744)
2522 2012-02-07 Glenn Morris <rgm@gnu.org>
2524 * emacs-lisp/easy-mmode.el (define-minor-mode):
2525 Doc fixes for the macro and the mode it defines.
2527 * image.el (imagemagick-types-inhibit): Doc fix.
2529 * cus-start.el (imagemagick-render-type): Add it.
2531 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2533 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2534 Set the default at load time, too, so that `font-lock-fontify-buffer'
2535 can be called without setting up the entire mode first. This fixes
2536 a bug in `mm-inline-text' with C MIME parts.
2538 2012-02-06 Chong Yidong <cyd@gnu.org>
2540 * simple.el (list-processes--refresh): Delete exited processes
2543 * comint.el (comint-next-prompt): next-single-char-property-change
2544 and prev-single-char-property-change never return nil (Bug#8657).
2546 * custom.el (defcustom): Doc fix (Bug#9711).
2548 2012-02-05 Chong Yidong <cyd@gnu.org>
2550 * cus-edit.el (custom-variable-reset-backup): Quote the value
2551 before storing it in the customized-value property (Bug#6712).
2552 (custom-display): Add a customization type tag.
2553 (custom-buffer-create-internal): Improve tooltip message.
2555 * wid-edit.el (widget-field-value-get): New optional arg to
2556 suppress trailing whitespace truncation.
2557 (character): Use it (Bug#2689).
2559 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2561 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2562 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2564 2012-02-05 Chong Yidong <cyd@gnu.org>
2566 * cus-edit.el (custom-variable-value-create): For mismatched
2567 types, show the current value (Bug#7600).
2569 * custom.el (defcustom): Doc fix.
2571 2012-02-05 Glenn Morris <rgm@gnu.org>
2573 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2575 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2577 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2578 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2579 (pp-last-sexp): Use `looking-at-p'.
2581 2012-02-04 Glenn Morris <rgm@gnu.org>
2583 * files.el (revert-buffer):
2584 Doc fix (mention revert-buffer-in-progress-p).
2586 * emacs-lisp/ert-x.el (ert-simulate-command):
2587 Check deferred-action-list (which is obsolete) is bound.
2589 * subr.el (with-wrapper-hook): Doc fixes.
2591 * simple.el (filter-buffer-substring-functions)
2592 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2594 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2596 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2597 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2599 2012-02-04 Leo Liu <sdl.web@gmail.com>
2601 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2603 2012-02-04 Glenn Morris <rgm@gnu.org>
2605 * image.el (image-extension-data): Add obsolete alias.
2607 * isearch.el (isearch-update): Doc fix.
2609 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2611 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2613 2012-02-03 Glenn Morris <rgm@gnu.org>
2615 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2616 (image-animate-timeout): Doc fix.
2618 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2620 2012-02-02 Glenn Morris <rgm@gnu.org>
2622 * server.el (server-auth-dir): Doc fix.
2623 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2625 * subr.el (run-mode-hooks): Doc fix.
2627 2012-02-02 Juri Linkov <juri@jurta.org>
2629 * image-mode.el (image-toggle-display-image): Remove tautological
2630 `major-mode' from the `derived-mode-p' test.
2632 2012-02-02 Kenichi Handa <handa@m17n.org>
2634 * composite.el (compose-region): Cancel previous change.
2636 2012-02-02 Kenichi Handa <handa@m17n.org>
2638 * composite.el (compose-region, compose-string): Signal error for
2639 a null string component (Bug#6988).
2641 2012-02-01 Chong Yidong <cyd@gnu.org>
2643 * view.el (view-buffer-other-window, view-buffer-other-frame):
2644 Handle special modes like view-buffer (Bug#10650).
2645 (view-buffer): Simplify.
2647 * frame.el (set-frame-font): Tweak meaning of third argument.
2649 * dynamic-setting.el (font-setting-change-default-font):
2650 Use set-frame-font (Bug#9982).
2652 2012-02-01 Glenn Morris <rgm@gnu.org>
2654 * progmodes/compile.el (compilation-internal-error-properties):
2655 Respect compilation-first-column in the "*compilation*" buffer.
2657 * emacs-lisp/easy-mmode.el (define-minor-mode):
2658 Relax :variable's test for a named function.
2660 2012-01-31 Alan Mackenzie <acm@muc.de>
2662 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2665 2012-01-31 Chong Yidong <cyd@gnu.org>
2667 * frame.el (set-frame-font): New arg ALL-FRAMES.
2669 * menu-bar.el (menu-set-font): Use set-frame-font.
2671 * faces.el (face-spec-reset-face): Don't apply unspecified
2672 attribute values to the default face.
2674 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2676 * progmodes/cwarn.el (cwarn): Remove dead link.
2677 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2678 Remove * from defcustom docstrings.
2679 (turn-on-cwarn-mode): Make obsolete.
2680 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2681 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2683 2012-01-31 Glenn Morris <rgm@gnu.org>
2685 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2686 Fix :variable handling of mode a symbol not equal to modefun.
2687 Allow named functions to be used as the cdr of :variable.
2689 2012-01-30 Glenn Morris <rgm@gnu.org>
2691 * emacs-lisp/authors.el (authors-fixed-entries):
2692 Remove reference to deleted file rnewspost.el.
2694 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2696 * window.el (window-with-parameter): Remove unused variable `windows'.
2697 (window--side-check): Remove unused variable `code'.
2698 (window--resize-siblings): Remove unused variable `first'.
2699 (adjust-window-trailing-edge): Remove unused variable `failed'.
2700 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2701 Use `let', not `let*'.
2702 (balance-windows-2): Remove unused variable `found'.
2703 (window--state-put-2): Remove unused variable `splits'.
2704 (window-state-put): Remove unused variable `selected'.
2705 (same-window-p): Use `string-match-p'.
2706 (display-buffer-assq-regexp): Remove unused variable `value'.
2707 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2708 Mark argument ALIST as ignored.
2709 (pop-to-buffer): Remove unused variable `old-window'.
2711 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2713 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2714 and .lzma compressed files.
2716 2012-01-29 Chong Yidong <cyd@gnu.org>
2718 * frame.el (window-system-default-frame-alist): Doc fix.
2720 * dynamic-setting.el (font-setting-change-default-font): Don't
2721 change the default face if SET-FONT argument is non-nil (Bug#9982).
2723 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2725 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2727 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2729 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2730 breakpoints in files outside current directory (Bug#6098).
2732 2012-01-29 Chong Yidong <cyd@gnu.org>
2734 * progmodes/python.el: Require ansi-color at top-level.
2736 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2737 Define and use in Emacs Lisp mode (Bug#9360).
2738 (lisp-mode-abbrev-table): Add doc.
2739 (lisp-mode-variables): Don't set local-abbrev-table.
2740 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2742 2012-01-28 Roland Winkler <winkler@gnu.org>
2744 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2746 2012-01-28 Roland Winkler <winkler@gnu.org>
2748 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2749 (bibtex-set-dialect): Use it. Either set global values of
2750 dialect-dependent variables or bind these variables buffer-locally
2752 (bibtex-mode): Call bibtex-set-dialect via
2753 hack-local-variables-hook.
2754 (bibtex-dialect): Update docstring.
2755 Add safe-local-variable predicate.
2756 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2758 (bibtex-mode-map): Define menu for each dialect.
2759 (bibtex-entry): Fix docstring.
2761 2012-01-28 Chong Yidong <cyd@gnu.org>
2763 * eshell/esh-arg.el (eshell-quote-argument): New function.
2765 * eshell/esh-ext.el (eshell-invoke-batch-file):
2766 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2767 first arg to eshell-parse-command (Bug#10523).
2769 2012-01-28 Drew Adams <drew.adams@oracle.com>
2771 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2772 `default-directory' is non-nil.
2774 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2776 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2777 line that displays system-configuration-options. (Bug#9924)
2779 2012-01-28 Drew Adams <drew.adams@oracle.com>
2781 * descr-text.el (describe-char): Show information about POS, in
2782 addition to information about the character at POS. Improve and
2783 update the doc string. Change "code point" to "code point in
2784 charset", to avoid confusion with the character's Unicode code
2785 point shown above that. (Bug#10129)
2787 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2789 * descr-text.el (describe-char): Show the raw character, not only
2790 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2791 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2794 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2796 * emacs-lisp/package.el (package-install):
2797 Run package-refresh-contents if there is no archive yet (Bug#9798).
2799 2012-01-28 Chong Yidong <cyd@gnu.org>
2801 * emacs-lisp/package.el (package-maybe-load-descriptor):
2802 New function, split from package-maybe-load-descriptor.
2803 (package-maybe-load-descriptor): Use it.
2804 (package-download-transaction): Fully load required packages
2805 inside the loop, so that `require' calls work (Bug#10593).
2806 (package-install): No need to call package-initialize now.
2808 2012-01-28 Chong Yidong <cyd@gnu.org>
2810 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2812 * tooltip.el (tooltip-mode): Doc fix.
2813 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2815 * frame.el (set-cursor-color): Doc fix (Bug#352).
2817 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2818 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2820 * cus-edit.el (custom-buffer-create-internal): Fix search button
2822 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2824 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2826 * dired.el (dired-mark-files-regexp):
2827 Include any subdirectory components. (Bug#10445)
2829 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2831 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2832 Handle [host]:port syntax. (Bug#10533)
2834 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2836 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2838 2012-01-26 Glenn Morris <rgm@gnu.org>
2840 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2841 * term.el (term-raw-escape-map): Use Control-X-prefix.
2842 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2844 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2846 * window.el (window-state-get, window--state-get-1): Don't deal
2847 with fixed-sizeness of windows. Simplify code.
2849 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2851 * window.el (window--state-get-1, window--state-put-2):
2852 Don't save and restore the mark.
2854 2012-01-25 Chong Yidong <cyd@gnu.org>
2856 * custom.el (custom-variable-p): Doc fix.
2858 2012-01-25 Glenn Morris <rgm@gnu.org>
2860 * dired.el (dired-goto-file): Handle some of the more common
2861 characters that `ls -b' escapes. (Bug#10596)
2863 * progmodes/compile.el (compilation-next-error-function):
2864 Respect compilation-first-column in the "*compilation*" buffer.
2865 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2867 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2869 2012-01-24 Glenn Morris <rgm@gnu.org>
2871 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2873 2012-01-24 Julien Danjou <julien@danjou.info>
2875 * color.el (color-rgb-to-hsl): Fix value computing.
2876 (color-hue-to-rgb): New function.
2877 (color-hsl-to-rgb): New function.
2878 (color-clamp, color-saturate-hsl, color-saturate-name)
2879 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2880 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2882 2012-01-24 Glenn Morris <rgm@gnu.org>
2884 * vc/vc-rcs.el (vc-rcs-create-tag):
2885 * vc/vc-sccs.el (vc-sccs-create-tag):
2886 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2888 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2890 * eshell/esh-util.el (eshell-read-hosts-file):
2891 Skip comment lines. (Bug#10549)
2893 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2895 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2897 * subr.el (display-delayed-warnings): Doc fix.
2898 (collapse-delayed-warnings): New function to collapse identical
2900 (delayed-warnings-hook): Add it.
2902 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2904 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2906 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2907 properties, when "login-as" is set.
2909 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2910 (tramp-default-user-alist): Don't add "pscp".
2911 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2912 property "login-as", if set. (Bug#10530)
2914 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2916 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2917 "plink1" and "psftp". (Bug#10530)
2919 2012-01-21 Kenichi Handa <handa@m17n.org>
2921 * international/mule-cmds.el (prefer-coding-system): Show a
2922 warning message if the default value of file-name-coding-system
2925 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2927 * windmove.el (windmove-reference-loc):
2928 Fix windmove-reference-loc miscalculation.
2930 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2932 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2935 2012-01-21 Glenn Morris <rgm@gnu.org>
2937 * international/mule.el (auto-coding-alist): Add .tbz.
2939 * files.el (local-enable-local-variables): Doc fix.
2940 (inhibit-local-variables-regexps): Rename from
2941 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2942 Doc fix. Add some extensions from auto-coding-alist.
2943 (inhibit-local-variables-suffixes):
2944 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2945 (inhibit-local-variables-p):
2946 New function, extracted from set-auto-mode-1.
2947 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2948 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2949 (hack-local-variables): Doc fix. Make the mode-only case
2950 respect enable-local-variables and friends.
2951 Respect inhibit-local-variables-regexps for file-locals, but
2952 not for directory-locals.
2953 (set-visited-file-name):
2954 Take account of inhibit-local-variables-regexps.
2955 Whether it applies may change as the file name is changed.
2956 * jka-cmpr-hook.el (jka-compr-install):
2957 * jka-compr.el (jka-compr-uninstall):
2958 Update for inhibit-first-line-modes-suffixes name change.
2960 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2962 * help-macro.el (make-help-screen): Temporarily restore original
2963 binding for minor-mode-map-alist (Bug#10454).
2965 2012-01-19 Julien Danjou <julien@danjou.info>
2967 * color.el (color-name-to-rgb): Use the white color to find the max
2968 color component value and return correctly computed values.
2969 (color-name-to-rgb): Add missing float conversion for max value.
2971 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2973 * window.el (window--state-get-1, window-state-get): Do not use
2974 special state value for window-persistent-parameters.
2975 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2976 (window--state-put-2): Reset all window parameters to nil before
2977 assigning values of persistent parameters.
2979 2012-01-18 Alan Mackenzie <acm@muc.de>
2981 Eliminate sluggishness and hangs in fontification of "semicolon
2984 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2985 Change value 10000 -> 3000.
2986 (c-state-safe-place): Reformulate so it doesn't stack up an
2987 infinite number of wrong entries in c-state-nonlit-pos-cache.
2988 (c-determine-limit-get-base, c-determine-limit): New functions to
2989 determine backward search limits disregarding literals.
2990 (c-find-decl-spots): Amend commenting.
2991 (c-cheap-inside-bracelist-p): New function which detects "={".
2993 * progmodes/cc-fonts.el
2994 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2996 (c-font-lock-declarations): Fix an occurrence of point being
2997 undefined. Check additionally for point being in a bracelist or
2998 near a macro invocation without a semicolon so as to avoid a
2999 fruitless time consuming search for a declarator. Give a more
3000 precise search limit for declarators using the new
3003 2012-01-18 Glenn Morris <rgm@gnu.org>
3005 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3006 (set-auto-mode): Doc fixes.
3008 2012-01-17 Glenn Morris <rgm@gnu.org>
3010 * isearch.el (search-nonincremental-instead): Fix doc typo.
3012 * dired.el (dired-insert-directory): Handle newlines in directory name.
3013 (dired-build-subdir-alist): Unescape newlines in directory name.
3015 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3017 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3018 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3019 (tramp-action-terminal): Use it. (Bug#10530)
3021 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3023 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3025 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3027 * window.el (window-state-ignored-parameters): Remove variable.
3028 (window--state-get-1): Rename argument MARKERS to IGNORE.
3029 Handle persistent window parameters. Make copy of clone-of
3030 parameter only if requested. (Bug#10348)
3031 (window--state-put-2): Install a window parameter only if it has
3032 a non-nil value or an existing parameter shall be overwritten.
3034 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3036 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3038 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3040 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3041 don't pass the (nil) value of `upnode' to string-match.
3043 2012-01-14 Chong Yidong <cyd@gnu.org>
3045 * startup.el (command-line): Fix X resource class for cursorColor.
3046 Fix values recognized by the cursorBlink resource.
3048 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3050 * epg.el (epg--make-temp-file): Avoid permission race condition
3051 when running on old Emacs versions (bug#10403).
3053 2012-01-14 Glenn Morris <rgm@gnu.org>
3055 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3057 2012-01-13 Alan Mackenzie <acm@muc.de>
3059 Fix filling for when filladapt mode is enabled.
3061 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3062 c-mask-paragraph, pass in `fill-paragraph' rather than
3063 `fill-region-as-paragraph'. (This is a reversion of a previous
3065 * progmodes/cc-mode.el (c-basic-common-init):
3066 Make fill-paragraph-handle-comment buffer local and set it to nil.
3068 2012-01-13 Glenn Morris <rgm@gnu.org>
3070 * dired.el (dired-switches-escape-p): New function.
3071 (dired-insert-directory): Use dired-switches-escape-p.
3072 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3074 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3076 2012-01-12 Glenn Morris <rgm@gnu.org>
3078 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3079 changes in adaptive-fill-regexp. (Bug#10276)
3081 2012-01-11 Alan Mackenzie <acm@muc.de>
3083 Fix Emacs bug #10463 - put `widen's around the critical spots.
3085 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3086 widen around each invocation of c-state-pp-to-literal. Remove an
3087 unused let variable.
3089 2012-01-11 Glenn Morris <rgm@gnu.org>
3091 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3094 2012-01-10 Chong Yidong <cyd@gnu.org>
3096 * net/network-stream.el (network-stream-open-starttls):
3097 Avoid emitting a confusing error message when the server gives a bad
3098 response to the capability command.
3100 2012-01-10 Glenn Morris <rgm@gnu.org>
3102 * mail/unrmail.el (unrmail): Tweak previous change.
3104 2012-01-09 Chong Yidong <cyd@gnu.org>
3106 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3108 2012-01-08 Alan Mackenzie <acm@muc.de>
3110 Optimise font locking in long enum definitions.
3112 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3113 arm to a cond form to handle enums.
3114 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3115 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3117 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3119 * files.el (move-file-to-trash): Preserve default file modes on error.
3122 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3124 * faces.el (set-face-attribute): Clarify the meaning of the nil
3127 * subr.el (with-selected-frame): Mention that the selected frame
3128 is restored (bug#9980).
3130 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3133 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3134 (password-read): Don't autoload unused function.
3136 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3138 * progmodes/which-func.el (which-func-mode): Turn into a
3139 non-interactive function and mark as obsolete (bug#10428).
3141 2012-01-06 Chong Yidong <cyd@gnu.org>
3143 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3144 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3145 functions, along with 1 and -1.
3147 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3149 * time.el (display-time-load-average)
3150 (display-time-default-load-average): Doc fixes. See the thread
3152 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3155 2012-01-06 Glenn Morris <rgm@gnu.org>
3157 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3158 has no messages. (Bug#10377)
3160 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3161 than Info-edit. (Bug#10385)
3163 * time.el (display-time-load-average, display-time-next-load-average):
3166 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3167 local setting of buffer-read-only to the input buffer. (Bug#10419)
3169 * calendar/calendar.el (calendar-mode):
3170 Locally set scroll-margin to 0. (Bug#10379)
3172 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3174 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3176 2012-01-05 Glenn Morris <rgm@gnu.org>
3178 * eshell/em-unix.el (diff-no-select): Autoload it.
3179 (eshell/diff): Use diff-no-select. (Bug#10420)
3181 2012-01-05 Chong Yidong <cyd@gnu.org>
3183 * shell.el (shell-dynamic-complete-functions): Revert last change.
3184 (shell-command-completion-function): New function.
3185 (shell-completion-vars): Use it to implement
3186 shell-completion-execonly (Bug#10417).
3188 * custom.el (enable-theme): Don't set custom-safe-themes.
3190 * cus-theme.el (custom-theme-merge-theme):
3191 Ignore custom-enabled-themes and custom-safe-themes.
3193 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3195 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3196 first prompt in `sql-interacive-mode'.
3197 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3199 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3200 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3201 context of original buffer. Invoke `sql-login-hook'.
3203 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3205 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3206 letters in cite-prefix.
3208 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3210 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3212 2012-01-03 Chong Yidong <cyd@gnu.org>
3214 * shell.el (shell-dynamic-complete-functions):
3215 Put pcomplete-completions-at-point, so as to try
3216 comint-filename-completion first (Bug#10417).
3218 2012-01-02 Richard Stallman <rms@gnu.org>
3220 * battery.el (battery-status-function):
3221 Detect when to use battery-yeeloong-sysfs.
3222 (battery-echo-area-format): Add string for Yeeloong.
3223 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3224 (battery-yeeloong-sysfs): New function.
3226 2012-01-02 Chong Yidong <cyd@gnu.org>
3228 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3229 (dirtrack): Merge code for handling relative filenames in prompt
3230 from shell-dir-cookie-watcher.
3231 (dirtrack-debug-message): New arg to avoid excess format calls.
3233 * shell.el (shell-dir-cookie-re): Variable deleted.
3234 (shell-dir-cookie-watcher): Function deleted.
3235 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3238 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3240 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3241 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3244 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3246 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3248 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3250 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3251 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3253 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3255 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3256 also for alternative shells.
3257 (tramp-open-connection-setup-interactive-shell): Check, whether
3258 the shell is a busybox.
3259 (tramp-send-command): Don't suppress multiple prompts for
3260 busyboxes, it hurts.
3262 2011-12-28 Chong Yidong <cyd@gnu.org>
3264 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3265 (gdb-get-source-file): Move mode line update to
3266 gdb-get-source-file (Bug#10087).
3268 2011-12-25 Chong Yidong <cyd@gnu.org>
3270 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3271 gud-gdb-marker-filter without taking it as an argument.
3272 (gud-gdb-run-command-fetch-lines): Caller changed.
3273 (gud-gdb-completion-function): New variable.
3274 (gud-gdb-completion-at-point): Use it.
3275 (gud-gdb-completions-1): Split from gud-gdb-completions.
3277 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3278 function as separate arguments.
3279 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3280 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3281 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3282 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3283 (gdb-stopped, def-gdb-auto-update-trigger)
3284 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3285 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3287 (gud-gdbmi-completions): New function.
3288 (gdb): Use it for generating the completion table.
3290 2011-12-24 Alan Mackenzie <acm@muc.de>
3292 Introduce a mechanism to widen the region used in context font
3293 locking. Use this to protect declarations from losing their contexts.
3295 * progmodes/cc-langs.el (c-before-font-lock-functions):
3296 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3297 (c-before-context-fontification-functions): New defvar, a list of
3298 functions to be run just before context (etc.) font locking.
3300 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3301 New, functionality extracted from
3302 c-neutralize-syntax-in-and-mark-CPP.
3303 (c-in-after-change-fontification): New variable.
3304 (c-after-change): Set c-in-after-change-fontification.
3305 (c-set-fl-decl-start): Rejig its interface, so it can be called
3306 from both after-change and context fontifying.
3307 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3309 (c-standard-font-lock-fontify-region-function): New variable.
3310 (c-font-lock-fontify-region): New function.
3312 2011-12-24 Juri Linkov <juri@jurta.org>
3314 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3317 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3319 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3320 existence of source file. (Bug#10325)
3322 2011-12-23 Alan Mackenzie <acm@muc.de>
3324 Fix unstable fontification inside templates.
3326 * progmodes/cc-langs.el (c-before-font-lock-functions):
3327 Newly created from the singular version. The (c c++ objc) entry now
3328 additionally has c-set-fl-decl-start. The other languages (apart
3329 from AWK) have that as a single entry.
3331 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3332 The functionality for "local" declarations has been extracted to
3333 c-set-fl-decl-start.
3335 * progmodes/cc-mode.el (c-common-init, c-after-change):
3336 Changes due to pluralisation of c-before-font-lock-functions.
3337 (c-set-fl-decl-start): New function, extracted from
3338 c-font-lock-enclosing-decls and enhanced.
3340 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3342 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3344 2011-12-22 Juri Linkov <juri@jurta.org>
3346 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3348 2011-12-22 Chong Yidong <cyd@gnu.org>
3350 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3352 2011-12-21 Drew Adams <drew.adams@oracle.com>
3354 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3356 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3358 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3360 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3362 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3363 highlighting and support. Fix up comments for capitalization.
3364 (cfengine-mode-debug): New var.
3365 (cfengine3-mode): Change the modeline indicator to "CFE3".
3366 (cfengine3-font-lock-keywords): Improve defun highlighting.
3367 (cfengine2-actions): Rename from `cfengine-actions'.
3368 (cfengine2-font-lock-keywords): Rename from
3369 `cfengine-font-lock-keywords'.
3370 (cfengine2-imenu-expression): Rename from
3371 `cfengine-imenu-expression'.
3372 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3373 (cfengine2-beginning-of-defun): Rename from
3374 `cfengine-beginning-of-defun'.
3375 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3376 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3377 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3378 modeline indicator to "CFE2".
3379 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3380 (cfengine-mode-abbrevs): Mark obsolete.
3382 2011-12-21 Chong Yidong <cyd@gnu.org>
3384 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3387 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3389 * window.el (window-normalize-buffer-to-display): Remove.
3390 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3392 2011-12-19 Chong Yidong <cyd@gnu.org>
3394 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3395 Don't signal an error in a predicate function; return non-nil.
3396 (vc-dir-mark-file): Move the error here.
3397 (vc-dir-mark-unmark): If acting on the region, keep going if one
3398 of the entries cannot be marked/unmarked.
3399 (vc-dir-mark-all-files): If current entry is a directory, mark
3400 only child files, as documented.
3402 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3404 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3405 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3408 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3410 * term/ns-win.el (ns-get-selection-internal)
3411 (ns-store-selection-internal): Declare.
3412 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3413 Declare as obsolete.
3414 (ns-get-pasteboard, ns-paste-secondary):
3415 Use ns-get-selection-internal.
3416 (ns-set-pasteboard, ns-copy-including-secondary):
3417 Use ns-store-selection-internal.
3419 2011-12-17 Chong Yidong <cyd@gnu.org>
3421 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3422 (vc-deduce-fileset): Doc fix.
3424 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3426 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3428 2011-12-13 Sam Steingold <sds@gnu.org>
3430 * man.el (Man-getpage-in-background): When running under a
3431 window-system, ignore $MANWIDTH and $COLUMNS.
3433 2011-12-15 Kenichi Handa <handa@m17n.org>
3435 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3436 (setup-ethiopic-environment-internal): Comment out key-binding for
3437 ethio-toggle-punctuation.
3439 2011-12-13 Alan Mackenzie <acm@muc.de>
3441 Add the switch statement to AWK Mode.
3443 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3444 "default" to the keywords regexp.
3446 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3447 expression as the rest.
3448 (c-nonlabel-token-key): Allow string literals for AWK.
3449 Refactor for the other modes.
3451 Large brace-block initialisation makes CC Mode slow: Fix.
3452 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3453 routines. Limit backward searching in c-font-lock-enclosing.decl.
3455 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3456 pp-state and literal type in addition to the limits.
3457 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3458 (c-state-literal-at): Use the above new defun.
3459 (c-slow-in-literal, c-fast-in-literal): Remove.
3460 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3463 being in a literal. Add a limit for backward searching.
3465 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3468 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3472 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3474 * window.el (delete-other-windows): Use correct frame in call to
3475 window-with-parameter.
3477 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3479 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3480 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3481 (makefile-gmake-statements, makefile-makepp-statements):
3482 Use it and add new makepp keywords.
3483 (makefile-makepp-font-lock-keywords): Add new patterns.
3484 (makefile-match-function-end): Match new [...] and [[...]].
3486 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3488 * ses.el (ses-call-printer-return, ses-cell-property-get)
3489 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3490 (ses-create-cell-variable, ses-reset-header-string)
3491 (ses-cell-set-formula, ses-repair-cell-reference-all)
3492 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3493 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3494 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3495 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3496 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3497 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3498 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3499 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3500 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3501 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3502 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3503 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3505 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3507 * ses.el: The overall change is to add cell renaming, that is
3508 setting fancy names for cell symbols other than name matching
3509 "\\`[A-Z]+[0-9]+\\'" regexp .
3510 (ses-create-cell-variable): New defun.
3511 (ses-relocate-formula): Relocate formulas only for cells the
3512 symbols of which are not renamed, i.e. symbols whose names do not
3513 match regexp "\\`[A-Z]+[0-9]+\\'".
3514 (ses-relocate-all): Relocate values only for cells the symbols of
3515 which are not renamed.
3516 (ses-load): Create cells variables as the (ses-cell ...) are read,
3517 in order to check row col consistency with cell symbol name only
3518 for cells that are not renamed.
3519 (ses-replace-name-in-formula): New defun.
3520 (ses-rename-cell): New defun.
3522 2011-12-11 Chong Yidong <cyd@gnu.org>
3524 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3525 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3527 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3529 * window.el (other-window): Fix docstring.
3531 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3533 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3534 `from' or `to' address before taking its substring.
3535 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3536 encoded name is chopped in the middle of the encoded string, and
3537 thus displayed encoded.
3539 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3541 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3543 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3545 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3546 to use texinfo-update-node and commands that call it if the
3547 Texinfo file uses @node lines without next/prev/up pointers.
3548 Correct outdated description about texinfo-master-menu.
3549 (texinfo-all-menus-update, texinfo-master-menu)
3550 (texinfo-update-node, texinfo-every-node-update)
3551 (texinfo-multiple-files-update): Doc fix. Warn against updating
3552 all the @node lines.
3553 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3554 argument is numeric. Explain better in the doc string what the
3555 function really does.
3556 (texinfo-insert-master-menu-list): Improve the error message
3557 displayed if there's no menu in the Top node.
3558 (Bug#2975) See also this thread:
3559 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3561 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3563 * speedbar.el (speedbar-supported-extension-expressions):
3564 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3566 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3568 * printing.el (pr-mode-alist):
3569 * simple.el (filter-buffer-substring-functions)
3570 (completion-list-insert-choice-function):
3571 * window.el (window-with-parameter, window-atom-root)
3572 (window-sides-slots, window-size-fixed, window-min-delta)
3573 (window-max-delta, window--resize-mini-window)
3574 (window--resize-child-windows-normal, window-tree)
3575 (delete-other-windows, quit-window, split-window)
3576 (display-buffer-record-window, special-display-buffer-names)
3577 (special-display-regexps, special-display-popup-frame)
3578 (same-window-p, split-window-sensibly)
3579 (display-buffer-overriding-action, display-buffer-alist)
3580 (display-buffer-base-action, display-buffer, switch-to-buffer)
3581 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3582 (fit-window-to-buffer, recenter-positions)
3583 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3584 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3585 and remove unneeded backslashes in docstrings.
3587 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3591 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3592 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3594 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3595 when reading the makefile (bug#10116).
3597 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3602 2011-12-06 Glenn Morris <rgm@gnu.org>
3604 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3606 2011-12-06 Chong Yidong <cyd@gnu.org>
3608 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3610 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3612 * textmodes/table.el (table-shorten-cell): Fix typo.
3614 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3616 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3618 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3620 * descr-text.el (describe-char): Fix display of strong
3621 right-to-left characters and directional embeddings and overrides.
3623 * simple.el (what-cursor-position): Fix display of codepoints of
3624 strong right-to-left characters.
3626 2011-12-05 Chong Yidong <cyd@gnu.org>
3628 * faces.el (read-color): Doc fix.
3630 2011-12-05 Glenn Morris <rgm@gnu.org>
3632 * align.el (align--set-marker): Add doc-string.
3633 Don't try to move something that is not a marker. (Bug#10216)
3635 2011-12-04 Glenn Morris <rgm@gnu.org>
3637 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3638 overly zealous deletion of trailing whitespace.
3640 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3642 * server.el (server-delete-client): On Windows, do not try to delete
3644 (server-process-filter): On Windows, treat requests for a tty frame as
3645 if they were for a GUI frame if the running server is in GUI mode.
3647 2011-12-03 Glenn Morris <rgm@gnu.org>
3649 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3651 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * electric.el: Streamline electric-indent's hook.
3654 (electric-indent-chars): Revert to simple list.
3655 (electric-indent-functions): New var.
3656 (electric-indent-post-self-insert-function): Use it.
3658 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3659 there's no inferior buffer (bug#10196).
3660 (prolog-consult-compile): Don't use toggle-read-only.
3662 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3664 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3665 interrupt. (Bug#10187)
3667 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3672 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3675 2011-12-02 Juri Linkov <juri@jurta.org>
3677 * info.el (Info-search): Display "end of manual" when Isearch
3678 reaches the end of single-file Info manual. (Bug#9918)
3680 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3682 * isearch.el (isearch-message-prefix): Run the input method part
3683 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3685 2011-12-02 Juri Linkov <juri@jurta.org>
3687 * isearch.el (isearch-occur): Use `word-search-regexp' for
3689 (isearch-search-and-update): Add condition for `isearch-word' and
3690 call `word-search-regexp'. (Bug#10145)
3692 2011-12-01 Glenn Morris <rgm@gnu.org>
3694 * eshell/em-hist.el (eshell-hist-initialize):
3695 Handle eshell-history-size nil and HISTSIZE set or unset.
3696 (eshell-history-file-name, eshell-history-size): Fix custom type.
3698 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3700 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3702 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3704 * progmodes/verilog-mode.el (verilog-pretty-expr):
3705 Rework verilog-pretty-expr to handle new assignment operators in system
3706 verilog, such as += *= and the like.
3707 (verilog-assignment-operator-re): Regular expression to find the
3708 assigment operator in a verilog assignment.
3709 (verilog-assignment-operation-re): Regular expression to find an
3710 assignment statement for pretty-expr.
3711 (verilog-in-attribute-p): Query returns true if point is in an
3712 attribute context; used to skip these for expression line up from
3714 (verilog-in-parameter-p): Query returns true if point is in an
3715 parameter definition context; used to skip these for expression
3716 line up from pretty-expr.
3717 (verilog-in-parenthesis-p): Query returns true if point is in a
3718 parenthetical expression, specifically ( ) but not [ ] or { };
3719 used by pretty-expr.
3720 (verilog-just-one-space): If there is no space, don't add one.
3721 (verilog-get-lineup-indent-2): Specifically skip just attribute
3722 contexts for expression lineup, rather than skipping all
3723 parenthetical expressions.
3724 (verilog-calculate-indent): Fix comment, and fix indent.
3725 (verilog-do-indent): Indent declarations in lists (suggested by
3727 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3729 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3732 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3734 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3735 parameters with embedded comments. Reported by Ray Stevens.
3736 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3737 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3738 Reported by Tim Holt.
3739 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3740 instantiated by upper module causing wrong expansion until AUTOed a
3741 second time. Reported by K C Buckenmaier.
3742 (verilog-diff-auto): Fix showing .* as a difference when
3743 `verilog-auto-star-save' off. Reported by Dan Dever.
3744 (verilog-auto-reset, verilog-read-always-signals)
3745 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3746 temporary signals in reset list if
3747 verilog-auto-reset-blocking-in-non is nil, and match assignment
3748 style to each signal's assignment type, bug381.
3749 Reported by Thomas Esposito.
3750 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3751 (verilog-uvm-statement-re): Support UVM indentation and
3752 highlighting, with old OVM keywords only.
3753 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3754 Support AUTOTIEOFF creating non-wire data types.
3755 Suggested by Jonathan Greenlaw.
3756 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3757 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3758 (verilog-inject-sense, verilog-read-inst-pins)
3759 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3760 Fix mismatching parenthesis inside commented out code when deleting
3761 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3762 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3763 non-numeric vector width. Reported by Alex Reed.
3764 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3765 detecting signals with parameter widths. Reported by Alex Reed.
3766 (verilog-auto-delete-trailing-whitespace):
3767 With `verilog-auto-delete-trailing-whitespace' remove trailing
3768 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3769 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3770 Fix verilog-scan-cache corruption when running user AUTO expansion
3771 hooks that call indentation routines.
3772 (verilog-simplify-range-expression): Fix typo ignoring lower case
3774 (verilog-delete-auto): Fix delete-autos to also remove user created
3775 automatics, as long as they start with AUTO.
3776 (verilog-batch-diff-auto, verilog-diff-auto)
3777 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3778 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3779 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3780 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3781 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3782 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3783 is disabled and its cache will get corrupt, causing AUTOS not to
3784 expand. Instead use only -quick functions.
3785 (verilog-scan-region): Fix scanning over escaped quotes.
3786 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3787 (verilog-re-search-backward-quick)
3788 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3789 related functions now ignore strings, to fix misparsing of strings
3790 with magic comments embedded in them.
3791 (verilog-read-auto-template):
3792 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3793 Reported by Brad Dobbie.
3794 (verilog-read-auto-template):
3795 Fix 'verilog-auto-inst-template-numbers' with comments.
3796 Reported by Brad Dobbie.
3797 (verilog-auto-inst, verilog-auto-inst-param)
3798 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3799 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3800 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3801 debugging templates without merge conflicts, bug357.
3802 Reported by Brad Dobbie.
3803 (verilog-read-auto-template):
3804 Fix verilog-auto-inst-template-numbers with multiple templates.
3805 Reported by Brad Dobbie.
3806 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3807 abbrevs so user won't be asked to save.
3808 (verilog-read-auto-lisp-present): Fix to start at beginning of
3809 buffer in case called outside of verilog-auto.
3810 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3811 to "X-2". Reported by Matthew Myers.
3812 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3813 all inputs from module templates. Reported by Leith Johnson.
3814 (verilog-module-inside-filename-p): Fix locating programs as with
3816 (verilog-auto-inst-port): Fix vl-width expressions when using
3817 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3818 (verilog-decls-get-regs, verilog-decls-get-signals,
3819 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3820 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3821 verilog-read-decls): Combine reg and wire structures into one var
3822 structure to represent SystemVerilog concepts.
3823 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3824 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3825 (verilog-auto-wire-type, verilog-insert-definition):
3826 Add verilog-auto-wire-type and AUTOLOGIC to support using
3827 SystemVerilog "logic" keyword instead of "wire"/"reg".
3828 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3829 to declares outputs that also have assignments (presumably in an
3830 ifdef or generate if so there's not a driver conflict).
3831 Reported by Matthew Myers.
3832 (verilog-auto-declare-nettype, verilog-insert-definition):
3833 Add verilog-auto-declare-nettype to fix declarations using
3834 `default_nettype none. Reported by Julian Gorfajn.
3835 (verilog-read-always-signals-recurse, verilog-read-decls)
3836 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3837 malformed end statement, bug325. Reported by Joshua Wise and
3839 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3840 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3841 when expanding .* in interfaces, bug320.
3842 Reported by Pierre-David Pfister.
3843 (verilog-read-module-name): Fix import statements between module
3844 name and open parenthesis, bug317.
3845 Reported by Pierre-David Pfister.
3846 (verilog-simplify-range-expression): Fix simplification of
3847 multiplications inside AUTOWIRE connections, bug303.
3848 (verilog-auto-inst-port): Support parameter expansion in
3849 multidimensional arrays.
3850 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3851 after "assert property". Reported by Julian Gorfajn.
3852 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3853 with multiplication, bug303.
3854 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3855 Reported by Jan Frode Lonnum.
3857 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3859 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3860 (hfy-shell-file-name, hfy-shell):
3861 * international/fontset.el (x-decompose-font-name): Fix typos.
3863 2011-11-29 Ken Brown <kbrown@cornell.edu>
3865 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3866 (gdb-version): Remove defvar.
3867 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3868 (gdb-gud-context-command, gdb-non-stop-handler)
3869 (gdb-current-context-command, gdb-stopped): Use it.
3870 (gdb-init-1): Enable pretty printing here.
3871 (gdb-non-stop-handler): Don't enable pretty-printing here.
3872 Check to see if the target supports non-stop mode; if not, turn off
3873 non-stop mode. Use the following.
3874 (gdb-check-target-async): New defun.
3875 (gud-watch, gdb-stopped): Fix whitespace.
3876 (gdb-get-source-file): Don't try to display the source file if
3877 `gdb-main-file' is nil.
3879 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * align.el: Try to generate fewer markers (bug#10047).
3882 (align--set-marker): New macro.
3883 (align-region): Use it.
3885 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3889 2011-11-29 Chong Yidong <cyd@gnu.org>
3891 * indent.el (indent-for-tab-command, indent-according-to-mode):
3893 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3895 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3897 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3898 aware of remote file names. (Bug#10124)
3900 2011-11-29 Chong Yidong <cyd@gnu.org>
3902 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3904 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * files.el (find-file): Don't use force-same-window (bug#10144).
3907 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3908 use pop-to-buffer if the selected window can't be used.
3909 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3911 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3913 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3916 2011-11-28 Chong Yidong <cyd@gnu.org>
3918 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3920 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3922 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3923 gdb-get-source-file-list on gdb-create-source-file-list.
3925 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3927 * whitespace.el (whitespace-newline): Use a different foreground
3928 color for 16-color light-background displays.
3930 2011-11-24 Chong Yidong <cyd@gnu.org>
3932 * window.el (display-buffer--special-action): Doc fix.
3934 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3936 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3937 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3938 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3939 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3940 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3941 (avl-tree-stack-first):
3942 * emacs-lisp/cconv.el (cconv--analyse-use):
3943 * net/gnutls.el (gnutls-negotiate): Fix typos.
3945 2011-11-24 Glenn Morris <rgm@gnu.org>
3947 * lpr.el (lpr-windows-system, lpr-lp-system):
3948 * mail/binhex.el (binhex-begin-line):
3949 * progmodes/grep.el (grep-history, grep-find-history):
3950 * textmodes/flyspell.el:
3951 * vc/pcvs-defs.el (cvs-global-menu):
3952 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3953 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3954 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3956 * net/tls.el: Fix case of "GnuTLS".
3958 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3960 * version.el (emacs-build-system): Give it a doc-string.
3962 2011-11-24 Juri Linkov <juri@jurta.org>
3964 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3966 2011-11-24 Glenn Morris <rgm@gnu.org>
3968 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3969 if called on a non-mime message just toggle the headers. (Bug#8006)
3971 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3973 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3974 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3975 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3976 (allout-rebullet-heading, allout-open-sibtopic)
3977 (allout-toggle-current-subtree-encryption)
3978 (allout-toggle-subtree-encryption, allout-encrypt-string)
3979 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3980 (allout-distinctive-bullets-string, allout-auto-activation):
3981 * window.el (window-normalize-buffer-to-display):
3982 * progmodes/verilog-mode.el (verilog-batch-indent):
3983 * textmodes/bibtex.el (bibtex-field-braces-opt)
3984 (bibtex-field-strings-opt):
3985 * vc/cvs-status.el (cvs-tree-merge):
3988 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3990 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3991 `non-essential' to t, in order to avoid remote connections.
3993 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3996 On MS-DOS and MS-Windows, compare with loaddefs.el
3999 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4001 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4003 2011-11-23 Glenn Morris <rgm@gnu.org>
4005 * paths.el (rmail-file-name): Reformat the doc-string so that it
4008 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4009 (rmail-auto-file): Ignore case in the "special" field names,
4010 as mail-fetch-field does for all others.
4012 * mail/rmail.el (rmail-forward):
4013 * mail/rmailkwd.el (rmail-set-label):
4014 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4015 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4017 * mail/rmail.el (rmail-current-message): Doc fix.
4019 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4021 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4025 2011-11-22 Glenn Morris <rgm@gnu.org>
4027 * mail/rmailmm.el (test-rmail-mime-handler)
4028 (test-rmail-mime-bulk-handler)
4029 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4031 2011-11-21 Juri Linkov <juri@jurta.org>
4033 * calc/calc.el (calc-read-key-sequence):
4034 Let-bind `input-method-function' to nil. (Bug#10018)
4036 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4038 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4039 Tell the caller that the next line needs recomputation, even
4040 though it doesn't start a sexp (bug#10094).
4042 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4044 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4046 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4049 Use force-same-window.
4051 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4053 * descr-text.el (describe-char-unicode-data):
4054 * json.el (json-string-escape):
4055 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4056 (Footnote-unicode, Footnote-style-p):
4057 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4059 2011-11-20 Chong Yidong <cyd@gnu.org>
4061 * window.el (replace-buffer-in-windows): Restore interactive spec.
4063 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4067 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4068 (byte-compile-global-not-obsolete-vars): New var.
4069 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4071 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4073 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4075 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4076 * progmodes/pascal.el (electric-pascal-equal):
4077 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4078 * xml.el (xml-substitute-special): Fix typos.
4080 2011-11-20 Glenn Morris <rgm@gnu.org>
4082 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4083 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4085 (rmail-decode-mime-charset): Mark as obsolete.
4087 * mail/rmailsum.el (rmail-message-regexp-p-1):
4088 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4089 Before using mime functions, check they are set. (Bug#10077)
4091 2011-11-19 Juri Linkov <juri@jurta.org>
4093 * info.el (Info-finder-find-node): Use `package--builtins' instead
4094 of `package-alist'. Use node names formed by the pattern "Keyword "
4095 and the keyword name.
4097 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4099 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4101 2011-11-19 Juri Linkov <juri@jurta.org>
4103 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4104 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4105 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4106 `old-history', `old-history-forward'. Add let-binding
4107 `window-selected'. Remove calls to `kill-buffer',
4108 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4109 before calling `Info-find-node', so `Info-find-node-2' will reread
4110 the Info file. Restore window positions only when `window-selected'
4113 2011-11-19 Juri Linkov <juri@jurta.org>
4115 * isearch.el (isearch-lazy-highlight-new-loop):
4116 Remove condition `(not isearch-error)'. (Bug#9918)
4118 * misearch.el (multi-isearch-search-fun): Add condition
4119 `(not bound)' to ignore lazy-highlighting search.
4120 Add the search-failed message "end of multi" when the end of
4121 multi-sequence is reached. Uncapitalize the search-failed
4122 message "Repeat for next buffer".
4124 * info.el (Info-search): Add the search-failed message
4125 "end of the manual" when the end of the manual is reached
4128 2011-11-19 Juri Linkov <juri@jurta.org>
4130 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4131 Use non-destructive `remove' instead of `delete' because
4132 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4133 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4135 2011-11-19 Juri Linkov <juri@jurta.org>
4137 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4138 to nil instead of binding `search-ring' and `regexp-search-ring'.
4141 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4143 * simple.el (line-move): Force movement by logical lines for any
4144 hscrolled window, not only when auto-hscroll-mode is on.
4145 (line-move-visual): Update doc string to that effect. (Bug#10076)
4147 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4149 * language/european.el (macintosh): Define as alias for mac-roman.
4151 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4153 * mail/rmailmm.el (rmail-mime-display-header)
4154 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4155 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4156 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4157 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4158 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4160 (rmail-mime-entity-segment): To get past the tagline, move forward
4161 2 more lines, to account for the 2 empty lines that precede and
4162 follow the line with the buttons.
4163 (rmail-mime-update-tagline): Move one more line, to get past the
4164 empty line that follows the buttons in the tagline. (Bug#9520)
4166 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4168 * window.el (window-max-delta-1, window-min-delta-1)
4169 (window-min-size-1, window-state-get-1, window-state-put-1)
4170 (window-state-put-2): Use "window--" prefix.
4172 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4174 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4175 (smie-warning-count): New var.
4176 (smie-set-prec2tab): Use it.
4177 (smie-bnf->prec2): Improve warnings. Add docstring.
4178 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4179 (smie-bnf--set-class): New function.
4180 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4183 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4184 (compilation-error-properties, compilation-move-to-column):
4185 Handle compilation-first-column while in the target buffer.
4187 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4188 Don't hardcode point-min==1.
4190 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4191 (eshell-rewrite-for-command): Remove workaround.
4192 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4193 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4194 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4196 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4198 2011-11-17 Glenn Morris <rgm@gnu.org>
4200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4201 Ignore buffer-local generated-autoload-file if it is the same
4202 as the global value. (Bug#10049)
4204 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4206 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4207 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4208 (reftex-toc-previous-heading, reftex-toc-max-level)
4209 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4210 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4211 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4212 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4213 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4214 (reftex-toc-rename-label, reftex-toc-visit-location)
4215 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4216 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4217 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4218 leaving "*toc*" only for references to the buffer.
4220 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4222 * window.el (window-resize, delete-window, split-window):
4223 Replace window-splits by window-combination-resize.
4224 * cus-start.el (window-splits): Replace by window-combination-resize.
4226 2011-11-17 Glenn Morris <rgm@gnu.org>
4228 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4229 Make bash entry derive from sh entry, not shell entry.
4231 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4233 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4234 properties of linked files. (Bug#9879)
4236 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4239 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4241 * menu-bar.el (menu-bar-file-menu):
4242 * printing.el (pr-ps-utility):
4243 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4244 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4245 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4246 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4247 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4248 (icalendar--convert-cyclic-to-ical)
4249 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4250 (icalendar--convert-ical-to-diary)
4251 (icalendar--convert-recurring-to-diary)
4252 (icalendar--convert-non-recurring-all-day-to-diary)
4253 (icalendar-import-format-sample):
4254 * progmodes/idlw-shell.el (idlwave-shell-mode):
4255 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4256 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4257 (vhdl-ps-print-init): Fix typos.
4259 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4261 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4262 FSF and collapse date sequence, obscure author/maintainer email address
4263 better, remove extra version line, track relocation of author's webpage.
4265 * progmodes/python.el (python-pdbtrack-input-prompt)
4266 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4267 regular python pdb prompts. Adjustments shamelessly taken exactly as
4268 suggested in EmacsWiki page (tiny change):
4269 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4271 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4273 * expand.el (expand-pos, expand-index, expand-point):
4274 Remove redundant info from docstring.
4275 (expand-add-abbrevs): Doc fix.
4276 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4277 (expand-sample-perl-mode-expand-list): Fix typos.
4279 * net/dbus.el (dbus-event-member-name):
4280 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4281 * term/pc-win.el (msdos-create-frame-with-faces):
4282 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4284 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4286 * window.el (split-window, window-state-get-1)
4287 (window-state-put-1, window-state-put-2): Rename occurrences of
4288 window-nest to window-combination-limit.
4289 * cus-start.el (window-nest): Rename to window-combination-limit.
4291 2011-11-16 Chong Yidong <cyd@gnu.org>
4293 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4296 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4298 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4299 `completing-read' will remove *Completions* and will preserve
4300 current-buffer for us.
4301 (tmm-add-prompt): Users of *Completions* will always (re)set its
4303 (tmm-old-comp-map): Remove.
4305 2011-11-16 Glenn Morris <rgm@gnu.org>
4307 * mail/rmailedit.el: Require rmailmm when compiling.
4308 (rmail-old-mime-state): New declaration.
4309 (rmail-edit-current-message): If editing a mime message,
4310 edit the "raw" message from the mbox buffer.
4311 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4313 2011-11-15 Glenn Morris <rgm@gnu.org>
4315 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4316 which wasn't being used. Add optional arg to force given state.
4317 (rmail-mime): Add optional arg to force given state.
4319 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4321 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4322 * frame.el (display-mm-dimensions-alist):
4323 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4324 (outline-move-subtree-down):
4325 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4326 (newsticker--treeview-do-get-node):
4327 * net/quickurl.el (quickurl-list-buffer-name):
4328 * progmodes/dcl-mode.el (dcl-mode):
4329 * progmodes/gdb-mi.el (gdb-mapcar*):
4330 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4332 2011-11-15 Glenn Morris <rgm@gnu.org>
4334 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4335 in a boolean sense, so just make it a boolean, and fix the doc.
4336 (rmail-show-mime-function, rmail-mime-feature)
4337 (rmail-require-mime-maybe): Doc fixes.
4338 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4340 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4342 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4344 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4345 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4346 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4347 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4349 2011-11-15 Glenn Morris <rgm@gnu.org>
4351 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4352 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4353 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4354 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4355 (rmail-mime, rmail-show-mime): Doc fixes.
4357 * term/ns-win.el (mode-line-frame-identification):
4358 Leave it alone. (Bug#10051)
4360 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4362 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4363 Handle empty buffers. (Bug#9978)
4365 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4367 * international/mule.el (define-charset):
4368 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4369 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4370 * progmodes/verilog-mode.el (verilog-backward-token):
4371 * textmodes/ispell.el (lookup-words):
4372 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4374 2011-11-14 Glenn Morris <rgm@gnu.org>
4376 * progmodes/executable.el
4377 (executable-make-buffer-file-executable-if-script-p):
4378 Handle file-modes returning nil.
4380 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4381 message - not necessary, and causes problems. (Bug#9831)
4383 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4385 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4387 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4388 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4389 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4391 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4393 * window.el (window-resize, delete-window): Use window-splits
4394 variable instead of function.
4395 (window-state-get-1, window-state-put-2, window-state-put):
4396 Don't deal with windows' splits status.
4398 2011-11-12 Glenn Morris <rgm@gnu.org>
4400 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4401 (apropos-documentation): Doc fixes.
4403 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4405 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4406 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4408 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4410 * electric.el (electric-indent-post-self-insert-function): Make it
4411 possible for a char to only indent in some circumstances.
4412 (electric-indent-mode): Simplify.
4414 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4416 * window.el (windows-with-parameter): Remove unused function.
4417 (windows-at-side): Rename to window-at-side-list.
4418 (window-check, window-atom-check, window-atom-check-1)
4419 (window-side-check, window-size-ignore, window-size-fixed-1)
4420 (window-in-direction-2): Prefix with "window--".
4421 (window-tree-1): Rename to window--subtree, fix doc-string.
4423 2011-11-11 Glenn Morris <rgm@gnu.org>
4425 * subr.el (eval-after-load): If FILE is already loaded,
4426 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4428 2011-11-10 Glenn Morris <rgm@gnu.org>
4430 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4431 Call svn via vc-svn-command rather than vc-do-command.
4432 (vc-svn-command): Add --non-interactive. (Bug#9993)
4433 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4435 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4436 Add toggle-read-only. (Bug#7292)
4437 * files.el (toggle-read-only): Mention that it should only
4438 be used interactively. (Bug#10006)
4440 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4443 Adjust regexp for OCaml warnings.
4445 * electric.el (electric-pair-post-self-insert-function): Let user
4446 turn it off buffer-locally (bug#9932).
4448 * progmodes/python.el (python-beginning-of-statement):
4451 * progmodes/compile.el: Better handle TABs (bug#9749).
4452 (compilation-internal-error-properties)
4453 (compilation-next-error-function): Obey the target buffer's
4454 compilation-error-screen-columns.
4456 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4458 * progmodes/meta-mode.el: Remove obsolete comments.
4459 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4460 Fix typos in docstrings.
4462 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4464 * window.el (window-size-fixed-p): Rewrite doc-string.
4465 (window-resizable-p): Rename to window--resizable-p. Update callers.
4466 (window--resizable): New function. Make all callers of
4467 window-resizable call window--resizable instead.
4468 (window-resizable): Rewrite in terms of window--resizable.
4470 2011-11-08 Glenn Morris <rgm@gnu.org>
4472 * progmodes/delphi.el (delphi-mode-syntax-table):
4473 Let define-derived-mode define a proper syntax table. (Bug#9994)
4475 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * window.el: Stay away from defsubst.
4478 (window-list-no-nils): Remove.
4479 (window-state-get-1, window-state-get): Use backquote instead.
4481 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4483 * emacs-lisp/find-func.el (find-function-read):
4484 Fix incorrect use of default argument in `completing-read'.
4486 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4488 * window.el (display-buffer-function, special-display-function):
4489 Mention display-buffer-record-window but do not mention
4490 help-setup parameter in doc-strings.
4491 (window-min-delta): Fix doc-string typo.
4493 2011-11-08 Chong Yidong <cyd@gnu.org>
4495 * window.el (window-total-height, window-total-width): Doc fix.
4496 (window-body-size): Move from C.
4497 (window-body-height, window-body-width): Move to C.
4499 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * window.el: Make special-display like display-buffer-alist (bug#9532).
4502 (display-buffer--special-action): New function, morphed
4503 from display-buffer--special.
4504 (display-buffer): Use it to handle special-display-buffers at higher
4505 priority (just after display-buffer-alist).
4506 (display-buffer-fallback-action, display-buffer--other-frame-action)
4507 (pop-to-buffer-same-window): Remove display-buffer--special.
4509 2011-11-07 Glenn Morris <rgm@gnu.org>
4511 * calendar/cal-menu.el (cal-menu-set-date-title):
4512 Do nothing if not in a calendar. (Bug#9976)
4514 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * files.el (find-file): Always use selected-window.
4518 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4520 * window.el (window-combinations): Make WINDOW argument
4521 mandatory. Rewrite doc-string.
4522 (walk-window-subtree, window-atom-check, window-min-delta)
4523 (window-max-delta, window--resize-this-window)
4524 (window--resize-root-window-vertically, window-tree)
4525 (balance-windows, window-state-put): Rewrite doc-strings as to
4526 not mention the term "subwindow".
4527 (window--resize-subwindows-skip-p): Rename to
4528 window--resize-child-windows-skip-p.
4529 (window--resize-subwindows-normal): Rename to
4530 window--resize-child-windows-normal.
4531 (window--resize-subwindows): Rename to
4532 window--resize-child-windows.
4533 (window-or-subwindow-p): Rename to window--in-subtree-p.
4535 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4537 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4538 Ensure that mbox format messages end in two newlines (Bug#9974).
4540 2011-11-06 Chong Yidong <cyd@gnu.org>
4542 * window.el (window-combination-p): Function deleted; its
4543 side-effect is not used in any existing code.
4544 (window-combinations, window-combined-p): Call window-*-child
4547 2011-11-05 Chong Yidong <cyd@gnu.org>
4549 * window.el (window-valid-p): Rename from window-any-p.
4550 (window-size-ignore, window-state-get): Callers changed.
4551 (window-normalize-window): Rename from window-normalize-any-window.
4552 New arg LIVE-ONLY, replacing window-normalize-live-window.
4553 (window-normalize-live-window): Delete.
4554 (window-combination-p, window-combined-p, window-combinations)
4555 (walk-window-subtree, window-atom-root, window-min-size)
4556 (window-sizable, window-sizable-p, window-size-fixed-p)
4557 (window-min-delta, window-max-delta, window-resizable)
4558 (window-resizable-p, window-full-height-p, window-full-width-p)
4559 (window-current-scroll-bars, window-point-1, set-window-point-1)
4560 (window-at-side-p, window-in-direction, window-resize)
4561 (adjust-window-trailing-edge, maximize-window, minimize-window)
4562 (window-deletable-p, delete-window, delete-other-windows)
4563 (record-window-buffer, unrecord-window-buffer)
4564 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4565 (quit-window, split-window, window-state-put)
4566 (set-window-text-height, fit-window-to-buffer)
4567 (shrink-window-if-larger-than-buffer): Callers changed.
4569 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4571 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4572 rfc2047-decode-string.
4573 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4576 * window.el (window-body-height, window-body-width): Mention in
4577 the doc string that the return values are in frame's canonical
4580 2011-11-03 Alan Mackenzie <acm@muc.de>
4582 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4583 change in cc-engine.el.
4585 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4589 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4591 * window.el (quit-window): Call unrecord-window-buffer after
4592 showing another buffer in the window. (Bug#9937)
4593 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4595 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4597 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4598 Accept status with more than 9 shelves. (Bug#9935)
4599 Reported by Colin D Bennett <colin@gibibit.com>.
4601 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4603 * help.el (with-help-window): Don't reference
4604 temp-buffer-show-specifiers in doc-string.
4606 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4608 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4611 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4613 * whitespace.el: New version 13.2.2.
4614 (whitespace-newline-mode): Disable properly. Reported by Sarah
4617 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4619 * net/newst-treeview.el: Remove "Time-stamp".
4620 (newsticker--group-manage-orphan-feeds): Do not call
4621 newsticker--treeview-tree-update.
4622 (newsticker-treeview-update, newsticker-treeview):
4623 Call newsticker--treeview-tree-update if necessary.
4625 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4627 * window.el (window-iso-combination-p, window-iso-combined-p)
4628 (window-iso-combinations): Remove "iso-" infix.
4629 Suggested by Chong Yidong.
4630 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4631 (window-max-delta-1, window-resize, window--resize-siblings)
4632 (window--resize-this-window, adjust-window-trailing-edge)
4633 (split-window, balance-windows-1)
4634 (shrink-window-if-larger-than-buffer):
4635 * calendar/calendar.el (calendar-generate-window):
4636 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4638 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4640 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4641 in place (bug#9907).
4642 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4643 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4644 (eshell-structure-basic-command, eshell-rewrite-while-command)
4645 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4646 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4647 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4648 (eshell-do-pipelines-synchronously, eshell-eval-command):
4649 Use backquotes and prefer setq to set.
4650 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4651 (eshell-macrop): Use functionp.
4652 (eshell-do-eval): Handle multiple expressions in `while' body.
4654 2011-10-30 Chong Yidong <cyd@gnu.org>
4656 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4657 instead of set-mark (Bug#9810).
4659 2011-10-30 Chong Yidong <cyd@gnu.org>
4661 * window.el (split-window-below, split-window-right): Rename from
4662 split-window-above-each-other and split-window-side-by-side
4663 respectively. All callers changed.
4664 (split-window-sensibly, split-window-sensibly): Use them.
4665 (split-window-keep-point): Doc fix.
4667 * isearch.el: Add isearch-scroll property to split-window-below
4668 and split-window-right.
4670 * follow.el (follow-mode):
4671 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4672 * progmodes/ada-xref.el (ada-gdb-application):
4673 * emulation/vip.el (vip-buffer-in-two-windows):
4674 * image-dired.el (image-dired-dired-with-window-configuration):
4675 * dired-x.el (dired-do-find-marked-files):
4676 * dired.el (dired-pop-to-buffer):
4677 * bs.el (bs--show-with-configuration):
4678 * vc/emerge.el (emerge-setup-windows):
4679 * textmodes/two-column.el (2C-two-columns):
4680 * textmodes/reftex-toc.el (reftex-toc):
4681 * progmodes/gdb-mi.el (gdb-setup-windows):
4682 * progmodes/fortran.el (fortran-window-create):
4683 * net/newst-treeview.el (newsticker--treeview-window-init):
4684 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4685 * emulation/tpu-edt.el (tpu-gold-map):
4686 * emulation/crisp.el (crisp-mode-map):
4687 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4689 2011-10-29 Chong Yidong <cyd@gnu.org>
4691 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4693 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4695 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4696 forged Ispell output (Bug#7904).
4698 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4700 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4702 * doc-view.el: Avoid ugly errors about not finding nil.
4703 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4704 (doc-view-dvipdf-program, doc-view-unoconv-program)
4705 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4706 Avoid nil or absolute file name as default value.
4707 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4709 2011-10-28 Alan Mackenzie <acm@muc.de>
4711 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4713 2011-10-28 Alan Mackenzie <acm@muc.de>
4715 Amend the handling of c-beginning/end-of-defun in nested declaration
4718 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4719 cc-langs.el. Change it to a defcustom.
4721 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4724 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4725 Prevent "class foo : bar" being spuriously recognized as a label.
4727 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4728 Add parameter `inclusive' (to include enclosing braces in the region).
4729 (c-widen-to-enclosing-decl-scope): New function.
4730 (c-while-widening-to-decl-block): New macro.
4731 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4732 outward for defun boundaries, and correspondingly change symbol
4733 `respect-enclosure' to `go-outward'.
4734 (c-declaration-limits): Change algorithm to report only the "innermost"
4737 2011-10-28 Deniz Dogan <deniz@dogan.se>
4739 * net/rcirc.el (rcirc-mode): Use hard newlines.
4741 2011-10-28 Alan Mackenzie <acm@muc.de>
4743 Amend to indent and fontify macros "which include their own semicolon"
4744 correctly, using the "virtual semicolon" mechanism.
4746 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4749 Recode to scan one line at a time rather than having \n and \r
4750 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4751 (c-forward-label): Amend for virtual semicolons.
4752 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4754 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4755 of the new C macros.
4757 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4758 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4759 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4760 (c-opt-cpp-macro-define): Make into a full language variable.
4761 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4762 AWK Mode (including \n, \r) removed, no longer needed.
4764 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4765 Invoke c-make-macro-with-semi-re.
4767 * progmodes/cc-vars.el (c-macro-with-semi-re):
4768 (c-macro-names-with-semicolon): New variables.
4769 (c-make-macro-with-semi-re): New function.
4771 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4773 * vc/log-edit.el: Fill empty field rather than adding new one.
4774 (log-edit-add-field): New function.
4775 (log-edit-insert-changelog): Use it.
4777 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4779 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4781 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4784 (gdb--check-interpreter): New function.
4787 2011-10-27 Glenn Morris <rgm@gnu.org>
4789 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4790 (least-positive-float, least-negative-float)
4791 (least-positive-normalized-float, least-negative-normalized-float)
4792 (float-epsilon, float-negative-epsilon):
4793 Remove unnecessary declarations.
4795 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4796 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4797 (least-positive-float, least-negative-float)
4798 (least-positive-normalized-float, least-negative-normalized-float)
4799 (float-epsilon, float-negative-epsilon): Add doc-strings,
4800 based on those in cl.texi.
4802 * files.el (set-visited-file-name): If the major-mode changed,
4803 reload the local variables. (Bug#9796)
4805 2011-10-27 Chong Yidong <cyd@gnu.org>
4807 * subr.el (change-major-mode-after-body-hook): New hook.
4808 (run-mode-hooks): Run it.
4810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4811 Use change-major-mode-before-body-hook.
4813 * simple.el (fundamental-mode):
4814 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4815 change introducing fundamental-mode-hook.
4817 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4819 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4821 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4823 * ido.el (ido-file-name-all-completions-1): Do not require
4824 tramp.el explicitly. (Bug#7583)
4826 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4828 * progmodes/octave-mod.el:
4829 * progmodes/octave-inf.el: Update maintainer.
4831 2011-10-26 Chong Yidong <cyd@gnu.org>
4833 * subr.el (with-wrapper-hook): Rewrite doc.
4835 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4837 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4838 filenames "/method:foo:". (Bug#9793)
4840 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4845 2011-10-24 Glenn Morris <rgm@gnu.org>
4847 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4849 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4851 * notifications.el: Add the requirement of a running D-Bus session
4852 bus to the Commentary.
4854 2011-10-24 Juri Linkov <juri@jurta.org>
4856 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4857 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4860 2011-10-24 Juri Linkov <juri@jurta.org>
4862 * info.el (Info-following-node-name-re): Add newline to the list
4863 of allowed characters for leading space. (Bug#9824)
4865 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * progmodes/octave-inf.el (inferior-octave-mode-map):
4868 Fix C-c C-h binding.
4869 * progmodes/octave-mod.el (octave-help): Remove.
4871 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4873 Sync with Tramp 2.2.3.
4875 * net/tramp-cache.el (top): Pacify byte-compiler using
4876 `init-file-user' and `site-run-file'.
4878 * net/trampver.el: Update release number.
4880 2011-10-23 Chong Yidong <cyd@gnu.org>
4882 * files.el (toggle-read-only): Remove obsolete comment about
4885 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4886 for toggle-read-only. Note that this hasn't called vc-next-action
4887 since 2008-05-02, though it wasn't documented at the time.
4889 * vc/ediff-init.el (ediff-toggle-read-only-function):
4890 Use toggle-read-only.
4892 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4894 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4897 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4898 correct faulty logical expression.
4899 (c-parse-state-state, c-record-parse-state-state):
4900 (c-replay-parse-state-state): New defvar/defuns.
4901 (c-debug-parse-state): Use new functions.
4903 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4905 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4906 last fix. Use window-in-direction correctly.
4908 2011-10-21 Chong Yidong <cyd@gnu.org>
4910 * progmodes/idlwave.el (idlwave-mode):
4911 * progmodes/vera-mode.el (vera-mode): No need to set
4912 require-final-newline; that's done in prog-mode.
4913 Suggested by Stefan Monnier.
4915 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4917 * mouse.el (mouse-drag-window-above)
4918 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4919 (mouse-drag-mode-line-1, mouse-drag-header-line)
4920 (mouse-drag-vertical-line-rightward-window): Remove.
4921 (mouse-drag-line): New function.
4922 (mouse-drag-mode-line, mouse-drag-header-line)
4923 (mouse-drag-vertical-line): Call mouse-drag-line.
4924 * window.el (window-at-side-p, windows-at-side): New functions.
4926 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4928 * tar-mode.el (tar-grind-file-mode):
4929 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4931 2011-10-21 Chong Yidong <cyd@gnu.org>
4933 * progmodes/idlwave.el (idlwave-mode):
4934 * progmodes/vera-mode.el (vera-mode):
4935 Use mode-require-final-newline.
4937 2011-10-20 Glenn Morris <rgm@gnu.org>
4939 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4941 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4943 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4945 2011-10-20 Chong Yidong <cyd@gnu.org>
4947 * emulation/cua-base.el (cua-mode):
4948 * mail/footnote.el (footnote-mode):
4949 * mail/mailabbrev.el (mail-abbrevs-mode):
4950 * net/xesam.el (xesam-minor-mode):
4951 * progmodes/bug-reference.el (bug-reference-mode):
4952 * progmodes/cap-words.el (capitalized-words-mode):
4953 * progmodes/compile.el (compilation-minor-mode)
4954 (compilation-shell-minor-mode):
4955 * progmodes/gud.el (gud-tooltip-mode):
4956 * progmodes/hideif.el (hide-ifdef-mode):
4957 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4958 * progmodes/subword.el (subword-mode):
4959 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4960 * progmodes/which-func.el (which-function-mode):
4961 * term/tvi970.el (tvi970-set-keypad-mode):
4962 * term/vt100.el (vt100-wide-mode):
4963 * textmodes/flyspell.el (flyspell-mode):
4964 * textmodes/ispell.el (ispell-minor-mode):
4965 * textmodes/nroff-mode.el (nroff-electric-mode):
4966 * textmodes/paragraphs.el (use-hard-newlines):
4967 * textmodes/refill.el (refill-mode):
4968 * textmodes/reftex.el (reftex-mode):
4969 * textmodes/rst.el (rst-minor-mode):
4970 * textmodes/sgml-mode.el (html-autoview-mode)
4971 (sgml-electric-tag-pair-mode):
4972 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4973 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4974 * emulation/crisp.el (crisp-mode):
4975 * emacs-lisp/eldoc.el (eldoc-mode):
4976 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4977 minor mode behavior.
4979 2011-10-19 Juri Linkov <juri@jurta.org>
4981 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4982 the list of hard-coded chars with escape-glyph face.
4984 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4988 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4990 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4993 2011-10-19 Glenn Morris <rgm@gnu.org>
4995 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4996 Ignore ignored files. (Bug#9726)
4998 2011-10-19 Chong Yidong <cyd@gnu.org>
5000 Doc fix for minor modes, stating that an omitted argument enables
5001 the mode unconditionally when called from Lisp.
5003 * abbrev.el (abbrev-mode):
5004 * allout.el (allout-mode):
5005 * autoinsert.el (auto-insert-mode):
5006 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5007 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5008 (global-auto-revert-mode):
5009 * battery.el (display-battery-mode):
5010 * composite.el (global-auto-composition-mode)
5011 (auto-composition-mode):
5012 * delsel.el (delete-selection-mode):
5013 * desktop.el (desktop-save-mode):
5014 * dired-x.el (dired-omit-mode):
5015 * dirtrack.el (dirtrack-mode):
5016 * doc-view.el (doc-view-minor-mode):
5017 * double.el (double-mode):
5018 * electric.el (electric-indent-mode, electric-pair-mode):
5019 * emacs-lock.el (emacs-lock-mode):
5020 * epa-hook.el (auto-encryption-mode):
5021 * follow.el (follow-mode):
5022 * font-core.el (font-lock-mode):
5023 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5024 * help.el (temp-buffer-resize-mode):
5025 * hilit-chg.el (highlight-changes-mode)
5026 (highlight-changes-visible-mode):
5027 * hi-lock.el (hi-lock-mode):
5028 * hl-line.el (hl-line-mode, global-hl-line-mode):
5029 * icomplete.el (icomplete-mode):
5030 * ido.el (ido-everywhere):
5031 * image-file.el (auto-image-file-mode):
5032 * image-mode.el (image-minor-mode):
5033 * iswitchb.el (iswitchb-mode):
5034 * jka-cmpr-hook.el (auto-compression-mode):
5035 * linum.el (linum-mode):
5036 * longlines.el (longlines-mode):
5037 * master.el (master-mode):
5038 * mb-depth.el (minibuffer-depth-indicate-mode):
5039 * menu-bar.el (menu-bar-mode):
5040 * minibuf-eldef.el (minibuffer-electric-default-mode):
5041 * mouse-sel.el (mouse-sel-mode):
5042 * msb.el (msb-mode):
5043 * mwheel.el (mouse-wheel-mode):
5044 * outline.el (outline-minor-mode):
5045 * paren.el (show-paren-mode):
5046 * recentf.el (recentf-mode):
5047 * reveal.el (reveal-mode, global-reveal-mode):
5048 * rfn-eshadow.el (file-name-shadow-mode):
5049 * ruler-mode.el (ruler-mode):
5050 * savehist.el (savehist-mode):
5051 * scroll-all.el (scroll-all-mode):
5052 * scroll-bar.el (scroll-bar-mode):
5053 * server.el (server-mode):
5054 * shell.el (shell-dirtrack-mode):
5055 * simple.el (auto-fill-mode, transient-mark-mode)
5056 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5057 (line-number-mode, column-number-mode, size-indication-mode)
5058 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5059 * strokes.el (strokes-mode):
5060 * time.el (display-time-mode):
5061 * t-mouse.el (gpm-mouse-mode):
5062 * tool-bar.el (tool-bar-mode):
5063 * tooltip.el (tooltip-mode):
5064 * type-break.el (type-break-mode-line-message-mode)
5065 (type-break-query-mode):
5066 * view.el (view-mode):
5067 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5068 (global-whitespace-mode, global-whitespace-newline-mode):
5069 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5072 Fix autogenerated docstring.
5074 2011-10-19 Juri Linkov <juri@jurta.org>
5076 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5077 by checking environment variables "DESKTOP_SESSION" and
5078 "XDG_CURRENT_DESKTOP". (Bug#9779)
5080 2011-10-19 Juri Linkov <juri@jurta.org>
5082 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5083 (browse-url-chromium-program, browse-url-chromium-arguments):
5085 (browse-url-default-browser): Check for `browse-url-chromium' and
5086 call `browse-url-chromium-program'.
5087 (browse-url-chromium): New command. (Bug#9779)
5089 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5091 * facemenu.el (list-colors-duplicates): On Windows, detect more
5092 duplicates by assuming that only colors matching "^System" are
5093 special "system colors". (Bug#9722)
5095 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5098 to distinguish the author from the committer.
5100 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5102 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5104 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5106 * international/mule.el (sgml-html-meta-auto-coding-function):
5107 Add support for detecting encoding in HTML5 specified only as
5108 <meta charset="UTF-8">. Implementation just makes http-equiv and
5109 content-type parts from HTML4 encoding string optional. (Bug#9716)
5111 2011-10-18 Glenn Morris <rgm@gnu.org>
5113 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5115 2011-10-18 Chong Yidong <cyd@gnu.org>
5117 * faces.el (cursor): Doc fix.
5119 2011-10-17 Chong Yidong <cyd@gnu.org>
5121 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5123 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5125 * dirtrack.el (dirtrack): Support shell buffers with path
5126 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5128 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5130 * json.el: Bump version to 1.3 and note change in History.
5131 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5133 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * comint.el (comint-insert-input, comint-send-input)
5136 (comint-get-old-input-default, comint-backward-matching-input)
5137 (comint-next-prompt): Use nil instead of `input' for field property of
5138 past user input (bug#114).
5140 * minibuffer.el (completion--replace): Inherit surrounding properties
5142 (minibuffer-complete-and-exit): Use it.
5144 * comint.el (comint--table-subvert): Quote the all-completions output
5147 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5149 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5151 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5152 window on right of selected. (Bug#9350) Reword other window
5153 entries and separate them from frame entries.
5155 2011-10-15 Glenn Morris <rgm@gnu.org>
5157 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5160 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5162 * net/network-stream.el (network-stream-open-starttls):
5163 Improve detection of failure due to lack of TLS support.
5165 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5166 putting the input text in front and in bold.
5168 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5172 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5175 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5176 unread-command-events rather than pushing yet-another event.
5178 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5180 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5181 the explanation of the possible choices. Make the options passed
5182 to completing-read shorter.
5184 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5186 * textmodes/flyspell.el (flyspell-large-region): Make sure
5187 extended character mode is used if defined (Bug#1339).
5189 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5191 * simple.el (what-cursor-position): Fix the display of the
5192 character info for LRE, LRO, RLE, and RLO characters by appending
5195 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5197 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5198 even in case of error; add debug spec; simplify data flow.
5199 (with-timeout-handler): Remove.
5201 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5203 Fix Bug#6019, Bug#9315.
5205 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5206 complete `buffer-file-name', the local file name part could look
5207 remotely (for example on VMS).
5209 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5210 `tramp-run-real-handler'.
5211 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5212 already quoted by '"'.
5214 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5215 Let `file-name-handler-alist' be nil, the local file name part
5216 could look remotely (for example on VMS).
5218 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5222 (flyspell-post-command-hook): ...to here.
5224 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5226 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5228 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5229 using completion. Protect against "slow" callers.
5230 Remove the "message hack".
5232 2011-10-11 Juri Linkov <juri@jurta.org>
5234 * isearch.el (isearch-lazy-highlight-word): New variable.
5235 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5238 2011-10-11 Glenn Morris <rgm@gnu.org>
5240 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5241 like f90-previous-statement does.
5243 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5245 * eshell/eshell.el (eshell-command): History should be saved
5246 only in interactive use, to avoid error.
5248 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5250 * minibuffer.el (completion-file-name-table): Fix last change,
5251 i.e. ignore normal errors but not the other ones.
5253 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5255 * window.el (special-display-buffer-names)
5256 (special-display-regexps): Remove some remnants of earlier
5257 changes from doc-strings.
5258 (quit-windows-on): New function.
5260 * vc/vc.el (vc-revert, vc-rollback):
5261 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5262 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5263 (Bug#6183) (Bug#7074) (Bug#7447)
5265 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5267 * window.el (frame-auto-hide-function): Add version tag.
5270 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5272 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5275 2011-10-09 Leo Liu <sdl.web@gmail.com>
5277 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5280 2011-10-08 Glenn Morris <rgm@gnu.org>
5282 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5283 before the first code statement zero indent. (Bug#9690)
5285 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5287 * simple.el (count-words-region): Always count in the region.
5288 Report the number of lines and characters too.
5289 (count-words): New command, which counts in the buffer if the
5290 region is inactive, as count-words-region used to.
5291 (count-words--message): New function. Handle plurals.
5292 (count-lines-region): Make it an alias for count-words-region.
5294 * bindings.el (esc-map): Replace count-lines-region with
5297 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5299 * window.el (window--delete): Delete dedicated frame
5300 unconditionally when argument KILL is non-nil. (Bug#9699)
5301 (switch-to-buffer): Fix doc-string typo.
5303 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5305 * eshell/eshell.el (eshell-command): Avoid using hooks.
5307 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5309 * bindings.el ([M-left],[M-right]): Bind to left-word and
5310 right-word respectively.
5312 2011-10-07 Glenn Morris <rgm@gnu.org>
5314 * cus-start.el (debug-on-quit): Fix custom type.
5316 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5318 * subr.el (define-key-after): Clarify that the function is not
5319 useful for non-menu keymaps.
5321 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5323 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5325 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5326 in current minibuffer (Fix bug with recursive minibuffers).
5328 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5330 * progmodes/gdb-mi.el (gdb): Doc fix.
5332 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5334 * window.el (frame-auto-hide-function): New option replacing
5335 frame-auto-delete. Suggested by Stefan Monnier.
5336 (window--delete): Call frame-auto-hide-function instead of
5337 investigating frame-auto-delete.
5338 (window-point-1, set-window-point-1): New functions.
5339 (window-in-direction, record-window-buffer, window-state-get-1)
5340 (display-buffer-record-window): Use window-point-1 instead of
5342 (set-window-buffer-start-and-point): Use set-window-point-1.
5344 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5348 2011-10-05 Glenn Morris <rgm@gnu.org>
5350 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5351 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5353 2011-10-05 Leo Liu <sdl.web@gmail.com>
5355 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5356 works with buffer object.
5358 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5360 * mpc.el (mpc-tool-bar-map): Add labels.
5362 2011-10-04 Glenn Morris <rgm@gnu.org>
5364 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5366 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5368 * window.el (window--delete): New function.
5369 (frame-auto-delete): Resuscitate option.
5370 (bury-buffer, replace-buffer-in-windows)
5371 (quit-window): Rewrite using window--delete.
5372 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5373 Pass display-buffer-mark-dedicated to window--display-buffer-2
5376 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5379 returns a list (bug#9554). Add remote file name completion.
5380 * comint.el (comint--table-subvert): Curry and get quote&unquote
5381 functions as arguments.
5382 (comint--complete-file-name-data): Adjust call accordingly.
5383 * pcomplete.el (pcomplete--table-subvert): Remove.
5384 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5386 * minibuffer.el (completion-table-case-fold): Use currying.
5387 (completion--styles-type, completion--cycling-threshold-type):
5389 (completion-styles, completion-category-overrides)
5390 (completion-cycle-threshold): Use them.
5391 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5392 completion-table-case-fold.
5394 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5396 * minibuffer.el (completion-category-overrides): Fix type of styles
5397 and add more user friendly tags (bug#9660).
5399 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5401 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5402 (mule-input-method-string): New widget.
5403 (default-input-method, language-info-custom-alist): Use it.
5405 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * pcomplete.el: Require comint.
5408 (pcomplete--common-suffix): Remove.
5409 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5410 (pcomplete--table-subvert): Sync with comint--table-subvert.
5411 (pcomplete--entries): Use comint-completion-file-name-table.
5412 * comint.el (comint-unquote-filename): Simplify.
5413 (comint-completion-file-name-table): New function (bug#9616).
5414 (comint--complete-file-name-data): Use it.
5416 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5417 (pcmpl-gnu-tar-buffer): Remove.
5418 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5419 around. Make sure pcomplete-suffix-list is only changed temporarily.
5420 Don't look inside the tar's file if it's too large.
5422 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5424 * cus-edit.el (custom-mode-map):
5425 * epa.el (epa-key-list-mode-map):
5426 * man.el (Man-mode-map):
5427 * startup.el (splash-screen-keymap):
5428 * simple.el (special-mode-map): Use scroll-up-command and
5429 scroll-down-command.
5431 * progmodes/idlw-help.el (idlwave-help-mode-map):
5432 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5433 * net/newst-plainview.el (newsticker-mode-map):
5434 * emulation/ws-mode.el (wordstar-mode-map):
5435 * emulation/vi.el (vi-com-map):
5436 * calc/calc-graph.el (calc-graph-show-dumb):
5437 * term/sun.el (terminal-init-sun):
5438 * term/ns-win.el (global-map):
5439 * progmodes/grep.el (grep-mode-map):
5440 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5441 * mail/rmail.el (rmail-mode-map):
5442 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5444 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5445 custom-safe-themes as special.
5447 2011-10-01 Julien Danjou <julien@danjou.info>
5449 * notifications.el (notifications-notify): Fix docstring.
5451 2011-10-01 Per Starbäck <per@starback.se>
5453 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5455 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5457 * startup.el (command-line-1): Fix last fix by inserting
5458 initial-scratch-message into *scratch* before displaying it.
5459 (Bug#9605) and (Bug#9636)
5461 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5463 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5464 window is hscrolled, move by logical lines. (Bug#9607)
5465 (line-move-visual): Update the doc string to the above effect.
5467 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5469 * window.el (display-buffer-record-window): When WINDOW is the
5470 selected window use `point' instead of `window-point'. (Bug#9626)
5472 * startup.el (command-line-1): Use insert-before-markers when
5473 inserting initial-scratch-message. (Bug#9605)
5475 * help.el (help-window): Remove variable.
5477 2011-09-29 Glenn Morris <rgm@gnu.org>
5479 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5481 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5483 * descr-text.el (describe-char-categories): Accept category
5484 descriptions more than one line long.
5486 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * simple.el (delete-trailing-whitespace): Fix last change.
5490 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5491 Don't confuse "y => 3" as the beginning of a `y' operation.
5493 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5494 object has more than 4 slots (bug#9613).
5496 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5498 * subr.el (with-output-to-temp-buffer):
5499 * net/quickurl.el (quickurl, quickurl-browse-url):
5500 Fix typos in docstrings.
5502 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5504 * minibuffer.el (completion-styles)
5505 (completion-category-overrides): Cross reference each other in doc
5508 2011-09-27 Glenn Morris <rgm@gnu.org>
5510 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5511 to split-string. (Bug#9606)
5513 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5515 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5518 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5520 * emacs-lisp/package.el (list-packages): Fix echo area message.
5522 2011-09-27 Leo Liu <sdl.web@gmail.com>
5524 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5526 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5528 * net/dbus.el (dbus-unregister-object): Don't release services for
5529 registered signals. (Bug#9581)
5531 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5533 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5534 function that picks between cfengine 2 and 3 support
5535 automatically. Update docs accordingly.
5537 2011-09-22 Kenichi Handa <handa@m17n.org>
5539 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5541 (indian-itrans-v5-table-for-tamil): New variable.
5542 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5544 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5546 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5547 that's true if the current command involved collapsing of text.
5548 It's reset to false at the beginning of the next command.
5549 (allout-post-command-business): Move the cursor to the beginning
5550 of entry if the cursor is hidden and collapsing activity just
5553 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5555 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5556 tracking (Bug#9541).
5558 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5560 * net/newst-reader.el (newsticker-html-renderer)
5561 (newsticker-show-news): Automatically load html rendering package
5562 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5563 because w3m-fill-column is let-bound" and the error "Symbol's value
5564 as variable is void: w3m-fill-column".
5566 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5568 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5569 Release services only if they are defined. (Bug#9581)
5571 2011-09-23 Richard Stallman <rms@gnu.org>
5573 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5574 distinguish start of paragraph from start of its text.
5576 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5578 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5579 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5580 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5582 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5584 * international/mule-diag.el (mule-diag): Insert a newline after
5585 each fontset description.
5587 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5589 * simple.el (delete-trailing-whitespace):
5590 Document last change; simplify.
5592 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5594 * simple.el (delete-trailing-whitespace): Also delete
5595 extra newlines at the end of the buffer.
5597 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5598 (picture-newline): Use forward-line so as to ignore fields.
5600 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5602 * subr.el (with-wrapper-hook): Fix edebug spec.
5604 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5609 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5611 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5612 Fix nasty bug using wrong cached values.
5614 2011-09-23 Alan Mackenzie <acm@muc.de>
5616 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5618 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5620 * window.el (pop-to-buffer): Ensure right window is selected if we
5621 chose another frame.
5623 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5625 * simple.el (what-cursor-position): Use get-char-property-change
5626 and next-single-char-property-change, to be able to show display
5627 properties that come from overlays as well as text properties.
5629 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5631 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5633 * cmuscheme.el (run-scheme, switch-to-scheme):
5634 * cus-edit.el (customize-group, custom-buffer-create)
5638 * mail/sendmail.el (mail):
5639 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5641 2011-09-22 Richard Stallman <rms@gnu.org>
5643 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5644 move back only to line beg, don't move back over blank lines.
5646 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5648 * files.el (copy-directory): Set directory attributes only in case
5649 they could be retrieved from the source directory. (Bug#9565)
5651 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5653 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5654 (hs-find-block-beginning, hs-hide-level-recursive):
5655 Ignore strings as well as comments. (Bug#9502)
5657 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5659 * progmodes/sql.el (sql-comint-postgres):
5660 Convert port number to a string. (Bug#9566)
5662 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5664 * window.el (quit-window): Undedicate window when switching to
5665 previous buffer. Reported by Thierry Volpiatto
5666 <thierry.volpiatto@gmail.com>.
5667 (special-display-popup-frame): When popping up a new frame reset
5668 its previous buffers to nil. Simplify code.
5670 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5672 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5673 and process filter, as done also in `shell-command'.
5675 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5677 * window.el (set-window-buffer-start-and-point):
5678 Call set-window-start with NOFORCE argument t.
5679 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5680 (quit-window): Reword doc-string. Handle new format of
5681 quit-restore parameter. Don't delete window if it has a
5682 previous buffer we can show instead of the present one.
5683 (display-buffer-record-window): Rewrite using a new format for
5684 the quit-restore window parameter
5685 (special-display-popup-frame, display-buffer-same-window)
5686 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5687 (display-buffer-pop-up-window, display-buffer-use-some-window):
5688 Adapt symbol passed to display-buffer-record-window.
5689 * help.el (help-window-setup): Handle new format of quit-restore
5692 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5694 * faces.el (face-list): Fix docstring (bug#9564).
5696 * window.el (display-buffer--action-function-custom-type):
5697 Don't include internal functions in the Custom interface.
5699 2011-09-20 Juri Linkov <juri@jurta.org>
5701 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5702 (Info-forward-node, Info-backward-node, Info-next-preorder)
5703 (Info-last-preorder): Use it. (Bug#9528)
5705 2011-09-20 Juri Linkov <juri@jurta.org>
5707 * info.el (Info-last-preorder): Visit last menu item only when
5708 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5710 2011-09-20 Julien Danjou <julien@danjou.info>
5712 * password-cache.el (password-cache-remove): Remove entries even if the
5713 value is nil, so that password with a nil value (negative caching) is
5714 possible to invalidate.
5716 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5718 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5719 all whitespace around breakpoint. (Bug#9553)
5720 (f90-find-breakpoint): Only break at whitespace inside a comment.
5722 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5724 * minibuffer.el (completion-file-name-table): Keep track of errors.
5725 (completion-table-with-predicate): Handle the case where pred1 is nil.
5726 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5728 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5730 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5731 (debugger-return-value): Signal an error if the debugging context does
5732 not await any return value.
5734 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5735 * image-mode.el (image-toggle-display-text)
5736 (image-toggle-display-image): Stay away from evil `intangible'.
5738 2011-09-19 Leo Liu <sdl.web@gmail.com>
5740 * replace.el (occur-revert-arguments): Make it permanent-local.
5741 (occur-mode): Don't call font-lock-defontify.
5743 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5745 * net/ldap.el (ldap-search-internal): Don't push empty search
5748 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5750 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5752 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5754 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5755 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5757 2011-09-18 Juri Linkov <juri@jurta.org>
5759 * buff-menu.el (Buffer-menu-mode-map):
5760 * dired.el (dired-mode-map):
5761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5762 (lisp-interaction-mode-map):
5763 * emacs-lisp/package.el (package-menu-mode-map):
5764 * epa.el (epa-key-list-mode-map):
5765 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5766 (menu-bar-options-menu):
5767 * outline.el (outline-mode-menu-bar-map):
5768 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5769 * vc/vc-dir.el (vc-dir-menu-map):
5770 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5771 Capitalize non-function content words in menu item strings.
5773 * dired.el (dired-mode-map): Add menu item for
5774 `image-dired-dired-toggle-marked-thumbs'.
5776 2011-09-18 Juri Linkov <juri@jurta.org>
5778 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5779 to `isearch-case-fold-search' and restore its original value
5780 after the `isearch-mode' call.
5782 2011-09-18 Juri Linkov <juri@jurta.org>
5784 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5785 because `zgrep' returns 1 for successful matches (bug#9226).
5787 2011-09-18 Juri Linkov <juri@jurta.org>
5789 * info.el (Info-extract-menu-node-name): Check the second match
5790 for empty string (second test-case of bug#9528).
5791 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5792 intermediate nodes to the history (first test-case of bug#9528).
5794 2011-09-18 Juri Linkov <juri@jurta.org>
5796 * info.el (Info-mode-syntax-table): New variable.
5797 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5799 2011-09-18 Juri Linkov <juri@jurta.org>
5801 * info.el (Info-file-supports-index-cookies):
5802 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5803 outputs one more line for long file names (bug#4142).
5805 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5807 * newcomment.el (comment-normalize-vars): If prompting for
5808 comment-start, set comment-start-skip too (Bug#8424).
5810 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5812 * icomplete.el: Fix previous fix of Bug#5849.
5813 (icomplete-mode): Don't set completion-show-inline-help.
5814 (icomplete-minibuffer-setup): Set completion-show-inline-help
5815 locally during icompletion.
5817 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5819 * woman.el (woman2-process-escapes): Don't delete unrecognized
5822 * files.el (inhibit-first-line-modes-regexps): Add image files.
5823 (hack-local-variables-prop-line): Return nil for malformed
5824 prop-lines (Bug#9044).
5826 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5828 * net/tramp.el (top): Don't require 'shell.
5829 (tramp-methods): Fix docstring.
5830 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5831 Return complete remote file name. Handle "smb" case.
5832 Use `tramp-tmpdir', if defined for the respective method.
5833 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5835 * net/tramp-compat.el (top): Require 'shell.
5837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5838 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5839 `tramp-current-host'.
5840 (tramp-get-remote-tmpdir): Remove.
5842 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5843 `tramp-tmpdir' entries.
5844 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5845 (tramp-smb-handle-file-attributes): Ignore errors.
5846 (tramp-smb-wait-for-output): Check also for process end.
5848 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5850 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5851 when sending QUIT (bug#9312).
5853 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5855 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5856 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5857 occur-mode-display-occurrence.
5858 (occur-edit-mode): Add usage message.
5859 (occur-cease-edit): New command.
5860 (occur-after-change-function): Use text properties to find the
5861 position of the prefix text.
5862 (occur-engine): Set stickiness of prefix text properties.
5864 2011-09-17 Glenn Morris <rgm@gnu.org>
5866 * progmodes/etags.el (complete-tag):
5867 Fix call to completion-in-region. (Bug#9526)
5869 2011-09-17 Juri Linkov <juri@jurta.org>
5871 * textmodes/ispell.el (ispell-word): Add to the error message
5872 the word, ispell program name and current dictionary (bug#9121).
5873 (ispell-tex-arg-end): Capitalize "error" in the error message.
5875 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5877 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5880 2011-09-17 Juri Linkov <juri@jurta.org>
5882 * window.el (window-safe-min-height, window-safe-min-width):
5883 Fix typos (followup to bug#9522).
5885 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5887 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5889 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5891 * simple.el (line-move): If goal-column is set, move by logical
5892 lines, not by display lines. (Bug#971)
5893 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5894 to reflect the above change.
5896 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5898 * image.el (imagemagick-register-types): Use regexp-opt.
5900 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5902 * window.el (display-buffer-base-action): Rename from
5903 display-buffer-default-action. Make default value empty.
5904 (display-buffer-overriding-action): Convert to defvar.
5905 (display-buffer-fallback-action): New var.
5907 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5909 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5911 (package--add-to-archive-contents): If there is a duplicate entry
5912 with an older version, remove it.
5913 (package-menu-mark-delete, package-menu-mark-install)
5914 (package-menu-mark-unmark): Make unused args optional.
5915 (package-menu-mark-obsolete-for-deletion):
5916 Use package-menu-get-status instead of a regexp search.
5917 (package-menu-get-status): Use tabulated-list-entry.
5918 (package-menu-mark-upgrades): New command.
5919 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5920 (package-menu-execute): Do installation before deletion.
5921 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5922 instead of checking major-mode.
5923 (package-menu--find-upgrades): New function.
5925 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5928 passwords in the log buffer.
5929 (smtpmail-process-filter): Update the process marker so that the
5930 "broken by peer" status message is inserted in the right place.
5932 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5934 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5935 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5936 bibtex-completion-at-point-function.
5937 (bibtex-completion-at-point-function): Use them.
5939 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5941 * mpc.el (mpc-constraints-tag-lookup): New function.
5942 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5943 also to browser "album|playlist".
5945 2011-09-14 Juri Linkov <juri@jurta.org>
5947 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5948 (isearch-edit-string): Use length of `isearch-string' when
5949 `isearch-fail-pos' returns nil.
5950 (isearch-message): Remove duplicate code and call
5951 `isearch-fail-pos' with arg `t'.
5953 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5955 * replace.el (occur-mode-goto-occurrence): Don't force using other
5958 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5960 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5962 * window.el (display-buffer-window): Remove.
5963 (display-buffer-record-window): Use help-setup window parameter
5964 instead of variable display-buffer-window.
5965 (display-buffer-function, special-display-buffer-names)
5966 (special-display-function): Mention help-setup parameter instead
5967 of display-buffer-window in doc-string.
5968 * help.el (help-window-setup): New argument help-window.
5969 Use help-window-setup parameter instead of display-buffer-window.
5970 Reword some messages.
5971 (with-help-window): Pass window used for displaying the buffer
5972 to help-window-setup. Don't set display-buffer-window.
5974 2011-09-13 Glenn Morris <rgm@gnu.org>
5976 * emacs-lisp/debug.el (debugger-make-xrefs):
5977 Preserve point. (Bug#9462)
5979 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5981 * window.el (window-deletable-p): Use next-frame.
5983 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5985 * window.el (window-auto-delete): Remove.
5986 (window-deletable-p): Remove argument FORCE. Don't deal with
5987 dedication and previous buffers.
5988 (switch-to-prev-buffer): Don't delete window.
5989 (delete-windows-on): Delete a window's frame if and only if the
5990 window is dedicated.
5991 (replace-buffer-in-windows): Delete buffer's window or frame if
5992 and only if window is dedicated.
5993 (quit-window): Handle quit-restore as before last change.
5994 (bury-buffer): Delete window only if window-deletable-p returns t.
5996 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5998 * window.el (window-deletable-p): Never delete the last frame on a
6001 2011-09-13 Glenn Morris <rgm@gnu.org>
6003 * help.el (describe-key-briefly): Copy previous standard-output change.
6005 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6007 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6009 2011-09-13 Glenn Morris <rgm@gnu.org>
6011 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6012 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6014 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6016 * dired-aux.el (dired-mark-read-string): Don't return default
6017 value on empty input (Bug#9361).
6018 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6019 Omit initial minibuffer contents.
6020 (dired-do-chmod): Signal an error on empty input.
6021 (dired-mark-read-string): Don't return default on empty input.
6023 * files.el (file-modes-symbolic-to-number): Doc fix.
6025 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * international/mule-cmds.el (ucs-completions): Remove.
6028 (read-char-by-name): Use complete-with-action instead; add metadata.
6030 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6032 * window.el (display-buffer--action-function-custom-type)
6033 (display-buffer--action-custom-type): New vars.
6034 (display-buffer-alist, display-buffer-default-action)
6035 (display-buffer-overriding-action): Add defcustom types.
6037 * frame.el (delete-other-frames): Doc fix (Bug#276).
6039 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6041 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6043 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6045 Change modes that used same-window-* vars to use switch-to-buffer.
6047 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6048 Use switch-to-buffer.
6050 * cus-edit.el (customize-group, custom-buffer-create)
6051 (customize-browse, custom-buffer-create-other-window):
6052 Use switch-to-buffer or switch-to-buffer-other-window.
6054 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6055 (Info-prev, Info-up, Info-speedbar-goto-node)
6056 (info-display-manual): Use switch-to-buffer.
6057 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6059 * mail/sendmail.el (mail): Use switch-to-buffer.
6060 (mail-recover): Use switch-to-buffer-other-window.
6062 * cmuscheme.el (run-scheme, switch-to-scheme):
6065 * net/rlogin.el (rlogin):
6066 * net/telnet.el (telnet, rsh):
6067 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6069 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6071 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6073 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6075 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6076 so don't mention it (bug#9301).
6077 (dired-sort-toggle-or-edit): Clarify string further.
6079 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6080 match `x', `w32' and `ns', like the manual says (bug#9029).
6082 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6083 (process-kill-buffer-query-function): Mention the buffer name in
6086 * image-mode.el (image-next-line): The line parameter is mandatory
6089 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6090 which can be useful (bug#9301).
6092 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6094 * subr.el (match-string): Mention that the current buffer should
6095 be the same as the search was done in (bug#9282).
6097 * facemenu.el: Disable the remove-* commands if the mark isn't
6100 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6102 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6104 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6106 * replace.el (occur-mode-goto-occurrence)
6107 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6110 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6113 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6114 special-display and same-window variables.
6115 (mail-other-window): Use switch-to-buffer-other-window.
6116 (mail-other-frame): USe switch-to-buffer-other-frame.
6118 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6119 Use display-buffer-other-frame.
6120 (gdb-display-gdb-buffer): Use pop-to-buffer.
6122 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6124 * progmodes/python.el: Don't set same-window-buffer-names.
6126 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6128 * window.el (display-buffer-alist): Add *Python*.
6130 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6132 * window.el (display-buffer-alist): Add entry for buffers
6133 previously handled same-window-*.
6134 (display-buffer-alist, display-buffer-default-action)
6135 (display-buffer-overriding-action): Mark as risky.
6136 (display-buffer-alist): Document action function changes.
6137 (display-buffer--same-window-action)
6138 (display-buffer--other-frame-action): New variables.
6139 (switch-to-buffer, display-buffer-other-frame): Use them.
6140 (display-buffer): Rename reuse-frame entry to reusable-frames.
6141 (display-buffer-reuse-selected-window): Function deleted.
6142 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6143 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6144 (display-buffer-special): New function.
6145 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6146 display-buffer-reuse-or-pop-window. Split off special-display
6147 part into display-buffer-special.
6148 (display-buffer-use-some-window): Don't perform any special
6149 pop-up-frames handling.
6150 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6151 (display-buffer--maybe-same-window): Rename from
6152 display-buffer-maybe-same-window.
6154 * info.el: Don't set same-window-regexps.
6155 (info-setup): New function.
6156 (info-other-window, info): Call it.
6158 * cus-edit.el: Don't set same-window-regexps.
6159 (customize-group): New argument.
6160 (customize-group-other-window): Use it.
6161 (customize-face, customize-face-other-window): Likewise.
6162 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6166 * progmodes/gud.el: Don't set same-window-regexps.
6172 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6174 2011-09-10 Juri Linkov <juri@jurta.org>
6176 * isearch.el (isearch-edit-string): Remove obsolete mention of
6177 `C-w' (`isearch-yank-word-or-char') from docstring.
6178 (isearch-query-replace): Fix typo in docstring (bug#9466).
6180 2011-09-10 Juri Linkov <juri@jurta.org>
6182 * paren.el (show-paren-function): Don't show escaped parens.
6183 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6185 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6187 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6188 (mm-default-file-encoding): Remove autoload forms, they are
6189 replaced with autoload cookies in mml.el and mm-encode.el.
6190 (mail-add-attachment): New command.
6191 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6192 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6194 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6196 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6198 * simple.el (count-words-region): Use buffer if there's no region
6201 2011-09-09 Juri Linkov <juri@jurta.org>
6203 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6204 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6205 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6207 2011-09-09 Alan Mackenzie <acm@muc.de>
6209 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6210 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6212 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6214 Fix for Savannah bug#9392.
6215 * simple.el (mail-encode-mml): New defvar.
6217 * mail/rmail.el (mail-encode-mml): Add a defvar.
6218 (rmail-enable-mime-composing): Default to t.
6219 (rmail-forward): Use MIME method of forwarding only if both
6220 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6221 Set mail-encode-mml non-nil if the MIME method was used.
6223 * mail/sendmail.el (mml-to-mime): Add autoload form.
6224 (mail-encode-mml): Add a defvar.
6225 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6227 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6228 message through mml-to-mime, and reset mail-encode-mml to nil.
6230 2011-09-09 Glenn Morris <rgm@gnu.org>
6232 * woman.el (woman-if-body): When processing an .el block,
6233 do not delete the next .el block as well. (Bug#9447)
6234 (woman-special-characters): Add oq, cq, and hy characters.
6236 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6238 * window.el (window-deletable-p): Make sure window is live before
6239 invoking window-prev-buffers.
6241 2011-09-08 Leo Liu <sdl.web@gmail.com>
6243 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6245 2011-09-08 Juri Linkov <juri@jurta.org>
6247 * progmodes/compile.el (compilation-environment): Make it
6248 a defcustom (bug#8340).
6250 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6252 * window.el (frame-auto-delete): Rename to window-auto-delete.
6253 Make it control auto-deletion of windows and/or frames.
6254 (window-deletable-p): New argument FORCE. Rewrite conditions
6255 for deleting window/frame. (Bug#9419)
6256 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6257 Rewrite handling of case when window/frame can be deleted.
6258 (delete-windows-on): Call window-deletable-p with new FORCE
6259 argument t. (Bug#9456)
6261 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6263 * help-mode.el (help-mode): Restore autoload.
6265 2011-09-07 Juri Linkov <juri@jurta.org>
6267 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6268 `compilation-environment'. Set buffer-local
6269 `compilation-environment' to `thisenv' later after (funcall mode).
6272 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6273 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6274 instead of replacing its value. (Bug#8340)
6276 2011-09-07 Juri Linkov <juri@jurta.org>
6278 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6279 based on text properties put by `grep-filter' instead of matching
6281 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6282 to the value of `grep-error-screen-columns' (bug#9438).
6284 2011-09-07 Juri Linkov <juri@jurta.org>
6286 * simple.el (next-error-highlight, next-error-highlight-no-select):
6289 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6292 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6294 2011-09-07 Leo Liu <sdl.web@gmail.com>
6296 * net/rcirc.el (rcirc-mode): Conditionally initialize
6299 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * emacs-lisp/find-func.el (find-function-C-source): Only set
6302 find-function-C-source-directory after checking that we found a source
6303 file there (bug#9440).
6305 2011-09-06 Alan Mackenzie <acm@muc.de>
6307 * isearch.el (isearch-other-meta-char): Wherever a key list is
6308 unread, "unread" the prefix arg, too. This fixes bug #8901.
6310 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6312 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6314 2011-09-05 Juri Linkov <juri@jurta.org>
6316 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6318 2011-09-05 Juri Linkov <juri@jurta.org>
6320 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6321 keeping point where processing of grep matches begins, and
6322 continue to delete remaining escape sequences from the same point.
6323 (grep-filter): Make leading zero optional in "0?1;31m" because
6324 git-grep emits "\033[1;31m" escape sequences unlike expected
6325 "\033[01;31m" as GNU Grep does (bug#9408).
6326 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6328 2011-09-05 Juri Linkov <juri@jurta.org>
6330 * subr.el (y-or-n-p): Capitalize "yes".
6332 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6334 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6335 `tramp-cache-unload-hook' where appropriate.
6336 (tramp-methods): Rename `tramp-remote-sh' to
6337 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6338 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6340 * net/tramp-sh.el (top): Don't require 'shell.
6341 (tramp-methods): Add `tramp-remote-shell' and
6342 `tramp-remote-shell-args' entries.
6343 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6344 (tramp-sh-handle-shell-command): Remove.
6345 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6346 Use `tramp-remote-shell'.
6348 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6350 * mail/sendmail.el (sendmail-query-once-function): Delete.
6351 (sendmail-query-once): Save directly to send-mail-function.
6352 Update message-send-mail-function too.
6354 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6356 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6358 * progmodes/python.el (python-mode-map): Use correct function to
6359 start python interpreter from menu-bar (as reported by Geert
6361 (inferior-python-mode-map): Fix typo.
6362 (python-shell-map): Remove.
6364 2011-09-03 Deniz Dogan <deniz@dogan.se>
6366 * net/rcirc.el (rcirc-print): Simplify code for
6367 rcirc-scroll-show-maximum-output. There is no need to walk
6368 through all windows to find the right one.
6370 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6372 * help.el (help-return-method): Doc fix.
6374 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6376 * window.el (window-deletable-p): Don't return a non-nil value
6377 when there's a buffer that was shown in the window before.
6379 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6380 Set window's previous buffers to nil.
6382 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6384 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6385 newline before and after the tag line, so it doesn't interfere
6386 with determining the paragraph direction of bidirectional text.
6388 2011-09-03 Leo Liu <sdl.web@gmail.com>
6390 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6392 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6394 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6395 (pop-to-buffer): Change interactive spec. Pass second argument
6396 directly to display-buffer.
6397 (display-buffer): Fix interactive spec. Use functionp to
6398 distinguish between a function and a list of functions.
6400 * abbrev.el (edit-abbrevs):
6401 * arc-mode.el (archive-extract):
6402 * autoinsert.el (auto-insert):
6403 * bookmark.el (bookmark-bmenu-list):
6404 * files.el (find-file):
6405 * view.el (view-buffer):
6406 * progmodes/compile.el (compilation-goto-locus):
6407 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6409 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6411 * window.el (display-buffer-alist): Doc fix.
6412 (display-buffer): Add docstring. Don't treat
6413 display-buffer-default specially.
6414 (display-buffer-reuse-selected-window)
6415 (display-buffer-same-window, display-buffer-maybe-same-window)
6416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6417 (display-buffer-pop-up-window)
6418 (display-buffer-reuse-or-pop-window)
6419 (display-buffer-use-some-window): New functions.
6420 (display-buffer-default-action): Use them.
6421 (display-buffer-default): Delete.
6422 (pop-to-buffer-1): Fix choice of actions.
6424 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * minibuffer.el (completion--insert-strings): Don't get confused by
6427 completion entries that end with an LF char.
6429 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6431 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6433 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6435 * window.el (display-buffer): Restore interactive spec.
6436 (display-buffer-same-window, display-buffer-other-window):
6438 (pop-to-buffer-1): New function. Use the above.
6439 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6440 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6442 * view.el (view-buffer-other-window, view-buffer-other-frame):
6443 Just use pop-to-buffer.
6445 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6447 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6449 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6451 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6453 2011-08-31 Richard Stallman <rms@gnu.org>
6455 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6456 of the separation of rmail-view-buffer from rmail-buffer.
6457 If you say no to "replace original", the decrypt is in the
6458 view buffer. If you say yes, the decrypt goes into the
6461 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6463 * window.el (display-buffer-window): Rewrite doc-string.
6464 (display-buffer-record-window): New function.
6465 (display-buffer-macro-specifiers)
6466 (display-buffer-even-window-sizes, display-buffer-set-height)
6467 (display-buffer-set-width, display-buffer-in-window)
6468 (display-buffer-reuse-window, display-buffer-split-specifiers)
6469 (display-buffer-side-specifiers, display-buffer-split-window-1)
6470 (display-buffer-split-window, display-buffer-split-atom-window)
6471 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6472 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6473 (display-buffer-other-window-means-other-frame)
6474 (display-buffer-normalize-special)
6475 (display-buffer-normalize-default)
6476 (display-buffer-normalize-argument)
6477 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6478 (display-buffer-normalize-specifiers, display-buffer-frame)
6479 (display-buffer-same-window, display-buffer-same-frame)
6480 (display-buffer-other-window)
6481 (display-buffer-same-frame-other-window)
6482 (display-buffer-other-frame, pop-to-buffer-same-window)
6483 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6484 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6485 (switch-to-buffer-same-frame)
6486 (switch-to-buffer-other-window-same-frame)
6487 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6488 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6489 (display-buffer-alist-set): Remove.
6490 (display-buffer-function, special-display-buffer-names)
6491 (special-display-regexps, special-display-function):
6492 In doc-string refer to display-buffer-window and quit-restore
6494 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6495 (special-display-frame-alist, special-display-popup-frame)
6496 (same-window-buffer-names, same-window-regexps, same-window-p)
6497 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6498 (split-window-preferred-function, split-height-threshold)
6499 (split-width-threshold, window-splittable-p)
6500 (split-window-sensibly, window--try-to-split-window)
6501 (window--frame-usable-p, even-window-heights)
6502 (window--even-window-heights, window--display-buffer-1)
6503 (window--display-buffer-2, display-buffer-other-frame):
6504 Restore old Emacs 23 code, order and doc-strings where applicable.
6505 (display-buffer-default, display-buffer-assq-regexp): New functions.
6506 (display-buffer-alist): Rewrite doc-string.
6507 (display-buffer-default-action)
6508 (display-buffer-overriding-action): New variables.
6509 (display-buffer, switch-to-buffer): Rewrite.
6510 (pop-to-buffer): Restore Emacs 23 behavior but use
6511 window-normalize-buffer-to-display.
6512 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6513 Restore Emacs 23 behavior but use
6514 window-normalize-buffer-to-switch-to.
6515 (pop-to-buffer-same-window): Rewrite.
6516 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6517 Rewrite using Emacs 23 options.
6519 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6521 * net/tramp.el (tramp-root-regexp): Remove.
6522 (tramp-completion-file-name-regexp-unified)
6523 (tramp-completion-file-name-regexp-separate)
6524 (tramp-completion-file-name-regexp-url): Don't use leading volume
6525 letter on win32 systems. (Bug#5303, Bug#9311)
6526 (tramp-drop-volume-letter): Simplify definition.
6527 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6529 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6534 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6536 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6538 2011-08-29 Juri Linkov <juri@jurta.org>
6540 * isearch.el (isearch-done): Don't display message "Mark saved"
6541 when arg `edit' is non-nil to prevent its flicker in the echo area.
6543 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6545 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6546 obsolete packages for deletion.
6548 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6550 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6551 (help-mode): Derive help-mode from special-mode. Don't invoke
6552 view-mode from help-mode.
6553 (help-xref-override-view-map): Remove.
6554 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6555 view-mode is not used anymore.
6557 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6559 * server.el (server-port): Doc fix.
6561 * cus-theme.el (custom-theme-choose-mode): Inherit from
6562 special-mode (Bug#9124).
6563 (custom-theme-choose-mode-map): Add special-mode to parent.
6565 2011-08-28 Alan Mackenzie <acm@muc.de>
6567 * progmodes/cc-fonts.el
6568 (c-make-font-lock-BO-decl-search-function): New function.
6569 (c-basic-matchers-after - "Fontify the clauses after various
6570 keywords"): Extract the three keyword lists for the 3 erroneous
6571 constructs from the list of four, and use the new function above
6572 in place of an old one.
6574 2011-08-28 Deniz Dogan <deniz@dogan.se>
6576 * net/rcirc.el (rcirc-insert-prev-input)
6577 (rcirc-insert-next-input): Remove unused argument.
6579 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6581 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6583 2011-08-27 Alan Mackenzie <acm@muc.de>
6585 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6586 handle function pointer parameters properly.
6588 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6590 * window.el (display-buffer-reuse-window): Fix case where
6591 selected window was reused with non-nil OTHER-WINDOW argument.
6594 2011-08-27 Deniz Dogan <deniz@dogan.se>
6596 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6597 oftc's NickServ messages.
6599 2011-08-27 Glenn Morris <rgm@gnu.org>
6601 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6603 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6605 * emacs-lisp/package.el (package-install): Call package-initialize
6606 if called interactively.
6608 2011-08-26 Leo Liu <sdl.web@gmail.com>
6610 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6612 2011-08-25 Juri Linkov <juri@jurta.org>
6614 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6615 `search-whitespace-regexp' (bug#9364).
6617 2011-08-25 Juri Linkov <juri@jurta.org>
6619 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6620 `regexp-search-ring' to their global values to protect from
6621 updating by `read-from-minibuffer' (bug#9185).
6623 2011-08-25 Juri Linkov <juri@jurta.org>
6625 * textmodes/ispell.el (ispell-command-loop): Add newline
6626 at the end of the "Use option `i'..." line.
6628 2011-08-25 Juri Linkov <juri@jurta.org>
6630 * battery.el (display-battery-mode): If `battery-status-function'
6631 or `battery-mode-line-format' is nil, display the message and set
6632 `display-battery-mode' to nil (bug#9363).
6634 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6636 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6637 bidi-string-mark-left-to-right; they are unnecessary now.
6639 2011-08-25 Deniz Dogan <deniz@dogan.se>
6641 * net/quickurl.el: Documentation typo fixes.
6643 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6645 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6647 2011-08-25 Glenn Morris <rgm@gnu.org>
6649 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6651 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6652 (smtpmail-via-smtp): Handle nil response from smtp.
6654 2011-08-24 Juri Linkov <juri@jurta.org>
6656 * proced.el (proced-marked): Inherit from `error' instead of
6657 `font-lock-warning-face'.
6659 * ibuffer.el (ibuffer-marked-face): Change default face from
6660 `font-lock-warning-face' to `warning'.
6661 (ibuffer-deletion-face): Change default face from
6662 `font-lock-type-face' to `error'.
6664 * battery.el (battery-update): Use the face `error' instead of
6665 `font-lock-warning-face' (bug#6117).
6667 2011-08-24 Juri Linkov <juri@jurta.org>
6669 * faces.el (success): Change face color from "Green3" to
6670 "ForestGreen" on light background (bug#9353).
6672 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6674 * window.el (quit-window): Rename from quit-restore-window.
6675 Use same arglist as old quit-window.
6676 (frame-auto-delete): Doc fix.
6678 * view.el (view-mode-exit): Use quit-window.
6680 2011-08-24 Juri Linkov <juri@jurta.org>
6682 * isearch.el (isearch-ring-adjust1): Start visiting previous
6683 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6684 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6685 for empty search string (when the last search string is reused
6686 automatically) to adjust the isearch ring to the last element and
6687 prepare the correct index for further M-p commands (bug#9185).
6689 2011-08-24 Kenichi Handa <handa@m17n.org>
6691 * international/ucs-normalize.el: If decomposition property of
6692 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6694 (nfd, nfkd): Likewise.
6696 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6699 from process filters aren't reliably transmitted to the surrounding
6700 accept-process-output.
6701 (mpc-proc-check): New function.
6702 (mpc-proc-sync): Use it (bug#8293)
6704 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6707 Add compatibility functions (bug#9313).
6709 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6711 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6713 * international/uni-bidi.el: Regenerate.
6715 2011-08-23 Kenichi Handa <handa@m17n.org>
6717 * international/charprop.el:
6718 * international/uni-bidi.el:
6719 * international/uni-category.el:
6720 * international/uni-combining.el:
6721 * international/uni-comment.el:
6722 * international/uni-decimal.el:
6723 * international/uni-decomposition.el:
6724 * international/uni-digit.el:
6725 * international/uni-lowercase.el:
6726 * international/uni-mirrored.el:
6727 * international/uni-name.el:
6728 * international/uni-numeric.el:
6729 * international/uni-old-name.el:
6730 * international/uni-titlecase.el:
6731 * international/uni-uppercase.el: Regenerate.
6733 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6735 * help.el (help-window-setup): Fix message displayed when other
6736 window is reused. (Bug#9341)
6738 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6741 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6743 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6745 * shell.el (shell-parse-pcomplete-arguments): New function.
6746 (shell-completion-vars): Use it instead (bug#9160).
6748 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6751 strings and comments (bug#9333).
6753 * emacs-lisp/debug.el (debug-arglist): New function.
6754 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6755 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6757 2011-08-22 Juri Linkov <juri@jurta.org>
6759 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6760 Revert regexp that highlights output switches to its old
6761 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6763 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6764 to check for empty output (bug#9226).
6766 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6768 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6769 symbol-constituent as the default, as that stops font-lock from
6770 working properly (Bug#8843).
6772 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6774 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6775 `coding-system-for-*' around the process open call to avoid
6776 auth-source side effects.
6777 (smtpmail-try-auth-methods): Expand the secret password.
6778 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6781 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6783 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6785 * emacs-lisp/find-func.el (find-function-noselect): New arg
6788 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6789 signal an error for built-in functions (Bug#6664).
6791 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6793 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6794 (smtpmail-try-auth-methods): Use it.
6796 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6798 * font-lock.el (font-lock-fontify-region)
6799 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6800 (font-lock-default-unfontify-buffer)
6801 (font-lock-default-fontify-region)
6802 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6804 * progmodes/compile.el (compilation-error-properties):
6805 Fix confusion between file struct and message struct (Bug#9319).
6806 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6809 * net/browse-url.el (browse-url-firefox): Don't call
6810 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6812 2011-08-20 Glenn Morris <rgm@gnu.org>
6814 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6816 * tutorial.el (tutorial--default-keys): Update some default bindings.
6818 * files.el (hack-local-variables): Fully ignore case for "mode:".
6820 2011-08-20 Alan Mackenzie <acm@muc.de>
6822 Resolve invalid use of a regexp in regexp-opt.
6824 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6825 detection for a java annotation.
6827 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6828 detection for a java annotation.
6830 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6832 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6834 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6836 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6839 2011-08-20 Alan Mackenzie <acm@muc.de>
6841 Fontify CPP expressions correctly when starting in the middle of
6842 such a construct. Mainly for when jit-lock etc. starts a chunk
6845 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6847 (c-make-font-lock-search-form): New function, extracted from
6848 c-make-font-lock-search-function.
6849 (c-make-font-lock-search-function): Use the above function.
6850 (c-make-font-lock-context-search-function): New function.
6851 (c-cpp-matchers): Enhance the preprocessor expression case with
6853 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6854 which takes an expression.
6856 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6858 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6860 * window.el (display-buffer-reuse-window)
6861 (display-buffer-pop-up-window): Don't reuse or split a side
6864 2011-08-19 Glenn Morris <rgm@gnu.org>
6866 * files.el (hack-local-variables-prop-line, hack-local-variables):
6867 Downcase "Mode:". (Bug#9331)
6869 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6871 * international/characters.el: Add L and R categories.
6873 * subr.el (bidi-string-mark-left-to-right): Rename from
6874 string-mark-left-to-right. Use category search.
6876 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6878 2011-08-18 Juri Linkov <juri@jurta.org>
6880 * faces.el (error, warning, success): New faces with definitions
6881 copied from old default values of `font-lock-warning-face',
6882 `compilation-warning', `compilation-info' (bug#6117).
6884 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6886 * progmodes/compile.el (compilation-error): Inherit from `error'.
6887 (compilation-warning): Inherit from `warning'.
6888 (compilation-info): Inherit from `success'.
6890 * dired.el (dired-marked): Inherit from `warning'.
6891 (dired-flagged): Inherit from `error'.
6893 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895 * mail/smtpmail.el (auth-source): Require to avoid problems with
6896 binding variables (bug#9298). Also clean up some unused
6899 * net/network-stream.el (network-stream-open-starttls):
6900 Support using starttls.el without using gnutls-cli.
6902 2011-08-17 Juri Linkov <juri@jurta.org>
6904 * progmodes/grep.el (rgrep): Handle the case when
6905 `grep-find-command' is a cons cell (bug#9278).
6907 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6909 * window.el (display-buffer-pop-up-frame): Run frame creation
6910 function with BUFFER current (as special-display-popup-frame
6911 does). Reported by Drew Adams.
6913 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6915 * epa-mail.el: Simplify GnuPG group expansion using
6917 (epa-mail-group-alist, epa-mail-group-modtime)
6918 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6919 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6920 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6923 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6925 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6927 2011-08-16 Alan Mackenzie <acm@muc.de>
6929 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6930 Correct, to avoid the inside of macros.
6932 2011-08-16 Richard Stallman <rms@gnu.org>
6934 * epa-mail.el: Handle GnuPG group definitions.
6935 (epa-mail-group-alist, epa-mail-group-modtime)
6936 (epa-mail-gnupg-conf-file): New variables.
6937 (epa-mail-parse-groups, epa-mail-sync-groups)
6938 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6939 (epa-mail-expand-recipients): New functions.
6940 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6942 * mail/rmail.el (rmail-epa-decrypt): New command.
6944 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6945 Don't bind buffer-read-only, just inhibit-read-only.
6946 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6947 (epa-decrypt-armor-in-region): Make error message clearer.
6949 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6952 and "a2b" to "ab" for `prefix'.
6954 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6956 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6958 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6959 Fourquet (Bug#8804).
6961 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6963 * startup.el (argi): Declare as global variable (bug#9275).
6965 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6967 * subr.el (string-mark-left-to-right): Search the entire string
6968 for RTL script, not just the terminating character. Doc fix.
6970 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6974 (js--regexp-literal, js-syntax-propertize-function): Remove.
6975 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6976 (js-mode-map): Don't rebind electric keys.
6977 (js-insert-and-indent): Remove.
6978 (js-mode): Setup electric-layout and electric-indent instead.
6980 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6982 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6984 * epa.el (epa-progress-callback-function): Fix the logic of
6985 displaying progress.
6986 * epa-file.el (epa-file-insert-file-contents): Make progress
6987 display more user-friendly.
6988 (epa-file-write-region): Ditto.
6990 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6992 * subr.el (string-mark-left-to-right): New function.
6994 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6995 Use string-mark-left-to-right.
6996 (list-buffers-noselect): Caller changed.
6998 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6999 Use string-mark-left-to-right.
7000 (tabulated-list-print): Recenter after moving point.
7002 2011-08-10 Juri Linkov <juri@jurta.org>
7004 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7005 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7006 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7008 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7010 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7013 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7015 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7016 character. (Bug#6594)
7018 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7020 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7021 (image-dired--with-db-file): New macro.
7022 (image-dired-write-tags, image-dired-remove-tag)
7023 (image-dired-create-gallery-lists, image-dired-write-comments)
7024 (image-dired-get-comment, image-dired-mark-tagged-files)
7025 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7026 (image-dired-gallery-generate): Use insert-file-contents.
7028 * time.el (display-time-world-list, display-time-world-display):
7029 * time-stamp.el (time-stamp-string):
7030 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7031 set-time-zone-rule (Bug#7337).
7033 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7035 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7036 (epg-error-to-string, epg-errors-to-string): New function.
7037 (epg-wait-for-completion): Reverse errors list.
7038 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7039 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7040 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7041 (epg-sign-keys, epg-generate-key-from-file)
7042 (epg-generate-key-from-string): Format errors by using
7043 epg-errors-to-string (bug#9255).
7044 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7046 2011-08-07 Juri Linkov <juri@jurta.org>
7048 * faces.el (list-faces-display): Remove extra angle bracket
7049 from `help-mode-map'.
7051 * info.el (Info-history-toc-nodes): Doc fix.
7053 * longlines.el (longlines-mode): Doc fix.
7055 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7058 of statements and in a few more cases (bug#9183).
7060 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7062 (cl-transform-lambda): Use them (bug#9239).
7064 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7066 * window.el (display-buffer-same-window)
7067 (display-buffer-same-frame, display-buffer-other-window)
7068 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7069 (pop-to-buffer-other-window)
7070 (pop-to-buffer-same-frame-other-window)
7071 (pop-to-buffer-other-frame): Make them defuns.
7072 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7074 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7076 * subr.el (make-composed-keymap): Move from C. Change calling
7077 convention, and improve docstring to bring attention to a subtle point.
7078 * minibuffer.el (completing-read-default): Adjust accordingly.
7080 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7082 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7083 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7085 * net/trampver.el: Update release number.
7087 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7089 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7092 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094 * mail/sendmail.el (sendmail-query-once): Restore the current
7095 buffer after querying (bug#9074).
7097 * dired.el (dired-flagged): Use different faces for marked and
7098 flagged files (bug#6117).
7100 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7103 * ido.el (ido-mode): Switch off the message if called
7106 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7107 before 587, since it appears that that's more likely to work for
7110 * cus-edit.el (custom-file): When running under emacs -q, always
7111 refuse to save the customizations, even if the .emacs file doesn't
7114 * info.el: Remove the `Info-beginning-of-buffer' function
7117 * net/network-stream.el (network-stream-open-starttls):
7118 Use `starttls-available-p' to see whether starttls.el can be used.
7120 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7122 * window.el (display-buffer-in-window): Don't set dedicated status
7123 of window here (Bug#9215).
7124 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7125 (display-buffer-pop-up-side-window)
7126 (display-buffer-in-side-window): Set dedicated status of window here.
7128 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7131 before binding generated-autoload-file.
7133 2011-08-01 Deniz Dogan <deniz@dogan.se>
7135 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7137 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7139 Sync with Tramp 2.2.2.
7141 * net/trampver.el: Update release number.
7143 2011-07-30 Juri Linkov <juri@jurta.org>
7145 * dired-aux.el (dired-touch-initial): Remove function.
7146 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7147 current time, and `default' to the last modification time of the
7148 current marked file (bug#6887).
7150 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7152 * simple.el (goto-line): Use string-to-number to provide a
7153 numeric argument to read-number (bug#9163).
7155 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7157 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7158 connection process, it could be nil.
7160 2011-07-27 Leo Liu <sdl.web@gmail.com>
7162 Simplify url handling in rcirc-mode.
7164 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7165 (rcirc-browse-url-at-mouse): Remove.
7166 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7168 2011-07-26 Alan Mackenzie <acm@muc.de>
7170 Fontify bitfield declarations properly.
7172 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7173 (c-symbol-chars): Now exported as a lang variable.
7174 (c-not-primitive-type-keywords): New lang variable.
7176 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7177 QT keyword "more" to prevent "more slots: ...." being spuriously
7178 parsed as a bitfield declaration.
7180 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7181 Refactor and enhance to handle bitfield declarations.
7182 (c-punctuation-in): New function.
7183 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7184 declarations properly.
7186 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7188 * calendar/icalendar.el (icalendar--all-events): Take care of
7189 multiple vcalendars in a single file.
7190 (icalendar--convert-float-to-ical): Checkdoc fixes.
7192 2011-07-25 Deniz Dogan <deniz@dogan.se>
7194 * image.el (insert-image): Clarifying docstring.
7196 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7198 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7199 `tramp-send-command-and-check' if there is no error.
7200 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7202 2011-07-22 Alan Mackenzie <acm@muc.de>
7204 Prevent cc-langs.elc being loaded at run time.
7206 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7209 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7210 "(require 'cc-langs)". Quote a form so it will evaluate at
7211 (cc-mode's) compilation time.
7213 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7215 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7218 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7220 * window.el (display-buffer-pop-up-window)
7221 (display-buffer-pop-up-side-window)
7222 (display-buffer-in-side-window): Call display-buffer-set-height
7223 and display-buffer-set-width after setting the new window's
7224 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7226 2011-07-20 Sam Steingold <sds@gnu.org>
7228 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7229 (etags-tags-included-tables): Call `convert-standard-filename' on
7230 the file names contained in TAGS so that windows Emacs can handle
7231 TAGS files created by cygwin ctags.
7233 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7236 which apparently didn't work.
7238 2011-07-19 Roland Winkler <winkler@gnu.org>
7240 * proced.el (proced-send-signal): For *Marked Processes* buffer
7241 put point at beginning of buffer.
7243 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7245 * proced.el (proced-format): Make header lines align with the text
7248 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7250 * view.el (view-buffer): Allow running in `special' modes if we're
7251 visiting a file (bug#8615).
7253 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7255 * window.el (display-buffer-alist-of-strings-p)
7256 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7258 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7261 2011-07-18 Alan Mackenzie <acm@muc.de>
7263 Fontify declarators properly when, e.g., a jit-lock chunk begins
7264 inside a declaration.
7266 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7270 (c-complex-decl-matchers): Insert reference to
7271 c-font-lock-enclosing-decls.
7273 * progmodes/cc-engine.el (c-backward-single-comment):
7274 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7275 to nil around calls to (forward-comment -1).
7277 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7279 * image.el (put-image): Doc typo fix.
7281 * progmodes/etags.el (tags-search): Doc typo fix.
7283 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7284 password if we get errors 550 to 554.
7286 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7288 * net/gnutls.el (gnutls-log-level): Remove.
7290 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7291 indentation character (bug#6380).
7293 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7295 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7296 to clarify what the problem is (bug#4291).
7298 * simple.el (current-kill): Clarify what
7299 `interprogram-paste-function' does (bug#7500).
7300 (auto-fill-mode): Document `auto-fill-function' in relation to
7301 `auto-fill-mode' (bug#2470).
7303 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7305 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7306 method if slot is read-only (bug#9035).
7308 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7310 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7311 * window.el (pop-to-buffer): Select window used even if it was
7312 selected before, see discussion of (Bug#8615), (Bug#6954).
7313 Pass argument NORECORD on to select-frame-set-input-focus.
7315 2011-07-15 Glenn Morris <rgm@gnu.org>
7317 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7320 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7322 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7323 (gnutls-negotiate): Use it.
7325 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7327 * net/gnutls.el (gnutls-negotiate):
7328 Upcase `gnutls-algorithm-priority'.
7330 2011-07-15 Glenn Morris <rgm@gnu.org>
7332 * jka-compr.el (jka-compr-verbose): Move from here...
7333 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7334 Add missing :version tag.
7335 * info.el: No need to require jka-compr when compiling.
7337 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7339 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7340 (gnutls-negotiate): Use it.
7342 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7344 * info.el (Info-beginning-of-buffer): New command.
7345 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7346 announcing `b' as the key (bug#8325).
7347 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7349 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7351 * international/mule-cmds.el
7352 (describe-specified-language-support): Make the error message
7355 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7357 * isearch.el (isearch-barrier): Add a doc string, since it's
7358 mentioned in a function doc string (bug#8678).
7360 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7362 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7363 buffer argument (Bug#9083) and self-identifying label argument.
7365 2011-07-15 Glenn Morris <rgm@gnu.org>
7367 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7369 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7371 * man.el (Man-fontify-manpage): Fix message when formatting the
7372 man page (bug#7929).
7374 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7376 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7377 argument LRM; if non-nil, append an invisible LRM character to the
7379 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7380 last argument non-nil, when formatting buffer names.
7381 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7382 paragraph direction.
7384 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7386 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7387 the man page name (bug#7929).
7389 * image.el (put-image): Mention the `put-image' overlay property
7392 * scroll-bar.el (set-scroll-bar-mode): Mention that
7393 `scroll-bar-mode' lists the values (bug#7772).
7395 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7398 * rect.el (apply-on-rectangle): Return the point after the last
7400 (string-rectangle): Go to the point after the last operation
7403 * printing.el (pr-toggle-region): Clarify the documentation
7404 slightly (bug#7493).
7406 * time.el (display-time-update):
7407 Allow `display-time-mail-function' to return nil (bug#7158).
7408 Fix suggested by Detlev Zundel.
7410 * vc/diff.el (diff): Clarify the order the file names are read
7413 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7414 the doc string (bug#7015).
7416 * font-lock.el (font-lock-maximum-decoration): Mention what
7417 numeric levels mean (bug#6935).
7419 * startup.el (initial-buffer-choice): Don't mention the `none'
7420 selection, which is against policy.
7422 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7424 * window.el (display-buffer-normalize-special):
7425 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7427 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7429 * subr.el (version<, version<=, version=): Mention "-CVS" and
7430 "-12345" alpha version numbers.
7432 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7434 * bindings.el: Add advertised binding for set-mark-command
7437 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7439 * bindings.el (mode-line-other-buffer):
7440 * bookmark.el (bookmark-bmenu-2-window):
7441 * bs.el (bs-cycle-next, bs-cycle-previous):
7442 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7445 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7448 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7450 * follow.el (follow-debug-message, follow-redisplay):
7451 * jka-cmpr-hook.el (with-auto-compression-mode):
7452 Fix typos in docstrings.
7454 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456 * subr.el (with-silent-modifications): Clarify somewhat what the
7457 macro inhibits (bug#6525).
7459 * simple.el (eval-expression): Note what it does if called
7460 interactively (bug#6495).
7462 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7464 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7465 Use pop-to-buffer buffer-or-name if it is nil.
7467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7468 Remove switch-to-buffer.
7470 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472 * files.el (make-directory): Clarify that an error will be raised
7473 if there's an error (bug#6397).
7475 * startup.el (initial-buffer-choice): Add `none' as a choice
7478 * subr.el (add-hook): Clarify section about buffer-local hooks
7481 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7483 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7485 * tabify.el (untabify): Preserve the current column so that point
7486 doesn't move (bug#6032).
7488 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7490 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7491 Rewrite to avoid awkward possessive "s" (bug#5986).
7493 2011-07-13 Glenn Morris <rgm@gnu.org>
7495 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7496 (dired-insert-directory): Give a message the first time
7497 if ls is found not to support --dired.
7499 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7501 * simple.el (toggle-truncate-lines): Clarify what is toggled
7502 (bug#5580). Text by Drew Adams.
7504 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7506 * simple.el (blink-matching-open): Make the error message from the
7507 last change less verbose.
7509 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7511 * font-lock.el (font-lock-comment-face): Use the high contrast
7512 "yellow" color for font-lock-comment-face on low color terminals
7513 using a dark background color (bug#4221).
7515 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7517 * dired.el (dired-insert-set-properties): Make the doc string
7518 reflect what it does now (bug#5325).
7520 * simple.el (blink-matching-open): Say that we were unable to find
7521 the match within the limit, if we're limited (bug#5122).
7523 * international/mule-cmds.el (prefer-coding-system): Add an
7526 * progmodes/etags.el (tags-search): Document `file-list-form'
7529 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7531 * net/browse-url.el (browse-url-default-browser)
7532 (browse-url-browser-function): Make the default browser choice a
7533 bit more logical (bug#4300). Also clean up the doc string.
7535 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7537 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7538 binary endings (bug#4440).
7540 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7542 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7543 which can be pretty annoying (bug#8971).
7545 * jka-compr.el (jka-compr-verbose): New variable, and use
7546 throughout (bug#8971).
7548 * info.el (Info-find-file): Fall back on the installation
7549 directory if we can't find the info node anywhere else.
7551 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7553 * vc/vc.el (vc-revert-file):
7554 Don't set file time-stamp in the past. (Bug#5181)
7556 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558 * files.el (after-find-file): Give a better error message when
7559 trying to find a symlink that points to a file that doesn't exist
7562 * progmodes/cc-vars.el: Remove (probably) misleading comment
7565 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7567 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7569 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7571 * mouse-sel.el: Hack restoring functionality, while keeping
7572 compatibility with 2010-07-03 changes to mouse selection.
7573 (mouse-sel-primary-overlay): New var.
7574 (mouse-sel-selection-alist): Use it.
7575 (mouse-sel-mode): Doc fix; remove points that are default features
7578 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7580 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7581 Fix previous fix (bug#2490).
7583 2011-07-12 Roland Winkler <winkler@gnu.org>
7585 * textmodes/bibtex.el (bibtex-initialize):
7586 Use pop-to-buffer-same-window.
7587 (bibtex-search-entries): Fix interactive call.
7589 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7592 Fontise bytecomp Error lines more correctly (bug#2490).
7593 Fix suggested by Johan Bockgård.
7595 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7597 * dired-x.el (dired-guess-default): Use `delete-dups'.
7599 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7601 * dired.el (dired-mark-prompt):
7602 * dired-aux.el (dired-read-shell-command): Doc fix.
7604 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7606 * mail/sendmail.el (sendmail-query-once):
7607 Use `customize-save-variable' unconditionally, now that it works under
7610 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7612 * cus-edit.el (custom-file): Take an optional no-error variable.
7613 (customize-save-variable): Set the variable, and give a warning if
7614 running under "emacs -q".
7616 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7618 * loadhist.el (unload-feature-special-hooks):
7619 Add `auto-coding-functions', `fill-nobreak-predicate' and
7620 `find-directory-functions' (bug#5327).
7622 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7626 * cus-edit.el (custom-guess-name-alist): -alist variables should
7627 use the `alist' type (bug#3120). Suggested by Drew Adams.
7629 * printing.el: Add documentation to all the `pr-toggle-' commands.
7631 2011-07-11 Leo Liu <sdl.web@gmail.com>
7633 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7634 backends where it makes sense (bug#2623).
7636 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7638 * dired-x.el (dired-guess-default): Remove duplicate shell command
7640 (dired-guess-default): Fix grammar in doc string (bug#2028).
7641 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7643 * subr.el (remove-duplicates): New conveniency function.
7645 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7650 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7652 * window.el (display-buffer-normalize-default): Don't invert
7653 meaning of even-window-heights. Reported by Eli Zaretskii
7656 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7658 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7660 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7662 * window.el (display-buffer): Fix arguments to
7663 display-buffer-reuse-window in last change.
7665 * faces.el (link): Use a less saturated blue on light backgrounds.
7667 * startup.el (fancy-startup-text, fancy-about-text)
7668 (fancy-startup-tail): Use font-lock faces, for background safety.
7670 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7672 * emulation/viper-cmd.el (viper-change-state-to-vi):
7673 Limit triggering of abbrev expansion (Bug#9038).
7675 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7677 * window.el (display-buffer-default-specifiers): Remove.
7678 (display-buffer-macro-specifiers): Remove default specifiers.
7679 (display-buffer-alist): Default to nil.
7680 (display-buffer-reuse-window): New optional argument other-window.
7681 (display-buffer-pop-up-window): Allow splitting internal
7682 windows. Check whether a live window was created.
7683 (display-buffer-other-window-means-other-frame)
7684 (display-buffer-normalize-arguments): Rename to
7685 display-buffer-normalize-argument and rewrite. Set the
7686 other-window specifier.
7687 (display-buffer-normalize-special): New function.
7688 (display-buffer-normalize-options): Rename to
7689 display-buffer-normalize-default and rewrite.
7690 (display-buffer-normalize-options-inhibit): Remove.
7691 (display-buffer-normalize-specifiers): Rewrite.
7692 (display-buffer): Process other-window specifier and call
7693 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7695 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7696 (display-buffer-alist-set): Don't handle 'unset default values.
7697 (display-buffer-in-window, display-buffer-alist-set):
7698 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7699 <tassilo@member.fsf.org>.
7701 2011-07-09 Leo Liu <sdl.web@gmail.com>
7703 * register.el (insert-register): Restore accidental change on
7704 2011-06-26. (Bug#9028)
7706 2011-07-09 Glenn Morris <rgm@gnu.org>
7708 * subr.el (remq): Handle the empty list. (Bug#9024)
7710 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7712 * mail/sendmail.el (send-mail-function): No longer delay custom
7714 * custom.el (custom-initialize-delay): Doc fix.
7716 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7720 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7722 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7723 human-friendly prompt.
7725 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7728 provided by a particular plugin.
7730 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7733 save customizations (with "emacs -Q"), just set the variable
7734 instead of erroring out.
7736 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7738 2011-07-08 Juri Linkov <juri@jurta.org>
7740 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7741 (archive-zip-update-case): Use 7z if found by `executable-find'.
7742 The order of searching the available programs is the same as in
7743 `archive-zip-extract' (bug#8968).
7745 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7747 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7748 (menu-bar-options-menu): Tweak descriptions.
7750 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7753 menu items into verb phrases (bug#1421). Also refill to fit under
7756 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7758 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7759 (Info-read-node-name): Doc fix (Bug#1084).
7761 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7762 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7763 (end-of-sexp, beginning-of-sexp)
7764 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7765 (forward-symbol, forward-same-syntax, word-at-point)
7766 (sentence-at-point): Doc fix (Bug#1144).
7768 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7770 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7771 should cover it (bug#1281).
7773 * cus-edit.el (custom-show): Mark as obsolete.
7775 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7776 negotiation fails, then possibly try again with a non-encrypted
7777 connection (bug#9017).
7779 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7782 2011-07-07 Richard Stallman <rms@gnu.org>
7784 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7785 property, and handle its changed format.
7786 Look for the correct line number.
7787 Use file's line contents (but not past first =) to find
7788 correct line in message.
7790 2011-07-07 Kenichi Handa <handa@m17n.org>
7792 * international/characters.el (build-unicode-category-table):
7794 (unicode-category-table): Set it by unicode-property-table-internal.
7796 * international/mule-cmds.el (char-code-property-alist): Move to
7798 (get-char-code-property): Call unicode-property-table-internal to
7799 load a file. Call get-unicode-property-internal where necessary.
7800 (put-char-code-property): Call unicode-property-table-internal to
7801 load a file. Call put-unicode-property-internal where necessary.
7802 put-unicode-property-internal where necessary.
7803 (char-code-property-description):
7804 Call unicode-property-table-internal to load a file.
7806 * international/charprop.el:
7807 * international/uni-bidi.el:
7808 * international/uni-category.el:
7809 * international/uni-combining.el:
7810 * international/uni-comment.el:
7811 * international/uni-decimal.el:
7812 * international/uni-decomposition.el:
7813 * international/uni-digit.el:
7814 * international/uni-lowercase.el:
7815 * international/uni-mirrored.el:
7816 * international/uni-name.el:
7817 * international/uni-numeric.el:
7818 * international/uni-old-name.el:
7819 * international/uni-titlecase.el:
7820 * international/uni-uppercase.el: Regenerate.
7822 * loadup.el: Load international/charprop.el before
7823 international/characters.
7825 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7827 * window.el (next-buffer, previous-buffer): Signal an error if
7828 called from a minibuffer window.
7830 * bindings.el: Revert 2011-07-04 change.
7832 2011-07-06 Richard Stallman <rms@gnu.org>
7834 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7835 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7836 Treat markers like ints.
7837 (rmail-mime-entity): Doc fix.
7839 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7841 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7842 defcustom again for backwards compatibility.
7844 * simple.el (shell-command-on-region): Fill.
7846 * dired-aux.el (dired-kill-line): Add a doc string.
7848 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7849 to "\\sw\\|\\s_" (bug#358).
7851 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7852 (dired-unmark-backward): Ditto.
7853 (dired-flag-backup-files): Ditto.
7855 * dired-x.el (dired-mark-sexp): Ditto.
7857 2011-07-06 Richard Stallman <rms@gnu.org>
7859 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7860 (rmail-mime-entity): New arg TRUNCATED.
7861 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7863 (rmail-mime-save): Warn if entity is truncated.
7864 (rmail-mime-toggle-hidden): Likewise, for showing.
7865 (rmail-mime-process-multipart): Record when an entity is truncated.
7867 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7868 if ENTITY is a string.
7870 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7872 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7873 of faces when `M-C-x'-ing their definitions (bug#8378).
7874 Also clean up the code slightly.
7876 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7877 because that makes the colors go away.
7879 * mail/sendmail.el (send-mail-function): Change the default to
7880 `sendmail-query-once'.
7881 (sendmail-query-once): Add an autoload cookie.
7883 * net/network-stream.el (network-stream-open-starttls): Try using
7884 a plain connection even if the server offered STARTTLS, and we
7885 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7886 capability. This should make smtpmail.el work in slightly more
7889 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7891 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7893 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7895 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7897 * progmodes/sql.el: Version 3.0
7898 (sql-product-alist): Add product :completion-object,
7899 :completion-column, and :statement attributes.
7900 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7901 (sql-mode-syntax-table): Mark all punctuation.
7902 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7904 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7905 (sql-mode-oracle-font-lock-keywords): Improve.
7906 (sql-oracle-show-reserved-words): New function for development.
7907 (sql-product-font-lock): Simplify for source code buffers.
7908 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7910 (sql-highlight-product): Set product specific syntax table.
7911 (sql-mode-map): Add statement movement functions.
7912 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7914 (sql-statement-regexp, sql-beginning-of-statement)
7915 (sql-end-of-statement, sql-signum): New functions.
7916 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7917 (sql-show-sqli-buffer): Bug fix.
7918 (sql-interactive-mode): Store connection data as buffer local.
7919 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7920 with sql-interactive-mode.
7921 (sql-save-connection): Save buffer local settings.
7922 (sql-connection-menu-filter): Change menu entry name.
7923 (sql-product-interactive): Bug fix.
7924 (sql-preoutput-hold): New variable.
7925 (sql-interactive-remove-continuation-prompt): Bug fixes.
7926 (sql-debug-redirect): New variable.
7927 (sql-str-literal): New function.
7928 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7930 (sql-oracle-save-settings, sql-oracle-restore-settings)
7931 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7932 (sql-completion-object, sql-completion-column)
7933 (sql-completion-sqlbuf): New variables.
7934 (sql-build-completions-1, sql-build-completions)
7935 (sql-try-completion): New functions.
7936 (sql-read-table-name): Use them.
7937 (sql-contains-names): New buffer local variable.
7938 (sql-list-all, sql-list-table): Use it.
7939 (sql-oracle-completion-types): New variable.
7940 (sql-oracle-completion-object, sql-sqlite-completion-object)
7941 (sql-postgres-completion-object): New functions.
7943 2011-07-06 Glenn Morris <rgm@gnu.org>
7945 * window.el (pop-to-buffer): Doc fix.
7947 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7949 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7951 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7953 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7955 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7957 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7959 * button.el (button): Inherit from link face. Suggested by Dan
7962 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * progmodes/gdb-mi.el: Fit in 80 columns.
7965 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7968 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7969 if imenu is simply not configured (bug#8941).
7971 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7973 * allout.el (allout-post-undo-hook): New allout outline-change
7974 event hook to signal undo activity.
7975 (allout-post-command-business): Run allout-post-undo-hook if an
7977 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7978 * allout-widgets.el (allout-widgets-after-undo-function):
7979 Ensure the integrity of the current item's decoration after it has been
7980 in the vicinity of an undo.
7981 (allout-widgets-mode): Include allout-widgets-after-undo-function
7982 on the new allout-post-undo-hook.
7984 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7987 Let define-derived-mode define it.
7988 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7989 cycles of abbrev-table inheritance (bug#8998).
7991 2011-07-05 Roland Winkler <winkler@gnu.org>
7993 * textmodes/bibtex.el: Add support for biblatex.
7994 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7995 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7996 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7997 (bibtex-entry-alist, bibtex-field-alist): New variables.
7998 (bibtex-entry-field-alist): Obsolete alias for
7999 bibtex-BibTeX-entry-alist.
8000 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8001 (bibtex-set-dialect): New command.
8002 (bibtex-entry-type, bibtex-entry-head)
8003 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8004 Bind via bibtex-set-dialect.
8005 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8006 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8007 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8008 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8009 Define via bibtex-set-dialect.
8010 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8011 Obey bibtex-no-opt-remove-re.
8012 (bibtex-vec-push, bibtex-vec-incr): New functions.
8013 (bibtex-format-entry, bibtex-field-list)
8014 (bibtex-print-help-message, bibtex-validate)
8015 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8017 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * progmodes/compile.el (compilation-goto-locus):
8020 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8021 * bs.el (bs-cycle-next, bs-cycle-previous):
8022 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8023 * bindings.el (mode-line-other-buffer):
8024 * autoinsert.el (auto-insert):
8025 * arc-mode.el (archive-extract):
8026 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8028 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8030 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8031 Fix check of `emacs-lock-unlockable-modes'.
8032 Coerce true values of `emacs-lock--try-unlocking' to t.
8034 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8036 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8037 * emacs-lock.el: New file.
8039 2011-07-05 Julien Danjou <julien@danjou.info>
8041 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8042 than `boundp' to check if face is set.
8044 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8046 * register.el (registerv-make):
8047 * window.el (window-min-height): Fix typos in docstrings.
8049 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8051 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8054 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8056 * server.el (server-execute): Catch quit and call
8057 `server-return-error' to pass the error back to emacsclient and
8058 close the connection (bug#8942).
8060 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8062 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8063 insecure exception for current topic. Also note that auto-saves
8064 are handled differently.
8066 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8067 State variables for tracking auto-save inhibition situation.
8069 (allout-write-contents-hook-handler): Rename from
8070 'allout-write-file-hook-handler', and describe how it depends on
8071 write-contents-functions sensitivity to non-nil value to prevent
8074 (allout-auto-save-hook-handler): Remove. auto-save does not check
8075 this in individual buffers, only in the starting buffer, so this
8076 is not the right way for us to inhibit auto-save in a buffer
8077 according to its condition.
8079 (allout-mode): Use new allout-write-contents-hook-handler, and
8080 only with write-contents-functions. Remove auto-save provisions -
8081 they're implemented elsewhere.
8083 (allout-before-change-handler): If undo is in progress, note that
8084 for attention of allout-post-command-business.
8086 (allout-post-command-business): If the command we're following was
8087 an undo, check for change in the status of encrypted items and
8088 adjust auto-save inhibitions accordingly.
8090 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8091 according to whether there are or aren't any plain-text topics
8094 (allout-inhibit-auto-save-info-for-decryption):
8095 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8096 if there are plain-text topics pending encryption.
8098 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8099 buffer-saved-size and some allout state to not inhibit auto-saves
8100 if there are no longer any plain-text topics pending encryption.
8102 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8103 No longer provide for exemption of the current topic.
8105 2011-07-04 Juri Linkov <juri@jurta.org>
8107 Add 7z operations to delete and save changed members (bug#8968).
8108 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8110 (archive-7z-write-file-member): New function.
8111 (archive-7z-summarize): Fix the number of dashes in the
8114 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8116 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8119 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8121 * bindings.el: Ignore next-buffer and previous-buffer in
8122 minibuffer-local-map.
8124 * font-lock.el (font-lock-builtin-face): Change light background
8125 color to dark slate blue (Bug#6693).
8127 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8129 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8131 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8134 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8135 Add switch-to-buffer.
8137 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139 * isearch.el (isearch-search-fun-function): Clarify further the
8140 meaning of the function returned.
8142 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8144 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8146 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8147 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8149 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8150 `tramp-default-remote-path' does not exist.
8151 (tramp-send-command-and-read): New optional argument NOERROR.
8152 (tramp-open-connection-setup-interactive-shell)
8153 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8154 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8155 (tramp-process-sentinel): Flush also process' connection property.
8156 (tramp-sh-handle-start-file-process): Do not set process
8157 sentinel. It is done now ...
8158 (tramp-maybe-open-connection): ... here. (Bug#8929)
8160 2011-07-04 MON KEY <monkey@sandpframing.com>
8162 * play/animate.el (animate-string): Doc fixes and allow changing
8163 the buffer name (bug#5417).
8165 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8167 * play/animate.el (animation-buffer-name): Rename from *animate*.
8169 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8171 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8172 This is simpler and helps future-proof the code.
8173 (timer-until): Use time-subtract and float-time.
8174 (timer--time-less-p): Use time-less-p.
8176 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8178 * type-break.el (timep): Use the value of `float-time' to avoid a
8179 byte-compiler warning.
8181 * server.el (server-eval-and-print): Return any result, even nil.
8183 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8185 * type-break.el: Accept time formats that the builtins accept.
8186 (timep, type-break-time-difference): Accept any format that
8187 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8188 This is simpler and helps future-proof the code.
8189 (type-break-time-difference): Round rather than ignoring
8190 subseconds components.
8192 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8194 * info.el (Info-apropos-matches): Make non-interactive, since it
8195 doesn't seem to do anything useful as a command (bug#8829).
8197 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8199 * frame.el (frame-background-mode, frame-set-background-mode):
8201 (frame-default-terminal-background): New function.
8203 * custom.el (custom-push-theme): Don't record faces in `changed'
8204 theme; this doesn't work correctly for per-frame face settings.
8205 (disable-theme): Use face-set-after-frame-default to reset faces.
8206 (custom--frame-color-default): New function.
8208 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8210 * dired.el (dired-flagging-regexp): Remove unused variable
8213 2011-03-29 Kevin Ryde <user42@zip.com.au>
8215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8216 `perl-Test2' extend to match possible "fail #N" rep count
8219 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8221 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8222 `smtpmail-via-smtp' now returns the error instead of nil.
8224 * isearch.el (isearch-search-fun-function): Clarify the doc string
8227 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8229 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8230 unnecessary spaces (bug#8987).
8232 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234 * net/network-stream.el (open-network-stream): Use the
8235 :end-of-capability command thoughout.
8237 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8239 * net/network-stream.el (open-network-stream): Add the
8240 :end-of-capability command parameter, used by pop3.el.
8242 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8244 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8246 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8247 for list)" (bug#6475).
8249 * files.el (file-expand-wildcards): Ignore non-readable
8250 sub-directories while trying to find matches instead of signaling
8251 an error (bug#6297).
8253 * man.el (Man-reference-regexp): Allow matching possible
8254 word-wrapped references (bug#6289).
8256 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8257 for consistency with the other vc buffers (bug#6197).
8258 (vc-checkin): Ditto.
8260 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8262 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8264 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8266 * custom.el (defcustom): Clarify that :set is only used in the
8267 Customize user interface (bug#6089).
8269 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8270 associated with a file, refuse to run instead of erroring out
8273 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8274 the doc string, since it appears that using `fill-column' always
8275 controls the width (bug#7845).
8277 * simple.el (shell-command-on-region): Say where the error output
8278 went if `shell-command-default-error-buffer' is set (bug#6857).
8280 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8282 * allout.el (allout-yank-processing): Adjust cursor position for
8283 backwards-deleted space.
8285 (allout-rebullet-heading): Register changes with
8286 allout-exposure-changed-hook, so the modified topic is properly
8289 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291 * minibuffer.el (completion-in-region): Document PREDICATE
8294 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8295 of keyword/argument pairs (bug#6904).
8297 * replace.el (multi-occur):
8298 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8300 2011-07-02 Drew Adams <drew.adams@oracle.com>
8302 * dired.el (dired-mark-if): Make the message about whether it's
8303 marking or unmarking clearer (bug#8523).
8305 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8307 * disp-table.el (display-table-print-array): New function.
8308 (describe-display-table): Use it to print the vectors more pretty
8311 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8313 * window.el (window-state-get-1): Don't assign clone numbers.
8314 Add clone-of item to list of window parameters.
8315 (window-state-put-2): Don't process clone numbers.
8316 (display-buffer-alist): Fix doc-string.
8318 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8320 * subr.el (remq): Don't allocate if it's not needed.
8321 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8322 (keymap--merge-bindings): New functions.
8323 (keymap-canonicalize): Use them to refine the canonicalization.
8324 * minibuffer.el (minibuffer-local-completion-map)
8325 (minibuffer-local-must-match-map): Move initialization from C.
8326 (minibuffer-local-filename-completion-map): Move initialization from C;
8327 don't inherit from anything here.
8328 (minibuffer-local-filename-must-match-map): Make obsolete.
8329 (completing-read-default): Use make-composed-keymap to combine
8330 minibuffer-local-filename-completion-map with either
8331 minibuffer-local-must-match-map or
8332 minibuffer-local-filename-completion-map.
8334 2011-07-01 Glenn Morris <rgm@gnu.org>
8336 * type-break.el (type-break-time-sum): Use dolist.
8338 * textmodes/flyspell.el (flyspell-word-search-backward):
8339 Replace CL function.
8341 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8343 * mouse.el (mouse--strip-first-event): New function.
8344 (function-key-map): Use it to map fringe clicks to normal clicks
8347 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8348 (vc-bzr-revision-completion-table): Add support for annotate and date.
8350 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8351 inherit from parent.
8353 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8356 (dired-show-file-type): Doc fixup (bug#8818).
8358 * dired.el (dired-mode): Fix up the doc string as suggested by
8359 Drew Adams (bug#8817).
8361 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8362 cookie, since the manual says that it should be possible to add
8363 this function to `find-file-hook' (bug#8709).
8365 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8367 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8368 here. Noted Ted Zlatanov as the maintainer.
8369 (cfengine-common-settings, cfengine-common-syntax): New functions
8370 to set up common things between `cfengine-mode' and
8372 (cfengine3-mode): New mode.
8373 (cfengine3-defuns cfengine3-defuns-regex
8374 (cfengine3-class-selector-regex cfengine3-category-regex)
8375 (cfengine3-vartypes cfengine3-font-lock-keywords)
8376 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8377 (cfengine3-indent-line): Add from cfengine3.el.
8379 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8381 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8385 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8387 * window.el (same-window-buffer-names, same-window-regexps)
8388 (same-window-p, special-display-frame-alist)
8389 (special-display-popup-frame, special-display-function)
8390 (special-display-buffer-names, special-display-regexps)
8391 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8393 (split-window-preferred-function, split-height-threshold)
8394 (split-width-threshold, even-window-heights)
8395 (display-buffer-mark-dedicated, window-splittable-p)
8396 (split-window-sensibly, window-safely-shrinkable-p):
8398 (display-buffer): Don't spread args with function specifier
8399 because special-display-popup-frame won't like it.
8401 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8403 Time-stamp simplifications and fixes.
8404 These improve accuracy slightly, and future-proof the code
8405 against some potential changes to current-time format.
8407 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8408 by using time-since and float-time.
8410 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8411 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8412 + NNN microseconds".
8414 * type-break.el (type-break-time-sum): Rewrite using time-add.
8416 * play/hanoi.el (hanoi-current-time-float): Remove.
8417 All uses replaced by float-time.
8419 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8420 This yields a more-accurate answer.
8421 (rng-time-to-float): Remove; no longer needed.
8423 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8425 * calendar/timeclock.el (timeclock-seconds-to-time):
8426 Defalias to seconds-to-time, since they're the same thing.
8428 * emacs-lisp/elp.el (elp-elapsed-time):
8429 * emacs-lisp/benchmark.el (benchmark-elapse):
8430 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8432 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * window.el (bury-buffer): Don't iconify the only frame.
8435 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8436 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8438 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8440 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8441 Add mouse-yank-primary.
8443 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8445 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8447 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8450 (find-library-name): Use it to find relative load names when provided
8451 absolute file name (bug#8803).
8453 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8455 * textmodes/flyspell.el (flyspell-word): Consider words that
8456 differ only in case as potential doublons (bug#5687).
8458 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8459 Remove two rather uninteresting debugging-like messages to make
8460 debbugs.el more silent.
8462 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8463 a password-like phrase.
8465 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8467 * progmodes/cc-guess.el: New file.
8469 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8471 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8472 derived from `c-basic-common-init'.
8474 * progmodes/cc-mode.el (top-level): Require cc-guess.
8475 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8477 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8479 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8481 2011-06-30 Alan Mackenzie <acm@muc.de>
8483 * progmodes/cc-engine.el (c-guess-continued-construct):
8484 Correct the handling of template-args-cont, particularly for when font
8485 lock is disabled. Name this case as "CASE G".
8487 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8489 * allout.el (allout-yank-processing): Fix injection of extra space
8490 between bullet and non-whitespace character in first topic when
8491 pasting, ensuring that the actual spacing in the pasted topic
8492 following the bullet char is preserved. This extra space was
8493 causing pasted encrypted topics to get a decrypted status even
8494 when the content was actually still encrypted. Now the decryption
8495 status from before the paste is preserved.
8497 (allout-flag-region): Set all allout overlays so they evaporate
8498 when reduced to zero length (evanescent), to prevent overlay
8501 2011-06-30 Glenn Morris <rgm@gnu.org>
8503 * w32-fns.el (w32-charset-info-alist): Declare.
8505 * find-dired.el (find-grep-options): Simplify.
8507 * term/ns-win.el (ns-set-resource): Declare.
8509 * ses.el (row, col): Declare dynamic variables honestly.
8511 * textmodes/reftex-parse.el (index-tags): Declare.
8513 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8515 * cus-edit.el (customize-push-and-save): New function.
8517 * files.el (hack-local-variables-confirm): Use it.
8519 * custom.el (load-theme): New arg NO-CONFIRM.
8520 Use customize-push-and-save (Bug#8720).
8521 (custom-enabled-themes): Doc fix.
8523 * cus-theme.el (customize-create-theme)
8524 (custom-theme-merge-theme): Callers to load-theme changed.
8526 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8529 short URLs have at least one dot in them (bug #7614).
8531 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8532 nil, because using a pty is apparently too slow (bug #895).
8534 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8536 * mail/sendmail.el (sendmail-query-once): New function.
8537 (sendmail-query-once-function): New variable.
8539 2011-06-29 Glenn Morris <rgm@gnu.org>
8541 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8543 * ses.el (top-level): Require cl when compiling.
8544 (ses-set-localvars): Fix error statement.
8545 Call it at compile time to silence a storm of warnings.
8547 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8549 * window.el (normalize-live-buffer): Rename to
8550 window-normalize-buffer.
8551 (normalize-live-frame): Rename to window-normalize-frame.
8552 (normalize-any-window): Rename to window-normalize-any-window.
8553 (normalize-live-window): Rename to window-normalize-live-window.
8554 (make-window-atom): Rename to window-make-atom.
8555 (window-resize-reset): Rename to window--resize-reset.
8556 (window-resize-reset-1): Rename to window--resize-reset-1.
8557 (resize-mini-window): Rename to window--resize-mini-window.
8558 (resize-subwindows-skip-p): Rename to
8559 window--resize-subwindows-skip-p.
8560 (resize-subwindows-normal): Rename to
8561 window--resize-subwindows-normal.
8562 (resize-subwindows): Rename to window--resize-subwindows.
8563 (resize-other-windows): Rename to window--resize-siblings.
8564 (resize-this-window): Rename to window--resize-this-window.
8565 (resize-root-window): Rename to window--resize-root-window.
8566 (resize-root-window-vertically): Rename to
8567 window--resize-root-window-vertically.
8568 (normalize-buffer-to-display): Rename to
8569 window-normalize-buffer-to-display.
8570 (normalize-buffer-to-switch-to): Rename to
8571 window-normalize-buffer-to-switch-to.
8572 Correspondingly update all callers of the functions listed
8574 (display-buffer-alist, display-buffer-normalize-arguments)
8575 (display-buffer-normalize-options, display-buffer)
8576 (display-buffer-alist-set): Use "function" instead of
8579 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8581 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8582 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8583 debbugs.gnu.org. Mention acknowledgment email.
8585 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8588 buffer multibyteness, since it shouldn't matter.
8590 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8592 * window.el (display-buffer-in-side-window): Handle dedicated
8593 windows as in display-buffer-reuse-window.
8594 (display-buffer-normalize-alist): Use value of override
8596 (display-buffer-normalize-specifiers): Use value of
8597 other-window-means-other-frame specifier.
8598 (display-buffer-alist): Rewrite some texts in widgets.
8599 (display-buffer): Spread arguments when calling function
8600 specified by fun-with-args.
8602 2011-06-28 Deniz Dogan <deniz@dogan.se>
8604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8607 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8608 selectors (Bug#5732).
8609 (css-proprietary-nmstart-re): Use `regexp-opt'.
8611 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8613 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8614 (eshell-ls-date-format): New defcustom.
8615 (eshell-ls-file): Use it.
8617 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8621 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8623 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8624 (ange-ftp-make-tmp-name): New arg.
8625 (ange-ftp-file-local-copy): Use it.
8627 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8629 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8630 no-conversion (Bug#8870).
8632 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8634 * window.el (window-right, window-left, window-child)
8635 (window-child-count, window-last-child)
8636 (window-iso-combination-p, walk-window-tree-1)
8637 (window-atom-check-1, window-tree-1, delete-window)
8638 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8639 new naming conventions - window-vchild, window-hchild,
8640 window-next and window-prev are now called window-top-child,
8641 window-left-child, window-next-sibling and window-prev-sibling
8643 (resize-window-reset): Rename to window-resize-reset.
8644 (resize-window-reset-1): Rename to window-resize-reset-1.
8645 (resize-window): Rename to window-resize.
8646 (window-min-height, window-min-width)
8647 (resize-mini-window, resize-this-window, resize-root-window)
8648 (resize-root-window-vertically, adjust-window-trailing-edge)
8649 (enlarge-window, shrink-window, maximize-window)
8650 (minimize-window, delete-window, quit-restore-window)
8651 (split-window, balance-windows, balance-windows-area-adjust)
8652 (balance-windows-area, window-state-put-2)
8653 (display-buffer-even-window-sizes, display-buffer-set-height)
8654 (display-buffer-set-width, set-window-text-height)
8655 (fit-window-to-buffer): Rename all "resize-window" prefixed
8656 calls to use the "window-resize" prefix convention.
8657 (display-buffer-alist): Fix symbol for label specifier.
8658 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8659 corresponding specifier.
8660 Reported by Juanma Barranquero <lekktu@gmail.com>.
8662 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8664 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8666 (ses-call-printer): Does not pass an empty string to formatter when the
8667 cell is empty to keep from barking printer Calc math-format-value.
8669 2011-06-27 Richard Stallman <rms@gnu.org>
8671 * battery.el (battery-mode-line-limit): New variable.
8672 (battery-update): Handle it.
8674 * mail/rmailmm.el (rmail-mime-process-multipart):
8675 Handle truncated messages.
8677 2011-06-27 Glenn Morris <rgm@gnu.org>
8679 * progmodes/flymake.el (flymake-err-line-patterns):
8680 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8682 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8684 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8685 (ses--clean-!, ses--clean-_): New functions.
8686 (ses-range): Add configurability of readout order, and conversion
8689 * ses.el (ses-repair-cell-reference-all): New function.
8690 (ses-cell-symbol): Set macro as safe, so that it can be used in
8693 * ses.el: Update cycle detection algorithm.
8694 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8695 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8696 (ses-set-localvars): New function.
8697 (ses-make-cell): Add property-list as a cell element.
8698 (ses-cell-property-get-fun, ses-cell-property-get)
8699 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8700 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8702 (ses-cell-property-set, ses-cell-property-pop)
8703 (ses-cell-property-get-handle): New macro.
8704 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8705 New aliases, used for code readability.
8706 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8708 (ses-self-reference-early-detection): New defcustom.
8709 (ses-formula-references): Robustify against self-referring cells.
8710 (ses-mode): Use ses-set-localvars.
8711 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8712 before lauching the update processing.
8713 (ses-initialize-Dijkstra-attempt): New function.
8714 (ses-recalculate-cell): Update for cycle detection based on
8717 * ses.el: Fix commenting and indenting convention.
8719 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8721 * bs.el (bs-cycle-next): Complete last change.
8723 2011-06-27 Drew Adams <drew.adams@oracle.com>
8725 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8727 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8729 * net/network-stream.el (network-stream-open-starttls):
8730 Don't re-get capabilities unless we've reestablished connection.
8731 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8733 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8734 to binary to possibly avoid line encoding issues on Windows (among
8737 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8739 * net/network-stream.el (open-network-stream): Return an :error
8740 saying what the problem was, if possible.
8742 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8745 * net/network-stream.el (network-stream-open-starttls): If we
8746 wanted to use STARTTLS, and the server offered it, but we weren't
8747 able to because we had no STARTTLS support, then close the connection.
8748 (open-network-stream): Return an :error element, if present.
8750 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8752 * hl-line.el (hl-line-sticky-flag): Doc fix.
8753 (global-hl-line-sticky-flag): New option (Bug#8323).
8754 (global-hl-line-highlight): Obey it.
8756 * vc/vc.el (vc-revert-show-diff): Default to t.
8758 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8760 * allout-widgets.el (allout-widgets-post-command-business):
8761 Stop decorating intermediate isearch matches. They're not being
8762 undecorated when an isearch is continued past, and isearch
8763 automatically collapses them. This leads to "widget leaks", where
8764 decorated items accumulate in collapsed areas. Lines with lots of
8765 hidden widgets can slow down cursor travel, substantially.
8766 Too much complicated machinery would be needed to ensure undecoration,
8767 so we're doing without this nicety.
8769 (allout-widgets-tally-string): Don't try to do a hash-table-count
8770 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8771 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8772 *Messages* when allout-widgets-maintain-tally is t.
8774 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8776 * window.el (display-buffer-normalize-argument): Rename to
8777 display-buffer-normalize-arguments. Handle special meaning of
8778 LABEL argument. Respect special-display-function when popping up
8779 a new frame. Fix code searching for a window showing the buffer
8781 (display-buffer-normalize-specifiers):
8782 Call display-buffer-normalize-arguments.
8783 (display-buffer-in-window): Don't undedicate the window if its
8784 buffer remains the same.
8785 Reported by Drew Adams <drew.adams@oracle.com>.
8786 (display-buffer-alist): Add choice for same-window macro
8788 (display-buffer): Mention special meaning of LABEL argument in
8789 doc-string. Fix quoting. Don't pop up a new frame even as
8792 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8794 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8795 avoid deleting the current window in some cases (bug#8911).
8797 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8799 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8802 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804 * net/network-stream.el (network-stream-open-starttls):
8805 Use built-in TLS support if `gnutls-available-p' is true.
8806 (network-stream-open-tls): Ditto.
8808 2011-06-26 Leo Liu <sdl.web@gmail.com>
8810 * register.el (registerv): New struct.
8811 (registerv-make): New function.
8812 (jump-to-register, describe-register-1, insert-register):
8813 Support the jump-func, print-func and insert-func slot of a registerv
8816 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8818 * vc/vc.el (vc-revert-show-diff): New defcustom.
8819 (vc-diff-internal): New arg specifying diff buffer.
8820 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8821 reuse an existing *vc-diff* buffer (Bug#8927).
8823 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8825 2011-06-26 Glenn Morris <rgm@gnu.org>
8827 * progmodes/f90.el (f90-critical-indent): New option.
8828 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8829 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8830 (f90-mode): Doc fix.
8831 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8832 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8833 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8834 (f90-match-end): Handle block, critical.
8836 2011-06-25 Glenn Morris <rgm@gnu.org>
8838 * calendar/diary-lib.el (diary-included-files): Doc fix.
8839 (diary-include-files): New function, extracted from
8840 diary-include-other-diary-files and diary-mark-included-diary-files.
8841 (diary-include-other-diary-files, diary-mark-included-diary-files):
8842 Just call diary-include-files.
8843 (diary-mark-entries): Reset diary-included-files on first call.
8845 * calendar/diary-lib.el (diary-mark-entries)
8846 (diary-mark-included-diary-files):
8847 Visit included diary-files in temp buffers.
8849 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8850 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8851 (f90-start-block-re, f90-imenu-generic-expression)
8852 (f90-looking-at-program-block-start, f90-no-block-limit):
8853 Add support for submodules.
8855 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8856 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8858 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8860 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8861 buffer-file-type before setting its value, to avoid disastrous
8862 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8864 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8866 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8868 * ses.el (ses-unload-function):
8869 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8871 * proced.el (proced-unload-function):
8872 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8874 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8876 * server.el (server-create-window-system-frame): Add parameters arg.
8877 (server-process-filter): Doc fix. Handle frame-parameters.
8879 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8881 Fix bug#8730, bug#8781.
8883 * loadhist.el (unload--set-major-mode): New function.
8884 (unload-feature): Use it.
8886 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8887 (python-unload-function): New function.
8889 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8893 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8895 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8896 the candidates list.
8898 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8900 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8902 2011-06-23 Richard Stallman <rms@gnu.org>
8904 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8905 (rmail-variables): Set next-error-move-function.
8906 (rmail-what-message): Take argument POS.
8907 (rmail-next-error-move): New function.
8909 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8912 messages for adjacent non-terminals.
8914 2011-06-23 Richard Stallman <rms@gnu.org>
8916 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8917 (rmail-show-message-1): Preserve buffer modified flag.
8918 (rmail-start-mail): Don't specify use of rmail-mail-return;
8919 that's done by mail-bury now.
8920 (rmail-mail-return): Handle arg NEWBUF.
8922 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8924 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8927 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8929 * window.el (get-lru-window, get-mru-window)
8930 (get-largest-window): Never return a minibuffer window.
8931 (display-buffer-pop-up-window): Fix a bug that could lead to
8932 reusing the minibuffer window.
8933 (display-buffer): Pass original specifier argument to
8934 display-buffer-function instead of the normalized one.
8935 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8937 2011-06-22 Leo Liu <sdl.web@gmail.com>
8939 * minibuffer.el (completing-read-function)
8940 (completing-read-default): Move from minibuf.c
8942 2011-06-22 Richard Stallman <rms@gnu.org>
8944 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8945 to Rmail even if not started by a special Rmail command.
8947 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8948 Copy the buffer currently showing just one message.
8950 2011-06-22 Roland Winkler <winkler@gnu.org>
8952 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8953 (bibtex-clean-entry): First delete the old key so that a
8954 customized algorithm for generating the new key does not get
8955 confused by the old key.
8956 (bibtex-url): Obey regexp of first step.
8957 (bibtex-search-entries): Do not use add-to-list with local
8960 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8962 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8963 stored a user name, then query for the password first, instead of
8964 waiting for SMTP to give an error message and the trying again.
8966 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8968 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8969 BUFFER in call-process.
8971 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8973 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8975 (smtpmail-try-auth-methods): Require user name and password from
8978 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8980 * window.el (display-buffer-default-specifiers)
8981 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8982 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8983 (split-window): Normalize SIDE argument (Bug#8916).
8985 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8986 (special-display-frame-alist, special-display-popup-frame):
8987 Remove duplicate declarations. These are now in window.el.
8989 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8991 * mail/smtpmail.el (smtpmail-via-smtp):
8992 Set :use-starttls-if-possible so that we always use STARTTLS if the
8993 server supports it. SMTP servers that support STARTTLS commonly
8996 * net/network-stream.el (network-stream-open-starttls): Support
8997 upgrading to STARTTLS always, even if we don't have built-in support.
8998 (open-network-stream): Add the :always-query-capabilities keyword.
9000 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9001 upgrades with `open-network-stream', and rely solely on
9002 auth-source for all credentials. Big changes throughout the file,
9004 (smtpmail-auth-credentials): Remove.
9005 (smtpmail-starttls-credentials): Remove.
9006 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9009 * net/network-stream.el (network-stream-open-starttls):
9010 Provide support for client certificates both for external and built-in
9012 (auth-source): Require.
9013 (open-network-stream): Document the :client-certificate keyword.
9014 (network-stream-certificate): Change cert-cert to cert and
9017 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9019 * net/tramp-cache.el (top): Don't load the persistency file when
9020 "emacs -Q" has been called.
9022 2011-06-21 Tim Harper <timcharper@gmail.com>
9024 * term/ns-win.el (ns-initialize-window-system):
9025 Set application-specific `ApplePressAndHoldEnabled' system
9026 resource to NO as it is not yet supported by the NS port.
9028 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9030 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9031 (list-dynamic-libraries): ...not here.
9033 2011-06-21 Leo Liu <sdl.web@gmail.com>
9035 * subr.el (sha1): Implement sha1 using secure-hash.
9037 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9039 * window.el (display-buffer-alist): In default value do not
9040 enforce searching a window on any but the selected frame.
9041 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9042 (display-buffer-select-window): Remove function.
9043 (display-buffer-in-window): When a window on another frame gets
9044 reused, do not select it any more but just raise its frame if
9045 necessary (Bug#8851) and (Bug#8856).
9046 (display-buffer-normalize-options): Handle pop-up-frames related
9047 options more faithfully.
9048 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9049 window if it is on another frame.
9050 (display-buffer-alist, display-buffer-default-specifiers):
9051 Don't make new frame unsplittable by default.
9052 (display-buffer-normalize-argument): Fix doc-string typo and use
9053 'same-frame-other-window instead of 'other-window when associating
9054 with display-buffer-macro-specifiers.
9056 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9058 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9060 (5x5-mode-map, 5x5-mode-menu): Bind them.
9061 (5x5-draw-grid): Tweak the solver's rendering.
9063 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9065 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9066 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9068 2011-06-21 Drew Adams <drew.adams@oracle.com>
9070 * menu-bar.el: Use function variable instead of switch-to-buffer.
9071 (menu-bar-select-buffer-function): New variable.
9072 (menu-bar-update-buffers): Use it (bug#8876).
9074 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9079 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9081 * x-dnd.el (x-dnd-version-from-flags)
9082 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9083 and long as number (Bug#8899).
9084 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9086 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9088 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9089 (completion-try-completion, completion-all-completions): Compute the
9090 metadata argument if it's missing; make it optional (bug#8795).
9092 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9093 (widget-complete): Use new :completion-function property.
9094 (widget-completions-at-point): New function.
9095 (default): Use :completion-function instead of :complete.
9096 (widget-default-completions): Rename from widget-default-complete;
9098 (widget-string-complete, widget-file-complete, widget-color-complete):
9100 (file, symbol, function, variable, coding-system, color):
9101 * international/mule-cmds.el (default-input-method, charset)
9102 (language-info-custom-alist):
9103 * cus-edit.el (face): Use new property :completions.
9105 * progmodes/pascal.el (pascal-completions-at-point): New function.
9106 (pascal-mode): Use it.
9107 (pascal-mode-map): Use completion-at-point.
9108 (pascal-toggle-completions): Make obsolete.
9109 (pascal-complete-word, pascal-show-completions):
9110 * progmodes/octave-mod.el (octave-complete-symbol):
9111 Redefine as obsolete alias.
9112 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9113 Signal absence of completion info for old Octave,
9114 (inferior-octave-complete): Redefine as obsolete alias.
9115 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9116 (meta-completions-at-point): Rename from meta-complete-symbol and
9117 adapt it for use on completion-at-point-functions.
9118 (meta-common-mode): Use it.
9119 (meta-looking-at-backward, meta-match-buffer): Remove.
9120 (meta-complete-symbol): Redefine as obsolete alias.
9121 (meta-common-mode-map): Use completion-at-point.
9122 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9123 (makefile-mode-map): Use completion-at-point.
9124 (makefile-completions-at-point): Rename from makefile-complete and
9125 adapt it for use on completion-at-point-functions.
9126 (makefile-mode): Use it.
9127 (makefile-complete): Redefine as obsolete alias.
9129 2011-06-20 Deniz Dogan <deniz@dogan.se>
9131 * net/rcirc.el: Delete trailing whitespaces once and for all.
9133 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9135 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9137 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9139 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9141 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9143 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9145 * window.el (display-buffer-other-window-means-other-frame):
9146 Call display-buffer-normalize-alist.
9147 (display-buffer-normalize-specifiers-1): Rename to
9148 display-buffer-normalize-argument. New argument other-frame.
9150 (display-buffer-normalize-specifiers-2): Rename to
9151 display-buffer-normalize-options.
9152 (display-buffer-normalize-alist-1): New function.
9153 (display-buffer-normalize-specifiers-3): Rename to
9154 display-buffer-normalize-alist.
9155 Call display-buffer-normalize-alist-1.
9156 (display-buffer-normalize-options-inhibit): New variable.
9157 (display-buffer-normalize-specifiers): Rewrite calling
9158 display-buffer-normalize-alist,
9159 display-buffer-normalize-argument, and
9160 display-buffer-normalize-options. Don't call the latter if
9161 display-buffer-normalize-options-inhibit is non-nil.
9162 (frame-auto-delete): New option.
9163 (window-deletable-p): Use frame-auto-delete.
9164 (window-list-no-nils, window-state-ignored-parameters)
9165 (window-state-get-1, window-state-get, window-state-put-list)
9166 (window-state-put-1, window-state-put-2, window-state-put):
9168 (display-buffer-normalize-options): Move special-display-p group
9169 after pop-up-frame group (Bug#8851) and (Bug#8856).
9171 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9173 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9175 (rx-submatch-n): New function.
9178 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9181 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9183 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9185 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9186 anytime existing face settings are present (Bug#8889).
9188 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9189 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9190 Remove unused argument.
9192 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9194 * window.el (display-buffer-default-specifiers):
9195 Remove pop-up-frame. Add pop-up-window-min-height,
9196 pop-up-window-min-width, and another reuse-window specifier
9197 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9198 (display-buffer-normalize-specifiers-2):
9199 Handle split-height-threshold and split-width-threshold also when
9200 pop-up-windows is unset. Add a reuse-window specifier for the
9201 case popping up a new window fails.
9202 (special-display-popup-frame): Remove double quoting.
9203 (display-buffer-normalize-specifiers-1): Fix thinko.
9205 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9208 according to comint-completion-addsuffix.
9210 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9211 (pcomplete-suffix-list): Mark as obsolete.
9212 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9213 pcomplete-seen in the closure.
9214 (pcomplete-comint-setup): Setup completion-at-point as well.
9215 (pcomplete--entries): New function.
9216 (pcomplete--env-regexp): New var.
9217 (pcomplete-entries): Rewrite to work with partial-completion and
9218 without relying on pcomplete-suffix-list.
9219 (pcomplete-pare-list): Remove, unused.
9221 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9223 * window.el (display-buffer-alist): Set pop-up-window-min-height
9224 and pop-up-window-min-width in default value. Reported by
9225 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9226 other-window-means-other-frame.
9227 (display-buffer-macro-specifiers): Comment out entry for
9228 other-window specifier.
9229 (display-buffer-other-window-means-other-frame): New function.
9230 (display-buffer-normalize-specifiers-1): New arguments
9231 buffer-name and label. Treat other-window case specially.
9232 (display-buffer-normalize-specifiers-2): Treat other-window case
9234 (display-buffer-normalize-specifiers-3): New function.
9235 (display-buffer-normalize-specifiers):
9236 Call display-buffer-normalize-specifiers-3.
9238 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9240 * window.el (same-window-p): Fix two typos introduced when
9241 adding with-no-warnings.
9242 (display-buffer-normalize-specifiers-1): Don't check
9243 pop-up-frames for 'unset initialization.
9244 (display-buffer-normalize-specifiers-2): Major rewrite using
9245 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9246 (pop-up-frames, display-buffer-reuse-frames)
9247 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9248 Suggested by David Engster <deng@randomsample.de>.
9249 (even-window-heights): Initialize to 'unset.
9250 (display-buffer-alist-set): Handle new 'unset initializations.
9251 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9254 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9256 * window.el (display-buffer-normalize-specifiers-1):
9257 Respect current value of pop-up-frames for most reasonable values of
9258 second argument of display-buffer (Bug#8865).
9259 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9260 (switch-to-buffer-other-window-same-frame)
9261 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9263 (display-buffer): Don't check noninteractive when calling
9264 display-buffer-pop-up-frame.
9265 (display-buffer-pop-up-frame): Never pop up a frame in
9266 noninteractive mode (Bug#8857).
9267 (enlarge-window, shrink-window): Don't report an error when the
9268 window can't be resized as requested (Bug#8862).
9270 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9272 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9274 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9276 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9278 2011-06-15 Alan Mackenzie <acm@muc.de>
9280 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9281 for declarators, disable knr checking to speed up for normal files.
9282 2: Refactor, replacing a sequence of nested if forms by a cond form.
9284 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286 * net/network-stream.el (open-network-stream): Add the keyword
9287 :always-query-capabilities for the case where you want to force a
9288 `plain' network connection, but the protocol still requires the
9289 capabilitiy command (i.e., SMTP and EHLO).
9291 * subr.el (process-live-p): Rename from `process-alive-p' for
9292 consistency with other `-live-p' functions.
9294 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9296 * window.el (same-window-buffer-names, same-window-regexps)
9297 (special-display-frame-alist, special-display-popup-frame)
9298 (special-display-function, special-display-buffer-names)
9299 (special-display-regexps, pop-up-frame-alist)
9300 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9301 (pop-up-windows, split-window-preferred-function)
9302 (split-height-threshold, split-width-threshold, even-window-heights)
9303 (display-buffer-mark-dedicated): Don't encourage the use of
9304 display-buffer-alist from Elisp code.
9306 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9308 * progmodes/python.el (python-mode): Derive from prog-mode.
9309 * progmodes/ps-mode.el (ps-mode):
9310 * progmodes/mixal-mode.el (mixal-mode):
9311 * progmodes/cfengine.el (cfengine-mode):
9312 * progmodes/ld-script.el (ld-script-mode): Likewise.
9314 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9316 * window.el (display-buffer-alist): Trim default value to avoid
9317 popping up a new frame (Bug#8857) or reusing an arbitrary window
9319 (display-buffer): Do not fall back on popping up a new frame in
9320 batch mode (Bug#8857).
9322 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9324 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9325 (custom-theme-summary): New function.
9326 (customize-themes): Use it.
9328 2011-06-13 Glenn Morris <rgm@gnu.org>
9330 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9332 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9334 * help.el (help-window): Remove variable.
9335 (help-window-point-marker, temp-buffer-max-height)
9336 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9337 (help-print-return-message): Don't set help-window.
9338 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9339 (help-window-setup-finish): Remove.
9340 (help-window-display-message, help-window-setup)
9341 (with-help-window): Major rewrite based on new
9342 display-buffer-window variable.
9344 * help-mode.el (help-mode-finish): Remove help-window related
9347 * view.el (view-exits-all-viewing-windows): Remove reference to
9348 view-return-to-alist in doc-string.
9349 (view-return-to-alist): Make obsolete.
9350 (view-buffer): Call pop-to-buffer-same-window and remove
9352 (view-buffer-other-window): Call pop-to-buffer-other-window and
9353 simplify code. Ignore second argument.
9354 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9355 simplify code. Ignore second argument.
9356 (view-return-to-alist-update): Make obsolete.
9357 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9358 Rewrite using quit-restore window parameters.
9359 (view-mode-exit): Rename second argument to EXIT-ONLY.
9360 Rewrite using quit-restore-window.
9361 (View-exit, View-exit-and-edit, View-leave, View-quit)
9362 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9363 appropriate arguments.
9364 (view-end-message): Use quit-restore window parameter.
9366 * window.el (display-buffer-function): Rewrite doc-string.
9367 (display-buffer-window, display-buffer-alist): New variables.
9368 (display-buffer-split-specifiers)
9369 (display-buffer-side-specifiers)
9370 (display-buffer-macro-specifiers): New constants.
9371 (display-buffer-even-window-sizes, display-buffer-set-height)
9372 (display-buffer-set-width, display-buffer-select-window)
9373 (display-buffer-in-window, display-buffer-reuse-window)
9374 (display-buffer-split-window-1, display-buffer-split-window)
9375 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9376 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9377 (display-buffer-in-side-window, normalize-buffer-to-display)
9378 (display-buffer-normalize-specifiers-1)
9379 (display-buffer-normalize-specifiers-2)
9380 (display-buffer-normalize-specifiers, display-buffer-frame):
9382 (display-buffer): Major rewrite.
9383 (display-buffer-other-window, display-buffer-other-frame)
9384 (pop-to-buffer, switch-to-buffer-other-window)
9385 (switch-to-buffer-other-frame): Rewrite.
9386 (display-buffer-same-window, display-buffer-same-frame)
9387 (display-buffer-same-frame-other-window)
9388 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9389 (pop-to-buffer-other-window)
9390 (pop-to-buffer-same-frame-other-window)
9391 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9392 (switch-to-buffer-other-window-same-frame): New functions.
9393 (same-window-p, special-display-p): Rewrite disabling warnings.
9395 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9396 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9398 (same-window-buffer-names, same-window-regexps)
9399 (special-display-frame-alist, special-display-popup-frame)
9400 (special-display-function, special-display-buffer-names)
9401 (special-display-regexps, pop-up-frame-alist)
9402 (pop-up-frame-function, split-window-preferred-function)
9403 (split-height-threshold, split-width-threshold)
9404 (even-window-heights): Make obsolete.
9406 2011-06-12 Glenn Morris <rgm@gnu.org>
9408 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9409 Misc simplifications.
9411 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9413 * window.el (window-safely-shrinkable-p): Restore function which
9414 was inadvertently removed in change from 2011-06-11. Declare as
9417 * calendar/calendar.el (calendar-generate-window):
9418 Use window-iso-combined-p instead of combination of one-window-p and
9419 window-safely-shrinkable-p.
9421 2011-06-12 Glenn Morris <rgm@gnu.org>
9423 * progmodes/fortran.el (fortran-mode-syntax-table):
9424 * progmodes/f90.el (f90-mode-syntax-table):
9425 Set % to punctuation. (Bug#8820)
9426 (f90-find-tag-default): Remove, no longer needed.
9428 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9430 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9432 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9434 * image.el (image-animated-p): Return animation delay in seconds.
9435 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9436 (image-animate-timeout): Remove DELAY argument. Don't assume
9437 every subimage has the same delay; get it from image-animated-p.
9438 (image-animate): Caller changed.
9440 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9442 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9443 to ignored backtrace functions.
9445 2011-06-11 Glenn Morris <rgm@gnu.org>
9447 * calendar/appt.el (appt-disp-window-function): Doc fix.
9448 (appt-check): Handle overlapping appointments. (Bug#8337)
9450 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9452 * window.el (window-tree-1, window-tree): New functions, moving
9453 the latter to window.el.
9454 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9455 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9456 (bw-refresh-edges): Remove.
9457 (balance-windows-1, balance-windows-2): New functions.
9458 (balance-windows): Rewrite in terms of window tree functions,
9459 balance-windows-1 and balance-windows-2.
9460 (bw-adjust-window): Remove.
9461 (balance-windows-area-adjust): New function with functionality of
9462 bw-adjust-window but using resize-window.
9463 (set-window-text-height): Rewrite doc-string.
9464 Use normalize-live-window and resize-window.
9465 (enlarge-window-horizontally, shrink-window-horizontally):
9466 Rename argument to DELTA.
9467 (window-buffer-height): New function.
9468 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9469 Rewrite using new window resize routines.
9470 (kill-buffer-and-window, mouse-autoselect-window-select):
9471 Use ignore-errors instead of condition-case.
9472 (quit-window): Call delete-frame instead of delete-windows-on
9473 for the only buffer on frame.
9475 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9477 * loadup.el (top-level): Load window before files for the sake
9478 of replace-buffer-in-windows.
9480 * files.el (read-buffer-to-switch)
9481 (switch-to-buffer-other-window)
9482 (switch-to-buffer-other-frame, display-buffer-other-frame):
9485 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9486 (previous-buffer): Move to window.el.
9488 * bindings.el (unbury-buffer): Move to window.el.
9490 * window.el (delete-other-windows-vertically): Move after
9491 definition of delete-other-windows.
9492 (other-window, delete-windows-on, replace-buffer-in-windows):
9493 Move here from window.c.
9494 (record-window-buffer, unrecord-window-buffer)
9495 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9496 (switch-to-next-buffer): New functions.
9497 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9498 from simple.el. Call switch-to-next-buffer.
9499 (previous-buffer): Move here from simple.el.
9500 Call switch-to-prev-buffer.
9501 (bury-buffer): Move here from buffer.c. Switch to previous
9502 buffer when window cannot be deleted.
9503 (unbury-buffer): Move here from bindings.el.
9504 (ctl-x-map): Move binding for other-window from window.c to
9506 (read-buffer-to-switch, switch-to-buffer-other-window)
9507 (switch-to-buffer-other-frame): Move here from files.el.
9508 (normalize-buffer-to-switch-to): New functions.
9509 (switch-to-buffer): Move here from buffer.c.
9510 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9512 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9514 * window.el (window-min-height, window-min-width): Move here
9515 from window.c. Add defcustoms and rewrite doc-strings.
9516 (resize-mini-window, resize-window): New functions.
9517 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9518 Move here from window.c.
9519 (maximize-window, minimize-window): New functions.
9520 (delete-window, delete-other-windows, split-window): Move here
9522 (window-split-min-size): New function.
9523 (split-window-keep-point): Mention split-window-above-each-other
9524 instead of split-window-vertically.
9525 (split-window-above-each-other, split-window-vertically):
9526 Rename split-window-vertically to split-window-above-each-other
9527 and provide defalias for old definition.
9528 (split-window-side-by-side, split-window-horizontally):
9529 Rename split-window-horizontally to split-window-side-by-side
9530 and provide defalias for the old definition.
9531 (ctl-x-map): Move bindings for delete-window,
9532 delete-other-windows and enlarge-window here from window.c.
9533 Replace bindings for split-window-vertically and
9534 split-window-horizontally by bindings for
9535 split-window-above-each-other and split-window-side-by-side.
9537 * cus-start.el (all): Remove entries for window-min-height and
9538 window-min-width. Add entries for window-splits and
9541 2011-06-09 Glenn Morris <rgm@gnu.org>
9543 * calendar/appt.el (appt-mode-line): New function.
9544 (appt-check, appt-disp-window): Use it.
9546 * files.el (hack-one-local-variable-eval-safep):
9547 Allow minor-modes with explicit +/-1 arguments.
9549 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9551 * term/xterm.el (xterm): Add defgroup.
9552 (xterm-extra-capabilities): Add defcustom to supply known xterm
9553 capabilities, skip querying them, or query them (default).
9554 (terminal-init-xterm): Use it.
9555 (terminal-init-xterm-modify-other-keys): New function to set up
9556 modifyOtherKeys support to simplify `terminal-init-xterm'.
9558 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9560 * window.el (resize-window-reset, resize-window-reset-1)
9561 (resize-subwindows-skip-p, resize-subwindows-normal)
9562 (resize-subwindows, resize-other-windows, resize-this-window)
9563 (resize-root-window, resize-root-window-vertically)
9564 (window-deletable-p, window-or-subwindow-p)
9565 (frame-root-window-p): New functions.
9567 2011-06-09 Glenn Morris <rgm@gnu.org>
9569 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9570 (ange-ftp-get-files): Use it.
9572 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9574 * mail/sendmail.el (mail-recover-1, mail-recover):
9575 * files.el (recover-file, recover-session):
9576 Handle dired-listing-switches not being just a single short option.
9578 2011-06-09 Glenn Morris <rgm@gnu.org>
9580 * calendar/appt.el (appt-display-message, appt-disp-window):
9581 Handle lists of appointments.
9583 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9585 * window.el (one-window-p): Move down in code.
9587 (window-current-scroll-bars): Rewrite doc-string.
9588 Normalize live window argument.
9589 (walk-windows, get-window-with-predicate, count-windows):
9590 Rewrite doc-string. Use window-list-1.
9591 (window-in-direction-2, window-in-direction, get-mru-window):
9594 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9596 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9599 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9601 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9603 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9605 * loadhist.el (unload-feature-special-hooks):
9606 Add `comint-output-filter-functions'.
9608 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9610 * calendar/appt.el (appt-check): Move some initializations into the let.
9612 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9614 * window.el (window-height): Defalias to window-total-height.
9615 (window-width): Defalias to window-body-width.
9617 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9619 * image-mode.el (image-toggle-animation): New command.
9620 (image-mode-map): Bind it to RET.
9621 (image-mode): Update message.
9622 (image-toggle-display-image): Avoid a spurious cache flush.
9623 (image-transform-rotation): Doc fix.
9624 (image-transform-properties): Return quickly in the normal case.
9625 (image-animate-loop): Rename from image-animate-max-time.
9627 * image.el (image-animate-max-time): Move to image-mode.el.
9628 (create-animated-image): Remove unnecessary function.
9629 (image-animate): Rename from image-animate-start. New arg.
9630 (image-animate-stop): Remove; just use image-animate-timer.
9631 (image-animate-timer): Use car-safe.
9632 (image-animate-timeout): Rename argument.
9634 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9636 * window.el (get-lru-window, get-largest-window): Move here from
9637 window.c. Rename first argument to ALL-FRAMES.
9638 Rephrase doc-strings.
9639 (get-buffer-window-list): Rewrite using window-list-1.
9640 Rephrase doc-string.
9641 (window-safe-min-height, window-safe-min-width): New constants.
9642 (window-size-ignore, window-min-size, window-min-size-1)
9643 (window-sizable, window-sizable-p, window-size-fixed-1)
9644 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9645 (window-max-delta-1, window-max-delta, window-resizable)
9646 (window-resizable-p, window-total-height, window-total-width)
9647 (window-body-width): New functions.
9648 (window-full-height-p, window-full-width-p): Rewrite using
9650 (window-body-height): Rewrite using window-body-size.
9652 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9654 * window.el (window-right, window-left, window-child)
9655 (window-child-count, window-last-child, window-any-p)
9656 (normalize-live-buffer, normalize-live-frame)
9657 (normalize-any-window, normalize-live-window)
9658 (window-iso-combination-p, window-iso-combined-p)
9659 (window-iso-combinations)
9660 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9661 (windows-with-parameter, window-with-parameter)
9662 (window-atom-root, make-window-atom, window-atom-check-1)
9663 (window-atom-check, window-side-check, window-check):
9665 (ignore-window-parameters, window-sides, window-sides-vertical)
9666 (window-sides-slots): New variables.
9667 (window-size-fixed): Move down in code. Minor doc-string fix.
9669 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9671 * comint.el (comint-dynamic-complete-as-filename)
9672 (comint-dynamic-complete-filename): Correctly call
9673 completion-in-region.
9675 2011-06-05 Deniz Dogan <deniz@dogan.se>
9677 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9680 2011-06-05 Deniz Dogan <deniz@dogan.se>
9682 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9683 (rcirc): Use it to prompt for encryption.
9685 2011-06-05 Roland Winkler <winkler@gnu.org>
9687 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9688 (bibtex-search-entries): New command bound to C-c C-a.
9689 (bibtex-display-entries): New function.
9691 2011-06-05 Roland Winkler <winkler@gnu.org>
9693 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9694 (bibtex-insert-kill): After yanking insert newline if necessary.
9695 (bibtex-initialize): Call bibtex-string-files-init only once.
9696 (bibtex-mode): Do not call easy-menu-add.
9697 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9698 (bibtex-yank): Set arg properly if nil.
9700 2011-06-05 Roland Winkler <winkler@gnu.org>
9702 * textmodes/bibtex.el (bibtex-search-entry-globally):
9704 (bibtex-search-entry): Use it.
9706 2011-06-05 Roland Winkler <winkler@gnu.org>
9708 * textmodes/bibtex.el (bibtex-entry-format): New option
9710 (bibtex-format-entry, bibtex-reformat): Honor this option.
9711 (bibtex-parse-entry): Return fields in proper order.
9713 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9715 * doc-view.el (doc-view-remove-if): Move computation of result out
9716 of `dolist' to silence misleading lexical-binding warning.
9718 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9720 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9721 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9723 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9725 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9728 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9730 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9731 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9732 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9733 (tramp-parse-putty):
9734 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9735 (tramp-completion-function-alist-ssh)
9736 (tramp-completion-function-alist-telnet)
9737 (tramp-completion-function-alist-su)
9738 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9743 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9744 load "tramp.el" `tramp-set-completion-function'.
9746 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9748 * shell.el: Require and use pcomplete.
9749 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9750 (shell-completion-vars): Set pcomplete-default-completion-function.
9752 2011-06-04 Deniz Dogan <deniz@dogan.se>
9754 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9757 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9759 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9761 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9763 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9764 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9765 * vc/log-view.el (log-view-beginning-of-defun):
9766 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9767 (smerge-refine-forward, smerge-refine-chopup-region):
9768 Silence warning for unused `dotimes' counter variables.
9770 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9772 * net/tramp.el (tramp-with-progress-reporter): Rename from
9773 with-progress-reporter. Use `declare'.
9776 * net/tramp-gvfs.el: Update all uses.
9778 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9780 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9781 buffer isn't killed before making it current.
9783 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9785 Silence various byte-compiler warnings.
9786 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9787 `access-type' and new obsolescence format.
9788 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9790 (byte-compile-check-variable): New `access-type' argument.
9791 Only warn if the access-type is obsolete.
9792 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9793 (byte-compile-variable-set): Adjust callers.
9794 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9795 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9796 setting it as obsolete.
9797 * simple.el (minibuffer-completing-symbol):
9798 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9800 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9802 * international/quail.el (quail-mouse-choose-completion): Remove unused
9803 code referring to obsolete var.
9804 (quail-choose-completion-string): Remove.
9805 * server.el (server-clients-with, server-kill-buffer-query-function)
9806 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9807 * proced.el (proced-send-signal):
9808 * emacs-lisp/lisp.el (lisp-complete-symbol):
9809 Replace completion-annotate-function with completion-extra-properties.
9811 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9813 * simple.el (goto-line): Use read-number.
9814 (overriding-map-is-bound): Remove.
9815 (saved-overriding-map): Change default.
9816 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9817 Take the map as argument.
9818 (universal-argument, negative-argument, digit-argument): Use it.
9819 (restore-overriding-map): Adjust.
9820 (do-auto-fill): Use fill-forward-paragraph.
9821 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9823 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9824 (minibuffer-inactive-mode): New major mode.
9825 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9826 the *Messages* buffer" hack.
9827 (mouse-popup-menubar): Don't burp if the event is a normal key.
9829 Miscellaneous tweaks.
9830 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9831 lexical scoping as in subr.el's dolist and dotimes.
9832 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9833 Silence compiler warning.
9834 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9835 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9836 * international/ccl.el (ccl-compile): Trivial simplification.
9837 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9838 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9839 `printflag' argument.
9840 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9841 Purecopy the whole obsolescence data.
9843 2011-06-01 Leo Liu <sdl.web@gmail.com>
9845 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9846 improve doc-string as suggested by Marco Pessotto
9847 <melmothx@gmail.com>.
9848 (rcirc-print): Fix last change.
9850 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * minibuffer.el (complete-with-action): Return nil for the metadata and
9853 boundaries of non-functional tables.
9854 (completion-table-dynamic): Return nil for the metadata.
9855 (completion-table-with-terminator): Add default case, using
9856 complete-with-action.
9857 (completion--metadata): New function.
9858 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9859 to try and avoid pathological performance problems.
9860 (completion--embedded-envvar-table): Return `category' metadata.
9862 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864 * subr.el (process-alive-p): New tiny convenience function.
9866 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9869 content but also its previous major mode.
9871 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9873 * emacs-lisp/debug.el (debug): Restore the previous content of the
9874 *Backtrace* buffer when we exit with C-M-c.
9876 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9878 * minibuffer.el: Add metadata method to completion tables.
9879 (completion-category-overrides): New defcustom.
9880 (completion-metadata, completion--field-metadata)
9881 (completion-metadata-get, completion--styles)
9882 (completion--cycle-threshold): New functions.
9883 (completion-try-completion, completion-all-completions):
9884 Add `metadata' argument to choose completion-styles.
9885 (completion--do-completion): Use metadata to choose cycling.
9886 (completion-all-sorted-completions): Use metadata for sorting.
9887 Remove :completion-cycle-penalty which is not needed any more.
9888 (completion--try-word-completion): Add `metadata' argument.
9889 (minibuffer-completion-help): Check metadata for annotation function
9891 (completion-file-name-table): Return `category' metadata.
9892 (minibuffer-completing-file-name): Make obsolete.
9893 * simple.el (minibuffer-completing-symbol): Make obsolete.
9894 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9895 completion-try-completion.
9897 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9899 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9901 2011-05-30 Leo Liu <sdl.web@gmail.com>
9903 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9904 (rcirc-print): Decode all incoming messages (bug#8744).
9905 (rcirc-decode-coding-system): Allow value nil for automatic coding
9908 2011-06-01 Glenn Morris <rgm@gnu.org>
9910 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9912 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9914 * image.el (image-animate-max-time): Allow nil and t values.
9916 (create-animated-image): Doc fix.
9917 (image-animate-start): Remove second arg; just use
9918 image-animate-max-time.
9919 (image-animate-timeout): Doc fix. Args changed.
9921 * image-mode.el (image-toggle-display-image): Ensure that the
9922 image spec passed to the animate timer is the same object as in
9923 the buffer's display property (Bug#6981).
9924 (image-transform-properties): Doc fix.
9926 * image.el (image-animate-max-time): Default to nil.
9928 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9930 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9931 entire buffer list (Bug#8184).
9933 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9935 * image.el (imagemagick-types-inhibit)
9936 (imagemagick-register-types): Doc fix.
9938 2011-05-29 Deniz Dogan <deniz@dogan.se>
9940 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9943 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9945 * select.el: Don't perform clipboard-manager saving in hooks;
9946 leave the hooks empty.
9948 2011-05-28 Leo Liu <sdl.web@gmail.com>
9950 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9951 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9952 (occur-edit-mode): New major mode (Bug#8463).
9953 (occur-after-change-function): New function.
9954 (occur-engine): Give Occur tags a read-only property.
9956 2011-05-28 Kevin Ryde <user42@zip.com.au>
9958 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9960 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9962 * bindings.el (help-echo): Make the initial non-indicator dash
9963 empty on graphical terminals (Bug#7295).
9965 * files.el (auto-mode-alist): Move config rule after the
9966 in-stripping one (Bug#8547).
9968 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9970 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9973 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9975 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9976 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9979 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9981 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9983 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9985 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9986 (hs-hide-block-at-point, hs-find-block-beginning)
9987 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9990 2011-05-28 Glenn Morris <rgm@gnu.org>
9992 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9994 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9996 * help-fns.el (describe-function-1): If the function is a derived
9997 major mode, print the parent mode.
9999 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10000 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10002 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10004 * minibuffer.el (completion--capf-wrapper): Check applicability before
10005 returning non-nil for non-exclusive completion data.
10006 * progmodes/etags.el (tags-completion-at-point-function):
10007 * info-look.el (info-lookup-completions-at-point): Mark as
10009 (info-complete): Adjust accordingly.
10011 * info-look.el: Convert to lexical-binding and completion-at-point.
10012 (info-lookup-completions-at-point): New function.
10013 (info-complete): Use it and completion-in-region.
10015 2011-05-28 Drew Adams <drew.adams@oracle.com>
10017 * isearch.el: Let M-e start with point at the first mismatched char.
10018 (isearch-fail-pos): New function.
10019 (isearch-edit-string): Use it.
10021 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10023 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10025 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10027 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10028 traversal functions for avl-trees.
10029 (avl-tree--stack): New struct.
10030 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10031 (avl-tree-enter): Add optional `updatefun' arg.
10032 (avl-tree--do-enter): Add optional `updatefun' arg.
10033 Change return value.
10034 (avl-tree-delete): Add optional `test' and `nilflag' args.
10035 (avl-tree--do-delete): Add `test' and `nilflag' args.
10036 Change return value.
10037 (avl-tree-member): Add optional `nilflag'
10038 (avl-tree-member-p): New function.
10039 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10040 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10041 (avl-tree-stack-empty-p): New functions.
10043 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10044 avl-tree--del-balance1 and make it work both ways.
10045 (avl-tree--del-balance2): Remove.
10046 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10047 make it work both ways.
10048 (avl-tree--enter-balance2): Remove.
10049 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10051 (avl-tree--mapc, avl-tree-map): Add direction argument.
10053 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10055 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10057 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10059 * select.el: Support clipboard managers with built-in function
10060 x-clipboard-manager-save, via delete-frame-functions and
10062 (xselect-convert-to-targets): Add MULTIPLE target to list.
10063 (xselect-convert-to-save-targets): New function.
10065 2011-05-27 Kenichi Handa <handa@m17n.org>
10067 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10068 let-binding rfc2047-encode-encoded-words to nil.
10070 2011-05-27 Glenn Morris <rgm@gnu.org>
10072 * mail/emacsbug.el: Don't require url-util.
10074 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10076 * files.el (set-auto-mode):
10077 Also respect mode: entries at the end of the file. (Bug#8586)
10079 2011-05-26 Glenn Morris <rgm@gnu.org>
10081 * files.el (hack-local-variables-prop-line, hack-local-variables):
10082 Downcase mode names, as seems to be traditional.
10083 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10085 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10086 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10088 2011-05-25 Julien Danjou <julien@danjou.info>
10090 * textmodes/rst.el (rst-define-level-faces): Do not define face
10091 symbol if it is already defined.
10093 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10095 * play/5x5.el (5x5-new-game, 5x5-randomize):
10096 Reset 5x5-solver-output to nil when a new grid is cast.
10097 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10098 these debugging traces, as defmacro breaks the compiled code.
10100 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10102 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10104 2011-05-24 Leo Liu <sdl.web@gmail.com>
10106 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10107 (vc-bzr-sha1): Adapt.
10109 * sha1.el: Remove. Function `sha1' is now builtin.
10111 * bindings.el: Provide sha1 feature.
10113 2011-05-24 Kenichi Handa <handa@m17n.org>
10115 * mail/sendmail.el: Require `rfc2047'.
10116 (mail-insert-from-field): Do not perform RFC2047 encoding.
10117 (mail-encode-header): New function.
10118 (sendmail-send-it): Set buffer-file-coding-system of the work
10119 buffer to the return value of select-message-coding-system.
10120 Call mail-encode-header.
10122 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10124 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10126 * mail/supercite.el (sc-default-cite-frame):
10127 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10129 2011-05-24 Glenn Morris <rgm@gnu.org>
10131 * progmodes/python.el (brm-menu): Declare.
10133 * emulation/viper.el (viper-set-hooks): Declare.
10135 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10136 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10137 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10138 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10139 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10140 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10142 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10144 Add an :exit-function for completion-at-point.
10146 * minibuffer.el (completion--done): New fun.
10147 (completion--do-completion): Use it. New arg `expect-exact'.
10148 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10149 since completion--do-completion does it for us now.
10150 (minibuffer-force-complete): Use completion--done and
10151 completion--replace. Handle sole-completion case with more care.
10152 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10153 (completion-extra-properties): New var.
10154 (completion-annotate-function): Make obsolete.
10155 (minibuffer-completion-help): Adjust accordingly.
10156 Use completion-list-insert-choice-function.
10157 (completion-at-point, completion-help-at-point):
10158 Bind completion-extra-properties.
10159 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10160 * simple.el (completion-list-insert-choice-function): New var.
10161 (completion-setup-function): Preserve it.
10162 (choose-completion): Pay attention to it, shuffle the code a bit.
10163 (choose-completion-string): New arg `insert-function'.
10165 * textmodes/bibtex.el: Convert to lexical binding.
10166 (bibtex-mode-map): Use completion-at-point.
10167 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10168 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10169 (bibtex-complete): Define as obsolete alias.
10170 (bibtex-complete-internal): Remove.
10171 (bibtex-format-entry): Remove unused sub-group in regexp.
10172 * shell.el (shell--command-completion-data)
10173 (shell-environment-variable-completion):
10174 * pcomplete.el (pcomplete-completions-at-point):
10175 * comint.el (comint--complete-file-name-data): Use :exit-function
10176 instead of completion-table-with-terminator so it also works for
10179 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10181 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10183 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10186 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10188 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10190 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10191 customization variable and implement: If non-nil, auto-fill will
10192 be inhibited while on topic's header line.
10194 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10196 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10197 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10198 always have a solution in grid size = 5 cases.
10199 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10200 (5x5-solver-output, 5x5-log-buffer): New vars.
10201 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10202 Make these variables buffer local to achieve 5x5 multi-session-ness.
10203 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10204 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10205 (5x5-solve-suggest): New funs.
10206 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10207 randomize a grid so that we ensure that there is always a solution.
10208 (5x5-make-random-grid): Allow other movement than flipping.
10210 2011-05-23 Kevin Ryde <user42@zip.com.au>
10212 * emacs-lisp/advice.el (ad-read-advised-function):
10213 Use `function-called-at-point' as the default, if it has
10214 advice and passes PREDICATE.
10216 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10219 byte-compile-lambda if it's actually a lambda.
10221 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10222 Fix function quoting. Use backquote better.
10224 2011-05-22 Yuanle Song <sylecn@gmail.com>
10226 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10227 matching (Bug#8516).
10229 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10231 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10232 different face (Bug#8178).
10234 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10236 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10237 defface (Bug#8144).
10239 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10242 funcall as well (bug#8712). Warn when performing those conversions.
10243 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10245 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10247 2011-05-22 Glenn Morris <rgm@gnu.org>
10249 * files.el (hack-local-variables-prop-line): Small simplifications.
10250 (hack-local-variables, hack-local-variables-prop-line):
10251 If MODE-ONLY, return the mode, rather than just `t'.
10253 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10257 2011-05-21 Glenn Morris <rgm@gnu.org>
10259 * files.el (hack-local-variables-prop-line, hack-local-variables):
10260 If only interested in the mode, don't bother doing the other stuff.
10262 * image-mode.el (image-after-revert-hook):
10263 Redraw all frames on which the image is visible. (Bug#8567)
10265 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10267 * wid-edit.el (widget-checklist-match-inline):
10268 Fix 2011-04-19 change. (Bug#8649)
10270 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10272 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10273 Also allow singlespace after single-letter capitals followed by a dot.
10275 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10276 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10278 2011-05-20 Nix <nix@esperi.org.uk>
10280 * files.el (basic-save-buffer-2):
10281 Fix handling of break-hardlink-on-save with non-existent files.
10283 2011-05-19 Deniz Dogan <deniz@dogan.se>
10285 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10286 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10288 2011-05-19 Glenn Morris <rgm@gnu.org>
10290 * progmodes/f90.el (f90-type-def-re):
10291 Handle "type, bind(c)". (Bug#8691)
10293 * emacs-lisp/autoload.el (batch-update-autoloads):
10294 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10296 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10298 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10299 property for the correct connection in case of multihops.
10301 2011-05-18 Glenn Morris <rgm@gnu.org>
10303 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10304 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10306 Rationalize calendar handling of day and month abbrev-arrays.
10307 * calendar/calendar.el (calendar-customized-p): New function.
10308 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10309 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10311 (calendar-abbrev-length, calendar-day-abbrev-array)
10312 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10313 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10314 Elements may no longer be nil.
10315 (calendar-day-name, calendar-month-name):
10316 Update for changed nature of abbrev arrays.
10317 * calendar/diary-lib.el (diary-name-pattern):
10318 Update for changed nature of abbrev arrays.
10319 (diary-mark-entries-1): Update calendar-make-alist calls.
10320 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10321 * calendar/cal-html.el (cal-html-day-abbrev-array):
10322 Simply inherit from calendar-day-abbrev-array.
10324 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10326 * progmodes/grep.el (grep-mode): Disable default
10327 compilation-directory-matcher setting (bug#8684).
10329 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10331 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10332 instead of "head" and "tail". There were problems with SunOS 5.9,
10333 and it performs better.
10335 2011-05-17 Glenn Morris <rgm@gnu.org>
10337 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10339 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10340 Replace obsolete function.
10342 * shell.el (pcomplete-parse-arguments-function): Declare.
10344 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10345 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10346 (appt-check): Doc fixes.
10347 (appt-disp-window-function, appt-delete-window-function):
10348 Remove needless special case in custom :type.
10349 (appt-display-count): Default to 0, not nil.
10350 (appt-check): Reset appt-display-count to 0, not nil.
10352 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10354 * progmodes/python.el (python-font-lock-keywords):
10355 Add the Python 3.X keyword "nonlocal" (bug#8639).
10357 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10361 2011-05-16 Kevin Ryde <user42@zip.com.au>
10363 * info-look.el (makefile-automake-mode): New setups, looking in
10364 automake manual, then makefile-mode.
10365 (makefile-mode): Remove automake manual, have it just in
10366 makefile-automake-mode since there's various things different or
10367 not relevant to plain make.
10368 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10369 believe a hypothetical automake-mode would go to makefile-mode,
10370 not the other way around.
10372 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10374 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10375 hunk-end tags (Bug#8672).
10377 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10378 vc-annotate-show-diff-revision-at-line (Bug#8671).
10380 2011-05-14 Glenn Morris <rgm@gnu.org>
10382 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10383 in the middle of an existing one with multiple authors. (Bug#8645)
10384 (change-log-font-lock-keywords): Also handle multiple author lines
10385 with leading tabs. (Bug#8644)
10387 * calendar/appt.el (appt-check): Rename some local variables.
10388 Some simplification/reordering.
10390 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10391 (feedmail-sendmail-f-doesnt-sell-me-out)
10392 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10393 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10394 (feedmail-queue-runner-message-sender): Set :version.
10395 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10396 (bbdb-dwim-net-address, vm-mail): Declare.
10397 (feedmail-binmail-gnulinuxish-template):
10398 Rename from feedmail-binmail-linuxish-template.
10399 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10400 Use insert-buffer-substring.
10402 2011-05-14 Bill Carpenter <bill@carpenter.org>
10404 * mail/feedmail.el (feedmail-patch-level): Increase.
10405 (feedmail-debug): New custom group.
10406 (feedmail-confirm-outgoing-timeout)
10407 (feedmail-sendmail-f-doesnt-sell-me-out)
10408 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10409 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10410 (feedmail-sender-line, feedmail-from-line)
10411 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10412 (feedmail-spray-this-address)
10413 (feedmail-spray-address-fiddle-plex-list)
10414 (feedmail-queue-use-send-time-for-date)
10415 (feedmail-queue-use-send-time-for-message-id)
10416 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10417 (feedmail-buffer-eating-function):
10419 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10420 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10421 (feedmail-message-action-scroll-down): New functions.
10422 (feedmail-queue-directory, feedmail-queue-draft-directory):
10423 Use expand-file-name.
10424 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10425 Remove C-v help entry.
10426 (feedmail-queue-buffer-file-name): New variable.
10427 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10428 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10429 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10430 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10431 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10432 (feedmail-message-action-toggle-spray)
10433 (feedmail-run-the-queue-no-prompts)
10434 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10435 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10436 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10437 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10438 (feedmail-envelope-deducer, feedmail-fiddle-from)
10439 (feedmail-fiddle-sender, feedmail-default-date-generator)
10440 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10441 (feedmail-fiddle-spray-address)
10442 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10443 (feedmail-fiddle-list-of-fiddle-plexes)
10444 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10445 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10446 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10447 Change default. Doc fix.
10448 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10449 (feedmail-binmail-linuxish-template): New constant.
10450 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10451 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10452 (feedmail-send-it): Add debug call.
10453 Use feedmail-queue-buffer-file-name, and
10454 feedmail-send-it-immediately-wrapper.
10455 (feedmail-message-action-send): Add debug call.
10456 Use feedmail-send-it-immediately-wrapper.
10457 (feedmail-queue-express-to-queue): Add debug call.
10458 Run feedmail-queue-express-hook.
10459 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10460 (feedmail-message-action-help-blat):
10461 Rename from feedmail-queue-send-edit-prompt-help-first.
10462 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10463 Check line-endings. Handle errors better.
10464 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10465 Doc fix. Add debug call.
10466 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10467 Use feedmail-queue-send-edit-prompt-inner.
10468 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10469 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10470 from feedmail-queue-send-edit-prompt.
10471 (feedmail-queue-send-edit-prompt-help)
10472 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10473 (feedmail-tidy-up-slug): Add debug call.
10474 Respect feedmail-queue-slug-suspect-regexp.
10475 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10476 (feedmail-dump-message-to-queue): Add debug call.
10477 Expand queue-directory.
10478 (feedmail-dump-message-to-queue): Change message slightly.
10479 Use feedmail-say-chatter.
10480 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10481 (feedmail-send-it-immediately-wrapper): New function.
10482 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10483 Insert empty string rather than newline. Handle full-frame case.
10484 Use catch/throw. Use feedmail-say-chatter.
10485 (feedmail-fiddle-from): Try mail-host-address.
10486 (feedmail-default-message-id-generator): Doc fix.
10487 Bind system-time-locale. Handle missing end.
10488 (feedmail-fiddle-x-mailer): Add debug call.
10489 Handle feedmail-x-mailer-line being nil.
10490 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10491 Add debug call. Use buffer-substring-no-properties.
10492 (feedmail-say-debug, feedmail-say-chatter): New functions.
10493 (feedmail-find-eoh): Give an explicit error.
10495 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10497 * net/newst-treeview.el (newsticker-treeview-face): Change default
10498 family from helvetica to sans.
10499 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10500 etc/images/newsticker.
10502 * net/newst-reader.el (newsticker-feed-face): Change default
10503 family from helvetica to sans.
10505 * net/newst-plainview.el (newsticker-new-item-face)
10506 (newsticker-old-item-face, newsticker-immortal-item-face)
10507 (newsticker-obsolete-item-face, newsticker-date-face)
10508 (newsticker-statistics-face): Change default family from
10510 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10511 etc/images/newsticker.
10513 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10514 (newsticker--process-auto-mark-filter-match): : Tell user about
10517 2011-05-13 Didier Verna <didier@xemacs.org>
10519 Common Lisp indentation improvements on defmethod and lambda-lists.
10520 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10522 (lisp-lambda-list-keyword-parameter-indentation)
10523 (lisp-lambda-list-keyword-parameter-alignment)
10524 (lisp-lambda-list-keyword-alignment): New customizable user options.
10525 (lisp-indent-defun-method): Improve docstring.
10526 (extended-loop-p): Fix comment.
10527 (lisp-indent-lambda-list-keywords-regexp): New variable.
10528 (lisp-indent-lambda-list): New function.
10529 (lisp-indent-259): Use it.
10530 (lisp-indent-defmethod): Support for more than one
10531 method qualifier and properly indent methods lambda-lists.
10532 (defgeneric): Provide a missing common-lisp-indent-function property.
10534 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10537 bounds for the empty string (bug#8667).
10539 2011-05-13 Glenn Morris <rgm@gnu.org>
10541 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10543 * mail/sendmail.el (sendmail-program): Try executable-find first.
10544 (sendmail-send-it): `sendmail-program' cannot be unbound.
10546 * calendar/appt.el (appt-make-list): Simplify.
10547 (appt-time-msg-list): Doc fix.
10548 (appt-check): Change mode-line message at the time of the appointment.
10550 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10552 * progmodes/ld-script.el (ld-script-keywords)
10553 (ld-script-builtins): Update keywords list.
10555 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10557 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10559 * shell.el (shell-completion-vars): New function.
10561 * simple.el (read-shell-command): Use it.
10562 (blink-matching-open): No need for " [...]" in minibuffer-message.
10564 2011-05-12 Glenn Morris <rgm@gnu.org>
10566 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10567 (appt-check): Simplify.
10569 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10571 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10572 literal "/dev/null".
10574 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10579 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10581 * progmodes/which-func.el (which-function):
10582 Use add-log-current-defun instead of add-log-current-defun-function,
10583 which might not be defined (Bug#8260).
10585 2011-05-12 Glenn Morris <rgm@gnu.org>
10587 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10588 Let byte-compile-initial-macro-environment always take precedence.
10590 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * net/rcirc.el: Add support for SSL/TLS connections.
10593 (rcirc-server-alist): New field `encryption'.
10594 (rcirc): Check `encryption' settings.
10595 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10596 Merge make-local-variable into `set'.
10597 (rcirc--connection-open-p): New function.
10598 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10599 the process is not a network process (e.g. running gnutls-cli).
10600 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10601 Make rcirc-(en|de)code-coding-system local here.
10602 (rcirc-mode): Merge make-local-variable into `set'.
10603 (rcirc-parent-buffer): Make permanent buffer-local.
10604 (rcirc-multiline-minor-mode): Don't do it here.
10605 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10606 there's no server buffer.
10608 2011-05-11 Glenn Morris <rgm@gnu.org>
10610 * newcomment.el (comment-kill): Prefix "unused" local.
10612 * term/w32console.el (get-screen-color): Declare.
10614 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10615 Handle symbol elements of byte-compile-initial-macro-environment.
10617 2011-05-10 Leo Liu <sdl.web@gmail.com>
10619 * bookmark.el (bookmark-bmenu-mode-map):
10620 Bind bookmark-bmenu-search to `/'.
10622 * mail/footnote.el: Convert to utf-8 encoding.
10623 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10624 (Footnote-unicode): New function.
10625 (footnote-style-alist): Add unicode style to the list.
10626 (footnote-style): Doc fix.
10628 2011-05-10 Jim Meyering <meyering@redhat.com>
10630 Fix doubled-word typos.
10631 * international/quail.el (quail-insert-kbd-layout): and and -> and
10632 * kermit.el: and and -> and
10633 * net/ldap.el (ldap-search-internal): to to -> to
10634 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10635 * progmodes/js.el (js-mode): and and -> and
10636 * textmodes/artist.el (artist-move-to-xy): at at -> at
10637 (artist-draw-region-trim-line-endings): if if -> if
10638 And Safetyc -> Safety.
10639 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10641 2011-05-10 Glenn Morris <rgm@gnu.org>
10642 Stefan Monnier <monnier@iro.umontreal.ca>
10644 * files.el (hack-one-local-variable-eval-safep):
10645 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10647 2011-05-10 Glenn Morris <rgm@gnu.org>
10649 * calendar/diary-lib.el (diary-list-entries-hook)
10650 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10651 (diary-nongregorian-marking-hook, diary-list-entries)
10652 (diary-include-other-diary-files, diary-mark-entries)
10653 (diary-mark-included-diary-files): Doc fixes.
10655 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10657 * misc.el: Require tabulated-list.el during compilation.
10659 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10661 * progmodes/compile.el (compilation-start):
10662 Run compilation-filter-hook for the async case too.
10663 (compilation-filter-hook): Doc fix.
10665 2011-05-09 Deniz Dogan <deniz@dogan.se>
10667 * wdired.el: Remove outdated installation comment. Fix usage
10670 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10672 * misc.el: Implement new command `list-dynamic-libraries'.
10673 (list-dynamic-libraries--loaded-only-p): New variable.
10674 (list-dynamic-libraries--refresh): New function.
10675 (list-dynamic-libraries): New command.
10677 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10680 Fix the ant regexp to handle end-line and end-column info from jikes.
10681 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10682 higher priority to avoid clobbering by gnu.
10684 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10686 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10687 if the face has existing theme settings (Bug#8454).
10689 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10691 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10692 Only match variables declared via `my' or `our' (Bug#8261).
10694 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10695 special file names `.' and `..' (Bug#8259).
10697 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10699 * progmodes/grep.el (grep-mode-font-lock-keywords):
10700 Remove buffer-changing entries.
10701 (grep-filter): New function.
10702 (grep-mode): Add it to compilation-filter-hook.
10704 * progmodes/compile.el (compilation-filter-hook)
10705 (compilation-filter-start): New defvars.
10706 (compilation-filter): Call compilation-filter-hook prior to
10707 updating the process mark.
10709 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10711 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10713 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10715 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10716 mailclient-send-it even if window-system is nil. (Bug#8595)
10718 * term/w32console.el (terminal-init-w32console):
10719 Call get-screen-color and use its output to set the frame
10720 background-mode. (Bug#8597)
10722 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10724 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10725 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10727 (defgeneric, eieio--defmethod): Use them.
10728 (eieio-defgeneric): Remove.
10729 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10731 2011-05-07 Glenn Morris <rgm@gnu.org>
10733 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10734 Use let rather than let*.
10735 (timeclock-find-discrep): Remove unused local.
10737 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10739 * calendar/appt.el (appt-time-msg-list): Doc fix.
10741 2011-05-06 Noah Friedman <friedman@splode.com>
10743 * apropos.el (apropos-print-doc): Only use
10744 emacs-lisp-docstring-fill-column when it is bound to an integer,
10745 per that variable's documentation.
10747 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10749 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10750 and warnings are not silently discarded (e.g. use -d instead of -P).
10752 2011-05-06 Glenn Morris <rgm@gnu.org>
10754 * calendar/appt.el (appt-message-warning-time): Doc fix.
10755 (appt-warning-time-regexp): New option.
10756 (appt-make-list): Respect appt-message-warning-time.
10758 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10760 (diary-add-to-list): Strip comments from the displayed string.
10761 (diary-mode): Set comment-start and comment-end.
10763 * vc/diff-mode.el (smerge-refine-subst): Declare.
10764 (diff-refine-hunk): Don't require smerge-mode when compiling.
10766 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10768 * simple.el (list-processes): Return nil as the docstring says.
10770 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10772 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10774 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10775 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10776 determining of binary transfer. (Bug#7383)
10778 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10781 Fix port computation bug. (Bug#8618)
10783 2011-05-05 Glenn Morris <rgm@gnu.org>
10785 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10787 * simple.el (shell-dynamic-complete-functions)
10788 (comint-dynamic-complete-functions): Declare.
10790 * net/network-stream.el (gnutls-negotiate):
10791 * simple.el (tabulated-list-print): Fix declarations.
10793 * progmodes/gud.el (syntax-symbol, syntax-point):
10794 Remove unnecessary and incorrect declarations.
10796 * emacs-lisp/check-declare.el (check-declare-scan):
10797 Handle byte-compile-initial-macro-environment in bytecomp.el
10799 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10801 Fix earlier half-done eieio-defmethod change (bug#8338).
10802 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10803 Streamline and change calling convention.
10804 (defmethod): Adjust accordingly and simplify.
10805 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10806 new eieio--defmethod.
10807 (slot-boundp): Minor CSE simplification.
10809 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10811 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10812 (glasses-make-readable): Use glasses-separate-capital-groups.
10814 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10816 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10817 (warning-series): Doc fix.
10818 (display-warning): Don't try to create the buffer if we just found it.
10820 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10822 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10823 (autoload-find-generated-file): New function.
10824 (generate-file-autoloads): Bind generated-autoload-file to
10826 (update-file-autoloads, update-directory-autoloads):
10827 Use autoload-find-generated-file. If called interactively, prompt for
10828 output file (Bug#7989).
10829 (batch-update-autoloads): Doc fix.
10831 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10833 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10835 2011-05-04 Glenn Morris <rgm@gnu.org>
10837 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10838 function, so it follows changes in calendar-date-style.
10839 (diary-fancy-date-matcher): New function.
10840 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10841 (diary-fancy-font-lock-fontify-region-function):
10842 Use diary-fancy-date-pattern as a function.
10844 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10845 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10847 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10849 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10850 instead of positional arguments. Allow :keylist and :crlfiles
10852 (open-gnutls-stream): Call it.
10854 * net/network-stream.el (network-stream-open-starttls): Adjust to
10855 call `gnutls-negotiate' with :process and :hostname arguments.
10857 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * minibuffer.el (completion--message): New function.
10860 (completion--do-completion, minibuffer-complete)
10861 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10862 (completion--do-completion): Don't ignore completion-auto-help when in
10865 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10866 internal encoding (e.g. tibetan zero is not whitespace).
10867 (global-whitespace-mode): Prefer save-current-buffer.
10868 (whitespace-trailing-regexp): Remove useless save-match-data.
10869 (whitespace-empty-at-bob-regexp): Minor simplification.
10871 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10873 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10875 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10877 * textmodes/ispell.el (ispell-add-per-file-word-list):
10878 Use `concat' to create string for insertion.
10880 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10883 Avoid open-line which runs post-self-insert-hook.
10884 (bibtex-fill-entry): Remove unused `end' var.
10886 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10888 * textmodes/ispell.el (ispell-add-per-file-word-list):
10889 Protect against `nil' value of `comment-start' (Bug#8579).
10891 2011-05-03 Leo Liu <sdl.web@gmail.com>
10893 * isearch.el (isearch-yank-pop): New command.
10894 (isearch-mode-map): Bind it to `M-y'.
10895 (isearch-forward): Mention it.
10897 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * simple.el (minibuffer-complete-shell-command): Remove.
10900 (minibuffer-local-shell-command-map): Use completion-at-point.
10901 (read-shell-command): Setup completion vars here instead.
10902 (read-expression-map): Bind TAB to symbol completion.
10904 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10905 error directly rather via storing it into `results'.
10907 2011-05-02 Leo Liu <sdl.web@gmail.com>
10909 * vc/diff.el: Fix description.
10911 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10913 * server.el (server-eval-at): New function.
10915 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10917 * net/network-stream.el (open-network-stream): Take a :nowait
10918 parameter and pass it on to `make-network-process'.
10919 (network-stream-open-plain): Ditto.
10921 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10923 * faces.el (face-spec-set-match-display): Don't match toolkit
10924 options on terminal frames.
10926 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10928 * progmodes/pascal.el: Use lexical binding.
10929 (pascal-mode-map): Remove author preferences.
10931 * pcomplete.el (pcomplete-std-complete): Don't abuse
10932 completion-at-point.
10934 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10936 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10937 removing code that has been dead since 1991 or so.
10939 * startup.el (command-line): When warning about "_emacs", use a
10940 delayed warning to allow the user to filter it out.
10942 2011-04-28 Deniz Dogan <deniz@dogan.se>
10944 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10945 user has not joined.
10947 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10950 aren't any completions at point.
10952 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10954 * subr.el (display-delayed-warnings): New function.
10955 (delayed-warnings-hook): New variable.
10957 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * minibuffer.el (completion-at-point, completion-help-at-point):
10960 Don't presume that a given completion-at-point-function will always
10961 use the same calling convention.
10963 * pcomplete.el (pcomplete-completions-at-point):
10964 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10965 pcomplete-seen is non-nil.
10966 (pcomplete-comint-setup): Also recognize the new comint/shell
10967 completion functions.
10968 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10969 pcomplete-seen is non-nil.
10971 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10973 * calendar/icalendar.el (diary-lib): Add require statement.
10974 (icalendar--create-uid): Read out a uid from a text-property on
10975 the first character in the entry. This allows for code to add its
10976 own uid to the entry.
10977 (icalendar--convert-float-to-ical): Add export of
10978 `diary-float'-entries save for those with the optional DAY
10981 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10983 * subr.el (shell-quote-argument): Use alternate escaping strategy
10984 when we spot a variable reference in a string.
10986 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10988 * cus-start.el (all): Define customization for debug-on-event.
10990 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10992 * subr.el (shell-quote-argument): Escape correctly under Windows.
10994 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10998 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11000 * net/tramp.el (tramp-process-actions): Add POS argument.
11001 Delete region between POS and (pos).
11003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11004 Use `nil' position in `tramp-process-actions' call.
11005 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11007 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11008 position in `tramp-process-actions' call.
11010 * net/trampver.el: Update release number.
11012 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11014 * custom.el (defcustom): Obey lexical-binding.
11016 Fix octave-inf completion problems reported by Alexander Klimov.
11017 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11018 Inherit from octave-mode-syntax-table.
11019 (inferior-octave-mode): Set info-lookup-mode.
11020 (inferior-octave-completion-at-point): New function.
11021 (inferior-octave-complete): Use it and completion-in-region.
11022 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11023 comint-filename-completion.
11024 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11025 symbol elements which shouldn't be word elements.
11026 (octave-font-lock-keywords, octave-beginning-of-defun)
11027 (octave-function-header-regexp): Adjust regexps accordingly.
11028 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11030 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11032 * net/gnutls.el (gnutls-errorp): Declare before first use.
11034 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11036 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11037 verify-error, and verify-hostname-error parameters. Check whether
11038 default trustfile exists before going to use it. Add missing
11039 argument to gnutls-message-maybe call. Return value.
11040 Reported by Claudio Bley <claudio.bley@gmail.com>.
11041 (open-gnutls-stream): Add usage example.
11043 * net/network-stream.el (network-stream-open-starttls): Give host
11044 parameter to `gnutls-negotiate'.
11045 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11046 * subr.el (shell-quote-argument): Escape correctly under Windows.
11048 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11051 Use correct match group (bug#8438).
11053 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11055 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11056 (package-menu--generate): New arg specifying packages to show.
11057 (package-menu-refresh, package-menu-execute, list-packages):
11059 (package-show-package-list): New function, replacing deleted
11060 package--list-packages (renamed because it is non-internal).
11062 * finder.el (finder-list-matches): Use package-show-package-list
11063 instead of deleted package--list-packages.
11065 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11066 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11067 (vc-annotate-mode-map): Bind it to RET.
11069 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11071 * progmodes/etags.el (next-file): Don't use set-buffer to change
11072 buffers (Bug#8478).
11074 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11076 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11078 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11079 (apropos-accumulator): Doc fix.
11080 (apropos-function, apropos-macro, apropos-command)
11081 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11082 (apropos-plist): Add face property.
11083 (apropos-symbols-internal): Fix indentation.
11084 (apropos-print): Simplify help, and recognize apropos-multi-type.
11085 (apropos-print-doc): Use button-type-get to extract the button's
11086 face property. Fill docstring (Bug#8352).
11088 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11090 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11092 * play/mpuz.el (mpuz-silent): Doc fix.
11093 (mpuz-mode-map): Use mapc.
11094 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11095 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11096 Fix typos in docstrings.
11098 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11099 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11101 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11103 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11105 * minibuffer.el (completion--do-completion): Avoid the "Next char
11106 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11108 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11109 mouse-2 into unread-command-events, it is interpreted correctly.
11111 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11112 (image-toggle-display): Doc fix.
11114 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11116 * textmodes/page.el (what-page): Use line-number-at-pos to
11117 calculate line number (Bug#6825).
11119 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11121 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11122 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11123 Pass argument NO-DEFAULT to `find-tag-interactive'.
11125 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11127 Lexical-binding cleanup.
11129 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11130 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11131 * progmodes/ada-prj.el (ada-prj-initialize-values)
11132 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11133 (ada-prj-show-value):
11134 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11135 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11136 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11137 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11138 * progmodes/bug-reference.el (bug-reference-push-button):
11139 * progmodes/fortran.el (fortran-line-length):
11140 * progmodes/glasses.el (glasses-change):
11141 * progmodes/octave-mod.el (octave-fill-paragraph):
11142 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11143 (python-pdbtrack-grub-for-buffer, python-sentinel):
11144 * progmodes/sql.el (sql-save-connection):
11145 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11146 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11147 Mark unused parameters.
11149 * progmodes/compile.el (compilation--flush-directory-cache)
11150 (compilation--flush-parse, compile-internal): Mark unused parameters.
11151 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11152 (compilation-next-error-function): Remove unused variable `timestamp'.
11154 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11155 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11157 * progmodes/dcl-mode.el (dcl-end-of-command):
11158 Remove unused variable `start'.
11159 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11160 (dcl-option-value-basic, dcl-option-value-offset)
11161 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11162 Mark unused parameters.
11163 (dcl-save-local-variable): Remove unused variable `val'.
11166 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11167 Mark unused parameters.
11168 (delphi-ignore-changes): Move before first use.
11169 (delphi-charset-token-at): Remove unused variable `start'.
11170 (delphi-else-start): Remove unused variable `if-count'.
11171 (delphi-comment-block-start, delphi-comment-block-end):
11172 Remove unused variable `kind'.
11173 (delphi-indent-line): Remove unused variable `new-point'.
11175 * progmodes/ebrowse.el (ebrowse-files-list)
11176 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11177 Mark unused parameters. Don't quote `lambda'.
11178 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11179 Don't quote `lambda'.
11180 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11181 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11182 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11183 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11184 Use `ignore-errors'.
11185 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11186 (ebrowse-view/find-file-and-search-pattern)
11187 (ebrowse-view/find-member-declaration/definition):
11188 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11189 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11190 Rename parameter PREFIX-ARG to PREFIX.
11191 (ebrowse-tags-read-name): Remove unused variables `start' and
11193 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11196 * progmodes/etags.el (local-find-tag-hook): Declare.
11197 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11198 Mark unused parameters.
11200 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11201 (executable-interpret): Mark unused parameter.
11203 * progmodes/flymake.el (flymake-process-sentinel)
11204 (flymake-after-change-function)
11205 (flymake-create-temp-with-folder-structure)
11206 (flymake-get-include-dirs-dot): Mark unused parameters.
11207 (flymake-safe-delete-directory): Remove unused variable `err'.
11209 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11210 (speedbar-timer-fn, speedbar-line-text)
11211 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11212 (speedbar-center-buffer-smartly): Declare functions.
11213 (gdb-find-watch-expression): Remove unused variable `array'.
11214 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11215 (gdb-starting): Mark unused parameters.
11216 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11217 (gdb-table-string): Remove unused variable `res'.
11218 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11219 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11220 (gdb-display-buffer): Remove unused variable `cur-size'.
11222 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11223 allow lexical-binding compilation.
11224 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11225 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11226 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11227 Mark unused parameters.
11228 (gud-gdb-marker-filter): Remove unused variable `match'.
11229 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11230 lambda expressions and funcall them, instead of using `fset'.
11232 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11233 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11235 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11236 variable `header-beg'; use `let'.
11238 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11239 `restart', `last-sexp' and `at-do'.
11241 * progmodes/js.el (js--debug): Mark unused parameter.
11242 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11243 (js--splice-into-items): Remove unused variable `item'.
11244 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11246 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11247 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11248 (makefile-complete): Remove unused variable `try'.
11249 (makefile-fill-paragraph, makefile-match-function-end):
11250 Mark unused parameters.
11252 * progmodes/octave-inf.el (inferior-octave-complete):
11253 Remove unused variable `proc'.
11254 (inferior-octave-output-digest): Mark unused parameter.
11256 * progmodes/perl-mode.el (perl-calculate-indent):
11257 Remove unused variable `err'.
11259 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11260 (prolog-indent-line): Mark unused parameters.
11261 (prolog-indent-line): Remove unused variable `beg'.
11263 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11264 (reporter-dont-compact-list): Declare.
11266 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11267 Remove unused variable `char'.
11268 (sh-debug): Mark unused parameter.
11269 (sh-get-indent-info): Remove unused variable `start'.
11270 (sh-calculate-indent): Remove unused variable `var'.
11272 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11273 (simula-electric-keyword): Remove unused variable `null'.
11274 (simula-search-backward, simula-search-forward): Remove unused
11275 variables `begin' and `end'.
11277 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11278 Remove unused variable `pos'.
11279 (vera-electric-tab, vera-comment-uncomment-region):
11280 Mark unused parameters.
11281 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11283 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11285 * emacs-lisp/package.el (package--builtins, package-alist)
11286 (package-load-descriptor, package-built-in-p, package-activate)
11287 (define-package, package-installed-p)
11288 (package-compute-transaction, package-buffer-info)
11289 (package--push): Doc fix. Distinguish more clearly between
11290 version strings and version lists.
11292 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11294 Lexical-binding cleanup.
11296 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11297 (5x5-make-mutate-best):
11298 * play/fortune.el (fortune-in-buffer):
11299 * play/gomoku.el (gomoku-init-display):
11300 * play/solitaire.el (solitaire, solitaire-do-check):
11301 * play/tetris.el (tetris-default-update-speed-function):
11302 Mark unused parameters.
11304 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11305 (bubbles--shift): Remove unused variable `char-org'.
11306 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11307 (bubbles--show-images): Remove unused variable `char'.
11309 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11310 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11311 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11312 (decipher-analyze-buffer): Use ?\s.
11313 (decipher-make-checkpoint): Remove unused variable `mapping'.
11315 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11317 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11318 Remove unused variable `result'; use `let'.
11320 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11321 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11322 (gametree-children-shown-p, gametree-compute-reduced-score):
11323 Use `ignore-errors'.
11325 * play/handwrite.el (ps-lpr-switches): Declare.
11326 (handwrite): Remove unused variables `pmin' and `lastp'.
11328 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11330 * play/landmark.el (landmark-init-display)
11331 (landmark-update-naught-weights): Mark unused parameters.
11332 (landmark-y): Remove unused variable `noise'. Simplify.
11333 (landmark-human-plays): Remove unused variable `score'.
11335 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11336 (mpuz-try-proposal): Remove unused variable `game'.
11338 * play/zone.el (life-patterns): Declare.
11340 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11342 * vc/vc.el (ediff-vc-internal): Declare function.
11344 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11346 * shell.el: Use lexical-binding and std completion UI.
11347 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11348 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11349 comint-preoutput-filter-functions rather than on
11350 comint-output-filter-functions.
11351 (shell-command-completion, shell--command-completion-data)
11352 (shell-filename-completion, shell-environment-variable-completion)
11353 (shell-c-a-p-replace-by-expanded-directory): New functions.
11354 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11355 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11356 (shell-dynamic-complete-environment-variable): Use them.
11357 (shell-dynamic-complete-as-environment-variable)
11358 (shell-dynamic-complete-as-command): Remove.
11359 (shell-match-partial-variable): Match past point.
11360 * comint.el: Clean up use of completion-at-point-functions.
11361 (comint-completion-at-point): New function.
11362 (comint-mode): Use it completion-at-point-functions.
11363 (comint-dynamic-complete): Make it obsolete.
11364 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11365 (comint-c-a-p-replace-by-expanded-history): New function.
11366 (comint-dynamic-complete-functions)
11367 (comint-replace-by-expanded-history): Use it.
11368 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11369 termination strings. Try harder to avoid second try-completion.
11370 (completion-in-region-mode-map): Disable bindings that don't work yet.
11372 * comint.el: Use lexical-binding. Require CL.
11373 (comint-dynamic-complete-functions): Use comint-filename-completion.
11374 (comint-completion-addsuffix): Tweak custom type.
11375 (comint-filename-completion, comint--common-suffix)
11376 (comint--common-quoted-suffix, comint--table-subvert)
11377 (comint--complete-file-name-data): New functions.
11378 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11379 (comint-dynamic-list-filename-completions): Use them.
11380 (comint-dynamic-simple-complete): Make obsolete.
11382 * minibuffer.el (completion-in-region-mode):
11383 Keep completion-in-region-mode--predicate global.
11384 (completion-in-region--postch):
11385 Assume completion-in-region-mode--predicate is not null.
11387 * progmodes/flymake.el (flymake-start-syntax-check-process):
11388 Obey `dir'. Simplify.
11390 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11391 we're in VC after all.
11393 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11395 * vc/vc.el (vc-diff-build-argument-list-internal)
11396 (vc-version-ediff, vc-ediff): New commands.
11397 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11399 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11401 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11404 * obsolete/erc-hecomplete.el: Make obsolete.
11405 * obsolete/: Standardize obsolescence info in the header.
11407 2011-04-20 Glenn Morris <rgm@gnu.org>
11409 * calendar/solar.el (solar-horizontal-coordinates):
11410 Use the longitude argument rather than `calendar-longitude'.
11411 (solar-date-next-longitude): Remove unused locals.
11413 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11415 * whitespace.el: New version 13.2.1.
11417 2011-04-20 felix <EmacsWiki> (tiny change)
11419 * whitespace.el (global-whitespace-mode): Keep highlight when
11420 switching between major modes on a file.
11422 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11425 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11426 multi-line comments as well.
11428 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11430 Lexical-binding cleanup.
11432 * arc-mode.el (archive-mode-revert):
11433 * cmuscheme.el (scheme-interactively-start-process):
11434 * custom.el (custom-initialize-delay):
11435 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11436 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11437 * emacs-lock.el (emacs-lock-clear-sentinel):
11438 * ezimage.el (defezimage):
11439 * follow.el (follow-avoid-tail-recenter):
11440 * fringe.el (set-fringe-mode-1):
11441 * generic-x.el (bat-generic-mode-compile):
11442 * help-mode.el (help-info-variable, help-do-xref)
11443 (help-mode-revert-buffer):
11444 * help.el (view-emacs-todo):
11445 * iswitchb.el (iswitchb-completion-help):
11446 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11447 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11448 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11449 * locate.el (locate-update):
11450 * longlines.el (longlines-encode-region)
11451 (longlines-after-change-function):
11452 * outline.el (outline-isearch-open-invisible):
11453 * ps-def.el (declare-function, charset-dimension, char-width)
11455 * ps-mule.el (ps-mule-plot-string):
11456 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11457 (recentf-edit-list-select, recentf-edit-list-validate)
11458 (recentf-open-files-action):
11459 * rect.el (delete-whitespace-rectangle-line)
11460 (rectangle-number-line-callback):
11461 * register.el (window-configuration-to-register)
11462 (frame-configuration-to-register):
11463 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11464 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11465 (xselect-convert-to-targets, xselect-convert-to-delete)
11466 (xselect-convert-to-filename, xselect-convert-to-charpos)
11467 (xselect-convert-to-lineno, xselect-convert-to-colno)
11468 (xselect-convert-to-os, xselect-convert-to-host)
11469 (xselect-convert-to-user, xselect-convert-to-class)
11470 (xselect-convert-to-name, xselect-convert-to-integer)
11471 (xselect-convert-to-atom, xselect-convert-to-identity):
11472 * subr.el (declare, ignore, process-kill-without-query)
11473 (text-clone-maintain):
11474 * terminal.el (te-get-char, te-tic-sentinel):
11475 * tool-bar.el (tool-bar-make-keymap):
11476 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11477 * type-break.el (type-break-mode, type-break-noninteractive-query):
11478 * view.el (View-back-to-mark):
11479 * wid-browse.el (widget-browse-action, widget-browse-widget)
11480 (widget-browse-widgets, widget-browse-sexp):
11481 * widget.el (define-widget-keywords):
11482 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11483 Mark unused parameters.
11485 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11486 (align-areas): Remove unused variable `look'.
11487 (align-region): Remove unused variables `real-end' and `pos-list'.
11489 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11491 * bindings.el (mode-line-modified, mode-line-remote):
11492 Mark unused parameters.
11493 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11495 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11496 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11498 * comint.el (comint-history-isearch-pop-state)
11499 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11500 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11501 (comint-substitute-in-file-name): Doc fix.
11503 * completion.el (cmpl-statistics-block): Mark unused parameter.
11504 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11505 (save-completions-to-file, load-completions-from-file):
11506 Remove unused local variable `e'.
11508 * composite.el (compose-chars): Remove unused variable `len'.
11509 (lgstring-insert-glyph): Remove unused variable `g'.
11510 (compose-glyph-string): Remove unused variables `ascent',
11511 `descent', `lbearing' and `rbearing'.
11512 (compose-glyph-string-relative): Remove unused variables
11513 `lbearing', `rbearing' and `wadjust'.
11514 (compose-gstring-for-graphic): Remove unused variables `header',
11515 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11516 (compose-gstring-for-terminal): Remove unused variables `header'
11517 and `nchars'. Use `let', not `let*'.
11519 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11520 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11521 (Custom-buffer-done, custom-buffer-create-internal)
11522 (custom-browse-visibility-action, custom-browse-group-tag-action)
11523 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11524 (widget-magic-mouse-down-action, custom-toggle-parent)
11525 (custom-add-parent-links, custom-toggle-hide-variable)
11526 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11527 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11528 (custom-face-menu-create, custom-variable-menu-create, get)
11529 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11530 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11531 (customize-apropos): Remove unused variable `tests'.
11532 (custom-group-value-create): Remove unused variable `hidden-p'.
11533 (sort-fold-case): Declare.
11535 * cus-theme.el (custom-reset-standard-faces-list)
11536 (custom-reset-standard-variables-list): Declare.
11537 (customize-create-theme, custom-theme-revert, custom-theme-write)
11538 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11539 Mark unused parameters.
11541 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11543 * delim-col.el (delimit-columns-max): Move defvar before first use.
11545 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11546 (describe-char): Don't quote `lambda'. Mark unused parameter.
11548 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11549 (auto-insert): Declare.
11550 (desktop-restore-file-buffer): Rename desktop-* parameters;
11552 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11553 (desktop-buffer): Rename desktop-* parameters.
11555 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11556 (dframe-reposition-frame-xemacs, dframe-help-echo)
11557 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11558 Mark unused parameters.
11560 * dired-aux.el (backup-extract-version-start, overwrite-query)
11561 (overwrite-backup-query, rename-regexp-query)
11562 (rename-non-directory-query): Declare.
11563 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11564 (dired-add-entry): Remove unused variable `orig-file-name'.
11565 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11566 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11567 `dired-copy-preserve-time' directly.
11568 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11569 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11571 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11572 (dired-virtual-revert, dired-make-relative-symlink):
11573 Mark unused parameters.
11574 (manual-program): Declare.
11575 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11576 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11577 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11579 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11581 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11583 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11586 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11588 * electric.el (Electric-command-loop): Rename parameter
11589 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11591 * expand.el (expand-in-literal): Remove unused variable `here'.
11593 * facemenu.el (facemenu-add-new-color):
11594 Remove unused variable `docstring'.
11596 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11597 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11598 (face-attr-construct): Mark unused parameter. Doc fix.
11599 (read-color): Remove unused variable `hex-string'.
11601 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11602 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11603 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11604 (display-buffer-other-frame): Remove unused variable `old-window'.
11605 (kill-buffer-hook): Declare.
11606 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11607 Mark unused parameters.
11608 (after-find-file): Pass 1 to `auto-save-mode', not t.
11610 * files-x.el (auto-insert): Declare.
11611 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11613 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11614 variable `buf'. Mark unused parameter.
11615 (find-lisp-insert-directory): Mark unused parameter.
11617 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11618 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11619 (format-common-tail): Remove, unused.
11620 (format-deannotate-region): Remove unused variable `loc'.
11621 (format-annotate-region): Remove unused variable `p'.
11622 (format-annotate-single-property-change): Remove unused variables
11623 `default' and `tail'.
11625 * forms.el (read-file-filter): Declare.
11626 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11628 * frame.el (frame-creation-function-alist): Mark unused parameter.
11629 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11631 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11632 Remove unused parameters.
11633 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11634 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11636 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11637 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11638 (hfy-prepare-tag-map): Mark unused parameters.
11639 (htmlfontify-buffer): Use `called-interactively-p'.
11641 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11642 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11643 (ibuffer-do-occur): Mark unused parameters.
11644 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11645 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11647 * ibuffer.el: Don't quote `lambda'.
11648 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11649 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11650 Mark unused parameters.
11652 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11653 (ido-completing-read): Mark unused parameters.
11654 (ido-copy-current-word): Mark unused parameters;
11655 remove unused variable `name'.
11656 (ido-sort-merged-list): Remove unused parameter `dirs'.
11658 * ielm.el (ielm-input-sender): Mark unused parameter.
11659 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11660 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11661 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11662 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11663 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11665 * image-dired.el (image-dired-display-thumbs): Remove unused
11666 variables `curr-file' and `count'.
11667 (image-dired-remove-tag): Remove unused variable `start'.
11668 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11669 variable `curr-file'
11670 (image-dired-rotate-original): Remove unused variable `temp-file'.
11671 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11672 Remove unused variable `file'.
11673 (image-dired-gallery-generate): Remove unused variable `curr'.
11674 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11676 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11678 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11680 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11682 * isearch.el (minibuffer-history-symbol): Declare.
11683 (isearch-edit-string): Remove unused variable `err'.
11684 (isearch-message-prefix, isearch-message-suffix):
11685 Mark unused parameters.
11687 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11689 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11691 * makesum.el (double-column): Remove unused variable `cnt'.
11693 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11694 (ido-ignore-item-temp-list): Declare.
11696 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11697 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11698 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11699 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11702 * mouse-sel.el (mouse-extend-internal):
11703 Remove unused variable `orig-window-frame'.
11705 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11706 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11707 Move declarations before first use.
11708 (pcomplete-opt): Mark unused parameters; doc fix.
11710 * proced.el (proced-revert): Mark unused parameter.
11711 (proced-send-signal): Remove unused variable `err'.
11713 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11714 Rename parameter PREFIX-ARG to ARG.
11715 (ps-basic-plot-string, ps-basic-plot-whitespace):
11716 Mark unused parameters.
11718 * replace.el (replace-count): Define.
11719 (occur-revert-function): Mark unused parameters.
11720 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11721 (isearch-case-fold-search, isearch-string): Declare.
11722 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11723 bind `case-fold-search'. Remove unused variables `beg' and `end',
11725 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11726 COUNT and bind `replace-count'.
11727 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11730 * savehist.el (print-readably, print-string-length): Declare.
11732 * shadowfile.el (shadow-expand-cluster-in-file-name):
11733 Remove unused variable `cluster'.
11734 (shadow-copy-file): Remove unused variable `i'.
11735 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11736 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11737 (shadow-define-literal-group, shadow-define-regexp-group)
11738 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11740 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11741 (shell): Use `called-interactively-p'.
11742 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11744 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11745 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11746 (delete-backward-char): Remove unused variable `ocol'.
11747 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11748 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11749 (event-apply-hyper-modifier, event-apply-shift-modifier)
11750 (event-apply-control-modifier, event-apply-meta-modifier):
11751 Mark unused parameters.
11752 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11753 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11755 * speedbar.el (speedbar-ignored-directory-expressions)
11756 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11757 (speedbar-find-file, speedbar-dir-follow)
11758 (speedbar-directory-buttons-follow, speedbar-tag-find)
11759 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11760 (speedbar-buffers-line-directory, speedbar-buffer-click):
11761 Mark unused parameters.
11762 (speedbar-tag-file): Remove unused variable `mode'.
11763 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11765 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11767 * talk.el (talk): Remove unused variable `display'.
11769 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11770 (tar-write-region-annotate): Mark unused parameter.
11772 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11773 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11774 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11775 warning by another.
11777 * time-stamp.el (time-stamp-string-preprocess):
11778 Remove unused variable `require-padding'.
11780 * tree-widget.el (widget-glyph-enable): Declare.
11781 (tree-widget-action): Mark unused parameter.
11783 * w32-fns.el (x-get-selection): Mark unused parameter.
11784 (autoload-make-program, generated-autoload-file): Declare.
11786 * wdired.el (wdired-revert): Mark unused parameters.
11787 (wdired-xcase-word): Remove unused variable `err'.
11789 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11790 (whitespace-help-scroll): Remove unused variable `data-help'.
11792 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11793 (widget-image-insert, widget-after-change, default)
11794 (widget-default-format-handler, widget-default-notify)
11795 (widget-default-prompt-value, widget-info-link-action)
11796 (widget-url-link-action, widget-function-link-action)
11797 (widget-variable-link-action, widget-file-link-action)
11798 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11799 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11800 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11801 (widget-insert-button-action, widget-delete-button-action, visibility)
11802 (widget-documentation-link-action, widget-documentation-string-action)
11803 (widget-const-prompt-value, widget-regexp-match, symbol)
11804 (widget-coding-system-prompt-value)
11805 (widget-key-sequence-value-to-external, sexp)
11806 (widget-sexp-value-to-internal, character, vector, cons)
11807 (widget-choice-prompt-value, widget-boolean-prompt-value)
11808 (widget-color--choose-action): Mark unused parameters.
11809 (widget-item-match-inline, widget-choice-match-inline)
11810 (widget-checklist-match, widget-checklist-match-inline)
11811 (widget-group-match): Rename parameter VALUES to VALS.
11812 (widget-field-value-set): Remove unused variable `size'.
11813 (widget-color-action): Remove unused variables `value' and `start'.
11815 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11816 variable `dir'. Doc fix.
11817 (windmove-find-other-window): Don't pass it.
11819 * window.el (count-windows): Mark unused parameter.
11820 (bw-adjust-window): Remove unused variable `err'.
11822 * woman.el (woman-file-name): Remove unused variable `default'.
11823 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11824 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11825 (global-font-lock-mode): Declare.
11826 (woman-decode-region): Mark unused parameter.
11827 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11829 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11830 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11831 (x-dnd-handle-moz-url): Remove unused variable `title'.
11832 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11834 * xml.el (xml-parse-tag, xml-parse-attlist):
11835 Remove unused variable `pos'.
11837 2011-04-19 Glenn Morris <rgm@gnu.org>
11839 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11840 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11841 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11842 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11843 * calendar/cal-html.el (cal-html-insert-minical):
11844 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11845 (calendar-mark-date-pattern):
11846 Prefix "unused" locals.
11848 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11849 optional argument `style'.
11851 * calendar/appt.el (appt-make-list):
11852 * calendar/cal-china.el (calendar-chinese-date-string):
11853 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11854 (diary-hebrew-yahrzeit):
11855 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11856 * calendar/calendar.el (calendar-generate-window):
11857 * calendar/time-date.el (time-to-days):
11858 Remove unused local variables.
11860 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11862 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11863 glyphless-char-display table.
11864 (tabulated-list-glyphless-char-display): New var.
11866 2011-04-18 Sam Steingold <sds@gnu.org>
11868 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11869 to acknowledgments.
11871 2011-04-17 Glenn Morris <rgm@gnu.org>
11873 * calendar/diary-lib.el (diary-sexp-entry):
11874 * calendar/holidays.el (holiday-sexp):
11875 Set debug-on-error rather than the removed stack-trace-on-error.
11877 2011-04-16 Glenn Morris <rgm@gnu.org>
11879 * progmodes/f90.el: Use lexical-binding.
11880 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11882 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11885 (mail-mode): Setup mailalias completion here instead.
11886 * mail/mailalias.el: Use lexical-binding.
11887 (pattern, mailalias-done): Declare dynamic.
11888 (mail-completion-at-point-function): New function, from mail-complete.
11889 (mail-complete): Use it.
11890 (mail-completion-expand): New function.
11891 (mail-get-names): Use it.
11892 (mail-directory, mail-directory-process, mail-directory-stream):
11893 Don't use `pattern' for lexically bound arg.
11895 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11897 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11898 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11899 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11901 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11902 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11903 (byte-interactive-p): Define them again, for use when inlining
11906 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11908 * loadup.el: Use `string-to-number', not `string-to-int'.
11910 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11912 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11913 gud-gdb-complete-command.
11914 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11915 (gud-gdb-completion-at-point): New function.
11916 (gud-gdb-completions): Remove.
11918 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11920 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11921 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11922 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11923 whether `executable-find' is bound.
11925 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11927 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11929 * minibuffer.el (completion-in-region-mode-predicate)
11930 (completion-in-region-mode--predicate): New vars.
11931 (completion-in-region, completion-in-region--postch)
11932 (completion-in-region-mode): Use them.
11933 (completion--capf-wrapper): Also return the hook function.
11934 (completion-at-point, completion-help-at-point):
11935 Adjust and provide a predicate.
11937 Preserve arg names for advice of subr and lexical functions (bug#8457).
11938 * help-fns.el (help-function-arglist): Consolidate the subr and
11939 new-byte-code cases. Add argument `preserve-names' to extract names
11940 from the docstring when needed.
11941 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11942 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11943 (ad-arglist): Use help-function-arglist's new arg.
11944 (ad-definition-type): Use cond.
11946 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11948 * autorevert.el (auto-revert-handler):
11949 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11950 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11951 Don't quote lambda.
11953 * image-mode.el (image-transform-set-scale):
11954 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11956 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958 * net/network-stream.el (network-stream-open-starttls): Only do
11959 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11960 Upgrades via gnutls-cli are too slow to be done opportunistically.
11962 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11964 * dframe.el (dframe-current-frame): Remove spurious quote.
11966 2011-04-12 Glenn Morris <rgm@gnu.org>
11968 * calendar/cal-tex.el (cal-tex-end-document):
11969 Try to automatically use latin1 input if needed.
11971 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11972 Don't try to cons a mark onto an empty element.
11974 2011-04-11 Leo Liu <sdl.web@gmail.com>
11976 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11978 (ido-kill-buffer-at-head): Support killing virtual buffers.
11980 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11982 * minibuffer.el (completion-show-inline-help): New var.
11983 (completion--do-completion, minibuffer-complete)
11984 (minibuffer-force-complete, minibuffer-complete-word):
11985 Inhibit minibuffer messages if completion-show-inline-help is nil.
11987 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11988 to avoid interference from inline help (Bug#5849).
11990 2011-04-10 Leo Liu <sdl.web@gmail.com>
11992 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11995 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11997 * image-mode.el (image-toggle-display-image): Signal an error if
11999 (image-transform-mode, image-transform-resize)
12000 (image-transform-set-rotation): Doc fix.
12001 (image-transform-set-resize): Delete.
12002 (image-transform-set-scale, image-transform-fit-to-height)
12003 (image-transform-fit-to-width): Handle image-toggle-display-image
12004 and image-transform-resize directly.
12006 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12008 * doc-view.el (doc-view-fit-width-to-window)
12009 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12010 New functions for fitting the shown image to the Emacs window size.
12011 (doc-view-mode-map): Add bindings for the new functions.
12013 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12015 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12016 Fix typo in docstring.
12018 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12020 * files.el (file-size-human-readable): Produce one digit after
12021 decimal, like "ls -lh" does.
12023 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12024 the file size representation.
12026 * simple.el (list-processes): If async subprocesses are not
12027 available, error out with a clear error message.
12029 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12031 * help.el (help-form-show): New function, to be called from C.
12032 Put help-form output in a buffer named differently than *Help*.
12034 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12036 * files.el (file-size-human-readable): New function.
12038 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12039 computing the representation inline. Don't require `cl'.
12041 2011-04-08 Glenn Morris <rgm@gnu.org>
12043 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12045 * net/browse-url.el (browse-url-firefox):
12046 Test system-type, not system-configuration.
12048 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12049 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12050 Use log-edit-empty-buffer-p. (Bug#7598)
12052 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12053 (rlogin-mode-map): Initialize in the defvar.
12054 (rlogin): Use ignore-errors.
12056 * replace.el (occur-mode-map): Some fixes for menu items.
12058 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12060 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12062 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12064 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12065 issuing unused warnings.
12067 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12070 * simple.el: Lisp reimplement of list-processes. Based on an
12071 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12072 (process-menu-mode): New major mode.
12073 (list-processes--refresh, list-processes):
12074 (process-menu-visit-buffer): New functions.
12076 * files.el (save-buffers-kill-emacs): Don't assume any return
12077 value of list-processes, which is undocumented anyway.
12079 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12081 * emacs-lisp/tabulated-list.el: New file.
12083 * emacs-lisp/package.el: Use Tabulated List mode.
12084 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12085 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12086 table format using Tabulated List mode variables.
12087 (package--push): New macro, replacing package-list-maybe-add.
12088 (package-menu--generate): Use package--push. Renamed from
12089 package--generate-package-list.
12090 (package-menu-refresh, list-packages): Use it.
12091 (package-menu--print-info): Rename from package-print-package.
12092 Return insertion data instead of inserting it directly.
12093 (package-menu-describe-package, package-menu-execute):
12094 Use tabulated-list-get-id.
12095 (package-menu-mark-delete, package-menu-mark-install)
12096 (package-menu-mark-unmark, package-menu-backup-unmark)
12097 (package-menu-mark-obsolete-for-deletion):
12098 Use tabulated-list-put-tag.
12099 (package--list-packages, package-menu-revert)
12100 (package-menu-get-package, package-menu-get-version)
12101 (package-menu-sort-by-column): Functions deleted.
12102 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12103 (package-menu--status-predicate, package-menu--version-predicate)
12104 (package-menu--name-predicate)
12105 (package-menu--description-predicate): Handle arguments in the
12106 Tabulated List format.
12107 (package-list-packages-no-fetch): Call list-packages.
12109 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12111 * files.el (after-find-file-from-revert-buffer): Remove variable.
12112 (after-find-file): Don't bind it.
12113 (revert-buffer-in-progress-p): New variable.
12114 (revert-buffer): Bind it.
12115 Pass nil for `after-find-file-from-revert-buffer'.
12117 * saveplace.el (save-place-find-file-hook): Use new variable
12118 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12120 2011-04-06 Glenn Morris <rgm@gnu.org>
12122 * Makefile.in (AUTOGEN_VCS): New variable.
12123 (autoloads): Use $AUTOGEN_VCS.
12125 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12126 * calendar/calendar.el (calendar-mode-map):
12127 Check for toolkit scroll bars. (Bug#8305)
12129 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12131 * minibuffer.el (completion-in-region--postch)
12132 (completion-in-region-mode): Remove unnecessary messages.
12134 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12136 * font-lock.el (font-lock-refresh-defaults):
12137 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12138 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12140 * info.el (Info-directory-list, Info-read-node-name-2)
12141 (Info-split-parameter-string): Doc fixes.
12142 (Info-virtual-nodes): Reflow docstring.
12143 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12144 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12145 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12146 Fix typos in docstrings.
12147 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12148 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12149 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12150 (Info-restore-desktop-buffer): Mark unused parameters.
12151 (Info-directory-find-file, Info-directory-find-node)
12152 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12153 (Info-virtual-index-find-node, Info-apropos-find-file)
12154 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12155 Mark unused parameters; fix typos in docstrings.
12156 (Info-virtual-index): Remove unused local variable `nodename'.
12158 2011-04-05 Deniz Dogan <deniz@dogan.se>
12160 * net/rcirc.el: Update my e-mail address.
12161 (rcirc-mode-map): Remove M-o binding.
12163 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12165 * startup.el (command-line): Save the cursor's theme-face
12166 directly, instead of using face-override-spec.
12168 * custom.el (load-theme): Minor optimization in assigning faces.
12170 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12172 * help-fns.el (describe-variable): Complete all variables having
12173 documentation, including keywords.
12174 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12176 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12178 Convert to lexical-binding.
12180 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12181 (bs--get-marked-string, bs--get-modified-string)
12182 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12183 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12184 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12186 * ehelp.el (electric-help-execute-extended)
12187 (electric-help-ctrl-x-prefix):
12188 * hexl.el (hexl-revert-buffer-function):
12189 * linum.el (linum-after-change, linum-after-scroll):
12190 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12192 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12194 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12201 * epg.el: Use lexical binding.
12203 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12205 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12207 * textmodes/flyspell.el (flyspell-word): Recognize default
12208 dictionary case for flyspell-mark-duplications-exceptions.
12209 Use regexp matching for languages.
12210 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12211 default dictionary (Bug#7926).
12213 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12215 * emacs-lisp/package.el (package--with-work-buffer):
12216 Recognize https URLs.
12218 * net/network-stream.el: Move from gnus/proto-stream.el.
12219 Change prefix to network-stream throughout.
12220 (open-protocol-stream): Merge into open-network-stream, leaving
12221 open-protocol-stream as an alias. Handle nil BUFFER args.
12223 * subr.el (open-network-stream): Move to net/network-stream.el.
12225 2011-04-02 Glenn Morris <rgm@gnu.org>
12227 * find-dired.el (find-exec-terminator): New option.
12228 (find-ls-option): Test for -ls support.
12229 (find-ls-subdir-switches): Test for -b in find-ls-option.
12230 (find-dired, find-grep-dired): Doc fixes.
12231 (find-dired): Use find-exec-terminator.
12233 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12234 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12235 (find-name-arg): Remove purecopy.
12237 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12238 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12239 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12240 accordingly. Don't add the null-device if not needed.
12242 * files.el (save-some-buffers): Doc fix.
12244 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12246 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12248 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12250 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12251 Use `dolist' rather than `mapcar'.
12253 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12255 Add lexical binding.
12257 * subr.el (apply-partially): Use new closures rather than CL.
12258 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12259 (dolist, dotimes): Use slightly different expansion for lexical code.
12260 (functionp): Move to C.
12261 (letrec): New macro.
12262 (with-wrapper-hook): Use it and apply-partially instead of CL.
12263 (eval-after-load): Preserve lexical-binding.
12264 (save-window-excursion, with-output-to-temp-buffer): Turn them
12267 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12269 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12271 (help-add-fundoc-usage): Don't add `Not documented'.
12272 (help-function-arglist): Handle closures, subroutines, and new
12273 byte-code-functions.
12274 (help-make-usage): Remove leading underscores.
12275 (describe-function-1): Handle closures.
12276 (describe-variable): Use special-variable-p for completion.
12278 * files.el (lexical-binding): Declare safe.
12280 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12281 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12282 (pcase): Add `let' pattern.
12283 Change memoization so it actually works.
12284 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12285 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12288 * emacs-lisp/macroexp.el: Use lexical binding.
12289 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12290 Don't convert ' to #' without checking that it's indeed quoting
12293 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12294 Use eval-sexp-add-defvars.
12295 (eval-sexp-add-defvars): New fun.
12297 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12299 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12301 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12302 than the internal `byte-compile-lambda'.
12303 (defmethod): Don't hide code under quotes.
12304 (eieio-defmethod): New `code' argument.
12306 * emacs-lisp/eieio-comp.el: Remove.
12308 * emacs-lisp/edebug.el (edebug-eval-defun)
12309 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12310 (edebug-toggle): Avoid `eval'.
12312 * emacs-lisp/disass.el (disassemble-internal): Handle new
12314 (disassemble-1): Handle new byte codes.
12316 * emacs-lisp/cl.el (pushnew): Silence warning.
12318 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12319 (cl-byte-compile-throw): Remove.
12320 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12322 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12325 * emacs-lisp/cconv.el: New file.
12327 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12328 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12329 (byte-compile-initial-macro-environment):
12330 Handle declare-function here.
12331 (byte-compile--lexical-environment): New var.
12332 (byte-stack-ref, byte-stack-set, byte-discardN)
12333 (byte-discardN-preserve-tos): New lap codes.
12334 (byte-interactive-p): Don't use any more.
12335 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12337 (byte-compile-lapcode): Use them and handle new lap codes.
12338 (byte-compile-obsolete): Remove.
12339 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12340 (byte-compile-arglist-warn): Check late def of inlinable funs.
12341 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12342 since they should have been expanded by now.
12343 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12344 (byte-compile-from-buffer): Remove unused second arg.
12345 (byte-compile-preprocess): New function.
12346 (byte-compile-toplevel-file-form): New function to distinguish
12347 file-form calls from outside from file-form calls from hunk-handlers.
12348 (byte-compile-file-form): Simplify.
12349 (byte-compile-file-form-defsubst): Remove.
12350 (byte-compile-file-form-defmumble): Simplify now that
12351 byte-compile-lambda always returns a byte-code-function.
12352 (byte-compile): Preprocess.
12353 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12354 Remove, not used any more.
12355 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12356 (byte-compile-make-args-desc): New funs.
12357 (byte-compile-lambda): Handle lexical functions. Always return
12358 a byte-code-function.
12359 (byte-compile-reserved-constants): New var, to make up room for
12360 closed-over variables.
12361 (byte-compile-constants-vector): Obey it.
12362 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12363 (byte-compile-macroexpand-declare-function): New function.
12364 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12365 byte-code-functions.
12366 (byte-compile-form): Check obsolescence here.
12367 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12368 (byte-compile-variable-ref): Remove.
12369 (byte-compile-dynamic-variable-op): New fun.
12370 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12371 (byte-compile-variable-set): New funs.
12372 (byte-compile-discard): Add 2 args.
12373 (byte-compile-stack-ref, byte-compile-stack-set)
12374 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12375 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12376 macroexpand-all instead.
12377 (byte-compile-quote-form): Remove.
12378 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12379 (byte-compile-bind, byte-compile-unbind): New funs.
12380 (byte-compile-let): Handle let* and lexical binding.
12381 (byte-compile-let*): Remove.
12382 (byte-compile-catch, byte-compile-unwind-protect)
12383 (byte-compile-track-mouse, byte-compile-condition-case):
12384 Handle a new :fun-body form, used for lexical scoping.
12385 (byte-compile-save-window-excursion)
12386 (byte-compile-with-output-to-temp-buffer): Remove.
12387 (byte-compile-defun): Simplify.
12388 (byte-compile-stack-adjustment): New fun.
12389 (byte-compile-out): Use it.
12390 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12392 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12395 * emacs-lisp/byte-opt.el: Use lexical binding.
12396 (byte-inline-lapcode): Remove (to bytecomp).
12397 (byte-compile-inline-expand): Pay attention to inlining to/from
12398 lexically bound code.
12399 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12401 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12402 any more and don't call compiler-macros.
12403 (byte-compile-splice-in-already-compiled-code): Remove.
12404 (byte-code): Don't inline any more.
12405 (disassemble-offset): Receive `bytes' as argument rather than via
12407 (byte-compile-tag-number): Declare before first use.
12408 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12409 `return' even if make-spliceable.
12410 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12411 obsolete interactive-p.
12412 (byte-optimize-lapcode): Optimize new lap-codes.
12413 Don't trip up on new form of `byte-constant' lap code.
12415 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12417 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12419 * custom.el (custom-initialize-default, custom-declare-variable):
12422 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12424 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12425 (COMPILE_FIRST): Add macroexp and cconv.
12426 * makefile.w32-in: Mirror changes in Makefile.in.
12428 * vc/cvs-status.el:
12432 * vc/smerge-mode.el:
12433 * textmodes/bibtex-style.el:
12434 * textmodes/css.el:
12442 * emacs-lisp/smie.el:
12445 * abbrev.el: Use lexical binding.
12447 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12449 * info.el (info-display-manual): New function.
12451 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12453 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12455 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12457 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12458 an entry for that server in rcirc-authinfo. (Bug#8385)
12460 2011-03-31 Glenn Morris <rgm@gnu.org>
12462 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12464 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12466 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12468 * progmodes/python.el (python-default-interpreter)
12469 (python-python-command-args, python-jython-command-args)
12470 (python-which-shell, python-which-args, python-which-bufname)
12471 (python-file-queue, python-comint-output-filter-function)
12472 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12473 variables and functions.
12475 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12478 (completion-in-region-mode): New minor mode.
12479 (completion-in-region): Use it.
12480 (completion-in-region--data, completion-in-region-mode-map): New vars.
12481 (completion-in-region--postch): New function.
12482 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12484 (completion--capf-wrapper): New function.
12485 (completion-at-point): Use it to track well-behavedness of
12487 (completion-help-at-point): New command.
12489 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12491 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12492 syntax class to search for whitespace on a single line
12493 (Message-ID: <4D938140.4030905@redhat.com>).
12495 2011-03-30 Leo Liu <sdl.web@gmail.com>
12497 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12499 (edit-abbrevs-map): Bind them here.
12500 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12502 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12504 * allout.el (allout-hide-by-annotation, allout-flag-region):
12505 Reduce possibility of overlay leakage by making them volatile.
12507 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12508 hash is not shared between buffers. Mode initialization is
12509 responsible for giving it a useful starting value.
12510 (allout-item-span): Reduce possibility of overlay leakage by
12511 making them volatile.
12512 (allout-widgets-count-buttons-in-region): Add diagnostic function
12513 for tracking down button overlay leaks.
12515 2011-03-29 Leo Liu <sdl.web@gmail.com>
12517 * ido.el (ido-read-internal): Use the default history var
12518 minibuffer-history if no HISTORY is specified.
12520 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12522 * net/imap.el (imap-shell-open, imap-process-connection-type):
12523 Use imap-process-connection-type for 'shell' streams as well as
12524 Kerberos, SSL, other subprocesses.
12526 2011-03-28 Leo Liu <sdl.web@gmail.com>
12528 * abbrev.el (abbrev-table-empty-p): New function.
12529 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12530 nonempty ones. (Bug#5937)
12532 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12534 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12536 2011-03-27 Leo Liu <sdl.web@gmail.com>
12538 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12539 for foreground and background colors.
12540 (ansi-color-make-color-map): Adapt.
12542 2011-03-25 Leo Liu <sdl.web@gmail.com>
12544 * midnight.el (midnight-time-float): Remove. Note it calculates
12545 the microsecond component incorrectly and seconds-to-time does the
12547 Remove redundant (require 'timer).
12549 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12550 (ido-completions): Remove unused arguments. (Bug#8329)
12552 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12554 * minibuffer.el (completion--flush-all-sorted-completions):
12555 Remove itself from hook.
12556 (completion-at-point): Let the functions perform the completion
12557 immediately and return nil or t.
12558 * comint.el (comint-dynamic-complete-functions): Now identical to
12559 completion-at-point-functions.
12560 (comint-dynamic-list-input-ring): Remove unused var `index'.
12561 (comint--match-partial-filename, comint--unquote&expand-filename):
12562 New funs, split from comint-match-partial-filename.
12563 (comint-dynamic-complete): Use completion-at-point.
12564 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12566 2011-03-24 Drew Adams <drew.adams@oracle.com>
12568 * thingatpt.el: Support `defun'.
12570 2011-03-23 Leo Liu <sdl.web@gmail.com>
12572 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12574 * help-mode.el (help-mode-finish): Tweak regexp.
12576 2011-03-23 Glenn Morris <rgm@gnu.org>
12578 * eshell/esh-opt.el (eshell-eval-using-options):
12579 Do not bind unused local variable `eshell-option-stub'.
12581 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12583 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12585 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12586 keymap variable in `with-no-warnings' to avoid a warning when the
12587 keymap has been already `defconst'ed.
12589 2011-03-22 Leo Liu <sdl.web@gmail.com>
12591 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12592 encode all chars in abbrevs; otherwise use emacs-mule or
12593 utf-8-emacs. (Bug#8308)
12595 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12597 * simple.el (backward-delete-char-untabify):
12598 Avoid warning about using `delete-backward-char'.
12600 * image.el (image-type-file-name-regexps): Make it variable.
12601 `imagemagick-register-types' modifies it, and the user may want
12602 to add new extensions for known image types.
12603 (imagemagick-register-types): Throw error if not using ImageMagick.
12605 2011-03-22 Leo Liu <sdl.web@gmail.com>
12607 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12608 located before rcirc-prompt-end-marker.
12609 (rcirc-complete): Error if point is not after rcirc prompt.
12610 Handle the case when table is nil.
12611 (rcirc-user-authenticated): Define to fix compiler warning.
12613 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12615 * custom.el (custom--inhibit-theme-enable): Make it affect only
12616 custom-theme-set-variables and custom-theme-set-faces.
12617 (provide-theme): Ignore custom--inhibit-theme-enable.
12618 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12619 (custom-enabling-themes): Delete variable.
12620 (enable-theme): Accept only loaded themes as arguments.
12621 Ignore the special custom-enabled-themes variable.
12622 (custom-enabled-themes): Forbid themes from setting this.
12623 Eliminate use of custom-enabling-themes.
12624 (custom-push-theme): Quote "changed" custom var entry.
12626 2011-03-21 Leo Liu <sdl.web@gmail.com>
12628 * ido.el (ido-read-internal): Add ido-selected to history instead
12631 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * subr.el (deferred-action-list, deferred-action-function):
12636 2011-03-21 Leo Liu <sdl.web@gmail.com>
12638 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12639 change on 2011-02-13 (bug#8309).
12641 * minibuffer.el (read-file-name-function): Change default value.
12642 (read-file-name--defaults): Rename from read-file-name-defaults.
12643 (read-file-name-default): Rename from read-file-name.
12644 (read-file-name): Call read-file-name-function.
12646 2011-03-21 Glenn Morris <rgm@gnu.org>
12648 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12651 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12653 * cus-theme.el: Add missing provide statement.
12654 (customize-create-theme): Extract theme value correctly.
12655 (custom-theme-visit-theme): Autoload.
12656 (customize-create-theme): Prompt before inserting default faces.
12658 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12660 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12661 units and musical notes.
12663 2011-03-20 Leo Liu <sdl.web@gmail.com>
12665 * ido.el (ido-read-internal): Use completing-read-default.
12666 (ido-completing-read): Fix compatibility with completing-read.
12668 2011-03-20 Christian Ohler <ohler@gnu.org>
12670 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12671 (ert-delete-all-tests): Use `called-interactively-p' rather than
12673 (ert--make-xrefs-region): Respect END.
12675 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12677 * dired-aux.el (dired-create-directory): Signal an error if the
12678 directory already exists (Bug#8246).
12680 * facemenu.el (list-colors-display): Call list-faces-display
12681 inside with-help-window.
12682 (list-colors-print): Use display property to align the final
12683 column, instead of checking window-width.
12685 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12687 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12688 windows-nt systems.
12689 (emerge-protect-metachars): Quote correctly for ms-dos and
12690 windows-nt systems.
12692 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12694 * info.el (info-initialize): Replace all uses of `:' with
12695 path-separator for compatibility with non-Unix systems.
12696 Cache quoting of path-separator. (Bug#8258)
12698 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12700 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12701 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12702 (mouse-avoidance-mode): Fix typos in docstrings.
12704 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12706 * startup.el (package-subdirectory-regexp): Move from package.el.
12707 Omit \\` and \\', and let callers add them.
12709 * emacs-lisp/package.el (package-strip-version)
12710 (package-load-all-descriptors): Add \\` and \\' to
12711 package-subdirectory-regexp before using it.
12712 (package-untar-buffer): New arg DIR; ensure that file untars only
12713 into this expected directory. Remove superfluous delete-region.
12714 (package-unpack): Caller changed.
12715 (package-tar-file-info): Use package-subdirectory-regexp.
12717 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12719 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12720 diff-mode-shared-map (bug#8284).
12721 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12723 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12725 * calendar/time-date.el (format-seconds): Use assoc instead of
12726 assoc-string, since assoc-string doesn't exist in XEmacs.
12728 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12730 * custom.el (custom-known-themes): Reflow docstring.
12731 (custom-theme-load-path): Fix typo in docstring.
12732 (load-theme): Fix typo in error message.
12733 (custom-available-themes, custom-variable-theme-value):
12734 Use `let', not `let*'.
12736 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12738 * calc/README: Mention inclusion of musical notes.
12740 * calc/calc-units.el (calc-lu-quant): Rename from
12741 `calc-logunits-quantity'.
12742 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12743 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12744 (calc-db): Rename from `calc-dblevel'.
12745 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12746 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12747 (calc-np): Rename from `calc-nplevel'.
12748 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12749 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12750 (calc-lu-plus): Rename from `calc-logunits-add'.
12751 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12752 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12753 (calc-lu-minus): Rename from `calc-logunits-sub'.
12754 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12755 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12756 (calc-lu-times): Rename from `calc-logunits-mul'.
12757 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12758 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12759 (calc-lu-divide): Rename from `calc-logunits-div'.
12760 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12761 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12763 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12764 functions being autoloaded.
12766 * calc/calc.el (calc-lu-power-reference): Rename from
12767 `calc-logunits-power-reference'.
12768 (calc-lu-field-reference): Rename from
12769 `calc-logunits-field-reference'.
12771 * calc/calc-help.el (calc-l-prefix-help):
12772 Mention musical note functions.
12774 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * minibuffer.el (completion-all-sorted-completions):
12777 Use :completion-cycle-penalty text property if present.
12779 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12781 * allout.el (allout-yank-processing): Adjust for new rebulleting
12782 regime so bullet being yanked is used without prompting the user
12785 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12787 * startup.el (command-line): Warn the user that _emacs is deprecated.
12789 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12791 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12792 (delphi-verbose, delphi-comment-face, delphi-string-face)
12793 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12794 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12795 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12796 (delphi-new-comment-line, delphi-font-lock-defaults)
12797 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12798 Fix typos in docstrings.
12800 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12802 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12803 Invert the roles of character and string values for INSTEAD, so a
12804 string is used for the more common case of a defaulting prompt.
12806 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12808 * progmodes/ruby-mode.el (ruby-backward-sexp):
12809 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12810 * play/gamegrid.el (gamegrid-make-face):
12811 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12812 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12813 * notifications.el (notifications-notify):
12814 * net/xesam.el (xesam-search-engines):
12815 * net/quickurl.el (quickurl-list-insert):
12816 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12818 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12820 * startup.el (command-line): Update package subdirectory regexp.
12822 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12824 * allout.el (allout-abbreviate-flattened-numbering)
12825 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12827 * subr.el (read-char-choice): Only show the cursor after the prompt,
12828 not after the answer.
12830 2011-03-15 Kevin Ryde <user42@zip.com.au>
12832 * help-fns.el (variable-at-point): Skip leading quotes, if any
12835 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12837 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12840 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12842 * shell.el (shell): When called interactively, offer to change the
12843 shell file name on remote hosts.
12845 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12847 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12848 integration for LDAP parameters. The host, base, user or binddn,
12849 and secret tokens can be specified in a netrc file, for instance.
12850 This is optional because an `auth-source' parameter must be
12851 specified in the search attributes.
12853 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12855 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12857 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12860 into declaration. Remove redundant and harmful binding.
12862 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12864 * files.el (file-ownership-preserved-p): Pass `integer' as an
12865 explicit 2nd argument to `file-attributes'. If the file's owner
12866 is the Administrators group on Windows, and the current user is
12867 Administrator, consider that a match.
12869 * server.el (server-ensure-safe-dir): Consider server directory
12870 safe on MS-Windows if its owner is the Administrators group while
12871 the current Emacs user is Administrator. Use `=' to compare
12872 numerical UIDs, since they could be integers or floats.
12874 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12876 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12878 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12880 Sync with Tramp 2.2.1.
12882 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12884 * net/trampver.el: Update release number.
12886 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12888 * progmodes/compile.el (compilation--previous-directory): Fix up
12889 various nil/dead-marker mismatches (bug#8014).
12890 (compilation-directory-properties, compilation-error-properties):
12891 Don't call it at a position past the one we're about to change.
12893 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12894 Disable obsolescence warnings in the file that declares it.
12896 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12898 * allout-widgets.el (allout-widgets-tally):
12899 Initialize allout-widgets-tally as a hash table rather than nil to
12900 prevent mode-line redisplay warnings. Also, clarify the module
12901 description and fix a comment typo.
12903 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12905 * help-fns.el (describe-variable): Don't complete keywords.
12906 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12908 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12910 * emacs-lisp/package.el (package-version-join): Impose a standard
12911 string representation for pre/alpha/beta version lists.
12912 (package-unpack-single): Standardize the directory name by passing
12913 it through package-version-join.
12914 (package-strip-rcs-id): Accept any version string that does not
12915 signal an error in version-to-list.
12917 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12919 * simple.el (delete-trailing-whitespace): Return nil for the
12920 benefit of `write-file-functions'.
12922 2011-03-10 Glenn Morris <rgm@gnu.org>
12924 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12926 * vc/vc-git.el (vc-git-program): New option.
12927 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12928 (vc-git--call): Use it.
12930 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12932 * cus-edit.el (Custom-newline): If no button at point, look
12933 for a subgroup button at start-of-line. (Bug#2298)
12935 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12937 2011-03-10 Julien Danjou <julien@danjou.info>
12939 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12940 `cursor-type' is nil.
12942 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12944 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12946 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12948 * allout.el: Change so yank of distinctive-bullet items
12949 preserves the existing header prefix, rebulleting it if necessary,
12950 rather than replacing it. This is necessary for proper operation
12951 of cooperative addons like allout-widgets.
12952 (allout-make-topic-prefix, allout-rebullet-heading):
12953 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12954 value as alternate bullet to be used, instead of prompting the user
12955 for a bullet character.
12957 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12960 Do not use `tramp-file-name-port', because this returns also
12961 `tramp-default-port'.
12963 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12965 * net/rcirc.el (rcirc-handler-001): Remove useless
12966 with-rcirc-process-buffer.
12967 (rcirc-check-auth-status): Swap arguments to string-match.
12969 2011-03-09 Glenn Morris <rgm@gnu.org>
12971 * shell.el (shell-mode):
12972 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12974 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12975 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12977 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12979 * emacs-lisp/package.el (package-refresh-contents)
12980 (package-menu-execute): Use condition-case-no-debug.
12982 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12984 * simple.el (shell-command-to-string): Use `process-file'.
12986 * emacs-lisp/package.el (package-tar-file-info): Handle also
12989 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12990 Use `equal' for upload base check.
12992 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12994 * textmodes/texinfo.el (texinfo-environments):
12995 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12997 2011-03-08 Glenn Morris <rgm@gnu.org>
12999 * cus-start.el (cursor-in-non-selected-windows):
13000 Fix :set quoting oddness. (Bug#8192)
13002 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13003 in some setf expressions. (Bug#2159)
13005 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13007 * custom.el (custom-available-themes): Return themes in
13008 alphabetical order.
13010 See ChangeLog.15 for earlier changes.
13012 ;; Local Variables:
13016 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13018 This file is part of GNU Emacs.
13020 GNU Emacs is free software: you can redistribute it and/or modify
13021 it under the terms of the GNU General Public License as published by
13022 the Free Software Foundation, either version 3 of the License, or
13023 (at your option) any later version.
13025 GNU Emacs is distributed in the hope that it will be useful,
13026 but WITHOUT ANY WARRANTY; without even the implied warranty of
13027 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13028 GNU General Public License for more details.
13030 You should have received a copy of the GNU General Public License
13031 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.