1 2012-04-27 Chong Yidong <cyd@gnu.org>
3 * subr.el (read-key): Avoid running filter function when setting
4 up temporary tool bar entries (Bug#9922).
6 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11 2012-04-27 Chong Yidong <cyd@gnu.org>
13 * select.el (xselect--encode-string): New function, split from
14 xselect-convert-to-string.
15 (xselect-convert-to-string): Use it.
16 (xselect-convert-to-filename, xselect-convert-to-os)
17 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
18 returned strings are properly encoded (Bug#11315).
20 2012-04-27 Chong Yidong <cyd@gnu.org>
22 * simple.el (delete-active-region): Move to killing custom group.
24 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
26 * progmodes/which-func.el (which-func-current): Quote %
27 characters for mode-line processing.
29 2012-04-21 Chong Yidong <cyd@gnu.org>
31 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
32 reaching eob (Bug#11286).
34 2012-04-27 Eli Zaretskii <eliz@gnu.org>
36 * progmodes/gdb-mi.el (gdb-control-level): New variable.
37 (gdb): Make it buffer-local and init to zero.
38 (gdb-control-commands-regexp): New variable.
39 (gdb-send): Don't wrap in "-interpreter-exec console" if
40 gdb-control-level is positive. Increment gdb-control-level
41 whenever the command matches gdb-control-commands-regexp, and
42 decrement it each time the command is "end". (Bug#11279)
44 2012-04-27 Martin Rudalics <rudalics@gmx.at>
46 * window.el (adjust-window-trailing-edge, enlarge-window)
47 (shrink-window, window-resize):
48 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
51 2012-04-27 Chong Yidong <cyd@gnu.org>
53 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
54 fix "missing prefix" warning. All callers changed.
56 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
58 * emacs-lisp/assoc.el: Move to obsolete/.
60 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
64 * term/ns-win.el (ns-define-service):
65 * progmodes/pascal.el (pascal-goto-defun):
66 * progmodes/js.el (js--read-tab):
67 * progmodes/etags.el (tags-lazy-completion-table):
68 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
69 * emacs-lisp/ewoc.el (ewoc--wrap):
70 * emacs-lisp/assoc.el (aput, adelete, amake):
71 * doc-view.el (doc-view-convert-current-doc):
72 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
74 2012-04-26 Chong Yidong <cyd@gnu.org>
76 * image.el (image-type-from-buffer): Only return supported image
79 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
80 value, for symmetry with diff-end-of-hunk.
81 (diff-split-hunk, diff-find-source-location)
82 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
83 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
84 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
85 compute the relevant hunk or file properly (Bug#6005).
86 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
88 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
97 * vc/vc.el: Replace lexical-let by lexical-binding.
98 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
99 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
100 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
102 2012-04-26 Chong Yidong <cyd@gnu.org>
104 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
105 (diff-mode-shared-map): Bind it to / and [remap undo].
107 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
108 (ediff-window-setup-function): Use it as the default, to set up
109 windows based on whether the current frame is graphical (Bug#2138).
110 (ediff-choose-window-setup-function-automatically): Make obsolete.
112 * vc/ediff-init.el: Always define ediff-pixel-width/height.
114 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
116 * ffap.el: Remove old code for obsolete package.
117 (ffap-complete-as-file-p): Remove.
119 Use completion-table-with-quoting for comint and pcomplete.
120 * comint.el (comint--unquote&requote-argument)
121 (comint--unquote-argument, comint--requote-argument): New functions.
122 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
123 (comint-quote-filename): Use regexp-opt-charset.
124 (comint--common-suffix, comint--common-quoted-suffix)
125 (comint--table-subvert): Remove.
126 (comint-unquote-function, comint-requote-function): New vars.
127 (comint--complete-file-name-data): Use them with
128 completion-table-with-quoting.
129 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
130 * pcomplete.el (pcomplete-arg-quote-list)
131 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
132 (pcomplete-unquote-argument-function): Default to non-nil.
133 (pcomplete-unquote-argument): Simplify.
134 (pcomplete--common-quoted-suffix): Remove.
135 (pcomplete-requote-argument-function): New var.
136 (pcomplete--common-suffix): New function.
137 (pcomplete-completions-at-point): Use completion-table-with-quoting
138 and completion-table-subvert.
140 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
141 (minibuffer--double-dollars): Preserve properties.
142 (completion--sifn-requote): New function.
143 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
145 * minibuffer.el: Add support for completion of quoted/escaped data.
146 (completion-table-with-quoting, completion-table-subvert): New funs.
147 (completion--twq-try, completion--twq-all): New functions.
148 (completion--nth-completion): New function.
149 (completion-try-completion, completion-all-completions): Use it.
151 2012-04-25 Leo Liu <sdl.web@gmail.com>
153 * progmodes/python.el (python-pdbtrack-get-source-buffer):
154 Use compilation-message if available to find real filename.
156 2012-04-25 Chong Yidong <cyd@gnu.org>
158 * vc/diff-mode.el (diff-setup-whitespace): New function.
161 * vc/diff.el (diff-sentinel):
162 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
163 Whitespace mode variables based on diff style (Bug#8612).
165 2012-04-25 Leo Liu <sdl.web@gmail.com>
167 * progmodes/python.el (python-send-region): Add suffix .py to the
170 * files.el (auto-mode-alist): Use javascript-mode instead.
172 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
174 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
176 * soap-client.el (soap-resolve-references-for-sequence-type)
177 (soap-resolve-references-for-array-type): Hack to prevent self
178 references, see Bug#9.
179 (soap-parse-envelope): Report the contents of the 'detail' node
180 when receiving a fault reply.
181 (soap-parse-envelope): Report the contents of the entire 'detail' node.
183 * soap-inspect.el (soap-sample-value-for-simple-type)
184 (soap-inspect-simple-type): New function.
186 * soap-client.el (soap-simple-type): New struct.
187 (soap-default-xsd-types, soap-default-soapenc-types)
188 (soap-decode-basic-type, soap-encode-basic-type):
189 support unsignedInt and double basic types.
190 (soap-resolve-references-for-simple-type)
191 (soap-parse-simple-type, soap-encode-simple-type): New function.
192 (soap-parse-schema): Parse xsd:simpleType declarations.
194 * soap-client.el (soap-default-xsd-types)
195 (soap-default-soapenc-types): Add integer, byte and anyURI types.
196 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
197 the local name of "soapenc:Array".
198 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
199 decoding integer, byte and anyURI xsd types.
201 2012-04-25 Chong Yidong <cyd@gnu.org>
203 * cus-edit.el (custom-buffer-create-internal): Update header text.
205 2012-04-25 Eli Zaretskii <eliz@gnu.org>
207 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
208 settings on 'system-type', not on 'window-system'. On MS-Windows,
209 set interactive-mode on in GDB.
211 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
213 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
214 (ruby-syntax-propertize-regexp): Remove.
215 (ruby-syntax-propertize-function): Split regexp into chunks.
216 Match following code directly.
218 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
220 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
221 (ruby-syntax-propertize-regexp): New function.
222 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
223 by a special keyword.
225 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
226 (ruby-syntax-general-delimiters-goto-beg)
227 (ruby-syntax-propertize-general-delimiters): New functions.
228 (ruby-syntax-propertize-function): Use them to handle GDL.
229 (ruby-font-lock-keywords): Move old handling of GDL...
230 (ruby-font-lock-syntactic-keywords): .. to here.
231 (ruby-calculate-indent): Adjust indentation for GDL.
233 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
235 * notifications.el (top): Remove unneeded declarations.
236 (notifications-specification-version): Change to "1.2".
237 (notifications-interface, notifications-notify-method)
238 (notifications-close-notification-method): Fix docstring.
239 (notifications-get-capabilities-method): New defconst.
240 (notifications-notify): Add :action-items, :resident and
241 :transient hints. Change "image_data" to "image-data" and
242 "image_path" to "image-path".
243 (notifications-get-capabilities): New defun.
245 2012-04-24 Leo Liu <sdl.web@gmail.com>
247 * progmodes/python.el: Move hideshow setup to the end.
249 2012-04-24 Martin Rudalics <rudalics@gmx.at>
251 * window.el (handle-select-window): Clear echo area since this is
252 no more done by read_char (Bug#11304).
254 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
256 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
257 and `/ M' to filter-derived-mode.
258 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
259 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
260 (ibuffer-mark-by-mode): Use default rather than initial-input.
261 (ibuffer-filter-by-derived-mode): Autoload and require-match.
263 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
265 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
266 (ibuffer-filter-by-derived-mode): New filter.
267 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
269 2012-04-23 Andreas Politz <politza@fh-trier.de>
271 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
273 2012-04-23 Chong Yidong <cyd@gnu.org>
275 * cus-edit.el (customize-apropos, customize-apropos-options):
276 Disable matching of non-option variables (Bug#11176).
277 (customize-option, customize-option-other-window)
278 (customize-changed-options): Doc fix.
279 (customize-apropos-options, customize-apropos-faces)
280 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
282 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
283 Fix word list splitting (Bug#11132).
284 (apropos-symbol, apropos-keybinding, apropos-label)
285 (apropos-property, apropos-function-button)
286 (apropos-variable-button, apropos-misc-button): New faces.
287 (apropos-symbol-face, apropos-keybinding-face)
288 (apropos-label-face, apropos-property-face, apropos-match-face):
289 Variables removed (Bug#8396).
290 (apropos-library-button, apropos-format-plist, apropos-print)
291 (apropos-print-doc, apropos-describe-plist): Callers changed.
293 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
295 * net/xesam.el (xesam-mode-map): Use let-bound map in
296 initialization. (Bug#11292)
298 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
300 Preserve ispell session localwords when switching back to
303 * ispell.el (ispell-buffer-session-localwords): New buffer-local
304 variable to hold buffer session localwords.
305 (ispell-kill-ispell): add option 'clear to delete session
307 (ispell-command-loop, ispell-change-dictionary)
308 (ispell-buffer-local-words): Preserve session localwords when
311 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
312 Preserve session localwords when needed.
314 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
316 * ispell.el (ispell-insert-word) Remove unneeded function using
317 obsolete `translation-table-for-input'.
318 (ispell-word, ispell-process-line, ispell-complete-word):
319 Use plain `insert' instead of removed `ispell-insert-word'.
321 2012-04-22 Chong Yidong <cyd@gnu.org>
323 * cus-edit.el (custom-variable-menu)
324 (custom-variable-reset-saved, custom-face-menu)
325 (custom-face-reset-saved): If there is no saved value, make the
326 "reset-saved" operation bring back the default (Bug#9509).
327 (custom-face-state): Properly detect themed faces.
329 * faces.el (face-spec-set): Stop supporting deprecated form of
332 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
334 Move functions from C to Lisp. Make non-blocking method calls
335 the default. Implement further D-Bus standard interfaces.
337 * net/dbus.el (dbus-message-internal): Declare function.
338 Remove unneeded function declarations.
339 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
340 (dbus-message-type-method-return, dbus-message-type-error)
341 (dbus-message-type-signal): Declare variables. Remove local
343 (dbus-interface-dbus, dbus-interface-peer)
344 (dbus-interface-introspectable, dbus-interface-properties)
345 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
347 (dbus-interface-objectmanager): New defconst.
348 (dbus-call-method, dbus-call-method-asynchronously)
349 (dbus-send-signal, dbus-method-return-internal)
350 (dbus-method-error-internal, dbus-register-service)
351 (dbus-register-signal, dbus-register-method): New defuns, moved
353 (dbus-call-method-handler, dbus-setenv)
354 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
356 (dbus-call-method-non-blocking): Make it an obsolete function.
357 (dbus-unregister-object, dbus-unregister-service)
358 (dbus-handle-event, dbus-register-property)
359 (dbus-property-handler): Obey the new structure of
360 `bus-registered-objects'.
361 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
362 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
363 Use `dbus-call-method'.
365 2012-04-22 Chong Yidong <cyd@gnu.org>
367 * cus-edit.el (custom-commands, custom-reset-menu)
368 (Custom-reset-standard): Tweak labels.
369 (custom-reset-button-menu): Change default to t.
370 (custom-buffer-create-internal): For the custom-reset-button-menu
371 case, put the revert button first.
372 (custom-group-subtitle): New face.
373 (custom-group-value-create): Align docstring to a specific column.
375 * wid-edit.el (widget-documentation-link-add): Don't handle
376 indentation in this function.
377 (widget-documentation-string-indent-to): New function.
378 (widget-documentation-string-value-create): Use it.
380 * autorevert.el (auto-revert):
381 * epg-config.el (epg):
382 * ibuffer.el (ibuffer):
385 * eshell/eshell.el (eshell):
386 * net/ange-ftp.el (ange-ftp):
387 * progmodes/ebnf2ps.el (postscript):
388 * progmodes/flymake.el (flymake):
389 * progmodes/prolog.el (prolog):
390 * progmodes/verilog-mode.el (verilog-mode):
391 * progmodes/which-func.el (which-func):
392 * term/xterm.el (xterm):
393 * textmodes/picture.el (picture):
394 * textmodes/tildify.el (tildify):
395 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
396 customization buffers.
398 2012-04-22 Alan Mackenzie <acm@muc.de>
400 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
401 Adding a ) can hide the resulting (..) from searches. Fix it.
402 Bound the backward search to the position of the existing (.
404 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
406 * progmodes/verilog-mode.el (verilog-mode): Check whether
407 which-func-modes is t before adding verilog-mode.
408 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
410 2012-04-21 Leo Liu <sdl.web@gmail.com>
412 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
414 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
416 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
417 filling of the last column of a table (Bug#5635).
418 (woman-find-next-control-line): New arg, specifying an additional
419 regexp component for the control line.
420 (woman2-roff-buffer): Use it.
421 (woman-break-table): New function.
424 2012-04-21 Chong Yidong <cyd@gnu.org>
426 * woman.el (woman-set-buffer-display-table, woman-decode-region)
427 (woman-horizontal-escapes, woman-negative-vertical-space)
428 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
429 (WoMan-warn-ignored): Use ?\s instead of ?\ .
431 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
433 * minibuffer.el (completion-file-name-table): Complete user names.
435 2012-04-20 Leo Liu <sdl.web@gmail.com>
437 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
440 2012-04-20 Chong Yidong <cyd@gnu.org>
442 * server.el (server-execute): Respect initial-buffer-choice if it
443 is a string and there are no files to open (Bug#2825).
444 (server-create-window-system-frame, server-create-tty-frame):
445 Don't switch buffers here.
446 (server-process-filter): Only try to open a window system frame if
447 compiled with graphical support (Bug#8314).
449 2012-04-20 Dan Nicolaescu <dann@gnu.org>
451 * battery.el (battery-echo-area-format): Display remaining time
452 for sysfs backend too (Bug#11269).
453 (battery-linux-sysfs): Fix conditional for the charge.
455 2012-04-20 Chong Yidong <cyd@gnu.org>
457 * progmodes/gdb-mi.el (gdb): Revert previous change.
458 (gdb-inferior-io--init-proc): New function.
459 (gdb-init-1): Use it.
460 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
461 responsible for allocating a new pty and hooking it to gdb when
462 the old pty gets an EIO due to process exit.
463 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
464 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
465 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
467 2012-04-20 Eli Zaretskii <eliz@gnu.org>
469 * window.el (window-min-size, window-sizable, window-min-delta)
470 (window-max-delta, window--resizable, window-resizable)
471 (window-total-size, window-full-height-p, window-full-width-p)
472 (window-in-direction, window--resize-mini-window, window-resize)
473 (window--resize-child-windows-normal)
474 (window--resize-child-windows, window--resize-siblings)
475 (window--resize-this-window, adjust-window-trailing-edge)
476 (enlarge-window, shrink-window): Doc fixes.
478 2012-04-20 Chong Yidong <cyd@gnu.org>
480 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
481 New function to call delete-process on the gdb-inferior buffer's pty.
482 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
483 pty process (Bug#11273).
484 (gdb-update): New arg to suppress talking to the gdb process.
485 (gdb-done-or-error): Use it.
486 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
487 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
488 sentinel not being called.
490 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
492 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
494 2012-04-20 Glenn Morris <rgm@gnu.org>
496 * net/network-stream.el (open-network-stream): Doc fix.
498 2012-04-20 Chong Yidong <cyd@gnu.org>
500 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
502 2012-04-20 Alan Mackenzie <acm@muc.de>
504 Ensure searching for keywords is case sensitive.
506 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
507 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
508 (c-defun-name, c-mark-function, c-cpp-define-name)
509 (c-comment-indent, c-scan-conditionals, c-indent-defun)
510 (c-context-line-break): Bind case-fold-search to nil.
512 * progmodes/cc-mode.el (c-font-lock-fontify-region):
513 Bind case-fold-search to nil.
515 2012-04-20 Chong Yidong <cyd@gnu.org>
517 * mail/sendmail.el (mail-bury): Call return action with the right
518 Rmail buffer (Bug#11242).
520 * server.el (server-process-filter): Handle corner case where both
521 tty and nowait options are present (Bug#11102).
523 2012-04-20 Eli Zaretskii <eliz@gnu.org>
525 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
526 (top level): Put into the executable the ident-style '$Id:' tag on
529 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
531 * electric.el (electric-indent-post-self-insert-function): Check that
532 electric-indent-mode is enabled in current buffer.
534 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
536 * imenu.el (imenu-progress-message): Restore; it is "used" in
537 erc/erc-imenu.el and net/snmp-mode.el.
539 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
541 * avoid.el (mouse-avoidance-mode): Mark unused arg.
542 (mouse-avoidance-nudge-mouse): Remove unused binding.
544 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
546 * descr-text.el (describe-char):
547 * progmodes/python.el (python-describe-symbol):
548 Don't call `toggle-read-only', set `buffer-read-only'.
550 * imenu.el (imenu-default-goto-function): Mark unused args.
551 (imenu-progress-message): Remove obsolete macro; all callers changed.
553 * subr.el (keymap-canonicalize): Remove unused binding.
554 (read-passwd): Mark unused arg.
556 * tutorial.el (tutorial--display-changes): Remove unused binding.
557 (tutorial--save-tutorial-to): Remove unused variable.
559 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
560 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
561 (package-generate-autoloads, package-menu--generate)
562 (package-menu--find-upgrades): Remove unused bindings.
564 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
565 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
566 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
567 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
568 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
569 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
570 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
571 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
572 (cua-delete-char-rectangle): Mark unused args.
573 (cua-align-rectangle): Remove unused binding.
575 * mail/rmail.el (compilation--message->loc)
576 (epa--find-coding-system-for-mime-charset): Declare.
578 * net/dbus.el (dbus-register-service): Declare.
579 (dbus-name-owner-changed-handler): Remove unused binding.
581 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
582 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
583 (nxml-scan-backward-within): Mark unused arg.
584 (nxml-dynamic-markup-word): Remove unused binding.
586 * mouse.el (mouse-menu-major-mode-map):
587 * emacs-lisp/authors.el (authors-scan-change-log)
588 (authors-add-to-author-list):
589 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
590 * emacs-lisp/smie.el (smie-auto-fill):
591 * mail/sendmail.el (mail-bury):
592 * mail/unrmail.el (unrmail):
593 * net/tls.el (open-tls-stream):
594 * textmodes/picture.el (picture-mouse-set-point):
595 Remove unused bindings.
597 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
599 * net/tramp.el (tramp-action-password): Let-bind
600 `enable-recursive-minibuffers' to t.
602 2012-04-18 Sam Steingold <sds@gnu.org>
604 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
605 instead of 'string to accommodate values like [f11].
606 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
607 * progmodes/gdb-mi.el: Likewise.
609 2012-04-18 Leo Liu <sdl.web@gmail.com>
611 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
613 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
616 2012-04-18 Chong Yidong <cyd@gnu.org>
618 * simple.el (line-move): Use forward-line if in batch mode
621 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
623 * files.el (after-find-file): Do not try to add a final newline if
624 the buffer is read-only (Bug#11156).
626 2012-04-17 Richard Stallman <rms@gnu.org>
628 * mail/rmail.el (rmail-start-mail):
629 Pass (rmail-mail-return...) for the return-action.
630 Pass (rmail-yank-current-message...) for the yank-action.
631 (rmail-yank-current-message): New function.
632 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
633 (rmail-reply): Likewise.
634 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
636 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
637 buffer, not the last. Reject temp buffers. Use the rmail-mode
640 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
642 * server.el (server-ensure-safe-dir): Simplify.
644 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/smie.el: Provide smarter auto-filling.
647 (smie-auto-fill): New function.
648 (smie-setup): Use it.
650 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
652 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
654 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
655 (comment-indent): Use it.
657 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
659 * ses.el: The overall change is to add cell renaming, that is
660 setting fancy names for cell symbols other than name matching
661 "\\`[A-Z]+[0-9]+\\'" regexp .
662 (ses-localvars): Add ses--renamed-cell-symb-list.
663 (ses-create-cell-variable): New defun.
664 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
665 (ses-relocate-formula): Relocate formulas only for cells the
666 symbols of which are not renamed, i.e. symbols whose names do not
667 match regexp "\\`[A-Z]+[0-9]+\\'".
668 (ses-relocate-all): Relocate values only for cells the symbols of
669 which are not renamed.
670 (ses-load): Create cells variables as the (ses-cell ...) are read,
671 in order to check row col consistency with cell symbol name only
672 for cells that are not renamed.
673 (ses-replace-name-in-formula): New defun.
674 (ses-rename-cell): New defun.
676 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
678 * progmodes/perl-mode.el (perl-indent-parens-as-block):
679 New option (bug#11118).
680 (perl-calculate-indent): Respect it.
682 2012-04-17 Glenn Morris <rgm@gnu.org>
684 * dired-aux.el (dired-mark-read-string): Doc fix.
686 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
688 * dired-aux.el (dired-mark-read-string): Offer optional completion.
689 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
691 2012-04-17 Glenn Morris <rgm@gnu.org>
693 * mouse.el (mouse-drag-track):
694 * speedbar.el (speedbar-frame-mode):
695 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
697 2012-04-16 Leo Liu <sdl.web@gmail.com>
699 * progmodes/python.el: Trivial cleanup.
701 2012-04-16 Glenn Morris <rgm@gnu.org>
703 * vc/vc.el (vc-string-prefix-p):
704 * vc/pcvs-util.el (cvs-string-prefix-p):
705 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
706 * mpc.el (mpc-string-prefix-p):
707 Make all of these into obsolete aliases for string-prefix-p.
709 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
711 * textmodes/two-column.el: Move custom options to the start.
712 (frame-width): Remove compat definition.
713 (2C-associate-buffer, 2C-dissociate):
714 Use with-current-buffer rather than save-excursion.
715 (2C-dissociate): Force a mode-line update.
716 (2C-autoscroll): Use ignore-errors.
718 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
721 * emacs-lisp/cl-extra.el (*random-state*):
722 Remove unnecessary declaration.
724 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
726 * play/cookie1.el (cookie-snarf):
727 Give an explicit error if input file cannot be read.
729 * play/yow.el (yow-file): Use expand-file-name rather than concat.
731 * progmodes/perl-mode.el (c-macro-expand):
732 Remove unnecessary autoload (it is in loaddefs.el).
734 * textmodes/picture.el (picture-desired-column)
735 (picture-update-desired-column): Convert comments to doc-strings.
736 (picture-substitute): Remove function.
737 (picture-mode-map): Initialize in the defvar.
739 * woman.el: Remove eval-after-load for tar-mode.
740 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
741 (woman-tar-extract-file): Autoload it.
743 * frame.el (automatic-hscrolling): Make this alias obsolete.
745 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
747 * ispell.el (ispell-set-spellchecker-params): Post-process
748 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
749 (ispell-dictionary-base-alist): Revert to original XEmacs
750 friendly version for default. [:alpha:] will be added in
751 `ispell-set-spellchecker-params' if needed
753 2012-04-16 Chong Yidong <cyd@gnu.org>
755 * image.el (imagemagick--extension-regexp): New variable.
756 (imagemagick-register-types): Use it.
757 (imagemagick-types-inhibit): Add :set function. Allow new value
758 of t to inhibit all types.
760 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
761 so we can preload it.
763 * loadup.el (fboundp): Preload regexp-opt, needed by
764 imagemagick-register-types.
766 2012-04-15 Chong Yidong <cyd@gnu.org>
768 * frame.el (scrolling): Remove nearly unused customization group.
770 * scroll-all.el (scroll-all-mode): Move to windows group.
772 2012-04-15 Chong Yidong <cyd@gnu.org>
774 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
776 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
778 Avoid the use of ((lambda ...) ...) in lexical-binding code.
779 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
781 2012-04-15 Glenn Morris <rgm@gnu.org>
783 * simple.el (process-file-side-effects): Doc fix.
785 2012-04-15 Glenn Morris <rgm@gnu.org>
787 * international/mule-cmds.el (set-language-environment): Doc fix.
789 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
791 * server.el (server-auth-key, server-generate-key): Doc fixes.
792 (server-get-auth-key): Doc fix. Use `string-match-p'.
793 (server-start): Reflow docstring.
795 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
797 * server.el (server-generate-key): `called-interactively-p'
798 requires a parameter.
800 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
802 * server.el (server-auth-key): New variable.
803 (server-generate-key, server-get-auth-key): New function.
804 (server-start): Use the new variable and functions to allow
805 setting a permanent server key (bug#9423).
807 2012-04-14 Leo Liu <sdl.web@gmail.com>
809 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
811 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
814 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
815 Emacs uses American spelling.
817 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
819 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
820 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
821 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
822 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
824 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
826 * progmodes/which-func.el (which-func-modes): Change default.
828 2012-04-14 Kim F. Storm <storm@cua.dk>
830 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
831 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
833 2012-04-14 Chong Yidong <cyd@gnu.org>
835 * custom.el (custom-theme-set-variables): Doc fix.
837 2012-04-14 Glenn Morris <rgm@gnu.org>
839 * international/mule.el (set-auto-coding-for-load): Doc fix.
841 2012-04-14 Alan Mackenzie <acm@muc.de>
843 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
844 imenu work again for Objective C Mode. Correct the *-index values,
845 these having been disturbed by a previous change in 2011-08.
847 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
848 Correct two search limits.
850 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
852 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
854 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
856 * international/characters.el: Fix sorting.
858 2012-04-14 Eli Zaretskii <eliz@gnu.org>
860 * international/characters.el: Add more missing Latin case pairs.
862 2012-04-14 Glenn Morris <rgm@gnu.org>
864 * files.el (dir-locals-set-class-variables): Doc fix.
866 2012-04-14 Eli Zaretskii <eliz@gnu.org>
868 * international/characters.el: Add set-case-syntax-pair call for
869 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
870 counterpart. (Bug#11209)
872 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
874 2012-04-14 Glenn Morris <rgm@gnu.org>
876 * calendar/holidays.el (calendar-check-holidays): Doc fix.
878 2012-04-14 Eli Zaretskii <eliz@gnu.org>
880 * textmodes/ispell.el (ispell-dictionary-base-alist):
883 2012-04-14 Chong Yidong <cyd@gnu.org>
885 * net/rcirc.el (rcirc-cmd-quit):
886 Revert 2012-03-18 change (Bug#11192).
888 2012-04-14 Glenn Morris <rgm@gnu.org>
890 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
892 2012-04-14 Eli Zaretskii <eliz@gnu.org>
894 * minibuffer.el (completion-in-region-mode-map):
895 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
897 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
899 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
901 2012-04-13 Masatake YAMATO <yamato@redhat.com>
903 * minibuffer.el (minibuffer-local-filename-syntax): New variable
904 to allow `C-M-f' and `C-M-b' to move to the nearest path
905 separator (bug#9511).
907 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
909 * avoid.el: Require cl when compiling. And also move the
910 `provide' to the end.
912 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
914 * avoid.el (mouse-avoidance-banish-position): New variable.
915 (mouse-avoidance-banish-destination): Use it (bug#10165).
917 2012-04-13 Leo Liu <sdl.web@gmail.com>
919 * progmodes/which-func.el (which-func-modes): Add objc-mode.
921 2012-04-13 Ken Brown <kbrown@cornell.edu>
923 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
924 this is no longer needed now that cygstart understands file:// URLs.
925 (browse-url-filename-alist): For the same reason, don't modify
926 file:// URLs on Cygwin.
928 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
930 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
931 the region on shift if the binding is already shifted (bug#11221).
933 2012-04-12 Glenn Morris <rgm@gnu.org>
935 * mail/mailpost.el: Move to obsolete/.
937 2012-04-12 Drew Adams <drew.adams@oracle.com>
939 * imenu.el (imenu--generic-function): Ignore invisible definitions
942 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
944 * hexl.el (hexl-bits): New variable.
945 (hexl-options): Mention the variable in the doc string.
946 (hexl-rulerise, hexl-line-displen): New functions.
947 (hexl-mode): Mention the new variable.
948 (hexl-mode, hexl-current-address, hexl-current-address):
950 (hexl-ascii-start-column): New function.
951 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
952 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
954 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
956 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
957 '("-i" ENCODING), in 2 separate command-line arguments, to specify
958 the encoding, as expected by hunspell.
960 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
962 * battery.el (battery--linux-sysfs-regexp): New const.
963 (battery-status-function): Use it. Remove yeeloong special case.
964 (battery-yeeloong-sysfs): Remove.
965 (battery-echo-area-format): Remove yeeloong special case.
967 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
969 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
970 Reported by Noah Friedman.
972 * subr.el (read-passwd): Use read-string.
974 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
976 * vcursor.el (vcursor-move): Increase the priority of the overlay
979 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
981 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
982 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
984 2012-04-11 William Stevenson <yhvh2000@gmail.com>
986 * textmodes/artist.el (artist-mode): Convert artist-mode to use
987 define-minor-mode (bug#10760).
989 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
991 * progmodes/grep.el (rgrep): Tweak the find command line so
992 that directories matching `grep-find-ignored-files' won't be
995 2012-04-11 Chong Yidong <cyd@gnu.org>
997 * startup.el (command-line): Remove support for long-obsolete
998 variable font-lock-face-attributes.
1000 2012-04-11 Glenn Morris <rgm@gnu.org>
1002 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1004 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * window.el (window--state-get-1): Obey window-point-insertion-type.
1008 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1010 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1011 to previous function when point is on the first character of a
1012 function. Take care of that in `narrow-to-defun' (bug#6157).
1014 2012-04-11 Glenn Morris <rgm@gnu.org>
1016 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1017 not just file-errors.
1019 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1020 (vc-bzr-sha1): Use internal sha1.
1022 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1026 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1028 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1029 that start in the middle of the line (bug#10496).
1031 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1033 * battery.el (battery-linux-proc-acpi): Only one battery is
1034 discharged at a time, but that seems to confuse battery.el when
1035 computing `rate-type' for the battery not being discharged
1038 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1042 * international/quail.el: Use dolist and simplify.
1043 (quail-define-package, quail-update-keyboard-layout)
1044 (quail-define-rules): Use dolist.
1045 (quail-insert-kbd-layout, quail-get-translation): CSE.
1047 * tmm.el: Use dolist, remove left over hook.
1048 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1050 (calendar-load-hook): Don't mess with it.
1052 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1053 Use derived-mode-p. Run the diff asynchronously.
1055 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1057 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1059 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1061 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1062 (list-dynamic-libraries--loaded): New function.
1063 (list-dynamic-libraries--refresh): Use it.
1065 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1067 * progmodes/python.el (python-fill-paragraph):
1068 Make python-fill-region in a multiline string work when font-lock is
1069 disabled (bug#7018).
1071 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1073 * language/european.el (cp775): Add oem/legacy (en)coding on
1074 DOS/MS Windows for the Baltic languages. There are still plenty
1075 of texts written in this encoding/codepage (bug#6519).
1077 2012-04-10 Glenn Morris <rgm@gnu.org>
1079 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1080 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1082 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1084 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1085 next-line "n" and previous-line "p" in order to make recentf more
1086 consistent with ibuffer, dired or org-mode (bug#9387).
1088 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1090 * image.el (put-image): Return the overlay created instead of the
1091 optional input string (bug#7834). Note that this may break code
1092 that is (for some reason or other) depending on `put-image'
1093 returning the string.
1095 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1097 * simple.el (zap-to-char): Allow zapping using input methods
1100 * textmodes/fill.el (fill-region): Leave point and mark where they
1101 were before filling (bug#5399).
1103 2012-04-09 Glenn Morris <rgm@gnu.org>
1105 * version.el (emacs-bzr-get-version):
1106 Handle lightweight checkouts of local branches.
1108 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1110 * international/characters.el: Recover lost case pairs. (Bug#11209)
1112 2012-04-09 Chong Yidong <cyd@gnu.org>
1114 * custom.el (custom-variable-p): Return nil for non-symbol
1115 arguments instead of signaling an error.
1116 (user-variable-p): Obsolete alias for custom-variable-p.
1118 * apropos.el (apropos-variable):
1119 * files-x.el (read-file-local-variable):
1120 * simple.el (set-variable):
1121 * woman.el (woman-mini-help):
1122 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1124 2012-04-09 Glenn Morris <rgm@gnu.org>
1126 * startup.el (normal-top-level): Don't look for leim-list.el
1127 in places where it will not be found. (Bug#910)
1129 * international/mule-cmds.el (set-default-coding-systems):
1130 * files.el (normal-mode):
1131 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1132 This function was removed with ucs-tables.el in 2008.
1134 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1136 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1137 ispell-encoding8-command to "-i", without a trailing space.
1138 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1139 separate command-line arguments, to specify the encoding, since
1140 that's how hunspell expects it.
1142 2012-04-08 Glenn Morris <rgm@gnu.org>
1144 * loadup.el: Load bindings before cus-start.
1145 This reduces somewhat the number of "rogue" settings in emacs -Q.
1147 2012-04-07 Glenn Morris <rgm@gnu.org>
1149 * version.el (emacs-bzr-get-version): New function.
1150 (emacs-bzr-version): New variable.
1151 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1152 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1154 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1156 * international/uni-bidi.el, international/uni-category.el:
1157 * international/uni-combining.el, international/uni-decimal.el:
1158 * international/uni-decomposition.el, international/uni-digit.el:
1159 * international/uni-lowercase.el, international/uni-mirrored.el:
1160 * international/uni-name.el, international/uni-numeric.el:
1161 * international/uni-titlecase.el, international/uni-uppercase.el:
1162 Update for Unicode 6.1.
1164 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1166 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1168 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1170 * window.el (shrink-window): Mention the `window-min-height'
1171 variable in the doc string.
1173 2012-04-05 Bastien Guerry <bzg@altern.org>
1175 * color.el (color-lighten-name): Fix typo.
1177 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * server.el (server--on-display-p): New function.
1180 (server--on-display-p): Use it.
1182 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1184 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1187 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * comint.el (comint--common-quoted-suffix): Check string boundary
1190 before comparing (bug#11158).
1191 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1193 2012-04-04 Chong Yidong <cyd@gnu.org>
1195 * minibuffer.el (completion-extra-properties): Doc fix.
1197 * subr.el (delayed-warnings-hook): Doc fix.
1199 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1201 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1202 selection (Bug#11159).
1203 (epa-insert-keys): Inform that the default public key will be
1204 exported if no key is selected.
1206 2012-04-04 Richard Stallman <rms@gnu.org>
1208 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1210 2012-04-03 Chong Yidong <cyd@gnu.org>
1212 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1213 mail-insert-file, not its obsolete alias mail-attach-file.
1215 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1217 * notifications.el (notifications-notify): Fix docstring.
1219 2012-04-02 Glenn Morris <rgm@gnu.org>
1221 * emacs-lisp/authors.el (authors-aliases): Another addition.
1223 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1225 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1226 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1227 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1229 2012-04-01 Chong Yidong <cyd@gnu.org>
1231 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1232 Handle root directory properly.
1233 (copy-directory): Caller changed.
1235 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1236 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1238 2012-03-31 Glenn Morris <rgm@gnu.org>
1240 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1242 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1244 * calendar/calendar.el (calendar-window-list)
1245 (calendar-hide-window): Restore. (Bug#11140)
1246 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1248 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1250 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1252 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1253 Check if file is a symlink (Bug#10489).
1255 * files.el (copy-directory): Likewise.
1257 2012-03-30 Chong Yidong <cyd@gnu.org>
1259 * image.el (imagemagick-types-inhibit)
1260 (imagemagick-register-types): Doc fix.
1262 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1264 * ispell.el (ispell-get-extended-character-mode):
1265 Disable extended-char-mode for hunspell. hunspell does not support it
1266 and treats ~word as ordinary words in pipe mode.
1268 2012-03-30 Glenn Morris <rgm@gnu.org>
1270 * tutorial.el (help-with-tutorial): Ensure local variables don't
1271 happen to make the buffer read-only. (Bug#11127)
1273 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1276 (perl-calculate-indent): Return `noindent' in strings.
1278 2012-03-28 Sam Steingold <sds@gnu.org>
1280 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1281 instead of the broken adhockery which does not prevent calendar
1282 buffers from being displayed at random after exit.
1283 (calendar-window-list, calendar-hide-window): Remove the broken
1286 2012-03-28 Glenn Morris <rgm@gnu.org>
1288 * replace.el (query-replace-map): Doc fix.
1290 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1292 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1293 contents. (Bug#11109)
1295 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1299 (avl-tree--check, avl-tree--check-node): New funs.
1301 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1303 * window.el (switch-to-visible-buffer): New option.
1304 (switch-to-prev-buffer, switch-to-next-buffer):
1305 Observe switch-to-visible-buffer. Make sure that checking for a window
1306 showing a buffer already is done on the same frame.
1308 2012-03-27 Glenn Morris <rgm@gnu.org>
1310 * startup.el (mail-host-address): Doc fix.
1312 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1317 2012-03-26 Ami Fischman <ami@fischman.org>
1319 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1321 2012-03-26 Glenn Morris <rgm@gnu.org>
1323 * files.el (save-buffers-kill-emacs): Doc fix.
1325 * startup.el (normal-top-level, command-line, command-line-1):
1326 Give them doc strings.
1328 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1330 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1331 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1333 2012-03-25 Chong Yidong <cyd@gnu.org>
1335 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1336 theme if it was previously enabled before (Bug#11031).
1338 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1339 spec with custom-face-get-current-spec if its :shown-value is not
1340 determined yet (Bug#9337).
1341 (customize-create-theme, custom-theme-revert): Doc fixes.
1343 * button.el (button-at): Minor addition to docstring.
1345 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1347 * vc/vc.el (vc-merge): Fix a prompt.
1349 2012-03-24 Chong Yidong <cyd@gnu.org>
1351 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1354 * button.el (button-at): Minor addition to docstring.
1356 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * newcomment.el (comment-choose-indent): No space after BOL.
1360 2012-03-22 Sam Steingold <sds@gnu.org>
1362 * window.el (switch-to-prev-buffer): Revert last patch because the
1363 bug turned out to be an advertised feature (Elisp manual 28.14).
1365 2012-03-22 Glenn Morris <rgm@gnu.org>
1367 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1368 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1370 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1372 * net/network-stream.el (network-stream-open-starttls): Make error
1373 message under Windows be less misleading.
1375 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1377 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1378 understands (bug#9942).
1380 2012-03-22 Chong Yidong <cyd@gnu.org>
1382 * simple.el (end-of-visible-line): Handle return value of
1383 next-single-property-change properly (Bug#9371).
1385 2012-03-22 Kenichi Handa <handa@m17n.org>
1387 * international/quail.el (quail-insert-kbd-layout): Fix previous
1388 change. To avoid unwanted bidi reordering, use
1389 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1391 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1393 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1394 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1395 (ruby-beginning-of-indent): Be more careful with the difference
1396 between word-boundary and symbol boundary.
1397 (ruby-mode-syntax-table): Make : a symbol constituent.
1399 2012-03-21 Andreas Politz <politza@fh-trier.de>
1401 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1403 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * progmodes/etags.el (tags-completion-at-point-function):
1408 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1410 2012-03-21 Sam Steingold <sds@gnu.org>
1412 * progmodes/etags.el (tags-completion-at-point-function):
1413 Avoid the error when point is inside the pattern.
1415 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1417 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1420 2012-03-21 Drew Adams <drew.adams@oracle.com>
1422 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1424 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1426 * ido.el (ido-set-current-directory, ido-read-internal)
1427 (ido-choose-completion-string, ido-completion-help): Handle nil
1428 value of ido-completion-buffer (Bug#11008).
1430 2012-03-21 Sam Steingold <sds@gnu.org>
1432 * window.el (switch-to-prev-buffer): Do not switch to a visible
1433 window previous buffer, just like with the frame previous buffers.
1435 2012-03-21 Chong Yidong <cyd@gnu.org>
1437 * faces.el (make-face, make-empty-face, copy-face):
1438 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1441 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1444 (widget-complete): Remove broken use of it.
1446 2012-03-20 Chong Yidong <cyd@gnu.org>
1448 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1449 Use string-width and truncate-string-width to handle arbitrary
1452 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1454 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1455 to draw rectangles, not squares. (Regression introduced by revno
1456 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1458 2012-03-18 Chong Yidong <cyd@gnu.org>
1460 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1461 it is not yet defined (for temacs).
1463 2012-03-18 Leo Liu <sdl.web@gmail.com>
1465 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1467 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1469 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1470 (ispell-choices-win-default-height, ispell-silently-savep)
1471 (ispell-dictionary-alist, ispell-encoding8-command)
1472 (ispell-check-version, ispell-aspell-find-dictionary)
1473 (ispell-valid-dictionary-list, ispell-words-keyword)
1474 (ispell-get-word, ispell-internal-change-dictionary)
1475 (ispell-region, ispell-skip-region-list)
1476 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1477 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1478 (ispell-message-text-end, ispell-message)
1479 (ispell-buffer-local-parsing): Doc fix.
1481 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1483 * htmlfontify.el: Add support for code block fontification for ODT
1485 (hfy-optimisations): Define new option
1487 (hfy-fontify-buffer): Honor above setting.
1488 (hfy-begin-span, hfy-end-span): New routines factored out form
1489 `hfy-fontify-buffer'.
1490 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1491 that permit insertion of custom tags.
1492 (hfy-fontify-buffer): Use above handlers.
1493 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1494 (hfy-face-to-css): Re-defined to be a variable.
1495 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1496 over multiple runs. This is made possible by having the caller let
1497 bind a special variable `hfy-user-sheet-assoc'.
1498 (htmlfontify-string): New defun.
1499 (hfy-compile-face-map): Make sure that the last char in the
1500 buffer is correctly fontified.
1501 (hfy-face-resolve-face): Whitespace only change.
1503 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1505 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1508 2012-03-16 Leo Liu <sdl.web@gmail.com>
1510 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1512 2012-03-16 Alan Mackenzie <acm@muc.de>
1514 Further optimise the handling of large macros.
1516 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1517 limit to a call of `c-literal-limits'.
1518 (c-determine-+ve-limit): New function.
1519 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1520 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1521 In CASE 5B, restrict a search limit to 500.
1522 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1524 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1525 Restrict macro bounds to +-500 from after-change's BEG END.
1527 2012-03-16 Leo Liu <sdl.web@gmail.com>
1529 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1531 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1533 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1534 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1536 2012-03-16 Glenn Morris <rgm@gnu.org>
1538 * view.el (view-buffer, view-buffer-other-window)
1539 (view-buffer-other-frame): Doc fixes re special mode-class.
1541 * subr.el (eval-after-load): If named feature is provided not from
1542 a file, run after-load forms. (Bug#10946)
1544 * calendar/calendar.el (calendar-insert-at-column):
1545 Handle non-unit-width characters a bit better. (Bug#10978)
1547 2012-03-15 Chong Yidong <cyd@gnu.org>
1549 * emacs-lisp/ring.el (ring-extend): New function.
1550 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1552 * comint.el (comint-read-input-ring)
1553 (comint-add-to-input-history): Grow comint-input-ring lazily.
1555 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1558 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1560 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1561 (imenu-add-to-menubar): Don't add a redundant index.
1562 (imenu-update-menubar): Handle a dynamically composed keymap.
1564 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1566 * mail/sendmail.el (mail-encode-header):
1567 Bind rfc2047-encode-encoded-words to nil.
1569 2012-03-13 Glenn Morris <rgm@gnu.org>
1571 * calendar/calendar.el (calendar-string-spread):
1572 Handle non-unit-width characters a bit better. (Bug#10978)
1574 2012-03-13 Leo Liu <sdl.web@gmail.com>
1576 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1577 directory and file as argument (Bug#10822).
1579 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1581 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1582 For dynamically generated code, follow $PC.
1583 (gdb-disassembly-handler-custom): Handle no function name case.
1585 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1587 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1588 * emulation/ws-mode.el (ws-query-replace):
1589 * sort.el (sort-regexp-fields):
1590 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1592 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * dabbrev.el: Fix cycle completion order (bug#10963).
1595 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1596 (dabbrev-completion): Don't use an obarray; provide
1597 a cycle-sort-function.
1599 2012-03-12 Leo Liu <sdl.web@gmail.com>
1601 * simple.el (kill-new): Use equal-including-properties for comparison.
1602 (kill-do-not-save-duplicates): Doc fix.
1604 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * dabbrev.el: Fix cycle completion (bug#10963).
1607 Use lexical binding and wrap to 80 columns.
1608 (dabbrev-completion): Delay computing the list of completions.
1610 2012-03-12 Kenichi Handa <handa@m17n.org>
1612 * international/quail.el (quail-insert-kbd-layout): Surround each
1613 row by LRO and PDF instead of inserting many LRMs. Pad the left
1614 and right of each non-spacing marks. Insert invisible space
1615 between lower and upper characters to prevent composition.
1617 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1619 * minibuffer.el (minibuffer-complete): Don't get confused when the
1620 function is run twice via different commands (bug#10958).
1621 (complete-with-action): Fix docstring.
1623 2012-03-12 Chong Yidong <cyd@gnu.org>
1625 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1626 (nxml-completion-at-point-function): New function.
1627 (nxml-mode): Use it.
1628 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1630 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1631 Load generated autoloads file before byte compiling (Bug#10970).
1632 (package--make-autoloads-and-compile): New helper fun.
1634 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1636 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1638 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1640 * autorevert.el (auto-revert-handler): Ensure, that
1641 file-readable-p is applied only for local files or in
1642 auto-revert-tail-mode.
1644 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1646 * server.el (server-eval-at): Handle non-tcp connections.
1647 Decode result string.
1649 * server.el (server-msg-size): New constant.
1650 (server-reply-print): New function.
1651 (server-eval-and-print): Use it.
1652 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1655 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1657 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1660 2012-03-11 Chong Yidong <cyd@gnu.org>
1662 * simple.el (goto-line): Doc fix (Bug#9938).
1664 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1666 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1667 when finished (Bug#10963).
1669 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1671 * window.el (split-window-below): Fix bug in case where
1672 split-window-keep-point is nil (Bug#10971).
1674 2012-03-11 Juri Linkov <juri@jurta.org>
1676 * replace.el (replace-highlight): Set isearch-word to nil
1677 unconditionally. (Bug#10887)
1679 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1681 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1682 mairix-replace-illegal-chars; all callers changed. Don't remove
1683 ^, ~, and = characters: they are meaningful in mairix search specs.
1684 (mairix-widget-create-query): Add usage information about mairix
1685 search forms: negating words, searching for substrings, etc.
1687 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1689 * international/fontset.el (font-encoding-alist): Add an entry for
1692 2012-03-10 Richard Stallman <rms@gnu.org>
1694 * mail/sendmail.el (mail-encode-header):
1695 Set rfc2047-encode-encoded-words.
1697 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1699 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1700 view buffer means not swapped.
1701 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1702 (rmail-write-region-annotate): Error if real text has disappeared.
1704 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1706 2012-03-10 Chong Yidong <cyd@gnu.org>
1708 * emulation/cua-rect.el (cua--init-rectangles):
1709 * emulation/cua-base.el (cua--init-keymaps):
1710 Add delete-forward-char to remappings (Bug#9666).
1712 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1714 * speedbar.el (speedbar-unhighlight-one-tag-line):
1715 Avoid unhighlighting due to frame switching (Bug#10275).
1717 2012-03-10 Chong Yidong <cyd@gnu.org>
1719 * minibuffer.el (completion-in-region, completion-help-at-point):
1720 Give the completion field overlay a high priority (Bug#6830).
1722 * dired.el (dired-goto-file): Recognize absolute file name
1723 listings (Bug#7126).
1724 (dired-goto-file-1): New helper function.
1725 (dired-toggle-read-only): Inhibit warnings.
1727 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1729 * net/dbus.el (dbus-property-handler): Return empty array if
1730 there are no properties.
1732 2012-03-09 Leo Liu <sdl.web@gmail.com>
1734 * savehist.el (savehist-printable): Stricter check for string
1737 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1739 * mail/smtpmail.el (smtpmail-send-it):
1740 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1743 2012-03-09 Glenn Morris <rgm@gnu.org>
1745 * files.el (dir-locals-find-file):
1746 Don't check result is regular, readable.
1747 (dir-locals-read-from-file): Demote errors.
1749 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1751 * international/quail.el (quail-insert-kbd-layout):
1752 Insert invisible LRM characters before each character in a keyboard
1753 layout cell, to prevent their reordering by bidi display engine.
1754 For details, see the discussion in
1755 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1757 2012-03-08 Alan Mackenzie <acm@muc.de>
1759 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1760 the starting position; make it extend the marked region when
1761 invoked repeatedly - all under appropriate circumstances.
1762 Fixes bugs #5525, #10906.
1764 2012-03-08 Glenn Morris <rgm@gnu.org>
1766 * files.el (locate-dominating-file, dir-locals-find-file):
1767 Undo 2012-03-06 change.
1769 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1771 * international/quail.el (quail-help):
1772 Force bidi-paragraph-direction be left-to-right. See discussion in
1773 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1776 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1778 Avoid superfluous registering of signals. (Bug#10807)
1780 * notifications.el (notifications-on-action-object)
1781 (notifications-on-close-object): New defvars.
1782 (notifications-on-action-signal, notifications-on-closed-signal):
1783 Unregister the signal if not needed any longer.
1784 (notifications-notify): Register `notifications-action-signal' or
1785 `notifications-closed-signal', if :on-action or :on-close has been
1788 2012-03-07 Chong Yidong <cyd@gnu.org>
1790 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1793 2012-03-06 Glenn Morris <rgm@gnu.org>
1795 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1796 (x-disown-selection-internal, x-get-selection-internal):
1797 Doc fix (add arglist signatures). (Bug#10783)
1799 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1801 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1802 Handle breakpoints with no "type".
1804 2012-03-06 Glenn Morris <rgm@gnu.org>
1806 * files.el (locate-dominating-file): Add optional predicate argument.
1807 (dir-locals-find-file): Make use of above change.
1809 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1811 * info.el (Info-insert-dir): Also try "dir.gz".
1813 2012-03-06 Glenn Morris <rgm@gnu.org>
1815 * files.el (dir-locals-find-file):
1816 Ignore non-readable or non-regular files. (Bug#10928)
1818 * files.el (locate-dominating-file): Doc fix.
1820 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1822 * calendar/calendar.el (calendar-set-mode-line):
1823 `getenv' returns a string. (Bug#10951)
1825 2012-03-05 Leo Liu <sdl.web@gmail.com>
1827 * simple.el (backward-delete-char-untabify): Constrain point to
1830 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1832 2012-03-05 Chong Yidong <cyd@gnu.org>
1834 * simple.el (count-words): If called from Lisp, return the word
1835 count, for symmetry with `count-lines'. Arglist changed.
1836 (count-words--message): Args changed. Consolidate counting code
1837 from count-words and count-words-region.
1838 (count-words-region): Caller changed.
1839 (count-lines-region): Make it an obsolete alias.
1841 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1843 * saveplace.el (save-place-to-alist)
1844 (save-place-ignore-files-regexp): Allow value nil to disable this
1847 2012-03-04 Chong Yidong <cyd@gnu.org>
1849 * faces.el (face-spec-reset-face): For the default face, reset the
1850 attributes to default values (Bug#10748).
1852 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1854 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1855 previous patch: Check `message-send-mail-function', and not the
1856 default function (bug#10897).
1858 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1860 * notifications.el (notifications-on-action-signal)
1861 (notifications-on-closed-signal): Check for unique service name of
1862 incoming event. Fix error in removing entry.
1863 (top): Register for signals with wildcard service name.
1864 (notifications-notify): Use daemon unique service name for map entries.
1866 2012-03-04 Chong Yidong <cyd@gnu.org>
1868 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1870 2012-03-04 Glenn Morris <rgm@gnu.org>
1872 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1873 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1874 (expand-abbrev, define-abbrev-table): Doc fixes.
1876 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1878 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1879 `message-default-send-mail-function' and not `send-mail-function'
1880 when doing the prompting for `sendmail-query-once' before sending
1881 in Message buffers (bug#10897).
1883 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1884 This is inconsistent with all the other stream functions, which leave
1885 the setting up to the higher levels (if so wanted) (bug#10931).
1887 2012-03-02 Alan Mackenzie <acm@muc.de>
1889 Depessimize the handling of very large macros.
1891 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1892 (c-macro-cache-syntactic): New variables to implement a one
1893 element macro cache.
1894 (c-invalidate-macro-cache): New function.
1895 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1896 Adapt to use the new cache.
1897 (c-state-safe-place): Use better the cache of safe positions.
1898 (c-state-semi-nonlit-pos-cache)
1899 (c-state-semi-nonlit-pos-cache-limit):
1900 New variables for...
1901 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1902 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1903 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1904 Use c-state-semi-safe-place.
1906 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1907 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1909 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1911 * jka-compr.el (jka-compr-call-process):
1912 Apply `file-accessible-directory-p' only when the default directory is
1915 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1917 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1918 access of FILE2, if FILE1 does not exist.
1920 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1921 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1923 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1924 Add "PAGER=" to `process-environment'.
1926 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1928 * progmodes/sql.el: Bug fix
1929 (sql-get-login-ext): Save login values in globals.
1930 (sql-get-login): Use new version of `sql-get-login-ext'.
1931 (sql-interactive-mode): Set global `sql-connection' to nil.
1932 (sql-connect): Set global values for connection.
1933 (sql-product-interactive): Save global values as buffer local.
1935 2012-02-29 Leo Liu <sdl.web@gmail.com>
1937 * abbrev.el (define-abbrevs): Reset sys to nil.
1939 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1941 * files.el (file-equal-p): Rename from `files-equal-p'.
1942 Return nil when one or both files don't exist.
1943 (file-subdir-of-p): Now only top directory must exists,
1944 return nil if it doesn't.
1945 (copy-directory): No need to test with `file-subdir-of-p' after
1947 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1950 2012-02-28 Glenn Morris <rgm@gnu.org>
1952 * shell.el (shell-mode):
1953 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1954 * play/landmark.el (landmark-font-lock-face-O):
1955 * play/handwrite.el (handwrite):
1956 * play/gomoku.el (gomoku-O):
1957 * net/browse-url.el (browse-url-browser-display):
1958 * international/mule.el (define-charset):
1959 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1960 * filesets.el (filesets-find-file-delay):
1961 * eshell/em-xtra.el (eshell-xtra):
1962 * eshell/em-unix.el (eshell-grep):
1963 * emulation/viper.el (viper-mode):
1964 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1965 * emacs-lisp/easymenu.el (easy-menu-define):
1966 * calendar/timeclock.el (timeclock-use-display-time):
1968 * bookmark.el (bookmark-save-flag):
1969 Doc fix (standardize possessive apostrophe usage).
1971 2012-02-27 Chong Yidong <cyd@gnu.org>
1973 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1974 Fix key-binding lookup for ESC key (Bug#9146).
1976 * font-lock.el (font-lock-specified-p): Rename from
1977 font-lock-spec-present. Callers changed.
1979 2012-02-27 Daniel Hackney <dan@haxney.org>
1981 * emacs-lisp/package.el (package-compute-transaction):
1982 Handle holding a package version to t in package-load-list.
1984 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1986 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1987 (tramp-get-inode, tramp-get-device): Use cached values.
1989 2012-02-26 Alan Mackenzie <acm@muc.de>
1991 Check there is a font-lock specification before doing initial
1994 * font-core.el (font-lock-mode): Move the conditional from
1995 :after-hook to font-lock-initial-fontify.
1996 (font-lock-default-function): Move the check for a specification
1997 to font-lock-spec-present.
1999 * font-lock.el (font-lock-initial-fontify): Call ...
2000 (font-lock-spec-present): New function.
2002 2012-02-26 Jim Blandy <jimb@red-bean.com>
2004 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2005 (gdb-send): Apply it to the operand of the '-interpreter-exec
2006 console' command, so that we can pass arguments with (say) quotes
2007 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2009 2012-02-26 Chong Yidong <cyd@gnu.org>
2011 * help-fns.el (describe-function-1): Clarify description of
2012 remapping (Bug#10844).
2014 * files.el (files-equal-p): Doc fix.
2015 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2016 and quit the loop once a mismatch is found.
2018 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2020 * bs.el (bs--show-with-configuration): Don't throw an error
2021 if the window cannot be split; otherwise, subsequent calls to
2022 bs-show fail, restoring a stale window config. (Bug#10882)
2024 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2026 * term/ns-win.el (global-map): Bind ns-drag-file to
2027 ns-find-file (Bug#5855, Bug#10050).
2029 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2031 * calendar/parse-time.el (parse-time-string): Allow extractor to
2034 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2036 * net/tramp.el (tramp-file-name-for-operation):
2037 Add `files-equal-p' and `file-subdir-of-p'.
2039 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2040 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2041 Add COPY-CONTENTS argument.
2043 2012-02-25 Chong Yidong <cyd@gnu.org>
2045 Add custom groups for VC backends, for consistency with vc-bzr.
2047 * vc/vc-arch.el (vc-arch):
2048 * vc/vc-cvs.el (vc-cvs):
2049 * vc/vc-git.el (vc-git):
2050 * vc/vc-hg.el (vc-hg):
2051 * vc/vc-mtn.el (vc-mtn):
2052 * vc/vc-rcs.el (vc-rcs):
2053 * vc/vc-sccs.el (vc-sccs):
2054 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2055 All relevant defcustoms reassigned.
2057 2012-02-25 Chong Yidong <cyd@gnu.org>
2059 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2061 * term/x-win.el (x-initialize-window-system): Reduce default for
2062 x-selection-timeout to 5 seconds (Bug#8869).
2064 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2066 * files.el (files-equal-p, file-subdir-of-p): New functions.
2067 (copy-directory): Error when trying to copy a directory on itself.
2068 Add missing copy-contents arg to tramp handler.
2069 * dired-aux.el (dired-copy-file-recursive): Same.
2070 (dired-create-files): Modify destination when source is equal to
2071 dest when copying files.
2072 Return also when dest is a subdir of source. (Bug#10489)
2074 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2076 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2079 2012-02-23 Alan Mackenzie <acm@muc.de>
2081 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2082 parameter "after-hook:" to allow the expansion to run code after
2083 the execution of the mode hooks.
2085 * font-lock.el (font-lock-initial-fontify): New function extracted
2086 from font-lock-mode-internal.
2088 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2091 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2093 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2094 (completion--cache-all-sorted-completions): New function.
2095 (completion-all-sorted-completions): Use it.
2096 (completion--do-completion, minibuffer-force-complete):
2097 Use it to re-instate the flush hook.
2099 * icomplete.el (icomplete-completions): Replace last fix with a better
2102 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2104 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2105 when it might call us back infinitely (bug#10797).
2107 2012-02-23 Glenn Morris <rgm@gnu.org>
2109 * minibuffer.el (completion-category-overrides): Doc fix.
2111 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2114 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2116 2012-02-23 Glenn Morris <rgm@gnu.org>
2118 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2119 (authors-obsolete-files-regexps, authors-ignored-files)
2120 (authors-ambiguous-files, authors-renamed-files-alist):
2123 2012-02-23 Juri Linkov <juri@jurta.org>
2125 * isearch.el (isearch-occur): Sync interactive spec with occur's
2126 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2128 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2130 2012-02-22 Juri Linkov <juri@jurta.org>
2132 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2133 (ucs-insert): Doc fix. Check for hex digits in the string.
2134 Don't display `nil' in the error message. (Bug#10857)
2136 2012-02-22 Alan Mackenzie <acm@muc.de>
2138 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2140 2012-02-22 Glenn Morris <rgm@gnu.org>
2142 * ffap.el (ffap-c-path):
2143 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2145 2012-02-22 Chong Yidong <cyd@gnu.org>
2147 * custom.el (load-theme): Doc fix.
2149 2012-02-22 Glenn Morris <rgm@gnu.org>
2151 * dired-x.el (dired-guess-shell-alist-default):
2152 Remove escape sequences from nroff output. (Bug#172)
2154 2012-02-21 Glenn Morris <rgm@gnu.org>
2156 * vc/emerge.el (emerge-defvar-local):
2157 Set `permanent-local' property rather than unused `preserved'.
2159 * textmodes/picture.el (picture-delete-char): New alias.
2160 (picture-mode-map): Use it. (Bug#10860)
2161 (picture-mode): Doc fix.
2163 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2165 * newcomment.el (uncomment-region-default): Remove unused binding.
2167 2012-02-21 Glenn Morris <rgm@gnu.org>
2169 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2170 (picture-self-insert, picture-tab-chars): Doc fix.
2171 (picture-mode-map): Fix C-a, C-e.
2173 2012-02-20 Glenn Morris <rgm@gnu.org>
2175 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2177 2012-02-20 Leo Liu <sdl.web@gmail.com>
2179 * icomplete.el (icomplete-completions): Check FROM arg before
2180 passing to substring (Bug#10850).
2182 2012-02-19 Chong Yidong <cyd@gnu.org>
2184 * comint.el: Require ansi-color.
2185 (comint-output-filter-functions): Add ansi-color-process-output.
2187 * ansi-color.el: Don't set comint-output-filter-functions; it is
2188 now in the initial value defined in comint.el.
2189 (ansi-color-apply-face-function): New variable.
2190 (ansi-color-apply-on-region): Use it.
2191 (ansi-color-apply-overlay-face): New function.
2193 * shell.el (shell): No need to require ansi-color.
2194 (shell-mode): Use ansi-color-apply-face-function to highlight
2195 color escapes using font-lock-face property (Bug#10835).
2197 2012-02-19 Chong Yidong <cyd@gnu.org>
2199 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2200 mode-line formats (Bug#10839).
2202 2012-02-18 Glenn Morris <rgm@gnu.org>
2204 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2206 * mail/undigest.el (unforward-rmail-message): Doc fix.
2208 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2210 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2212 * international/characters.el (script-list): Sync with the latest
2213 Unicode Character Database.
2215 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2217 * international/titdic-cnv.el: Remove duplicate coding tag.
2218 * language/cham.el: Likewise.
2219 * language/tai-viet.el: Likewise.
2221 2012-02-18 Glenn Morris <rgm@gnu.org>
2223 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2224 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2225 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2226 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2227 * calendar/holidays.el (holiday-bahai-holidays)
2228 (calendar-holidays, list-holidays):
2229 Use utf-8 Bahá'í in doc-strings, menus, etc.
2231 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2233 * saveplace.el (save-place-ignore-files-regexp): New variable
2234 allowing for excluding files from saving their location of point.
2235 The default value matches the temporary commit message editing
2236 files from Git, SVN, Bazaar, and Mercurial.
2237 (save-place-to-alist): Use it.
2239 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2240 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * newcomment.el (uncomment-region-default): Don't leave extra space
2243 when an arg is provided (bug#8150).
2245 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2247 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2249 2012-02-17 Glenn Morris <rgm@gnu.org>
2251 * net/socks.el: Require network-stream. (Bug#10599)
2253 2012-02-17 Kenichi Handa <handa@m17n.org>
2255 * international/charprop.el:
2256 * international/uni-name.el:
2257 * international/uni-old-name.el:
2258 * international/uni-comment.el: Regenerate.
2260 2012-02-16 Glenn Morris <rgm@gnu.org>
2262 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2263 Interactively in calendar buffer, give an error if not on a date.
2265 2012-02-15 Glenn Morris <rgm@gnu.org>
2267 * shell.el (shell-delimiter-argument-list):
2268 Revert 2011-02-17 change. (Bug#8027)
2270 2012-02-15 Chong Yidong <cyd@gnu.org>
2272 * minibuffer.el (completion-at-point-functions): Doc fix.
2274 * custom.el (defcustom): Doc fix; note use of defvar.
2276 2012-02-15 Glenn Morris <rgm@gnu.org>
2278 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2281 2012-02-14 Glenn Morris <rgm@gnu.org>
2283 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2285 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2287 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2288 way the ports list is computed.
2289 (smtpmail-query-smtp-server): Prompt the user for a port number if
2290 we can't connect to any of the standard ports (bug#10810).
2292 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2294 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2296 2012-02-13 Glenn Morris <rgm@gnu.org>
2298 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2300 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2302 * net/gnutls.el (gnutls-trustfiles): New variable.
2303 (gnutls-negotiate): Use it.
2305 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2307 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2308 does its stuff if Gnus is running.
2310 2012-02-13 Alan Mackenzie <acm@muc.de>
2312 Fix a loop in c-set-fl-decl-start.
2314 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2315 c-backward-syntactic-ws actually moves backwards.
2317 2012-02-13 Leo Liu <sdl.web@gmail.com>
2319 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2320 beginning so that all \C-o chars are removed.
2322 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2324 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2326 2012-02-12 Alan Mackenzie <acm@muc.de>
2328 Fix infinite loop with long macros.
2329 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2331 2012-02-12 Chong Yidong <cyd@gnu.org>
2333 * window.el (display-buffer): Doc fix (Bug#10785).
2335 2012-02-12 Glenn Morris <rgm@gnu.org>
2337 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2338 (x-disown-selection-internal, x-get-selection-internal):
2339 Sync docs with the xselect.c versions.
2341 * allout-widgets.el: Add missing license notice.
2343 2012-02-11 Glenn Morris <rgm@gnu.org>
2345 * select.el (x-get-selection-internal, x-own-selection-internal)
2346 (x-disown-selection-internal):
2347 * x-dnd.el (x-get-selection-internal): Update declarations.
2349 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2351 * window.el (window-sides-slots):
2352 * tool-bar.el (tool-bar-position):
2353 * term/xterm.el (xterm-extra-capabilities):
2354 * ses.el (ses-self-reference-early-detection):
2355 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2356 (verilog-auto-wire-type)
2357 (verilog-auto-delete-trailing-whitespace)
2358 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2359 (verilog-auto-tieoff-declaration):
2360 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2361 (sql-oracle-statement-starters, sql-oracle-scan-on):
2362 * progmodes/prolog.el (prolog-align-comments-flag)
2363 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2364 (prolog-left-indent-regexp, prolog-paren-indent-p)
2365 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2366 (prolog-types, prolog-mode-specificators)
2367 (prolog-determinism-specificators, prolog-directives)
2368 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2369 (prolog-electric-dot-flag)
2370 (prolog-electric-dot-full-predicate-template)
2371 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2372 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2373 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2374 (prolog-program-switches, prolog-prompt-regexp)
2375 (prolog-debug-on-string, prolog-debug-off-string)
2376 (prolog-trace-on-string, prolog-trace-off-string)
2377 (prolog-zip-on-string, prolog-zip-off-string)
2378 (prolog-use-standard-consult-compile-method-flag)
2379 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2380 (prolog-imenu-max-lines, prolog-info-predicate-index)
2381 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2382 (prolog-char-quote-workaround):
2383 * progmodes/cc-vars.el (c-defun-tactic):
2384 * net/tramp.el (tramp-encoding-command-interactive)
2385 (tramp-local-end-of-line):
2386 * net/soap-client.el (soap-client):
2387 * net/netrc.el (netrc-file):
2388 * net/gnutls.el (gnutls):
2389 * minibuffer.el (completion-category-overrides)
2390 (completion-cycle-threshold)
2391 (completion-pcm-complete-word-inserts-delimiters):
2392 * man.el (Man-name-local-regexp):
2393 * mail/feedmail.el (feedmail-display-full-frame):
2394 * international/characters.el (glyphless-char-display-control):
2395 * eshell/em-ls.el (eshell-ls-date-format):
2396 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2397 (lisp-lambda-list-keyword-parameter-indentation)
2398 (lisp-lambda-list-keyword-parameter-alignment):
2399 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2400 * dired-x.el (dired-omit-verbose):
2401 * cus-theme.el (custom-theme-allow-multiple-selections):
2402 * calc/calc.el (calc-highlight-selections-with-faces)
2403 (calc-lu-field-reference, calc-lu-power-reference)
2404 (calc-note-threshold):
2405 * battery.el (battery-mode-line-limit):
2406 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2407 (archive-7z-update):
2408 * allout.el (allout-prefixed-keybindings)
2409 (allout-unprefixed-keybindings)
2410 (allout-inhibit-auto-fill-on-headline)
2411 (allout-flattened-numbering-abbreviation):
2412 * allout-widgets.el (allout-widgets-auto-activation)
2413 (allout-widgets-icons-dark-subdir)
2414 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2415 (allout-widgets-theme-dark-background)
2416 (allout-widgets-theme-light-background)
2417 (allout-widgets-item-image-properties-emacs)
2418 (allout-widgets-item-image-properties-xemacs)
2419 (allout-widgets-run-unit-tests-on-load)
2420 (allout-widgets-time-decoration-activity)
2421 (allout-widgets-hook-error-post-time)
2422 (allout-widgets-track-decoration):
2423 Add missing :version tags to new defcustoms and defgroups.
2425 * progmodes/sql.el (sql-ansi-statement-starters)
2426 (sql-oracle-statement-starters): Add custom type.
2428 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2429 (prolog-system-version): Give it a type.
2431 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2433 * term/pc-win.el (x-select-text, x-selection-owner-p)
2434 (x-own-selection-internal, x-disown-selection-internal)
2435 (x-get-selection-internal): Sync doc strings and argument lists
2436 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2438 2012-02-11 Leo Liu <sdl.web@gmail.com>
2440 * progmodes/python.el (python-end-of-statement): Fix infinite
2443 2012-02-10 Glenn Morris <rgm@gnu.org>
2445 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2446 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2448 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2450 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2451 about SMTP before checking the From header.
2453 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2454 into own function for reuse by emacsbug.el.
2456 2012-02-10 Leo Liu <sdl.web@gmail.com>
2458 * subr.el (condition-case-unless-debug): Rename from
2459 condition-case-no-debug. All callers changed.
2460 (with-demoted-errors): Fix caller.
2462 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2463 * nxml/rng-valid.el (rng-do-some-validation):
2464 * emacs-lisp/package.el (package-refresh-contents)
2465 (package-menu-execute):
2466 * desktop.el (desktop-create-buffer):
2467 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2469 2012-02-10 Glenn Morris <rgm@gnu.org>
2471 * textmodes/bibtex.el:
2472 Add missing :version tags for new/changed defcustoms.
2474 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2476 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2478 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2479 (smtpmail-via-smtp): Use it, or fall back on the From address.
2480 (smtpmail-send-it): Ditto.
2482 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2485 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2486 (byte-compile-tmp-var): New const.
2487 (byte-compile-defvar): Use it to minimize .elc size.
2488 Just use `defvar' rather than simulate it (bug#10761).
2490 2012-02-09 Glenn Morris <rgm@gnu.org>
2492 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2494 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2497 * progmodes/compile.el (compilation-error-screen-columns)
2498 (compilation-first-column, compilation-filter-start): Doc fixes.
2500 * vc/log-view.el (log-view-toggle-entry-display):
2501 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2503 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2504 (report-emacs-bug-can-use-xdg-email):
2505 (report-emacs-bug-insert-to-mailer): Doc fixes.
2506 (report-emacs-bug): Message fix.
2508 * net/browse-url.el (browse-url-can-use-xdg-open)
2509 (browse-url-xdg-open): Doc fixes.
2511 * electric.el (electric-indent-mode, electric-pair-mode)
2512 (electric-layout-rules, electric-layout-mode): Doc fixes.
2513 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2515 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2517 * server.el (server-unselect-display): Don't inadvertently kill
2518 the current buffer. (Bug#10729)
2520 2012-02-08 Glenn Morris <rgm@gnu.org>
2522 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2523 (sql-list-table): Doc fixes.
2525 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2526 Comment out (does nothing).
2528 * completion.el (dynamic-completion-mode):
2529 * dirtrack.el (dirtrack-debug-mode):
2530 * electric.el (electric-layout-mode):
2531 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2532 * face-remap.el (text-scale-mode, buffer-face-mode):
2533 * iimage.el (iimage-mode):
2534 * image-mode.el (image-transform-mode):
2535 * minibuffer.el (completion-in-region-mode):
2536 * scroll-lock.el (scroll-lock-mode):
2537 * simple.el (next-error-follow-minor-mode):
2538 * tar-mode.el (tar-subfile-mode):
2539 * tooltip.el (tooltip-mode):
2540 * vcursor.el (vcursor-use-vcursor-map):
2541 * wid-browse.el (widget-minor-mode):
2542 * emulation/tpu-edt.el (tpu-edt-mode):
2543 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2544 * international/iso-ascii.el (iso-ascii-mode):
2545 * language/thai-util.el (thai-word-mode):
2546 * mail/supercite.el (sc-minor-mode):
2547 * net/goto-addr.el (goto-address-mode):
2548 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2549 * progmodes/cwarn.el (cwarn-mode):
2550 * progmodes/flymake.el (flymake-mode):
2551 * progmodes/glasses.el (glasses-mode):
2552 * progmodes/hideshow.el (hs-minor-mode):
2553 * progmodes/pascal.el (pascal-outline-mode):
2554 * textmodes/enriched.el (enriched-mode):
2555 * vc/smerge-mode.el (smerge-mode):
2556 Doc fixes (minor mode argument).
2558 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2560 * ls-lisp.el (ls-lisp-sanitize): New function.
2561 (ls-lisp-insert-directory): Use it to fix or remove any elements
2562 in file-alist with missing attributes. (Bug#4673)
2564 2012-02-07 Alan Mackenzie <acm@muc.de>
2566 Fix spurious recognition of c-in-knr-argdecl.
2568 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2569 putative K&R region.
2571 2012-02-07 Alan Mackenzie <acm@muc.de>
2573 * progmodes/cc-engine.el (c-forward-objc-directive):
2574 Prevent looping in "#pragma mark @implementation".
2576 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2578 * notifications.el (notifications-on-closed-signal): Make `reason'
2579 optional. (Bug#10744)
2581 2012-02-07 Glenn Morris <rgm@gnu.org>
2583 * emacs-lisp/easy-mmode.el (define-minor-mode):
2584 Doc fixes for the macro and the mode it defines.
2586 * image.el (imagemagick-types-inhibit): Doc fix.
2588 * cus-start.el (imagemagick-render-type): Add it.
2590 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2592 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2593 Set the default at load time, too, so that `font-lock-fontify-buffer'
2594 can be called without setting up the entire mode first. This fixes
2595 a bug in `mm-inline-text' with C MIME parts.
2597 2012-02-06 Chong Yidong <cyd@gnu.org>
2599 * simple.el (list-processes--refresh): Delete exited processes
2602 * comint.el (comint-next-prompt): next-single-char-property-change
2603 and prev-single-char-property-change never return nil (Bug#8657).
2605 * custom.el (defcustom): Doc fix (Bug#9711).
2607 2012-02-05 Chong Yidong <cyd@gnu.org>
2609 * cus-edit.el (custom-variable-reset-backup): Quote the value
2610 before storing it in the customized-value property (Bug#6712).
2611 (custom-display): Add a customization type tag.
2612 (custom-buffer-create-internal): Improve tooltip message.
2614 * wid-edit.el (widget-field-value-get): New optional arg to
2615 suppress trailing whitespace truncation.
2616 (character): Use it (Bug#2689).
2618 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2620 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2621 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2623 2012-02-05 Chong Yidong <cyd@gnu.org>
2625 * cus-edit.el (custom-variable-value-create): For mismatched
2626 types, show the current value (Bug#7600).
2628 * custom.el (defcustom): Doc fix.
2630 2012-02-05 Glenn Morris <rgm@gnu.org>
2632 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2634 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2636 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2637 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2638 (pp-last-sexp): Use `looking-at-p'.
2640 2012-02-04 Glenn Morris <rgm@gnu.org>
2642 * files.el (revert-buffer):
2643 Doc fix (mention revert-buffer-in-progress-p).
2645 * emacs-lisp/ert-x.el (ert-simulate-command):
2646 Check deferred-action-list (which is obsolete) is bound.
2648 * subr.el (with-wrapper-hook): Doc fixes.
2650 * simple.el (filter-buffer-substring-functions)
2651 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2653 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2655 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2656 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2658 2012-02-04 Leo Liu <sdl.web@gmail.com>
2660 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2662 2012-02-04 Glenn Morris <rgm@gnu.org>
2664 * image.el (image-extension-data): Add obsolete alias.
2666 * isearch.el (isearch-update): Doc fix.
2668 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2670 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2672 2012-02-03 Glenn Morris <rgm@gnu.org>
2674 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2675 (image-animate-timeout): Doc fix.
2677 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2679 2012-02-02 Glenn Morris <rgm@gnu.org>
2681 * server.el (server-auth-dir): Doc fix.
2682 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2684 * subr.el (run-mode-hooks): Doc fix.
2686 2012-02-02 Juri Linkov <juri@jurta.org>
2688 * image-mode.el (image-toggle-display-image): Remove tautological
2689 `major-mode' from the `derived-mode-p' test.
2691 2012-02-02 Kenichi Handa <handa@m17n.org>
2693 * composite.el (compose-region): Cancel previous change.
2695 2012-02-02 Kenichi Handa <handa@m17n.org>
2697 * composite.el (compose-region, compose-string): Signal error for
2698 a null string component (Bug#6988).
2700 2012-02-01 Chong Yidong <cyd@gnu.org>
2702 * view.el (view-buffer-other-window, view-buffer-other-frame):
2703 Handle special modes like view-buffer (Bug#10650).
2704 (view-buffer): Simplify.
2706 * frame.el (set-frame-font): Tweak meaning of third argument.
2708 * dynamic-setting.el (font-setting-change-default-font):
2709 Use set-frame-font (Bug#9982).
2711 2012-02-01 Glenn Morris <rgm@gnu.org>
2713 * progmodes/compile.el (compilation-internal-error-properties):
2714 Respect compilation-first-column in the "*compilation*" buffer.
2716 * emacs-lisp/easy-mmode.el (define-minor-mode):
2717 Relax :variable's test for a named function.
2719 2012-01-31 Alan Mackenzie <acm@muc.de>
2721 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2724 2012-01-31 Chong Yidong <cyd@gnu.org>
2726 * frame.el (set-frame-font): New arg ALL-FRAMES.
2728 * menu-bar.el (menu-set-font): Use set-frame-font.
2730 * faces.el (face-spec-reset-face): Don't apply unspecified
2731 attribute values to the default face.
2733 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2735 * progmodes/cwarn.el (cwarn): Remove dead link.
2736 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2737 Remove * from defcustom docstrings.
2738 (turn-on-cwarn-mode): Make obsolete.
2739 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2740 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2742 2012-01-31 Glenn Morris <rgm@gnu.org>
2744 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2745 Fix :variable handling of mode a symbol not equal to modefun.
2746 Allow named functions to be used as the cdr of :variable.
2748 2012-01-30 Glenn Morris <rgm@gnu.org>
2750 * emacs-lisp/authors.el (authors-fixed-entries):
2751 Remove reference to deleted file rnewspost.el.
2753 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2755 * window.el (window-with-parameter): Remove unused variable `windows'.
2756 (window--side-check): Remove unused variable `code'.
2757 (window--resize-siblings): Remove unused variable `first'.
2758 (adjust-window-trailing-edge): Remove unused variable `failed'.
2759 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2760 Use `let', not `let*'.
2761 (balance-windows-2): Remove unused variable `found'.
2762 (window--state-put-2): Remove unused variable `splits'.
2763 (window-state-put): Remove unused variable `selected'.
2764 (same-window-p): Use `string-match-p'.
2765 (display-buffer-assq-regexp): Remove unused variable `value'.
2766 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2767 Mark argument ALIST as ignored.
2768 (pop-to-buffer): Remove unused variable `old-window'.
2770 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2772 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2773 and .lzma compressed files.
2775 2012-01-29 Chong Yidong <cyd@gnu.org>
2777 * frame.el (window-system-default-frame-alist): Doc fix.
2779 * dynamic-setting.el (font-setting-change-default-font): Don't
2780 change the default face if SET-FONT argument is non-nil (Bug#9982).
2782 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2784 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2786 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2788 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2789 breakpoints in files outside current directory (Bug#6098).
2791 2012-01-29 Chong Yidong <cyd@gnu.org>
2793 * progmodes/python.el: Require ansi-color at top-level.
2795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2796 Define and use in Emacs Lisp mode (Bug#9360).
2797 (lisp-mode-abbrev-table): Add doc.
2798 (lisp-mode-variables): Don't set local-abbrev-table.
2799 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2801 2012-01-28 Roland Winkler <winkler@gnu.org>
2803 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2805 2012-01-28 Roland Winkler <winkler@gnu.org>
2807 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2808 (bibtex-set-dialect): Use it. Either set global values of
2809 dialect-dependent variables or bind these variables buffer-locally
2811 (bibtex-mode): Call bibtex-set-dialect via
2812 hack-local-variables-hook.
2813 (bibtex-dialect): Update docstring.
2814 Add safe-local-variable predicate.
2815 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2817 (bibtex-mode-map): Define menu for each dialect.
2818 (bibtex-entry): Fix docstring.
2820 2012-01-28 Chong Yidong <cyd@gnu.org>
2822 * eshell/esh-arg.el (eshell-quote-argument): New function.
2824 * eshell/esh-ext.el (eshell-invoke-batch-file):
2825 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2826 first arg to eshell-parse-command (Bug#10523).
2828 2012-01-28 Drew Adams <drew.adams@oracle.com>
2830 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2831 `default-directory' is non-nil.
2833 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2835 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2836 line that displays system-configuration-options. (Bug#9924)
2838 2012-01-28 Drew Adams <drew.adams@oracle.com>
2840 * descr-text.el (describe-char): Show information about POS, in
2841 addition to information about the character at POS. Improve and
2842 update the doc string. Change "code point" to "code point in
2843 charset", to avoid confusion with the character's Unicode code
2844 point shown above that. (Bug#10129)
2846 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2848 * descr-text.el (describe-char): Show the raw character, not only
2849 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2850 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2853 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2855 * emacs-lisp/package.el (package-install):
2856 Run package-refresh-contents if there is no archive yet (Bug#9798).
2858 2012-01-28 Chong Yidong <cyd@gnu.org>
2860 * emacs-lisp/package.el (package-maybe-load-descriptor):
2861 New function, split from package-maybe-load-descriptor.
2862 (package-maybe-load-descriptor): Use it.
2863 (package-download-transaction): Fully load required packages
2864 inside the loop, so that `require' calls work (Bug#10593).
2865 (package-install): No need to call package-initialize now.
2867 2012-01-28 Chong Yidong <cyd@gnu.org>
2869 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2871 * tooltip.el (tooltip-mode): Doc fix.
2872 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2874 * frame.el (set-cursor-color): Doc fix (Bug#352).
2876 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2877 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2879 * cus-edit.el (custom-buffer-create-internal): Fix search button
2881 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2883 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2885 * dired.el (dired-mark-files-regexp):
2886 Include any subdirectory components. (Bug#10445)
2888 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2890 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2891 Handle [host]:port syntax. (Bug#10533)
2893 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2895 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2897 2012-01-26 Glenn Morris <rgm@gnu.org>
2899 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2900 * term.el (term-raw-escape-map): Use Control-X-prefix.
2901 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2903 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2905 * window.el (window-state-get, window--state-get-1): Don't deal
2906 with fixed-sizeness of windows. Simplify code.
2908 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2910 * window.el (window--state-get-1, window--state-put-2):
2911 Don't save and restore the mark.
2913 2012-01-25 Chong Yidong <cyd@gnu.org>
2915 * custom.el (custom-variable-p): Doc fix.
2917 2012-01-25 Glenn Morris <rgm@gnu.org>
2919 * dired.el (dired-goto-file): Handle some of the more common
2920 characters that `ls -b' escapes. (Bug#10596)
2922 * progmodes/compile.el (compilation-next-error-function):
2923 Respect compilation-first-column in the "*compilation*" buffer.
2924 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2926 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2928 2012-01-24 Glenn Morris <rgm@gnu.org>
2930 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2932 2012-01-24 Julien Danjou <julien@danjou.info>
2934 * color.el (color-rgb-to-hsl): Fix value computing.
2935 (color-hue-to-rgb): New function.
2936 (color-hsl-to-rgb): New function.
2937 (color-clamp, color-saturate-hsl, color-saturate-name)
2938 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2939 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2941 2012-01-24 Glenn Morris <rgm@gnu.org>
2943 * vc/vc-rcs.el (vc-rcs-create-tag):
2944 * vc/vc-sccs.el (vc-sccs-create-tag):
2945 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2947 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2949 * eshell/esh-util.el (eshell-read-hosts-file):
2950 Skip comment lines. (Bug#10549)
2952 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2954 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2956 * subr.el (display-delayed-warnings): Doc fix.
2957 (collapse-delayed-warnings): New function to collapse identical
2959 (delayed-warnings-hook): Add it.
2961 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2963 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2965 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2966 properties, when "login-as" is set.
2968 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2969 (tramp-default-user-alist): Don't add "pscp".
2970 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2971 property "login-as", if set. (Bug#10530)
2973 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2975 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2976 "plink1" and "psftp". (Bug#10530)
2978 2012-01-21 Kenichi Handa <handa@m17n.org>
2980 * international/mule-cmds.el (prefer-coding-system): Show a
2981 warning message if the default value of file-name-coding-system
2984 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2986 * windmove.el (windmove-reference-loc):
2987 Fix windmove-reference-loc miscalculation.
2989 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2991 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2994 2012-01-21 Glenn Morris <rgm@gnu.org>
2996 * international/mule.el (auto-coding-alist): Add .tbz.
2998 * files.el (local-enable-local-variables): Doc fix.
2999 (inhibit-local-variables-regexps): Rename from
3000 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3001 Doc fix. Add some extensions from auto-coding-alist.
3002 (inhibit-local-variables-suffixes):
3003 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3004 (inhibit-local-variables-p):
3005 New function, extracted from set-auto-mode-1.
3006 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3007 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3008 (hack-local-variables): Doc fix. Make the mode-only case
3009 respect enable-local-variables and friends.
3010 Respect inhibit-local-variables-regexps for file-locals, but
3011 not for directory-locals.
3012 (set-visited-file-name):
3013 Take account of inhibit-local-variables-regexps.
3014 Whether it applies may change as the file name is changed.
3015 * jka-cmpr-hook.el (jka-compr-install):
3016 * jka-compr.el (jka-compr-uninstall):
3017 Update for inhibit-first-line-modes-suffixes name change.
3019 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3021 * help-macro.el (make-help-screen): Temporarily restore original
3022 binding for minor-mode-map-alist (Bug#10454).
3024 2012-01-19 Julien Danjou <julien@danjou.info>
3026 * color.el (color-name-to-rgb): Use the white color to find the max
3027 color component value and return correctly computed values.
3028 (color-name-to-rgb): Add missing float conversion for max value.
3030 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3032 * window.el (window--state-get-1, window-state-get): Do not use
3033 special state value for window-persistent-parameters.
3034 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3035 (window--state-put-2): Reset all window parameters to nil before
3036 assigning values of persistent parameters.
3038 2012-01-18 Alan Mackenzie <acm@muc.de>
3040 Eliminate sluggishness and hangs in fontification of "semicolon
3043 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3044 Change value 10000 -> 3000.
3045 (c-state-safe-place): Reformulate so it doesn't stack up an
3046 infinite number of wrong entries in c-state-nonlit-pos-cache.
3047 (c-determine-limit-get-base, c-determine-limit): New functions to
3048 determine backward search limits disregarding literals.
3049 (c-find-decl-spots): Amend commenting.
3050 (c-cheap-inside-bracelist-p): New function which detects "={".
3052 * progmodes/cc-fonts.el
3053 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3055 (c-font-lock-declarations): Fix an occurrence of point being
3056 undefined. Check additionally for point being in a bracelist or
3057 near a macro invocation without a semicolon so as to avoid a
3058 fruitless time consuming search for a declarator. Give a more
3059 precise search limit for declarators using the new
3062 2012-01-18 Glenn Morris <rgm@gnu.org>
3064 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3065 (set-auto-mode): Doc fixes.
3067 2012-01-17 Glenn Morris <rgm@gnu.org>
3069 * isearch.el (search-nonincremental-instead): Fix doc typo.
3071 * dired.el (dired-insert-directory): Handle newlines in directory name.
3072 (dired-build-subdir-alist): Unescape newlines in directory name.
3074 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3076 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3077 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3078 (tramp-action-terminal): Use it. (Bug#10530)
3080 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3084 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3086 * window.el (window-state-ignored-parameters): Remove variable.
3087 (window--state-get-1): Rename argument MARKERS to IGNORE.
3088 Handle persistent window parameters. Make copy of clone-of
3089 parameter only if requested. (Bug#10348)
3090 (window--state-put-2): Install a window parameter only if it has
3091 a non-nil value or an existing parameter shall be overwritten.
3093 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3095 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3097 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3099 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3100 don't pass the (nil) value of `upnode' to string-match.
3102 2012-01-14 Chong Yidong <cyd@gnu.org>
3104 * startup.el (command-line): Fix X resource class for cursorColor.
3105 Fix values recognized by the cursorBlink resource.
3107 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3109 * epg.el (epg--make-temp-file): Avoid permission race condition
3110 when running on old Emacs versions (bug#10403).
3112 2012-01-14 Glenn Morris <rgm@gnu.org>
3114 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3116 2012-01-13 Alan Mackenzie <acm@muc.de>
3118 Fix filling for when filladapt mode is enabled.
3120 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3121 c-mask-paragraph, pass in `fill-paragraph' rather than
3122 `fill-region-as-paragraph'. (This is a reversion of a previous
3124 * progmodes/cc-mode.el (c-basic-common-init):
3125 Make fill-paragraph-handle-comment buffer local and set it to nil.
3127 2012-01-13 Glenn Morris <rgm@gnu.org>
3129 * dired.el (dired-switches-escape-p): New function.
3130 (dired-insert-directory): Use dired-switches-escape-p.
3131 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3133 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3135 2012-01-12 Glenn Morris <rgm@gnu.org>
3137 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3138 changes in adaptive-fill-regexp. (Bug#10276)
3140 2012-01-11 Alan Mackenzie <acm@muc.de>
3142 Fix Emacs bug #10463 - put `widen's around the critical spots.
3144 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3145 widen around each invocation of c-state-pp-to-literal. Remove an
3146 unused let variable.
3148 2012-01-11 Glenn Morris <rgm@gnu.org>
3150 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3153 2012-01-10 Chong Yidong <cyd@gnu.org>
3155 * net/network-stream.el (network-stream-open-starttls):
3156 Avoid emitting a confusing error message when the server gives a bad
3157 response to the capability command.
3159 2012-01-10 Glenn Morris <rgm@gnu.org>
3161 * mail/unrmail.el (unrmail): Tweak previous change.
3163 2012-01-09 Chong Yidong <cyd@gnu.org>
3165 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3167 2012-01-08 Alan Mackenzie <acm@muc.de>
3169 Optimise font locking in long enum definitions.
3171 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3172 arm to a cond form to handle enums.
3173 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3174 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3176 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3178 * files.el (move-file-to-trash): Preserve default file modes on error.
3181 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3183 * faces.el (set-face-attribute): Clarify the meaning of the nil
3186 * subr.el (with-selected-frame): Mention that the selected frame
3187 is restored (bug#9980).
3189 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3192 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3193 (password-read): Don't autoload unused function.
3195 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3197 * progmodes/which-func.el (which-func-mode): Turn into a
3198 non-interactive function and mark as obsolete (bug#10428).
3200 2012-01-06 Chong Yidong <cyd@gnu.org>
3202 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3203 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3204 functions, along with 1 and -1.
3206 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3208 * time.el (display-time-load-average)
3209 (display-time-default-load-average): Doc fixes. See the thread
3211 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3214 2012-01-06 Glenn Morris <rgm@gnu.org>
3216 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3217 has no messages. (Bug#10377)
3219 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3220 than Info-edit. (Bug#10385)
3222 * time.el (display-time-load-average, display-time-next-load-average):
3225 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3226 local setting of buffer-read-only to the input buffer. (Bug#10419)
3228 * calendar/calendar.el (calendar-mode):
3229 Locally set scroll-margin to 0. (Bug#10379)
3231 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3233 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3235 2012-01-05 Glenn Morris <rgm@gnu.org>
3237 * eshell/em-unix.el (diff-no-select): Autoload it.
3238 (eshell/diff): Use diff-no-select. (Bug#10420)
3240 2012-01-05 Chong Yidong <cyd@gnu.org>
3242 * shell.el (shell-dynamic-complete-functions): Revert last change.
3243 (shell-command-completion-function): New function.
3244 (shell-completion-vars): Use it to implement
3245 shell-completion-execonly (Bug#10417).
3247 * custom.el (enable-theme): Don't set custom-safe-themes.
3249 * cus-theme.el (custom-theme-merge-theme):
3250 Ignore custom-enabled-themes and custom-safe-themes.
3252 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3254 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3255 first prompt in `sql-interacive-mode'.
3256 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3258 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3259 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3260 context of original buffer. Invoke `sql-login-hook'.
3262 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3264 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3265 letters in cite-prefix.
3267 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3271 2012-01-03 Chong Yidong <cyd@gnu.org>
3273 * shell.el (shell-dynamic-complete-functions):
3274 Put pcomplete-completions-at-point, so as to try
3275 comint-filename-completion first (Bug#10417).
3277 2012-01-02 Richard Stallman <rms@gnu.org>
3279 * battery.el (battery-status-function):
3280 Detect when to use battery-yeeloong-sysfs.
3281 (battery-echo-area-format): Add string for Yeeloong.
3282 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3283 (battery-yeeloong-sysfs): New function.
3285 2012-01-02 Chong Yidong <cyd@gnu.org>
3287 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3288 (dirtrack): Merge code for handling relative filenames in prompt
3289 from shell-dir-cookie-watcher.
3290 (dirtrack-debug-message): New arg to avoid excess format calls.
3292 * shell.el (shell-dir-cookie-re): Variable deleted.
3293 (shell-dir-cookie-watcher): Function deleted.
3294 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3297 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3299 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3300 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3303 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3305 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3307 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3309 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3310 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3312 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3314 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3315 also for alternative shells.
3316 (tramp-open-connection-setup-interactive-shell): Check, whether
3317 the shell is a busybox.
3318 (tramp-send-command): Don't suppress multiple prompts for
3319 busyboxes, it hurts.
3321 2011-12-28 Chong Yidong <cyd@gnu.org>
3323 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3324 (gdb-get-source-file): Move mode line update to
3325 gdb-get-source-file (Bug#10087).
3327 2011-12-25 Chong Yidong <cyd@gnu.org>
3329 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3330 gud-gdb-marker-filter without taking it as an argument.
3331 (gud-gdb-run-command-fetch-lines): Caller changed.
3332 (gud-gdb-completion-function): New variable.
3333 (gud-gdb-completion-at-point): Use it.
3334 (gud-gdb-completions-1): Split from gud-gdb-completions.
3336 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3337 function as separate arguments.
3338 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3339 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3340 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3341 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3342 (gdb-stopped, def-gdb-auto-update-trigger)
3343 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3344 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3346 (gud-gdbmi-completions): New function.
3347 (gdb): Use it for generating the completion table.
3349 2011-12-24 Alan Mackenzie <acm@muc.de>
3351 Introduce a mechanism to widen the region used in context font
3352 locking. Use this to protect declarations from losing their contexts.
3354 * progmodes/cc-langs.el (c-before-font-lock-functions):
3355 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3356 (c-before-context-fontification-functions): New defvar, a list of
3357 functions to be run just before context (etc.) font locking.
3359 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3360 New, functionality extracted from
3361 c-neutralize-syntax-in-and-mark-CPP.
3362 (c-in-after-change-fontification): New variable.
3363 (c-after-change): Set c-in-after-change-fontification.
3364 (c-set-fl-decl-start): Rejig its interface, so it can be called
3365 from both after-change and context fontifying.
3366 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3368 (c-standard-font-lock-fontify-region-function): New variable.
3369 (c-font-lock-fontify-region): New function.
3371 2011-12-24 Juri Linkov <juri@jurta.org>
3373 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3376 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3378 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3379 existence of source file. (Bug#10325)
3381 2011-12-23 Alan Mackenzie <acm@muc.de>
3383 Fix unstable fontification inside templates.
3385 * progmodes/cc-langs.el (c-before-font-lock-functions):
3386 Newly created from the singular version. The (c c++ objc) entry now
3387 additionally has c-set-fl-decl-start. The other languages (apart
3388 from AWK) have that as a single entry.
3390 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3391 The functionality for "local" declarations has been extracted to
3392 c-set-fl-decl-start.
3394 * progmodes/cc-mode.el (c-common-init, c-after-change):
3395 Changes due to pluralisation of c-before-font-lock-functions.
3396 (c-set-fl-decl-start): New function, extracted from
3397 c-font-lock-enclosing-decls and enhanced.
3399 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3401 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3403 2011-12-22 Juri Linkov <juri@jurta.org>
3405 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3407 2011-12-22 Chong Yidong <cyd@gnu.org>
3409 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3411 2011-12-21 Drew Adams <drew.adams@oracle.com>
3413 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3415 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3417 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3419 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3421 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3422 highlighting and support. Fix up comments for capitalization.
3423 (cfengine-mode-debug): New var.
3424 (cfengine3-mode): Change the modeline indicator to "CFE3".
3425 (cfengine3-font-lock-keywords): Improve defun highlighting.
3426 (cfengine2-actions): Rename from `cfengine-actions'.
3427 (cfengine2-font-lock-keywords): Rename from
3428 `cfengine-font-lock-keywords'.
3429 (cfengine2-imenu-expression): Rename from
3430 `cfengine-imenu-expression'.
3431 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3432 (cfengine2-beginning-of-defun): Rename from
3433 `cfengine-beginning-of-defun'.
3434 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3435 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3436 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3437 modeline indicator to "CFE2".
3438 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3439 (cfengine-mode-abbrevs): Mark obsolete.
3441 2011-12-21 Chong Yidong <cyd@gnu.org>
3443 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3446 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3448 * window.el (window-normalize-buffer-to-display): Remove.
3449 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3451 2011-12-19 Chong Yidong <cyd@gnu.org>
3453 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3454 Don't signal an error in a predicate function; return non-nil.
3455 (vc-dir-mark-file): Move the error here.
3456 (vc-dir-mark-unmark): If acting on the region, keep going if one
3457 of the entries cannot be marked/unmarked.
3458 (vc-dir-mark-all-files): If current entry is a directory, mark
3459 only child files, as documented.
3461 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3463 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3464 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3467 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3469 * term/ns-win.el (ns-get-selection-internal)
3470 (ns-store-selection-internal): Declare.
3471 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3472 Declare as obsolete.
3473 (ns-get-pasteboard, ns-paste-secondary):
3474 Use ns-get-selection-internal.
3475 (ns-set-pasteboard, ns-copy-including-secondary):
3476 Use ns-store-selection-internal.
3478 2011-12-17 Chong Yidong <cyd@gnu.org>
3480 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3481 (vc-deduce-fileset): Doc fix.
3483 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3485 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3487 2011-12-13 Sam Steingold <sds@gnu.org>
3489 * man.el (Man-getpage-in-background): When running under a
3490 window-system, ignore $MANWIDTH and $COLUMNS.
3492 2011-12-15 Kenichi Handa <handa@m17n.org>
3494 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3495 (setup-ethiopic-environment-internal): Comment out key-binding for
3496 ethio-toggle-punctuation.
3498 2011-12-13 Alan Mackenzie <acm@muc.de>
3500 Add the switch statement to AWK Mode.
3502 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3503 "default" to the keywords regexp.
3505 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3506 expression as the rest.
3507 (c-nonlabel-token-key): Allow string literals for AWK.
3508 Refactor for the other modes.
3510 Large brace-block initialisation makes CC Mode slow: Fix.
3511 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3512 routines. Limit backward searching in c-font-lock-enclosing.decl.
3514 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3515 pp-state and literal type in addition to the limits.
3516 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3517 (c-state-literal-at): Use the above new defun.
3518 (c-slow-in-literal, c-fast-in-literal): Remove.
3519 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3521 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3522 being in a literal. Add a limit for backward searching.
3524 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3527 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3531 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3533 * window.el (delete-other-windows): Use correct frame in call to
3534 window-with-parameter.
3536 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3538 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3539 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3540 (makefile-gmake-statements, makefile-makepp-statements):
3541 Use it and add new makepp keywords.
3542 (makefile-makepp-font-lock-keywords): Add new patterns.
3543 (makefile-match-function-end): Match new [...] and [[...]].
3545 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3547 * ses.el (ses-call-printer-return, ses-cell-property-get)
3548 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3549 (ses-create-cell-variable, ses-reset-header-string)
3550 (ses-cell-set-formula, ses-repair-cell-reference-all)
3551 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3552 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3553 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3554 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3555 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3556 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3557 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3558 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3559 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3560 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3561 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3562 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3564 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3566 * ses.el: The overall change is to add cell renaming, that is
3567 setting fancy names for cell symbols other than name matching
3568 "\\`[A-Z]+[0-9]+\\'" regexp .
3569 (ses-create-cell-variable): New defun.
3570 (ses-relocate-formula): Relocate formulas only for cells the
3571 symbols of which are not renamed, i.e. symbols whose names do not
3572 match regexp "\\`[A-Z]+[0-9]+\\'".
3573 (ses-relocate-all): Relocate values only for cells the symbols of
3574 which are not renamed.
3575 (ses-load): Create cells variables as the (ses-cell ...) are read,
3576 in order to check row col consistency with cell symbol name only
3577 for cells that are not renamed.
3578 (ses-replace-name-in-formula): New defun.
3579 (ses-rename-cell): New defun.
3581 2011-12-11 Chong Yidong <cyd@gnu.org>
3583 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3584 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3586 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3588 * window.el (other-window): Fix docstring.
3590 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3592 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3593 `from' or `to' address before taking its substring.
3594 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3595 encoded name is chopped in the middle of the encoded string, and
3596 thus displayed encoded.
3598 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3600 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3602 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3604 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3605 to use texinfo-update-node and commands that call it if the
3606 Texinfo file uses @node lines without next/prev/up pointers.
3607 Correct outdated description about texinfo-master-menu.
3608 (texinfo-all-menus-update, texinfo-master-menu)
3609 (texinfo-update-node, texinfo-every-node-update)
3610 (texinfo-multiple-files-update): Doc fix. Warn against updating
3611 all the @node lines.
3612 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3613 argument is numeric. Explain better in the doc string what the
3614 function really does.
3615 (texinfo-insert-master-menu-list): Improve the error message
3616 displayed if there's no menu in the Top node.
3617 (Bug#2975) See also this thread:
3618 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3620 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3622 * speedbar.el (speedbar-supported-extension-expressions):
3623 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3625 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3627 * printing.el (pr-mode-alist):
3628 * simple.el (filter-buffer-substring-functions)
3629 (completion-list-insert-choice-function):
3630 * window.el (window-with-parameter, window-atom-root)
3631 (window-sides-slots, window-size-fixed, window-min-delta)
3632 (window-max-delta, window--resize-mini-window)
3633 (window--resize-child-windows-normal, window-tree)
3634 (delete-other-windows, quit-window, split-window)
3635 (display-buffer-record-window, special-display-buffer-names)
3636 (special-display-regexps, special-display-popup-frame)
3637 (same-window-p, split-window-sensibly)
3638 (display-buffer-overriding-action, display-buffer-alist)
3639 (display-buffer-base-action, display-buffer, switch-to-buffer)
3640 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3641 (fit-window-to-buffer, recenter-positions)
3642 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3643 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3644 and remove unneeded backslashes in docstrings.
3646 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3648 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3650 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3651 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3653 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3654 when reading the makefile (bug#10116).
3656 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3661 2011-12-06 Glenn Morris <rgm@gnu.org>
3663 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3665 2011-12-06 Chong Yidong <cyd@gnu.org>
3667 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3669 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3671 * textmodes/table.el (table-shorten-cell): Fix typo.
3673 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3675 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3677 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3679 * descr-text.el (describe-char): Fix display of strong
3680 right-to-left characters and directional embeddings and overrides.
3682 * simple.el (what-cursor-position): Fix display of codepoints of
3683 strong right-to-left characters.
3685 2011-12-05 Chong Yidong <cyd@gnu.org>
3687 * faces.el (read-color): Doc fix.
3689 2011-12-05 Glenn Morris <rgm@gnu.org>
3691 * align.el (align--set-marker): Add doc-string.
3692 Don't try to move something that is not a marker. (Bug#10216)
3694 2011-12-04 Glenn Morris <rgm@gnu.org>
3696 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3697 overly zealous deletion of trailing whitespace.
3699 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3701 * server.el (server-delete-client): On Windows, do not try to delete
3703 (server-process-filter): On Windows, treat requests for a tty frame as
3704 if they were for a GUI frame if the running server is in GUI mode.
3706 2011-12-03 Glenn Morris <rgm@gnu.org>
3708 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3710 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * electric.el: Streamline electric-indent's hook.
3713 (electric-indent-chars): Revert to simple list.
3714 (electric-indent-functions): New var.
3715 (electric-indent-post-self-insert-function): Use it.
3717 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3718 there's no inferior buffer (bug#10196).
3719 (prolog-consult-compile): Don't use toggle-read-only.
3721 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3723 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3724 interrupt. (Bug#10187)
3726 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3731 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3734 2011-12-02 Juri Linkov <juri@jurta.org>
3736 * info.el (Info-search): Display "end of manual" when Isearch
3737 reaches the end of single-file Info manual. (Bug#9918)
3739 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3741 * isearch.el (isearch-message-prefix): Run the input method part
3742 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3744 2011-12-02 Juri Linkov <juri@jurta.org>
3746 * isearch.el (isearch-occur): Use `word-search-regexp' for
3748 (isearch-search-and-update): Add condition for `isearch-word' and
3749 call `word-search-regexp'. (Bug#10145)
3751 2011-12-01 Glenn Morris <rgm@gnu.org>
3753 * eshell/em-hist.el (eshell-hist-initialize):
3754 Handle eshell-history-size nil and HISTSIZE set or unset.
3755 (eshell-history-file-name, eshell-history-size): Fix custom type.
3757 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3761 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3763 * progmodes/verilog-mode.el (verilog-pretty-expr):
3764 Rework verilog-pretty-expr to handle new assignment operators in system
3765 verilog, such as += *= and the like.
3766 (verilog-assignment-operator-re): Regular expression to find the
3767 assigment operator in a verilog assignment.
3768 (verilog-assignment-operation-re): Regular expression to find an
3769 assignment statement for pretty-expr.
3770 (verilog-in-attribute-p): Query returns true if point is in an
3771 attribute context; used to skip these for expression line up from
3773 (verilog-in-parameter-p): Query returns true if point is in an
3774 parameter definition context; used to skip these for expression
3775 line up from pretty-expr.
3776 (verilog-in-parenthesis-p): Query returns true if point is in a
3777 parenthetical expression, specifically ( ) but not [ ] or { };
3778 used by pretty-expr.
3779 (verilog-just-one-space): If there is no space, don't add one.
3780 (verilog-get-lineup-indent-2): Specifically skip just attribute
3781 contexts for expression lineup, rather than skipping all
3782 parenthetical expressions.
3783 (verilog-calculate-indent): Fix comment, and fix indent.
3784 (verilog-do-indent): Indent declarations in lists (suggested by
3786 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3788 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3791 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3793 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3794 parameters with embedded comments. Reported by Ray Stevens.
3795 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3796 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3797 Reported by Tim Holt.
3798 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3799 instantiated by upper module causing wrong expansion until AUTOed a
3800 second time. Reported by K C Buckenmaier.
3801 (verilog-diff-auto): Fix showing .* as a difference when
3802 `verilog-auto-star-save' off. Reported by Dan Dever.
3803 (verilog-auto-reset, verilog-read-always-signals)
3804 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3805 temporary signals in reset list if
3806 verilog-auto-reset-blocking-in-non is nil, and match assignment
3807 style to each signal's assignment type, bug381.
3808 Reported by Thomas Esposito.
3809 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3810 (verilog-uvm-statement-re): Support UVM indentation and
3811 highlighting, with old OVM keywords only.
3812 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3813 Support AUTOTIEOFF creating non-wire data types.
3814 Suggested by Jonathan Greenlaw.
3815 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3816 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3817 (verilog-inject-sense, verilog-read-inst-pins)
3818 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3819 Fix mismatching parenthesis inside commented out code when deleting
3820 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3821 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3822 non-numeric vector width. Reported by Alex Reed.
3823 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3824 detecting signals with parameter widths. Reported by Alex Reed.
3825 (verilog-auto-delete-trailing-whitespace):
3826 With `verilog-auto-delete-trailing-whitespace' remove trailing
3827 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3828 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3829 Fix verilog-scan-cache corruption when running user AUTO expansion
3830 hooks that call indentation routines.
3831 (verilog-simplify-range-expression): Fix typo ignoring lower case
3833 (verilog-delete-auto): Fix delete-autos to also remove user created
3834 automatics, as long as they start with AUTO.
3835 (verilog-batch-diff-auto, verilog-diff-auto)
3836 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3837 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3838 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3839 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3840 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3841 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3842 is disabled and its cache will get corrupt, causing AUTOS not to
3843 expand. Instead use only -quick functions.
3844 (verilog-scan-region): Fix scanning over escaped quotes.
3845 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3846 (verilog-re-search-backward-quick)
3847 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3848 related functions now ignore strings, to fix misparsing of strings
3849 with magic comments embedded in them.
3850 (verilog-read-auto-template):
3851 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3852 Reported by Brad Dobbie.
3853 (verilog-read-auto-template):
3854 Fix 'verilog-auto-inst-template-numbers' with comments.
3855 Reported by Brad Dobbie.
3856 (verilog-auto-inst, verilog-auto-inst-param)
3857 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3858 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3859 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3860 debugging templates without merge conflicts, bug357.
3861 Reported by Brad Dobbie.
3862 (verilog-read-auto-template):
3863 Fix verilog-auto-inst-template-numbers with multiple templates.
3864 Reported by Brad Dobbie.
3865 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3866 abbrevs so user won't be asked to save.
3867 (verilog-read-auto-lisp-present): Fix to start at beginning of
3868 buffer in case called outside of verilog-auto.
3869 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3870 to "X-2". Reported by Matthew Myers.
3871 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3872 all inputs from module templates. Reported by Leith Johnson.
3873 (verilog-module-inside-filename-p): Fix locating programs as with
3875 (verilog-auto-inst-port): Fix vl-width expressions when using
3876 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3877 (verilog-decls-get-regs, verilog-decls-get-signals,
3878 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3879 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3880 verilog-read-decls): Combine reg and wire structures into one var
3881 structure to represent SystemVerilog concepts.
3882 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3883 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3884 (verilog-auto-wire-type, verilog-insert-definition):
3885 Add verilog-auto-wire-type and AUTOLOGIC to support using
3886 SystemVerilog "logic" keyword instead of "wire"/"reg".
3887 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3888 to declares outputs that also have assignments (presumably in an
3889 ifdef or generate if so there's not a driver conflict).
3890 Reported by Matthew Myers.
3891 (verilog-auto-declare-nettype, verilog-insert-definition):
3892 Add verilog-auto-declare-nettype to fix declarations using
3893 `default_nettype none. Reported by Julian Gorfajn.
3894 (verilog-read-always-signals-recurse, verilog-read-decls)
3895 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3896 malformed end statement, bug325. Reported by Joshua Wise and
3898 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3899 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3900 when expanding .* in interfaces, bug320.
3901 Reported by Pierre-David Pfister.
3902 (verilog-read-module-name): Fix import statements between module
3903 name and open parenthesis, bug317.
3904 Reported by Pierre-David Pfister.
3905 (verilog-simplify-range-expression): Fix simplification of
3906 multiplications inside AUTOWIRE connections, bug303.
3907 (verilog-auto-inst-port): Support parameter expansion in
3908 multidimensional arrays.
3909 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3910 after "assert property". Reported by Julian Gorfajn.
3911 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3912 with multiplication, bug303.
3913 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3914 Reported by Jan Frode Lonnum.
3916 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3918 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3919 (hfy-shell-file-name, hfy-shell):
3920 * international/fontset.el (x-decompose-font-name): Fix typos.
3922 2011-11-29 Ken Brown <kbrown@cornell.edu>
3924 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3925 (gdb-version): Remove defvar.
3926 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3927 (gdb-gud-context-command, gdb-non-stop-handler)
3928 (gdb-current-context-command, gdb-stopped): Use it.
3929 (gdb-init-1): Enable pretty printing here.
3930 (gdb-non-stop-handler): Don't enable pretty-printing here.
3931 Check to see if the target supports non-stop mode; if not, turn off
3932 non-stop mode. Use the following.
3933 (gdb-check-target-async): New defun.
3934 (gud-watch, gdb-stopped): Fix whitespace.
3935 (gdb-get-source-file): Don't try to display the source file if
3936 `gdb-main-file' is nil.
3938 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3940 * align.el: Try to generate fewer markers (bug#10047).
3941 (align--set-marker): New macro.
3942 (align-region): Use it.
3944 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3948 2011-11-29 Chong Yidong <cyd@gnu.org>
3950 * indent.el (indent-for-tab-command, indent-according-to-mode):
3952 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3954 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3956 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3957 aware of remote file names. (Bug#10124)
3959 2011-11-29 Chong Yidong <cyd@gnu.org>
3961 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3963 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3965 * files.el (find-file): Don't use force-same-window (bug#10144).
3966 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3967 use pop-to-buffer if the selected window can't be used.
3968 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3970 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3972 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3975 2011-11-28 Chong Yidong <cyd@gnu.org>
3977 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3979 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3981 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3982 gdb-get-source-file-list on gdb-create-source-file-list.
3984 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3986 * whitespace.el (whitespace-newline): Use a different foreground
3987 color for 16-color light-background displays.
3989 2011-11-24 Chong Yidong <cyd@gnu.org>
3991 * window.el (display-buffer--special-action): Doc fix.
3993 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3995 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3996 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3997 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3998 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3999 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4000 (avl-tree-stack-first):
4001 * emacs-lisp/cconv.el (cconv--analyse-use):
4002 * net/gnutls.el (gnutls-negotiate): Fix typos.
4004 2011-11-24 Glenn Morris <rgm@gnu.org>
4006 * lpr.el (lpr-windows-system, lpr-lp-system):
4007 * mail/binhex.el (binhex-begin-line):
4008 * progmodes/grep.el (grep-history, grep-find-history):
4009 * textmodes/flyspell.el:
4010 * vc/pcvs-defs.el (cvs-global-menu):
4011 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4012 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4013 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4015 * net/tls.el: Fix case of "GnuTLS".
4017 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4019 * version.el (emacs-build-system): Give it a doc-string.
4021 2011-11-24 Juri Linkov <juri@jurta.org>
4023 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4025 2011-11-24 Glenn Morris <rgm@gnu.org>
4027 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4028 if called on a non-mime message just toggle the headers. (Bug#8006)
4030 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4032 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4033 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4034 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4035 (allout-rebullet-heading, allout-open-sibtopic)
4036 (allout-toggle-current-subtree-encryption)
4037 (allout-toggle-subtree-encryption, allout-encrypt-string)
4038 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4039 (allout-distinctive-bullets-string, allout-auto-activation):
4040 * window.el (window-normalize-buffer-to-display):
4041 * progmodes/verilog-mode.el (verilog-batch-indent):
4042 * textmodes/bibtex.el (bibtex-field-braces-opt)
4043 (bibtex-field-strings-opt):
4044 * vc/cvs-status.el (cvs-tree-merge):
4047 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4049 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4050 `non-essential' to t, in order to avoid remote connections.
4052 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4054 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4055 On MS-DOS and MS-Windows, compare with loaddefs.el
4058 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4060 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4062 2011-11-23 Glenn Morris <rgm@gnu.org>
4064 * paths.el (rmail-file-name): Reformat the doc-string so that it
4067 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4068 (rmail-auto-file): Ignore case in the "special" field names,
4069 as mail-fetch-field does for all others.
4071 * mail/rmail.el (rmail-forward):
4072 * mail/rmailkwd.el (rmail-set-label):
4073 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4074 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4076 * mail/rmail.el (rmail-current-message): Doc fix.
4078 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4080 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4084 2011-11-22 Glenn Morris <rgm@gnu.org>
4086 * mail/rmailmm.el (test-rmail-mime-handler)
4087 (test-rmail-mime-bulk-handler)
4088 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4090 2011-11-21 Juri Linkov <juri@jurta.org>
4092 * calc/calc.el (calc-read-key-sequence):
4093 Let-bind `input-method-function' to nil. (Bug#10018)
4095 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4097 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4098 Tell the caller that the next line needs recomputation, even
4099 though it doesn't start a sexp (bug#10094).
4101 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4103 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4105 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4107 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4108 Use force-same-window.
4110 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4112 * descr-text.el (describe-char-unicode-data):
4113 * json.el (json-string-escape):
4114 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4115 (Footnote-unicode, Footnote-style-p):
4116 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4118 2011-11-20 Chong Yidong <cyd@gnu.org>
4120 * window.el (replace-buffer-in-windows): Restore interactive spec.
4122 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4126 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4127 (byte-compile-global-not-obsolete-vars): New var.
4128 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4130 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4132 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4134 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4135 * progmodes/pascal.el (electric-pascal-equal):
4136 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4137 * xml.el (xml-substitute-special): Fix typos.
4139 2011-11-20 Glenn Morris <rgm@gnu.org>
4141 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4142 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4144 (rmail-decode-mime-charset): Mark as obsolete.
4146 * mail/rmailsum.el (rmail-message-regexp-p-1):
4147 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4148 Before using mime functions, check they are set. (Bug#10077)
4150 2011-11-19 Juri Linkov <juri@jurta.org>
4152 * info.el (Info-finder-find-node): Use `package--builtins' instead
4153 of `package-alist'. Use node names formed by the pattern "Keyword "
4154 and the keyword name.
4156 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4158 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4160 2011-11-19 Juri Linkov <juri@jurta.org>
4162 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4163 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4164 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4165 `old-history', `old-history-forward'. Add let-binding
4166 `window-selected'. Remove calls to `kill-buffer',
4167 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4168 before calling `Info-find-node', so `Info-find-node-2' will reread
4169 the Info file. Restore window positions only when `window-selected'
4172 2011-11-19 Juri Linkov <juri@jurta.org>
4174 * isearch.el (isearch-lazy-highlight-new-loop):
4175 Remove condition `(not isearch-error)'. (Bug#9918)
4177 * misearch.el (multi-isearch-search-fun): Add condition
4178 `(not bound)' to ignore lazy-highlighting search.
4179 Add the search-failed message "end of multi" when the end of
4180 multi-sequence is reached. Uncapitalize the search-failed
4181 message "Repeat for next buffer".
4183 * info.el (Info-search): Add the search-failed message
4184 "end of the manual" when the end of the manual is reached
4187 2011-11-19 Juri Linkov <juri@jurta.org>
4189 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4190 Use non-destructive `remove' instead of `delete' because
4191 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4192 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4194 2011-11-19 Juri Linkov <juri@jurta.org>
4196 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4197 to nil instead of binding `search-ring' and `regexp-search-ring'.
4200 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4202 * simple.el (line-move): Force movement by logical lines for any
4203 hscrolled window, not only when auto-hscroll-mode is on.
4204 (line-move-visual): Update doc string to that effect. (Bug#10076)
4206 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4208 * language/european.el (macintosh): Define as alias for mac-roman.
4210 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4212 * mail/rmailmm.el (rmail-mime-display-header)
4213 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4214 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4215 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4216 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4217 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4219 (rmail-mime-entity-segment): To get past the tagline, move forward
4220 2 more lines, to account for the 2 empty lines that precede and
4221 follow the line with the buttons.
4222 (rmail-mime-update-tagline): Move one more line, to get past the
4223 empty line that follows the buttons in the tagline. (Bug#9520)
4225 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4227 * window.el (window-max-delta-1, window-min-delta-1)
4228 (window-min-size-1, window-state-get-1, window-state-put-1)
4229 (window-state-put-2): Use "window--" prefix.
4231 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4234 (smie-warning-count): New var.
4235 (smie-set-prec2tab): Use it.
4236 (smie-bnf->prec2): Improve warnings. Add docstring.
4237 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4238 (smie-bnf--set-class): New function.
4239 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4242 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4243 (compilation-error-properties, compilation-move-to-column):
4244 Handle compilation-first-column while in the target buffer.
4246 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4247 Don't hardcode point-min==1.
4249 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4250 (eshell-rewrite-for-command): Remove workaround.
4251 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4252 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4253 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4255 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4257 2011-11-17 Glenn Morris <rgm@gnu.org>
4259 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4260 Ignore buffer-local generated-autoload-file if it is the same
4261 as the global value. (Bug#10049)
4263 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4265 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4266 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4267 (reftex-toc-previous-heading, reftex-toc-max-level)
4268 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4269 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4270 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4271 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4272 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4273 (reftex-toc-rename-label, reftex-toc-visit-location)
4274 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4275 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4276 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4277 leaving "*toc*" only for references to the buffer.
4279 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4281 * window.el (window-resize, delete-window, split-window):
4282 Replace window-splits by window-combination-resize.
4283 * cus-start.el (window-splits): Replace by window-combination-resize.
4285 2011-11-17 Glenn Morris <rgm@gnu.org>
4287 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4288 Make bash entry derive from sh entry, not shell entry.
4290 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4292 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4293 properties of linked files. (Bug#9879)
4295 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4298 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4300 * menu-bar.el (menu-bar-file-menu):
4301 * printing.el (pr-ps-utility):
4302 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4303 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4304 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4305 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4306 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4307 (icalendar--convert-cyclic-to-ical)
4308 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4309 (icalendar--convert-ical-to-diary)
4310 (icalendar--convert-recurring-to-diary)
4311 (icalendar--convert-non-recurring-all-day-to-diary)
4312 (icalendar-import-format-sample):
4313 * progmodes/idlw-shell.el (idlwave-shell-mode):
4314 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4315 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4316 (vhdl-ps-print-init): Fix typos.
4318 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4320 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4321 FSF and collapse date sequence, obscure author/maintainer email address
4322 better, remove extra version line, track relocation of author's webpage.
4324 * progmodes/python.el (python-pdbtrack-input-prompt)
4325 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4326 regular python pdb prompts. Adjustments shamelessly taken exactly as
4327 suggested in EmacsWiki page (tiny change):
4328 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4330 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4332 * expand.el (expand-pos, expand-index, expand-point):
4333 Remove redundant info from docstring.
4334 (expand-add-abbrevs): Doc fix.
4335 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4336 (expand-sample-perl-mode-expand-list): Fix typos.
4338 * net/dbus.el (dbus-event-member-name):
4339 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4340 * term/pc-win.el (msdos-create-frame-with-faces):
4341 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4343 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4345 * window.el (split-window, window-state-get-1)
4346 (window-state-put-1, window-state-put-2): Rename occurrences of
4347 window-nest to window-combination-limit.
4348 * cus-start.el (window-nest): Rename to window-combination-limit.
4350 2011-11-16 Chong Yidong <cyd@gnu.org>
4352 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4355 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4358 `completing-read' will remove *Completions* and will preserve
4359 current-buffer for us.
4360 (tmm-add-prompt): Users of *Completions* will always (re)set its
4362 (tmm-old-comp-map): Remove.
4364 2011-11-16 Glenn Morris <rgm@gnu.org>
4366 * mail/rmailedit.el: Require rmailmm when compiling.
4367 (rmail-old-mime-state): New declaration.
4368 (rmail-edit-current-message): If editing a mime message,
4369 edit the "raw" message from the mbox buffer.
4370 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4372 2011-11-15 Glenn Morris <rgm@gnu.org>
4374 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4375 which wasn't being used. Add optional arg to force given state.
4376 (rmail-mime): Add optional arg to force given state.
4378 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4380 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4381 * frame.el (display-mm-dimensions-alist):
4382 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4383 (outline-move-subtree-down):
4384 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4385 (newsticker--treeview-do-get-node):
4386 * net/quickurl.el (quickurl-list-buffer-name):
4387 * progmodes/dcl-mode.el (dcl-mode):
4388 * progmodes/gdb-mi.el (gdb-mapcar*):
4389 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4391 2011-11-15 Glenn Morris <rgm@gnu.org>
4393 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4394 in a boolean sense, so just make it a boolean, and fix the doc.
4395 (rmail-show-mime-function, rmail-mime-feature)
4396 (rmail-require-mime-maybe): Doc fixes.
4397 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4399 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4401 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4403 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4404 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4405 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4406 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4408 2011-11-15 Glenn Morris <rgm@gnu.org>
4410 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4411 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4412 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4413 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4414 (rmail-mime, rmail-show-mime): Doc fixes.
4416 * term/ns-win.el (mode-line-frame-identification):
4417 Leave it alone. (Bug#10051)
4419 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4421 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4422 Handle empty buffers. (Bug#9978)
4424 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4426 * international/mule.el (define-charset):
4427 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4428 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4429 * progmodes/verilog-mode.el (verilog-backward-token):
4430 * textmodes/ispell.el (lookup-words):
4431 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4433 2011-11-14 Glenn Morris <rgm@gnu.org>
4435 * progmodes/executable.el
4436 (executable-make-buffer-file-executable-if-script-p):
4437 Handle file-modes returning nil.
4439 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4440 message - not necessary, and causes problems. (Bug#9831)
4442 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4444 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4446 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4447 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4448 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4450 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4452 * window.el (window-resize, delete-window): Use window-splits
4453 variable instead of function.
4454 (window-state-get-1, window-state-put-2, window-state-put):
4455 Don't deal with windows' splits status.
4457 2011-11-12 Glenn Morris <rgm@gnu.org>
4459 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4460 (apropos-documentation): Doc fixes.
4462 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4464 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4465 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4467 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * electric.el (electric-indent-post-self-insert-function): Make it
4470 possible for a char to only indent in some circumstances.
4471 (electric-indent-mode): Simplify.
4473 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4475 * window.el (windows-with-parameter): Remove unused function.
4476 (windows-at-side): Rename to window-at-side-list.
4477 (window-check, window-atom-check, window-atom-check-1)
4478 (window-side-check, window-size-ignore, window-size-fixed-1)
4479 (window-in-direction-2): Prefix with "window--".
4480 (window-tree-1): Rename to window--subtree, fix doc-string.
4482 2011-11-11 Glenn Morris <rgm@gnu.org>
4484 * subr.el (eval-after-load): If FILE is already loaded,
4485 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4487 2011-11-10 Glenn Morris <rgm@gnu.org>
4489 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4490 Call svn via vc-svn-command rather than vc-do-command.
4491 (vc-svn-command): Add --non-interactive. (Bug#9993)
4492 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4494 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4495 Add toggle-read-only. (Bug#7292)
4496 * files.el (toggle-read-only): Mention that it should only
4497 be used interactively. (Bug#10006)
4499 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4502 Adjust regexp for OCaml warnings.
4504 * electric.el (electric-pair-post-self-insert-function): Let user
4505 turn it off buffer-locally (bug#9932).
4507 * progmodes/python.el (python-beginning-of-statement):
4510 * progmodes/compile.el: Better handle TABs (bug#9749).
4511 (compilation-internal-error-properties)
4512 (compilation-next-error-function): Obey the target buffer's
4513 compilation-error-screen-columns.
4515 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4517 * progmodes/meta-mode.el: Remove obsolete comments.
4518 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4519 Fix typos in docstrings.
4521 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4523 * window.el (window-size-fixed-p): Rewrite doc-string.
4524 (window-resizable-p): Rename to window--resizable-p. Update callers.
4525 (window--resizable): New function. Make all callers of
4526 window-resizable call window--resizable instead.
4527 (window-resizable): Rewrite in terms of window--resizable.
4529 2011-11-08 Glenn Morris <rgm@gnu.org>
4531 * progmodes/delphi.el (delphi-mode-syntax-table):
4532 Let define-derived-mode define a proper syntax table. (Bug#9994)
4534 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4536 * window.el: Stay away from defsubst.
4537 (window-list-no-nils): Remove.
4538 (window-state-get-1, window-state-get): Use backquote instead.
4540 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4542 * emacs-lisp/find-func.el (find-function-read):
4543 Fix incorrect use of default argument in `completing-read'.
4545 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4547 * window.el (display-buffer-function, special-display-function):
4548 Mention display-buffer-record-window but do not mention
4549 help-setup parameter in doc-strings.
4550 (window-min-delta): Fix doc-string typo.
4552 2011-11-08 Chong Yidong <cyd@gnu.org>
4554 * window.el (window-total-height, window-total-width): Doc fix.
4555 (window-body-size): Move from C.
4556 (window-body-height, window-body-width): Move to C.
4558 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * window.el: Make special-display like display-buffer-alist (bug#9532).
4561 (display-buffer--special-action): New function, morphed
4562 from display-buffer--special.
4563 (display-buffer): Use it to handle special-display-buffers at higher
4564 priority (just after display-buffer-alist).
4565 (display-buffer-fallback-action, display-buffer--other-frame-action)
4566 (pop-to-buffer-same-window): Remove display-buffer--special.
4568 2011-11-07 Glenn Morris <rgm@gnu.org>
4570 * calendar/cal-menu.el (cal-menu-set-date-title):
4571 Do nothing if not in a calendar. (Bug#9976)
4573 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * files.el (find-file): Always use selected-window.
4577 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4579 * window.el (window-combinations): Make WINDOW argument
4580 mandatory. Rewrite doc-string.
4581 (walk-window-subtree, window-atom-check, window-min-delta)
4582 (window-max-delta, window--resize-this-window)
4583 (window--resize-root-window-vertically, window-tree)
4584 (balance-windows, window-state-put): Rewrite doc-strings as to
4585 not mention the term "subwindow".
4586 (window--resize-subwindows-skip-p): Rename to
4587 window--resize-child-windows-skip-p.
4588 (window--resize-subwindows-normal): Rename to
4589 window--resize-child-windows-normal.
4590 (window--resize-subwindows): Rename to
4591 window--resize-child-windows.
4592 (window-or-subwindow-p): Rename to window--in-subtree-p.
4594 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4596 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4597 Ensure that mbox format messages end in two newlines (Bug#9974).
4599 2011-11-06 Chong Yidong <cyd@gnu.org>
4601 * window.el (window-combination-p): Function deleted; its
4602 side-effect is not used in any existing code.
4603 (window-combinations, window-combined-p): Call window-*-child
4606 2011-11-05 Chong Yidong <cyd@gnu.org>
4608 * window.el (window-valid-p): Rename from window-any-p.
4609 (window-size-ignore, window-state-get): Callers changed.
4610 (window-normalize-window): Rename from window-normalize-any-window.
4611 New arg LIVE-ONLY, replacing window-normalize-live-window.
4612 (window-normalize-live-window): Delete.
4613 (window-combination-p, window-combined-p, window-combinations)
4614 (walk-window-subtree, window-atom-root, window-min-size)
4615 (window-sizable, window-sizable-p, window-size-fixed-p)
4616 (window-min-delta, window-max-delta, window-resizable)
4617 (window-resizable-p, window-full-height-p, window-full-width-p)
4618 (window-current-scroll-bars, window-point-1, set-window-point-1)
4619 (window-at-side-p, window-in-direction, window-resize)
4620 (adjust-window-trailing-edge, maximize-window, minimize-window)
4621 (window-deletable-p, delete-window, delete-other-windows)
4622 (record-window-buffer, unrecord-window-buffer)
4623 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4624 (quit-window, split-window, window-state-put)
4625 (set-window-text-height, fit-window-to-buffer)
4626 (shrink-window-if-larger-than-buffer): Callers changed.
4628 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4630 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4631 rfc2047-decode-string.
4632 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4635 * window.el (window-body-height, window-body-width): Mention in
4636 the doc string that the return values are in frame's canonical
4639 2011-11-03 Alan Mackenzie <acm@muc.de>
4641 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4642 change in cc-engine.el.
4644 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4648 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4650 * window.el (quit-window): Call unrecord-window-buffer after
4651 showing another buffer in the window. (Bug#9937)
4652 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4654 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4656 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4657 Accept status with more than 9 shelves. (Bug#9935)
4658 Reported by Colin D Bennett <colin@gibibit.com>.
4660 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4662 * help.el (with-help-window): Don't reference
4663 temp-buffer-show-specifiers in doc-string.
4665 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4667 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4670 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4672 * whitespace.el: New version 13.2.2.
4673 (whitespace-newline-mode): Disable properly. Reported by Sarah
4676 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4678 * net/newst-treeview.el: Remove "Time-stamp".
4679 (newsticker--group-manage-orphan-feeds): Do not call
4680 newsticker--treeview-tree-update.
4681 (newsticker-treeview-update, newsticker-treeview):
4682 Call newsticker--treeview-tree-update if necessary.
4684 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4686 * window.el (window-iso-combination-p, window-iso-combined-p)
4687 (window-iso-combinations): Remove "iso-" infix.
4688 Suggested by Chong Yidong.
4689 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4690 (window-max-delta-1, window-resize, window--resize-siblings)
4691 (window--resize-this-window, adjust-window-trailing-edge)
4692 (split-window, balance-windows-1)
4693 (shrink-window-if-larger-than-buffer):
4694 * calendar/calendar.el (calendar-generate-window):
4695 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4697 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4699 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4700 in place (bug#9907).
4701 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4702 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4703 (eshell-structure-basic-command, eshell-rewrite-while-command)
4704 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4705 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4706 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4707 (eshell-do-pipelines-synchronously, eshell-eval-command):
4708 Use backquotes and prefer setq to set.
4709 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4710 (eshell-macrop): Use functionp.
4711 (eshell-do-eval): Handle multiple expressions in `while' body.
4713 2011-10-30 Chong Yidong <cyd@gnu.org>
4715 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4716 instead of set-mark (Bug#9810).
4718 2011-10-30 Chong Yidong <cyd@gnu.org>
4720 * window.el (split-window-below, split-window-right): Rename from
4721 split-window-above-each-other and split-window-side-by-side
4722 respectively. All callers changed.
4723 (split-window-sensibly, split-window-sensibly): Use them.
4724 (split-window-keep-point): Doc fix.
4726 * isearch.el: Add isearch-scroll property to split-window-below
4727 and split-window-right.
4729 * follow.el (follow-mode):
4730 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4731 * progmodes/ada-xref.el (ada-gdb-application):
4732 * emulation/vip.el (vip-buffer-in-two-windows):
4733 * image-dired.el (image-dired-dired-with-window-configuration):
4734 * dired-x.el (dired-do-find-marked-files):
4735 * dired.el (dired-pop-to-buffer):
4736 * bs.el (bs--show-with-configuration):
4737 * vc/emerge.el (emerge-setup-windows):
4738 * textmodes/two-column.el (2C-two-columns):
4739 * textmodes/reftex-toc.el (reftex-toc):
4740 * progmodes/gdb-mi.el (gdb-setup-windows):
4741 * progmodes/fortran.el (fortran-window-create):
4742 * net/newst-treeview.el (newsticker--treeview-window-init):
4743 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4744 * emulation/tpu-edt.el (tpu-gold-map):
4745 * emulation/crisp.el (crisp-mode-map):
4746 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4748 2011-10-29 Chong Yidong <cyd@gnu.org>
4750 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4752 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4754 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4755 forged Ispell output (Bug#7904).
4757 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4759 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * doc-view.el: Avoid ugly errors about not finding nil.
4762 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4763 (doc-view-dvipdf-program, doc-view-unoconv-program)
4764 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4765 Avoid nil or absolute file name as default value.
4766 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4768 2011-10-28 Alan Mackenzie <acm@muc.de>
4770 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4772 2011-10-28 Alan Mackenzie <acm@muc.de>
4774 Amend the handling of c-beginning/end-of-defun in nested declaration
4777 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4778 cc-langs.el. Change it to a defcustom.
4780 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4783 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4784 Prevent "class foo : bar" being spuriously recognized as a label.
4786 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4787 Add parameter `inclusive' (to include enclosing braces in the region).
4788 (c-widen-to-enclosing-decl-scope): New function.
4789 (c-while-widening-to-decl-block): New macro.
4790 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4791 outward for defun boundaries, and correspondingly change symbol
4792 `respect-enclosure' to `go-outward'.
4793 (c-declaration-limits): Change algorithm to report only the "innermost"
4796 2011-10-28 Deniz Dogan <deniz@dogan.se>
4798 * net/rcirc.el (rcirc-mode): Use hard newlines.
4800 2011-10-28 Alan Mackenzie <acm@muc.de>
4802 Amend to indent and fontify macros "which include their own semicolon"
4803 correctly, using the "virtual semicolon" mechanism.
4805 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4807 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4808 Recode to scan one line at a time rather than having \n and \r
4809 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4810 (c-forward-label): Amend for virtual semicolons.
4811 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4813 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4814 of the new C macros.
4816 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4817 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4818 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4819 (c-opt-cpp-macro-define): Make into a full language variable.
4820 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4821 AWK Mode (including \n, \r) removed, no longer needed.
4823 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4824 Invoke c-make-macro-with-semi-re.
4826 * progmodes/cc-vars.el (c-macro-with-semi-re):
4827 (c-macro-names-with-semicolon): New variables.
4828 (c-make-macro-with-semi-re): New function.
4830 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4832 * vc/log-edit.el: Fill empty field rather than adding new one.
4833 (log-edit-add-field): New function.
4834 (log-edit-insert-changelog): Use it.
4836 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4838 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4840 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4843 (gdb--check-interpreter): New function.
4846 2011-10-27 Glenn Morris <rgm@gnu.org>
4848 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4849 (least-positive-float, least-negative-float)
4850 (least-positive-normalized-float, least-negative-normalized-float)
4851 (float-epsilon, float-negative-epsilon):
4852 Remove unnecessary declarations.
4854 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4855 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4856 (least-positive-float, least-negative-float)
4857 (least-positive-normalized-float, least-negative-normalized-float)
4858 (float-epsilon, float-negative-epsilon): Add doc-strings,
4859 based on those in cl.texi.
4861 * files.el (set-visited-file-name): If the major-mode changed,
4862 reload the local variables. (Bug#9796)
4864 2011-10-27 Chong Yidong <cyd@gnu.org>
4866 * subr.el (change-major-mode-after-body-hook): New hook.
4867 (run-mode-hooks): Run it.
4869 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4870 Use change-major-mode-before-body-hook.
4872 * simple.el (fundamental-mode):
4873 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4874 change introducing fundamental-mode-hook.
4876 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4878 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4880 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4882 * ido.el (ido-file-name-all-completions-1): Do not require
4883 tramp.el explicitly. (Bug#7583)
4885 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * progmodes/octave-mod.el:
4888 * progmodes/octave-inf.el: Update maintainer.
4890 2011-10-26 Chong Yidong <cyd@gnu.org>
4892 * subr.el (with-wrapper-hook): Rewrite doc.
4894 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4896 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4897 filenames "/method:foo:". (Bug#9793)
4899 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4901 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4904 2011-10-24 Glenn Morris <rgm@gnu.org>
4906 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4908 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4910 * notifications.el: Add the requirement of a running D-Bus session
4911 bus to the Commentary.
4913 2011-10-24 Juri Linkov <juri@jurta.org>
4915 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4916 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4919 2011-10-24 Juri Linkov <juri@jurta.org>
4921 * info.el (Info-following-node-name-re): Add newline to the list
4922 of allowed characters for leading space. (Bug#9824)
4924 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4926 * progmodes/octave-inf.el (inferior-octave-mode-map):
4927 Fix C-c C-h binding.
4928 * progmodes/octave-mod.el (octave-help): Remove.
4930 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4932 Sync with Tramp 2.2.3.
4934 * net/tramp-cache.el (top): Pacify byte-compiler using
4935 `init-file-user' and `site-run-file'.
4937 * net/trampver.el: Update release number.
4939 2011-10-23 Chong Yidong <cyd@gnu.org>
4941 * files.el (toggle-read-only): Remove obsolete comment about
4944 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4945 for toggle-read-only. Note that this hasn't called vc-next-action
4946 since 2008-05-02, though it wasn't documented at the time.
4948 * vc/ediff-init.el (ediff-toggle-read-only-function):
4949 Use toggle-read-only.
4951 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4953 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4956 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4957 correct faulty logical expression.
4958 (c-parse-state-state, c-record-parse-state-state):
4959 (c-replay-parse-state-state): New defvar/defuns.
4960 (c-debug-parse-state): Use new functions.
4962 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4964 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4965 last fix. Use window-in-direction correctly.
4967 2011-10-21 Chong Yidong <cyd@gnu.org>
4969 * progmodes/idlwave.el (idlwave-mode):
4970 * progmodes/vera-mode.el (vera-mode): No need to set
4971 require-final-newline; that's done in prog-mode.
4972 Suggested by Stefan Monnier.
4974 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4976 * mouse.el (mouse-drag-window-above)
4977 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4978 (mouse-drag-mode-line-1, mouse-drag-header-line)
4979 (mouse-drag-vertical-line-rightward-window): Remove.
4980 (mouse-drag-line): New function.
4981 (mouse-drag-mode-line, mouse-drag-header-line)
4982 (mouse-drag-vertical-line): Call mouse-drag-line.
4983 * window.el (window-at-side-p, windows-at-side): New functions.
4985 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4987 * tar-mode.el (tar-grind-file-mode):
4988 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4990 2011-10-21 Chong Yidong <cyd@gnu.org>
4992 * progmodes/idlwave.el (idlwave-mode):
4993 * progmodes/vera-mode.el (vera-mode):
4994 Use mode-require-final-newline.
4996 2011-10-20 Glenn Morris <rgm@gnu.org>
4998 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5000 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5002 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5004 2011-10-20 Chong Yidong <cyd@gnu.org>
5006 * emulation/cua-base.el (cua-mode):
5007 * mail/footnote.el (footnote-mode):
5008 * mail/mailabbrev.el (mail-abbrevs-mode):
5009 * net/xesam.el (xesam-minor-mode):
5010 * progmodes/bug-reference.el (bug-reference-mode):
5011 * progmodes/cap-words.el (capitalized-words-mode):
5012 * progmodes/compile.el (compilation-minor-mode)
5013 (compilation-shell-minor-mode):
5014 * progmodes/gud.el (gud-tooltip-mode):
5015 * progmodes/hideif.el (hide-ifdef-mode):
5016 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5017 * progmodes/subword.el (subword-mode):
5018 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5019 * progmodes/which-func.el (which-function-mode):
5020 * term/tvi970.el (tvi970-set-keypad-mode):
5021 * term/vt100.el (vt100-wide-mode):
5022 * textmodes/flyspell.el (flyspell-mode):
5023 * textmodes/ispell.el (ispell-minor-mode):
5024 * textmodes/nroff-mode.el (nroff-electric-mode):
5025 * textmodes/paragraphs.el (use-hard-newlines):
5026 * textmodes/refill.el (refill-mode):
5027 * textmodes/reftex.el (reftex-mode):
5028 * textmodes/rst.el (rst-minor-mode):
5029 * textmodes/sgml-mode.el (html-autoview-mode)
5030 (sgml-electric-tag-pair-mode):
5031 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5032 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5033 * emulation/crisp.el (crisp-mode):
5034 * emacs-lisp/eldoc.el (eldoc-mode):
5035 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5036 minor mode behavior.
5038 2011-10-19 Juri Linkov <juri@jurta.org>
5040 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5041 the list of hard-coded chars with escape-glyph face.
5043 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5047 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5049 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5052 2011-10-19 Glenn Morris <rgm@gnu.org>
5054 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5055 Ignore ignored files. (Bug#9726)
5057 2011-10-19 Chong Yidong <cyd@gnu.org>
5059 Doc fix for minor modes, stating that an omitted argument enables
5060 the mode unconditionally when called from Lisp.
5062 * abbrev.el (abbrev-mode):
5063 * allout.el (allout-mode):
5064 * autoinsert.el (auto-insert-mode):
5065 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5066 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5067 (global-auto-revert-mode):
5068 * battery.el (display-battery-mode):
5069 * composite.el (global-auto-composition-mode)
5070 (auto-composition-mode):
5071 * delsel.el (delete-selection-mode):
5072 * desktop.el (desktop-save-mode):
5073 * dired-x.el (dired-omit-mode):
5074 * dirtrack.el (dirtrack-mode):
5075 * doc-view.el (doc-view-minor-mode):
5076 * double.el (double-mode):
5077 * electric.el (electric-indent-mode, electric-pair-mode):
5078 * emacs-lock.el (emacs-lock-mode):
5079 * epa-hook.el (auto-encryption-mode):
5080 * follow.el (follow-mode):
5081 * font-core.el (font-lock-mode):
5082 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5083 * help.el (temp-buffer-resize-mode):
5084 * hilit-chg.el (highlight-changes-mode)
5085 (highlight-changes-visible-mode):
5086 * hi-lock.el (hi-lock-mode):
5087 * hl-line.el (hl-line-mode, global-hl-line-mode):
5088 * icomplete.el (icomplete-mode):
5089 * ido.el (ido-everywhere):
5090 * image-file.el (auto-image-file-mode):
5091 * image-mode.el (image-minor-mode):
5092 * iswitchb.el (iswitchb-mode):
5093 * jka-cmpr-hook.el (auto-compression-mode):
5094 * linum.el (linum-mode):
5095 * longlines.el (longlines-mode):
5096 * master.el (master-mode):
5097 * mb-depth.el (minibuffer-depth-indicate-mode):
5098 * menu-bar.el (menu-bar-mode):
5099 * minibuf-eldef.el (minibuffer-electric-default-mode):
5100 * mouse-sel.el (mouse-sel-mode):
5101 * msb.el (msb-mode):
5102 * mwheel.el (mouse-wheel-mode):
5103 * outline.el (outline-minor-mode):
5104 * paren.el (show-paren-mode):
5105 * recentf.el (recentf-mode):
5106 * reveal.el (reveal-mode, global-reveal-mode):
5107 * rfn-eshadow.el (file-name-shadow-mode):
5108 * ruler-mode.el (ruler-mode):
5109 * savehist.el (savehist-mode):
5110 * scroll-all.el (scroll-all-mode):
5111 * scroll-bar.el (scroll-bar-mode):
5112 * server.el (server-mode):
5113 * shell.el (shell-dirtrack-mode):
5114 * simple.el (auto-fill-mode, transient-mark-mode)
5115 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5116 (line-number-mode, column-number-mode, size-indication-mode)
5117 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5118 * strokes.el (strokes-mode):
5119 * time.el (display-time-mode):
5120 * t-mouse.el (gpm-mouse-mode):
5121 * tool-bar.el (tool-bar-mode):
5122 * tooltip.el (tooltip-mode):
5123 * type-break.el (type-break-mode-line-message-mode)
5124 (type-break-query-mode):
5125 * view.el (view-mode):
5126 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5127 (global-whitespace-mode, global-whitespace-newline-mode):
5128 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5130 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5131 Fix autogenerated docstring.
5133 2011-10-19 Juri Linkov <juri@jurta.org>
5135 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5136 by checking environment variables "DESKTOP_SESSION" and
5137 "XDG_CURRENT_DESKTOP". (Bug#9779)
5139 2011-10-19 Juri Linkov <juri@jurta.org>
5141 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5142 (browse-url-chromium-program, browse-url-chromium-arguments):
5144 (browse-url-default-browser): Check for `browse-url-chromium' and
5145 call `browse-url-chromium-program'.
5146 (browse-url-chromium): New command. (Bug#9779)
5148 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5150 * facemenu.el (list-colors-duplicates): On Windows, detect more
5151 duplicates by assuming that only colors matching "^System" are
5152 special "system colors". (Bug#9722)
5154 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5156 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5157 to distinguish the author from the committer.
5159 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5161 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5163 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5165 * international/mule.el (sgml-html-meta-auto-coding-function):
5166 Add support for detecting encoding in HTML5 specified only as
5167 <meta charset="UTF-8">. Implementation just makes http-equiv and
5168 content-type parts from HTML4 encoding string optional. (Bug#9716)
5170 2011-10-18 Glenn Morris <rgm@gnu.org>
5172 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5174 2011-10-18 Chong Yidong <cyd@gnu.org>
5176 * faces.el (cursor): Doc fix.
5178 2011-10-17 Chong Yidong <cyd@gnu.org>
5180 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5182 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5184 * dirtrack.el (dirtrack): Support shell buffers with path
5185 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5187 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5189 * json.el: Bump version to 1.3 and note change in History.
5190 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5192 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * comint.el (comint-insert-input, comint-send-input)
5195 (comint-get-old-input-default, comint-backward-matching-input)
5196 (comint-next-prompt): Use nil instead of `input' for field property of
5197 past user input (bug#114).
5199 * minibuffer.el (completion--replace): Inherit surrounding properties
5201 (minibuffer-complete-and-exit): Use it.
5203 * comint.el (comint--table-subvert): Quote the all-completions output
5206 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5208 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5210 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5211 window on right of selected. (Bug#9350) Reword other window
5212 entries and separate them from frame entries.
5214 2011-10-15 Glenn Morris <rgm@gnu.org>
5216 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5219 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5221 * net/network-stream.el (network-stream-open-starttls):
5222 Improve detection of failure due to lack of TLS support.
5224 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5225 putting the input text in front and in bold.
5227 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5231 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5234 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5235 unread-command-events rather than pushing yet-another event.
5237 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5239 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5240 the explanation of the possible choices. Make the options passed
5241 to completing-read shorter.
5243 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5245 * textmodes/flyspell.el (flyspell-large-region): Make sure
5246 extended character mode is used if defined (Bug#1339).
5248 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5250 * simple.el (what-cursor-position): Fix the display of the
5251 character info for LRE, LRO, RLE, and RLO characters by appending
5254 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5256 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5257 even in case of error; add debug spec; simplify data flow.
5258 (with-timeout-handler): Remove.
5260 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5262 Fix Bug#6019, Bug#9315.
5264 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5265 complete `buffer-file-name', the local file name part could look
5266 remotely (for example on VMS).
5268 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5269 `tramp-run-real-handler'.
5270 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5271 already quoted by '"'.
5273 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5274 Let `file-name-handler-alist' be nil, the local file name part
5275 could look remotely (for example on VMS).
5277 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5281 (flyspell-post-command-hook): ...to here.
5283 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5287 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5288 using completion. Protect against "slow" callers.
5289 Remove the "message hack".
5291 2011-10-11 Juri Linkov <juri@jurta.org>
5293 * isearch.el (isearch-lazy-highlight-word): New variable.
5294 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5297 2011-10-11 Glenn Morris <rgm@gnu.org>
5299 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5300 like f90-previous-statement does.
5302 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5304 * eshell/eshell.el (eshell-command): History should be saved
5305 only in interactive use, to avoid error.
5307 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * minibuffer.el (completion-file-name-table): Fix last change,
5310 i.e. ignore normal errors but not the other ones.
5312 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5314 * window.el (special-display-buffer-names)
5315 (special-display-regexps): Remove some remnants of earlier
5316 changes from doc-strings.
5317 (quit-windows-on): New function.
5319 * vc/vc.el (vc-revert, vc-rollback):
5320 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5321 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5322 (Bug#6183) (Bug#7074) (Bug#7447)
5324 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5326 * window.el (frame-auto-hide-function): Add version tag.
5329 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5331 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5334 2011-10-09 Leo Liu <sdl.web@gmail.com>
5336 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5339 2011-10-08 Glenn Morris <rgm@gnu.org>
5341 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5342 before the first code statement zero indent. (Bug#9690)
5344 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5346 * simple.el (count-words-region): Always count in the region.
5347 Report the number of lines and characters too.
5348 (count-words): New command, which counts in the buffer if the
5349 region is inactive, as count-words-region used to.
5350 (count-words--message): New function. Handle plurals.
5351 (count-lines-region): Make it an alias for count-words-region.
5353 * bindings.el (esc-map): Replace count-lines-region with
5356 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5358 * window.el (window--delete): Delete dedicated frame
5359 unconditionally when argument KILL is non-nil. (Bug#9699)
5360 (switch-to-buffer): Fix doc-string typo.
5362 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5364 * eshell/eshell.el (eshell-command): Avoid using hooks.
5366 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5368 * bindings.el ([M-left],[M-right]): Bind to left-word and
5369 right-word respectively.
5371 2011-10-07 Glenn Morris <rgm@gnu.org>
5373 * cus-start.el (debug-on-quit): Fix custom type.
5375 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5377 * subr.el (define-key-after): Clarify that the function is not
5378 useful for non-menu keymaps.
5380 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5382 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5384 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5385 in current minibuffer (Fix bug with recursive minibuffers).
5387 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5389 * progmodes/gdb-mi.el (gdb): Doc fix.
5391 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5393 * window.el (frame-auto-hide-function): New option replacing
5394 frame-auto-delete. Suggested by Stefan Monnier.
5395 (window--delete): Call frame-auto-hide-function instead of
5396 investigating frame-auto-delete.
5397 (window-point-1, set-window-point-1): New functions.
5398 (window-in-direction, record-window-buffer, window-state-get-1)
5399 (display-buffer-record-window): Use window-point-1 instead of
5401 (set-window-buffer-start-and-point): Use set-window-point-1.
5403 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5407 2011-10-05 Glenn Morris <rgm@gnu.org>
5409 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5410 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5412 2011-10-05 Leo Liu <sdl.web@gmail.com>
5414 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5415 works with buffer object.
5417 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5419 * mpc.el (mpc-tool-bar-map): Add labels.
5421 2011-10-04 Glenn Morris <rgm@gnu.org>
5423 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5425 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5427 * window.el (window--delete): New function.
5428 (frame-auto-delete): Resuscitate option.
5429 (bury-buffer, replace-buffer-in-windows)
5430 (quit-window): Rewrite using window--delete.
5431 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5432 Pass display-buffer-mark-dedicated to window--display-buffer-2
5435 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5437 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5438 returns a list (bug#9554). Add remote file name completion.
5439 * comint.el (comint--table-subvert): Curry and get quote&unquote
5440 functions as arguments.
5441 (comint--complete-file-name-data): Adjust call accordingly.
5442 * pcomplete.el (pcomplete--table-subvert): Remove.
5443 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5445 * minibuffer.el (completion-table-case-fold): Use currying.
5446 (completion--styles-type, completion--cycling-threshold-type):
5448 (completion-styles, completion-category-overrides)
5449 (completion-cycle-threshold): Use them.
5450 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5451 completion-table-case-fold.
5453 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5455 * minibuffer.el (completion-category-overrides): Fix type of styles
5456 and add more user friendly tags (bug#9660).
5458 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5460 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5461 (mule-input-method-string): New widget.
5462 (default-input-method, language-info-custom-alist): Use it.
5464 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5466 * pcomplete.el: Require comint.
5467 (pcomplete--common-suffix): Remove.
5468 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5469 (pcomplete--table-subvert): Sync with comint--table-subvert.
5470 (pcomplete--entries): Use comint-completion-file-name-table.
5471 * comint.el (comint-unquote-filename): Simplify.
5472 (comint-completion-file-name-table): New function (bug#9616).
5473 (comint--complete-file-name-data): Use it.
5475 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5476 (pcmpl-gnu-tar-buffer): Remove.
5477 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5478 around. Make sure pcomplete-suffix-list is only changed temporarily.
5479 Don't look inside the tar's file if it's too large.
5481 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5483 * cus-edit.el (custom-mode-map):
5484 * epa.el (epa-key-list-mode-map):
5485 * man.el (Man-mode-map):
5486 * startup.el (splash-screen-keymap):
5487 * simple.el (special-mode-map): Use scroll-up-command and
5488 scroll-down-command.
5490 * progmodes/idlw-help.el (idlwave-help-mode-map):
5491 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5492 * net/newst-plainview.el (newsticker-mode-map):
5493 * emulation/ws-mode.el (wordstar-mode-map):
5494 * emulation/vi.el (vi-com-map):
5495 * calc/calc-graph.el (calc-graph-show-dumb):
5496 * term/sun.el (terminal-init-sun):
5497 * term/ns-win.el (global-map):
5498 * progmodes/grep.el (grep-mode-map):
5499 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5500 * mail/rmail.el (rmail-mode-map):
5501 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5503 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5504 custom-safe-themes as special.
5506 2011-10-01 Julien Danjou <julien@danjou.info>
5508 * notifications.el (notifications-notify): Fix docstring.
5510 2011-10-01 Per Starbäck <per@starback.se>
5512 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5514 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5516 * startup.el (command-line-1): Fix last fix by inserting
5517 initial-scratch-message into *scratch* before displaying it.
5518 (Bug#9605) and (Bug#9636)
5520 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5522 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5523 window is hscrolled, move by logical lines. (Bug#9607)
5524 (line-move-visual): Update the doc string to the above effect.
5526 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5528 * window.el (display-buffer-record-window): When WINDOW is the
5529 selected window use `point' instead of `window-point'. (Bug#9626)
5531 * startup.el (command-line-1): Use insert-before-markers when
5532 inserting initial-scratch-message. (Bug#9605)
5534 * help.el (help-window): Remove variable.
5536 2011-09-29 Glenn Morris <rgm@gnu.org>
5538 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5540 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5542 * descr-text.el (describe-char-categories): Accept category
5543 descriptions more than one line long.
5545 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5547 * simple.el (delete-trailing-whitespace): Fix last change.
5549 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5550 Don't confuse "y => 3" as the beginning of a `y' operation.
5552 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5553 object has more than 4 slots (bug#9613).
5555 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5557 * subr.el (with-output-to-temp-buffer):
5558 * net/quickurl.el (quickurl, quickurl-browse-url):
5559 Fix typos in docstrings.
5561 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5563 * minibuffer.el (completion-styles)
5564 (completion-category-overrides): Cross reference each other in doc
5567 2011-09-27 Glenn Morris <rgm@gnu.org>
5569 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5570 to split-string. (Bug#9606)
5572 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5574 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5577 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5579 * emacs-lisp/package.el (list-packages): Fix echo area message.
5581 2011-09-27 Leo Liu <sdl.web@gmail.com>
5583 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5585 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5587 * net/dbus.el (dbus-unregister-object): Don't release services for
5588 registered signals. (Bug#9581)
5590 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5592 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5593 function that picks between cfengine 2 and 3 support
5594 automatically. Update docs accordingly.
5596 2011-09-22 Kenichi Handa <handa@m17n.org>
5598 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5600 (indian-itrans-v5-table-for-tamil): New variable.
5601 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5603 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5605 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5606 that's true if the current command involved collapsing of text.
5607 It's reset to false at the beginning of the next command.
5608 (allout-post-command-business): Move the cursor to the beginning
5609 of entry if the cursor is hidden and collapsing activity just
5612 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5614 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5615 tracking (Bug#9541).
5617 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5619 * net/newst-reader.el (newsticker-html-renderer)
5620 (newsticker-show-news): Automatically load html rendering package
5621 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5622 because w3m-fill-column is let-bound" and the error "Symbol's value
5623 as variable is void: w3m-fill-column".
5625 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5627 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5628 Release services only if they are defined. (Bug#9581)
5630 2011-09-23 Richard Stallman <rms@gnu.org>
5632 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5633 distinguish start of paragraph from start of its text.
5635 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5637 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5638 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5639 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5641 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5643 * international/mule-diag.el (mule-diag): Insert a newline after
5644 each fontset description.
5646 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5648 * simple.el (delete-trailing-whitespace):
5649 Document last change; simplify.
5651 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5653 * simple.el (delete-trailing-whitespace): Also delete
5654 extra newlines at the end of the buffer.
5656 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5657 (picture-newline): Use forward-line so as to ignore fields.
5659 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * subr.el (with-wrapper-hook): Fix edebug spec.
5663 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5668 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5670 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5671 Fix nasty bug using wrong cached values.
5673 2011-09-23 Alan Mackenzie <acm@muc.de>
5675 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5677 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5679 * window.el (pop-to-buffer): Ensure right window is selected if we
5680 chose another frame.
5682 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5684 * simple.el (what-cursor-position): Use get-char-property-change
5685 and next-single-char-property-change, to be able to show display
5686 properties that come from overlays as well as text properties.
5688 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5690 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5692 * cmuscheme.el (run-scheme, switch-to-scheme):
5693 * cus-edit.el (customize-group, custom-buffer-create)
5697 * mail/sendmail.el (mail):
5698 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5700 2011-09-22 Richard Stallman <rms@gnu.org>
5702 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5703 move back only to line beg, don't move back over blank lines.
5705 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5707 * files.el (copy-directory): Set directory attributes only in case
5708 they could be retrieved from the source directory. (Bug#9565)
5710 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5712 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5713 (hs-find-block-beginning, hs-hide-level-recursive):
5714 Ignore strings as well as comments. (Bug#9502)
5716 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5718 * progmodes/sql.el (sql-comint-postgres):
5719 Convert port number to a string. (Bug#9566)
5721 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5723 * window.el (quit-window): Undedicate window when switching to
5724 previous buffer. Reported by Thierry Volpiatto
5725 <thierry.volpiatto@gmail.com>.
5726 (special-display-popup-frame): When popping up a new frame reset
5727 its previous buffers to nil. Simplify code.
5729 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5731 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5732 and process filter, as done also in `shell-command'.
5734 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5736 * window.el (set-window-buffer-start-and-point):
5737 Call set-window-start with NOFORCE argument t.
5738 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5739 (quit-window): Reword doc-string. Handle new format of
5740 quit-restore parameter. Don't delete window if it has a
5741 previous buffer we can show instead of the present one.
5742 (display-buffer-record-window): Rewrite using a new format for
5743 the quit-restore window parameter
5744 (special-display-popup-frame, display-buffer-same-window)
5745 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5746 (display-buffer-pop-up-window, display-buffer-use-some-window):
5747 Adapt symbol passed to display-buffer-record-window.
5748 * help.el (help-window-setup): Handle new format of quit-restore
5751 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5753 * faces.el (face-list): Fix docstring (bug#9564).
5755 * window.el (display-buffer--action-function-custom-type):
5756 Don't include internal functions in the Custom interface.
5758 2011-09-20 Juri Linkov <juri@jurta.org>
5760 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5761 (Info-forward-node, Info-backward-node, Info-next-preorder)
5762 (Info-last-preorder): Use it. (Bug#9528)
5764 2011-09-20 Juri Linkov <juri@jurta.org>
5766 * info.el (Info-last-preorder): Visit last menu item only when
5767 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5769 2011-09-20 Julien Danjou <julien@danjou.info>
5771 * password-cache.el (password-cache-remove): Remove entries even if the
5772 value is nil, so that password with a nil value (negative caching) is
5773 possible to invalidate.
5775 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5777 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5778 all whitespace around breakpoint. (Bug#9553)
5779 (f90-find-breakpoint): Only break at whitespace inside a comment.
5781 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * minibuffer.el (completion-file-name-table): Keep track of errors.
5784 (completion-table-with-predicate): Handle the case where pred1 is nil.
5785 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5787 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5789 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5790 (debugger-return-value): Signal an error if the debugging context does
5791 not await any return value.
5793 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5794 * image-mode.el (image-toggle-display-text)
5795 (image-toggle-display-image): Stay away from evil `intangible'.
5797 2011-09-19 Leo Liu <sdl.web@gmail.com>
5799 * replace.el (occur-revert-arguments): Make it permanent-local.
5800 (occur-mode): Don't call font-lock-defontify.
5802 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5804 * net/ldap.el (ldap-search-internal): Don't push empty search
5807 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5811 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5813 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5814 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5816 2011-09-18 Juri Linkov <juri@jurta.org>
5818 * buff-menu.el (Buffer-menu-mode-map):
5819 * dired.el (dired-mode-map):
5820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5821 (lisp-interaction-mode-map):
5822 * emacs-lisp/package.el (package-menu-mode-map):
5823 * epa.el (epa-key-list-mode-map):
5824 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5825 (menu-bar-options-menu):
5826 * outline.el (outline-mode-menu-bar-map):
5827 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5828 * vc/vc-dir.el (vc-dir-menu-map):
5829 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5830 Capitalize non-function content words in menu item strings.
5832 * dired.el (dired-mode-map): Add menu item for
5833 `image-dired-dired-toggle-marked-thumbs'.
5835 2011-09-18 Juri Linkov <juri@jurta.org>
5837 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5838 to `isearch-case-fold-search' and restore its original value
5839 after the `isearch-mode' call.
5841 2011-09-18 Juri Linkov <juri@jurta.org>
5843 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5844 because `zgrep' returns 1 for successful matches (bug#9226).
5846 2011-09-18 Juri Linkov <juri@jurta.org>
5848 * info.el (Info-extract-menu-node-name): Check the second match
5849 for empty string (second test-case of bug#9528).
5850 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5851 intermediate nodes to the history (first test-case of bug#9528).
5853 2011-09-18 Juri Linkov <juri@jurta.org>
5855 * info.el (Info-mode-syntax-table): New variable.
5856 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5858 2011-09-18 Juri Linkov <juri@jurta.org>
5860 * info.el (Info-file-supports-index-cookies):
5861 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5862 outputs one more line for long file names (bug#4142).
5864 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5866 * newcomment.el (comment-normalize-vars): If prompting for
5867 comment-start, set comment-start-skip too (Bug#8424).
5869 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5871 * icomplete.el: Fix previous fix of Bug#5849.
5872 (icomplete-mode): Don't set completion-show-inline-help.
5873 (icomplete-minibuffer-setup): Set completion-show-inline-help
5874 locally during icompletion.
5876 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5878 * woman.el (woman2-process-escapes): Don't delete unrecognized
5881 * files.el (inhibit-first-line-modes-regexps): Add image files.
5882 (hack-local-variables-prop-line): Return nil for malformed
5883 prop-lines (Bug#9044).
5885 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5887 * net/tramp.el (top): Don't require 'shell.
5888 (tramp-methods): Fix docstring.
5889 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5890 Return complete remote file name. Handle "smb" case.
5891 Use `tramp-tmpdir', if defined for the respective method.
5892 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5894 * net/tramp-compat.el (top): Require 'shell.
5896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5897 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5898 `tramp-current-host'.
5899 (tramp-get-remote-tmpdir): Remove.
5901 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5902 `tramp-tmpdir' entries.
5903 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5904 (tramp-smb-handle-file-attributes): Ignore errors.
5905 (tramp-smb-wait-for-output): Check also for process end.
5907 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5910 when sending QUIT (bug#9312).
5912 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5914 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5915 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5916 occur-mode-display-occurrence.
5917 (occur-edit-mode): Add usage message.
5918 (occur-cease-edit): New command.
5919 (occur-after-change-function): Use text properties to find the
5920 position of the prefix text.
5921 (occur-engine): Set stickiness of prefix text properties.
5923 2011-09-17 Glenn Morris <rgm@gnu.org>
5925 * progmodes/etags.el (complete-tag):
5926 Fix call to completion-in-region. (Bug#9526)
5928 2011-09-17 Juri Linkov <juri@jurta.org>
5930 * textmodes/ispell.el (ispell-word): Add to the error message
5931 the word, ispell program name and current dictionary (bug#9121).
5932 (ispell-tex-arg-end): Capitalize "error" in the error message.
5934 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5936 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5939 2011-09-17 Juri Linkov <juri@jurta.org>
5941 * window.el (window-safe-min-height, window-safe-min-width):
5942 Fix typos (followup to bug#9522).
5944 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5946 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5948 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5950 * simple.el (line-move): If goal-column is set, move by logical
5951 lines, not by display lines. (Bug#971)
5952 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5953 to reflect the above change.
5955 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * image.el (imagemagick-register-types): Use regexp-opt.
5959 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5961 * window.el (display-buffer-base-action): Rename from
5962 display-buffer-default-action. Make default value empty.
5963 (display-buffer-overriding-action): Convert to defvar.
5964 (display-buffer-fallback-action): New var.
5966 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5968 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5970 (package--add-to-archive-contents): If there is a duplicate entry
5971 with an older version, remove it.
5972 (package-menu-mark-delete, package-menu-mark-install)
5973 (package-menu-mark-unmark): Make unused args optional.
5974 (package-menu-mark-obsolete-for-deletion):
5975 Use package-menu-get-status instead of a regexp search.
5976 (package-menu-get-status): Use tabulated-list-entry.
5977 (package-menu-mark-upgrades): New command.
5978 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5979 (package-menu-execute): Do installation before deletion.
5980 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5981 instead of checking major-mode.
5982 (package-menu--find-upgrades): New function.
5984 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5987 passwords in the log buffer.
5988 (smtpmail-process-filter): Update the process marker so that the
5989 "broken by peer" status message is inserted in the right place.
5991 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5994 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5995 bibtex-completion-at-point-function.
5996 (bibtex-completion-at-point-function): Use them.
5998 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6000 * mpc.el (mpc-constraints-tag-lookup): New function.
6001 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6002 also to browser "album|playlist".
6004 2011-09-14 Juri Linkov <juri@jurta.org>
6006 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6007 (isearch-edit-string): Use length of `isearch-string' when
6008 `isearch-fail-pos' returns nil.
6009 (isearch-message): Remove duplicate code and call
6010 `isearch-fail-pos' with arg `t'.
6012 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6014 * replace.el (occur-mode-goto-occurrence): Don't force using other
6017 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6019 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6021 * window.el (display-buffer-window): Remove.
6022 (display-buffer-record-window): Use help-setup window parameter
6023 instead of variable display-buffer-window.
6024 (display-buffer-function, special-display-buffer-names)
6025 (special-display-function): Mention help-setup parameter instead
6026 of display-buffer-window in doc-string.
6027 * help.el (help-window-setup): New argument help-window.
6028 Use help-window-setup parameter instead of display-buffer-window.
6029 Reword some messages.
6030 (with-help-window): Pass window used for displaying the buffer
6031 to help-window-setup. Don't set display-buffer-window.
6033 2011-09-13 Glenn Morris <rgm@gnu.org>
6035 * emacs-lisp/debug.el (debugger-make-xrefs):
6036 Preserve point. (Bug#9462)
6038 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6040 * window.el (window-deletable-p): Use next-frame.
6042 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6044 * window.el (window-auto-delete): Remove.
6045 (window-deletable-p): Remove argument FORCE. Don't deal with
6046 dedication and previous buffers.
6047 (switch-to-prev-buffer): Don't delete window.
6048 (delete-windows-on): Delete a window's frame if and only if the
6049 window is dedicated.
6050 (replace-buffer-in-windows): Delete buffer's window or frame if
6051 and only if window is dedicated.
6052 (quit-window): Handle quit-restore as before last change.
6053 (bury-buffer): Delete window only if window-deletable-p returns t.
6055 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6057 * window.el (window-deletable-p): Never delete the last frame on a
6060 2011-09-13 Glenn Morris <rgm@gnu.org>
6062 * help.el (describe-key-briefly): Copy previous standard-output change.
6064 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6066 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6068 2011-09-13 Glenn Morris <rgm@gnu.org>
6070 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6071 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6073 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6075 * dired-aux.el (dired-mark-read-string): Don't return default
6076 value on empty input (Bug#9361).
6077 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6078 Omit initial minibuffer contents.
6079 (dired-do-chmod): Signal an error on empty input.
6080 (dired-mark-read-string): Don't return default on empty input.
6082 * files.el (file-modes-symbolic-to-number): Doc fix.
6084 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * international/mule-cmds.el (ucs-completions): Remove.
6087 (read-char-by-name): Use complete-with-action instead; add metadata.
6089 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6091 * window.el (display-buffer--action-function-custom-type)
6092 (display-buffer--action-custom-type): New vars.
6093 (display-buffer-alist, display-buffer-default-action)
6094 (display-buffer-overriding-action): Add defcustom types.
6096 * frame.el (delete-other-frames): Doc fix (Bug#276).
6098 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6102 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6104 Change modes that used same-window-* vars to use switch-to-buffer.
6106 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6107 Use switch-to-buffer.
6109 * cus-edit.el (customize-group, custom-buffer-create)
6110 (customize-browse, custom-buffer-create-other-window):
6111 Use switch-to-buffer or switch-to-buffer-other-window.
6113 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6114 (Info-prev, Info-up, Info-speedbar-goto-node)
6115 (info-display-manual): Use switch-to-buffer.
6116 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6118 * mail/sendmail.el (mail): Use switch-to-buffer.
6119 (mail-recover): Use switch-to-buffer-other-window.
6121 * cmuscheme.el (run-scheme, switch-to-scheme):
6124 * net/rlogin.el (rlogin):
6125 * net/telnet.el (telnet, rsh):
6126 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6128 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6130 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6132 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6134 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6135 so don't mention it (bug#9301).
6136 (dired-sort-toggle-or-edit): Clarify string further.
6138 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6139 match `x', `w32' and `ns', like the manual says (bug#9029).
6141 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6142 (process-kill-buffer-query-function): Mention the buffer name in
6145 * image-mode.el (image-next-line): The line parameter is mandatory
6148 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6149 which can be useful (bug#9301).
6151 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6153 * subr.el (match-string): Mention that the current buffer should
6154 be the same as the search was done in (bug#9282).
6156 * facemenu.el: Disable the remove-* commands if the mark isn't
6159 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6161 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6163 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6165 * replace.el (occur-mode-goto-occurrence)
6166 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6169 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6172 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6173 special-display and same-window variables.
6174 (mail-other-window): Use switch-to-buffer-other-window.
6175 (mail-other-frame): USe switch-to-buffer-other-frame.
6177 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6178 Use display-buffer-other-frame.
6179 (gdb-display-gdb-buffer): Use pop-to-buffer.
6181 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6183 * progmodes/python.el: Don't set same-window-buffer-names.
6185 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6187 * window.el (display-buffer-alist): Add *Python*.
6189 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6191 * window.el (display-buffer-alist): Add entry for buffers
6192 previously handled same-window-*.
6193 (display-buffer-alist, display-buffer-default-action)
6194 (display-buffer-overriding-action): Mark as risky.
6195 (display-buffer-alist): Document action function changes.
6196 (display-buffer--same-window-action)
6197 (display-buffer--other-frame-action): New variables.
6198 (switch-to-buffer, display-buffer-other-frame): Use them.
6199 (display-buffer): Rename reuse-frame entry to reusable-frames.
6200 (display-buffer-reuse-selected-window): Function deleted.
6201 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6202 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6203 (display-buffer-special): New function.
6204 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6205 display-buffer-reuse-or-pop-window. Split off special-display
6206 part into display-buffer-special.
6207 (display-buffer-use-some-window): Don't perform any special
6208 pop-up-frames handling.
6209 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6210 (display-buffer--maybe-same-window): Rename from
6211 display-buffer-maybe-same-window.
6213 * info.el: Don't set same-window-regexps.
6214 (info-setup): New function.
6215 (info-other-window, info): Call it.
6217 * cus-edit.el: Don't set same-window-regexps.
6218 (customize-group): New argument.
6219 (customize-group-other-window): Use it.
6220 (customize-face, customize-face-other-window): Likewise.
6221 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6225 * progmodes/gud.el: Don't set same-window-regexps.
6231 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6233 2011-09-10 Juri Linkov <juri@jurta.org>
6235 * isearch.el (isearch-edit-string): Remove obsolete mention of
6236 `C-w' (`isearch-yank-word-or-char') from docstring.
6237 (isearch-query-replace): Fix typo in docstring (bug#9466).
6239 2011-09-10 Juri Linkov <juri@jurta.org>
6241 * paren.el (show-paren-function): Don't show escaped parens.
6242 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6244 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6246 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6247 (mm-default-file-encoding): Remove autoload forms, they are
6248 replaced with autoload cookies in mml.el and mm-encode.el.
6249 (mail-add-attachment): New command.
6250 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6251 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6253 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6255 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6257 * simple.el (count-words-region): Use buffer if there's no region
6260 2011-09-09 Juri Linkov <juri@jurta.org>
6262 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6263 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6264 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6266 2011-09-09 Alan Mackenzie <acm@muc.de>
6268 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6269 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6271 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6273 Fix for Savannah bug#9392.
6274 * simple.el (mail-encode-mml): New defvar.
6276 * mail/rmail.el (mail-encode-mml): Add a defvar.
6277 (rmail-enable-mime-composing): Default to t.
6278 (rmail-forward): Use MIME method of forwarding only if both
6279 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6280 Set mail-encode-mml non-nil if the MIME method was used.
6282 * mail/sendmail.el (mml-to-mime): Add autoload form.
6283 (mail-encode-mml): Add a defvar.
6284 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6286 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6287 message through mml-to-mime, and reset mail-encode-mml to nil.
6289 2011-09-09 Glenn Morris <rgm@gnu.org>
6291 * woman.el (woman-if-body): When processing an .el block,
6292 do not delete the next .el block as well. (Bug#9447)
6293 (woman-special-characters): Add oq, cq, and hy characters.
6295 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6297 * window.el (window-deletable-p): Make sure window is live before
6298 invoking window-prev-buffers.
6300 2011-09-08 Leo Liu <sdl.web@gmail.com>
6302 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6304 2011-09-08 Juri Linkov <juri@jurta.org>
6306 * progmodes/compile.el (compilation-environment): Make it
6307 a defcustom (bug#8340).
6309 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6311 * window.el (frame-auto-delete): Rename to window-auto-delete.
6312 Make it control auto-deletion of windows and/or frames.
6313 (window-deletable-p): New argument FORCE. Rewrite conditions
6314 for deleting window/frame. (Bug#9419)
6315 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6316 Rewrite handling of case when window/frame can be deleted.
6317 (delete-windows-on): Call window-deletable-p with new FORCE
6318 argument t. (Bug#9456)
6320 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6322 * help-mode.el (help-mode): Restore autoload.
6324 2011-09-07 Juri Linkov <juri@jurta.org>
6326 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6327 `compilation-environment'. Set buffer-local
6328 `compilation-environment' to `thisenv' later after (funcall mode).
6331 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6332 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6333 instead of replacing its value. (Bug#8340)
6335 2011-09-07 Juri Linkov <juri@jurta.org>
6337 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6338 based on text properties put by `grep-filter' instead of matching
6340 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6341 to the value of `grep-error-screen-columns' (bug#9438).
6343 2011-09-07 Juri Linkov <juri@jurta.org>
6345 * simple.el (next-error-highlight, next-error-highlight-no-select):
6348 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6350 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6351 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6353 2011-09-07 Leo Liu <sdl.web@gmail.com>
6355 * net/rcirc.el (rcirc-mode): Conditionally initialize
6358 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * emacs-lisp/find-func.el (find-function-C-source): Only set
6361 find-function-C-source-directory after checking that we found a source
6362 file there (bug#9440).
6364 2011-09-06 Alan Mackenzie <acm@muc.de>
6366 * isearch.el (isearch-other-meta-char): Wherever a key list is
6367 unread, "unread" the prefix arg, too. This fixes bug #8901.
6369 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6371 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6373 2011-09-05 Juri Linkov <juri@jurta.org>
6375 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6377 2011-09-05 Juri Linkov <juri@jurta.org>
6379 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6380 keeping point where processing of grep matches begins, and
6381 continue to delete remaining escape sequences from the same point.
6382 (grep-filter): Make leading zero optional in "0?1;31m" because
6383 git-grep emits "\033[1;31m" escape sequences unlike expected
6384 "\033[01;31m" as GNU Grep does (bug#9408).
6385 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6387 2011-09-05 Juri Linkov <juri@jurta.org>
6389 * subr.el (y-or-n-p): Capitalize "yes".
6391 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6393 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6394 `tramp-cache-unload-hook' where appropriate.
6395 (tramp-methods): Rename `tramp-remote-sh' to
6396 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6397 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6399 * net/tramp-sh.el (top): Don't require 'shell.
6400 (tramp-methods): Add `tramp-remote-shell' and
6401 `tramp-remote-shell-args' entries.
6402 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6403 (tramp-sh-handle-shell-command): Remove.
6404 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6405 Use `tramp-remote-shell'.
6407 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6409 * mail/sendmail.el (sendmail-query-once-function): Delete.
6410 (sendmail-query-once): Save directly to send-mail-function.
6411 Update message-send-mail-function too.
6413 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6415 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6417 * progmodes/python.el (python-mode-map): Use correct function to
6418 start python interpreter from menu-bar (as reported by Geert
6420 (inferior-python-mode-map): Fix typo.
6421 (python-shell-map): Remove.
6423 2011-09-03 Deniz Dogan <deniz@dogan.se>
6425 * net/rcirc.el (rcirc-print): Simplify code for
6426 rcirc-scroll-show-maximum-output. There is no need to walk
6427 through all windows to find the right one.
6429 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6431 * help.el (help-return-method): Doc fix.
6433 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6435 * window.el (window-deletable-p): Don't return a non-nil value
6436 when there's a buffer that was shown in the window before.
6438 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6439 Set window's previous buffers to nil.
6441 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6443 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6444 newline before and after the tag line, so it doesn't interfere
6445 with determining the paragraph direction of bidirectional text.
6447 2011-09-03 Leo Liu <sdl.web@gmail.com>
6449 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6451 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6453 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6454 (pop-to-buffer): Change interactive spec. Pass second argument
6455 directly to display-buffer.
6456 (display-buffer): Fix interactive spec. Use functionp to
6457 distinguish between a function and a list of functions.
6459 * abbrev.el (edit-abbrevs):
6460 * arc-mode.el (archive-extract):
6461 * autoinsert.el (auto-insert):
6462 * bookmark.el (bookmark-bmenu-list):
6463 * files.el (find-file):
6464 * view.el (view-buffer):
6465 * progmodes/compile.el (compilation-goto-locus):
6466 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6468 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6470 * window.el (display-buffer-alist): Doc fix.
6471 (display-buffer): Add docstring. Don't treat
6472 display-buffer-default specially.
6473 (display-buffer-reuse-selected-window)
6474 (display-buffer-same-window, display-buffer-maybe-same-window)
6475 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6476 (display-buffer-pop-up-window)
6477 (display-buffer-reuse-or-pop-window)
6478 (display-buffer-use-some-window): New functions.
6479 (display-buffer-default-action): Use them.
6480 (display-buffer-default): Delete.
6481 (pop-to-buffer-1): Fix choice of actions.
6483 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6485 * minibuffer.el (completion--insert-strings): Don't get confused by
6486 completion entries that end with an LF char.
6488 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6490 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6492 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6494 * window.el (display-buffer): Restore interactive spec.
6495 (display-buffer-same-window, display-buffer-other-window):
6497 (pop-to-buffer-1): New function. Use the above.
6498 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6499 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6501 * view.el (view-buffer-other-window, view-buffer-other-frame):
6502 Just use pop-to-buffer.
6504 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6506 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6508 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6510 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6512 2011-08-31 Richard Stallman <rms@gnu.org>
6514 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6515 of the separation of rmail-view-buffer from rmail-buffer.
6516 If you say no to "replace original", the decrypt is in the
6517 view buffer. If you say yes, the decrypt goes into the
6520 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6522 * window.el (display-buffer-window): Rewrite doc-string.
6523 (display-buffer-record-window): New function.
6524 (display-buffer-macro-specifiers)
6525 (display-buffer-even-window-sizes, display-buffer-set-height)
6526 (display-buffer-set-width, display-buffer-in-window)
6527 (display-buffer-reuse-window, display-buffer-split-specifiers)
6528 (display-buffer-side-specifiers, display-buffer-split-window-1)
6529 (display-buffer-split-window, display-buffer-split-atom-window)
6530 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6531 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6532 (display-buffer-other-window-means-other-frame)
6533 (display-buffer-normalize-special)
6534 (display-buffer-normalize-default)
6535 (display-buffer-normalize-argument)
6536 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6537 (display-buffer-normalize-specifiers, display-buffer-frame)
6538 (display-buffer-same-window, display-buffer-same-frame)
6539 (display-buffer-other-window)
6540 (display-buffer-same-frame-other-window)
6541 (display-buffer-other-frame, pop-to-buffer-same-window)
6542 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6543 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6544 (switch-to-buffer-same-frame)
6545 (switch-to-buffer-other-window-same-frame)
6546 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6547 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6548 (display-buffer-alist-set): Remove.
6549 (display-buffer-function, special-display-buffer-names)
6550 (special-display-regexps, special-display-function):
6551 In doc-string refer to display-buffer-window and quit-restore
6553 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6554 (special-display-frame-alist, special-display-popup-frame)
6555 (same-window-buffer-names, same-window-regexps, same-window-p)
6556 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6557 (split-window-preferred-function, split-height-threshold)
6558 (split-width-threshold, window-splittable-p)
6559 (split-window-sensibly, window--try-to-split-window)
6560 (window--frame-usable-p, even-window-heights)
6561 (window--even-window-heights, window--display-buffer-1)
6562 (window--display-buffer-2, display-buffer-other-frame):
6563 Restore old Emacs 23 code, order and doc-strings where applicable.
6564 (display-buffer-default, display-buffer-assq-regexp): New functions.
6565 (display-buffer-alist): Rewrite doc-string.
6566 (display-buffer-default-action)
6567 (display-buffer-overriding-action): New variables.
6568 (display-buffer, switch-to-buffer): Rewrite.
6569 (pop-to-buffer): Restore Emacs 23 behavior but use
6570 window-normalize-buffer-to-display.
6571 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6572 Restore Emacs 23 behavior but use
6573 window-normalize-buffer-to-switch-to.
6574 (pop-to-buffer-same-window): Rewrite.
6575 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6576 Rewrite using Emacs 23 options.
6578 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6580 * net/tramp.el (tramp-root-regexp): Remove.
6581 (tramp-completion-file-name-regexp-unified)
6582 (tramp-completion-file-name-regexp-separate)
6583 (tramp-completion-file-name-regexp-url): Don't use leading volume
6584 letter on win32 systems. (Bug#5303, Bug#9311)
6585 (tramp-drop-volume-letter): Simplify definition.
6586 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6588 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6590 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6593 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6595 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6597 2011-08-29 Juri Linkov <juri@jurta.org>
6599 * isearch.el (isearch-done): Don't display message "Mark saved"
6600 when arg `edit' is non-nil to prevent its flicker in the echo area.
6602 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6604 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6605 obsolete packages for deletion.
6607 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6609 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6610 (help-mode): Derive help-mode from special-mode. Don't invoke
6611 view-mode from help-mode.
6612 (help-xref-override-view-map): Remove.
6613 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6614 view-mode is not used anymore.
6616 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6618 * server.el (server-port): Doc fix.
6620 * cus-theme.el (custom-theme-choose-mode): Inherit from
6621 special-mode (Bug#9124).
6622 (custom-theme-choose-mode-map): Add special-mode to parent.
6624 2011-08-28 Alan Mackenzie <acm@muc.de>
6626 * progmodes/cc-fonts.el
6627 (c-make-font-lock-BO-decl-search-function): New function.
6628 (c-basic-matchers-after - "Fontify the clauses after various
6629 keywords"): Extract the three keyword lists for the 3 erroneous
6630 constructs from the list of four, and use the new function above
6631 in place of an old one.
6633 2011-08-28 Deniz Dogan <deniz@dogan.se>
6635 * net/rcirc.el (rcirc-insert-prev-input)
6636 (rcirc-insert-next-input): Remove unused argument.
6638 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6640 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6642 2011-08-27 Alan Mackenzie <acm@muc.de>
6644 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6645 handle function pointer parameters properly.
6647 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6649 * window.el (display-buffer-reuse-window): Fix case where
6650 selected window was reused with non-nil OTHER-WINDOW argument.
6653 2011-08-27 Deniz Dogan <deniz@dogan.se>
6655 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6656 oftc's NickServ messages.
6658 2011-08-27 Glenn Morris <rgm@gnu.org>
6660 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6662 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6664 * emacs-lisp/package.el (package-install): Call package-initialize
6665 if called interactively.
6667 2011-08-26 Leo Liu <sdl.web@gmail.com>
6669 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6671 2011-08-25 Juri Linkov <juri@jurta.org>
6673 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6674 `search-whitespace-regexp' (bug#9364).
6676 2011-08-25 Juri Linkov <juri@jurta.org>
6678 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6679 `regexp-search-ring' to their global values to protect from
6680 updating by `read-from-minibuffer' (bug#9185).
6682 2011-08-25 Juri Linkov <juri@jurta.org>
6684 * textmodes/ispell.el (ispell-command-loop): Add newline
6685 at the end of the "Use option `i'..." line.
6687 2011-08-25 Juri Linkov <juri@jurta.org>
6689 * battery.el (display-battery-mode): If `battery-status-function'
6690 or `battery-mode-line-format' is nil, display the message and set
6691 `display-battery-mode' to nil (bug#9363).
6693 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6695 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6696 bidi-string-mark-left-to-right; they are unnecessary now.
6698 2011-08-25 Deniz Dogan <deniz@dogan.se>
6700 * net/quickurl.el: Documentation typo fixes.
6702 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6704 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6706 2011-08-25 Glenn Morris <rgm@gnu.org>
6708 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6710 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6711 (smtpmail-via-smtp): Handle nil response from smtp.
6713 2011-08-24 Juri Linkov <juri@jurta.org>
6715 * proced.el (proced-marked): Inherit from `error' instead of
6716 `font-lock-warning-face'.
6718 * ibuffer.el (ibuffer-marked-face): Change default face from
6719 `font-lock-warning-face' to `warning'.
6720 (ibuffer-deletion-face): Change default face from
6721 `font-lock-type-face' to `error'.
6723 * battery.el (battery-update): Use the face `error' instead of
6724 `font-lock-warning-face' (bug#6117).
6726 2011-08-24 Juri Linkov <juri@jurta.org>
6728 * faces.el (success): Change face color from "Green3" to
6729 "ForestGreen" on light background (bug#9353).
6731 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6733 * window.el (quit-window): Rename from quit-restore-window.
6734 Use same arglist as old quit-window.
6735 (frame-auto-delete): Doc fix.
6737 * view.el (view-mode-exit): Use quit-window.
6739 2011-08-24 Juri Linkov <juri@jurta.org>
6741 * isearch.el (isearch-ring-adjust1): Start visiting previous
6742 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6743 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6744 for empty search string (when the last search string is reused
6745 automatically) to adjust the isearch ring to the last element and
6746 prepare the correct index for further M-p commands (bug#9185).
6748 2011-08-24 Kenichi Handa <handa@m17n.org>
6750 * international/ucs-normalize.el: If decomposition property of
6751 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6753 (nfd, nfkd): Likewise.
6755 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6758 from process filters aren't reliably transmitted to the surrounding
6759 accept-process-output.
6760 (mpc-proc-check): New function.
6761 (mpc-proc-sync): Use it (bug#8293)
6763 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6766 Add compatibility functions (bug#9313).
6768 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6770 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6772 * international/uni-bidi.el: Regenerate.
6774 2011-08-23 Kenichi Handa <handa@m17n.org>
6776 * international/charprop.el:
6777 * international/uni-bidi.el:
6778 * international/uni-category.el:
6779 * international/uni-combining.el:
6780 * international/uni-comment.el:
6781 * international/uni-decimal.el:
6782 * international/uni-decomposition.el:
6783 * international/uni-digit.el:
6784 * international/uni-lowercase.el:
6785 * international/uni-mirrored.el:
6786 * international/uni-name.el:
6787 * international/uni-numeric.el:
6788 * international/uni-old-name.el:
6789 * international/uni-titlecase.el:
6790 * international/uni-uppercase.el: Regenerate.
6792 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6794 * help.el (help-window-setup): Fix message displayed when other
6795 window is reused. (Bug#9341)
6797 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6800 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6802 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6804 * shell.el (shell-parse-pcomplete-arguments): New function.
6805 (shell-completion-vars): Use it instead (bug#9160).
6807 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6809 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6810 strings and comments (bug#9333).
6812 * emacs-lisp/debug.el (debug-arglist): New function.
6813 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6814 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6816 2011-08-22 Juri Linkov <juri@jurta.org>
6818 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6819 Revert regexp that highlights output switches to its old
6820 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6822 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6823 to check for empty output (bug#9226).
6825 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6827 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6828 symbol-constituent as the default, as that stops font-lock from
6829 working properly (Bug#8843).
6831 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6833 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6834 `coding-system-for-*' around the process open call to avoid
6835 auth-source side effects.
6836 (smtpmail-try-auth-methods): Expand the secret password.
6837 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6840 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6842 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6844 * emacs-lisp/find-func.el (find-function-noselect): New arg
6847 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6848 signal an error for built-in functions (Bug#6664).
6850 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6853 (smtpmail-try-auth-methods): Use it.
6855 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6857 * font-lock.el (font-lock-fontify-region)
6858 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6859 (font-lock-default-unfontify-buffer)
6860 (font-lock-default-fontify-region)
6861 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6863 * progmodes/compile.el (compilation-error-properties):
6864 Fix confusion between file struct and message struct (Bug#9319).
6865 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6868 * net/browse-url.el (browse-url-firefox): Don't call
6869 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6871 2011-08-20 Glenn Morris <rgm@gnu.org>
6873 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6875 * tutorial.el (tutorial--default-keys): Update some default bindings.
6877 * files.el (hack-local-variables): Fully ignore case for "mode:".
6879 2011-08-20 Alan Mackenzie <acm@muc.de>
6881 Resolve invalid use of a regexp in regexp-opt.
6883 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6884 detection for a java annotation.
6886 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6887 detection for a java annotation.
6889 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6891 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6893 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6895 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6898 2011-08-20 Alan Mackenzie <acm@muc.de>
6900 Fontify CPP expressions correctly when starting in the middle of
6901 such a construct. Mainly for when jit-lock etc. starts a chunk
6904 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6906 (c-make-font-lock-search-form): New function, extracted from
6907 c-make-font-lock-search-function.
6908 (c-make-font-lock-search-function): Use the above function.
6909 (c-make-font-lock-context-search-function): New function.
6910 (c-cpp-matchers): Enhance the preprocessor expression case with
6912 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6913 which takes an expression.
6915 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6917 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6919 * window.el (display-buffer-reuse-window)
6920 (display-buffer-pop-up-window): Don't reuse or split a side
6923 2011-08-19 Glenn Morris <rgm@gnu.org>
6925 * files.el (hack-local-variables-prop-line, hack-local-variables):
6926 Downcase "Mode:". (Bug#9331)
6928 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6930 * international/characters.el: Add L and R categories.
6932 * subr.el (bidi-string-mark-left-to-right): Rename from
6933 string-mark-left-to-right. Use category search.
6935 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6937 2011-08-18 Juri Linkov <juri@jurta.org>
6939 * faces.el (error, warning, success): New faces with definitions
6940 copied from old default values of `font-lock-warning-face',
6941 `compilation-warning', `compilation-info' (bug#6117).
6943 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6945 * progmodes/compile.el (compilation-error): Inherit from `error'.
6946 (compilation-warning): Inherit from `warning'.
6947 (compilation-info): Inherit from `success'.
6949 * dired.el (dired-marked): Inherit from `warning'.
6950 (dired-flagged): Inherit from `error'.
6952 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6954 * mail/smtpmail.el (auth-source): Require to avoid problems with
6955 binding variables (bug#9298). Also clean up some unused
6958 * net/network-stream.el (network-stream-open-starttls):
6959 Support using starttls.el without using gnutls-cli.
6961 2011-08-17 Juri Linkov <juri@jurta.org>
6963 * progmodes/grep.el (rgrep): Handle the case when
6964 `grep-find-command' is a cons cell (bug#9278).
6966 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6968 * window.el (display-buffer-pop-up-frame): Run frame creation
6969 function with BUFFER current (as special-display-popup-frame
6970 does). Reported by Drew Adams.
6972 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6974 * epa-mail.el: Simplify GnuPG group expansion using
6976 (epa-mail-group-alist, epa-mail-group-modtime)
6977 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6978 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6979 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6982 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6984 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6986 2011-08-16 Alan Mackenzie <acm@muc.de>
6988 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6989 Correct, to avoid the inside of macros.
6991 2011-08-16 Richard Stallman <rms@gnu.org>
6993 * epa-mail.el: Handle GnuPG group definitions.
6994 (epa-mail-group-alist, epa-mail-group-modtime)
6995 (epa-mail-gnupg-conf-file): New variables.
6996 (epa-mail-parse-groups, epa-mail-sync-groups)
6997 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6998 (epa-mail-expand-recipients): New functions.
6999 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7001 * mail/rmail.el (rmail-epa-decrypt): New command.
7003 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7004 Don't bind buffer-read-only, just inhibit-read-only.
7005 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7006 (epa-decrypt-armor-in-region): Make error message clearer.
7008 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7010 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7011 and "a2b" to "ab" for `prefix'.
7013 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7015 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7017 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7018 Fourquet (Bug#8804).
7020 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7022 * startup.el (argi): Declare as global variable (bug#9275).
7024 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7026 * subr.el (string-mark-left-to-right): Search the entire string
7027 for RTL script, not just the terminating character. Doc fix.
7029 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7033 (js--regexp-literal, js-syntax-propertize-function): Remove.
7034 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7035 (js-mode-map): Don't rebind electric keys.
7036 (js-insert-and-indent): Remove.
7037 (js-mode): Setup electric-layout and electric-indent instead.
7039 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7041 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7043 * epa.el (epa-progress-callback-function): Fix the logic of
7044 displaying progress.
7045 * epa-file.el (epa-file-insert-file-contents): Make progress
7046 display more user-friendly.
7047 (epa-file-write-region): Ditto.
7049 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7051 * subr.el (string-mark-left-to-right): New function.
7053 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7054 Use string-mark-left-to-right.
7055 (list-buffers-noselect): Caller changed.
7057 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7058 Use string-mark-left-to-right.
7059 (tabulated-list-print): Recenter after moving point.
7061 2011-08-10 Juri Linkov <juri@jurta.org>
7063 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7064 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7065 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7067 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7069 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7072 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7074 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7075 character. (Bug#6594)
7077 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7079 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7080 (image-dired--with-db-file): New macro.
7081 (image-dired-write-tags, image-dired-remove-tag)
7082 (image-dired-create-gallery-lists, image-dired-write-comments)
7083 (image-dired-get-comment, image-dired-mark-tagged-files)
7084 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7085 (image-dired-gallery-generate): Use insert-file-contents.
7087 * time.el (display-time-world-list, display-time-world-display):
7088 * time-stamp.el (time-stamp-string):
7089 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7090 set-time-zone-rule (Bug#7337).
7092 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7094 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7095 (epg-error-to-string, epg-errors-to-string): New function.
7096 (epg-wait-for-completion): Reverse errors list.
7097 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7098 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7099 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7100 (epg-sign-keys, epg-generate-key-from-file)
7101 (epg-generate-key-from-string): Format errors by using
7102 epg-errors-to-string (bug#9255).
7103 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7105 2011-08-07 Juri Linkov <juri@jurta.org>
7107 * faces.el (list-faces-display): Remove extra angle bracket
7108 from `help-mode-map'.
7110 * info.el (Info-history-toc-nodes): Doc fix.
7112 * longlines.el (longlines-mode): Doc fix.
7114 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7117 of statements and in a few more cases (bug#9183).
7119 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7121 (cl-transform-lambda): Use them (bug#9239).
7123 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7125 * window.el (display-buffer-same-window)
7126 (display-buffer-same-frame, display-buffer-other-window)
7127 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7128 (pop-to-buffer-other-window)
7129 (pop-to-buffer-same-frame-other-window)
7130 (pop-to-buffer-other-frame): Make them defuns.
7131 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7133 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * subr.el (make-composed-keymap): Move from C. Change calling
7136 convention, and improve docstring to bring attention to a subtle point.
7137 * minibuffer.el (completing-read-default): Adjust accordingly.
7139 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7141 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7142 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7144 * net/trampver.el: Update release number.
7146 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7151 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7153 * mail/sendmail.el (sendmail-query-once): Restore the current
7154 buffer after querying (bug#9074).
7156 * dired.el (dired-flagged): Use different faces for marked and
7157 flagged files (bug#6117).
7159 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7162 * ido.el (ido-mode): Switch off the message if called
7165 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7166 before 587, since it appears that that's more likely to work for
7169 * cus-edit.el (custom-file): When running under emacs -q, always
7170 refuse to save the customizations, even if the .emacs file doesn't
7173 * info.el: Remove the `Info-beginning-of-buffer' function
7176 * net/network-stream.el (network-stream-open-starttls):
7177 Use `starttls-available-p' to see whether starttls.el can be used.
7179 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7181 * window.el (display-buffer-in-window): Don't set dedicated status
7182 of window here (Bug#9215).
7183 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7184 (display-buffer-pop-up-side-window)
7185 (display-buffer-in-side-window): Set dedicated status of window here.
7187 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7190 before binding generated-autoload-file.
7192 2011-08-01 Deniz Dogan <deniz@dogan.se>
7194 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7196 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7198 Sync with Tramp 2.2.2.
7200 * net/trampver.el: Update release number.
7202 2011-07-30 Juri Linkov <juri@jurta.org>
7204 * dired-aux.el (dired-touch-initial): Remove function.
7205 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7206 current time, and `default' to the last modification time of the
7207 current marked file (bug#6887).
7209 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7211 * simple.el (goto-line): Use string-to-number to provide a
7212 numeric argument to read-number (bug#9163).
7214 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7216 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7217 connection process, it could be nil.
7219 2011-07-27 Leo Liu <sdl.web@gmail.com>
7221 Simplify url handling in rcirc-mode.
7223 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7224 (rcirc-browse-url-at-mouse): Remove.
7225 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7227 2011-07-26 Alan Mackenzie <acm@muc.de>
7229 Fontify bitfield declarations properly.
7231 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7232 (c-symbol-chars): Now exported as a lang variable.
7233 (c-not-primitive-type-keywords): New lang variable.
7235 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7236 QT keyword "more" to prevent "more slots: ...." being spuriously
7237 parsed as a bitfield declaration.
7239 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7240 Refactor and enhance to handle bitfield declarations.
7241 (c-punctuation-in): New function.
7242 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7243 declarations properly.
7245 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7247 * calendar/icalendar.el (icalendar--all-events): Take care of
7248 multiple vcalendars in a single file.
7249 (icalendar--convert-float-to-ical): Checkdoc fixes.
7251 2011-07-25 Deniz Dogan <deniz@dogan.se>
7253 * image.el (insert-image): Clarifying docstring.
7255 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7257 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7258 `tramp-send-command-and-check' if there is no error.
7259 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7261 2011-07-22 Alan Mackenzie <acm@muc.de>
7263 Prevent cc-langs.elc being loaded at run time.
7265 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7268 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7269 "(require 'cc-langs)". Quote a form so it will evaluate at
7270 (cc-mode's) compilation time.
7272 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7274 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7277 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7279 * window.el (display-buffer-pop-up-window)
7280 (display-buffer-pop-up-side-window)
7281 (display-buffer-in-side-window): Call display-buffer-set-height
7282 and display-buffer-set-width after setting the new window's
7283 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7285 2011-07-20 Sam Steingold <sds@gnu.org>
7287 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7288 (etags-tags-included-tables): Call `convert-standard-filename' on
7289 the file names contained in TAGS so that windows Emacs can handle
7290 TAGS files created by cygwin ctags.
7292 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7294 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7295 which apparently didn't work.
7297 2011-07-19 Roland Winkler <winkler@gnu.org>
7299 * proced.el (proced-send-signal): For *Marked Processes* buffer
7300 put point at beginning of buffer.
7302 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7304 * proced.el (proced-format): Make header lines align with the text
7307 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7309 * view.el (view-buffer): Allow running in `special' modes if we're
7310 visiting a file (bug#8615).
7312 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7314 * window.el (display-buffer-alist-of-strings-p)
7315 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7317 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7320 2011-07-18 Alan Mackenzie <acm@muc.de>
7322 Fontify declarators properly when, e.g., a jit-lock chunk begins
7323 inside a declaration.
7325 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7327 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7329 (c-complex-decl-matchers): Insert reference to
7330 c-font-lock-enclosing-decls.
7332 * progmodes/cc-engine.el (c-backward-single-comment):
7333 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7334 to nil around calls to (forward-comment -1).
7336 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7338 * image.el (put-image): Doc typo fix.
7340 * progmodes/etags.el (tags-search): Doc typo fix.
7342 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7343 password if we get errors 550 to 554.
7345 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347 * net/gnutls.el (gnutls-log-level): Remove.
7349 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7350 indentation character (bug#6380).
7352 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7354 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7355 to clarify what the problem is (bug#4291).
7357 * simple.el (current-kill): Clarify what
7358 `interprogram-paste-function' does (bug#7500).
7359 (auto-fill-mode): Document `auto-fill-function' in relation to
7360 `auto-fill-mode' (bug#2470).
7362 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7364 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7365 method if slot is read-only (bug#9035).
7367 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7369 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7370 * window.el (pop-to-buffer): Select window used even if it was
7371 selected before, see discussion of (Bug#8615), (Bug#6954).
7372 Pass argument NORECORD on to select-frame-set-input-focus.
7374 2011-07-15 Glenn Morris <rgm@gnu.org>
7376 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7379 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7381 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7382 (gnutls-negotiate): Use it.
7384 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7386 * net/gnutls.el (gnutls-negotiate):
7387 Upcase `gnutls-algorithm-priority'.
7389 2011-07-15 Glenn Morris <rgm@gnu.org>
7391 * jka-compr.el (jka-compr-verbose): Move from here...
7392 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7393 Add missing :version tag.
7394 * info.el: No need to require jka-compr when compiling.
7396 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7398 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7399 (gnutls-negotiate): Use it.
7401 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7403 * info.el (Info-beginning-of-buffer): New command.
7404 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7405 announcing `b' as the key (bug#8325).
7406 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7408 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7410 * international/mule-cmds.el
7411 (describe-specified-language-support): Make the error message
7414 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7416 * isearch.el (isearch-barrier): Add a doc string, since it's
7417 mentioned in a function doc string (bug#8678).
7419 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7421 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7422 buffer argument (Bug#9083) and self-identifying label argument.
7424 2011-07-15 Glenn Morris <rgm@gnu.org>
7426 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7428 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7430 * man.el (Man-fontify-manpage): Fix message when formatting the
7431 man page (bug#7929).
7433 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7435 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7436 argument LRM; if non-nil, append an invisible LRM character to the
7438 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7439 last argument non-nil, when formatting buffer names.
7440 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7441 paragraph direction.
7443 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7445 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7446 the man page name (bug#7929).
7448 * image.el (put-image): Mention the `put-image' overlay property
7451 * scroll-bar.el (set-scroll-bar-mode): Mention that
7452 `scroll-bar-mode' lists the values (bug#7772).
7454 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7457 * rect.el (apply-on-rectangle): Return the point after the last
7459 (string-rectangle): Go to the point after the last operation
7462 * printing.el (pr-toggle-region): Clarify the documentation
7463 slightly (bug#7493).
7465 * time.el (display-time-update):
7466 Allow `display-time-mail-function' to return nil (bug#7158).
7467 Fix suggested by Detlev Zundel.
7469 * vc/diff.el (diff): Clarify the order the file names are read
7472 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7473 the doc string (bug#7015).
7475 * font-lock.el (font-lock-maximum-decoration): Mention what
7476 numeric levels mean (bug#6935).
7478 * startup.el (initial-buffer-choice): Don't mention the `none'
7479 selection, which is against policy.
7481 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7483 * window.el (display-buffer-normalize-special):
7484 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7486 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7488 * subr.el (version<, version<=, version=): Mention "-CVS" and
7489 "-12345" alpha version numbers.
7491 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7493 * bindings.el: Add advertised binding for set-mark-command
7496 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7498 * bindings.el (mode-line-other-buffer):
7499 * bookmark.el (bookmark-bmenu-2-window):
7500 * bs.el (bs-cycle-next, bs-cycle-previous):
7501 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7504 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7507 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7509 * follow.el (follow-debug-message, follow-redisplay):
7510 * jka-cmpr-hook.el (with-auto-compression-mode):
7511 Fix typos in docstrings.
7513 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7515 * subr.el (with-silent-modifications): Clarify somewhat what the
7516 macro inhibits (bug#6525).
7518 * simple.el (eval-expression): Note what it does if called
7519 interactively (bug#6495).
7521 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7523 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7524 Use pop-to-buffer buffer-or-name if it is nil.
7526 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7527 Remove switch-to-buffer.
7529 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7531 * files.el (make-directory): Clarify that an error will be raised
7532 if there's an error (bug#6397).
7534 * startup.el (initial-buffer-choice): Add `none' as a choice
7537 * subr.el (add-hook): Clarify section about buffer-local hooks
7540 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7542 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7544 * tabify.el (untabify): Preserve the current column so that point
7545 doesn't move (bug#6032).
7547 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7550 Rewrite to avoid awkward possessive "s" (bug#5986).
7552 2011-07-13 Glenn Morris <rgm@gnu.org>
7554 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7555 (dired-insert-directory): Give a message the first time
7556 if ls is found not to support --dired.
7558 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560 * simple.el (toggle-truncate-lines): Clarify what is toggled
7561 (bug#5580). Text by Drew Adams.
7563 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7565 * simple.el (blink-matching-open): Make the error message from the
7566 last change less verbose.
7568 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7570 * font-lock.el (font-lock-comment-face): Use the high contrast
7571 "yellow" color for font-lock-comment-face on low color terminals
7572 using a dark background color (bug#4221).
7574 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576 * dired.el (dired-insert-set-properties): Make the doc string
7577 reflect what it does now (bug#5325).
7579 * simple.el (blink-matching-open): Say that we were unable to find
7580 the match within the limit, if we're limited (bug#5122).
7582 * international/mule-cmds.el (prefer-coding-system): Add an
7585 * progmodes/etags.el (tags-search): Document `file-list-form'
7588 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7590 * net/browse-url.el (browse-url-default-browser)
7591 (browse-url-browser-function): Make the default browser choice a
7592 bit more logical (bug#4300). Also clean up the doc string.
7594 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7596 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7597 binary endings (bug#4440).
7599 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7601 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7602 which can be pretty annoying (bug#8971).
7604 * jka-compr.el (jka-compr-verbose): New variable, and use
7605 throughout (bug#8971).
7607 * info.el (Info-find-file): Fall back on the installation
7608 directory if we can't find the info node anywhere else.
7610 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7612 * vc/vc.el (vc-revert-file):
7613 Don't set file time-stamp in the past. (Bug#5181)
7615 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7617 * files.el (after-find-file): Give a better error message when
7618 trying to find a symlink that points to a file that doesn't exist
7621 * progmodes/cc-vars.el: Remove (probably) misleading comment
7624 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7626 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7628 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7630 * mouse-sel.el: Hack restoring functionality, while keeping
7631 compatibility with 2010-07-03 changes to mouse selection.
7632 (mouse-sel-primary-overlay): New var.
7633 (mouse-sel-selection-alist): Use it.
7634 (mouse-sel-mode): Doc fix; remove points that are default features
7637 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7640 Fix previous fix (bug#2490).
7642 2011-07-12 Roland Winkler <winkler@gnu.org>
7644 * textmodes/bibtex.el (bibtex-initialize):
7645 Use pop-to-buffer-same-window.
7646 (bibtex-search-entries): Fix interactive call.
7648 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7651 Fontise bytecomp Error lines more correctly (bug#2490).
7652 Fix suggested by Johan Bockgård.
7654 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7656 * dired-x.el (dired-guess-default): Use `delete-dups'.
7658 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7660 * dired.el (dired-mark-prompt):
7661 * dired-aux.el (dired-read-shell-command): Doc fix.
7663 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665 * mail/sendmail.el (sendmail-query-once):
7666 Use `customize-save-variable' unconditionally, now that it works under
7669 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7671 * cus-edit.el (custom-file): Take an optional no-error variable.
7672 (customize-save-variable): Set the variable, and give a warning if
7673 running under "emacs -q".
7675 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7677 * loadhist.el (unload-feature-special-hooks):
7678 Add `auto-coding-functions', `fill-nobreak-predicate' and
7679 `find-directory-functions' (bug#5327).
7681 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7683 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7685 * cus-edit.el (custom-guess-name-alist): -alist variables should
7686 use the `alist' type (bug#3120). Suggested by Drew Adams.
7688 * printing.el: Add documentation to all the `pr-toggle-' commands.
7690 2011-07-11 Leo Liu <sdl.web@gmail.com>
7692 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7693 backends where it makes sense (bug#2623).
7695 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697 * dired-x.el (dired-guess-default): Remove duplicate shell command
7699 (dired-guess-default): Fix grammar in doc string (bug#2028).
7700 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7702 * subr.el (remove-duplicates): New conveniency function.
7704 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7709 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7711 * window.el (display-buffer-normalize-default): Don't invert
7712 meaning of even-window-heights. Reported by Eli Zaretskii
7715 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7717 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7719 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7721 * window.el (display-buffer): Fix arguments to
7722 display-buffer-reuse-window in last change.
7724 * faces.el (link): Use a less saturated blue on light backgrounds.
7726 * startup.el (fancy-startup-text, fancy-about-text)
7727 (fancy-startup-tail): Use font-lock faces, for background safety.
7729 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7731 * emulation/viper-cmd.el (viper-change-state-to-vi):
7732 Limit triggering of abbrev expansion (Bug#9038).
7734 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7736 * window.el (display-buffer-default-specifiers): Remove.
7737 (display-buffer-macro-specifiers): Remove default specifiers.
7738 (display-buffer-alist): Default to nil.
7739 (display-buffer-reuse-window): New optional argument other-window.
7740 (display-buffer-pop-up-window): Allow splitting internal
7741 windows. Check whether a live window was created.
7742 (display-buffer-other-window-means-other-frame)
7743 (display-buffer-normalize-arguments): Rename to
7744 display-buffer-normalize-argument and rewrite. Set the
7745 other-window specifier.
7746 (display-buffer-normalize-special): New function.
7747 (display-buffer-normalize-options): Rename to
7748 display-buffer-normalize-default and rewrite.
7749 (display-buffer-normalize-options-inhibit): Remove.
7750 (display-buffer-normalize-specifiers): Rewrite.
7751 (display-buffer): Process other-window specifier and call
7752 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7754 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7755 (display-buffer-alist-set): Don't handle 'unset default values.
7756 (display-buffer-in-window, display-buffer-alist-set):
7757 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7758 <tassilo@member.fsf.org>.
7760 2011-07-09 Leo Liu <sdl.web@gmail.com>
7762 * register.el (insert-register): Restore accidental change on
7763 2011-06-26. (Bug#9028)
7765 2011-07-09 Glenn Morris <rgm@gnu.org>
7767 * subr.el (remq): Handle the empty list. (Bug#9024)
7769 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7771 * mail/sendmail.el (send-mail-function): No longer delay custom
7773 * custom.el (custom-initialize-delay): Doc fix.
7775 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7779 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7781 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7782 human-friendly prompt.
7784 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7787 provided by a particular plugin.
7789 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7792 save customizations (with "emacs -Q"), just set the variable
7793 instead of erroring out.
7795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7797 2011-07-08 Juri Linkov <juri@jurta.org>
7799 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7800 (archive-zip-update-case): Use 7z if found by `executable-find'.
7801 The order of searching the available programs is the same as in
7802 `archive-zip-extract' (bug#8968).
7804 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7806 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7807 (menu-bar-options-menu): Tweak descriptions.
7809 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7811 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7812 menu items into verb phrases (bug#1421). Also refill to fit under
7815 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7817 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7818 (Info-read-node-name): Doc fix (Bug#1084).
7820 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7821 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7822 (end-of-sexp, beginning-of-sexp)
7823 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7824 (forward-symbol, forward-same-syntax, word-at-point)
7825 (sentence-at-point): Doc fix (Bug#1144).
7827 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7829 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7830 should cover it (bug#1281).
7832 * cus-edit.el (custom-show): Mark as obsolete.
7834 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7835 negotiation fails, then possibly try again with a non-encrypted
7836 connection (bug#9017).
7838 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7841 2011-07-07 Richard Stallman <rms@gnu.org>
7843 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7844 property, and handle its changed format.
7845 Look for the correct line number.
7846 Use file's line contents (but not past first =) to find
7847 correct line in message.
7849 2011-07-07 Kenichi Handa <handa@m17n.org>
7851 * international/characters.el (build-unicode-category-table):
7853 (unicode-category-table): Set it by unicode-property-table-internal.
7855 * international/mule-cmds.el (char-code-property-alist): Move to
7857 (get-char-code-property): Call unicode-property-table-internal to
7858 load a file. Call get-unicode-property-internal where necessary.
7859 (put-char-code-property): Call unicode-property-table-internal to
7860 load a file. Call put-unicode-property-internal where necessary.
7861 put-unicode-property-internal where necessary.
7862 (char-code-property-description):
7863 Call unicode-property-table-internal to load a file.
7865 * international/charprop.el:
7866 * international/uni-bidi.el:
7867 * international/uni-category.el:
7868 * international/uni-combining.el:
7869 * international/uni-comment.el:
7870 * international/uni-decimal.el:
7871 * international/uni-decomposition.el:
7872 * international/uni-digit.el:
7873 * international/uni-lowercase.el:
7874 * international/uni-mirrored.el:
7875 * international/uni-name.el:
7876 * international/uni-numeric.el:
7877 * international/uni-old-name.el:
7878 * international/uni-titlecase.el:
7879 * international/uni-uppercase.el: Regenerate.
7881 * loadup.el: Load international/charprop.el before
7882 international/characters.
7884 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7886 * window.el (next-buffer, previous-buffer): Signal an error if
7887 called from a minibuffer window.
7889 * bindings.el: Revert 2011-07-04 change.
7891 2011-07-06 Richard Stallman <rms@gnu.org>
7893 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7894 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7895 Treat markers like ints.
7896 (rmail-mime-entity): Doc fix.
7898 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7900 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7901 defcustom again for backwards compatibility.
7903 * simple.el (shell-command-on-region): Fill.
7905 * dired-aux.el (dired-kill-line): Add a doc string.
7907 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7908 to "\\sw\\|\\s_" (bug#358).
7910 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7911 (dired-unmark-backward): Ditto.
7912 (dired-flag-backup-files): Ditto.
7914 * dired-x.el (dired-mark-sexp): Ditto.
7916 2011-07-06 Richard Stallman <rms@gnu.org>
7918 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7919 (rmail-mime-entity): New arg TRUNCATED.
7920 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7922 (rmail-mime-save): Warn if entity is truncated.
7923 (rmail-mime-toggle-hidden): Likewise, for showing.
7924 (rmail-mime-process-multipart): Record when an entity is truncated.
7926 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7927 if ENTITY is a string.
7929 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7931 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7932 of faces when `M-C-x'-ing their definitions (bug#8378).
7933 Also clean up the code slightly.
7935 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7936 because that makes the colors go away.
7938 * mail/sendmail.el (send-mail-function): Change the default to
7939 `sendmail-query-once'.
7940 (sendmail-query-once): Add an autoload cookie.
7942 * net/network-stream.el (network-stream-open-starttls): Try using
7943 a plain connection even if the server offered STARTTLS, and we
7944 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7945 capability. This should make smtpmail.el work in slightly more
7948 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7950 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7952 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7954 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7956 * progmodes/sql.el: Version 3.0
7957 (sql-product-alist): Add product :completion-object,
7958 :completion-column, and :statement attributes.
7959 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7960 (sql-mode-syntax-table): Mark all punctuation.
7961 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7963 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7964 (sql-mode-oracle-font-lock-keywords): Improve.
7965 (sql-oracle-show-reserved-words): New function for development.
7966 (sql-product-font-lock): Simplify for source code buffers.
7967 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7969 (sql-highlight-product): Set product specific syntax table.
7970 (sql-mode-map): Add statement movement functions.
7971 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7973 (sql-statement-regexp, sql-beginning-of-statement)
7974 (sql-end-of-statement, sql-signum): New functions.
7975 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7976 (sql-show-sqli-buffer): Bug fix.
7977 (sql-interactive-mode): Store connection data as buffer local.
7978 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7979 with sql-interactive-mode.
7980 (sql-save-connection): Save buffer local settings.
7981 (sql-connection-menu-filter): Change menu entry name.
7982 (sql-product-interactive): Bug fix.
7983 (sql-preoutput-hold): New variable.
7984 (sql-interactive-remove-continuation-prompt): Bug fixes.
7985 (sql-debug-redirect): New variable.
7986 (sql-str-literal): New function.
7987 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7989 (sql-oracle-save-settings, sql-oracle-restore-settings)
7990 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7991 (sql-completion-object, sql-completion-column)
7992 (sql-completion-sqlbuf): New variables.
7993 (sql-build-completions-1, sql-build-completions)
7994 (sql-try-completion): New functions.
7995 (sql-read-table-name): Use them.
7996 (sql-contains-names): New buffer local variable.
7997 (sql-list-all, sql-list-table): Use it.
7998 (sql-oracle-completion-types): New variable.
7999 (sql-oracle-completion-object, sql-sqlite-completion-object)
8000 (sql-postgres-completion-object): New functions.
8002 2011-07-06 Glenn Morris <rgm@gnu.org>
8004 * window.el (pop-to-buffer): Doc fix.
8006 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8008 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8010 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8012 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8014 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8016 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8018 * button.el (button): Inherit from link face. Suggested by Dan
8021 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8023 * progmodes/gdb-mi.el: Fit in 80 columns.
8024 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8027 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8028 if imenu is simply not configured (bug#8941).
8030 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8032 * allout.el (allout-post-undo-hook): New allout outline-change
8033 event hook to signal undo activity.
8034 (allout-post-command-business): Run allout-post-undo-hook if an
8036 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8037 * allout-widgets.el (allout-widgets-after-undo-function):
8038 Ensure the integrity of the current item's decoration after it has been
8039 in the vicinity of an undo.
8040 (allout-widgets-mode): Include allout-widgets-after-undo-function
8041 on the new allout-post-undo-hook.
8043 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8045 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8046 Let define-derived-mode define it.
8047 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8048 cycles of abbrev-table inheritance (bug#8998).
8050 2011-07-05 Roland Winkler <winkler@gnu.org>
8052 * textmodes/bibtex.el: Add support for biblatex.
8053 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8054 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8055 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8056 (bibtex-entry-alist, bibtex-field-alist): New variables.
8057 (bibtex-entry-field-alist): Obsolete alias for
8058 bibtex-BibTeX-entry-alist.
8059 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8060 (bibtex-set-dialect): New command.
8061 (bibtex-entry-type, bibtex-entry-head)
8062 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8063 Bind via bibtex-set-dialect.
8064 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8065 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8066 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8067 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8068 Define via bibtex-set-dialect.
8069 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8070 Obey bibtex-no-opt-remove-re.
8071 (bibtex-vec-push, bibtex-vec-incr): New functions.
8072 (bibtex-format-entry, bibtex-field-list)
8073 (bibtex-print-help-message, bibtex-validate)
8074 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8076 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * progmodes/compile.el (compilation-goto-locus):
8079 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8080 * bs.el (bs-cycle-next, bs-cycle-previous):
8081 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8082 * bindings.el (mode-line-other-buffer):
8083 * autoinsert.el (auto-insert):
8084 * arc-mode.el (archive-extract):
8085 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8087 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8089 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8090 Fix check of `emacs-lock-unlockable-modes'.
8091 Coerce true values of `emacs-lock--try-unlocking' to t.
8093 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8095 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8096 * emacs-lock.el: New file.
8098 2011-07-05 Julien Danjou <julien@danjou.info>
8100 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8101 than `boundp' to check if face is set.
8103 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8105 * register.el (registerv-make):
8106 * window.el (window-min-height): Fix typos in docstrings.
8108 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8110 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8113 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8115 * server.el (server-execute): Catch quit and call
8116 `server-return-error' to pass the error back to emacsclient and
8117 close the connection (bug#8942).
8119 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8121 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8122 insecure exception for current topic. Also note that auto-saves
8123 are handled differently.
8125 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8126 State variables for tracking auto-save inhibition situation.
8128 (allout-write-contents-hook-handler): Rename from
8129 'allout-write-file-hook-handler', and describe how it depends on
8130 write-contents-functions sensitivity to non-nil value to prevent
8133 (allout-auto-save-hook-handler): Remove. auto-save does not check
8134 this in individual buffers, only in the starting buffer, so this
8135 is not the right way for us to inhibit auto-save in a buffer
8136 according to its condition.
8138 (allout-mode): Use new allout-write-contents-hook-handler, and
8139 only with write-contents-functions. Remove auto-save provisions -
8140 they're implemented elsewhere.
8142 (allout-before-change-handler): If undo is in progress, note that
8143 for attention of allout-post-command-business.
8145 (allout-post-command-business): If the command we're following was
8146 an undo, check for change in the status of encrypted items and
8147 adjust auto-save inhibitions accordingly.
8149 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8150 according to whether there are or aren't any plain-text topics
8153 (allout-inhibit-auto-save-info-for-decryption):
8154 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8155 if there are plain-text topics pending encryption.
8157 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8158 buffer-saved-size and some allout state to not inhibit auto-saves
8159 if there are no longer any plain-text topics pending encryption.
8161 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8162 No longer provide for exemption of the current topic.
8164 2011-07-04 Juri Linkov <juri@jurta.org>
8166 Add 7z operations to delete and save changed members (bug#8968).
8167 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8169 (archive-7z-write-file-member): New function.
8170 (archive-7z-summarize): Fix the number of dashes in the
8173 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8178 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8180 * bindings.el: Ignore next-buffer and previous-buffer in
8181 minibuffer-local-map.
8183 * font-lock.el (font-lock-builtin-face): Change light background
8184 color to dark slate blue (Bug#6693).
8186 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8188 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8190 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8193 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8194 Add switch-to-buffer.
8196 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8198 * isearch.el (isearch-search-fun-function): Clarify further the
8199 meaning of the function returned.
8201 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8203 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8205 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8206 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8208 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8209 `tramp-default-remote-path' does not exist.
8210 (tramp-send-command-and-read): New optional argument NOERROR.
8211 (tramp-open-connection-setup-interactive-shell)
8212 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8213 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8214 (tramp-process-sentinel): Flush also process' connection property.
8215 (tramp-sh-handle-start-file-process): Do not set process
8216 sentinel. It is done now ...
8217 (tramp-maybe-open-connection): ... here. (Bug#8929)
8219 2011-07-04 MON KEY <monkey@sandpframing.com>
8221 * play/animate.el (animate-string): Doc fixes and allow changing
8222 the buffer name (bug#5417).
8224 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8226 * play/animate.el (animation-buffer-name): Rename from *animate*.
8228 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8230 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8231 This is simpler and helps future-proof the code.
8232 (timer-until): Use time-subtract and float-time.
8233 (timer--time-less-p): Use time-less-p.
8235 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8237 * type-break.el (timep): Use the value of `float-time' to avoid a
8238 byte-compiler warning.
8240 * server.el (server-eval-and-print): Return any result, even nil.
8242 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8244 * type-break.el: Accept time formats that the builtins accept.
8245 (timep, type-break-time-difference): Accept any format that
8246 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8247 This is simpler and helps future-proof the code.
8248 (type-break-time-difference): Round rather than ignoring
8249 subseconds components.
8251 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8253 * info.el (Info-apropos-matches): Make non-interactive, since it
8254 doesn't seem to do anything useful as a command (bug#8829).
8256 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8258 * frame.el (frame-background-mode, frame-set-background-mode):
8260 (frame-default-terminal-background): New function.
8262 * custom.el (custom-push-theme): Don't record faces in `changed'
8263 theme; this doesn't work correctly for per-frame face settings.
8264 (disable-theme): Use face-set-after-frame-default to reset faces.
8265 (custom--frame-color-default): New function.
8267 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8269 * dired.el (dired-flagging-regexp): Remove unused variable
8272 2011-03-29 Kevin Ryde <user42@zip.com.au>
8274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8275 `perl-Test2' extend to match possible "fail #N" rep count
8278 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8281 `smtpmail-via-smtp' now returns the error instead of nil.
8283 * isearch.el (isearch-search-fun-function): Clarify the doc string
8286 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8288 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8289 unnecessary spaces (bug#8987).
8291 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293 * net/network-stream.el (open-network-stream): Use the
8294 :end-of-capability command thoughout.
8296 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8298 * net/network-stream.el (open-network-stream): Add the
8299 :end-of-capability command parameter, used by pop3.el.
8301 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8305 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8306 for list)" (bug#6475).
8308 * files.el (file-expand-wildcards): Ignore non-readable
8309 sub-directories while trying to find matches instead of signaling
8310 an error (bug#6297).
8312 * man.el (Man-reference-regexp): Allow matching possible
8313 word-wrapped references (bug#6289).
8315 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8316 for consistency with the other vc buffers (bug#6197).
8317 (vc-checkin): Ditto.
8319 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8321 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8323 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8325 * custom.el (defcustom): Clarify that :set is only used in the
8326 Customize user interface (bug#6089).
8328 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8329 associated with a file, refuse to run instead of erroring out
8332 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8333 the doc string, since it appears that using `fill-column' always
8334 controls the width (bug#7845).
8336 * simple.el (shell-command-on-region): Say where the error output
8337 went if `shell-command-default-error-buffer' is set (bug#6857).
8339 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8341 * allout.el (allout-yank-processing): Adjust cursor position for
8342 backwards-deleted space.
8344 (allout-rebullet-heading): Register changes with
8345 allout-exposure-changed-hook, so the modified topic is properly
8348 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8350 * minibuffer.el (completion-in-region): Document PREDICATE
8353 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8354 of keyword/argument pairs (bug#6904).
8356 * replace.el (multi-occur):
8357 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8359 2011-07-02 Drew Adams <drew.adams@oracle.com>
8361 * dired.el (dired-mark-if): Make the message about whether it's
8362 marking or unmarking clearer (bug#8523).
8364 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8366 * disp-table.el (display-table-print-array): New function.
8367 (describe-display-table): Use it to print the vectors more pretty
8370 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8372 * window.el (window-state-get-1): Don't assign clone numbers.
8373 Add clone-of item to list of window parameters.
8374 (window-state-put-2): Don't process clone numbers.
8375 (display-buffer-alist): Fix doc-string.
8377 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8379 * subr.el (remq): Don't allocate if it's not needed.
8380 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8381 (keymap--merge-bindings): New functions.
8382 (keymap-canonicalize): Use them to refine the canonicalization.
8383 * minibuffer.el (minibuffer-local-completion-map)
8384 (minibuffer-local-must-match-map): Move initialization from C.
8385 (minibuffer-local-filename-completion-map): Move initialization from C;
8386 don't inherit from anything here.
8387 (minibuffer-local-filename-must-match-map): Make obsolete.
8388 (completing-read-default): Use make-composed-keymap to combine
8389 minibuffer-local-filename-completion-map with either
8390 minibuffer-local-must-match-map or
8391 minibuffer-local-filename-completion-map.
8393 2011-07-01 Glenn Morris <rgm@gnu.org>
8395 * type-break.el (type-break-time-sum): Use dolist.
8397 * textmodes/flyspell.el (flyspell-word-search-backward):
8398 Replace CL function.
8400 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * mouse.el (mouse--strip-first-event): New function.
8403 (function-key-map): Use it to map fringe clicks to normal clicks
8406 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8407 (vc-bzr-revision-completion-table): Add support for annotate and date.
8409 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8410 inherit from parent.
8412 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8415 (dired-show-file-type): Doc fixup (bug#8818).
8417 * dired.el (dired-mode): Fix up the doc string as suggested by
8418 Drew Adams (bug#8817).
8420 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8421 cookie, since the manual says that it should be possible to add
8422 this function to `find-file-hook' (bug#8709).
8424 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8426 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8427 here. Noted Ted Zlatanov as the maintainer.
8428 (cfengine-common-settings, cfengine-common-syntax): New functions
8429 to set up common things between `cfengine-mode' and
8431 (cfengine3-mode): New mode.
8432 (cfengine3-defuns cfengine3-defuns-regex
8433 (cfengine3-class-selector-regex cfengine3-category-regex)
8434 (cfengine3-vartypes cfengine3-font-lock-keywords)
8435 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8436 (cfengine3-indent-line): Add from cfengine3.el.
8438 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8440 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8442 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8444 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8446 * window.el (same-window-buffer-names, same-window-regexps)
8447 (same-window-p, special-display-frame-alist)
8448 (special-display-popup-frame, special-display-function)
8449 (special-display-buffer-names, special-display-regexps)
8450 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8451 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8452 (split-window-preferred-function, split-height-threshold)
8453 (split-width-threshold, even-window-heights)
8454 (display-buffer-mark-dedicated, window-splittable-p)
8455 (split-window-sensibly, window-safely-shrinkable-p):
8457 (display-buffer): Don't spread args with function specifier
8458 because special-display-popup-frame won't like it.
8460 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8462 Time-stamp simplifications and fixes.
8463 These improve accuracy slightly, and future-proof the code
8464 against some potential changes to current-time format.
8466 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8467 by using time-since and float-time.
8469 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8470 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8471 + NNN microseconds".
8473 * type-break.el (type-break-time-sum): Rewrite using time-add.
8475 * play/hanoi.el (hanoi-current-time-float): Remove.
8476 All uses replaced by float-time.
8478 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8479 This yields a more-accurate answer.
8480 (rng-time-to-float): Remove; no longer needed.
8482 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8484 * calendar/timeclock.el (timeclock-seconds-to-time):
8485 Defalias to seconds-to-time, since they're the same thing.
8487 * emacs-lisp/elp.el (elp-elapsed-time):
8488 * emacs-lisp/benchmark.el (benchmark-elapse):
8489 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8491 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * window.el (bury-buffer): Don't iconify the only frame.
8494 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8495 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8497 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8499 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8500 Add mouse-yank-primary.
8502 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8504 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8506 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8509 (find-library-name): Use it to find relative load names when provided
8510 absolute file name (bug#8803).
8512 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514 * textmodes/flyspell.el (flyspell-word): Consider words that
8515 differ only in case as potential doublons (bug#5687).
8517 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8518 Remove two rather uninteresting debugging-like messages to make
8519 debbugs.el more silent.
8521 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8522 a password-like phrase.
8524 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8526 * progmodes/cc-guess.el: New file.
8528 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8530 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8531 derived from `c-basic-common-init'.
8533 * progmodes/cc-mode.el (top-level): Require cc-guess.
8534 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8536 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8538 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8540 2011-06-30 Alan Mackenzie <acm@muc.de>
8542 * progmodes/cc-engine.el (c-guess-continued-construct):
8543 Correct the handling of template-args-cont, particularly for when font
8544 lock is disabled. Name this case as "CASE G".
8546 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8548 * allout.el (allout-yank-processing): Fix injection of extra space
8549 between bullet and non-whitespace character in first topic when
8550 pasting, ensuring that the actual spacing in the pasted topic
8551 following the bullet char is preserved. This extra space was
8552 causing pasted encrypted topics to get a decrypted status even
8553 when the content was actually still encrypted. Now the decryption
8554 status from before the paste is preserved.
8556 (allout-flag-region): Set all allout overlays so they evaporate
8557 when reduced to zero length (evanescent), to prevent overlay
8560 2011-06-30 Glenn Morris <rgm@gnu.org>
8562 * w32-fns.el (w32-charset-info-alist): Declare.
8564 * find-dired.el (find-grep-options): Simplify.
8566 * term/ns-win.el (ns-set-resource): Declare.
8568 * ses.el (row, col): Declare dynamic variables honestly.
8570 * textmodes/reftex-parse.el (index-tags): Declare.
8572 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8574 * cus-edit.el (customize-push-and-save): New function.
8576 * files.el (hack-local-variables-confirm): Use it.
8578 * custom.el (load-theme): New arg NO-CONFIRM.
8579 Use customize-push-and-save (Bug#8720).
8580 (custom-enabled-themes): Doc fix.
8582 * cus-theme.el (customize-create-theme)
8583 (custom-theme-merge-theme): Callers to load-theme changed.
8585 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8588 short URLs have at least one dot in them (bug #7614).
8590 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8591 nil, because using a pty is apparently too slow (bug #895).
8593 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595 * mail/sendmail.el (sendmail-query-once): New function.
8596 (sendmail-query-once-function): New variable.
8598 2011-06-29 Glenn Morris <rgm@gnu.org>
8600 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8602 * ses.el (top-level): Require cl when compiling.
8603 (ses-set-localvars): Fix error statement.
8604 Call it at compile time to silence a storm of warnings.
8606 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8608 * window.el (normalize-live-buffer): Rename to
8609 window-normalize-buffer.
8610 (normalize-live-frame): Rename to window-normalize-frame.
8611 (normalize-any-window): Rename to window-normalize-any-window.
8612 (normalize-live-window): Rename to window-normalize-live-window.
8613 (make-window-atom): Rename to window-make-atom.
8614 (window-resize-reset): Rename to window--resize-reset.
8615 (window-resize-reset-1): Rename to window--resize-reset-1.
8616 (resize-mini-window): Rename to window--resize-mini-window.
8617 (resize-subwindows-skip-p): Rename to
8618 window--resize-subwindows-skip-p.
8619 (resize-subwindows-normal): Rename to
8620 window--resize-subwindows-normal.
8621 (resize-subwindows): Rename to window--resize-subwindows.
8622 (resize-other-windows): Rename to window--resize-siblings.
8623 (resize-this-window): Rename to window--resize-this-window.
8624 (resize-root-window): Rename to window--resize-root-window.
8625 (resize-root-window-vertically): Rename to
8626 window--resize-root-window-vertically.
8627 (normalize-buffer-to-display): Rename to
8628 window-normalize-buffer-to-display.
8629 (normalize-buffer-to-switch-to): Rename to
8630 window-normalize-buffer-to-switch-to.
8631 Correspondingly update all callers of the functions listed
8633 (display-buffer-alist, display-buffer-normalize-arguments)
8634 (display-buffer-normalize-options, display-buffer)
8635 (display-buffer-alist-set): Use "function" instead of
8638 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8640 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8641 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8642 debbugs.gnu.org. Mention acknowledgment email.
8644 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8646 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8647 buffer multibyteness, since it shouldn't matter.
8649 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8651 * window.el (display-buffer-in-side-window): Handle dedicated
8652 windows as in display-buffer-reuse-window.
8653 (display-buffer-normalize-alist): Use value of override
8655 (display-buffer-normalize-specifiers): Use value of
8656 other-window-means-other-frame specifier.
8657 (display-buffer-alist): Rewrite some texts in widgets.
8658 (display-buffer): Spread arguments when calling function
8659 specified by fun-with-args.
8661 2011-06-28 Deniz Dogan <deniz@dogan.se>
8663 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8666 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8667 selectors (Bug#5732).
8668 (css-proprietary-nmstart-re): Use `regexp-opt'.
8670 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8672 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8673 (eshell-ls-date-format): New defcustom.
8674 (eshell-ls-file): Use it.
8676 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8678 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8680 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8682 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8683 (ange-ftp-make-tmp-name): New arg.
8684 (ange-ftp-file-local-copy): Use it.
8686 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8688 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8689 no-conversion (Bug#8870).
8691 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8693 * window.el (window-right, window-left, window-child)
8694 (window-child-count, window-last-child)
8695 (window-iso-combination-p, walk-window-tree-1)
8696 (window-atom-check-1, window-tree-1, delete-window)
8697 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8698 new naming conventions - window-vchild, window-hchild,
8699 window-next and window-prev are now called window-top-child,
8700 window-left-child, window-next-sibling and window-prev-sibling
8702 (resize-window-reset): Rename to window-resize-reset.
8703 (resize-window-reset-1): Rename to window-resize-reset-1.
8704 (resize-window): Rename to window-resize.
8705 (window-min-height, window-min-width)
8706 (resize-mini-window, resize-this-window, resize-root-window)
8707 (resize-root-window-vertically, adjust-window-trailing-edge)
8708 (enlarge-window, shrink-window, maximize-window)
8709 (minimize-window, delete-window, quit-restore-window)
8710 (split-window, balance-windows, balance-windows-area-adjust)
8711 (balance-windows-area, window-state-put-2)
8712 (display-buffer-even-window-sizes, display-buffer-set-height)
8713 (display-buffer-set-width, set-window-text-height)
8714 (fit-window-to-buffer): Rename all "resize-window" prefixed
8715 calls to use the "window-resize" prefix convention.
8716 (display-buffer-alist): Fix symbol for label specifier.
8717 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8718 corresponding specifier.
8719 Reported by Juanma Barranquero <lekktu@gmail.com>.
8721 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8723 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8725 (ses-call-printer): Does not pass an empty string to formatter when the
8726 cell is empty to keep from barking printer Calc math-format-value.
8728 2011-06-27 Richard Stallman <rms@gnu.org>
8730 * battery.el (battery-mode-line-limit): New variable.
8731 (battery-update): Handle it.
8733 * mail/rmailmm.el (rmail-mime-process-multipart):
8734 Handle truncated messages.
8736 2011-06-27 Glenn Morris <rgm@gnu.org>
8738 * progmodes/flymake.el (flymake-err-line-patterns):
8739 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8741 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8743 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8744 (ses--clean-!, ses--clean-_): New functions.
8745 (ses-range): Add configurability of readout order, and conversion
8748 * ses.el (ses-repair-cell-reference-all): New function.
8749 (ses-cell-symbol): Set macro as safe, so that it can be used in
8752 * ses.el: Update cycle detection algorithm.
8753 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8754 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8755 (ses-set-localvars): New function.
8756 (ses-make-cell): Add property-list as a cell element.
8757 (ses-cell-property-get-fun, ses-cell-property-get)
8758 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8759 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8761 (ses-cell-property-set, ses-cell-property-pop)
8762 (ses-cell-property-get-handle): New macro.
8763 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8764 New aliases, used for code readability.
8765 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8767 (ses-self-reference-early-detection): New defcustom.
8768 (ses-formula-references): Robustify against self-referring cells.
8769 (ses-mode): Use ses-set-localvars.
8770 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8771 before lauching the update processing.
8772 (ses-initialize-Dijkstra-attempt): New function.
8773 (ses-recalculate-cell): Update for cycle detection based on
8776 * ses.el: Fix commenting and indenting convention.
8778 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * bs.el (bs-cycle-next): Complete last change.
8782 2011-06-27 Drew Adams <drew.adams@oracle.com>
8784 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8786 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8788 * net/network-stream.el (network-stream-open-starttls):
8789 Don't re-get capabilities unless we've reestablished connection.
8790 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8792 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8793 to binary to possibly avoid line encoding issues on Windows (among
8796 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8798 * net/network-stream.el (open-network-stream): Return an :error
8799 saying what the problem was, if possible.
8801 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8804 * net/network-stream.el (network-stream-open-starttls): If we
8805 wanted to use STARTTLS, and the server offered it, but we weren't
8806 able to because we had no STARTTLS support, then close the connection.
8807 (open-network-stream): Return an :error element, if present.
8809 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8811 * hl-line.el (hl-line-sticky-flag): Doc fix.
8812 (global-hl-line-sticky-flag): New option (Bug#8323).
8813 (global-hl-line-highlight): Obey it.
8815 * vc/vc.el (vc-revert-show-diff): Default to t.
8817 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8819 * allout-widgets.el (allout-widgets-post-command-business):
8820 Stop decorating intermediate isearch matches. They're not being
8821 undecorated when an isearch is continued past, and isearch
8822 automatically collapses them. This leads to "widget leaks", where
8823 decorated items accumulate in collapsed areas. Lines with lots of
8824 hidden widgets can slow down cursor travel, substantially.
8825 Too much complicated machinery would be needed to ensure undecoration,
8826 so we're doing without this nicety.
8828 (allout-widgets-tally-string): Don't try to do a hash-table-count
8829 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8830 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8831 *Messages* when allout-widgets-maintain-tally is t.
8833 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8835 * window.el (display-buffer-normalize-argument): Rename to
8836 display-buffer-normalize-arguments. Handle special meaning of
8837 LABEL argument. Respect special-display-function when popping up
8838 a new frame. Fix code searching for a window showing the buffer
8840 (display-buffer-normalize-specifiers):
8841 Call display-buffer-normalize-arguments.
8842 (display-buffer-in-window): Don't undedicate the window if its
8843 buffer remains the same.
8844 Reported by Drew Adams <drew.adams@oracle.com>.
8845 (display-buffer-alist): Add choice for same-window macro
8847 (display-buffer): Mention special meaning of LABEL argument in
8848 doc-string. Fix quoting. Don't pop up a new frame even as
8851 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8853 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8854 avoid deleting the current window in some cases (bug#8911).
8856 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8858 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8861 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8863 * net/network-stream.el (network-stream-open-starttls):
8864 Use built-in TLS support if `gnutls-available-p' is true.
8865 (network-stream-open-tls): Ditto.
8867 2011-06-26 Leo Liu <sdl.web@gmail.com>
8869 * register.el (registerv): New struct.
8870 (registerv-make): New function.
8871 (jump-to-register, describe-register-1, insert-register):
8872 Support the jump-func, print-func and insert-func slot of a registerv
8875 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8877 * vc/vc.el (vc-revert-show-diff): New defcustom.
8878 (vc-diff-internal): New arg specifying diff buffer.
8879 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8880 reuse an existing *vc-diff* buffer (Bug#8927).
8882 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8884 2011-06-26 Glenn Morris <rgm@gnu.org>
8886 * progmodes/f90.el (f90-critical-indent): New option.
8887 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8888 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8889 (f90-mode): Doc fix.
8890 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8891 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8892 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8893 (f90-match-end): Handle block, critical.
8895 2011-06-25 Glenn Morris <rgm@gnu.org>
8897 * calendar/diary-lib.el (diary-included-files): Doc fix.
8898 (diary-include-files): New function, extracted from
8899 diary-include-other-diary-files and diary-mark-included-diary-files.
8900 (diary-include-other-diary-files, diary-mark-included-diary-files):
8901 Just call diary-include-files.
8902 (diary-mark-entries): Reset diary-included-files on first call.
8904 * calendar/diary-lib.el (diary-mark-entries)
8905 (diary-mark-included-diary-files):
8906 Visit included diary-files in temp buffers.
8908 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8909 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8910 (f90-start-block-re, f90-imenu-generic-expression)
8911 (f90-looking-at-program-block-start, f90-no-block-limit):
8912 Add support for submodules.
8914 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8915 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8917 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8919 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8920 buffer-file-type before setting its value, to avoid disastrous
8921 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8923 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8925 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8927 * ses.el (ses-unload-function):
8928 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8930 * proced.el (proced-unload-function):
8931 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8933 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8935 * server.el (server-create-window-system-frame): Add parameters arg.
8936 (server-process-filter): Doc fix. Handle frame-parameters.
8938 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8940 Fix bug#8730, bug#8781.
8942 * loadhist.el (unload--set-major-mode): New function.
8943 (unload-feature): Use it.
8945 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8946 (python-unload-function): New function.
8948 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8950 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8952 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8954 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8955 the candidates list.
8957 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8959 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8961 2011-06-23 Richard Stallman <rms@gnu.org>
8963 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8964 (rmail-variables): Set next-error-move-function.
8965 (rmail-what-message): Take argument POS.
8966 (rmail-next-error-move): New function.
8968 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8971 messages for adjacent non-terminals.
8973 2011-06-23 Richard Stallman <rms@gnu.org>
8975 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8976 (rmail-show-message-1): Preserve buffer modified flag.
8977 (rmail-start-mail): Don't specify use of rmail-mail-return;
8978 that's done by mail-bury now.
8979 (rmail-mail-return): Handle arg NEWBUF.
8981 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8983 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8986 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8988 * window.el (get-lru-window, get-mru-window)
8989 (get-largest-window): Never return a minibuffer window.
8990 (display-buffer-pop-up-window): Fix a bug that could lead to
8991 reusing the minibuffer window.
8992 (display-buffer): Pass original specifier argument to
8993 display-buffer-function instead of the normalized one.
8994 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8996 2011-06-22 Leo Liu <sdl.web@gmail.com>
8998 * minibuffer.el (completing-read-function)
8999 (completing-read-default): Move from minibuf.c
9001 2011-06-22 Richard Stallman <rms@gnu.org>
9003 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9004 to Rmail even if not started by a special Rmail command.
9006 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9007 Copy the buffer currently showing just one message.
9009 2011-06-22 Roland Winkler <winkler@gnu.org>
9011 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9012 (bibtex-clean-entry): First delete the old key so that a
9013 customized algorithm for generating the new key does not get
9014 confused by the old key.
9015 (bibtex-url): Obey regexp of first step.
9016 (bibtex-search-entries): Do not use add-to-list with local
9019 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9021 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9022 stored a user name, then query for the password first, instead of
9023 waiting for SMTP to give an error message and the trying again.
9025 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9027 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9028 BUFFER in call-process.
9030 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9032 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9034 (smtpmail-try-auth-methods): Require user name and password from
9037 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9039 * window.el (display-buffer-default-specifiers)
9040 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9041 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9042 (split-window): Normalize SIDE argument (Bug#8916).
9044 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9045 (special-display-frame-alist, special-display-popup-frame):
9046 Remove duplicate declarations. These are now in window.el.
9048 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9050 * mail/smtpmail.el (smtpmail-via-smtp):
9051 Set :use-starttls-if-possible so that we always use STARTTLS if the
9052 server supports it. SMTP servers that support STARTTLS commonly
9055 * net/network-stream.el (network-stream-open-starttls): Support
9056 upgrading to STARTTLS always, even if we don't have built-in support.
9057 (open-network-stream): Add the :always-query-capabilities keyword.
9059 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9060 upgrades with `open-network-stream', and rely solely on
9061 auth-source for all credentials. Big changes throughout the file,
9063 (smtpmail-auth-credentials): Remove.
9064 (smtpmail-starttls-credentials): Remove.
9065 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9068 * net/network-stream.el (network-stream-open-starttls):
9069 Provide support for client certificates both for external and built-in
9071 (auth-source): Require.
9072 (open-network-stream): Document the :client-certificate keyword.
9073 (network-stream-certificate): Change cert-cert to cert and
9076 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9078 * net/tramp-cache.el (top): Don't load the persistency file when
9079 "emacs -Q" has been called.
9081 2011-06-21 Tim Harper <timcharper@gmail.com>
9083 * term/ns-win.el (ns-initialize-window-system):
9084 Set application-specific `ApplePressAndHoldEnabled' system
9085 resource to NO as it is not yet supported by the NS port.
9087 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9089 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9090 (list-dynamic-libraries): ...not here.
9092 2011-06-21 Leo Liu <sdl.web@gmail.com>
9094 * subr.el (sha1): Implement sha1 using secure-hash.
9096 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9098 * window.el (display-buffer-alist): In default value do not
9099 enforce searching a window on any but the selected frame.
9100 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9101 (display-buffer-select-window): Remove function.
9102 (display-buffer-in-window): When a window on another frame gets
9103 reused, do not select it any more but just raise its frame if
9104 necessary (Bug#8851) and (Bug#8856).
9105 (display-buffer-normalize-options): Handle pop-up-frames related
9106 options more faithfully.
9107 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9108 window if it is on another frame.
9109 (display-buffer-alist, display-buffer-default-specifiers):
9110 Don't make new frame unsplittable by default.
9111 (display-buffer-normalize-argument): Fix doc-string typo and use
9112 'same-frame-other-window instead of 'other-window when associating
9113 with display-buffer-macro-specifiers.
9115 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9117 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9119 (5x5-mode-map, 5x5-mode-menu): Bind them.
9120 (5x5-draw-grid): Tweak the solver's rendering.
9122 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9125 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9127 2011-06-21 Drew Adams <drew.adams@oracle.com>
9129 * menu-bar.el: Use function variable instead of switch-to-buffer.
9130 (menu-bar-select-buffer-function): New variable.
9131 (menu-bar-update-buffers): Use it (bug#8876).
9133 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9135 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9138 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9140 * x-dnd.el (x-dnd-version-from-flags)
9141 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9142 and long as number (Bug#8899).
9143 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9145 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9147 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9148 (completion-try-completion, completion-all-completions): Compute the
9149 metadata argument if it's missing; make it optional (bug#8795).
9151 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9152 (widget-complete): Use new :completion-function property.
9153 (widget-completions-at-point): New function.
9154 (default): Use :completion-function instead of :complete.
9155 (widget-default-completions): Rename from widget-default-complete;
9157 (widget-string-complete, widget-file-complete, widget-color-complete):
9159 (file, symbol, function, variable, coding-system, color):
9160 * international/mule-cmds.el (default-input-method, charset)
9161 (language-info-custom-alist):
9162 * cus-edit.el (face): Use new property :completions.
9164 * progmodes/pascal.el (pascal-completions-at-point): New function.
9165 (pascal-mode): Use it.
9166 (pascal-mode-map): Use completion-at-point.
9167 (pascal-toggle-completions): Make obsolete.
9168 (pascal-complete-word, pascal-show-completions):
9169 * progmodes/octave-mod.el (octave-complete-symbol):
9170 Redefine as obsolete alias.
9171 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9172 Signal absence of completion info for old Octave,
9173 (inferior-octave-complete): Redefine as obsolete alias.
9174 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9175 (meta-completions-at-point): Rename from meta-complete-symbol and
9176 adapt it for use on completion-at-point-functions.
9177 (meta-common-mode): Use it.
9178 (meta-looking-at-backward, meta-match-buffer): Remove.
9179 (meta-complete-symbol): Redefine as obsolete alias.
9180 (meta-common-mode-map): Use completion-at-point.
9181 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9182 (makefile-mode-map): Use completion-at-point.
9183 (makefile-completions-at-point): Rename from makefile-complete and
9184 adapt it for use on completion-at-point-functions.
9185 (makefile-mode): Use it.
9186 (makefile-complete): Redefine as obsolete alias.
9188 2011-06-20 Deniz Dogan <deniz@dogan.se>
9190 * net/rcirc.el: Delete trailing whitespaces once and for all.
9192 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9194 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9196 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9198 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9200 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9202 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9204 * window.el (display-buffer-other-window-means-other-frame):
9205 Call display-buffer-normalize-alist.
9206 (display-buffer-normalize-specifiers-1): Rename to
9207 display-buffer-normalize-argument. New argument other-frame.
9209 (display-buffer-normalize-specifiers-2): Rename to
9210 display-buffer-normalize-options.
9211 (display-buffer-normalize-alist-1): New function.
9212 (display-buffer-normalize-specifiers-3): Rename to
9213 display-buffer-normalize-alist.
9214 Call display-buffer-normalize-alist-1.
9215 (display-buffer-normalize-options-inhibit): New variable.
9216 (display-buffer-normalize-specifiers): Rewrite calling
9217 display-buffer-normalize-alist,
9218 display-buffer-normalize-argument, and
9219 display-buffer-normalize-options. Don't call the latter if
9220 display-buffer-normalize-options-inhibit is non-nil.
9221 (frame-auto-delete): New option.
9222 (window-deletable-p): Use frame-auto-delete.
9223 (window-list-no-nils, window-state-ignored-parameters)
9224 (window-state-get-1, window-state-get, window-state-put-list)
9225 (window-state-put-1, window-state-put-2, window-state-put):
9227 (display-buffer-normalize-options): Move special-display-p group
9228 after pop-up-frame group (Bug#8851) and (Bug#8856).
9230 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9232 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9234 (rx-submatch-n): New function.
9237 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9240 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9242 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9244 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9245 anytime existing face settings are present (Bug#8889).
9247 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9248 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9249 Remove unused argument.
9251 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9253 * window.el (display-buffer-default-specifiers):
9254 Remove pop-up-frame. Add pop-up-window-min-height,
9255 pop-up-window-min-width, and another reuse-window specifier
9256 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9257 (display-buffer-normalize-specifiers-2):
9258 Handle split-height-threshold and split-width-threshold also when
9259 pop-up-windows is unset. Add a reuse-window specifier for the
9260 case popping up a new window fails.
9261 (special-display-popup-frame): Remove double quoting.
9262 (display-buffer-normalize-specifiers-1): Fix thinko.
9264 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9266 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9267 according to comint-completion-addsuffix.
9269 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9270 (pcomplete-suffix-list): Mark as obsolete.
9271 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9272 pcomplete-seen in the closure.
9273 (pcomplete-comint-setup): Setup completion-at-point as well.
9274 (pcomplete--entries): New function.
9275 (pcomplete--env-regexp): New var.
9276 (pcomplete-entries): Rewrite to work with partial-completion and
9277 without relying on pcomplete-suffix-list.
9278 (pcomplete-pare-list): Remove, unused.
9280 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9282 * window.el (display-buffer-alist): Set pop-up-window-min-height
9283 and pop-up-window-min-width in default value. Reported by
9284 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9285 other-window-means-other-frame.
9286 (display-buffer-macro-specifiers): Comment out entry for
9287 other-window specifier.
9288 (display-buffer-other-window-means-other-frame): New function.
9289 (display-buffer-normalize-specifiers-1): New arguments
9290 buffer-name and label. Treat other-window case specially.
9291 (display-buffer-normalize-specifiers-2): Treat other-window case
9293 (display-buffer-normalize-specifiers-3): New function.
9294 (display-buffer-normalize-specifiers):
9295 Call display-buffer-normalize-specifiers-3.
9297 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9299 * window.el (same-window-p): Fix two typos introduced when
9300 adding with-no-warnings.
9301 (display-buffer-normalize-specifiers-1): Don't check
9302 pop-up-frames for 'unset initialization.
9303 (display-buffer-normalize-specifiers-2): Major rewrite using
9304 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9305 (pop-up-frames, display-buffer-reuse-frames)
9306 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9307 Suggested by David Engster <deng@randomsample.de>.
9308 (even-window-heights): Initialize to 'unset.
9309 (display-buffer-alist-set): Handle new 'unset initializations.
9310 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9313 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9315 * window.el (display-buffer-normalize-specifiers-1):
9316 Respect current value of pop-up-frames for most reasonable values of
9317 second argument of display-buffer (Bug#8865).
9318 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9319 (switch-to-buffer-other-window-same-frame)
9320 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9322 (display-buffer): Don't check noninteractive when calling
9323 display-buffer-pop-up-frame.
9324 (display-buffer-pop-up-frame): Never pop up a frame in
9325 noninteractive mode (Bug#8857).
9326 (enlarge-window, shrink-window): Don't report an error when the
9327 window can't be resized as requested (Bug#8862).
9329 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9333 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9335 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9337 2011-06-15 Alan Mackenzie <acm@muc.de>
9339 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9340 for declarators, disable knr checking to speed up for normal files.
9341 2: Refactor, replacing a sequence of nested if forms by a cond form.
9343 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9345 * net/network-stream.el (open-network-stream): Add the keyword
9346 :always-query-capabilities for the case where you want to force a
9347 `plain' network connection, but the protocol still requires the
9348 capabilitiy command (i.e., SMTP and EHLO).
9350 * subr.el (process-live-p): Rename from `process-alive-p' for
9351 consistency with other `-live-p' functions.
9353 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * window.el (same-window-buffer-names, same-window-regexps)
9356 (special-display-frame-alist, special-display-popup-frame)
9357 (special-display-function, special-display-buffer-names)
9358 (special-display-regexps, pop-up-frame-alist)
9359 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9360 (pop-up-windows, split-window-preferred-function)
9361 (split-height-threshold, split-width-threshold, even-window-heights)
9362 (display-buffer-mark-dedicated): Don't encourage the use of
9363 display-buffer-alist from Elisp code.
9365 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9367 * progmodes/python.el (python-mode): Derive from prog-mode.
9368 * progmodes/ps-mode.el (ps-mode):
9369 * progmodes/mixal-mode.el (mixal-mode):
9370 * progmodes/cfengine.el (cfengine-mode):
9371 * progmodes/ld-script.el (ld-script-mode): Likewise.
9373 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9375 * window.el (display-buffer-alist): Trim default value to avoid
9376 popping up a new frame (Bug#8857) or reusing an arbitrary window
9378 (display-buffer): Do not fall back on popping up a new frame in
9379 batch mode (Bug#8857).
9381 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9383 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9384 (custom-theme-summary): New function.
9385 (customize-themes): Use it.
9387 2011-06-13 Glenn Morris <rgm@gnu.org>
9389 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9391 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9393 * help.el (help-window): Remove variable.
9394 (help-window-point-marker, temp-buffer-max-height)
9395 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9396 (help-print-return-message): Don't set help-window.
9397 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9398 (help-window-setup-finish): Remove.
9399 (help-window-display-message, help-window-setup)
9400 (with-help-window): Major rewrite based on new
9401 display-buffer-window variable.
9403 * help-mode.el (help-mode-finish): Remove help-window related
9406 * view.el (view-exits-all-viewing-windows): Remove reference to
9407 view-return-to-alist in doc-string.
9408 (view-return-to-alist): Make obsolete.
9409 (view-buffer): Call pop-to-buffer-same-window and remove
9411 (view-buffer-other-window): Call pop-to-buffer-other-window and
9412 simplify code. Ignore second argument.
9413 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9414 simplify code. Ignore second argument.
9415 (view-return-to-alist-update): Make obsolete.
9416 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9417 Rewrite using quit-restore window parameters.
9418 (view-mode-exit): Rename second argument to EXIT-ONLY.
9419 Rewrite using quit-restore-window.
9420 (View-exit, View-exit-and-edit, View-leave, View-quit)
9421 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9422 appropriate arguments.
9423 (view-end-message): Use quit-restore window parameter.
9425 * window.el (display-buffer-function): Rewrite doc-string.
9426 (display-buffer-window, display-buffer-alist): New variables.
9427 (display-buffer-split-specifiers)
9428 (display-buffer-side-specifiers)
9429 (display-buffer-macro-specifiers): New constants.
9430 (display-buffer-even-window-sizes, display-buffer-set-height)
9431 (display-buffer-set-width, display-buffer-select-window)
9432 (display-buffer-in-window, display-buffer-reuse-window)
9433 (display-buffer-split-window-1, display-buffer-split-window)
9434 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9435 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9436 (display-buffer-in-side-window, normalize-buffer-to-display)
9437 (display-buffer-normalize-specifiers-1)
9438 (display-buffer-normalize-specifiers-2)
9439 (display-buffer-normalize-specifiers, display-buffer-frame):
9441 (display-buffer): Major rewrite.
9442 (display-buffer-other-window, display-buffer-other-frame)
9443 (pop-to-buffer, switch-to-buffer-other-window)
9444 (switch-to-buffer-other-frame): Rewrite.
9445 (display-buffer-same-window, display-buffer-same-frame)
9446 (display-buffer-same-frame-other-window)
9447 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9448 (pop-to-buffer-other-window)
9449 (pop-to-buffer-same-frame-other-window)
9450 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9451 (switch-to-buffer-other-window-same-frame): New functions.
9452 (same-window-p, special-display-p): Rewrite disabling warnings.
9454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9455 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9457 (same-window-buffer-names, same-window-regexps)
9458 (special-display-frame-alist, special-display-popup-frame)
9459 (special-display-function, special-display-buffer-names)
9460 (special-display-regexps, pop-up-frame-alist)
9461 (pop-up-frame-function, split-window-preferred-function)
9462 (split-height-threshold, split-width-threshold)
9463 (even-window-heights): Make obsolete.
9465 2011-06-12 Glenn Morris <rgm@gnu.org>
9467 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9468 Misc simplifications.
9470 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9472 * window.el (window-safely-shrinkable-p): Restore function which
9473 was inadvertently removed in change from 2011-06-11. Declare as
9476 * calendar/calendar.el (calendar-generate-window):
9477 Use window-iso-combined-p instead of combination of one-window-p and
9478 window-safely-shrinkable-p.
9480 2011-06-12 Glenn Morris <rgm@gnu.org>
9482 * progmodes/fortran.el (fortran-mode-syntax-table):
9483 * progmodes/f90.el (f90-mode-syntax-table):
9484 Set % to punctuation. (Bug#8820)
9485 (f90-find-tag-default): Remove, no longer needed.
9487 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9489 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9491 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9493 * image.el (image-animated-p): Return animation delay in seconds.
9494 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9495 (image-animate-timeout): Remove DELAY argument. Don't assume
9496 every subimage has the same delay; get it from image-animated-p.
9497 (image-animate): Caller changed.
9499 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9501 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9502 to ignored backtrace functions.
9504 2011-06-11 Glenn Morris <rgm@gnu.org>
9506 * calendar/appt.el (appt-disp-window-function): Doc fix.
9507 (appt-check): Handle overlapping appointments. (Bug#8337)
9509 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9511 * window.el (window-tree-1, window-tree): New functions, moving
9512 the latter to window.el.
9513 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9514 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9515 (bw-refresh-edges): Remove.
9516 (balance-windows-1, balance-windows-2): New functions.
9517 (balance-windows): Rewrite in terms of window tree functions,
9518 balance-windows-1 and balance-windows-2.
9519 (bw-adjust-window): Remove.
9520 (balance-windows-area-adjust): New function with functionality of
9521 bw-adjust-window but using resize-window.
9522 (set-window-text-height): Rewrite doc-string.
9523 Use normalize-live-window and resize-window.
9524 (enlarge-window-horizontally, shrink-window-horizontally):
9525 Rename argument to DELTA.
9526 (window-buffer-height): New function.
9527 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9528 Rewrite using new window resize routines.
9529 (kill-buffer-and-window, mouse-autoselect-window-select):
9530 Use ignore-errors instead of condition-case.
9531 (quit-window): Call delete-frame instead of delete-windows-on
9532 for the only buffer on frame.
9534 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9536 * loadup.el (top-level): Load window before files for the sake
9537 of replace-buffer-in-windows.
9539 * files.el (read-buffer-to-switch)
9540 (switch-to-buffer-other-window)
9541 (switch-to-buffer-other-frame, display-buffer-other-frame):
9544 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9545 (previous-buffer): Move to window.el.
9547 * bindings.el (unbury-buffer): Move to window.el.
9549 * window.el (delete-other-windows-vertically): Move after
9550 definition of delete-other-windows.
9551 (other-window, delete-windows-on, replace-buffer-in-windows):
9552 Move here from window.c.
9553 (record-window-buffer, unrecord-window-buffer)
9554 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9555 (switch-to-next-buffer): New functions.
9556 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9557 from simple.el. Call switch-to-next-buffer.
9558 (previous-buffer): Move here from simple.el.
9559 Call switch-to-prev-buffer.
9560 (bury-buffer): Move here from buffer.c. Switch to previous
9561 buffer when window cannot be deleted.
9562 (unbury-buffer): Move here from bindings.el.
9563 (ctl-x-map): Move binding for other-window from window.c to
9565 (read-buffer-to-switch, switch-to-buffer-other-window)
9566 (switch-to-buffer-other-frame): Move here from files.el.
9567 (normalize-buffer-to-switch-to): New functions.
9568 (switch-to-buffer): Move here from buffer.c.
9569 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9571 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9573 * window.el (window-min-height, window-min-width): Move here
9574 from window.c. Add defcustoms and rewrite doc-strings.
9575 (resize-mini-window, resize-window): New functions.
9576 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9577 Move here from window.c.
9578 (maximize-window, minimize-window): New functions.
9579 (delete-window, delete-other-windows, split-window): Move here
9581 (window-split-min-size): New function.
9582 (split-window-keep-point): Mention split-window-above-each-other
9583 instead of split-window-vertically.
9584 (split-window-above-each-other, split-window-vertically):
9585 Rename split-window-vertically to split-window-above-each-other
9586 and provide defalias for old definition.
9587 (split-window-side-by-side, split-window-horizontally):
9588 Rename split-window-horizontally to split-window-side-by-side
9589 and provide defalias for the old definition.
9590 (ctl-x-map): Move bindings for delete-window,
9591 delete-other-windows and enlarge-window here from window.c.
9592 Replace bindings for split-window-vertically and
9593 split-window-horizontally by bindings for
9594 split-window-above-each-other and split-window-side-by-side.
9596 * cus-start.el (all): Remove entries for window-min-height and
9597 window-min-width. Add entries for window-splits and
9600 2011-06-09 Glenn Morris <rgm@gnu.org>
9602 * calendar/appt.el (appt-mode-line): New function.
9603 (appt-check, appt-disp-window): Use it.
9605 * files.el (hack-one-local-variable-eval-safep):
9606 Allow minor-modes with explicit +/-1 arguments.
9608 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9610 * term/xterm.el (xterm): Add defgroup.
9611 (xterm-extra-capabilities): Add defcustom to supply known xterm
9612 capabilities, skip querying them, or query them (default).
9613 (terminal-init-xterm): Use it.
9614 (terminal-init-xterm-modify-other-keys): New function to set up
9615 modifyOtherKeys support to simplify `terminal-init-xterm'.
9617 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9619 * window.el (resize-window-reset, resize-window-reset-1)
9620 (resize-subwindows-skip-p, resize-subwindows-normal)
9621 (resize-subwindows, resize-other-windows, resize-this-window)
9622 (resize-root-window, resize-root-window-vertically)
9623 (window-deletable-p, window-or-subwindow-p)
9624 (frame-root-window-p): New functions.
9626 2011-06-09 Glenn Morris <rgm@gnu.org>
9628 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9629 (ange-ftp-get-files): Use it.
9631 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9633 * mail/sendmail.el (mail-recover-1, mail-recover):
9634 * files.el (recover-file, recover-session):
9635 Handle dired-listing-switches not being just a single short option.
9637 2011-06-09 Glenn Morris <rgm@gnu.org>
9639 * calendar/appt.el (appt-display-message, appt-disp-window):
9640 Handle lists of appointments.
9642 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9644 * window.el (one-window-p): Move down in code.
9646 (window-current-scroll-bars): Rewrite doc-string.
9647 Normalize live window argument.
9648 (walk-windows, get-window-with-predicate, count-windows):
9649 Rewrite doc-string. Use window-list-1.
9650 (window-in-direction-2, window-in-direction, get-mru-window):
9653 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9655 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9658 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9660 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9662 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9664 * loadhist.el (unload-feature-special-hooks):
9665 Add `comint-output-filter-functions'.
9667 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9669 * calendar/appt.el (appt-check): Move some initializations into the let.
9671 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9673 * window.el (window-height): Defalias to window-total-height.
9674 (window-width): Defalias to window-body-width.
9676 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9678 * image-mode.el (image-toggle-animation): New command.
9679 (image-mode-map): Bind it to RET.
9680 (image-mode): Update message.
9681 (image-toggle-display-image): Avoid a spurious cache flush.
9682 (image-transform-rotation): Doc fix.
9683 (image-transform-properties): Return quickly in the normal case.
9684 (image-animate-loop): Rename from image-animate-max-time.
9686 * image.el (image-animate-max-time): Move to image-mode.el.
9687 (create-animated-image): Remove unnecessary function.
9688 (image-animate): Rename from image-animate-start. New arg.
9689 (image-animate-stop): Remove; just use image-animate-timer.
9690 (image-animate-timer): Use car-safe.
9691 (image-animate-timeout): Rename argument.
9693 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9695 * window.el (get-lru-window, get-largest-window): Move here from
9696 window.c. Rename first argument to ALL-FRAMES.
9697 Rephrase doc-strings.
9698 (get-buffer-window-list): Rewrite using window-list-1.
9699 Rephrase doc-string.
9700 (window-safe-min-height, window-safe-min-width): New constants.
9701 (window-size-ignore, window-min-size, window-min-size-1)
9702 (window-sizable, window-sizable-p, window-size-fixed-1)
9703 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9704 (window-max-delta-1, window-max-delta, window-resizable)
9705 (window-resizable-p, window-total-height, window-total-width)
9706 (window-body-width): New functions.
9707 (window-full-height-p, window-full-width-p): Rewrite using
9709 (window-body-height): Rewrite using window-body-size.
9711 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9713 * window.el (window-right, window-left, window-child)
9714 (window-child-count, window-last-child, window-any-p)
9715 (normalize-live-buffer, normalize-live-frame)
9716 (normalize-any-window, normalize-live-window)
9717 (window-iso-combination-p, window-iso-combined-p)
9718 (window-iso-combinations)
9719 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9720 (windows-with-parameter, window-with-parameter)
9721 (window-atom-root, make-window-atom, window-atom-check-1)
9722 (window-atom-check, window-side-check, window-check):
9724 (ignore-window-parameters, window-sides, window-sides-vertical)
9725 (window-sides-slots): New variables.
9726 (window-size-fixed): Move down in code. Minor doc-string fix.
9728 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9730 * comint.el (comint-dynamic-complete-as-filename)
9731 (comint-dynamic-complete-filename): Correctly call
9732 completion-in-region.
9734 2011-06-05 Deniz Dogan <deniz@dogan.se>
9736 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9739 2011-06-05 Deniz Dogan <deniz@dogan.se>
9741 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9742 (rcirc): Use it to prompt for encryption.
9744 2011-06-05 Roland Winkler <winkler@gnu.org>
9746 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9747 (bibtex-search-entries): New command bound to C-c C-a.
9748 (bibtex-display-entries): New function.
9750 2011-06-05 Roland Winkler <winkler@gnu.org>
9752 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9753 (bibtex-insert-kill): After yanking insert newline if necessary.
9754 (bibtex-initialize): Call bibtex-string-files-init only once.
9755 (bibtex-mode): Do not call easy-menu-add.
9756 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9757 (bibtex-yank): Set arg properly if nil.
9759 2011-06-05 Roland Winkler <winkler@gnu.org>
9761 * textmodes/bibtex.el (bibtex-search-entry-globally):
9763 (bibtex-search-entry): Use it.
9765 2011-06-05 Roland Winkler <winkler@gnu.org>
9767 * textmodes/bibtex.el (bibtex-entry-format): New option
9769 (bibtex-format-entry, bibtex-reformat): Honor this option.
9770 (bibtex-parse-entry): Return fields in proper order.
9772 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9774 * doc-view.el (doc-view-remove-if): Move computation of result out
9775 of `dolist' to silence misleading lexical-binding warning.
9777 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9779 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9780 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9782 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9784 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9787 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9789 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9790 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9791 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9792 (tramp-parse-putty):
9793 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9794 (tramp-completion-function-alist-ssh)
9795 (tramp-completion-function-alist-telnet)
9796 (tramp-completion-function-alist-su)
9797 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9802 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9803 load "tramp.el" `tramp-set-completion-function'.
9805 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * shell.el: Require and use pcomplete.
9808 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9809 (shell-completion-vars): Set pcomplete-default-completion-function.
9811 2011-06-04 Deniz Dogan <deniz@dogan.se>
9813 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9816 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9820 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9822 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9823 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9824 * vc/log-view.el (log-view-beginning-of-defun):
9825 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9826 (smerge-refine-forward, smerge-refine-chopup-region):
9827 Silence warning for unused `dotimes' counter variables.
9829 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * net/tramp.el (tramp-with-progress-reporter): Rename from
9832 with-progress-reporter. Use `declare'.
9835 * net/tramp-gvfs.el: Update all uses.
9837 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9839 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9840 buffer isn't killed before making it current.
9842 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9844 Silence various byte-compiler warnings.
9845 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9846 `access-type' and new obsolescence format.
9847 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9849 (byte-compile-check-variable): New `access-type' argument.
9850 Only warn if the access-type is obsolete.
9851 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9852 (byte-compile-variable-set): Adjust callers.
9853 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9854 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9855 setting it as obsolete.
9856 * simple.el (minibuffer-completing-symbol):
9857 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9859 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9861 * international/quail.el (quail-mouse-choose-completion): Remove unused
9862 code referring to obsolete var.
9863 (quail-choose-completion-string): Remove.
9864 * server.el (server-clients-with, server-kill-buffer-query-function)
9865 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9866 * proced.el (proced-send-signal):
9867 * emacs-lisp/lisp.el (lisp-complete-symbol):
9868 Replace completion-annotate-function with completion-extra-properties.
9870 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * simple.el (goto-line): Use read-number.
9873 (overriding-map-is-bound): Remove.
9874 (saved-overriding-map): Change default.
9875 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9876 Take the map as argument.
9877 (universal-argument, negative-argument, digit-argument): Use it.
9878 (restore-overriding-map): Adjust.
9879 (do-auto-fill): Use fill-forward-paragraph.
9880 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9882 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9883 (minibuffer-inactive-mode): New major mode.
9884 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9885 the *Messages* buffer" hack.
9886 (mouse-popup-menubar): Don't burp if the event is a normal key.
9888 Miscellaneous tweaks.
9889 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9890 lexical scoping as in subr.el's dolist and dotimes.
9891 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9892 Silence compiler warning.
9893 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9894 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9895 * international/ccl.el (ccl-compile): Trivial simplification.
9896 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9897 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9898 `printflag' argument.
9899 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9900 Purecopy the whole obsolescence data.
9902 2011-06-01 Leo Liu <sdl.web@gmail.com>
9904 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9905 improve doc-string as suggested by Marco Pessotto
9906 <melmothx@gmail.com>.
9907 (rcirc-print): Fix last change.
9909 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * minibuffer.el (complete-with-action): Return nil for the metadata and
9912 boundaries of non-functional tables.
9913 (completion-table-dynamic): Return nil for the metadata.
9914 (completion-table-with-terminator): Add default case, using
9915 complete-with-action.
9916 (completion--metadata): New function.
9917 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9918 to try and avoid pathological performance problems.
9919 (completion--embedded-envvar-table): Return `category' metadata.
9921 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9923 * subr.el (process-alive-p): New tiny convenience function.
9925 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9928 content but also its previous major mode.
9930 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9932 * emacs-lisp/debug.el (debug): Restore the previous content of the
9933 *Backtrace* buffer when we exit with C-M-c.
9935 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9937 * minibuffer.el: Add metadata method to completion tables.
9938 (completion-category-overrides): New defcustom.
9939 (completion-metadata, completion--field-metadata)
9940 (completion-metadata-get, completion--styles)
9941 (completion--cycle-threshold): New functions.
9942 (completion-try-completion, completion-all-completions):
9943 Add `metadata' argument to choose completion-styles.
9944 (completion--do-completion): Use metadata to choose cycling.
9945 (completion-all-sorted-completions): Use metadata for sorting.
9946 Remove :completion-cycle-penalty which is not needed any more.
9947 (completion--try-word-completion): Add `metadata' argument.
9948 (minibuffer-completion-help): Check metadata for annotation function
9950 (completion-file-name-table): Return `category' metadata.
9951 (minibuffer-completing-file-name): Make obsolete.
9952 * simple.el (minibuffer-completing-symbol): Make obsolete.
9953 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9954 completion-try-completion.
9956 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9960 2011-05-30 Leo Liu <sdl.web@gmail.com>
9962 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9963 (rcirc-print): Decode all incoming messages (bug#8744).
9964 (rcirc-decode-coding-system): Allow value nil for automatic coding
9967 2011-06-01 Glenn Morris <rgm@gnu.org>
9969 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9971 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9973 * image.el (image-animate-max-time): Allow nil and t values.
9975 (create-animated-image): Doc fix.
9976 (image-animate-start): Remove second arg; just use
9977 image-animate-max-time.
9978 (image-animate-timeout): Doc fix. Args changed.
9980 * image-mode.el (image-toggle-display-image): Ensure that the
9981 image spec passed to the animate timer is the same object as in
9982 the buffer's display property (Bug#6981).
9983 (image-transform-properties): Doc fix.
9985 * image.el (image-animate-max-time): Default to nil.
9987 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9989 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9990 entire buffer list (Bug#8184).
9992 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9994 * image.el (imagemagick-types-inhibit)
9995 (imagemagick-register-types): Doc fix.
9997 2011-05-29 Deniz Dogan <deniz@dogan.se>
9999 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10002 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10004 * select.el: Don't perform clipboard-manager saving in hooks;
10005 leave the hooks empty.
10007 2011-05-28 Leo Liu <sdl.web@gmail.com>
10009 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10010 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10011 (occur-edit-mode): New major mode (Bug#8463).
10012 (occur-after-change-function): New function.
10013 (occur-engine): Give Occur tags a read-only property.
10015 2011-05-28 Kevin Ryde <user42@zip.com.au>
10017 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10019 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10021 * bindings.el (help-echo): Make the initial non-indicator dash
10022 empty on graphical terminals (Bug#7295).
10024 * files.el (auto-mode-alist): Move config rule after the
10025 in-stripping one (Bug#8547).
10027 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10029 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10030 setting (Bug#8740).
10032 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10034 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10035 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10038 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10040 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10042 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10044 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10045 (hs-hide-block-at-point, hs-find-block-beginning)
10046 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10049 2011-05-28 Glenn Morris <rgm@gnu.org>
10051 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10053 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10055 * help-fns.el (describe-function-1): If the function is a derived
10056 major mode, print the parent mode.
10058 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10059 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10061 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * minibuffer.el (completion--capf-wrapper): Check applicability before
10064 returning non-nil for non-exclusive completion data.
10065 * progmodes/etags.el (tags-completion-at-point-function):
10066 * info-look.el (info-lookup-completions-at-point): Mark as
10068 (info-complete): Adjust accordingly.
10070 * info-look.el: Convert to lexical-binding and completion-at-point.
10071 (info-lookup-completions-at-point): New function.
10072 (info-complete): Use it and completion-in-region.
10074 2011-05-28 Drew Adams <drew.adams@oracle.com>
10076 * isearch.el: Let M-e start with point at the first mismatched char.
10077 (isearch-fail-pos): New function.
10078 (isearch-edit-string): Use it.
10080 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10082 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10084 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10086 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10087 traversal functions for avl-trees.
10088 (avl-tree--stack): New struct.
10089 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10090 (avl-tree-enter): Add optional `updatefun' arg.
10091 (avl-tree--do-enter): Add optional `updatefun' arg.
10092 Change return value.
10093 (avl-tree-delete): Add optional `test' and `nilflag' args.
10094 (avl-tree--do-delete): Add `test' and `nilflag' args.
10095 Change return value.
10096 (avl-tree-member): Add optional `nilflag'
10097 (avl-tree-member-p): New function.
10098 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10099 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10100 (avl-tree-stack-empty-p): New functions.
10102 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10103 avl-tree--del-balance1 and make it work both ways.
10104 (avl-tree--del-balance2): Remove.
10105 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10106 make it work both ways.
10107 (avl-tree--enter-balance2): Remove.
10108 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10110 (avl-tree--mapc, avl-tree-map): Add direction argument.
10112 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10114 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10116 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10118 * select.el: Support clipboard managers with built-in function
10119 x-clipboard-manager-save, via delete-frame-functions and
10121 (xselect-convert-to-targets): Add MULTIPLE target to list.
10122 (xselect-convert-to-save-targets): New function.
10124 2011-05-27 Kenichi Handa <handa@m17n.org>
10126 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10127 let-binding rfc2047-encode-encoded-words to nil.
10129 2011-05-27 Glenn Morris <rgm@gnu.org>
10131 * mail/emacsbug.el: Don't require url-util.
10133 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10135 * files.el (set-auto-mode):
10136 Also respect mode: entries at the end of the file. (Bug#8586)
10138 2011-05-26 Glenn Morris <rgm@gnu.org>
10140 * files.el (hack-local-variables-prop-line, hack-local-variables):
10141 Downcase mode names, as seems to be traditional.
10142 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10144 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10145 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10147 2011-05-25 Julien Danjou <julien@danjou.info>
10149 * textmodes/rst.el (rst-define-level-faces): Do not define face
10150 symbol if it is already defined.
10152 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10154 * play/5x5.el (5x5-new-game, 5x5-randomize):
10155 Reset 5x5-solver-output to nil when a new grid is cast.
10156 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10157 these debugging traces, as defmacro breaks the compiled code.
10159 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10161 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10163 2011-05-24 Leo Liu <sdl.web@gmail.com>
10165 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10166 (vc-bzr-sha1): Adapt.
10168 * sha1.el: Remove. Function `sha1' is now builtin.
10170 * bindings.el: Provide sha1 feature.
10172 2011-05-24 Kenichi Handa <handa@m17n.org>
10174 * mail/sendmail.el: Require `rfc2047'.
10175 (mail-insert-from-field): Do not perform RFC2047 encoding.
10176 (mail-encode-header): New function.
10177 (sendmail-send-it): Set buffer-file-coding-system of the work
10178 buffer to the return value of select-message-coding-system.
10179 Call mail-encode-header.
10181 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10183 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10185 * mail/supercite.el (sc-default-cite-frame):
10186 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10188 2011-05-24 Glenn Morris <rgm@gnu.org>
10190 * progmodes/python.el (brm-menu): Declare.
10192 * emulation/viper.el (viper-set-hooks): Declare.
10194 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10195 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10196 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10197 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10198 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10199 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10201 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10203 Add an :exit-function for completion-at-point.
10205 * minibuffer.el (completion--done): New fun.
10206 (completion--do-completion): Use it. New arg `expect-exact'.
10207 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10208 since completion--do-completion does it for us now.
10209 (minibuffer-force-complete): Use completion--done and
10210 completion--replace. Handle sole-completion case with more care.
10211 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10212 (completion-extra-properties): New var.
10213 (completion-annotate-function): Make obsolete.
10214 (minibuffer-completion-help): Adjust accordingly.
10215 Use completion-list-insert-choice-function.
10216 (completion-at-point, completion-help-at-point):
10217 Bind completion-extra-properties.
10218 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10219 * simple.el (completion-list-insert-choice-function): New var.
10220 (completion-setup-function): Preserve it.
10221 (choose-completion): Pay attention to it, shuffle the code a bit.
10222 (choose-completion-string): New arg `insert-function'.
10224 * textmodes/bibtex.el: Convert to lexical binding.
10225 (bibtex-mode-map): Use completion-at-point.
10226 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10227 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10228 (bibtex-complete): Define as obsolete alias.
10229 (bibtex-complete-internal): Remove.
10230 (bibtex-format-entry): Remove unused sub-group in regexp.
10231 * shell.el (shell--command-completion-data)
10232 (shell-environment-variable-completion):
10233 * pcomplete.el (pcomplete-completions-at-point):
10234 * comint.el (comint--complete-file-name-data): Use :exit-function
10235 instead of completion-table-with-terminator so it also works for
10238 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10242 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10245 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10247 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10249 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10250 customization variable and implement: If non-nil, auto-fill will
10251 be inhibited while on topic's header line.
10253 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10255 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10256 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10257 always have a solution in grid size = 5 cases.
10258 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10259 (5x5-solver-output, 5x5-log-buffer): New vars.
10260 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10261 Make these variables buffer local to achieve 5x5 multi-session-ness.
10262 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10263 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10264 (5x5-solve-suggest): New funs.
10265 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10266 randomize a grid so that we ensure that there is always a solution.
10267 (5x5-make-random-grid): Allow other movement than flipping.
10269 2011-05-23 Kevin Ryde <user42@zip.com.au>
10271 * emacs-lisp/advice.el (ad-read-advised-function):
10272 Use `function-called-at-point' as the default, if it has
10273 advice and passes PREDICATE.
10275 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10278 byte-compile-lambda if it's actually a lambda.
10280 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10281 Fix function quoting. Use backquote better.
10283 2011-05-22 Yuanle Song <sylecn@gmail.com>
10285 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10286 matching (Bug#8516).
10288 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10290 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10291 different face (Bug#8178).
10293 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10295 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10296 defface (Bug#8144).
10298 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10300 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10301 funcall as well (bug#8712). Warn when performing those conversions.
10302 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10304 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10306 2011-05-22 Glenn Morris <rgm@gnu.org>
10308 * files.el (hack-local-variables-prop-line): Small simplifications.
10309 (hack-local-variables, hack-local-variables-prop-line):
10310 If MODE-ONLY, return the mode, rather than just `t'.
10312 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10316 2011-05-21 Glenn Morris <rgm@gnu.org>
10318 * files.el (hack-local-variables-prop-line, hack-local-variables):
10319 If only interested in the mode, don't bother doing the other stuff.
10321 * image-mode.el (image-after-revert-hook):
10322 Redraw all frames on which the image is visible. (Bug#8567)
10324 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10326 * wid-edit.el (widget-checklist-match-inline):
10327 Fix 2011-04-19 change. (Bug#8649)
10329 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10331 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10332 Also allow singlespace after single-letter capitals followed by a dot.
10334 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10335 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10337 2011-05-20 Nix <nix@esperi.org.uk>
10339 * files.el (basic-save-buffer-2):
10340 Fix handling of break-hardlink-on-save with non-existent files.
10342 2011-05-19 Deniz Dogan <deniz@dogan.se>
10344 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10345 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10347 2011-05-19 Glenn Morris <rgm@gnu.org>
10349 * progmodes/f90.el (f90-type-def-re):
10350 Handle "type, bind(c)". (Bug#8691)
10352 * emacs-lisp/autoload.el (batch-update-autoloads):
10353 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10355 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10357 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10358 property for the correct connection in case of multihops.
10360 2011-05-18 Glenn Morris <rgm@gnu.org>
10362 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10363 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10365 Rationalize calendar handling of day and month abbrev-arrays.
10366 * calendar/calendar.el (calendar-customized-p): New function.
10367 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10368 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10370 (calendar-abbrev-length, calendar-day-abbrev-array)
10371 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10372 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10373 Elements may no longer be nil.
10374 (calendar-day-name, calendar-month-name):
10375 Update for changed nature of abbrev arrays.
10376 * calendar/diary-lib.el (diary-name-pattern):
10377 Update for changed nature of abbrev arrays.
10378 (diary-mark-entries-1): Update calendar-make-alist calls.
10379 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10380 * calendar/cal-html.el (cal-html-day-abbrev-array):
10381 Simply inherit from calendar-day-abbrev-array.
10383 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * progmodes/grep.el (grep-mode): Disable default
10386 compilation-directory-matcher setting (bug#8684).
10388 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10390 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10391 instead of "head" and "tail". There were problems with SunOS 5.9,
10392 and it performs better.
10394 2011-05-17 Glenn Morris <rgm@gnu.org>
10396 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10398 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10399 Replace obsolete function.
10401 * shell.el (pcomplete-parse-arguments-function): Declare.
10403 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10404 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10405 (appt-check): Doc fixes.
10406 (appt-disp-window-function, appt-delete-window-function):
10407 Remove needless special case in custom :type.
10408 (appt-display-count): Default to 0, not nil.
10409 (appt-check): Reset appt-display-count to 0, not nil.
10411 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10413 * progmodes/python.el (python-font-lock-keywords):
10414 Add the Python 3.X keyword "nonlocal" (bug#8639).
10416 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10420 2011-05-16 Kevin Ryde <user42@zip.com.au>
10422 * info-look.el (makefile-automake-mode): New setups, looking in
10423 automake manual, then makefile-mode.
10424 (makefile-mode): Remove automake manual, have it just in
10425 makefile-automake-mode since there's various things different or
10426 not relevant to plain make.
10427 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10428 believe a hypothetical automake-mode would go to makefile-mode,
10429 not the other way around.
10431 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10433 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10434 hunk-end tags (Bug#8672).
10436 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10437 vc-annotate-show-diff-revision-at-line (Bug#8671).
10439 2011-05-14 Glenn Morris <rgm@gnu.org>
10441 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10442 in the middle of an existing one with multiple authors. (Bug#8645)
10443 (change-log-font-lock-keywords): Also handle multiple author lines
10444 with leading tabs. (Bug#8644)
10446 * calendar/appt.el (appt-check): Rename some local variables.
10447 Some simplification/reordering.
10449 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10450 (feedmail-sendmail-f-doesnt-sell-me-out)
10451 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10452 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10453 (feedmail-queue-runner-message-sender): Set :version.
10454 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10455 (bbdb-dwim-net-address, vm-mail): Declare.
10456 (feedmail-binmail-gnulinuxish-template):
10457 Rename from feedmail-binmail-linuxish-template.
10458 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10459 Use insert-buffer-substring.
10461 2011-05-14 Bill Carpenter <bill@carpenter.org>
10463 * mail/feedmail.el (feedmail-patch-level): Increase.
10464 (feedmail-debug): New custom group.
10465 (feedmail-confirm-outgoing-timeout)
10466 (feedmail-sendmail-f-doesnt-sell-me-out)
10467 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10468 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10469 (feedmail-sender-line, feedmail-from-line)
10470 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10471 (feedmail-spray-this-address)
10472 (feedmail-spray-address-fiddle-plex-list)
10473 (feedmail-queue-use-send-time-for-date)
10474 (feedmail-queue-use-send-time-for-message-id)
10475 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10476 (feedmail-buffer-eating-function):
10478 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10479 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10480 (feedmail-message-action-scroll-down): New functions.
10481 (feedmail-queue-directory, feedmail-queue-draft-directory):
10482 Use expand-file-name.
10483 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10484 Remove C-v help entry.
10485 (feedmail-queue-buffer-file-name): New variable.
10486 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10487 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10488 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10489 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10490 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10491 (feedmail-message-action-toggle-spray)
10492 (feedmail-run-the-queue-no-prompts)
10493 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10494 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10495 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10496 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10497 (feedmail-envelope-deducer, feedmail-fiddle-from)
10498 (feedmail-fiddle-sender, feedmail-default-date-generator)
10499 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10500 (feedmail-fiddle-spray-address)
10501 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10502 (feedmail-fiddle-list-of-fiddle-plexes)
10503 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10504 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10505 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10506 Change default. Doc fix.
10507 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10508 (feedmail-binmail-linuxish-template): New constant.
10509 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10510 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10511 (feedmail-send-it): Add debug call.
10512 Use feedmail-queue-buffer-file-name, and
10513 feedmail-send-it-immediately-wrapper.
10514 (feedmail-message-action-send): Add debug call.
10515 Use feedmail-send-it-immediately-wrapper.
10516 (feedmail-queue-express-to-queue): Add debug call.
10517 Run feedmail-queue-express-hook.
10518 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10519 (feedmail-message-action-help-blat):
10520 Rename from feedmail-queue-send-edit-prompt-help-first.
10521 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10522 Check line-endings. Handle errors better.
10523 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10524 Doc fix. Add debug call.
10525 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10526 Use feedmail-queue-send-edit-prompt-inner.
10527 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10528 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10529 from feedmail-queue-send-edit-prompt.
10530 (feedmail-queue-send-edit-prompt-help)
10531 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10532 (feedmail-tidy-up-slug): Add debug call.
10533 Respect feedmail-queue-slug-suspect-regexp.
10534 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10535 (feedmail-dump-message-to-queue): Add debug call.
10536 Expand queue-directory.
10537 (feedmail-dump-message-to-queue): Change message slightly.
10538 Use feedmail-say-chatter.
10539 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10540 (feedmail-send-it-immediately-wrapper): New function.
10541 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10542 Insert empty string rather than newline. Handle full-frame case.
10543 Use catch/throw. Use feedmail-say-chatter.
10544 (feedmail-fiddle-from): Try mail-host-address.
10545 (feedmail-default-message-id-generator): Doc fix.
10546 Bind system-time-locale. Handle missing end.
10547 (feedmail-fiddle-x-mailer): Add debug call.
10548 Handle feedmail-x-mailer-line being nil.
10549 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10550 Add debug call. Use buffer-substring-no-properties.
10551 (feedmail-say-debug, feedmail-say-chatter): New functions.
10552 (feedmail-find-eoh): Give an explicit error.
10554 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10556 * net/newst-treeview.el (newsticker-treeview-face): Change default
10557 family from helvetica to sans.
10558 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10559 etc/images/newsticker.
10561 * net/newst-reader.el (newsticker-feed-face): Change default
10562 family from helvetica to sans.
10564 * net/newst-plainview.el (newsticker-new-item-face)
10565 (newsticker-old-item-face, newsticker-immortal-item-face)
10566 (newsticker-obsolete-item-face, newsticker-date-face)
10567 (newsticker-statistics-face): Change default family from
10569 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10570 etc/images/newsticker.
10572 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10573 (newsticker--process-auto-mark-filter-match): : Tell user about
10576 2011-05-13 Didier Verna <didier@xemacs.org>
10578 Common Lisp indentation improvements on defmethod and lambda-lists.
10579 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10581 (lisp-lambda-list-keyword-parameter-indentation)
10582 (lisp-lambda-list-keyword-parameter-alignment)
10583 (lisp-lambda-list-keyword-alignment): New customizable user options.
10584 (lisp-indent-defun-method): Improve docstring.
10585 (extended-loop-p): Fix comment.
10586 (lisp-indent-lambda-list-keywords-regexp): New variable.
10587 (lisp-indent-lambda-list): New function.
10588 (lisp-indent-259): Use it.
10589 (lisp-indent-defmethod): Support for more than one
10590 method qualifier and properly indent methods lambda-lists.
10591 (defgeneric): Provide a missing common-lisp-indent-function property.
10593 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10596 bounds for the empty string (bug#8667).
10598 2011-05-13 Glenn Morris <rgm@gnu.org>
10600 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10602 * mail/sendmail.el (sendmail-program): Try executable-find first.
10603 (sendmail-send-it): `sendmail-program' cannot be unbound.
10605 * calendar/appt.el (appt-make-list): Simplify.
10606 (appt-time-msg-list): Doc fix.
10607 (appt-check): Change mode-line message at the time of the appointment.
10609 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10611 * progmodes/ld-script.el (ld-script-keywords)
10612 (ld-script-builtins): Update keywords list.
10614 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10618 * shell.el (shell-completion-vars): New function.
10620 * simple.el (read-shell-command): Use it.
10621 (blink-matching-open): No need for " [...]" in minibuffer-message.
10623 2011-05-12 Glenn Morris <rgm@gnu.org>
10625 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10626 (appt-check): Simplify.
10628 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10630 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10631 literal "/dev/null".
10633 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10635 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10638 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10640 * progmodes/which-func.el (which-function):
10641 Use add-log-current-defun instead of add-log-current-defun-function,
10642 which might not be defined (Bug#8260).
10644 2011-05-12 Glenn Morris <rgm@gnu.org>
10646 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10647 Let byte-compile-initial-macro-environment always take precedence.
10649 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10651 * net/rcirc.el: Add support for SSL/TLS connections.
10652 (rcirc-server-alist): New field `encryption'.
10653 (rcirc): Check `encryption' settings.
10654 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10655 Merge make-local-variable into `set'.
10656 (rcirc--connection-open-p): New function.
10657 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10658 the process is not a network process (e.g. running gnutls-cli).
10659 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10660 Make rcirc-(en|de)code-coding-system local here.
10661 (rcirc-mode): Merge make-local-variable into `set'.
10662 (rcirc-parent-buffer): Make permanent buffer-local.
10663 (rcirc-multiline-minor-mode): Don't do it here.
10664 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10665 there's no server buffer.
10667 2011-05-11 Glenn Morris <rgm@gnu.org>
10669 * newcomment.el (comment-kill): Prefix "unused" local.
10671 * term/w32console.el (get-screen-color): Declare.
10673 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10674 Handle symbol elements of byte-compile-initial-macro-environment.
10676 2011-05-10 Leo Liu <sdl.web@gmail.com>
10678 * bookmark.el (bookmark-bmenu-mode-map):
10679 Bind bookmark-bmenu-search to `/'.
10681 * mail/footnote.el: Convert to utf-8 encoding.
10682 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10683 (Footnote-unicode): New function.
10684 (footnote-style-alist): Add unicode style to the list.
10685 (footnote-style): Doc fix.
10687 2011-05-10 Jim Meyering <meyering@redhat.com>
10689 Fix doubled-word typos.
10690 * international/quail.el (quail-insert-kbd-layout): and and -> and
10691 * kermit.el: and and -> and
10692 * net/ldap.el (ldap-search-internal): to to -> to
10693 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10694 * progmodes/js.el (js-mode): and and -> and
10695 * textmodes/artist.el (artist-move-to-xy): at at -> at
10696 (artist-draw-region-trim-line-endings): if if -> if
10697 And Safetyc -> Safety.
10698 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10700 2011-05-10 Glenn Morris <rgm@gnu.org>
10701 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * files.el (hack-one-local-variable-eval-safep):
10704 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10706 2011-05-10 Glenn Morris <rgm@gnu.org>
10708 * calendar/diary-lib.el (diary-list-entries-hook)
10709 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10710 (diary-nongregorian-marking-hook, diary-list-entries)
10711 (diary-include-other-diary-files, diary-mark-entries)
10712 (diary-mark-included-diary-files): Doc fixes.
10714 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10716 * misc.el: Require tabulated-list.el during compilation.
10718 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10720 * progmodes/compile.el (compilation-start):
10721 Run compilation-filter-hook for the async case too.
10722 (compilation-filter-hook): Doc fix.
10724 2011-05-09 Deniz Dogan <deniz@dogan.se>
10726 * wdired.el: Remove outdated installation comment. Fix usage
10729 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10731 * misc.el: Implement new command `list-dynamic-libraries'.
10732 (list-dynamic-libraries--loaded-only-p): New variable.
10733 (list-dynamic-libraries--refresh): New function.
10734 (list-dynamic-libraries): New command.
10736 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10739 Fix the ant regexp to handle end-line and end-column info from jikes.
10740 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10741 higher priority to avoid clobbering by gnu.
10743 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10745 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10746 if the face has existing theme settings (Bug#8454).
10748 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10750 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10751 Only match variables declared via `my' or `our' (Bug#8261).
10753 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10754 special file names `.' and `..' (Bug#8259).
10756 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10758 * progmodes/grep.el (grep-mode-font-lock-keywords):
10759 Remove buffer-changing entries.
10760 (grep-filter): New function.
10761 (grep-mode): Add it to compilation-filter-hook.
10763 * progmodes/compile.el (compilation-filter-hook)
10764 (compilation-filter-start): New defvars.
10765 (compilation-filter): Call compilation-filter-hook prior to
10766 updating the process mark.
10768 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10770 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10772 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10774 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10775 mailclient-send-it even if window-system is nil. (Bug#8595)
10777 * term/w32console.el (terminal-init-w32console):
10778 Call get-screen-color and use its output to set the frame
10779 background-mode. (Bug#8597)
10781 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10783 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10784 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10786 (defgeneric, eieio--defmethod): Use them.
10787 (eieio-defgeneric): Remove.
10788 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10790 2011-05-07 Glenn Morris <rgm@gnu.org>
10792 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10793 Use let rather than let*.
10794 (timeclock-find-discrep): Remove unused local.
10796 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10798 * calendar/appt.el (appt-time-msg-list): Doc fix.
10800 2011-05-06 Noah Friedman <friedman@splode.com>
10802 * apropos.el (apropos-print-doc): Only use
10803 emacs-lisp-docstring-fill-column when it is bound to an integer,
10804 per that variable's documentation.
10806 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10809 and warnings are not silently discarded (e.g. use -d instead of -P).
10811 2011-05-06 Glenn Morris <rgm@gnu.org>
10813 * calendar/appt.el (appt-message-warning-time): Doc fix.
10814 (appt-warning-time-regexp): New option.
10815 (appt-make-list): Respect appt-message-warning-time.
10817 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10819 (diary-add-to-list): Strip comments from the displayed string.
10820 (diary-mode): Set comment-start and comment-end.
10822 * vc/diff-mode.el (smerge-refine-subst): Declare.
10823 (diff-refine-hunk): Don't require smerge-mode when compiling.
10825 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10827 * simple.el (list-processes): Return nil as the docstring says.
10829 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10831 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10833 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10834 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10835 determining of binary transfer. (Bug#7383)
10837 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10840 Fix port computation bug. (Bug#8618)
10842 2011-05-05 Glenn Morris <rgm@gnu.org>
10844 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10846 * simple.el (shell-dynamic-complete-functions)
10847 (comint-dynamic-complete-functions): Declare.
10849 * net/network-stream.el (gnutls-negotiate):
10850 * simple.el (tabulated-list-print): Fix declarations.
10852 * progmodes/gud.el (syntax-symbol, syntax-point):
10853 Remove unnecessary and incorrect declarations.
10855 * emacs-lisp/check-declare.el (check-declare-scan):
10856 Handle byte-compile-initial-macro-environment in bytecomp.el
10858 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10860 Fix earlier half-done eieio-defmethod change (bug#8338).
10861 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10862 Streamline and change calling convention.
10863 (defmethod): Adjust accordingly and simplify.
10864 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10865 new eieio--defmethod.
10866 (slot-boundp): Minor CSE simplification.
10868 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10870 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10871 (glasses-make-readable): Use glasses-separate-capital-groups.
10873 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10875 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10876 (warning-series): Doc fix.
10877 (display-warning): Don't try to create the buffer if we just found it.
10879 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10881 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10882 (autoload-find-generated-file): New function.
10883 (generate-file-autoloads): Bind generated-autoload-file to
10885 (update-file-autoloads, update-directory-autoloads):
10886 Use autoload-find-generated-file. If called interactively, prompt for
10887 output file (Bug#7989).
10888 (batch-update-autoloads): Doc fix.
10890 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10892 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10894 2011-05-04 Glenn Morris <rgm@gnu.org>
10896 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10897 function, so it follows changes in calendar-date-style.
10898 (diary-fancy-date-matcher): New function.
10899 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10900 (diary-fancy-font-lock-fontify-region-function):
10901 Use diary-fancy-date-pattern as a function.
10903 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10904 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10906 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10908 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10909 instead of positional arguments. Allow :keylist and :crlfiles
10911 (open-gnutls-stream): Call it.
10913 * net/network-stream.el (network-stream-open-starttls): Adjust to
10914 call `gnutls-negotiate' with :process and :hostname arguments.
10916 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * minibuffer.el (completion--message): New function.
10919 (completion--do-completion, minibuffer-complete)
10920 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10921 (completion--do-completion): Don't ignore completion-auto-help when in
10924 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10925 internal encoding (e.g. tibetan zero is not whitespace).
10926 (global-whitespace-mode): Prefer save-current-buffer.
10927 (whitespace-trailing-regexp): Remove useless save-match-data.
10928 (whitespace-empty-at-bob-regexp): Minor simplification.
10930 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10932 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10934 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10936 * textmodes/ispell.el (ispell-add-per-file-word-list):
10937 Use `concat' to create string for insertion.
10939 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10942 Avoid open-line which runs post-self-insert-hook.
10943 (bibtex-fill-entry): Remove unused `end' var.
10945 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10947 * textmodes/ispell.el (ispell-add-per-file-word-list):
10948 Protect against `nil' value of `comment-start' (Bug#8579).
10950 2011-05-03 Leo Liu <sdl.web@gmail.com>
10952 * isearch.el (isearch-yank-pop): New command.
10953 (isearch-mode-map): Bind it to `M-y'.
10954 (isearch-forward): Mention it.
10956 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * simple.el (minibuffer-complete-shell-command): Remove.
10959 (minibuffer-local-shell-command-map): Use completion-at-point.
10960 (read-shell-command): Setup completion vars here instead.
10961 (read-expression-map): Bind TAB to symbol completion.
10963 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10964 error directly rather via storing it into `results'.
10966 2011-05-02 Leo Liu <sdl.web@gmail.com>
10968 * vc/diff.el: Fix description.
10970 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10972 * server.el (server-eval-at): New function.
10974 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10976 * net/network-stream.el (open-network-stream): Take a :nowait
10977 parameter and pass it on to `make-network-process'.
10978 (network-stream-open-plain): Ditto.
10980 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10982 * faces.el (face-spec-set-match-display): Don't match toolkit
10983 options on terminal frames.
10985 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * progmodes/pascal.el: Use lexical binding.
10988 (pascal-mode-map): Remove author preferences.
10990 * pcomplete.el (pcomplete-std-complete): Don't abuse
10991 completion-at-point.
10993 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10995 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10996 removing code that has been dead since 1991 or so.
10998 * startup.el (command-line): When warning about "_emacs", use a
10999 delayed warning to allow the user to filter it out.
11001 2011-04-28 Deniz Dogan <deniz@dogan.se>
11003 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11004 user has not joined.
11006 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11009 aren't any completions at point.
11011 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11013 * subr.el (display-delayed-warnings): New function.
11014 (delayed-warnings-hook): New variable.
11016 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11018 * minibuffer.el (completion-at-point, completion-help-at-point):
11019 Don't presume that a given completion-at-point-function will always
11020 use the same calling convention.
11022 * pcomplete.el (pcomplete-completions-at-point):
11023 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11024 pcomplete-seen is non-nil.
11025 (pcomplete-comint-setup): Also recognize the new comint/shell
11026 completion functions.
11027 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11028 pcomplete-seen is non-nil.
11030 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11032 * calendar/icalendar.el (diary-lib): Add require statement.
11033 (icalendar--create-uid): Read out a uid from a text-property on
11034 the first character in the entry. This allows for code to add its
11035 own uid to the entry.
11036 (icalendar--convert-float-to-ical): Add export of
11037 `diary-float'-entries save for those with the optional DAY
11040 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11042 * subr.el (shell-quote-argument): Use alternate escaping strategy
11043 when we spot a variable reference in a string.
11045 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11047 * cus-start.el (all): Define customization for debug-on-event.
11049 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11051 * subr.el (shell-quote-argument): Escape correctly under Windows.
11053 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11055 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11057 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11059 * net/tramp.el (tramp-process-actions): Add POS argument.
11060 Delete region between POS and (pos).
11062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11063 Use `nil' position in `tramp-process-actions' call.
11064 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11066 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11067 position in `tramp-process-actions' call.
11069 * net/trampver.el: Update release number.
11071 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11073 * custom.el (defcustom): Obey lexical-binding.
11075 Fix octave-inf completion problems reported by Alexander Klimov.
11076 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11077 Inherit from octave-mode-syntax-table.
11078 (inferior-octave-mode): Set info-lookup-mode.
11079 (inferior-octave-completion-at-point): New function.
11080 (inferior-octave-complete): Use it and completion-in-region.
11081 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11082 comint-filename-completion.
11083 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11084 symbol elements which shouldn't be word elements.
11085 (octave-font-lock-keywords, octave-beginning-of-defun)
11086 (octave-function-header-regexp): Adjust regexps accordingly.
11087 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11089 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11091 * net/gnutls.el (gnutls-errorp): Declare before first use.
11093 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11095 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11096 verify-error, and verify-hostname-error parameters. Check whether
11097 default trustfile exists before going to use it. Add missing
11098 argument to gnutls-message-maybe call. Return value.
11099 Reported by Claudio Bley <claudio.bley@gmail.com>.
11100 (open-gnutls-stream): Add usage example.
11102 * net/network-stream.el (network-stream-open-starttls): Give host
11103 parameter to `gnutls-negotiate'.
11104 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11105 * subr.el (shell-quote-argument): Escape correctly under Windows.
11107 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11109 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11110 Use correct match group (bug#8438).
11112 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11114 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11115 (package-menu--generate): New arg specifying packages to show.
11116 (package-menu-refresh, package-menu-execute, list-packages):
11118 (package-show-package-list): New function, replacing deleted
11119 package--list-packages (renamed because it is non-internal).
11121 * finder.el (finder-list-matches): Use package-show-package-list
11122 instead of deleted package--list-packages.
11124 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11125 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11126 (vc-annotate-mode-map): Bind it to RET.
11128 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11130 * progmodes/etags.el (next-file): Don't use set-buffer to change
11131 buffers (Bug#8478).
11133 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11135 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11137 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11138 (apropos-accumulator): Doc fix.
11139 (apropos-function, apropos-macro, apropos-command)
11140 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11141 (apropos-plist): Add face property.
11142 (apropos-symbols-internal): Fix indentation.
11143 (apropos-print): Simplify help, and recognize apropos-multi-type.
11144 (apropos-print-doc): Use button-type-get to extract the button's
11145 face property. Fill docstring (Bug#8352).
11147 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11149 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11151 * play/mpuz.el (mpuz-silent): Doc fix.
11152 (mpuz-mode-map): Use mapc.
11153 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11154 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11155 Fix typos in docstrings.
11157 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11158 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11160 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11162 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11164 * minibuffer.el (completion--do-completion): Avoid the "Next char
11165 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11167 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11168 mouse-2 into unread-command-events, it is interpreted correctly.
11170 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11171 (image-toggle-display): Doc fix.
11173 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11175 * textmodes/page.el (what-page): Use line-number-at-pos to
11176 calculate line number (Bug#6825).
11178 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11180 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11181 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11182 Pass argument NO-DEFAULT to `find-tag-interactive'.
11184 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11186 Lexical-binding cleanup.
11188 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11189 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11190 * progmodes/ada-prj.el (ada-prj-initialize-values)
11191 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11192 (ada-prj-show-value):
11193 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11194 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11195 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11196 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11197 * progmodes/bug-reference.el (bug-reference-push-button):
11198 * progmodes/fortran.el (fortran-line-length):
11199 * progmodes/glasses.el (glasses-change):
11200 * progmodes/octave-mod.el (octave-fill-paragraph):
11201 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11202 (python-pdbtrack-grub-for-buffer, python-sentinel):
11203 * progmodes/sql.el (sql-save-connection):
11204 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11205 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11206 Mark unused parameters.
11208 * progmodes/compile.el (compilation--flush-directory-cache)
11209 (compilation--flush-parse, compile-internal): Mark unused parameters.
11210 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11211 (compilation-next-error-function): Remove unused variable `timestamp'.
11213 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11214 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11216 * progmodes/dcl-mode.el (dcl-end-of-command):
11217 Remove unused variable `start'.
11218 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11219 (dcl-option-value-basic, dcl-option-value-offset)
11220 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11221 Mark unused parameters.
11222 (dcl-save-local-variable): Remove unused variable `val'.
11225 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11226 Mark unused parameters.
11227 (delphi-ignore-changes): Move before first use.
11228 (delphi-charset-token-at): Remove unused variable `start'.
11229 (delphi-else-start): Remove unused variable `if-count'.
11230 (delphi-comment-block-start, delphi-comment-block-end):
11231 Remove unused variable `kind'.
11232 (delphi-indent-line): Remove unused variable `new-point'.
11234 * progmodes/ebrowse.el (ebrowse-files-list)
11235 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11236 Mark unused parameters. Don't quote `lambda'.
11237 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11238 Don't quote `lambda'.
11239 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11240 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11241 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11242 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11243 Use `ignore-errors'.
11244 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11245 (ebrowse-view/find-file-and-search-pattern)
11246 (ebrowse-view/find-member-declaration/definition):
11247 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11248 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11249 Rename parameter PREFIX-ARG to PREFIX.
11250 (ebrowse-tags-read-name): Remove unused variables `start' and
11252 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11255 * progmodes/etags.el (local-find-tag-hook): Declare.
11256 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11257 Mark unused parameters.
11259 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11260 (executable-interpret): Mark unused parameter.
11262 * progmodes/flymake.el (flymake-process-sentinel)
11263 (flymake-after-change-function)
11264 (flymake-create-temp-with-folder-structure)
11265 (flymake-get-include-dirs-dot): Mark unused parameters.
11266 (flymake-safe-delete-directory): Remove unused variable `err'.
11268 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11269 (speedbar-timer-fn, speedbar-line-text)
11270 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11271 (speedbar-center-buffer-smartly): Declare functions.
11272 (gdb-find-watch-expression): Remove unused variable `array'.
11273 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11274 (gdb-starting): Mark unused parameters.
11275 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11276 (gdb-table-string): Remove unused variable `res'.
11277 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11278 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11279 (gdb-display-buffer): Remove unused variable `cur-size'.
11281 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11282 allow lexical-binding compilation.
11283 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11284 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11285 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11286 Mark unused parameters.
11287 (gud-gdb-marker-filter): Remove unused variable `match'.
11288 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11289 lambda expressions and funcall them, instead of using `fset'.
11291 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11292 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11294 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11295 variable `header-beg'; use `let'.
11297 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11298 `restart', `last-sexp' and `at-do'.
11300 * progmodes/js.el (js--debug): Mark unused parameter.
11301 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11302 (js--splice-into-items): Remove unused variable `item'.
11303 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11305 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11306 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11307 (makefile-complete): Remove unused variable `try'.
11308 (makefile-fill-paragraph, makefile-match-function-end):
11309 Mark unused parameters.
11311 * progmodes/octave-inf.el (inferior-octave-complete):
11312 Remove unused variable `proc'.
11313 (inferior-octave-output-digest): Mark unused parameter.
11315 * progmodes/perl-mode.el (perl-calculate-indent):
11316 Remove unused variable `err'.
11318 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11319 (prolog-indent-line): Mark unused parameters.
11320 (prolog-indent-line): Remove unused variable `beg'.
11322 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11323 (reporter-dont-compact-list): Declare.
11325 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11326 Remove unused variable `char'.
11327 (sh-debug): Mark unused parameter.
11328 (sh-get-indent-info): Remove unused variable `start'.
11329 (sh-calculate-indent): Remove unused variable `var'.
11331 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11332 (simula-electric-keyword): Remove unused variable `null'.
11333 (simula-search-backward, simula-search-forward): Remove unused
11334 variables `begin' and `end'.
11336 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11337 Remove unused variable `pos'.
11338 (vera-electric-tab, vera-comment-uncomment-region):
11339 Mark unused parameters.
11340 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11342 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11344 * emacs-lisp/package.el (package--builtins, package-alist)
11345 (package-load-descriptor, package-built-in-p, package-activate)
11346 (define-package, package-installed-p)
11347 (package-compute-transaction, package-buffer-info)
11348 (package--push): Doc fix. Distinguish more clearly between
11349 version strings and version lists.
11351 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11353 Lexical-binding cleanup.
11355 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11356 (5x5-make-mutate-best):
11357 * play/fortune.el (fortune-in-buffer):
11358 * play/gomoku.el (gomoku-init-display):
11359 * play/solitaire.el (solitaire, solitaire-do-check):
11360 * play/tetris.el (tetris-default-update-speed-function):
11361 Mark unused parameters.
11363 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11364 (bubbles--shift): Remove unused variable `char-org'.
11365 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11366 (bubbles--show-images): Remove unused variable `char'.
11368 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11369 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11370 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11371 (decipher-analyze-buffer): Use ?\s.
11372 (decipher-make-checkpoint): Remove unused variable `mapping'.
11374 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11376 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11377 Remove unused variable `result'; use `let'.
11379 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11380 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11381 (gametree-children-shown-p, gametree-compute-reduced-score):
11382 Use `ignore-errors'.
11384 * play/handwrite.el (ps-lpr-switches): Declare.
11385 (handwrite): Remove unused variables `pmin' and `lastp'.
11387 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11389 * play/landmark.el (landmark-init-display)
11390 (landmark-update-naught-weights): Mark unused parameters.
11391 (landmark-y): Remove unused variable `noise'. Simplify.
11392 (landmark-human-plays): Remove unused variable `score'.
11394 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11395 (mpuz-try-proposal): Remove unused variable `game'.
11397 * play/zone.el (life-patterns): Declare.
11399 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11401 * vc/vc.el (ediff-vc-internal): Declare function.
11403 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11405 * shell.el: Use lexical-binding and std completion UI.
11406 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11407 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11408 comint-preoutput-filter-functions rather than on
11409 comint-output-filter-functions.
11410 (shell-command-completion, shell--command-completion-data)
11411 (shell-filename-completion, shell-environment-variable-completion)
11412 (shell-c-a-p-replace-by-expanded-directory): New functions.
11413 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11414 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11415 (shell-dynamic-complete-environment-variable): Use them.
11416 (shell-dynamic-complete-as-environment-variable)
11417 (shell-dynamic-complete-as-command): Remove.
11418 (shell-match-partial-variable): Match past point.
11419 * comint.el: Clean up use of completion-at-point-functions.
11420 (comint-completion-at-point): New function.
11421 (comint-mode): Use it completion-at-point-functions.
11422 (comint-dynamic-complete): Make it obsolete.
11423 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11424 (comint-c-a-p-replace-by-expanded-history): New function.
11425 (comint-dynamic-complete-functions)
11426 (comint-replace-by-expanded-history): Use it.
11427 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11428 termination strings. Try harder to avoid second try-completion.
11429 (completion-in-region-mode-map): Disable bindings that don't work yet.
11431 * comint.el: Use lexical-binding. Require CL.
11432 (comint-dynamic-complete-functions): Use comint-filename-completion.
11433 (comint-completion-addsuffix): Tweak custom type.
11434 (comint-filename-completion, comint--common-suffix)
11435 (comint--common-quoted-suffix, comint--table-subvert)
11436 (comint--complete-file-name-data): New functions.
11437 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11438 (comint-dynamic-list-filename-completions): Use them.
11439 (comint-dynamic-simple-complete): Make obsolete.
11441 * minibuffer.el (completion-in-region-mode):
11442 Keep completion-in-region-mode--predicate global.
11443 (completion-in-region--postch):
11444 Assume completion-in-region-mode--predicate is not null.
11446 * progmodes/flymake.el (flymake-start-syntax-check-process):
11447 Obey `dir'. Simplify.
11449 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11450 we're in VC after all.
11452 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11454 * vc/vc.el (vc-diff-build-argument-list-internal)
11455 (vc-version-ediff, vc-ediff): New commands.
11456 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11458 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11463 * obsolete/erc-hecomplete.el: Make obsolete.
11464 * obsolete/: Standardize obsolescence info in the header.
11466 2011-04-20 Glenn Morris <rgm@gnu.org>
11468 * calendar/solar.el (solar-horizontal-coordinates):
11469 Use the longitude argument rather than `calendar-longitude'.
11470 (solar-date-next-longitude): Remove unused locals.
11472 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11474 * whitespace.el: New version 13.2.1.
11476 2011-04-20 felix <EmacsWiki> (tiny change)
11478 * whitespace.el (global-whitespace-mode): Keep highlight when
11479 switching between major modes on a file.
11481 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11483 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11484 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11485 multi-line comments as well.
11487 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11489 Lexical-binding cleanup.
11491 * arc-mode.el (archive-mode-revert):
11492 * cmuscheme.el (scheme-interactively-start-process):
11493 * custom.el (custom-initialize-delay):
11494 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11495 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11496 * emacs-lock.el (emacs-lock-clear-sentinel):
11497 * ezimage.el (defezimage):
11498 * follow.el (follow-avoid-tail-recenter):
11499 * fringe.el (set-fringe-mode-1):
11500 * generic-x.el (bat-generic-mode-compile):
11501 * help-mode.el (help-info-variable, help-do-xref)
11502 (help-mode-revert-buffer):
11503 * help.el (view-emacs-todo):
11504 * iswitchb.el (iswitchb-completion-help):
11505 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11506 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11507 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11508 * locate.el (locate-update):
11509 * longlines.el (longlines-encode-region)
11510 (longlines-after-change-function):
11511 * outline.el (outline-isearch-open-invisible):
11512 * ps-def.el (declare-function, charset-dimension, char-width)
11514 * ps-mule.el (ps-mule-plot-string):
11515 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11516 (recentf-edit-list-select, recentf-edit-list-validate)
11517 (recentf-open-files-action):
11518 * rect.el (delete-whitespace-rectangle-line)
11519 (rectangle-number-line-callback):
11520 * register.el (window-configuration-to-register)
11521 (frame-configuration-to-register):
11522 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11523 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11524 (xselect-convert-to-targets, xselect-convert-to-delete)
11525 (xselect-convert-to-filename, xselect-convert-to-charpos)
11526 (xselect-convert-to-lineno, xselect-convert-to-colno)
11527 (xselect-convert-to-os, xselect-convert-to-host)
11528 (xselect-convert-to-user, xselect-convert-to-class)
11529 (xselect-convert-to-name, xselect-convert-to-integer)
11530 (xselect-convert-to-atom, xselect-convert-to-identity):
11531 * subr.el (declare, ignore, process-kill-without-query)
11532 (text-clone-maintain):
11533 * terminal.el (te-get-char, te-tic-sentinel):
11534 * tool-bar.el (tool-bar-make-keymap):
11535 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11536 * type-break.el (type-break-mode, type-break-noninteractive-query):
11537 * view.el (View-back-to-mark):
11538 * wid-browse.el (widget-browse-action, widget-browse-widget)
11539 (widget-browse-widgets, widget-browse-sexp):
11540 * widget.el (define-widget-keywords):
11541 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11542 Mark unused parameters.
11544 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11545 (align-areas): Remove unused variable `look'.
11546 (align-region): Remove unused variables `real-end' and `pos-list'.
11548 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11550 * bindings.el (mode-line-modified, mode-line-remote):
11551 Mark unused parameters.
11552 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11554 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11555 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11557 * comint.el (comint-history-isearch-pop-state)
11558 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11559 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11560 (comint-substitute-in-file-name): Doc fix.
11562 * completion.el (cmpl-statistics-block): Mark unused parameter.
11563 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11564 (save-completions-to-file, load-completions-from-file):
11565 Remove unused local variable `e'.
11567 * composite.el (compose-chars): Remove unused variable `len'.
11568 (lgstring-insert-glyph): Remove unused variable `g'.
11569 (compose-glyph-string): Remove unused variables `ascent',
11570 `descent', `lbearing' and `rbearing'.
11571 (compose-glyph-string-relative): Remove unused variables
11572 `lbearing', `rbearing' and `wadjust'.
11573 (compose-gstring-for-graphic): Remove unused variables `header',
11574 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11575 (compose-gstring-for-terminal): Remove unused variables `header'
11576 and `nchars'. Use `let', not `let*'.
11578 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11579 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11580 (Custom-buffer-done, custom-buffer-create-internal)
11581 (custom-browse-visibility-action, custom-browse-group-tag-action)
11582 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11583 (widget-magic-mouse-down-action, custom-toggle-parent)
11584 (custom-add-parent-links, custom-toggle-hide-variable)
11585 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11586 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11587 (custom-face-menu-create, custom-variable-menu-create, get)
11588 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11589 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11590 (customize-apropos): Remove unused variable `tests'.
11591 (custom-group-value-create): Remove unused variable `hidden-p'.
11592 (sort-fold-case): Declare.
11594 * cus-theme.el (custom-reset-standard-faces-list)
11595 (custom-reset-standard-variables-list): Declare.
11596 (customize-create-theme, custom-theme-revert, custom-theme-write)
11597 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11598 Mark unused parameters.
11600 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11602 * delim-col.el (delimit-columns-max): Move defvar before first use.
11604 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11605 (describe-char): Don't quote `lambda'. Mark unused parameter.
11607 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11608 (auto-insert): Declare.
11609 (desktop-restore-file-buffer): Rename desktop-* parameters;
11611 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11612 (desktop-buffer): Rename desktop-* parameters.
11614 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11615 (dframe-reposition-frame-xemacs, dframe-help-echo)
11616 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11617 Mark unused parameters.
11619 * dired-aux.el (backup-extract-version-start, overwrite-query)
11620 (overwrite-backup-query, rename-regexp-query)
11621 (rename-non-directory-query): Declare.
11622 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11623 (dired-add-entry): Remove unused variable `orig-file-name'.
11624 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11625 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11626 `dired-copy-preserve-time' directly.
11627 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11628 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11630 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11631 (dired-virtual-revert, dired-make-relative-symlink):
11632 Mark unused parameters.
11633 (manual-program): Declare.
11634 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11635 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11636 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11638 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11640 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11642 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11645 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11647 * electric.el (Electric-command-loop): Rename parameter
11648 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11650 * expand.el (expand-in-literal): Remove unused variable `here'.
11652 * facemenu.el (facemenu-add-new-color):
11653 Remove unused variable `docstring'.
11655 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11656 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11657 (face-attr-construct): Mark unused parameter. Doc fix.
11658 (read-color): Remove unused variable `hex-string'.
11660 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11661 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11662 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11663 (display-buffer-other-frame): Remove unused variable `old-window'.
11664 (kill-buffer-hook): Declare.
11665 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11666 Mark unused parameters.
11667 (after-find-file): Pass 1 to `auto-save-mode', not t.
11669 * files-x.el (auto-insert): Declare.
11670 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11672 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11673 variable `buf'. Mark unused parameter.
11674 (find-lisp-insert-directory): Mark unused parameter.
11676 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11677 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11678 (format-common-tail): Remove, unused.
11679 (format-deannotate-region): Remove unused variable `loc'.
11680 (format-annotate-region): Remove unused variable `p'.
11681 (format-annotate-single-property-change): Remove unused variables
11682 `default' and `tail'.
11684 * forms.el (read-file-filter): Declare.
11685 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11687 * frame.el (frame-creation-function-alist): Mark unused parameter.
11688 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11690 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11691 Remove unused parameters.
11692 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11693 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11695 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11696 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11697 (hfy-prepare-tag-map): Mark unused parameters.
11698 (htmlfontify-buffer): Use `called-interactively-p'.
11700 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11701 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11702 (ibuffer-do-occur): Mark unused parameters.
11703 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11704 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11706 * ibuffer.el: Don't quote `lambda'.
11707 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11708 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11709 Mark unused parameters.
11711 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11712 (ido-completing-read): Mark unused parameters.
11713 (ido-copy-current-word): Mark unused parameters;
11714 remove unused variable `name'.
11715 (ido-sort-merged-list): Remove unused parameter `dirs'.
11717 * ielm.el (ielm-input-sender): Mark unused parameter.
11718 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11719 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11720 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11721 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11722 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11724 * image-dired.el (image-dired-display-thumbs): Remove unused
11725 variables `curr-file' and `count'.
11726 (image-dired-remove-tag): Remove unused variable `start'.
11727 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11728 variable `curr-file'
11729 (image-dired-rotate-original): Remove unused variable `temp-file'.
11730 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11731 Remove unused variable `file'.
11732 (image-dired-gallery-generate): Remove unused variable `curr'.
11733 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11735 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11737 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11739 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11741 * isearch.el (minibuffer-history-symbol): Declare.
11742 (isearch-edit-string): Remove unused variable `err'.
11743 (isearch-message-prefix, isearch-message-suffix):
11744 Mark unused parameters.
11746 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11748 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11750 * makesum.el (double-column): Remove unused variable `cnt'.
11752 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11753 (ido-ignore-item-temp-list): Declare.
11755 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11756 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11757 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11758 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11761 * mouse-sel.el (mouse-extend-internal):
11762 Remove unused variable `orig-window-frame'.
11764 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11765 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11766 Move declarations before first use.
11767 (pcomplete-opt): Mark unused parameters; doc fix.
11769 * proced.el (proced-revert): Mark unused parameter.
11770 (proced-send-signal): Remove unused variable `err'.
11772 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11773 Rename parameter PREFIX-ARG to ARG.
11774 (ps-basic-plot-string, ps-basic-plot-whitespace):
11775 Mark unused parameters.
11777 * replace.el (replace-count): Define.
11778 (occur-revert-function): Mark unused parameters.
11779 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11780 (isearch-case-fold-search, isearch-string): Declare.
11781 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11782 bind `case-fold-search'. Remove unused variables `beg' and `end',
11784 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11785 COUNT and bind `replace-count'.
11786 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11789 * savehist.el (print-readably, print-string-length): Declare.
11791 * shadowfile.el (shadow-expand-cluster-in-file-name):
11792 Remove unused variable `cluster'.
11793 (shadow-copy-file): Remove unused variable `i'.
11794 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11795 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11796 (shadow-define-literal-group, shadow-define-regexp-group)
11797 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11799 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11800 (shell): Use `called-interactively-p'.
11801 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11803 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11804 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11805 (delete-backward-char): Remove unused variable `ocol'.
11806 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11807 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11808 (event-apply-hyper-modifier, event-apply-shift-modifier)
11809 (event-apply-control-modifier, event-apply-meta-modifier):
11810 Mark unused parameters.
11811 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11812 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11814 * speedbar.el (speedbar-ignored-directory-expressions)
11815 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11816 (speedbar-find-file, speedbar-dir-follow)
11817 (speedbar-directory-buttons-follow, speedbar-tag-find)
11818 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11819 (speedbar-buffers-line-directory, speedbar-buffer-click):
11820 Mark unused parameters.
11821 (speedbar-tag-file): Remove unused variable `mode'.
11822 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11824 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11826 * talk.el (talk): Remove unused variable `display'.
11828 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11829 (tar-write-region-annotate): Mark unused parameter.
11831 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11832 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11833 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11834 warning by another.
11836 * time-stamp.el (time-stamp-string-preprocess):
11837 Remove unused variable `require-padding'.
11839 * tree-widget.el (widget-glyph-enable): Declare.
11840 (tree-widget-action): Mark unused parameter.
11842 * w32-fns.el (x-get-selection): Mark unused parameter.
11843 (autoload-make-program, generated-autoload-file): Declare.
11845 * wdired.el (wdired-revert): Mark unused parameters.
11846 (wdired-xcase-word): Remove unused variable `err'.
11848 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11849 (whitespace-help-scroll): Remove unused variable `data-help'.
11851 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11852 (widget-image-insert, widget-after-change, default)
11853 (widget-default-format-handler, widget-default-notify)
11854 (widget-default-prompt-value, widget-info-link-action)
11855 (widget-url-link-action, widget-function-link-action)
11856 (widget-variable-link-action, widget-file-link-action)
11857 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11858 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11859 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11860 (widget-insert-button-action, widget-delete-button-action, visibility)
11861 (widget-documentation-link-action, widget-documentation-string-action)
11862 (widget-const-prompt-value, widget-regexp-match, symbol)
11863 (widget-coding-system-prompt-value)
11864 (widget-key-sequence-value-to-external, sexp)
11865 (widget-sexp-value-to-internal, character, vector, cons)
11866 (widget-choice-prompt-value, widget-boolean-prompt-value)
11867 (widget-color--choose-action): Mark unused parameters.
11868 (widget-item-match-inline, widget-choice-match-inline)
11869 (widget-checklist-match, widget-checklist-match-inline)
11870 (widget-group-match): Rename parameter VALUES to VALS.
11871 (widget-field-value-set): Remove unused variable `size'.
11872 (widget-color-action): Remove unused variables `value' and `start'.
11874 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11875 variable `dir'. Doc fix.
11876 (windmove-find-other-window): Don't pass it.
11878 * window.el (count-windows): Mark unused parameter.
11879 (bw-adjust-window): Remove unused variable `err'.
11881 * woman.el (woman-file-name): Remove unused variable `default'.
11882 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11883 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11884 (global-font-lock-mode): Declare.
11885 (woman-decode-region): Mark unused parameter.
11886 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11888 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11889 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11890 (x-dnd-handle-moz-url): Remove unused variable `title'.
11891 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11893 * xml.el (xml-parse-tag, xml-parse-attlist):
11894 Remove unused variable `pos'.
11896 2011-04-19 Glenn Morris <rgm@gnu.org>
11898 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11899 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11900 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11901 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11902 * calendar/cal-html.el (cal-html-insert-minical):
11903 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11904 (calendar-mark-date-pattern):
11905 Prefix "unused" locals.
11907 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11908 optional argument `style'.
11910 * calendar/appt.el (appt-make-list):
11911 * calendar/cal-china.el (calendar-chinese-date-string):
11912 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11913 (diary-hebrew-yahrzeit):
11914 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11915 * calendar/calendar.el (calendar-generate-window):
11916 * calendar/time-date.el (time-to-days):
11917 Remove unused local variables.
11919 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11921 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11922 glyphless-char-display table.
11923 (tabulated-list-glyphless-char-display): New var.
11925 2011-04-18 Sam Steingold <sds@gnu.org>
11927 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11928 to acknowledgments.
11930 2011-04-17 Glenn Morris <rgm@gnu.org>
11932 * calendar/diary-lib.el (diary-sexp-entry):
11933 * calendar/holidays.el (holiday-sexp):
11934 Set debug-on-error rather than the removed stack-trace-on-error.
11936 2011-04-16 Glenn Morris <rgm@gnu.org>
11938 * progmodes/f90.el: Use lexical-binding.
11939 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11941 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11943 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11944 (mail-mode): Setup mailalias completion here instead.
11945 * mail/mailalias.el: Use lexical-binding.
11946 (pattern, mailalias-done): Declare dynamic.
11947 (mail-completion-at-point-function): New function, from mail-complete.
11948 (mail-complete): Use it.
11949 (mail-completion-expand): New function.
11950 (mail-get-names): Use it.
11951 (mail-directory, mail-directory-process, mail-directory-stream):
11952 Don't use `pattern' for lexically bound arg.
11954 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11956 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11957 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11958 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11960 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11961 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11962 (byte-interactive-p): Define them again, for use when inlining
11965 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11967 * loadup.el: Use `string-to-number', not `string-to-int'.
11969 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11971 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11972 gud-gdb-complete-command.
11973 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11974 (gud-gdb-completion-at-point): New function.
11975 (gud-gdb-completions): Remove.
11977 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11979 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11980 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11981 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11982 whether `executable-find' is bound.
11984 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11986 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11988 * minibuffer.el (completion-in-region-mode-predicate)
11989 (completion-in-region-mode--predicate): New vars.
11990 (completion-in-region, completion-in-region--postch)
11991 (completion-in-region-mode): Use them.
11992 (completion--capf-wrapper): Also return the hook function.
11993 (completion-at-point, completion-help-at-point):
11994 Adjust and provide a predicate.
11996 Preserve arg names for advice of subr and lexical functions (bug#8457).
11997 * help-fns.el (help-function-arglist): Consolidate the subr and
11998 new-byte-code cases. Add argument `preserve-names' to extract names
11999 from the docstring when needed.
12000 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12001 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12002 (ad-arglist): Use help-function-arglist's new arg.
12003 (ad-definition-type): Use cond.
12005 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12007 * autorevert.el (auto-revert-handler):
12008 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12009 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12010 Don't quote lambda.
12012 * image-mode.el (image-transform-set-scale):
12013 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12015 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12017 * net/network-stream.el (network-stream-open-starttls): Only do
12018 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12019 Upgrades via gnutls-cli are too slow to be done opportunistically.
12021 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12023 * dframe.el (dframe-current-frame): Remove spurious quote.
12025 2011-04-12 Glenn Morris <rgm@gnu.org>
12027 * calendar/cal-tex.el (cal-tex-end-document):
12028 Try to automatically use latin1 input if needed.
12030 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12031 Don't try to cons a mark onto an empty element.
12033 2011-04-11 Leo Liu <sdl.web@gmail.com>
12035 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12037 (ido-kill-buffer-at-head): Support killing virtual buffers.
12039 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12041 * minibuffer.el (completion-show-inline-help): New var.
12042 (completion--do-completion, minibuffer-complete)
12043 (minibuffer-force-complete, minibuffer-complete-word):
12044 Inhibit minibuffer messages if completion-show-inline-help is nil.
12046 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12047 to avoid interference from inline help (Bug#5849).
12049 2011-04-10 Leo Liu <sdl.web@gmail.com>
12051 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12054 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12056 * image-mode.el (image-toggle-display-image): Signal an error if
12058 (image-transform-mode, image-transform-resize)
12059 (image-transform-set-rotation): Doc fix.
12060 (image-transform-set-resize): Delete.
12061 (image-transform-set-scale, image-transform-fit-to-height)
12062 (image-transform-fit-to-width): Handle image-toggle-display-image
12063 and image-transform-resize directly.
12065 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12067 * doc-view.el (doc-view-fit-width-to-window)
12068 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12069 New functions for fitting the shown image to the Emacs window size.
12070 (doc-view-mode-map): Add bindings for the new functions.
12072 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12074 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12075 Fix typo in docstring.
12077 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12079 * files.el (file-size-human-readable): Produce one digit after
12080 decimal, like "ls -lh" does.
12082 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12083 the file size representation.
12085 * simple.el (list-processes): If async subprocesses are not
12086 available, error out with a clear error message.
12088 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12090 * help.el (help-form-show): New function, to be called from C.
12091 Put help-form output in a buffer named differently than *Help*.
12093 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12095 * files.el (file-size-human-readable): New function.
12097 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12098 computing the representation inline. Don't require `cl'.
12100 2011-04-08 Glenn Morris <rgm@gnu.org>
12102 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12104 * net/browse-url.el (browse-url-firefox):
12105 Test system-type, not system-configuration.
12107 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12108 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12109 Use log-edit-empty-buffer-p. (Bug#7598)
12111 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12112 (rlogin-mode-map): Initialize in the defvar.
12113 (rlogin): Use ignore-errors.
12115 * replace.el (occur-mode-map): Some fixes for menu items.
12117 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12119 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12121 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12123 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12124 issuing unused warnings.
12126 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12129 * simple.el: Lisp reimplement of list-processes. Based on an
12130 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12131 (process-menu-mode): New major mode.
12132 (list-processes--refresh, list-processes):
12133 (process-menu-visit-buffer): New functions.
12135 * files.el (save-buffers-kill-emacs): Don't assume any return
12136 value of list-processes, which is undocumented anyway.
12138 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12140 * emacs-lisp/tabulated-list.el: New file.
12142 * emacs-lisp/package.el: Use Tabulated List mode.
12143 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12144 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12145 table format using Tabulated List mode variables.
12146 (package--push): New macro, replacing package-list-maybe-add.
12147 (package-menu--generate): Use package--push. Renamed from
12148 package--generate-package-list.
12149 (package-menu-refresh, list-packages): Use it.
12150 (package-menu--print-info): Rename from package-print-package.
12151 Return insertion data instead of inserting it directly.
12152 (package-menu-describe-package, package-menu-execute):
12153 Use tabulated-list-get-id.
12154 (package-menu-mark-delete, package-menu-mark-install)
12155 (package-menu-mark-unmark, package-menu-backup-unmark)
12156 (package-menu-mark-obsolete-for-deletion):
12157 Use tabulated-list-put-tag.
12158 (package--list-packages, package-menu-revert)
12159 (package-menu-get-package, package-menu-get-version)
12160 (package-menu-sort-by-column): Functions deleted.
12161 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12162 (package-menu--status-predicate, package-menu--version-predicate)
12163 (package-menu--name-predicate)
12164 (package-menu--description-predicate): Handle arguments in the
12165 Tabulated List format.
12166 (package-list-packages-no-fetch): Call list-packages.
12168 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12170 * files.el (after-find-file-from-revert-buffer): Remove variable.
12171 (after-find-file): Don't bind it.
12172 (revert-buffer-in-progress-p): New variable.
12173 (revert-buffer): Bind it.
12174 Pass nil for `after-find-file-from-revert-buffer'.
12176 * saveplace.el (save-place-find-file-hook): Use new variable
12177 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12179 2011-04-06 Glenn Morris <rgm@gnu.org>
12181 * Makefile.in (AUTOGEN_VCS): New variable.
12182 (autoloads): Use $AUTOGEN_VCS.
12184 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12185 * calendar/calendar.el (calendar-mode-map):
12186 Check for toolkit scroll bars. (Bug#8305)
12188 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12190 * minibuffer.el (completion-in-region--postch)
12191 (completion-in-region-mode): Remove unnecessary messages.
12193 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12195 * font-lock.el (font-lock-refresh-defaults):
12196 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12197 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12199 * info.el (Info-directory-list, Info-read-node-name-2)
12200 (Info-split-parameter-string): Doc fixes.
12201 (Info-virtual-nodes): Reflow docstring.
12202 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12203 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12204 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12205 Fix typos in docstrings.
12206 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12207 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12208 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12209 (Info-restore-desktop-buffer): Mark unused parameters.
12210 (Info-directory-find-file, Info-directory-find-node)
12211 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12212 (Info-virtual-index-find-node, Info-apropos-find-file)
12213 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12214 Mark unused parameters; fix typos in docstrings.
12215 (Info-virtual-index): Remove unused local variable `nodename'.
12217 2011-04-05 Deniz Dogan <deniz@dogan.se>
12219 * net/rcirc.el: Update my e-mail address.
12220 (rcirc-mode-map): Remove M-o binding.
12222 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12224 * startup.el (command-line): Save the cursor's theme-face
12225 directly, instead of using face-override-spec.
12227 * custom.el (load-theme): Minor optimization in assigning faces.
12229 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12231 * help-fns.el (describe-variable): Complete all variables having
12232 documentation, including keywords.
12233 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12235 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12237 Convert to lexical-binding.
12239 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12240 (bs--get-marked-string, bs--get-modified-string)
12241 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12242 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12243 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12245 * ehelp.el (electric-help-execute-extended)
12246 (electric-help-ctrl-x-prefix):
12247 * hexl.el (hexl-revert-buffer-function):
12248 * linum.el (linum-after-change, linum-after-scroll):
12249 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12251 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12253 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12260 * epg.el: Use lexical binding.
12262 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12264 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12266 * textmodes/flyspell.el (flyspell-word): Recognize default
12267 dictionary case for flyspell-mark-duplications-exceptions.
12268 Use regexp matching for languages.
12269 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12270 default dictionary (Bug#7926).
12272 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12274 * emacs-lisp/package.el (package--with-work-buffer):
12275 Recognize https URLs.
12277 * net/network-stream.el: Move from gnus/proto-stream.el.
12278 Change prefix to network-stream throughout.
12279 (open-protocol-stream): Merge into open-network-stream, leaving
12280 open-protocol-stream as an alias. Handle nil BUFFER args.
12282 * subr.el (open-network-stream): Move to net/network-stream.el.
12284 2011-04-02 Glenn Morris <rgm@gnu.org>
12286 * find-dired.el (find-exec-terminator): New option.
12287 (find-ls-option): Test for -ls support.
12288 (find-ls-subdir-switches): Test for -b in find-ls-option.
12289 (find-dired, find-grep-dired): Doc fixes.
12290 (find-dired): Use find-exec-terminator.
12292 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12293 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12294 (find-name-arg): Remove purecopy.
12296 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12297 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12298 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12299 accordingly. Don't add the null-device if not needed.
12301 * files.el (save-some-buffers): Doc fix.
12303 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12305 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12307 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12309 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12310 Use `dolist' rather than `mapcar'.
12312 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12314 Add lexical binding.
12316 * subr.el (apply-partially): Use new closures rather than CL.
12317 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12318 (dolist, dotimes): Use slightly different expansion for lexical code.
12319 (functionp): Move to C.
12320 (letrec): New macro.
12321 (with-wrapper-hook): Use it and apply-partially instead of CL.
12322 (eval-after-load): Preserve lexical-binding.
12323 (save-window-excursion, with-output-to-temp-buffer): Turn them
12326 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12328 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12330 (help-add-fundoc-usage): Don't add `Not documented'.
12331 (help-function-arglist): Handle closures, subroutines, and new
12332 byte-code-functions.
12333 (help-make-usage): Remove leading underscores.
12334 (describe-function-1): Handle closures.
12335 (describe-variable): Use special-variable-p for completion.
12337 * files.el (lexical-binding): Declare safe.
12339 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12340 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12341 (pcase): Add `let' pattern.
12342 Change memoization so it actually works.
12343 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12344 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12347 * emacs-lisp/macroexp.el: Use lexical binding.
12348 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12349 Don't convert ' to #' without checking that it's indeed quoting
12352 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12353 Use eval-sexp-add-defvars.
12354 (eval-sexp-add-defvars): New fun.
12356 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12358 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12360 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12361 than the internal `byte-compile-lambda'.
12362 (defmethod): Don't hide code under quotes.
12363 (eieio-defmethod): New `code' argument.
12365 * emacs-lisp/eieio-comp.el: Remove.
12367 * emacs-lisp/edebug.el (edebug-eval-defun)
12368 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12369 (edebug-toggle): Avoid `eval'.
12371 * emacs-lisp/disass.el (disassemble-internal): Handle new
12373 (disassemble-1): Handle new byte codes.
12375 * emacs-lisp/cl.el (pushnew): Silence warning.
12377 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12378 (cl-byte-compile-throw): Remove.
12379 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12381 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12384 * emacs-lisp/cconv.el: New file.
12386 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12387 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12388 (byte-compile-initial-macro-environment):
12389 Handle declare-function here.
12390 (byte-compile--lexical-environment): New var.
12391 (byte-stack-ref, byte-stack-set, byte-discardN)
12392 (byte-discardN-preserve-tos): New lap codes.
12393 (byte-interactive-p): Don't use any more.
12394 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12396 (byte-compile-lapcode): Use them and handle new lap codes.
12397 (byte-compile-obsolete): Remove.
12398 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12399 (byte-compile-arglist-warn): Check late def of inlinable funs.
12400 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12401 since they should have been expanded by now.
12402 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12403 (byte-compile-from-buffer): Remove unused second arg.
12404 (byte-compile-preprocess): New function.
12405 (byte-compile-toplevel-file-form): New function to distinguish
12406 file-form calls from outside from file-form calls from hunk-handlers.
12407 (byte-compile-file-form): Simplify.
12408 (byte-compile-file-form-defsubst): Remove.
12409 (byte-compile-file-form-defmumble): Simplify now that
12410 byte-compile-lambda always returns a byte-code-function.
12411 (byte-compile): Preprocess.
12412 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12413 Remove, not used any more.
12414 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12415 (byte-compile-make-args-desc): New funs.
12416 (byte-compile-lambda): Handle lexical functions. Always return
12417 a byte-code-function.
12418 (byte-compile-reserved-constants): New var, to make up room for
12419 closed-over variables.
12420 (byte-compile-constants-vector): Obey it.
12421 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12422 (byte-compile-macroexpand-declare-function): New function.
12423 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12424 byte-code-functions.
12425 (byte-compile-form): Check obsolescence here.
12426 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12427 (byte-compile-variable-ref): Remove.
12428 (byte-compile-dynamic-variable-op): New fun.
12429 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12430 (byte-compile-variable-set): New funs.
12431 (byte-compile-discard): Add 2 args.
12432 (byte-compile-stack-ref, byte-compile-stack-set)
12433 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12434 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12435 macroexpand-all instead.
12436 (byte-compile-quote-form): Remove.
12437 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12438 (byte-compile-bind, byte-compile-unbind): New funs.
12439 (byte-compile-let): Handle let* and lexical binding.
12440 (byte-compile-let*): Remove.
12441 (byte-compile-catch, byte-compile-unwind-protect)
12442 (byte-compile-track-mouse, byte-compile-condition-case):
12443 Handle a new :fun-body form, used for lexical scoping.
12444 (byte-compile-save-window-excursion)
12445 (byte-compile-with-output-to-temp-buffer): Remove.
12446 (byte-compile-defun): Simplify.
12447 (byte-compile-stack-adjustment): New fun.
12448 (byte-compile-out): Use it.
12449 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12451 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12454 * emacs-lisp/byte-opt.el: Use lexical binding.
12455 (byte-inline-lapcode): Remove (to bytecomp).
12456 (byte-compile-inline-expand): Pay attention to inlining to/from
12457 lexically bound code.
12458 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12460 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12461 any more and don't call compiler-macros.
12462 (byte-compile-splice-in-already-compiled-code): Remove.
12463 (byte-code): Don't inline any more.
12464 (disassemble-offset): Receive `bytes' as argument rather than via
12466 (byte-compile-tag-number): Declare before first use.
12467 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12468 `return' even if make-spliceable.
12469 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12470 obsolete interactive-p.
12471 (byte-optimize-lapcode): Optimize new lap-codes.
12472 Don't trip up on new form of `byte-constant' lap code.
12474 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12476 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12478 * custom.el (custom-initialize-default, custom-declare-variable):
12481 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12483 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12484 (COMPILE_FIRST): Add macroexp and cconv.
12485 * makefile.w32-in: Mirror changes in Makefile.in.
12487 * vc/cvs-status.el:
12491 * vc/smerge-mode.el:
12492 * textmodes/bibtex-style.el:
12493 * textmodes/css.el:
12501 * emacs-lisp/smie.el:
12504 * abbrev.el: Use lexical binding.
12506 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12508 * info.el (info-display-manual): New function.
12510 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12514 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12516 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12517 an entry for that server in rcirc-authinfo. (Bug#8385)
12519 2011-03-31 Glenn Morris <rgm@gnu.org>
12521 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12523 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12525 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12527 * progmodes/python.el (python-default-interpreter)
12528 (python-python-command-args, python-jython-command-args)
12529 (python-which-shell, python-which-args, python-which-bufname)
12530 (python-file-queue, python-comint-output-filter-function)
12531 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12532 variables and functions.
12534 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12536 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12537 (completion-in-region-mode): New minor mode.
12538 (completion-in-region): Use it.
12539 (completion-in-region--data, completion-in-region-mode-map): New vars.
12540 (completion-in-region--postch): New function.
12541 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12543 (completion--capf-wrapper): New function.
12544 (completion-at-point): Use it to track well-behavedness of
12546 (completion-help-at-point): New command.
12548 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12550 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12551 syntax class to search for whitespace on a single line
12552 (Message-ID: <4D938140.4030905@redhat.com>).
12554 2011-03-30 Leo Liu <sdl.web@gmail.com>
12556 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12558 (edit-abbrevs-map): Bind them here.
12559 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12561 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12563 * allout.el (allout-hide-by-annotation, allout-flag-region):
12564 Reduce possibility of overlay leakage by making them volatile.
12566 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12567 hash is not shared between buffers. Mode initialization is
12568 responsible for giving it a useful starting value.
12569 (allout-item-span): Reduce possibility of overlay leakage by
12570 making them volatile.
12571 (allout-widgets-count-buttons-in-region): Add diagnostic function
12572 for tracking down button overlay leaks.
12574 2011-03-29 Leo Liu <sdl.web@gmail.com>
12576 * ido.el (ido-read-internal): Use the default history var
12577 minibuffer-history if no HISTORY is specified.
12579 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12581 * net/imap.el (imap-shell-open, imap-process-connection-type):
12582 Use imap-process-connection-type for 'shell' streams as well as
12583 Kerberos, SSL, other subprocesses.
12585 2011-03-28 Leo Liu <sdl.web@gmail.com>
12587 * abbrev.el (abbrev-table-empty-p): New function.
12588 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12589 nonempty ones. (Bug#5937)
12591 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12593 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12595 2011-03-27 Leo Liu <sdl.web@gmail.com>
12597 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12598 for foreground and background colors.
12599 (ansi-color-make-color-map): Adapt.
12601 2011-03-25 Leo Liu <sdl.web@gmail.com>
12603 * midnight.el (midnight-time-float): Remove. Note it calculates
12604 the microsecond component incorrectly and seconds-to-time does the
12606 Remove redundant (require 'timer).
12608 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12609 (ido-completions): Remove unused arguments. (Bug#8329)
12611 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12613 * minibuffer.el (completion--flush-all-sorted-completions):
12614 Remove itself from hook.
12615 (completion-at-point): Let the functions perform the completion
12616 immediately and return nil or t.
12617 * comint.el (comint-dynamic-complete-functions): Now identical to
12618 completion-at-point-functions.
12619 (comint-dynamic-list-input-ring): Remove unused var `index'.
12620 (comint--match-partial-filename, comint--unquote&expand-filename):
12621 New funs, split from comint-match-partial-filename.
12622 (comint-dynamic-complete): Use completion-at-point.
12623 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12625 2011-03-24 Drew Adams <drew.adams@oracle.com>
12627 * thingatpt.el: Support `defun'.
12629 2011-03-23 Leo Liu <sdl.web@gmail.com>
12631 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12633 * help-mode.el (help-mode-finish): Tweak regexp.
12635 2011-03-23 Glenn Morris <rgm@gnu.org>
12637 * eshell/esh-opt.el (eshell-eval-using-options):
12638 Do not bind unused local variable `eshell-option-stub'.
12640 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12642 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12644 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12645 keymap variable in `with-no-warnings' to avoid a warning when the
12646 keymap has been already `defconst'ed.
12648 2011-03-22 Leo Liu <sdl.web@gmail.com>
12650 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12651 encode all chars in abbrevs; otherwise use emacs-mule or
12652 utf-8-emacs. (Bug#8308)
12654 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12656 * simple.el (backward-delete-char-untabify):
12657 Avoid warning about using `delete-backward-char'.
12659 * image.el (image-type-file-name-regexps): Make it variable.
12660 `imagemagick-register-types' modifies it, and the user may want
12661 to add new extensions for known image types.
12662 (imagemagick-register-types): Throw error if not using ImageMagick.
12664 2011-03-22 Leo Liu <sdl.web@gmail.com>
12666 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12667 located before rcirc-prompt-end-marker.
12668 (rcirc-complete): Error if point is not after rcirc prompt.
12669 Handle the case when table is nil.
12670 (rcirc-user-authenticated): Define to fix compiler warning.
12672 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12674 * custom.el (custom--inhibit-theme-enable): Make it affect only
12675 custom-theme-set-variables and custom-theme-set-faces.
12676 (provide-theme): Ignore custom--inhibit-theme-enable.
12677 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12678 (custom-enabling-themes): Delete variable.
12679 (enable-theme): Accept only loaded themes as arguments.
12680 Ignore the special custom-enabled-themes variable.
12681 (custom-enabled-themes): Forbid themes from setting this.
12682 Eliminate use of custom-enabling-themes.
12683 (custom-push-theme): Quote "changed" custom var entry.
12685 2011-03-21 Leo Liu <sdl.web@gmail.com>
12687 * ido.el (ido-read-internal): Add ido-selected to history instead
12690 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12692 * subr.el (deferred-action-list, deferred-action-function):
12695 2011-03-21 Leo Liu <sdl.web@gmail.com>
12697 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12698 change on 2011-02-13 (bug#8309).
12700 * minibuffer.el (read-file-name-function): Change default value.
12701 (read-file-name--defaults): Rename from read-file-name-defaults.
12702 (read-file-name-default): Rename from read-file-name.
12703 (read-file-name): Call read-file-name-function.
12705 2011-03-21 Glenn Morris <rgm@gnu.org>
12707 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12710 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12712 * cus-theme.el: Add missing provide statement.
12713 (customize-create-theme): Extract theme value correctly.
12714 (custom-theme-visit-theme): Autoload.
12715 (customize-create-theme): Prompt before inserting default faces.
12717 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12719 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12720 units and musical notes.
12722 2011-03-20 Leo Liu <sdl.web@gmail.com>
12724 * ido.el (ido-read-internal): Use completing-read-default.
12725 (ido-completing-read): Fix compatibility with completing-read.
12727 2011-03-20 Christian Ohler <ohler@gnu.org>
12729 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12730 (ert-delete-all-tests): Use `called-interactively-p' rather than
12732 (ert--make-xrefs-region): Respect END.
12734 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12736 * dired-aux.el (dired-create-directory): Signal an error if the
12737 directory already exists (Bug#8246).
12739 * facemenu.el (list-colors-display): Call list-faces-display
12740 inside with-help-window.
12741 (list-colors-print): Use display property to align the final
12742 column, instead of checking window-width.
12744 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12746 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12747 windows-nt systems.
12748 (emerge-protect-metachars): Quote correctly for ms-dos and
12749 windows-nt systems.
12751 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12753 * info.el (info-initialize): Replace all uses of `:' with
12754 path-separator for compatibility with non-Unix systems.
12755 Cache quoting of path-separator. (Bug#8258)
12757 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12759 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12760 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12761 (mouse-avoidance-mode): Fix typos in docstrings.
12763 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12765 * startup.el (package-subdirectory-regexp): Move from package.el.
12766 Omit \\` and \\', and let callers add them.
12768 * emacs-lisp/package.el (package-strip-version)
12769 (package-load-all-descriptors): Add \\` and \\' to
12770 package-subdirectory-regexp before using it.
12771 (package-untar-buffer): New arg DIR; ensure that file untars only
12772 into this expected directory. Remove superfluous delete-region.
12773 (package-unpack): Caller changed.
12774 (package-tar-file-info): Use package-subdirectory-regexp.
12776 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12778 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12779 diff-mode-shared-map (bug#8284).
12780 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12782 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12784 * calendar/time-date.el (format-seconds): Use assoc instead of
12785 assoc-string, since assoc-string doesn't exist in XEmacs.
12787 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12789 * custom.el (custom-known-themes): Reflow docstring.
12790 (custom-theme-load-path): Fix typo in docstring.
12791 (load-theme): Fix typo in error message.
12792 (custom-available-themes, custom-variable-theme-value):
12793 Use `let', not `let*'.
12795 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12797 * calc/README: Mention inclusion of musical notes.
12799 * calc/calc-units.el (calc-lu-quant): Rename from
12800 `calc-logunits-quantity'.
12801 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12802 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12803 (calc-db): Rename from `calc-dblevel'.
12804 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12805 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12806 (calc-np): Rename from `calc-nplevel'.
12807 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12808 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12809 (calc-lu-plus): Rename from `calc-logunits-add'.
12810 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12811 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12812 (calc-lu-minus): Rename from `calc-logunits-sub'.
12813 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12814 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12815 (calc-lu-times): Rename from `calc-logunits-mul'.
12816 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12817 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12818 (calc-lu-divide): Rename from `calc-logunits-div'.
12819 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12820 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12822 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12823 functions being autoloaded.
12825 * calc/calc.el (calc-lu-power-reference): Rename from
12826 `calc-logunits-power-reference'.
12827 (calc-lu-field-reference): Rename from
12828 `calc-logunits-field-reference'.
12830 * calc/calc-help.el (calc-l-prefix-help):
12831 Mention musical note functions.
12833 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12835 * minibuffer.el (completion-all-sorted-completions):
12836 Use :completion-cycle-penalty text property if present.
12838 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12840 * allout.el (allout-yank-processing): Adjust for new rebulleting
12841 regime so bullet being yanked is used without prompting the user
12844 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12846 * startup.el (command-line): Warn the user that _emacs is deprecated.
12848 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12850 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12851 (delphi-verbose, delphi-comment-face, delphi-string-face)
12852 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12853 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12854 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12855 (delphi-new-comment-line, delphi-font-lock-defaults)
12856 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12857 Fix typos in docstrings.
12859 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12861 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12862 Invert the roles of character and string values for INSTEAD, so a
12863 string is used for the more common case of a defaulting prompt.
12865 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12867 * progmodes/ruby-mode.el (ruby-backward-sexp):
12868 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12869 * play/gamegrid.el (gamegrid-make-face):
12870 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12871 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12872 * notifications.el (notifications-notify):
12873 * net/xesam.el (xesam-search-engines):
12874 * net/quickurl.el (quickurl-list-insert):
12875 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12877 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12879 * startup.el (command-line): Update package subdirectory regexp.
12881 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12883 * allout.el (allout-abbreviate-flattened-numbering)
12884 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12886 * subr.el (read-char-choice): Only show the cursor after the prompt,
12887 not after the answer.
12889 2011-03-15 Kevin Ryde <user42@zip.com.au>
12891 * help-fns.el (variable-at-point): Skip leading quotes, if any
12894 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12899 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12901 * shell.el (shell): When called interactively, offer to change the
12902 shell file name on remote hosts.
12904 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12906 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12907 integration for LDAP parameters. The host, base, user or binddn,
12908 and secret tokens can be specified in a netrc file, for instance.
12909 This is optional because an `auth-source' parameter must be
12910 specified in the search attributes.
12912 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12914 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12916 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12918 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12919 into declaration. Remove redundant and harmful binding.
12921 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12923 * files.el (file-ownership-preserved-p): Pass `integer' as an
12924 explicit 2nd argument to `file-attributes'. If the file's owner
12925 is the Administrators group on Windows, and the current user is
12926 Administrator, consider that a match.
12928 * server.el (server-ensure-safe-dir): Consider server directory
12929 safe on MS-Windows if its owner is the Administrators group while
12930 the current Emacs user is Administrator. Use `=' to compare
12931 numerical UIDs, since they could be integers or floats.
12933 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12935 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12937 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12939 Sync with Tramp 2.2.1.
12941 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12943 * net/trampver.el: Update release number.
12945 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12947 * progmodes/compile.el (compilation--previous-directory): Fix up
12948 various nil/dead-marker mismatches (bug#8014).
12949 (compilation-directory-properties, compilation-error-properties):
12950 Don't call it at a position past the one we're about to change.
12952 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12953 Disable obsolescence warnings in the file that declares it.
12955 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12957 * allout-widgets.el (allout-widgets-tally):
12958 Initialize allout-widgets-tally as a hash table rather than nil to
12959 prevent mode-line redisplay warnings. Also, clarify the module
12960 description and fix a comment typo.
12962 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12964 * help-fns.el (describe-variable): Don't complete keywords.
12965 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12967 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12969 * emacs-lisp/package.el (package-version-join): Impose a standard
12970 string representation for pre/alpha/beta version lists.
12971 (package-unpack-single): Standardize the directory name by passing
12972 it through package-version-join.
12973 (package-strip-rcs-id): Accept any version string that does not
12974 signal an error in version-to-list.
12976 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12978 * simple.el (delete-trailing-whitespace): Return nil for the
12979 benefit of `write-file-functions'.
12981 2011-03-10 Glenn Morris <rgm@gnu.org>
12983 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12985 * vc/vc-git.el (vc-git-program): New option.
12986 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12987 (vc-git--call): Use it.
12989 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12991 * cus-edit.el (Custom-newline): If no button at point, look
12992 for a subgroup button at start-of-line. (Bug#2298)
12994 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12996 2011-03-10 Julien Danjou <julien@danjou.info>
12998 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12999 `cursor-type' is nil.
13001 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13003 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13005 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13007 * allout.el: Change so yank of distinctive-bullet items
13008 preserves the existing header prefix, rebulleting it if necessary,
13009 rather than replacing it. This is necessary for proper operation
13010 of cooperative addons like allout-widgets.
13011 (allout-make-topic-prefix, allout-rebullet-heading):
13012 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13013 value as alternate bullet to be used, instead of prompting the user
13014 for a bullet character.
13016 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13018 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13019 Do not use `tramp-file-name-port', because this returns also
13020 `tramp-default-port'.
13022 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13024 * net/rcirc.el (rcirc-handler-001): Remove useless
13025 with-rcirc-process-buffer.
13026 (rcirc-check-auth-status): Swap arguments to string-match.
13028 2011-03-09 Glenn Morris <rgm@gnu.org>
13030 * shell.el (shell-mode):
13031 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13033 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13034 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13036 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13038 * emacs-lisp/package.el (package-refresh-contents)
13039 (package-menu-execute): Use condition-case-no-debug.
13041 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13043 * simple.el (shell-command-to-string): Use `process-file'.
13045 * emacs-lisp/package.el (package-tar-file-info): Handle also
13048 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13049 Use `equal' for upload base check.
13051 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13053 * textmodes/texinfo.el (texinfo-environments):
13054 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13056 2011-03-08 Glenn Morris <rgm@gnu.org>
13058 * cus-start.el (cursor-in-non-selected-windows):
13059 Fix :set quoting oddness. (Bug#8192)
13061 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13062 in some setf expressions. (Bug#2159)
13064 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13066 * custom.el (custom-available-themes): Return themes in
13067 alphabetical order.
13069 See ChangeLog.15 for earlier changes.
13071 ;; Local Variables:
13075 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13077 This file is part of GNU Emacs.
13079 GNU Emacs is free software: you can redistribute it and/or modify
13080 it under the terms of the GNU General Public License as published by
13081 the Free Software Foundation, either version 3 of the License, or
13082 (at your option) any later version.
13084 GNU Emacs is distributed in the hope that it will be useful,
13085 but WITHOUT ANY WARRANTY; without even the implied warranty of
13086 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13087 GNU General Public License for more details.
13089 You should have received a copy of the GNU General Public License
13090 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.