1 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3 Avoid the obsolete `assoc' package.
4 * speedbar.el (speedbar-refresh): Avoid adelete.
5 (speedbar-file-lists): Simplify and avoid aput.
6 * man.el (Man--sections, Man--refpages): New vars, replacing
7 Man-sections-alist and Man-refpages-alist.
8 (Man-build-section-alist, Man-build-references-alist):
10 (Man--last-section, Man--last-refpage): New vars.
11 (Man-follow-manual-reference): Use them.
12 Use the `default' arg of completing-read.
13 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15 2012-04-27 Chong Yidong <cyd@gnu.org>
17 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
19 * startup.el (x-apply-session-resources): New function.
21 * term/ns-win.el (ns-initialize-window-system):
22 * term/w32-win.el (w32-initialize-window-system):
23 * term/x-win.el (x-initialize-window-system): Use it to properly
24 set menu-bar-mode and other vars from X resources, even if the
25 initial frame is not a window-system frame (Bug#2299).
27 * subr.el (read-key): Avoid running filter function when setting
28 up temporary tool bar entries (Bug#9922).
30 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
32 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
35 2012-04-27 Chong Yidong <cyd@gnu.org>
37 * select.el (xselect--encode-string): New function, split from
38 xselect-convert-to-string.
39 (xselect-convert-to-string): Use it.
40 (xselect-convert-to-filename, xselect-convert-to-os)
41 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
42 returned strings are properly encoded (Bug#11315).
44 2012-04-27 Chong Yidong <cyd@gnu.org>
46 * simple.el (delete-active-region): Move to killing custom group.
48 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
50 * progmodes/which-func.el (which-func-current): Quote %
51 characters for mode-line processing.
53 2012-04-27 Chong Yidong <cyd@gnu.org>
55 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
56 reaching eob (Bug#11286).
58 2012-04-27 Eli Zaretskii <eliz@gnu.org>
60 * progmodes/gdb-mi.el (gdb-control-level): New variable.
61 (gdb): Make it buffer-local and init to zero.
62 (gdb-control-commands-regexp): New variable.
63 (gdb-send): Don't wrap in "-interpreter-exec console" if
64 gdb-control-level is positive. Increment gdb-control-level
65 whenever the command matches gdb-control-commands-regexp, and
66 decrement it each time the command is "end". (Bug#11279)
68 2012-04-27 Martin Rudalics <rudalics@gmx.at>
70 * window.el (adjust-window-trailing-edge, enlarge-window)
71 (shrink-window, window-resize):
72 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
75 2012-04-27 Chong Yidong <cyd@gnu.org>
77 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
78 fix "missing prefix" warning. All callers changed.
80 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
82 * emacs-lisp/assoc.el: Move to obsolete/.
84 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
86 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
88 * term/ns-win.el (ns-define-service):
89 * progmodes/pascal.el (pascal-goto-defun):
90 * progmodes/js.el (js--read-tab):
91 * progmodes/etags.el (tags-lazy-completion-table):
92 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
93 * emacs-lisp/ewoc.el (ewoc--wrap):
94 * emacs-lisp/assoc.el (aput, adelete, amake):
95 * doc-view.el (doc-view-convert-current-doc):
96 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
98 2012-04-26 Chong Yidong <cyd@gnu.org>
100 * image.el (image-type-from-buffer): Only return supported image
103 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
104 value, for symmetry with diff-end-of-hunk.
105 (diff-split-hunk, diff-find-source-location)
106 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
107 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
108 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
109 compute the relevant hunk or file properly (Bug#6005).
110 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
112 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
121 * vc/vc.el: Replace lexical-let by lexical-binding.
122 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
123 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
124 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
126 2012-04-26 Chong Yidong <cyd@gnu.org>
128 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
129 (diff-mode-shared-map): Bind it to / and [remap undo].
131 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
132 (ediff-window-setup-function): Use it as the default, to set up
133 windows based on whether the current frame is graphical (Bug#2138).
134 (ediff-choose-window-setup-function-automatically): Make obsolete.
136 * vc/ediff-init.el: Always define ediff-pixel-width/height.
138 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
140 * ffap.el: Remove old code for obsolete package.
141 (ffap-complete-as-file-p): Remove.
143 Use completion-table-with-quoting for comint and pcomplete.
144 * comint.el (comint--unquote&requote-argument)
145 (comint--unquote-argument, comint--requote-argument): New functions.
146 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
147 (comint-quote-filename): Use regexp-opt-charset.
148 (comint--common-suffix, comint--common-quoted-suffix)
149 (comint--table-subvert): Remove.
150 (comint-unquote-function, comint-requote-function): New vars.
151 (comint--complete-file-name-data): Use them with
152 completion-table-with-quoting.
153 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
154 * pcomplete.el (pcomplete-arg-quote-list)
155 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
156 (pcomplete-unquote-argument-function): Default to non-nil.
157 (pcomplete-unquote-argument): Simplify.
158 (pcomplete--common-quoted-suffix): Remove.
159 (pcomplete-requote-argument-function): New var.
160 (pcomplete--common-suffix): New function.
161 (pcomplete-completions-at-point): Use completion-table-with-quoting
162 and completion-table-subvert.
164 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
165 (minibuffer--double-dollars): Preserve properties.
166 (completion--sifn-requote): New function.
167 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
169 * minibuffer.el: Add support for completion of quoted/escaped data.
170 (completion-table-with-quoting, completion-table-subvert): New funs.
171 (completion--twq-try, completion--twq-all): New functions.
172 (completion--nth-completion): New function.
173 (completion-try-completion, completion-all-completions): Use it.
175 2012-04-25 Leo Liu <sdl.web@gmail.com>
177 * progmodes/python.el (python-pdbtrack-get-source-buffer):
178 Use compilation-message if available to find real filename.
180 2012-04-25 Chong Yidong <cyd@gnu.org>
182 * vc/diff-mode.el (diff-setup-whitespace): New function.
185 * vc/diff.el (diff-sentinel):
186 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
187 Whitespace mode variables based on diff style (Bug#8612).
189 2012-04-25 Leo Liu <sdl.web@gmail.com>
191 * progmodes/python.el (python-send-region): Add suffix .py to the
194 * files.el (auto-mode-alist): Use javascript-mode instead.
196 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
198 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
200 * soap-client.el (soap-resolve-references-for-sequence-type)
201 (soap-resolve-references-for-array-type): Hack to prevent self
202 references, see Bug#9.
203 (soap-parse-envelope): Report the contents of the 'detail' node
204 when receiving a fault reply.
205 (soap-parse-envelope): Report the contents of the entire 'detail' node.
207 * soap-inspect.el (soap-sample-value-for-simple-type)
208 (soap-inspect-simple-type): New function.
210 * soap-client.el (soap-simple-type): New struct.
211 (soap-default-xsd-types, soap-default-soapenc-types)
212 (soap-decode-basic-type, soap-encode-basic-type):
213 support unsignedInt and double basic types.
214 (soap-resolve-references-for-simple-type)
215 (soap-parse-simple-type, soap-encode-simple-type): New function.
216 (soap-parse-schema): Parse xsd:simpleType declarations.
218 * soap-client.el (soap-default-xsd-types)
219 (soap-default-soapenc-types): Add integer, byte and anyURI types.
220 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
221 the local name of "soapenc:Array".
222 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
223 decoding integer, byte and anyURI xsd types.
225 2012-04-25 Chong Yidong <cyd@gnu.org>
227 * cus-edit.el (custom-buffer-create-internal): Update header text.
229 2012-04-25 Eli Zaretskii <eliz@gnu.org>
231 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
232 settings on 'system-type', not on 'window-system'. On MS-Windows,
233 set interactive-mode on in GDB.
235 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
237 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
238 (ruby-syntax-propertize-regexp): Remove.
239 (ruby-syntax-propertize-function): Split regexp into chunks.
240 Match following code directly.
242 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
244 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
245 (ruby-syntax-propertize-regexp): New function.
246 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
247 by a special keyword.
249 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
250 (ruby-syntax-general-delimiters-goto-beg)
251 (ruby-syntax-propertize-general-delimiters): New functions.
252 (ruby-syntax-propertize-function): Use them to handle GDL.
253 (ruby-font-lock-keywords): Move old handling of GDL...
254 (ruby-font-lock-syntactic-keywords): .. to here.
255 (ruby-calculate-indent): Adjust indentation for GDL.
257 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
259 * notifications.el (top): Remove unneeded declarations.
260 (notifications-specification-version): Change to "1.2".
261 (notifications-interface, notifications-notify-method)
262 (notifications-close-notification-method): Fix docstring.
263 (notifications-get-capabilities-method): New defconst.
264 (notifications-notify): Add :action-items, :resident and
265 :transient hints. Change "image_data" to "image-data" and
266 "image_path" to "image-path".
267 (notifications-get-capabilities): New defun.
269 2012-04-24 Leo Liu <sdl.web@gmail.com>
271 * progmodes/python.el: Move hideshow setup to the end.
273 2012-04-24 Martin Rudalics <rudalics@gmx.at>
275 * window.el (handle-select-window): Clear echo area since this is
276 no more done by read_char (Bug#11304).
278 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
280 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
281 and `/ M' to filter-derived-mode.
282 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
283 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
284 (ibuffer-mark-by-mode): Use default rather than initial-input.
285 (ibuffer-filter-by-derived-mode): Autoload and require-match.
287 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
289 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
290 (ibuffer-filter-by-derived-mode): New filter.
291 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
293 2012-04-23 Andreas Politz <politza@fh-trier.de>
295 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
297 2012-04-23 Chong Yidong <cyd@gnu.org>
299 * cus-edit.el (customize-apropos, customize-apropos-options):
300 Disable matching of non-option variables (Bug#11176).
301 (customize-option, customize-option-other-window)
302 (customize-changed-options): Doc fix.
303 (customize-apropos-options, customize-apropos-faces)
304 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
306 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
307 Fix word list splitting (Bug#11132).
308 (apropos-symbol, apropos-keybinding, apropos-label)
309 (apropos-property, apropos-function-button)
310 (apropos-variable-button, apropos-misc-button): New faces.
311 (apropos-symbol-face, apropos-keybinding-face)
312 (apropos-label-face, apropos-property-face, apropos-match-face):
313 Variables removed (Bug#8396).
314 (apropos-library-button, apropos-format-plist, apropos-print)
315 (apropos-print-doc, apropos-describe-plist): Callers changed.
317 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
319 * net/xesam.el (xesam-mode-map): Use let-bound map in
320 initialization. (Bug#11292)
322 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
324 Preserve ispell session localwords when switching back to
327 * ispell.el (ispell-buffer-session-localwords): New buffer-local
328 variable to hold buffer session localwords.
329 (ispell-kill-ispell): add option 'clear to delete session
331 (ispell-command-loop, ispell-change-dictionary)
332 (ispell-buffer-local-words): Preserve session localwords when
335 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
336 Preserve session localwords when needed.
338 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
340 * ispell.el (ispell-insert-word) Remove unneeded function using
341 obsolete `translation-table-for-input'.
342 (ispell-word, ispell-process-line, ispell-complete-word):
343 Use plain `insert' instead of removed `ispell-insert-word'.
345 2012-04-22 Chong Yidong <cyd@gnu.org>
347 * cus-edit.el (custom-variable-menu)
348 (custom-variable-reset-saved, custom-face-menu)
349 (custom-face-reset-saved): If there is no saved value, make the
350 "reset-saved" operation bring back the default (Bug#9509).
351 (custom-face-state): Properly detect themed faces.
353 * faces.el (face-spec-set): Stop supporting deprecated form of
356 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
358 Move functions from C to Lisp. Make non-blocking method calls
359 the default. Implement further D-Bus standard interfaces.
361 * net/dbus.el (dbus-message-internal): Declare function.
362 Remove unneeded function declarations.
363 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
364 (dbus-message-type-method-return, dbus-message-type-error)
365 (dbus-message-type-signal): Declare variables. Remove local
367 (dbus-interface-dbus, dbus-interface-peer)
368 (dbus-interface-introspectable, dbus-interface-properties)
369 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
371 (dbus-interface-objectmanager): New defconst.
372 (dbus-call-method, dbus-call-method-asynchronously)
373 (dbus-send-signal, dbus-method-return-internal)
374 (dbus-method-error-internal, dbus-register-service)
375 (dbus-register-signal, dbus-register-method): New defuns, moved
377 (dbus-call-method-handler, dbus-setenv)
378 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
380 (dbus-call-method-non-blocking): Make it an obsolete function.
381 (dbus-unregister-object, dbus-unregister-service)
382 (dbus-handle-event, dbus-register-property)
383 (dbus-property-handler): Obey the new structure of
384 `bus-registered-objects'.
385 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
386 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
387 Use `dbus-call-method'.
389 2012-04-22 Chong Yidong <cyd@gnu.org>
391 * cus-edit.el (custom-commands, custom-reset-menu)
392 (Custom-reset-standard): Tweak labels.
393 (custom-reset-button-menu): Change default to t.
394 (custom-buffer-create-internal): For the custom-reset-button-menu
395 case, put the revert button first.
396 (custom-group-subtitle): New face.
397 (custom-group-value-create): Align docstring to a specific column.
399 * wid-edit.el (widget-documentation-link-add): Don't handle
400 indentation in this function.
401 (widget-documentation-string-indent-to): New function.
402 (widget-documentation-string-value-create): Use it.
404 * autorevert.el (auto-revert):
405 * epg-config.el (epg):
406 * ibuffer.el (ibuffer):
409 * eshell/eshell.el (eshell):
410 * net/ange-ftp.el (ange-ftp):
411 * progmodes/ebnf2ps.el (postscript):
412 * progmodes/flymake.el (flymake):
413 * progmodes/prolog.el (prolog):
414 * progmodes/verilog-mode.el (verilog-mode):
415 * progmodes/which-func.el (which-func):
416 * term/xterm.el (xterm):
417 * textmodes/picture.el (picture):
418 * textmodes/tildify.el (tildify):
419 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
420 customization buffers.
422 2012-04-22 Alan Mackenzie <acm@muc.de>
424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
425 Adding a ) can hide the resulting (..) from searches. Fix it.
426 Bound the backward search to the position of the existing (.
428 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
430 * progmodes/verilog-mode.el (verilog-mode): Check whether
431 which-func-modes is t before adding verilog-mode.
432 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
434 2012-04-21 Leo Liu <sdl.web@gmail.com>
436 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
438 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
440 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
441 filling of the last column of a table (Bug#5635).
442 (woman-find-next-control-line): New arg, specifying an additional
443 regexp component for the control line.
444 (woman2-roff-buffer): Use it.
445 (woman-break-table): New function.
448 2012-04-21 Chong Yidong <cyd@gnu.org>
450 * woman.el (woman-set-buffer-display-table, woman-decode-region)
451 (woman-horizontal-escapes, woman-negative-vertical-space)
452 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
453 (WoMan-warn-ignored): Use ?\s instead of ?\ .
455 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
457 * minibuffer.el (completion-file-name-table): Complete user names.
459 2012-04-20 Leo Liu <sdl.web@gmail.com>
461 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
464 2012-04-20 Chong Yidong <cyd@gnu.org>
466 * server.el (server-execute): Respect initial-buffer-choice if it
467 is a string and there are no files to open (Bug#2825).
468 (server-create-window-system-frame, server-create-tty-frame):
469 Don't switch buffers here.
470 (server-process-filter): Only try to open a window system frame if
471 compiled with graphical support (Bug#8314).
473 2012-04-20 Dan Nicolaescu <dann@gnu.org>
475 * battery.el (battery-echo-area-format): Display remaining time
476 for sysfs backend too (Bug#11269).
477 (battery-linux-sysfs): Fix conditional for the charge.
479 2012-04-20 Chong Yidong <cyd@gnu.org>
481 * progmodes/gdb-mi.el (gdb): Revert previous change.
482 (gdb-inferior-io--init-proc): New function.
483 (gdb-init-1): Use it.
484 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
485 responsible for allocating a new pty and hooking it to gdb when
486 the old pty gets an EIO due to process exit.
487 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
488 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
489 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
491 2012-04-20 Eli Zaretskii <eliz@gnu.org>
493 * window.el (window-min-size, window-sizable, window-min-delta)
494 (window-max-delta, window--resizable, window-resizable)
495 (window-total-size, window-full-height-p, window-full-width-p)
496 (window-in-direction, window--resize-mini-window, window-resize)
497 (window--resize-child-windows-normal)
498 (window--resize-child-windows, window--resize-siblings)
499 (window--resize-this-window, adjust-window-trailing-edge)
500 (enlarge-window, shrink-window): Doc fixes.
502 2012-04-20 Chong Yidong <cyd@gnu.org>
504 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
505 New function to call delete-process on the gdb-inferior buffer's pty.
506 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
507 pty process (Bug#11273).
508 (gdb-update): New arg to suppress talking to the gdb process.
509 (gdb-done-or-error): Use it.
510 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
511 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
512 sentinel not being called.
514 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
516 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
518 2012-04-20 Glenn Morris <rgm@gnu.org>
520 * net/network-stream.el (open-network-stream): Doc fix.
522 2012-04-20 Chong Yidong <cyd@gnu.org>
524 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
526 2012-04-20 Alan Mackenzie <acm@muc.de>
528 Ensure searching for keywords is case sensitive.
530 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
531 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
532 (c-defun-name, c-mark-function, c-cpp-define-name)
533 (c-comment-indent, c-scan-conditionals, c-indent-defun)
534 (c-context-line-break): Bind case-fold-search to nil.
536 * progmodes/cc-mode.el (c-font-lock-fontify-region):
537 Bind case-fold-search to nil.
539 2012-04-20 Chong Yidong <cyd@gnu.org>
541 * mail/sendmail.el (mail-bury): Call return action with the right
542 Rmail buffer (Bug#11242).
544 * server.el (server-process-filter): Handle corner case where both
545 tty and nowait options are present (Bug#11102).
547 2012-04-20 Eli Zaretskii <eliz@gnu.org>
549 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
550 (top level): Put into the executable the ident-style '$Id:' tag on
553 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
555 * electric.el (electric-indent-post-self-insert-function): Check that
556 electric-indent-mode is enabled in current buffer.
558 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
560 * imenu.el (imenu-progress-message): Restore; it is "used" in
561 erc/erc-imenu.el and net/snmp-mode.el.
563 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
565 * avoid.el (mouse-avoidance-mode): Mark unused arg.
566 (mouse-avoidance-nudge-mouse): Remove unused binding.
568 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
570 * descr-text.el (describe-char):
571 * progmodes/python.el (python-describe-symbol):
572 Don't call `toggle-read-only', set `buffer-read-only'.
574 * imenu.el (imenu-default-goto-function): Mark unused args.
575 (imenu-progress-message): Remove obsolete macro; all callers changed.
577 * subr.el (keymap-canonicalize): Remove unused binding.
578 (read-passwd): Mark unused arg.
580 * tutorial.el (tutorial--display-changes): Remove unused binding.
581 (tutorial--save-tutorial-to): Remove unused variable.
583 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
584 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
585 (package-generate-autoloads, package-menu--generate)
586 (package-menu--find-upgrades): Remove unused bindings.
588 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
589 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
590 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
591 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
592 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
593 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
594 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
595 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
596 (cua-delete-char-rectangle): Mark unused args.
597 (cua-align-rectangle): Remove unused binding.
599 * mail/rmail.el (compilation--message->loc)
600 (epa--find-coding-system-for-mime-charset): Declare.
602 * net/dbus.el (dbus-register-service): Declare.
603 (dbus-name-owner-changed-handler): Remove unused binding.
605 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
606 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
607 (nxml-scan-backward-within): Mark unused arg.
608 (nxml-dynamic-markup-word): Remove unused binding.
610 * mouse.el (mouse-menu-major-mode-map):
611 * emacs-lisp/authors.el (authors-scan-change-log)
612 (authors-add-to-author-list):
613 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
614 * emacs-lisp/smie.el (smie-auto-fill):
615 * mail/sendmail.el (mail-bury):
616 * mail/unrmail.el (unrmail):
617 * net/tls.el (open-tls-stream):
618 * textmodes/picture.el (picture-mouse-set-point):
619 Remove unused bindings.
621 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
623 * net/tramp.el (tramp-action-password): Let-bind
624 `enable-recursive-minibuffers' to t.
626 2012-04-18 Sam Steingold <sds@gnu.org>
628 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
629 instead of 'string to accommodate values like [f11].
630 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
631 * progmodes/gdb-mi.el: Likewise.
633 2012-04-18 Leo Liu <sdl.web@gmail.com>
635 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
637 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
640 2012-04-18 Chong Yidong <cyd@gnu.org>
642 * simple.el (line-move): Use forward-line if in batch mode
645 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
647 * files.el (after-find-file): Do not try to add a final newline if
648 the buffer is read-only (Bug#11156).
650 2012-04-17 Richard Stallman <rms@gnu.org>
652 * mail/rmail.el (rmail-start-mail):
653 Pass (rmail-mail-return...) for the return-action.
654 Pass (rmail-yank-current-message...) for the yank-action.
655 (rmail-yank-current-message): New function.
656 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
657 (rmail-reply): Likewise.
658 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
660 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
661 buffer, not the last. Reject temp buffers. Use the rmail-mode
664 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
666 * server.el (server-ensure-safe-dir): Simplify.
668 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
670 * emacs-lisp/smie.el: Provide smarter auto-filling.
671 (smie-auto-fill): New function.
672 (smie-setup): Use it.
674 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
676 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
678 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
679 (comment-indent): Use it.
681 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
683 * ses.el: The overall change is to add cell renaming, that is
684 setting fancy names for cell symbols other than name matching
685 "\\`[A-Z]+[0-9]+\\'" regexp .
686 (ses-localvars): Add ses--renamed-cell-symb-list.
687 (ses-create-cell-variable): New defun.
688 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
689 (ses-relocate-formula): Relocate formulas only for cells the
690 symbols of which are not renamed, i.e. symbols whose names do not
691 match regexp "\\`[A-Z]+[0-9]+\\'".
692 (ses-relocate-all): Relocate values only for cells the symbols of
693 which are not renamed.
694 (ses-load): Create cells variables as the (ses-cell ...) are read,
695 in order to check row col consistency with cell symbol name only
696 for cells that are not renamed.
697 (ses-replace-name-in-formula): New defun.
698 (ses-rename-cell): New defun.
700 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
702 * progmodes/perl-mode.el (perl-indent-parens-as-block):
703 New option (bug#11118).
704 (perl-calculate-indent): Respect it.
706 2012-04-17 Glenn Morris <rgm@gnu.org>
708 * dired-aux.el (dired-mark-read-string): Doc fix.
710 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
712 * dired-aux.el (dired-mark-read-string): Offer optional completion.
713 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
715 2012-04-17 Glenn Morris <rgm@gnu.org>
717 * mouse.el (mouse-drag-track):
718 * speedbar.el (speedbar-frame-mode):
719 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
721 2012-04-16 Leo Liu <sdl.web@gmail.com>
723 * progmodes/python.el: Trivial cleanup.
725 2012-04-16 Glenn Morris <rgm@gnu.org>
727 * vc/vc.el (vc-string-prefix-p):
728 * vc/pcvs-util.el (cvs-string-prefix-p):
729 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
730 * mpc.el (mpc-string-prefix-p):
731 Make all of these into obsolete aliases for string-prefix-p.
733 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
735 * textmodes/two-column.el: Move custom options to the start.
736 (frame-width): Remove compat definition.
737 (2C-associate-buffer, 2C-dissociate):
738 Use with-current-buffer rather than save-excursion.
739 (2C-dissociate): Force a mode-line update.
740 (2C-autoscroll): Use ignore-errors.
742 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
745 * emacs-lisp/cl-extra.el (*random-state*):
746 Remove unnecessary declaration.
748 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
750 * play/cookie1.el (cookie-snarf):
751 Give an explicit error if input file cannot be read.
753 * play/yow.el (yow-file): Use expand-file-name rather than concat.
755 * progmodes/perl-mode.el (c-macro-expand):
756 Remove unnecessary autoload (it is in loaddefs.el).
758 * textmodes/picture.el (picture-desired-column)
759 (picture-update-desired-column): Convert comments to doc-strings.
760 (picture-substitute): Remove function.
761 (picture-mode-map): Initialize in the defvar.
763 * woman.el: Remove eval-after-load for tar-mode.
764 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
765 (woman-tar-extract-file): Autoload it.
767 * frame.el (automatic-hscrolling): Make this alias obsolete.
769 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
771 * ispell.el (ispell-set-spellchecker-params): Post-process
772 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
773 (ispell-dictionary-base-alist): Revert to original XEmacs
774 friendly version for default. [:alpha:] will be added in
775 `ispell-set-spellchecker-params' if needed
777 2012-04-16 Chong Yidong <cyd@gnu.org>
779 * image.el (imagemagick--extension-regexp): New variable.
780 (imagemagick-register-types): Use it.
781 (imagemagick-types-inhibit): Add :set function. Allow new value
782 of t to inhibit all types.
784 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
785 so we can preload it.
787 * loadup.el (fboundp): Preload regexp-opt, needed by
788 imagemagick-register-types.
790 2012-04-15 Chong Yidong <cyd@gnu.org>
792 * frame.el (scrolling): Remove nearly unused customization group.
794 * scroll-all.el (scroll-all-mode): Move to windows group.
796 2012-04-15 Chong Yidong <cyd@gnu.org>
798 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
800 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
802 Avoid the use of ((lambda ...) ...) in lexical-binding code.
803 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
805 2012-04-15 Glenn Morris <rgm@gnu.org>
807 * simple.el (process-file-side-effects): Doc fix.
809 2012-04-15 Glenn Morris <rgm@gnu.org>
811 * international/mule-cmds.el (set-language-environment): Doc fix.
813 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
815 * server.el (server-auth-key, server-generate-key): Doc fixes.
816 (server-get-auth-key): Doc fix. Use `string-match-p'.
817 (server-start): Reflow docstring.
819 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
821 * server.el (server-generate-key): `called-interactively-p'
822 requires a parameter.
824 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
826 * server.el (server-auth-key): New variable.
827 (server-generate-key, server-get-auth-key): New function.
828 (server-start): Use the new variable and functions to allow
829 setting a permanent server key (bug#9423).
831 2012-04-14 Leo Liu <sdl.web@gmail.com>
833 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
835 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
838 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
839 Emacs uses American spelling.
841 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
843 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
844 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
845 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
846 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
848 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
850 * progmodes/which-func.el (which-func-modes): Change default.
852 2012-04-14 Kim F. Storm <storm@cua.dk>
854 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
855 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
857 2012-04-14 Chong Yidong <cyd@gnu.org>
859 * custom.el (custom-theme-set-variables): Doc fix.
861 2012-04-14 Glenn Morris <rgm@gnu.org>
863 * international/mule.el (set-auto-coding-for-load): Doc fix.
865 2012-04-14 Alan Mackenzie <acm@muc.de>
867 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
868 imenu work again for Objective C Mode. Correct the *-index values,
869 these having been disturbed by a previous change in 2011-08.
871 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
872 Correct two search limits.
874 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
876 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
878 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
880 * international/characters.el: Fix sorting.
882 2012-04-14 Eli Zaretskii <eliz@gnu.org>
884 * international/characters.el: Add more missing Latin case pairs.
886 2012-04-14 Glenn Morris <rgm@gnu.org>
888 * files.el (dir-locals-set-class-variables): Doc fix.
890 2012-04-14 Eli Zaretskii <eliz@gnu.org>
892 * international/characters.el: Add set-case-syntax-pair call for
893 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
894 counterpart. (Bug#11209)
896 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
898 2012-04-14 Glenn Morris <rgm@gnu.org>
900 * calendar/holidays.el (calendar-check-holidays): Doc fix.
902 2012-04-14 Eli Zaretskii <eliz@gnu.org>
904 * textmodes/ispell.el (ispell-dictionary-base-alist):
907 2012-04-14 Chong Yidong <cyd@gnu.org>
909 * net/rcirc.el (rcirc-cmd-quit):
910 Revert 2012-03-18 change (Bug#11192).
912 2012-04-14 Glenn Morris <rgm@gnu.org>
914 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
916 2012-04-14 Eli Zaretskii <eliz@gnu.org>
918 * minibuffer.el (completion-in-region-mode-map):
919 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
921 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
923 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
925 2012-04-13 Masatake YAMATO <yamato@redhat.com>
927 * minibuffer.el (minibuffer-local-filename-syntax): New variable
928 to allow `C-M-f' and `C-M-b' to move to the nearest path
929 separator (bug#9511).
931 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
933 * avoid.el: Require cl when compiling. And also move the
934 `provide' to the end.
936 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
938 * avoid.el (mouse-avoidance-banish-position): New variable.
939 (mouse-avoidance-banish-destination): Use it (bug#10165).
941 2012-04-13 Leo Liu <sdl.web@gmail.com>
943 * progmodes/which-func.el (which-func-modes): Add objc-mode.
945 2012-04-13 Ken Brown <kbrown@cornell.edu>
947 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
948 this is no longer needed now that cygstart understands file:// URLs.
949 (browse-url-filename-alist): For the same reason, don't modify
950 file:// URLs on Cygwin.
952 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
954 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
955 the region on shift if the binding is already shifted (bug#11221).
957 2012-04-12 Glenn Morris <rgm@gnu.org>
959 * mail/mailpost.el: Move to obsolete/.
961 2012-04-12 Drew Adams <drew.adams@oracle.com>
963 * imenu.el (imenu--generic-function): Ignore invisible definitions
966 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
968 * hexl.el (hexl-bits): New variable.
969 (hexl-options): Mention the variable in the doc string.
970 (hexl-rulerise, hexl-line-displen): New functions.
971 (hexl-mode): Mention the new variable.
972 (hexl-mode, hexl-current-address, hexl-current-address):
974 (hexl-ascii-start-column): New function.
975 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
976 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
978 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
980 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
981 '("-i" ENCODING), in 2 separate command-line arguments, to specify
982 the encoding, as expected by hunspell.
984 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
986 * battery.el (battery--linux-sysfs-regexp): New const.
987 (battery-status-function): Use it. Remove yeeloong special case.
988 (battery-yeeloong-sysfs): Remove.
989 (battery-echo-area-format): Remove yeeloong special case.
991 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
993 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
994 Reported by Noah Friedman.
996 * subr.el (read-passwd): Use read-string.
998 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1000 * vcursor.el (vcursor-move): Increase the priority of the overlay
1003 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1005 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1006 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1008 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1010 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1011 define-minor-mode (bug#10760).
1013 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1015 * progmodes/grep.el (rgrep): Tweak the find command line so
1016 that directories matching `grep-find-ignored-files' won't be
1019 2012-04-11 Chong Yidong <cyd@gnu.org>
1021 * startup.el (command-line): Remove support for long-obsolete
1022 variable font-lock-face-attributes.
1024 2012-04-11 Glenn Morris <rgm@gnu.org>
1026 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1028 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * window.el (window--state-get-1): Obey window-point-insertion-type.
1032 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1034 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1035 to previous function when point is on the first character of a
1036 function. Take care of that in `narrow-to-defun' (bug#6157).
1038 2012-04-11 Glenn Morris <rgm@gnu.org>
1040 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1041 not just file-errors.
1043 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1044 (vc-bzr-sha1): Use internal sha1.
1046 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1050 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1052 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1053 that start in the middle of the line (bug#10496).
1055 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1057 * battery.el (battery-linux-proc-acpi): Only one battery is
1058 discharged at a time, but that seems to confuse battery.el when
1059 computing `rate-type' for the battery not being discharged
1062 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1066 * international/quail.el: Use dolist and simplify.
1067 (quail-define-package, quail-update-keyboard-layout)
1068 (quail-define-rules): Use dolist.
1069 (quail-insert-kbd-layout, quail-get-translation): CSE.
1071 * tmm.el: Use dolist, remove left over hook.
1072 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1074 (calendar-load-hook): Don't mess with it.
1076 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1077 Use derived-mode-p. Run the diff asynchronously.
1079 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1081 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1083 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1085 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1086 (list-dynamic-libraries--loaded): New function.
1087 (list-dynamic-libraries--refresh): Use it.
1089 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1091 * progmodes/python.el (python-fill-paragraph):
1092 Make python-fill-region in a multiline string work when font-lock is
1093 disabled (bug#7018).
1095 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1097 * language/european.el (cp775): Add oem/legacy (en)coding on
1098 DOS/MS Windows for the Baltic languages. There are still plenty
1099 of texts written in this encoding/codepage (bug#6519).
1101 2012-04-10 Glenn Morris <rgm@gnu.org>
1103 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1104 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1106 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1108 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1109 next-line "n" and previous-line "p" in order to make recentf more
1110 consistent with ibuffer, dired or org-mode (bug#9387).
1112 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1114 * image.el (put-image): Return the overlay created instead of the
1115 optional input string (bug#7834). Note that this may break code
1116 that is (for some reason or other) depending on `put-image'
1117 returning the string.
1119 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1121 * simple.el (zap-to-char): Allow zapping using input methods
1124 * textmodes/fill.el (fill-region): Leave point and mark where they
1125 were before filling (bug#5399).
1127 2012-04-09 Glenn Morris <rgm@gnu.org>
1129 * version.el (emacs-bzr-get-version):
1130 Handle lightweight checkouts of local branches.
1132 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1134 * international/characters.el: Recover lost case pairs. (Bug#11209)
1136 2012-04-09 Chong Yidong <cyd@gnu.org>
1138 * custom.el (custom-variable-p): Return nil for non-symbol
1139 arguments instead of signaling an error.
1140 (user-variable-p): Obsolete alias for custom-variable-p.
1142 * apropos.el (apropos-variable):
1143 * files-x.el (read-file-local-variable):
1144 * simple.el (set-variable):
1145 * woman.el (woman-mini-help):
1146 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1148 2012-04-09 Glenn Morris <rgm@gnu.org>
1150 * startup.el (normal-top-level): Don't look for leim-list.el
1151 in places where it will not be found. (Bug#910)
1153 * international/mule-cmds.el (set-default-coding-systems):
1154 * files.el (normal-mode):
1155 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1156 This function was removed with ucs-tables.el in 2008.
1158 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1160 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1161 ispell-encoding8-command to "-i", without a trailing space.
1162 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1163 separate command-line arguments, to specify the encoding, since
1164 that's how hunspell expects it.
1166 2012-04-08 Glenn Morris <rgm@gnu.org>
1168 * loadup.el: Load bindings before cus-start.
1169 This reduces somewhat the number of "rogue" settings in emacs -Q.
1171 2012-04-07 Glenn Morris <rgm@gnu.org>
1173 * version.el (emacs-bzr-get-version): New function.
1174 (emacs-bzr-version): New variable.
1175 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1176 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1178 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1180 * international/uni-bidi.el, international/uni-category.el:
1181 * international/uni-combining.el, international/uni-decimal.el:
1182 * international/uni-decomposition.el, international/uni-digit.el:
1183 * international/uni-lowercase.el, international/uni-mirrored.el:
1184 * international/uni-name.el, international/uni-numeric.el:
1185 * international/uni-titlecase.el, international/uni-uppercase.el:
1186 Update for Unicode 6.1.
1188 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1190 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1192 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194 * window.el (shrink-window): Mention the `window-min-height'
1195 variable in the doc string.
1197 2012-04-05 Bastien Guerry <bzg@altern.org>
1199 * color.el (color-lighten-name): Fix typo.
1201 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * server.el (server--on-display-p): New function.
1204 (server--on-display-p): Use it.
1206 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1208 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1211 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1213 * comint.el (comint--common-quoted-suffix): Check string boundary
1214 before comparing (bug#11158).
1215 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1217 2012-04-04 Chong Yidong <cyd@gnu.org>
1219 * minibuffer.el (completion-extra-properties): Doc fix.
1221 * subr.el (delayed-warnings-hook): Doc fix.
1223 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1225 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1226 selection (Bug#11159).
1227 (epa-insert-keys): Inform that the default public key will be
1228 exported if no key is selected.
1230 2012-04-04 Richard Stallman <rms@gnu.org>
1232 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1234 2012-04-03 Chong Yidong <cyd@gnu.org>
1236 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1237 mail-insert-file, not its obsolete alias mail-attach-file.
1239 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1241 * notifications.el (notifications-notify): Fix docstring.
1243 2012-04-02 Glenn Morris <rgm@gnu.org>
1245 * emacs-lisp/authors.el (authors-aliases): Another addition.
1247 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1249 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1250 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1251 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1253 2012-04-01 Chong Yidong <cyd@gnu.org>
1255 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1256 Handle root directory properly.
1257 (copy-directory): Caller changed.
1259 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1260 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1262 2012-03-31 Glenn Morris <rgm@gnu.org>
1264 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1266 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1268 * calendar/calendar.el (calendar-window-list)
1269 (calendar-hide-window): Restore. (Bug#11140)
1270 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1272 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1274 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1276 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1277 Check if file is a symlink (Bug#10489).
1279 * files.el (copy-directory): Likewise.
1281 2012-03-30 Chong Yidong <cyd@gnu.org>
1283 * image.el (imagemagick-types-inhibit)
1284 (imagemagick-register-types): Doc fix.
1286 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1288 * ispell.el (ispell-get-extended-character-mode):
1289 Disable extended-char-mode for hunspell. hunspell does not support it
1290 and treats ~word as ordinary words in pipe mode.
1292 2012-03-30 Glenn Morris <rgm@gnu.org>
1294 * tutorial.el (help-with-tutorial): Ensure local variables don't
1295 happen to make the buffer read-only. (Bug#11127)
1297 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1300 (perl-calculate-indent): Return `noindent' in strings.
1302 2012-03-28 Sam Steingold <sds@gnu.org>
1304 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1305 instead of the broken adhockery which does not prevent calendar
1306 buffers from being displayed at random after exit.
1307 (calendar-window-list, calendar-hide-window): Remove the broken
1310 2012-03-28 Glenn Morris <rgm@gnu.org>
1312 * replace.el (query-replace-map): Doc fix.
1314 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1316 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1317 contents. (Bug#11109)
1319 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1323 (avl-tree--check, avl-tree--check-node): New funs.
1325 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1327 * window.el (switch-to-visible-buffer): New option.
1328 (switch-to-prev-buffer, switch-to-next-buffer):
1329 Observe switch-to-visible-buffer. Make sure that checking for a window
1330 showing a buffer already is done on the same frame.
1332 2012-03-27 Glenn Morris <rgm@gnu.org>
1334 * startup.el (mail-host-address): Doc fix.
1336 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1338 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1341 2012-03-26 Ami Fischman <ami@fischman.org>
1343 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1345 2012-03-26 Glenn Morris <rgm@gnu.org>
1347 * files.el (save-buffers-kill-emacs): Doc fix.
1349 * startup.el (normal-top-level, command-line, command-line-1):
1350 Give them doc strings.
1352 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1354 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1355 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1357 2012-03-25 Chong Yidong <cyd@gnu.org>
1359 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1360 theme if it was previously enabled before (Bug#11031).
1362 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1363 spec with custom-face-get-current-spec if its :shown-value is not
1364 determined yet (Bug#9337).
1365 (customize-create-theme, custom-theme-revert): Doc fixes.
1367 * button.el (button-at): Minor addition to docstring.
1369 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1371 * vc/vc.el (vc-merge): Fix a prompt.
1373 2012-03-24 Chong Yidong <cyd@gnu.org>
1375 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1378 * button.el (button-at): Minor addition to docstring.
1380 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * newcomment.el (comment-choose-indent): No space after BOL.
1384 2012-03-22 Sam Steingold <sds@gnu.org>
1386 * window.el (switch-to-prev-buffer): Revert last patch because the
1387 bug turned out to be an advertised feature (Elisp manual 28.14).
1389 2012-03-22 Glenn Morris <rgm@gnu.org>
1391 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1392 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1394 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1396 * net/network-stream.el (network-stream-open-starttls): Make error
1397 message under Windows be less misleading.
1399 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1401 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1402 understands (bug#9942).
1404 2012-03-22 Chong Yidong <cyd@gnu.org>
1406 * simple.el (end-of-visible-line): Handle return value of
1407 next-single-property-change properly (Bug#9371).
1409 2012-03-22 Kenichi Handa <handa@m17n.org>
1411 * international/quail.el (quail-insert-kbd-layout): Fix previous
1412 change. To avoid unwanted bidi reordering, use
1413 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1415 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1417 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1418 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1419 (ruby-beginning-of-indent): Be more careful with the difference
1420 between word-boundary and symbol boundary.
1421 (ruby-mode-syntax-table): Make : a symbol constituent.
1423 2012-03-21 Andreas Politz <politza@fh-trier.de>
1425 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1427 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * progmodes/etags.el (tags-completion-at-point-function):
1432 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1434 2012-03-21 Sam Steingold <sds@gnu.org>
1436 * progmodes/etags.el (tags-completion-at-point-function):
1437 Avoid the error when point is inside the pattern.
1439 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1441 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1444 2012-03-21 Drew Adams <drew.adams@oracle.com>
1446 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1448 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1450 * ido.el (ido-set-current-directory, ido-read-internal)
1451 (ido-choose-completion-string, ido-completion-help): Handle nil
1452 value of ido-completion-buffer (Bug#11008).
1454 2012-03-21 Sam Steingold <sds@gnu.org>
1456 * window.el (switch-to-prev-buffer): Do not switch to a visible
1457 window previous buffer, just like with the frame previous buffers.
1459 2012-03-21 Chong Yidong <cyd@gnu.org>
1461 * faces.el (make-face, make-empty-face, copy-face):
1462 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1465 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1468 (widget-complete): Remove broken use of it.
1470 2012-03-20 Chong Yidong <cyd@gnu.org>
1472 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1473 Use string-width and truncate-string-width to handle arbitrary
1476 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1478 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1479 to draw rectangles, not squares. (Regression introduced by revno
1480 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1482 2012-03-18 Chong Yidong <cyd@gnu.org>
1484 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1485 it is not yet defined (for temacs).
1487 2012-03-18 Leo Liu <sdl.web@gmail.com>
1489 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1491 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1493 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1494 (ispell-choices-win-default-height, ispell-silently-savep)
1495 (ispell-dictionary-alist, ispell-encoding8-command)
1496 (ispell-check-version, ispell-aspell-find-dictionary)
1497 (ispell-valid-dictionary-list, ispell-words-keyword)
1498 (ispell-get-word, ispell-internal-change-dictionary)
1499 (ispell-region, ispell-skip-region-list)
1500 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1501 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1502 (ispell-message-text-end, ispell-message)
1503 (ispell-buffer-local-parsing): Doc fix.
1505 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1507 * htmlfontify.el: Add support for code block fontification for ODT
1509 (hfy-optimisations): Define new option
1511 (hfy-fontify-buffer): Honor above setting.
1512 (hfy-begin-span, hfy-end-span): New routines factored out form
1513 `hfy-fontify-buffer'.
1514 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1515 that permit insertion of custom tags.
1516 (hfy-fontify-buffer): Use above handlers.
1517 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1518 (hfy-face-to-css): Re-defined to be a variable.
1519 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1520 over multiple runs. This is made possible by having the caller let
1521 bind a special variable `hfy-user-sheet-assoc'.
1522 (htmlfontify-string): New defun.
1523 (hfy-compile-face-map): Make sure that the last char in the
1524 buffer is correctly fontified.
1525 (hfy-face-resolve-face): Whitespace only change.
1527 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1529 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1532 2012-03-16 Leo Liu <sdl.web@gmail.com>
1534 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1536 2012-03-16 Alan Mackenzie <acm@muc.de>
1538 Further optimise the handling of large macros.
1540 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1541 limit to a call of `c-literal-limits'.
1542 (c-determine-+ve-limit): New function.
1543 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1544 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1545 In CASE 5B, restrict a search limit to 500.
1546 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1548 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1549 Restrict macro bounds to +-500 from after-change's BEG END.
1551 2012-03-16 Leo Liu <sdl.web@gmail.com>
1553 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1555 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1557 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1558 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1560 2012-03-16 Glenn Morris <rgm@gnu.org>
1562 * view.el (view-buffer, view-buffer-other-window)
1563 (view-buffer-other-frame): Doc fixes re special mode-class.
1565 * subr.el (eval-after-load): If named feature is provided not from
1566 a file, run after-load forms. (Bug#10946)
1568 * calendar/calendar.el (calendar-insert-at-column):
1569 Handle non-unit-width characters a bit better. (Bug#10978)
1571 2012-03-15 Chong Yidong <cyd@gnu.org>
1573 * emacs-lisp/ring.el (ring-extend): New function.
1574 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1576 * comint.el (comint-read-input-ring)
1577 (comint-add-to-input-history): Grow comint-input-ring lazily.
1579 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1582 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1584 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1585 (imenu-add-to-menubar): Don't add a redundant index.
1586 (imenu-update-menubar): Handle a dynamically composed keymap.
1588 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1590 * mail/sendmail.el (mail-encode-header):
1591 Bind rfc2047-encode-encoded-words to nil.
1593 2012-03-13 Glenn Morris <rgm@gnu.org>
1595 * calendar/calendar.el (calendar-string-spread):
1596 Handle non-unit-width characters a bit better. (Bug#10978)
1598 2012-03-13 Leo Liu <sdl.web@gmail.com>
1600 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1601 directory and file as argument (Bug#10822).
1603 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1605 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1606 For dynamically generated code, follow $PC.
1607 (gdb-disassembly-handler-custom): Handle no function name case.
1609 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1611 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1612 * emulation/ws-mode.el (ws-query-replace):
1613 * sort.el (sort-regexp-fields):
1614 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1616 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * dabbrev.el: Fix cycle completion order (bug#10963).
1619 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1620 (dabbrev-completion): Don't use an obarray; provide
1621 a cycle-sort-function.
1623 2012-03-12 Leo Liu <sdl.web@gmail.com>
1625 * simple.el (kill-new): Use equal-including-properties for comparison.
1626 (kill-do-not-save-duplicates): Doc fix.
1628 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * dabbrev.el: Fix cycle completion (bug#10963).
1631 Use lexical binding and wrap to 80 columns.
1632 (dabbrev-completion): Delay computing the list of completions.
1634 2012-03-12 Kenichi Handa <handa@m17n.org>
1636 * international/quail.el (quail-insert-kbd-layout): Surround each
1637 row by LRO and PDF instead of inserting many LRMs. Pad the left
1638 and right of each non-spacing marks. Insert invisible space
1639 between lower and upper characters to prevent composition.
1641 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1643 * minibuffer.el (minibuffer-complete): Don't get confused when the
1644 function is run twice via different commands (bug#10958).
1645 (complete-with-action): Fix docstring.
1647 2012-03-12 Chong Yidong <cyd@gnu.org>
1649 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1650 (nxml-completion-at-point-function): New function.
1651 (nxml-mode): Use it.
1652 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1654 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1655 Load generated autoloads file before byte compiling (Bug#10970).
1656 (package--make-autoloads-and-compile): New helper fun.
1658 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1660 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1662 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1664 * autorevert.el (auto-revert-handler): Ensure, that
1665 file-readable-p is applied only for local files or in
1666 auto-revert-tail-mode.
1668 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1670 * server.el (server-eval-at): Handle non-tcp connections.
1671 Decode result string.
1673 * server.el (server-msg-size): New constant.
1674 (server-reply-print): New function.
1675 (server-eval-and-print): Use it.
1676 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1679 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1681 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1684 2012-03-11 Chong Yidong <cyd@gnu.org>
1686 * simple.el (goto-line): Doc fix (Bug#9938).
1688 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1690 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1691 when finished (Bug#10963).
1693 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1695 * window.el (split-window-below): Fix bug in case where
1696 split-window-keep-point is nil (Bug#10971).
1698 2012-03-11 Juri Linkov <juri@jurta.org>
1700 * replace.el (replace-highlight): Set isearch-word to nil
1701 unconditionally. (Bug#10887)
1703 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1705 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1706 mairix-replace-illegal-chars; all callers changed. Don't remove
1707 ^, ~, and = characters: they are meaningful in mairix search specs.
1708 (mairix-widget-create-query): Add usage information about mairix
1709 search forms: negating words, searching for substrings, etc.
1711 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1713 * international/fontset.el (font-encoding-alist): Add an entry for
1716 2012-03-10 Richard Stallman <rms@gnu.org>
1718 * mail/sendmail.el (mail-encode-header):
1719 Set rfc2047-encode-encoded-words.
1721 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1723 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1724 view buffer means not swapped.
1725 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1726 (rmail-write-region-annotate): Error if real text has disappeared.
1728 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1730 2012-03-10 Chong Yidong <cyd@gnu.org>
1732 * emulation/cua-rect.el (cua--init-rectangles):
1733 * emulation/cua-base.el (cua--init-keymaps):
1734 Add delete-forward-char to remappings (Bug#9666).
1736 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1738 * speedbar.el (speedbar-unhighlight-one-tag-line):
1739 Avoid unhighlighting due to frame switching (Bug#10275).
1741 2012-03-10 Chong Yidong <cyd@gnu.org>
1743 * minibuffer.el (completion-in-region, completion-help-at-point):
1744 Give the completion field overlay a high priority (Bug#6830).
1746 * dired.el (dired-goto-file): Recognize absolute file name
1747 listings (Bug#7126).
1748 (dired-goto-file-1): New helper function.
1749 (dired-toggle-read-only): Inhibit warnings.
1751 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1753 * net/dbus.el (dbus-property-handler): Return empty array if
1754 there are no properties.
1756 2012-03-09 Leo Liu <sdl.web@gmail.com>
1758 * savehist.el (savehist-printable): Stricter check for string
1761 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1763 * mail/smtpmail.el (smtpmail-send-it):
1764 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1767 2012-03-09 Glenn Morris <rgm@gnu.org>
1769 * files.el (dir-locals-find-file):
1770 Don't check result is regular, readable.
1771 (dir-locals-read-from-file): Demote errors.
1773 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1775 * international/quail.el (quail-insert-kbd-layout):
1776 Insert invisible LRM characters before each character in a keyboard
1777 layout cell, to prevent their reordering by bidi display engine.
1778 For details, see the discussion in
1779 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1781 2012-03-08 Alan Mackenzie <acm@muc.de>
1783 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1784 the starting position; make it extend the marked region when
1785 invoked repeatedly - all under appropriate circumstances.
1786 Fixes bugs #5525, #10906.
1788 2012-03-08 Glenn Morris <rgm@gnu.org>
1790 * files.el (locate-dominating-file, dir-locals-find-file):
1791 Undo 2012-03-06 change.
1793 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1795 * international/quail.el (quail-help):
1796 Force bidi-paragraph-direction be left-to-right. See discussion in
1797 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1800 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1802 Avoid superfluous registering of signals. (Bug#10807)
1804 * notifications.el (notifications-on-action-object)
1805 (notifications-on-close-object): New defvars.
1806 (notifications-on-action-signal, notifications-on-closed-signal):
1807 Unregister the signal if not needed any longer.
1808 (notifications-notify): Register `notifications-action-signal' or
1809 `notifications-closed-signal', if :on-action or :on-close has been
1812 2012-03-07 Chong Yidong <cyd@gnu.org>
1814 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1817 2012-03-06 Glenn Morris <rgm@gnu.org>
1819 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1820 (x-disown-selection-internal, x-get-selection-internal):
1821 Doc fix (add arglist signatures). (Bug#10783)
1823 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1825 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1826 Handle breakpoints with no "type".
1828 2012-03-06 Glenn Morris <rgm@gnu.org>
1830 * files.el (locate-dominating-file): Add optional predicate argument.
1831 (dir-locals-find-file): Make use of above change.
1833 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1835 * info.el (Info-insert-dir): Also try "dir.gz".
1837 2012-03-06 Glenn Morris <rgm@gnu.org>
1839 * files.el (dir-locals-find-file):
1840 Ignore non-readable or non-regular files. (Bug#10928)
1842 * files.el (locate-dominating-file): Doc fix.
1844 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1846 * calendar/calendar.el (calendar-set-mode-line):
1847 `getenv' returns a string. (Bug#10951)
1849 2012-03-05 Leo Liu <sdl.web@gmail.com>
1851 * simple.el (backward-delete-char-untabify): Constrain point to
1854 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1856 2012-03-05 Chong Yidong <cyd@gnu.org>
1858 * simple.el (count-words): If called from Lisp, return the word
1859 count, for symmetry with `count-lines'. Arglist changed.
1860 (count-words--message): Args changed. Consolidate counting code
1861 from count-words and count-words-region.
1862 (count-words-region): Caller changed.
1863 (count-lines-region): Make it an obsolete alias.
1865 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1867 * saveplace.el (save-place-to-alist)
1868 (save-place-ignore-files-regexp): Allow value nil to disable this
1871 2012-03-04 Chong Yidong <cyd@gnu.org>
1873 * faces.el (face-spec-reset-face): For the default face, reset the
1874 attributes to default values (Bug#10748).
1876 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1878 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1879 previous patch: Check `message-send-mail-function', and not the
1880 default function (bug#10897).
1882 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1884 * notifications.el (notifications-on-action-signal)
1885 (notifications-on-closed-signal): Check for unique service name of
1886 incoming event. Fix error in removing entry.
1887 (top): Register for signals with wildcard service name.
1888 (notifications-notify): Use daemon unique service name for map entries.
1890 2012-03-04 Chong Yidong <cyd@gnu.org>
1892 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1894 2012-03-04 Glenn Morris <rgm@gnu.org>
1896 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1897 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1898 (expand-abbrev, define-abbrev-table): Doc fixes.
1900 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1902 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1903 `message-default-send-mail-function' and not `send-mail-function'
1904 when doing the prompting for `sendmail-query-once' before sending
1905 in Message buffers (bug#10897).
1907 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1908 This is inconsistent with all the other stream functions, which leave
1909 the setting up to the higher levels (if so wanted) (bug#10931).
1911 2012-03-02 Alan Mackenzie <acm@muc.de>
1913 Depessimize the handling of very large macros.
1915 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1916 (c-macro-cache-syntactic): New variables to implement a one
1917 element macro cache.
1918 (c-invalidate-macro-cache): New function.
1919 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1920 Adapt to use the new cache.
1921 (c-state-safe-place): Use better the cache of safe positions.
1922 (c-state-semi-nonlit-pos-cache)
1923 (c-state-semi-nonlit-pos-cache-limit):
1924 New variables for...
1925 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1926 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1927 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1928 Use c-state-semi-safe-place.
1930 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1931 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1933 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1935 * jka-compr.el (jka-compr-call-process):
1936 Apply `file-accessible-directory-p' only when the default directory is
1939 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1941 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1942 access of FILE2, if FILE1 does not exist.
1944 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1945 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1947 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1948 Add "PAGER=" to `process-environment'.
1950 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1952 * progmodes/sql.el: Bug fix
1953 (sql-get-login-ext): Save login values in globals.
1954 (sql-get-login): Use new version of `sql-get-login-ext'.
1955 (sql-interactive-mode): Set global `sql-connection' to nil.
1956 (sql-connect): Set global values for connection.
1957 (sql-product-interactive): Save global values as buffer local.
1959 2012-02-29 Leo Liu <sdl.web@gmail.com>
1961 * abbrev.el (define-abbrevs): Reset sys to nil.
1963 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1965 * files.el (file-equal-p): Rename from `files-equal-p'.
1966 Return nil when one or both files don't exist.
1967 (file-subdir-of-p): Now only top directory must exists,
1968 return nil if it doesn't.
1969 (copy-directory): No need to test with `file-subdir-of-p' after
1971 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1974 2012-02-28 Glenn Morris <rgm@gnu.org>
1976 * shell.el (shell-mode):
1977 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1978 * play/landmark.el (landmark-font-lock-face-O):
1979 * play/handwrite.el (handwrite):
1980 * play/gomoku.el (gomoku-O):
1981 * net/browse-url.el (browse-url-browser-display):
1982 * international/mule.el (define-charset):
1983 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1984 * filesets.el (filesets-find-file-delay):
1985 * eshell/em-xtra.el (eshell-xtra):
1986 * eshell/em-unix.el (eshell-grep):
1987 * emulation/viper.el (viper-mode):
1988 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1989 * emacs-lisp/easymenu.el (easy-menu-define):
1990 * calendar/timeclock.el (timeclock-use-display-time):
1992 * bookmark.el (bookmark-save-flag):
1993 Doc fix (standardize possessive apostrophe usage).
1995 2012-02-27 Chong Yidong <cyd@gnu.org>
1997 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1998 Fix key-binding lookup for ESC key (Bug#9146).
2000 * font-lock.el (font-lock-specified-p): Rename from
2001 font-lock-spec-present. Callers changed.
2003 2012-02-27 Daniel Hackney <dan@haxney.org>
2005 * emacs-lisp/package.el (package-compute-transaction):
2006 Handle holding a package version to t in package-load-list.
2008 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2010 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2011 (tramp-get-inode, tramp-get-device): Use cached values.
2013 2012-02-26 Alan Mackenzie <acm@muc.de>
2015 Check there is a font-lock specification before doing initial
2018 * font-core.el (font-lock-mode): Move the conditional from
2019 :after-hook to font-lock-initial-fontify.
2020 (font-lock-default-function): Move the check for a specification
2021 to font-lock-spec-present.
2023 * font-lock.el (font-lock-initial-fontify): Call ...
2024 (font-lock-spec-present): New function.
2026 2012-02-26 Jim Blandy <jimb@red-bean.com>
2028 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2029 (gdb-send): Apply it to the operand of the '-interpreter-exec
2030 console' command, so that we can pass arguments with (say) quotes
2031 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2033 2012-02-26 Chong Yidong <cyd@gnu.org>
2035 * help-fns.el (describe-function-1): Clarify description of
2036 remapping (Bug#10844).
2038 * files.el (files-equal-p): Doc fix.
2039 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2040 and quit the loop once a mismatch is found.
2042 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2044 * bs.el (bs--show-with-configuration): Don't throw an error
2045 if the window cannot be split; otherwise, subsequent calls to
2046 bs-show fail, restoring a stale window config. (Bug#10882)
2048 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2050 * term/ns-win.el (global-map): Bind ns-drag-file to
2051 ns-find-file (Bug#5855, Bug#10050).
2053 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2055 * calendar/parse-time.el (parse-time-string): Allow extractor to
2058 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2060 * net/tramp.el (tramp-file-name-for-operation):
2061 Add `files-equal-p' and `file-subdir-of-p'.
2063 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2064 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2065 Add COPY-CONTENTS argument.
2067 2012-02-25 Chong Yidong <cyd@gnu.org>
2069 Add custom groups for VC backends, for consistency with vc-bzr.
2071 * vc/vc-arch.el (vc-arch):
2072 * vc/vc-cvs.el (vc-cvs):
2073 * vc/vc-git.el (vc-git):
2074 * vc/vc-hg.el (vc-hg):
2075 * vc/vc-mtn.el (vc-mtn):
2076 * vc/vc-rcs.el (vc-rcs):
2077 * vc/vc-sccs.el (vc-sccs):
2078 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2079 All relevant defcustoms reassigned.
2081 2012-02-25 Chong Yidong <cyd@gnu.org>
2083 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2085 * term/x-win.el (x-initialize-window-system): Reduce default for
2086 x-selection-timeout to 5 seconds (Bug#8869).
2088 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2090 * files.el (files-equal-p, file-subdir-of-p): New functions.
2091 (copy-directory): Error when trying to copy a directory on itself.
2092 Add missing copy-contents arg to tramp handler.
2093 * dired-aux.el (dired-copy-file-recursive): Same.
2094 (dired-create-files): Modify destination when source is equal to
2095 dest when copying files.
2096 Return also when dest is a subdir of source. (Bug#10489)
2098 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2100 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2103 2012-02-23 Alan Mackenzie <acm@muc.de>
2105 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2106 parameter "after-hook:" to allow the expansion to run code after
2107 the execution of the mode hooks.
2109 * font-lock.el (font-lock-initial-fontify): New function extracted
2110 from font-lock-mode-internal.
2112 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2115 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2118 (completion--cache-all-sorted-completions): New function.
2119 (completion-all-sorted-completions): Use it.
2120 (completion--do-completion, minibuffer-force-complete):
2121 Use it to re-instate the flush hook.
2123 * icomplete.el (icomplete-completions): Replace last fix with a better
2126 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2128 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2129 when it might call us back infinitely (bug#10797).
2131 2012-02-23 Glenn Morris <rgm@gnu.org>
2133 * minibuffer.el (completion-category-overrides): Doc fix.
2135 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2138 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2140 2012-02-23 Glenn Morris <rgm@gnu.org>
2142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2143 (authors-obsolete-files-regexps, authors-ignored-files)
2144 (authors-ambiguous-files, authors-renamed-files-alist):
2147 2012-02-23 Juri Linkov <juri@jurta.org>
2149 * isearch.el (isearch-occur): Sync interactive spec with occur's
2150 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2152 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2154 2012-02-22 Juri Linkov <juri@jurta.org>
2156 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2157 (ucs-insert): Doc fix. Check for hex digits in the string.
2158 Don't display `nil' in the error message. (Bug#10857)
2160 2012-02-22 Alan Mackenzie <acm@muc.de>
2162 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2164 2012-02-22 Glenn Morris <rgm@gnu.org>
2166 * ffap.el (ffap-c-path):
2167 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2169 2012-02-22 Chong Yidong <cyd@gnu.org>
2171 * custom.el (load-theme): Doc fix.
2173 2012-02-22 Glenn Morris <rgm@gnu.org>
2175 * dired-x.el (dired-guess-shell-alist-default):
2176 Remove escape sequences from nroff output. (Bug#172)
2178 2012-02-21 Glenn Morris <rgm@gnu.org>
2180 * vc/emerge.el (emerge-defvar-local):
2181 Set `permanent-local' property rather than unused `preserved'.
2183 * textmodes/picture.el (picture-delete-char): New alias.
2184 (picture-mode-map): Use it. (Bug#10860)
2185 (picture-mode): Doc fix.
2187 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2189 * newcomment.el (uncomment-region-default): Remove unused binding.
2191 2012-02-21 Glenn Morris <rgm@gnu.org>
2193 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2194 (picture-self-insert, picture-tab-chars): Doc fix.
2195 (picture-mode-map): Fix C-a, C-e.
2197 2012-02-20 Glenn Morris <rgm@gnu.org>
2199 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2201 2012-02-20 Leo Liu <sdl.web@gmail.com>
2203 * icomplete.el (icomplete-completions): Check FROM arg before
2204 passing to substring (Bug#10850).
2206 2012-02-19 Chong Yidong <cyd@gnu.org>
2208 * comint.el: Require ansi-color.
2209 (comint-output-filter-functions): Add ansi-color-process-output.
2211 * ansi-color.el: Don't set comint-output-filter-functions; it is
2212 now in the initial value defined in comint.el.
2213 (ansi-color-apply-face-function): New variable.
2214 (ansi-color-apply-on-region): Use it.
2215 (ansi-color-apply-overlay-face): New function.
2217 * shell.el (shell): No need to require ansi-color.
2218 (shell-mode): Use ansi-color-apply-face-function to highlight
2219 color escapes using font-lock-face property (Bug#10835).
2221 2012-02-19 Chong Yidong <cyd@gnu.org>
2223 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2224 mode-line formats (Bug#10839).
2226 2012-02-18 Glenn Morris <rgm@gnu.org>
2228 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2230 * mail/undigest.el (unforward-rmail-message): Doc fix.
2232 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2234 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2236 * international/characters.el (script-list): Sync with the latest
2237 Unicode Character Database.
2239 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2241 * international/titdic-cnv.el: Remove duplicate coding tag.
2242 * language/cham.el: Likewise.
2243 * language/tai-viet.el: Likewise.
2245 2012-02-18 Glenn Morris <rgm@gnu.org>
2247 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2248 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2249 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2250 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2251 * calendar/holidays.el (holiday-bahai-holidays)
2252 (calendar-holidays, list-holidays):
2253 Use utf-8 Bahá'í in doc-strings, menus, etc.
2255 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2257 * saveplace.el (save-place-ignore-files-regexp): New variable
2258 allowing for excluding files from saving their location of point.
2259 The default value matches the temporary commit message editing
2260 files from Git, SVN, Bazaar, and Mercurial.
2261 (save-place-to-alist): Use it.
2263 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2264 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * newcomment.el (uncomment-region-default): Don't leave extra space
2267 when an arg is provided (bug#8150).
2269 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2271 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2273 2012-02-17 Glenn Morris <rgm@gnu.org>
2275 * net/socks.el: Require network-stream. (Bug#10599)
2277 2012-02-17 Kenichi Handa <handa@m17n.org>
2279 * international/charprop.el:
2280 * international/uni-name.el:
2281 * international/uni-old-name.el:
2282 * international/uni-comment.el: Regenerate.
2284 2012-02-16 Glenn Morris <rgm@gnu.org>
2286 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2287 Interactively in calendar buffer, give an error if not on a date.
2289 2012-02-15 Glenn Morris <rgm@gnu.org>
2291 * shell.el (shell-delimiter-argument-list):
2292 Revert 2011-02-17 change. (Bug#8027)
2294 2012-02-15 Chong Yidong <cyd@gnu.org>
2296 * minibuffer.el (completion-at-point-functions): Doc fix.
2298 * custom.el (defcustom): Doc fix; note use of defvar.
2300 2012-02-15 Glenn Morris <rgm@gnu.org>
2302 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2305 2012-02-14 Glenn Morris <rgm@gnu.org>
2307 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2309 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2311 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2312 way the ports list is computed.
2313 (smtpmail-query-smtp-server): Prompt the user for a port number if
2314 we can't connect to any of the standard ports (bug#10810).
2316 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2318 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2320 2012-02-13 Glenn Morris <rgm@gnu.org>
2322 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2324 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2326 * net/gnutls.el (gnutls-trustfiles): New variable.
2327 (gnutls-negotiate): Use it.
2329 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2331 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2332 does its stuff if Gnus is running.
2334 2012-02-13 Alan Mackenzie <acm@muc.de>
2336 Fix a loop in c-set-fl-decl-start.
2338 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2339 c-backward-syntactic-ws actually moves backwards.
2341 2012-02-13 Leo Liu <sdl.web@gmail.com>
2343 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2344 beginning so that all \C-o chars are removed.
2346 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2348 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2350 2012-02-12 Alan Mackenzie <acm@muc.de>
2352 Fix infinite loop with long macros.
2353 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2355 2012-02-12 Chong Yidong <cyd@gnu.org>
2357 * window.el (display-buffer): Doc fix (Bug#10785).
2359 2012-02-12 Glenn Morris <rgm@gnu.org>
2361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2362 (x-disown-selection-internal, x-get-selection-internal):
2363 Sync docs with the xselect.c versions.
2365 * allout-widgets.el: Add missing license notice.
2367 2012-02-11 Glenn Morris <rgm@gnu.org>
2369 * select.el (x-get-selection-internal, x-own-selection-internal)
2370 (x-disown-selection-internal):
2371 * x-dnd.el (x-get-selection-internal): Update declarations.
2373 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2375 * window.el (window-sides-slots):
2376 * tool-bar.el (tool-bar-position):
2377 * term/xterm.el (xterm-extra-capabilities):
2378 * ses.el (ses-self-reference-early-detection):
2379 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2380 (verilog-auto-wire-type)
2381 (verilog-auto-delete-trailing-whitespace)
2382 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2383 (verilog-auto-tieoff-declaration):
2384 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2385 (sql-oracle-statement-starters, sql-oracle-scan-on):
2386 * progmodes/prolog.el (prolog-align-comments-flag)
2387 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2388 (prolog-left-indent-regexp, prolog-paren-indent-p)
2389 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2390 (prolog-types, prolog-mode-specificators)
2391 (prolog-determinism-specificators, prolog-directives)
2392 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2393 (prolog-electric-dot-flag)
2394 (prolog-electric-dot-full-predicate-template)
2395 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2396 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2397 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2398 (prolog-program-switches, prolog-prompt-regexp)
2399 (prolog-debug-on-string, prolog-debug-off-string)
2400 (prolog-trace-on-string, prolog-trace-off-string)
2401 (prolog-zip-on-string, prolog-zip-off-string)
2402 (prolog-use-standard-consult-compile-method-flag)
2403 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2404 (prolog-imenu-max-lines, prolog-info-predicate-index)
2405 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2406 (prolog-char-quote-workaround):
2407 * progmodes/cc-vars.el (c-defun-tactic):
2408 * net/tramp.el (tramp-encoding-command-interactive)
2409 (tramp-local-end-of-line):
2410 * net/soap-client.el (soap-client):
2411 * net/netrc.el (netrc-file):
2412 * net/gnutls.el (gnutls):
2413 * minibuffer.el (completion-category-overrides)
2414 (completion-cycle-threshold)
2415 (completion-pcm-complete-word-inserts-delimiters):
2416 * man.el (Man-name-local-regexp):
2417 * mail/feedmail.el (feedmail-display-full-frame):
2418 * international/characters.el (glyphless-char-display-control):
2419 * eshell/em-ls.el (eshell-ls-date-format):
2420 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2421 (lisp-lambda-list-keyword-parameter-indentation)
2422 (lisp-lambda-list-keyword-parameter-alignment):
2423 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2424 * dired-x.el (dired-omit-verbose):
2425 * cus-theme.el (custom-theme-allow-multiple-selections):
2426 * calc/calc.el (calc-highlight-selections-with-faces)
2427 (calc-lu-field-reference, calc-lu-power-reference)
2428 (calc-note-threshold):
2429 * battery.el (battery-mode-line-limit):
2430 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2431 (archive-7z-update):
2432 * allout.el (allout-prefixed-keybindings)
2433 (allout-unprefixed-keybindings)
2434 (allout-inhibit-auto-fill-on-headline)
2435 (allout-flattened-numbering-abbreviation):
2436 * allout-widgets.el (allout-widgets-auto-activation)
2437 (allout-widgets-icons-dark-subdir)
2438 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2439 (allout-widgets-theme-dark-background)
2440 (allout-widgets-theme-light-background)
2441 (allout-widgets-item-image-properties-emacs)
2442 (allout-widgets-item-image-properties-xemacs)
2443 (allout-widgets-run-unit-tests-on-load)
2444 (allout-widgets-time-decoration-activity)
2445 (allout-widgets-hook-error-post-time)
2446 (allout-widgets-track-decoration):
2447 Add missing :version tags to new defcustoms and defgroups.
2449 * progmodes/sql.el (sql-ansi-statement-starters)
2450 (sql-oracle-statement-starters): Add custom type.
2452 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2453 (prolog-system-version): Give it a type.
2455 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2457 * term/pc-win.el (x-select-text, x-selection-owner-p)
2458 (x-own-selection-internal, x-disown-selection-internal)
2459 (x-get-selection-internal): Sync doc strings and argument lists
2460 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2462 2012-02-11 Leo Liu <sdl.web@gmail.com>
2464 * progmodes/python.el (python-end-of-statement): Fix infinite
2467 2012-02-10 Glenn Morris <rgm@gnu.org>
2469 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2470 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2472 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2474 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2475 about SMTP before checking the From header.
2477 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2478 into own function for reuse by emacsbug.el.
2480 2012-02-10 Leo Liu <sdl.web@gmail.com>
2482 * subr.el (condition-case-unless-debug): Rename from
2483 condition-case-no-debug. All callers changed.
2484 (with-demoted-errors): Fix caller.
2486 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2487 * nxml/rng-valid.el (rng-do-some-validation):
2488 * emacs-lisp/package.el (package-refresh-contents)
2489 (package-menu-execute):
2490 * desktop.el (desktop-create-buffer):
2491 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2493 2012-02-10 Glenn Morris <rgm@gnu.org>
2495 * textmodes/bibtex.el:
2496 Add missing :version tags for new/changed defcustoms.
2498 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2500 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2502 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2503 (smtpmail-via-smtp): Use it, or fall back on the From address.
2504 (smtpmail-send-it): Ditto.
2506 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2509 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2510 (byte-compile-tmp-var): New const.
2511 (byte-compile-defvar): Use it to minimize .elc size.
2512 Just use `defvar' rather than simulate it (bug#10761).
2514 2012-02-09 Glenn Morris <rgm@gnu.org>
2516 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2518 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2521 * progmodes/compile.el (compilation-error-screen-columns)
2522 (compilation-first-column, compilation-filter-start): Doc fixes.
2524 * vc/log-view.el (log-view-toggle-entry-display):
2525 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2527 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2528 (report-emacs-bug-can-use-xdg-email):
2529 (report-emacs-bug-insert-to-mailer): Doc fixes.
2530 (report-emacs-bug): Message fix.
2532 * net/browse-url.el (browse-url-can-use-xdg-open)
2533 (browse-url-xdg-open): Doc fixes.
2535 * electric.el (electric-indent-mode, electric-pair-mode)
2536 (electric-layout-rules, electric-layout-mode): Doc fixes.
2537 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2539 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2541 * server.el (server-unselect-display): Don't inadvertently kill
2542 the current buffer. (Bug#10729)
2544 2012-02-08 Glenn Morris <rgm@gnu.org>
2546 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2547 (sql-list-table): Doc fixes.
2549 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2550 Comment out (does nothing).
2552 * completion.el (dynamic-completion-mode):
2553 * dirtrack.el (dirtrack-debug-mode):
2554 * electric.el (electric-layout-mode):
2555 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2556 * face-remap.el (text-scale-mode, buffer-face-mode):
2557 * iimage.el (iimage-mode):
2558 * image-mode.el (image-transform-mode):
2559 * minibuffer.el (completion-in-region-mode):
2560 * scroll-lock.el (scroll-lock-mode):
2561 * simple.el (next-error-follow-minor-mode):
2562 * tar-mode.el (tar-subfile-mode):
2563 * tooltip.el (tooltip-mode):
2564 * vcursor.el (vcursor-use-vcursor-map):
2565 * wid-browse.el (widget-minor-mode):
2566 * emulation/tpu-edt.el (tpu-edt-mode):
2567 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2568 * international/iso-ascii.el (iso-ascii-mode):
2569 * language/thai-util.el (thai-word-mode):
2570 * mail/supercite.el (sc-minor-mode):
2571 * net/goto-addr.el (goto-address-mode):
2572 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2573 * progmodes/cwarn.el (cwarn-mode):
2574 * progmodes/flymake.el (flymake-mode):
2575 * progmodes/glasses.el (glasses-mode):
2576 * progmodes/hideshow.el (hs-minor-mode):
2577 * progmodes/pascal.el (pascal-outline-mode):
2578 * textmodes/enriched.el (enriched-mode):
2579 * vc/smerge-mode.el (smerge-mode):
2580 Doc fixes (minor mode argument).
2582 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2584 * ls-lisp.el (ls-lisp-sanitize): New function.
2585 (ls-lisp-insert-directory): Use it to fix or remove any elements
2586 in file-alist with missing attributes. (Bug#4673)
2588 2012-02-07 Alan Mackenzie <acm@muc.de>
2590 Fix spurious recognition of c-in-knr-argdecl.
2592 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2593 putative K&R region.
2595 2012-02-07 Alan Mackenzie <acm@muc.de>
2597 * progmodes/cc-engine.el (c-forward-objc-directive):
2598 Prevent looping in "#pragma mark @implementation".
2600 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2602 * notifications.el (notifications-on-closed-signal): Make `reason'
2603 optional. (Bug#10744)
2605 2012-02-07 Glenn Morris <rgm@gnu.org>
2607 * emacs-lisp/easy-mmode.el (define-minor-mode):
2608 Doc fixes for the macro and the mode it defines.
2610 * image.el (imagemagick-types-inhibit): Doc fix.
2612 * cus-start.el (imagemagick-render-type): Add it.
2614 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2616 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2617 Set the default at load time, too, so that `font-lock-fontify-buffer'
2618 can be called without setting up the entire mode first. This fixes
2619 a bug in `mm-inline-text' with C MIME parts.
2621 2012-02-06 Chong Yidong <cyd@gnu.org>
2623 * simple.el (list-processes--refresh): Delete exited processes
2626 * comint.el (comint-next-prompt): next-single-char-property-change
2627 and prev-single-char-property-change never return nil (Bug#8657).
2629 * custom.el (defcustom): Doc fix (Bug#9711).
2631 2012-02-05 Chong Yidong <cyd@gnu.org>
2633 * cus-edit.el (custom-variable-reset-backup): Quote the value
2634 before storing it in the customized-value property (Bug#6712).
2635 (custom-display): Add a customization type tag.
2636 (custom-buffer-create-internal): Improve tooltip message.
2638 * wid-edit.el (widget-field-value-get): New optional arg to
2639 suppress trailing whitespace truncation.
2640 (character): Use it (Bug#2689).
2642 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2644 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2645 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2647 2012-02-05 Chong Yidong <cyd@gnu.org>
2649 * cus-edit.el (custom-variable-value-create): For mismatched
2650 types, show the current value (Bug#7600).
2652 * custom.el (defcustom): Doc fix.
2654 2012-02-05 Glenn Morris <rgm@gnu.org>
2656 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2658 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2660 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2661 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2662 (pp-last-sexp): Use `looking-at-p'.
2664 2012-02-04 Glenn Morris <rgm@gnu.org>
2666 * files.el (revert-buffer):
2667 Doc fix (mention revert-buffer-in-progress-p).
2669 * emacs-lisp/ert-x.el (ert-simulate-command):
2670 Check deferred-action-list (which is obsolete) is bound.
2672 * subr.el (with-wrapper-hook): Doc fixes.
2674 * simple.el (filter-buffer-substring-functions)
2675 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2677 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2679 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2680 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2682 2012-02-04 Leo Liu <sdl.web@gmail.com>
2684 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2686 2012-02-04 Glenn Morris <rgm@gnu.org>
2688 * image.el (image-extension-data): Add obsolete alias.
2690 * isearch.el (isearch-update): Doc fix.
2692 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2694 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2696 2012-02-03 Glenn Morris <rgm@gnu.org>
2698 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2699 (image-animate-timeout): Doc fix.
2701 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2703 2012-02-02 Glenn Morris <rgm@gnu.org>
2705 * server.el (server-auth-dir): Doc fix.
2706 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2708 * subr.el (run-mode-hooks): Doc fix.
2710 2012-02-02 Juri Linkov <juri@jurta.org>
2712 * image-mode.el (image-toggle-display-image): Remove tautological
2713 `major-mode' from the `derived-mode-p' test.
2715 2012-02-02 Kenichi Handa <handa@m17n.org>
2717 * composite.el (compose-region): Cancel previous change.
2719 2012-02-02 Kenichi Handa <handa@m17n.org>
2721 * composite.el (compose-region, compose-string): Signal error for
2722 a null string component (Bug#6988).
2724 2012-02-01 Chong Yidong <cyd@gnu.org>
2726 * view.el (view-buffer-other-window, view-buffer-other-frame):
2727 Handle special modes like view-buffer (Bug#10650).
2728 (view-buffer): Simplify.
2730 * frame.el (set-frame-font): Tweak meaning of third argument.
2732 * dynamic-setting.el (font-setting-change-default-font):
2733 Use set-frame-font (Bug#9982).
2735 2012-02-01 Glenn Morris <rgm@gnu.org>
2737 * progmodes/compile.el (compilation-internal-error-properties):
2738 Respect compilation-first-column in the "*compilation*" buffer.
2740 * emacs-lisp/easy-mmode.el (define-minor-mode):
2741 Relax :variable's test for a named function.
2743 2012-01-31 Alan Mackenzie <acm@muc.de>
2745 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2748 2012-01-31 Chong Yidong <cyd@gnu.org>
2750 * frame.el (set-frame-font): New arg ALL-FRAMES.
2752 * menu-bar.el (menu-set-font): Use set-frame-font.
2754 * faces.el (face-spec-reset-face): Don't apply unspecified
2755 attribute values to the default face.
2757 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2759 * progmodes/cwarn.el (cwarn): Remove dead link.
2760 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2761 Remove * from defcustom docstrings.
2762 (turn-on-cwarn-mode): Make obsolete.
2763 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2764 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2766 2012-01-31 Glenn Morris <rgm@gnu.org>
2768 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2769 Fix :variable handling of mode a symbol not equal to modefun.
2770 Allow named functions to be used as the cdr of :variable.
2772 2012-01-30 Glenn Morris <rgm@gnu.org>
2774 * emacs-lisp/authors.el (authors-fixed-entries):
2775 Remove reference to deleted file rnewspost.el.
2777 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2779 * window.el (window-with-parameter): Remove unused variable `windows'.
2780 (window--side-check): Remove unused variable `code'.
2781 (window--resize-siblings): Remove unused variable `first'.
2782 (adjust-window-trailing-edge): Remove unused variable `failed'.
2783 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2784 Use `let', not `let*'.
2785 (balance-windows-2): Remove unused variable `found'.
2786 (window--state-put-2): Remove unused variable `splits'.
2787 (window-state-put): Remove unused variable `selected'.
2788 (same-window-p): Use `string-match-p'.
2789 (display-buffer-assq-regexp): Remove unused variable `value'.
2790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2791 Mark argument ALIST as ignored.
2792 (pop-to-buffer): Remove unused variable `old-window'.
2794 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2796 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2797 and .lzma compressed files.
2799 2012-01-29 Chong Yidong <cyd@gnu.org>
2801 * frame.el (window-system-default-frame-alist): Doc fix.
2803 * dynamic-setting.el (font-setting-change-default-font): Don't
2804 change the default face if SET-FONT argument is non-nil (Bug#9982).
2806 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2808 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2810 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2812 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2813 breakpoints in files outside current directory (Bug#6098).
2815 2012-01-29 Chong Yidong <cyd@gnu.org>
2817 * progmodes/python.el: Require ansi-color at top-level.
2819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2820 Define and use in Emacs Lisp mode (Bug#9360).
2821 (lisp-mode-abbrev-table): Add doc.
2822 (lisp-mode-variables): Don't set local-abbrev-table.
2823 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2825 2012-01-28 Roland Winkler <winkler@gnu.org>
2827 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2829 2012-01-28 Roland Winkler <winkler@gnu.org>
2831 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2832 (bibtex-set-dialect): Use it. Either set global values of
2833 dialect-dependent variables or bind these variables buffer-locally
2835 (bibtex-mode): Call bibtex-set-dialect via
2836 hack-local-variables-hook.
2837 (bibtex-dialect): Update docstring.
2838 Add safe-local-variable predicate.
2839 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2841 (bibtex-mode-map): Define menu for each dialect.
2842 (bibtex-entry): Fix docstring.
2844 2012-01-28 Chong Yidong <cyd@gnu.org>
2846 * eshell/esh-arg.el (eshell-quote-argument): New function.
2848 * eshell/esh-ext.el (eshell-invoke-batch-file):
2849 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2850 first arg to eshell-parse-command (Bug#10523).
2852 2012-01-28 Drew Adams <drew.adams@oracle.com>
2854 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2855 `default-directory' is non-nil.
2857 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2859 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2860 line that displays system-configuration-options. (Bug#9924)
2862 2012-01-28 Drew Adams <drew.adams@oracle.com>
2864 * descr-text.el (describe-char): Show information about POS, in
2865 addition to information about the character at POS. Improve and
2866 update the doc string. Change "code point" to "code point in
2867 charset", to avoid confusion with the character's Unicode code
2868 point shown above that. (Bug#10129)
2870 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2872 * descr-text.el (describe-char): Show the raw character, not only
2873 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2874 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2877 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2879 * emacs-lisp/package.el (package-install):
2880 Run package-refresh-contents if there is no archive yet (Bug#9798).
2882 2012-01-28 Chong Yidong <cyd@gnu.org>
2884 * emacs-lisp/package.el (package-maybe-load-descriptor):
2885 New function, split from package-maybe-load-descriptor.
2886 (package-maybe-load-descriptor): Use it.
2887 (package-download-transaction): Fully load required packages
2888 inside the loop, so that `require' calls work (Bug#10593).
2889 (package-install): No need to call package-initialize now.
2891 2012-01-28 Chong Yidong <cyd@gnu.org>
2893 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2895 * tooltip.el (tooltip-mode): Doc fix.
2896 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2898 * frame.el (set-cursor-color): Doc fix (Bug#352).
2900 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2901 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2903 * cus-edit.el (custom-buffer-create-internal): Fix search button
2905 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2907 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2909 * dired.el (dired-mark-files-regexp):
2910 Include any subdirectory components. (Bug#10445)
2912 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2914 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2915 Handle [host]:port syntax. (Bug#10533)
2917 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2919 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2921 2012-01-26 Glenn Morris <rgm@gnu.org>
2923 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2924 * term.el (term-raw-escape-map): Use Control-X-prefix.
2925 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2927 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2929 * window.el (window-state-get, window--state-get-1): Don't deal
2930 with fixed-sizeness of windows. Simplify code.
2932 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2934 * window.el (window--state-get-1, window--state-put-2):
2935 Don't save and restore the mark.
2937 2012-01-25 Chong Yidong <cyd@gnu.org>
2939 * custom.el (custom-variable-p): Doc fix.
2941 2012-01-25 Glenn Morris <rgm@gnu.org>
2943 * dired.el (dired-goto-file): Handle some of the more common
2944 characters that `ls -b' escapes. (Bug#10596)
2946 * progmodes/compile.el (compilation-next-error-function):
2947 Respect compilation-first-column in the "*compilation*" buffer.
2948 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2950 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2952 2012-01-24 Glenn Morris <rgm@gnu.org>
2954 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2956 2012-01-24 Julien Danjou <julien@danjou.info>
2958 * color.el (color-rgb-to-hsl): Fix value computing.
2959 (color-hue-to-rgb): New function.
2960 (color-hsl-to-rgb): New function.
2961 (color-clamp, color-saturate-hsl, color-saturate-name)
2962 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2963 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2965 2012-01-24 Glenn Morris <rgm@gnu.org>
2967 * vc/vc-rcs.el (vc-rcs-create-tag):
2968 * vc/vc-sccs.el (vc-sccs-create-tag):
2969 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2971 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2973 * eshell/esh-util.el (eshell-read-hosts-file):
2974 Skip comment lines. (Bug#10549)
2976 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2978 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2980 * subr.el (display-delayed-warnings): Doc fix.
2981 (collapse-delayed-warnings): New function to collapse identical
2983 (delayed-warnings-hook): Add it.
2985 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2987 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2989 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2990 properties, when "login-as" is set.
2992 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2993 (tramp-default-user-alist): Don't add "pscp".
2994 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2995 property "login-as", if set. (Bug#10530)
2997 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2999 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3000 "plink1" and "psftp". (Bug#10530)
3002 2012-01-21 Kenichi Handa <handa@m17n.org>
3004 * international/mule-cmds.el (prefer-coding-system): Show a
3005 warning message if the default value of file-name-coding-system
3008 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3010 * windmove.el (windmove-reference-loc):
3011 Fix windmove-reference-loc miscalculation.
3013 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3015 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3018 2012-01-21 Glenn Morris <rgm@gnu.org>
3020 * international/mule.el (auto-coding-alist): Add .tbz.
3022 * files.el (local-enable-local-variables): Doc fix.
3023 (inhibit-local-variables-regexps): Rename from
3024 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3025 Doc fix. Add some extensions from auto-coding-alist.
3026 (inhibit-local-variables-suffixes):
3027 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3028 (inhibit-local-variables-p):
3029 New function, extracted from set-auto-mode-1.
3030 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3031 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3032 (hack-local-variables): Doc fix. Make the mode-only case
3033 respect enable-local-variables and friends.
3034 Respect inhibit-local-variables-regexps for file-locals, but
3035 not for directory-locals.
3036 (set-visited-file-name):
3037 Take account of inhibit-local-variables-regexps.
3038 Whether it applies may change as the file name is changed.
3039 * jka-cmpr-hook.el (jka-compr-install):
3040 * jka-compr.el (jka-compr-uninstall):
3041 Update for inhibit-first-line-modes-suffixes name change.
3043 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3045 * help-macro.el (make-help-screen): Temporarily restore original
3046 binding for minor-mode-map-alist (Bug#10454).
3048 2012-01-19 Julien Danjou <julien@danjou.info>
3050 * color.el (color-name-to-rgb): Use the white color to find the max
3051 color component value and return correctly computed values.
3052 (color-name-to-rgb): Add missing float conversion for max value.
3054 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3056 * window.el (window--state-get-1, window-state-get): Do not use
3057 special state value for window-persistent-parameters.
3058 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3059 (window--state-put-2): Reset all window parameters to nil before
3060 assigning values of persistent parameters.
3062 2012-01-18 Alan Mackenzie <acm@muc.de>
3064 Eliminate sluggishness and hangs in fontification of "semicolon
3067 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3068 Change value 10000 -> 3000.
3069 (c-state-safe-place): Reformulate so it doesn't stack up an
3070 infinite number of wrong entries in c-state-nonlit-pos-cache.
3071 (c-determine-limit-get-base, c-determine-limit): New functions to
3072 determine backward search limits disregarding literals.
3073 (c-find-decl-spots): Amend commenting.
3074 (c-cheap-inside-bracelist-p): New function which detects "={".
3076 * progmodes/cc-fonts.el
3077 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3079 (c-font-lock-declarations): Fix an occurrence of point being
3080 undefined. Check additionally for point being in a bracelist or
3081 near a macro invocation without a semicolon so as to avoid a
3082 fruitless time consuming search for a declarator. Give a more
3083 precise search limit for declarators using the new
3086 2012-01-18 Glenn Morris <rgm@gnu.org>
3088 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3089 (set-auto-mode): Doc fixes.
3091 2012-01-17 Glenn Morris <rgm@gnu.org>
3093 * isearch.el (search-nonincremental-instead): Fix doc typo.
3095 * dired.el (dired-insert-directory): Handle newlines in directory name.
3096 (dired-build-subdir-alist): Unescape newlines in directory name.
3098 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3100 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3101 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3102 (tramp-action-terminal): Use it. (Bug#10530)
3104 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3108 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3110 * window.el (window-state-ignored-parameters): Remove variable.
3111 (window--state-get-1): Rename argument MARKERS to IGNORE.
3112 Handle persistent window parameters. Make copy of clone-of
3113 parameter only if requested. (Bug#10348)
3114 (window--state-put-2): Install a window parameter only if it has
3115 a non-nil value or an existing parameter shall be overwritten.
3117 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3119 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3121 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3123 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3124 don't pass the (nil) value of `upnode' to string-match.
3126 2012-01-14 Chong Yidong <cyd@gnu.org>
3128 * startup.el (command-line): Fix X resource class for cursorColor.
3129 Fix values recognized by the cursorBlink resource.
3131 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3133 * epg.el (epg--make-temp-file): Avoid permission race condition
3134 when running on old Emacs versions (bug#10403).
3136 2012-01-14 Glenn Morris <rgm@gnu.org>
3138 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3140 2012-01-13 Alan Mackenzie <acm@muc.de>
3142 Fix filling for when filladapt mode is enabled.
3144 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3145 c-mask-paragraph, pass in `fill-paragraph' rather than
3146 `fill-region-as-paragraph'. (This is a reversion of a previous
3148 * progmodes/cc-mode.el (c-basic-common-init):
3149 Make fill-paragraph-handle-comment buffer local and set it to nil.
3151 2012-01-13 Glenn Morris <rgm@gnu.org>
3153 * dired.el (dired-switches-escape-p): New function.
3154 (dired-insert-directory): Use dired-switches-escape-p.
3155 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3157 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3159 2012-01-12 Glenn Morris <rgm@gnu.org>
3161 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3162 changes in adaptive-fill-regexp. (Bug#10276)
3164 2012-01-11 Alan Mackenzie <acm@muc.de>
3166 Fix Emacs bug #10463 - put `widen's around the critical spots.
3168 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3169 widen around each invocation of c-state-pp-to-literal. Remove an
3170 unused let variable.
3172 2012-01-11 Glenn Morris <rgm@gnu.org>
3174 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3177 2012-01-10 Chong Yidong <cyd@gnu.org>
3179 * net/network-stream.el (network-stream-open-starttls):
3180 Avoid emitting a confusing error message when the server gives a bad
3181 response to the capability command.
3183 2012-01-10 Glenn Morris <rgm@gnu.org>
3185 * mail/unrmail.el (unrmail): Tweak previous change.
3187 2012-01-09 Chong Yidong <cyd@gnu.org>
3189 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3191 2012-01-08 Alan Mackenzie <acm@muc.de>
3193 Optimise font locking in long enum definitions.
3195 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3196 arm to a cond form to handle enums.
3197 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3198 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3200 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3202 * files.el (move-file-to-trash): Preserve default file modes on error.
3205 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3207 * faces.el (set-face-attribute): Clarify the meaning of the nil
3210 * subr.el (with-selected-frame): Mention that the selected frame
3211 is restored (bug#9980).
3213 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3216 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3217 (password-read): Don't autoload unused function.
3219 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3221 * progmodes/which-func.el (which-func-mode): Turn into a
3222 non-interactive function and mark as obsolete (bug#10428).
3224 2012-01-06 Chong Yidong <cyd@gnu.org>
3226 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3227 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3228 functions, along with 1 and -1.
3230 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3232 * time.el (display-time-load-average)
3233 (display-time-default-load-average): Doc fixes. See the thread
3235 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3238 2012-01-06 Glenn Morris <rgm@gnu.org>
3240 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3241 has no messages. (Bug#10377)
3243 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3244 than Info-edit. (Bug#10385)
3246 * time.el (display-time-load-average, display-time-next-load-average):
3249 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3250 local setting of buffer-read-only to the input buffer. (Bug#10419)
3252 * calendar/calendar.el (calendar-mode):
3253 Locally set scroll-margin to 0. (Bug#10379)
3255 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3257 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3259 2012-01-05 Glenn Morris <rgm@gnu.org>
3261 * eshell/em-unix.el (diff-no-select): Autoload it.
3262 (eshell/diff): Use diff-no-select. (Bug#10420)
3264 2012-01-05 Chong Yidong <cyd@gnu.org>
3266 * shell.el (shell-dynamic-complete-functions): Revert last change.
3267 (shell-command-completion-function): New function.
3268 (shell-completion-vars): Use it to implement
3269 shell-completion-execonly (Bug#10417).
3271 * custom.el (enable-theme): Don't set custom-safe-themes.
3273 * cus-theme.el (custom-theme-merge-theme):
3274 Ignore custom-enabled-themes and custom-safe-themes.
3276 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3278 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3279 first prompt in `sql-interacive-mode'.
3280 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3282 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3283 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3284 context of original buffer. Invoke `sql-login-hook'.
3286 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3288 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3289 letters in cite-prefix.
3291 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3295 2012-01-03 Chong Yidong <cyd@gnu.org>
3297 * shell.el (shell-dynamic-complete-functions):
3298 Put pcomplete-completions-at-point, so as to try
3299 comint-filename-completion first (Bug#10417).
3301 2012-01-02 Richard Stallman <rms@gnu.org>
3303 * battery.el (battery-status-function):
3304 Detect when to use battery-yeeloong-sysfs.
3305 (battery-echo-area-format): Add string for Yeeloong.
3306 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3307 (battery-yeeloong-sysfs): New function.
3309 2012-01-02 Chong Yidong <cyd@gnu.org>
3311 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3312 (dirtrack): Merge code for handling relative filenames in prompt
3313 from shell-dir-cookie-watcher.
3314 (dirtrack-debug-message): New arg to avoid excess format calls.
3316 * shell.el (shell-dir-cookie-re): Variable deleted.
3317 (shell-dir-cookie-watcher): Function deleted.
3318 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3321 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3323 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3324 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3327 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3329 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3331 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3333 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3334 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3336 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3338 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3339 also for alternative shells.
3340 (tramp-open-connection-setup-interactive-shell): Check, whether
3341 the shell is a busybox.
3342 (tramp-send-command): Don't suppress multiple prompts for
3343 busyboxes, it hurts.
3345 2011-12-28 Chong Yidong <cyd@gnu.org>
3347 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3348 (gdb-get-source-file): Move mode line update to
3349 gdb-get-source-file (Bug#10087).
3351 2011-12-25 Chong Yidong <cyd@gnu.org>
3353 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3354 gud-gdb-marker-filter without taking it as an argument.
3355 (gud-gdb-run-command-fetch-lines): Caller changed.
3356 (gud-gdb-completion-function): New variable.
3357 (gud-gdb-completion-at-point): Use it.
3358 (gud-gdb-completions-1): Split from gud-gdb-completions.
3360 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3361 function as separate arguments.
3362 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3363 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3364 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3365 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3366 (gdb-stopped, def-gdb-auto-update-trigger)
3367 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3368 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3370 (gud-gdbmi-completions): New function.
3371 (gdb): Use it for generating the completion table.
3373 2011-12-24 Alan Mackenzie <acm@muc.de>
3375 Introduce a mechanism to widen the region used in context font
3376 locking. Use this to protect declarations from losing their contexts.
3378 * progmodes/cc-langs.el (c-before-font-lock-functions):
3379 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3380 (c-before-context-fontification-functions): New defvar, a list of
3381 functions to be run just before context (etc.) font locking.
3383 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3384 New, functionality extracted from
3385 c-neutralize-syntax-in-and-mark-CPP.
3386 (c-in-after-change-fontification): New variable.
3387 (c-after-change): Set c-in-after-change-fontification.
3388 (c-set-fl-decl-start): Rejig its interface, so it can be called
3389 from both after-change and context fontifying.
3390 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3392 (c-standard-font-lock-fontify-region-function): New variable.
3393 (c-font-lock-fontify-region): New function.
3395 2011-12-24 Juri Linkov <juri@jurta.org>
3397 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3400 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3402 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3403 existence of source file. (Bug#10325)
3405 2011-12-23 Alan Mackenzie <acm@muc.de>
3407 Fix unstable fontification inside templates.
3409 * progmodes/cc-langs.el (c-before-font-lock-functions):
3410 Newly created from the singular version. The (c c++ objc) entry now
3411 additionally has c-set-fl-decl-start. The other languages (apart
3412 from AWK) have that as a single entry.
3414 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3415 The functionality for "local" declarations has been extracted to
3416 c-set-fl-decl-start.
3418 * progmodes/cc-mode.el (c-common-init, c-after-change):
3419 Changes due to pluralisation of c-before-font-lock-functions.
3420 (c-set-fl-decl-start): New function, extracted from
3421 c-font-lock-enclosing-decls and enhanced.
3423 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3425 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3427 2011-12-22 Juri Linkov <juri@jurta.org>
3429 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3431 2011-12-22 Chong Yidong <cyd@gnu.org>
3433 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3435 2011-12-21 Drew Adams <drew.adams@oracle.com>
3437 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3439 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3441 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3443 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3445 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3446 highlighting and support. Fix up comments for capitalization.
3447 (cfengine-mode-debug): New var.
3448 (cfengine3-mode): Change the modeline indicator to "CFE3".
3449 (cfengine3-font-lock-keywords): Improve defun highlighting.
3450 (cfengine2-actions): Rename from `cfengine-actions'.
3451 (cfengine2-font-lock-keywords): Rename from
3452 `cfengine-font-lock-keywords'.
3453 (cfengine2-imenu-expression): Rename from
3454 `cfengine-imenu-expression'.
3455 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3456 (cfengine2-beginning-of-defun): Rename from
3457 `cfengine-beginning-of-defun'.
3458 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3459 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3460 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3461 modeline indicator to "CFE2".
3462 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3463 (cfengine-mode-abbrevs): Mark obsolete.
3465 2011-12-21 Chong Yidong <cyd@gnu.org>
3467 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3470 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3472 * window.el (window-normalize-buffer-to-display): Remove.
3473 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3475 2011-12-19 Chong Yidong <cyd@gnu.org>
3477 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3478 Don't signal an error in a predicate function; return non-nil.
3479 (vc-dir-mark-file): Move the error here.
3480 (vc-dir-mark-unmark): If acting on the region, keep going if one
3481 of the entries cannot be marked/unmarked.
3482 (vc-dir-mark-all-files): If current entry is a directory, mark
3483 only child files, as documented.
3485 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3487 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3488 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3491 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3493 * term/ns-win.el (ns-get-selection-internal)
3494 (ns-store-selection-internal): Declare.
3495 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3496 Declare as obsolete.
3497 (ns-get-pasteboard, ns-paste-secondary):
3498 Use ns-get-selection-internal.
3499 (ns-set-pasteboard, ns-copy-including-secondary):
3500 Use ns-store-selection-internal.
3502 2011-12-17 Chong Yidong <cyd@gnu.org>
3504 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3505 (vc-deduce-fileset): Doc fix.
3507 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3509 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3511 2011-12-13 Sam Steingold <sds@gnu.org>
3513 * man.el (Man-getpage-in-background): When running under a
3514 window-system, ignore $MANWIDTH and $COLUMNS.
3516 2011-12-15 Kenichi Handa <handa@m17n.org>
3518 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3519 (setup-ethiopic-environment-internal): Comment out key-binding for
3520 ethio-toggle-punctuation.
3522 2011-12-13 Alan Mackenzie <acm@muc.de>
3524 Add the switch statement to AWK Mode.
3526 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3527 "default" to the keywords regexp.
3529 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3530 expression as the rest.
3531 (c-nonlabel-token-key): Allow string literals for AWK.
3532 Refactor for the other modes.
3534 Large brace-block initialisation makes CC Mode slow: Fix.
3535 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3536 routines. Limit backward searching in c-font-lock-enclosing.decl.
3538 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3539 pp-state and literal type in addition to the limits.
3540 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3541 (c-state-literal-at): Use the above new defun.
3542 (c-slow-in-literal, c-fast-in-literal): Remove.
3543 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3545 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3546 being in a literal. Add a limit for backward searching.
3548 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3551 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3555 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3557 * window.el (delete-other-windows): Use correct frame in call to
3558 window-with-parameter.
3560 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3562 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3563 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3564 (makefile-gmake-statements, makefile-makepp-statements):
3565 Use it and add new makepp keywords.
3566 (makefile-makepp-font-lock-keywords): Add new patterns.
3567 (makefile-match-function-end): Match new [...] and [[...]].
3569 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3571 * ses.el (ses-call-printer-return, ses-cell-property-get)
3572 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3573 (ses-create-cell-variable, ses-reset-header-string)
3574 (ses-cell-set-formula, ses-repair-cell-reference-all)
3575 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3576 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3577 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3578 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3579 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3580 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3581 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3582 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3583 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3584 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3585 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3586 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3588 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3590 * ses.el: The overall change is to add cell renaming, that is
3591 setting fancy names for cell symbols other than name matching
3592 "\\`[A-Z]+[0-9]+\\'" regexp .
3593 (ses-create-cell-variable): New defun.
3594 (ses-relocate-formula): Relocate formulas only for cells the
3595 symbols of which are not renamed, i.e. symbols whose names do not
3596 match regexp "\\`[A-Z]+[0-9]+\\'".
3597 (ses-relocate-all): Relocate values only for cells the symbols of
3598 which are not renamed.
3599 (ses-load): Create cells variables as the (ses-cell ...) are read,
3600 in order to check row col consistency with cell symbol name only
3601 for cells that are not renamed.
3602 (ses-replace-name-in-formula): New defun.
3603 (ses-rename-cell): New defun.
3605 2011-12-11 Chong Yidong <cyd@gnu.org>
3607 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3608 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3610 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3612 * window.el (other-window): Fix docstring.
3614 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3616 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3617 `from' or `to' address before taking its substring.
3618 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3619 encoded name is chopped in the middle of the encoded string, and
3620 thus displayed encoded.
3622 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3624 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3626 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3628 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3629 to use texinfo-update-node and commands that call it if the
3630 Texinfo file uses @node lines without next/prev/up pointers.
3631 Correct outdated description about texinfo-master-menu.
3632 (texinfo-all-menus-update, texinfo-master-menu)
3633 (texinfo-update-node, texinfo-every-node-update)
3634 (texinfo-multiple-files-update): Doc fix. Warn against updating
3635 all the @node lines.
3636 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3637 argument is numeric. Explain better in the doc string what the
3638 function really does.
3639 (texinfo-insert-master-menu-list): Improve the error message
3640 displayed if there's no menu in the Top node.
3641 (Bug#2975) See also this thread:
3642 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3644 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3646 * speedbar.el (speedbar-supported-extension-expressions):
3647 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3649 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3651 * printing.el (pr-mode-alist):
3652 * simple.el (filter-buffer-substring-functions)
3653 (completion-list-insert-choice-function):
3654 * window.el (window-with-parameter, window-atom-root)
3655 (window-sides-slots, window-size-fixed, window-min-delta)
3656 (window-max-delta, window--resize-mini-window)
3657 (window--resize-child-windows-normal, window-tree)
3658 (delete-other-windows, quit-window, split-window)
3659 (display-buffer-record-window, special-display-buffer-names)
3660 (special-display-regexps, special-display-popup-frame)
3661 (same-window-p, split-window-sensibly)
3662 (display-buffer-overriding-action, display-buffer-alist)
3663 (display-buffer-base-action, display-buffer, switch-to-buffer)
3664 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3665 (fit-window-to-buffer, recenter-positions)
3666 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3667 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3668 and remove unneeded backslashes in docstrings.
3670 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3672 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3674 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3675 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3677 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3678 when reading the makefile (bug#10116).
3680 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3682 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3685 2011-12-06 Glenn Morris <rgm@gnu.org>
3687 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3689 2011-12-06 Chong Yidong <cyd@gnu.org>
3691 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3693 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3695 * textmodes/table.el (table-shorten-cell): Fix typo.
3697 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3699 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3701 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3703 * descr-text.el (describe-char): Fix display of strong
3704 right-to-left characters and directional embeddings and overrides.
3706 * simple.el (what-cursor-position): Fix display of codepoints of
3707 strong right-to-left characters.
3709 2011-12-05 Chong Yidong <cyd@gnu.org>
3711 * faces.el (read-color): Doc fix.
3713 2011-12-05 Glenn Morris <rgm@gnu.org>
3715 * align.el (align--set-marker): Add doc-string.
3716 Don't try to move something that is not a marker. (Bug#10216)
3718 2011-12-04 Glenn Morris <rgm@gnu.org>
3720 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3721 overly zealous deletion of trailing whitespace.
3723 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3725 * server.el (server-delete-client): On Windows, do not try to delete
3727 (server-process-filter): On Windows, treat requests for a tty frame as
3728 if they were for a GUI frame if the running server is in GUI mode.
3730 2011-12-03 Glenn Morris <rgm@gnu.org>
3732 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3734 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3736 * electric.el: Streamline electric-indent's hook.
3737 (electric-indent-chars): Revert to simple list.
3738 (electric-indent-functions): New var.
3739 (electric-indent-post-self-insert-function): Use it.
3741 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3742 there's no inferior buffer (bug#10196).
3743 (prolog-consult-compile): Don't use toggle-read-only.
3745 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3747 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3748 interrupt. (Bug#10187)
3750 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3752 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3755 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3758 2011-12-02 Juri Linkov <juri@jurta.org>
3760 * info.el (Info-search): Display "end of manual" when Isearch
3761 reaches the end of single-file Info manual. (Bug#9918)
3763 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3765 * isearch.el (isearch-message-prefix): Run the input method part
3766 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3768 2011-12-02 Juri Linkov <juri@jurta.org>
3770 * isearch.el (isearch-occur): Use `word-search-regexp' for
3772 (isearch-search-and-update): Add condition for `isearch-word' and
3773 call `word-search-regexp'. (Bug#10145)
3775 2011-12-01 Glenn Morris <rgm@gnu.org>
3777 * eshell/em-hist.el (eshell-hist-initialize):
3778 Handle eshell-history-size nil and HISTSIZE set or unset.
3779 (eshell-history-file-name, eshell-history-size): Fix custom type.
3781 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3785 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3787 * progmodes/verilog-mode.el (verilog-pretty-expr):
3788 Rework verilog-pretty-expr to handle new assignment operators in system
3789 verilog, such as += *= and the like.
3790 (verilog-assignment-operator-re): Regular expression to find the
3791 assigment operator in a verilog assignment.
3792 (verilog-assignment-operation-re): Regular expression to find an
3793 assignment statement for pretty-expr.
3794 (verilog-in-attribute-p): Query returns true if point is in an
3795 attribute context; used to skip these for expression line up from
3797 (verilog-in-parameter-p): Query returns true if point is in an
3798 parameter definition context; used to skip these for expression
3799 line up from pretty-expr.
3800 (verilog-in-parenthesis-p): Query returns true if point is in a
3801 parenthetical expression, specifically ( ) but not [ ] or { };
3802 used by pretty-expr.
3803 (verilog-just-one-space): If there is no space, don't add one.
3804 (verilog-get-lineup-indent-2): Specifically skip just attribute
3805 contexts for expression lineup, rather than skipping all
3806 parenthetical expressions.
3807 (verilog-calculate-indent): Fix comment, and fix indent.
3808 (verilog-do-indent): Indent declarations in lists (suggested by
3810 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3812 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3815 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3817 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3818 parameters with embedded comments. Reported by Ray Stevens.
3819 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3820 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3821 Reported by Tim Holt.
3822 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3823 instantiated by upper module causing wrong expansion until AUTOed a
3824 second time. Reported by K C Buckenmaier.
3825 (verilog-diff-auto): Fix showing .* as a difference when
3826 `verilog-auto-star-save' off. Reported by Dan Dever.
3827 (verilog-auto-reset, verilog-read-always-signals)
3828 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3829 temporary signals in reset list if
3830 verilog-auto-reset-blocking-in-non is nil, and match assignment
3831 style to each signal's assignment type, bug381.
3832 Reported by Thomas Esposito.
3833 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3834 (verilog-uvm-statement-re): Support UVM indentation and
3835 highlighting, with old OVM keywords only.
3836 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3837 Support AUTOTIEOFF creating non-wire data types.
3838 Suggested by Jonathan Greenlaw.
3839 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3840 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3841 (verilog-inject-sense, verilog-read-inst-pins)
3842 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3843 Fix mismatching parenthesis inside commented out code when deleting
3844 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3845 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3846 non-numeric vector width. Reported by Alex Reed.
3847 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3848 detecting signals with parameter widths. Reported by Alex Reed.
3849 (verilog-auto-delete-trailing-whitespace):
3850 With `verilog-auto-delete-trailing-whitespace' remove trailing
3851 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3852 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3853 Fix verilog-scan-cache corruption when running user AUTO expansion
3854 hooks that call indentation routines.
3855 (verilog-simplify-range-expression): Fix typo ignoring lower case
3857 (verilog-delete-auto): Fix delete-autos to also remove user created
3858 automatics, as long as they start with AUTO.
3859 (verilog-batch-diff-auto, verilog-diff-auto)
3860 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3861 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3862 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3863 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3864 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3865 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3866 is disabled and its cache will get corrupt, causing AUTOS not to
3867 expand. Instead use only -quick functions.
3868 (verilog-scan-region): Fix scanning over escaped quotes.
3869 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3870 (verilog-re-search-backward-quick)
3871 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3872 related functions now ignore strings, to fix misparsing of strings
3873 with magic comments embedded in them.
3874 (verilog-read-auto-template):
3875 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3876 Reported by Brad Dobbie.
3877 (verilog-read-auto-template):
3878 Fix 'verilog-auto-inst-template-numbers' with comments.
3879 Reported by Brad Dobbie.
3880 (verilog-auto-inst, verilog-auto-inst-param)
3881 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3882 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3883 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3884 debugging templates without merge conflicts, bug357.
3885 Reported by Brad Dobbie.
3886 (verilog-read-auto-template):
3887 Fix verilog-auto-inst-template-numbers with multiple templates.
3888 Reported by Brad Dobbie.
3889 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3890 abbrevs so user won't be asked to save.
3891 (verilog-read-auto-lisp-present): Fix to start at beginning of
3892 buffer in case called outside of verilog-auto.
3893 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3894 to "X-2". Reported by Matthew Myers.
3895 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3896 all inputs from module templates. Reported by Leith Johnson.
3897 (verilog-module-inside-filename-p): Fix locating programs as with
3899 (verilog-auto-inst-port): Fix vl-width expressions when using
3900 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3901 (verilog-decls-get-regs, verilog-decls-get-signals,
3902 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3903 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3904 verilog-read-decls): Combine reg and wire structures into one var
3905 structure to represent SystemVerilog concepts.
3906 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3907 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3908 (verilog-auto-wire-type, verilog-insert-definition):
3909 Add verilog-auto-wire-type and AUTOLOGIC to support using
3910 SystemVerilog "logic" keyword instead of "wire"/"reg".
3911 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3912 to declares outputs that also have assignments (presumably in an
3913 ifdef or generate if so there's not a driver conflict).
3914 Reported by Matthew Myers.
3915 (verilog-auto-declare-nettype, verilog-insert-definition):
3916 Add verilog-auto-declare-nettype to fix declarations using
3917 `default_nettype none. Reported by Julian Gorfajn.
3918 (verilog-read-always-signals-recurse, verilog-read-decls)
3919 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3920 malformed end statement, bug325. Reported by Joshua Wise and
3922 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3923 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3924 when expanding .* in interfaces, bug320.
3925 Reported by Pierre-David Pfister.
3926 (verilog-read-module-name): Fix import statements between module
3927 name and open parenthesis, bug317.
3928 Reported by Pierre-David Pfister.
3929 (verilog-simplify-range-expression): Fix simplification of
3930 multiplications inside AUTOWIRE connections, bug303.
3931 (verilog-auto-inst-port): Support parameter expansion in
3932 multidimensional arrays.
3933 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3934 after "assert property". Reported by Julian Gorfajn.
3935 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3936 with multiplication, bug303.
3937 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3938 Reported by Jan Frode Lonnum.
3940 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3942 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3943 (hfy-shell-file-name, hfy-shell):
3944 * international/fontset.el (x-decompose-font-name): Fix typos.
3946 2011-11-29 Ken Brown <kbrown@cornell.edu>
3948 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3949 (gdb-version): Remove defvar.
3950 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3951 (gdb-gud-context-command, gdb-non-stop-handler)
3952 (gdb-current-context-command, gdb-stopped): Use it.
3953 (gdb-init-1): Enable pretty printing here.
3954 (gdb-non-stop-handler): Don't enable pretty-printing here.
3955 Check to see if the target supports non-stop mode; if not, turn off
3956 non-stop mode. Use the following.
3957 (gdb-check-target-async): New defun.
3958 (gud-watch, gdb-stopped): Fix whitespace.
3959 (gdb-get-source-file): Don't try to display the source file if
3960 `gdb-main-file' is nil.
3962 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * align.el: Try to generate fewer markers (bug#10047).
3965 (align--set-marker): New macro.
3966 (align-region): Use it.
3968 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3972 2011-11-29 Chong Yidong <cyd@gnu.org>
3974 * indent.el (indent-for-tab-command, indent-according-to-mode):
3976 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3978 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3980 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3981 aware of remote file names. (Bug#10124)
3983 2011-11-29 Chong Yidong <cyd@gnu.org>
3985 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3987 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * files.el (find-file): Don't use force-same-window (bug#10144).
3990 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3991 use pop-to-buffer if the selected window can't be used.
3992 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3994 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3996 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3999 2011-11-28 Chong Yidong <cyd@gnu.org>
4001 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4003 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4005 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4006 gdb-get-source-file-list on gdb-create-source-file-list.
4008 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4010 * whitespace.el (whitespace-newline): Use a different foreground
4011 color for 16-color light-background displays.
4013 2011-11-24 Chong Yidong <cyd@gnu.org>
4015 * window.el (display-buffer--special-action): Doc fix.
4017 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4019 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4020 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4021 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4022 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4023 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4024 (avl-tree-stack-first):
4025 * emacs-lisp/cconv.el (cconv--analyse-use):
4026 * net/gnutls.el (gnutls-negotiate): Fix typos.
4028 2011-11-24 Glenn Morris <rgm@gnu.org>
4030 * lpr.el (lpr-windows-system, lpr-lp-system):
4031 * mail/binhex.el (binhex-begin-line):
4032 * progmodes/grep.el (grep-history, grep-find-history):
4033 * textmodes/flyspell.el:
4034 * vc/pcvs-defs.el (cvs-global-menu):
4035 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4036 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4037 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4039 * net/tls.el: Fix case of "GnuTLS".
4041 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4043 * version.el (emacs-build-system): Give it a doc-string.
4045 2011-11-24 Juri Linkov <juri@jurta.org>
4047 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4049 2011-11-24 Glenn Morris <rgm@gnu.org>
4051 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4052 if called on a non-mime message just toggle the headers. (Bug#8006)
4054 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4056 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4057 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4058 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4059 (allout-rebullet-heading, allout-open-sibtopic)
4060 (allout-toggle-current-subtree-encryption)
4061 (allout-toggle-subtree-encryption, allout-encrypt-string)
4062 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4063 (allout-distinctive-bullets-string, allout-auto-activation):
4064 * window.el (window-normalize-buffer-to-display):
4065 * progmodes/verilog-mode.el (verilog-batch-indent):
4066 * textmodes/bibtex.el (bibtex-field-braces-opt)
4067 (bibtex-field-strings-opt):
4068 * vc/cvs-status.el (cvs-tree-merge):
4071 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4073 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4074 `non-essential' to t, in order to avoid remote connections.
4076 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4078 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4079 On MS-DOS and MS-Windows, compare with loaddefs.el
4082 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4084 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4086 2011-11-23 Glenn Morris <rgm@gnu.org>
4088 * paths.el (rmail-file-name): Reformat the doc-string so that it
4091 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4092 (rmail-auto-file): Ignore case in the "special" field names,
4093 as mail-fetch-field does for all others.
4095 * mail/rmail.el (rmail-forward):
4096 * mail/rmailkwd.el (rmail-set-label):
4097 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4098 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4100 * mail/rmail.el (rmail-current-message): Doc fix.
4102 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4104 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4108 2011-11-22 Glenn Morris <rgm@gnu.org>
4110 * mail/rmailmm.el (test-rmail-mime-handler)
4111 (test-rmail-mime-bulk-handler)
4112 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4114 2011-11-21 Juri Linkov <juri@jurta.org>
4116 * calc/calc.el (calc-read-key-sequence):
4117 Let-bind `input-method-function' to nil. (Bug#10018)
4119 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4121 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4122 Tell the caller that the next line needs recomputation, even
4123 though it doesn't start a sexp (bug#10094).
4125 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4129 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4132 Use force-same-window.
4134 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4136 * descr-text.el (describe-char-unicode-data):
4137 * json.el (json-string-escape):
4138 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4139 (Footnote-unicode, Footnote-style-p):
4140 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4142 2011-11-20 Chong Yidong <cyd@gnu.org>
4144 * window.el (replace-buffer-in-windows): Restore interactive spec.
4146 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4148 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4150 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4151 (byte-compile-global-not-obsolete-vars): New var.
4152 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4154 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4156 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4158 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4159 * progmodes/pascal.el (electric-pascal-equal):
4160 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4161 * xml.el (xml-substitute-special): Fix typos.
4163 2011-11-20 Glenn Morris <rgm@gnu.org>
4165 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4166 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4168 (rmail-decode-mime-charset): Mark as obsolete.
4170 * mail/rmailsum.el (rmail-message-regexp-p-1):
4171 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4172 Before using mime functions, check they are set. (Bug#10077)
4174 2011-11-19 Juri Linkov <juri@jurta.org>
4176 * info.el (Info-finder-find-node): Use `package--builtins' instead
4177 of `package-alist'. Use node names formed by the pattern "Keyword "
4178 and the keyword name.
4180 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4182 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4184 2011-11-19 Juri Linkov <juri@jurta.org>
4186 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4187 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4188 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4189 `old-history', `old-history-forward'. Add let-binding
4190 `window-selected'. Remove calls to `kill-buffer',
4191 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4192 before calling `Info-find-node', so `Info-find-node-2' will reread
4193 the Info file. Restore window positions only when `window-selected'
4196 2011-11-19 Juri Linkov <juri@jurta.org>
4198 * isearch.el (isearch-lazy-highlight-new-loop):
4199 Remove condition `(not isearch-error)'. (Bug#9918)
4201 * misearch.el (multi-isearch-search-fun): Add condition
4202 `(not bound)' to ignore lazy-highlighting search.
4203 Add the search-failed message "end of multi" when the end of
4204 multi-sequence is reached. Uncapitalize the search-failed
4205 message "Repeat for next buffer".
4207 * info.el (Info-search): Add the search-failed message
4208 "end of the manual" when the end of the manual is reached
4211 2011-11-19 Juri Linkov <juri@jurta.org>
4213 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4214 Use non-destructive `remove' instead of `delete' because
4215 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4216 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4218 2011-11-19 Juri Linkov <juri@jurta.org>
4220 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4221 to nil instead of binding `search-ring' and `regexp-search-ring'.
4224 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4226 * simple.el (line-move): Force movement by logical lines for any
4227 hscrolled window, not only when auto-hscroll-mode is on.
4228 (line-move-visual): Update doc string to that effect. (Bug#10076)
4230 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4232 * language/european.el (macintosh): Define as alias for mac-roman.
4234 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4236 * mail/rmailmm.el (rmail-mime-display-header)
4237 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4238 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4239 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4240 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4241 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4243 (rmail-mime-entity-segment): To get past the tagline, move forward
4244 2 more lines, to account for the 2 empty lines that precede and
4245 follow the line with the buttons.
4246 (rmail-mime-update-tagline): Move one more line, to get past the
4247 empty line that follows the buttons in the tagline. (Bug#9520)
4249 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4251 * window.el (window-max-delta-1, window-min-delta-1)
4252 (window-min-size-1, window-state-get-1, window-state-put-1)
4253 (window-state-put-2): Use "window--" prefix.
4255 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4258 (smie-warning-count): New var.
4259 (smie-set-prec2tab): Use it.
4260 (smie-bnf->prec2): Improve warnings. Add docstring.
4261 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4262 (smie-bnf--set-class): New function.
4263 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4266 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4267 (compilation-error-properties, compilation-move-to-column):
4268 Handle compilation-first-column while in the target buffer.
4270 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4271 Don't hardcode point-min==1.
4273 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4274 (eshell-rewrite-for-command): Remove workaround.
4275 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4276 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4277 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4279 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4281 2011-11-17 Glenn Morris <rgm@gnu.org>
4283 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4284 Ignore buffer-local generated-autoload-file if it is the same
4285 as the global value. (Bug#10049)
4287 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4289 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4290 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4291 (reftex-toc-previous-heading, reftex-toc-max-level)
4292 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4293 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4294 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4295 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4296 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4297 (reftex-toc-rename-label, reftex-toc-visit-location)
4298 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4299 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4300 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4301 leaving "*toc*" only for references to the buffer.
4303 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4305 * window.el (window-resize, delete-window, split-window):
4306 Replace window-splits by window-combination-resize.
4307 * cus-start.el (window-splits): Replace by window-combination-resize.
4309 2011-11-17 Glenn Morris <rgm@gnu.org>
4311 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4312 Make bash entry derive from sh entry, not shell entry.
4314 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4316 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4317 properties of linked files. (Bug#9879)
4319 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4322 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4324 * menu-bar.el (menu-bar-file-menu):
4325 * printing.el (pr-ps-utility):
4326 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4327 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4328 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4329 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4330 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4331 (icalendar--convert-cyclic-to-ical)
4332 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4333 (icalendar--convert-ical-to-diary)
4334 (icalendar--convert-recurring-to-diary)
4335 (icalendar--convert-non-recurring-all-day-to-diary)
4336 (icalendar-import-format-sample):
4337 * progmodes/idlw-shell.el (idlwave-shell-mode):
4338 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4339 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4340 (vhdl-ps-print-init): Fix typos.
4342 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4344 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4345 FSF and collapse date sequence, obscure author/maintainer email address
4346 better, remove extra version line, track relocation of author's webpage.
4348 * progmodes/python.el (python-pdbtrack-input-prompt)
4349 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4350 regular python pdb prompts. Adjustments shamelessly taken exactly as
4351 suggested in EmacsWiki page (tiny change):
4352 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4354 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4356 * expand.el (expand-pos, expand-index, expand-point):
4357 Remove redundant info from docstring.
4358 (expand-add-abbrevs): Doc fix.
4359 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4360 (expand-sample-perl-mode-expand-list): Fix typos.
4362 * net/dbus.el (dbus-event-member-name):
4363 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4364 * term/pc-win.el (msdos-create-frame-with-faces):
4365 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4367 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4369 * window.el (split-window, window-state-get-1)
4370 (window-state-put-1, window-state-put-2): Rename occurrences of
4371 window-nest to window-combination-limit.
4372 * cus-start.el (window-nest): Rename to window-combination-limit.
4374 2011-11-16 Chong Yidong <cyd@gnu.org>
4376 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4379 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4381 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4382 `completing-read' will remove *Completions* and will preserve
4383 current-buffer for us.
4384 (tmm-add-prompt): Users of *Completions* will always (re)set its
4386 (tmm-old-comp-map): Remove.
4388 2011-11-16 Glenn Morris <rgm@gnu.org>
4390 * mail/rmailedit.el: Require rmailmm when compiling.
4391 (rmail-old-mime-state): New declaration.
4392 (rmail-edit-current-message): If editing a mime message,
4393 edit the "raw" message from the mbox buffer.
4394 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4396 2011-11-15 Glenn Morris <rgm@gnu.org>
4398 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4399 which wasn't being used. Add optional arg to force given state.
4400 (rmail-mime): Add optional arg to force given state.
4402 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4404 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4405 * frame.el (display-mm-dimensions-alist):
4406 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4407 (outline-move-subtree-down):
4408 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4409 (newsticker--treeview-do-get-node):
4410 * net/quickurl.el (quickurl-list-buffer-name):
4411 * progmodes/dcl-mode.el (dcl-mode):
4412 * progmodes/gdb-mi.el (gdb-mapcar*):
4413 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4415 2011-11-15 Glenn Morris <rgm@gnu.org>
4417 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4418 in a boolean sense, so just make it a boolean, and fix the doc.
4419 (rmail-show-mime-function, rmail-mime-feature)
4420 (rmail-require-mime-maybe): Doc fixes.
4421 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4423 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4425 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4427 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4428 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4429 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4430 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4432 2011-11-15 Glenn Morris <rgm@gnu.org>
4434 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4435 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4436 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4437 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4438 (rmail-mime, rmail-show-mime): Doc fixes.
4440 * term/ns-win.el (mode-line-frame-identification):
4441 Leave it alone. (Bug#10051)
4443 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4445 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4446 Handle empty buffers. (Bug#9978)
4448 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4450 * international/mule.el (define-charset):
4451 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4452 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4453 * progmodes/verilog-mode.el (verilog-backward-token):
4454 * textmodes/ispell.el (lookup-words):
4455 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4457 2011-11-14 Glenn Morris <rgm@gnu.org>
4459 * progmodes/executable.el
4460 (executable-make-buffer-file-executable-if-script-p):
4461 Handle file-modes returning nil.
4463 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4464 message - not necessary, and causes problems. (Bug#9831)
4466 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4468 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4470 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4471 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4472 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4474 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4476 * window.el (window-resize, delete-window): Use window-splits
4477 variable instead of function.
4478 (window-state-get-1, window-state-put-2, window-state-put):
4479 Don't deal with windows' splits status.
4481 2011-11-12 Glenn Morris <rgm@gnu.org>
4483 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4484 (apropos-documentation): Doc fixes.
4486 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4488 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4489 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4491 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4493 * electric.el (electric-indent-post-self-insert-function): Make it
4494 possible for a char to only indent in some circumstances.
4495 (electric-indent-mode): Simplify.
4497 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4499 * window.el (windows-with-parameter): Remove unused function.
4500 (windows-at-side): Rename to window-at-side-list.
4501 (window-check, window-atom-check, window-atom-check-1)
4502 (window-side-check, window-size-ignore, window-size-fixed-1)
4503 (window-in-direction-2): Prefix with "window--".
4504 (window-tree-1): Rename to window--subtree, fix doc-string.
4506 2011-11-11 Glenn Morris <rgm@gnu.org>
4508 * subr.el (eval-after-load): If FILE is already loaded,
4509 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4511 2011-11-10 Glenn Morris <rgm@gnu.org>
4513 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4514 Call svn via vc-svn-command rather than vc-do-command.
4515 (vc-svn-command): Add --non-interactive. (Bug#9993)
4516 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4519 Add toggle-read-only. (Bug#7292)
4520 * files.el (toggle-read-only): Mention that it should only
4521 be used interactively. (Bug#10006)
4523 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4525 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4526 Adjust regexp for OCaml warnings.
4528 * electric.el (electric-pair-post-self-insert-function): Let user
4529 turn it off buffer-locally (bug#9932).
4531 * progmodes/python.el (python-beginning-of-statement):
4534 * progmodes/compile.el: Better handle TABs (bug#9749).
4535 (compilation-internal-error-properties)
4536 (compilation-next-error-function): Obey the target buffer's
4537 compilation-error-screen-columns.
4539 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4541 * progmodes/meta-mode.el: Remove obsolete comments.
4542 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4543 Fix typos in docstrings.
4545 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4547 * window.el (window-size-fixed-p): Rewrite doc-string.
4548 (window-resizable-p): Rename to window--resizable-p. Update callers.
4549 (window--resizable): New function. Make all callers of
4550 window-resizable call window--resizable instead.
4551 (window-resizable): Rewrite in terms of window--resizable.
4553 2011-11-08 Glenn Morris <rgm@gnu.org>
4555 * progmodes/delphi.el (delphi-mode-syntax-table):
4556 Let define-derived-mode define a proper syntax table. (Bug#9994)
4558 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * window.el: Stay away from defsubst.
4561 (window-list-no-nils): Remove.
4562 (window-state-get-1, window-state-get): Use backquote instead.
4564 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4566 * emacs-lisp/find-func.el (find-function-read):
4567 Fix incorrect use of default argument in `completing-read'.
4569 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4571 * window.el (display-buffer-function, special-display-function):
4572 Mention display-buffer-record-window but do not mention
4573 help-setup parameter in doc-strings.
4574 (window-min-delta): Fix doc-string typo.
4576 2011-11-08 Chong Yidong <cyd@gnu.org>
4578 * window.el (window-total-height, window-total-width): Doc fix.
4579 (window-body-size): Move from C.
4580 (window-body-height, window-body-width): Move to C.
4582 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * window.el: Make special-display like display-buffer-alist (bug#9532).
4585 (display-buffer--special-action): New function, morphed
4586 from display-buffer--special.
4587 (display-buffer): Use it to handle special-display-buffers at higher
4588 priority (just after display-buffer-alist).
4589 (display-buffer-fallback-action, display-buffer--other-frame-action)
4590 (pop-to-buffer-same-window): Remove display-buffer--special.
4592 2011-11-07 Glenn Morris <rgm@gnu.org>
4594 * calendar/cal-menu.el (cal-menu-set-date-title):
4595 Do nothing if not in a calendar. (Bug#9976)
4597 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4599 * files.el (find-file): Always use selected-window.
4601 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4603 * window.el (window-combinations): Make WINDOW argument
4604 mandatory. Rewrite doc-string.
4605 (walk-window-subtree, window-atom-check, window-min-delta)
4606 (window-max-delta, window--resize-this-window)
4607 (window--resize-root-window-vertically, window-tree)
4608 (balance-windows, window-state-put): Rewrite doc-strings as to
4609 not mention the term "subwindow".
4610 (window--resize-subwindows-skip-p): Rename to
4611 window--resize-child-windows-skip-p.
4612 (window--resize-subwindows-normal): Rename to
4613 window--resize-child-windows-normal.
4614 (window--resize-subwindows): Rename to
4615 window--resize-child-windows.
4616 (window-or-subwindow-p): Rename to window--in-subtree-p.
4618 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4620 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4621 Ensure that mbox format messages end in two newlines (Bug#9974).
4623 2011-11-06 Chong Yidong <cyd@gnu.org>
4625 * window.el (window-combination-p): Function deleted; its
4626 side-effect is not used in any existing code.
4627 (window-combinations, window-combined-p): Call window-*-child
4630 2011-11-05 Chong Yidong <cyd@gnu.org>
4632 * window.el (window-valid-p): Rename from window-any-p.
4633 (window-size-ignore, window-state-get): Callers changed.
4634 (window-normalize-window): Rename from window-normalize-any-window.
4635 New arg LIVE-ONLY, replacing window-normalize-live-window.
4636 (window-normalize-live-window): Delete.
4637 (window-combination-p, window-combined-p, window-combinations)
4638 (walk-window-subtree, window-atom-root, window-min-size)
4639 (window-sizable, window-sizable-p, window-size-fixed-p)
4640 (window-min-delta, window-max-delta, window-resizable)
4641 (window-resizable-p, window-full-height-p, window-full-width-p)
4642 (window-current-scroll-bars, window-point-1, set-window-point-1)
4643 (window-at-side-p, window-in-direction, window-resize)
4644 (adjust-window-trailing-edge, maximize-window, minimize-window)
4645 (window-deletable-p, delete-window, delete-other-windows)
4646 (record-window-buffer, unrecord-window-buffer)
4647 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4648 (quit-window, split-window, window-state-put)
4649 (set-window-text-height, fit-window-to-buffer)
4650 (shrink-window-if-larger-than-buffer): Callers changed.
4652 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4654 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4655 rfc2047-decode-string.
4656 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4659 * window.el (window-body-height, window-body-width): Mention in
4660 the doc string that the return values are in frame's canonical
4663 2011-11-03 Alan Mackenzie <acm@muc.de>
4665 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4666 change in cc-engine.el.
4668 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4670 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4672 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4674 * window.el (quit-window): Call unrecord-window-buffer after
4675 showing another buffer in the window. (Bug#9937)
4676 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4678 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4680 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4681 Accept status with more than 9 shelves. (Bug#9935)
4682 Reported by Colin D Bennett <colin@gibibit.com>.
4684 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4686 * help.el (with-help-window): Don't reference
4687 temp-buffer-show-specifiers in doc-string.
4689 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4691 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4694 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4696 * whitespace.el: New version 13.2.2.
4697 (whitespace-newline-mode): Disable properly. Reported by Sarah
4700 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4702 * net/newst-treeview.el: Remove "Time-stamp".
4703 (newsticker--group-manage-orphan-feeds): Do not call
4704 newsticker--treeview-tree-update.
4705 (newsticker-treeview-update, newsticker-treeview):
4706 Call newsticker--treeview-tree-update if necessary.
4708 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4710 * window.el (window-iso-combination-p, window-iso-combined-p)
4711 (window-iso-combinations): Remove "iso-" infix.
4712 Suggested by Chong Yidong.
4713 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4714 (window-max-delta-1, window-resize, window--resize-siblings)
4715 (window--resize-this-window, adjust-window-trailing-edge)
4716 (split-window, balance-windows-1)
4717 (shrink-window-if-larger-than-buffer):
4718 * calendar/calendar.el (calendar-generate-window):
4719 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4721 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4724 in place (bug#9907).
4725 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4726 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4727 (eshell-structure-basic-command, eshell-rewrite-while-command)
4728 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4729 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4730 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4731 (eshell-do-pipelines-synchronously, eshell-eval-command):
4732 Use backquotes and prefer setq to set.
4733 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4734 (eshell-macrop): Use functionp.
4735 (eshell-do-eval): Handle multiple expressions in `while' body.
4737 2011-10-30 Chong Yidong <cyd@gnu.org>
4739 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4740 instead of set-mark (Bug#9810).
4742 2011-10-30 Chong Yidong <cyd@gnu.org>
4744 * window.el (split-window-below, split-window-right): Rename from
4745 split-window-above-each-other and split-window-side-by-side
4746 respectively. All callers changed.
4747 (split-window-sensibly, split-window-sensibly): Use them.
4748 (split-window-keep-point): Doc fix.
4750 * isearch.el: Add isearch-scroll property to split-window-below
4751 and split-window-right.
4753 * follow.el (follow-mode):
4754 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4755 * progmodes/ada-xref.el (ada-gdb-application):
4756 * emulation/vip.el (vip-buffer-in-two-windows):
4757 * image-dired.el (image-dired-dired-with-window-configuration):
4758 * dired-x.el (dired-do-find-marked-files):
4759 * dired.el (dired-pop-to-buffer):
4760 * bs.el (bs--show-with-configuration):
4761 * vc/emerge.el (emerge-setup-windows):
4762 * textmodes/two-column.el (2C-two-columns):
4763 * textmodes/reftex-toc.el (reftex-toc):
4764 * progmodes/gdb-mi.el (gdb-setup-windows):
4765 * progmodes/fortran.el (fortran-window-create):
4766 * net/newst-treeview.el (newsticker--treeview-window-init):
4767 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4768 * emulation/tpu-edt.el (tpu-gold-map):
4769 * emulation/crisp.el (crisp-mode-map):
4770 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4772 2011-10-29 Chong Yidong <cyd@gnu.org>
4774 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4776 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4778 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4779 forged Ispell output (Bug#7904).
4781 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4783 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * doc-view.el: Avoid ugly errors about not finding nil.
4786 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4787 (doc-view-dvipdf-program, doc-view-unoconv-program)
4788 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4789 Avoid nil or absolute file name as default value.
4790 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4792 2011-10-28 Alan Mackenzie <acm@muc.de>
4794 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4796 2011-10-28 Alan Mackenzie <acm@muc.de>
4798 Amend the handling of c-beginning/end-of-defun in nested declaration
4801 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4802 cc-langs.el. Change it to a defcustom.
4804 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4807 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4808 Prevent "class foo : bar" being spuriously recognized as a label.
4810 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4811 Add parameter `inclusive' (to include enclosing braces in the region).
4812 (c-widen-to-enclosing-decl-scope): New function.
4813 (c-while-widening-to-decl-block): New macro.
4814 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4815 outward for defun boundaries, and correspondingly change symbol
4816 `respect-enclosure' to `go-outward'.
4817 (c-declaration-limits): Change algorithm to report only the "innermost"
4820 2011-10-28 Deniz Dogan <deniz@dogan.se>
4822 * net/rcirc.el (rcirc-mode): Use hard newlines.
4824 2011-10-28 Alan Mackenzie <acm@muc.de>
4826 Amend to indent and fontify macros "which include their own semicolon"
4827 correctly, using the "virtual semicolon" mechanism.
4829 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4831 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4832 Recode to scan one line at a time rather than having \n and \r
4833 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4834 (c-forward-label): Amend for virtual semicolons.
4835 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4837 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4838 of the new C macros.
4840 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4841 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4842 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4843 (c-opt-cpp-macro-define): Make into a full language variable.
4844 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4845 AWK Mode (including \n, \r) removed, no longer needed.
4847 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4848 Invoke c-make-macro-with-semi-re.
4850 * progmodes/cc-vars.el (c-macro-with-semi-re):
4851 (c-macro-names-with-semicolon): New variables.
4852 (c-make-macro-with-semi-re): New function.
4854 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4856 * vc/log-edit.el: Fill empty field rather than adding new one.
4857 (log-edit-add-field): New function.
4858 (log-edit-insert-changelog): Use it.
4860 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4862 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4864 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4867 (gdb--check-interpreter): New function.
4870 2011-10-27 Glenn Morris <rgm@gnu.org>
4872 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4873 (least-positive-float, least-negative-float)
4874 (least-positive-normalized-float, least-negative-normalized-float)
4875 (float-epsilon, float-negative-epsilon):
4876 Remove unnecessary declarations.
4878 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4879 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4880 (least-positive-float, least-negative-float)
4881 (least-positive-normalized-float, least-negative-normalized-float)
4882 (float-epsilon, float-negative-epsilon): Add doc-strings,
4883 based on those in cl.texi.
4885 * files.el (set-visited-file-name): If the major-mode changed,
4886 reload the local variables. (Bug#9796)
4888 2011-10-27 Chong Yidong <cyd@gnu.org>
4890 * subr.el (change-major-mode-after-body-hook): New hook.
4891 (run-mode-hooks): Run it.
4893 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4894 Use change-major-mode-before-body-hook.
4896 * simple.el (fundamental-mode):
4897 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4898 change introducing fundamental-mode-hook.
4900 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4902 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4904 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4906 * ido.el (ido-file-name-all-completions-1): Do not require
4907 tramp.el explicitly. (Bug#7583)
4909 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * progmodes/octave-mod.el:
4912 * progmodes/octave-inf.el: Update maintainer.
4914 2011-10-26 Chong Yidong <cyd@gnu.org>
4916 * subr.el (with-wrapper-hook): Rewrite doc.
4918 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4920 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4921 filenames "/method:foo:". (Bug#9793)
4923 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4928 2011-10-24 Glenn Morris <rgm@gnu.org>
4930 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4932 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4934 * notifications.el: Add the requirement of a running D-Bus session
4935 bus to the Commentary.
4937 2011-10-24 Juri Linkov <juri@jurta.org>
4939 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4940 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4943 2011-10-24 Juri Linkov <juri@jurta.org>
4945 * info.el (Info-following-node-name-re): Add newline to the list
4946 of allowed characters for leading space. (Bug#9824)
4948 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * progmodes/octave-inf.el (inferior-octave-mode-map):
4951 Fix C-c C-h binding.
4952 * progmodes/octave-mod.el (octave-help): Remove.
4954 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4956 Sync with Tramp 2.2.3.
4958 * net/tramp-cache.el (top): Pacify byte-compiler using
4959 `init-file-user' and `site-run-file'.
4961 * net/trampver.el: Update release number.
4963 2011-10-23 Chong Yidong <cyd@gnu.org>
4965 * files.el (toggle-read-only): Remove obsolete comment about
4968 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4969 for toggle-read-only. Note that this hasn't called vc-next-action
4970 since 2008-05-02, though it wasn't documented at the time.
4972 * vc/ediff-init.el (ediff-toggle-read-only-function):
4973 Use toggle-read-only.
4975 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4977 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4980 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4981 correct faulty logical expression.
4982 (c-parse-state-state, c-record-parse-state-state):
4983 (c-replay-parse-state-state): New defvar/defuns.
4984 (c-debug-parse-state): Use new functions.
4986 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4988 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4989 last fix. Use window-in-direction correctly.
4991 2011-10-21 Chong Yidong <cyd@gnu.org>
4993 * progmodes/idlwave.el (idlwave-mode):
4994 * progmodes/vera-mode.el (vera-mode): No need to set
4995 require-final-newline; that's done in prog-mode.
4996 Suggested by Stefan Monnier.
4998 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5000 * mouse.el (mouse-drag-window-above)
5001 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5002 (mouse-drag-mode-line-1, mouse-drag-header-line)
5003 (mouse-drag-vertical-line-rightward-window): Remove.
5004 (mouse-drag-line): New function.
5005 (mouse-drag-mode-line, mouse-drag-header-line)
5006 (mouse-drag-vertical-line): Call mouse-drag-line.
5007 * window.el (window-at-side-p, windows-at-side): New functions.
5009 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5011 * tar-mode.el (tar-grind-file-mode):
5012 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5014 2011-10-21 Chong Yidong <cyd@gnu.org>
5016 * progmodes/idlwave.el (idlwave-mode):
5017 * progmodes/vera-mode.el (vera-mode):
5018 Use mode-require-final-newline.
5020 2011-10-20 Glenn Morris <rgm@gnu.org>
5022 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5024 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5026 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5028 2011-10-20 Chong Yidong <cyd@gnu.org>
5030 * emulation/cua-base.el (cua-mode):
5031 * mail/footnote.el (footnote-mode):
5032 * mail/mailabbrev.el (mail-abbrevs-mode):
5033 * net/xesam.el (xesam-minor-mode):
5034 * progmodes/bug-reference.el (bug-reference-mode):
5035 * progmodes/cap-words.el (capitalized-words-mode):
5036 * progmodes/compile.el (compilation-minor-mode)
5037 (compilation-shell-minor-mode):
5038 * progmodes/gud.el (gud-tooltip-mode):
5039 * progmodes/hideif.el (hide-ifdef-mode):
5040 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5041 * progmodes/subword.el (subword-mode):
5042 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5043 * progmodes/which-func.el (which-function-mode):
5044 * term/tvi970.el (tvi970-set-keypad-mode):
5045 * term/vt100.el (vt100-wide-mode):
5046 * textmodes/flyspell.el (flyspell-mode):
5047 * textmodes/ispell.el (ispell-minor-mode):
5048 * textmodes/nroff-mode.el (nroff-electric-mode):
5049 * textmodes/paragraphs.el (use-hard-newlines):
5050 * textmodes/refill.el (refill-mode):
5051 * textmodes/reftex.el (reftex-mode):
5052 * textmodes/rst.el (rst-minor-mode):
5053 * textmodes/sgml-mode.el (html-autoview-mode)
5054 (sgml-electric-tag-pair-mode):
5055 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5056 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5057 * emulation/crisp.el (crisp-mode):
5058 * emacs-lisp/eldoc.el (eldoc-mode):
5059 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5060 minor mode behavior.
5062 2011-10-19 Juri Linkov <juri@jurta.org>
5064 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5065 the list of hard-coded chars with escape-glyph face.
5067 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5071 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5073 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5076 2011-10-19 Glenn Morris <rgm@gnu.org>
5078 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5079 Ignore ignored files. (Bug#9726)
5081 2011-10-19 Chong Yidong <cyd@gnu.org>
5083 Doc fix for minor modes, stating that an omitted argument enables
5084 the mode unconditionally when called from Lisp.
5086 * abbrev.el (abbrev-mode):
5087 * allout.el (allout-mode):
5088 * autoinsert.el (auto-insert-mode):
5089 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5090 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5091 (global-auto-revert-mode):
5092 * battery.el (display-battery-mode):
5093 * composite.el (global-auto-composition-mode)
5094 (auto-composition-mode):
5095 * delsel.el (delete-selection-mode):
5096 * desktop.el (desktop-save-mode):
5097 * dired-x.el (dired-omit-mode):
5098 * dirtrack.el (dirtrack-mode):
5099 * doc-view.el (doc-view-minor-mode):
5100 * double.el (double-mode):
5101 * electric.el (electric-indent-mode, electric-pair-mode):
5102 * emacs-lock.el (emacs-lock-mode):
5103 * epa-hook.el (auto-encryption-mode):
5104 * follow.el (follow-mode):
5105 * font-core.el (font-lock-mode):
5106 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5107 * help.el (temp-buffer-resize-mode):
5108 * hilit-chg.el (highlight-changes-mode)
5109 (highlight-changes-visible-mode):
5110 * hi-lock.el (hi-lock-mode):
5111 * hl-line.el (hl-line-mode, global-hl-line-mode):
5112 * icomplete.el (icomplete-mode):
5113 * ido.el (ido-everywhere):
5114 * image-file.el (auto-image-file-mode):
5115 * image-mode.el (image-minor-mode):
5116 * iswitchb.el (iswitchb-mode):
5117 * jka-cmpr-hook.el (auto-compression-mode):
5118 * linum.el (linum-mode):
5119 * longlines.el (longlines-mode):
5120 * master.el (master-mode):
5121 * mb-depth.el (minibuffer-depth-indicate-mode):
5122 * menu-bar.el (menu-bar-mode):
5123 * minibuf-eldef.el (minibuffer-electric-default-mode):
5124 * mouse-sel.el (mouse-sel-mode):
5125 * msb.el (msb-mode):
5126 * mwheel.el (mouse-wheel-mode):
5127 * outline.el (outline-minor-mode):
5128 * paren.el (show-paren-mode):
5129 * recentf.el (recentf-mode):
5130 * reveal.el (reveal-mode, global-reveal-mode):
5131 * rfn-eshadow.el (file-name-shadow-mode):
5132 * ruler-mode.el (ruler-mode):
5133 * savehist.el (savehist-mode):
5134 * scroll-all.el (scroll-all-mode):
5135 * scroll-bar.el (scroll-bar-mode):
5136 * server.el (server-mode):
5137 * shell.el (shell-dirtrack-mode):
5138 * simple.el (auto-fill-mode, transient-mark-mode)
5139 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5140 (line-number-mode, column-number-mode, size-indication-mode)
5141 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5142 * strokes.el (strokes-mode):
5143 * time.el (display-time-mode):
5144 * t-mouse.el (gpm-mouse-mode):
5145 * tool-bar.el (tool-bar-mode):
5146 * tooltip.el (tooltip-mode):
5147 * type-break.el (type-break-mode-line-message-mode)
5148 (type-break-query-mode):
5149 * view.el (view-mode):
5150 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5151 (global-whitespace-mode, global-whitespace-newline-mode):
5152 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5154 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5155 Fix autogenerated docstring.
5157 2011-10-19 Juri Linkov <juri@jurta.org>
5159 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5160 by checking environment variables "DESKTOP_SESSION" and
5161 "XDG_CURRENT_DESKTOP". (Bug#9779)
5163 2011-10-19 Juri Linkov <juri@jurta.org>
5165 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5166 (browse-url-chromium-program, browse-url-chromium-arguments):
5168 (browse-url-default-browser): Check for `browse-url-chromium' and
5169 call `browse-url-chromium-program'.
5170 (browse-url-chromium): New command. (Bug#9779)
5172 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5174 * facemenu.el (list-colors-duplicates): On Windows, detect more
5175 duplicates by assuming that only colors matching "^System" are
5176 special "system colors". (Bug#9722)
5178 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5181 to distinguish the author from the committer.
5183 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5185 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5187 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5189 * international/mule.el (sgml-html-meta-auto-coding-function):
5190 Add support for detecting encoding in HTML5 specified only as
5191 <meta charset="UTF-8">. Implementation just makes http-equiv and
5192 content-type parts from HTML4 encoding string optional. (Bug#9716)
5194 2011-10-18 Glenn Morris <rgm@gnu.org>
5196 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5198 2011-10-18 Chong Yidong <cyd@gnu.org>
5200 * faces.el (cursor): Doc fix.
5202 2011-10-17 Chong Yidong <cyd@gnu.org>
5204 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5206 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5208 * dirtrack.el (dirtrack): Support shell buffers with path
5209 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5211 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5213 * json.el: Bump version to 1.3 and note change in History.
5214 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5216 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * comint.el (comint-insert-input, comint-send-input)
5219 (comint-get-old-input-default, comint-backward-matching-input)
5220 (comint-next-prompt): Use nil instead of `input' for field property of
5221 past user input (bug#114).
5223 * minibuffer.el (completion--replace): Inherit surrounding properties
5225 (minibuffer-complete-and-exit): Use it.
5227 * comint.el (comint--table-subvert): Quote the all-completions output
5230 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5232 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5234 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5235 window on right of selected. (Bug#9350) Reword other window
5236 entries and separate them from frame entries.
5238 2011-10-15 Glenn Morris <rgm@gnu.org>
5240 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5243 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5245 * net/network-stream.el (network-stream-open-starttls):
5246 Improve detection of failure due to lack of TLS support.
5248 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5249 putting the input text in front and in bold.
5251 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5255 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5258 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5259 unread-command-events rather than pushing yet-another event.
5261 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5263 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5264 the explanation of the possible choices. Make the options passed
5265 to completing-read shorter.
5267 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5269 * textmodes/flyspell.el (flyspell-large-region): Make sure
5270 extended character mode is used if defined (Bug#1339).
5272 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5274 * simple.el (what-cursor-position): Fix the display of the
5275 character info for LRE, LRO, RLE, and RLO characters by appending
5278 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5281 even in case of error; add debug spec; simplify data flow.
5282 (with-timeout-handler): Remove.
5284 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5286 Fix Bug#6019, Bug#9315.
5288 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5289 complete `buffer-file-name', the local file name part could look
5290 remotely (for example on VMS).
5292 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5293 `tramp-run-real-handler'.
5294 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5295 already quoted by '"'.
5297 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5298 Let `file-name-handler-alist' be nil, the local file name part
5299 could look remotely (for example on VMS).
5301 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5305 (flyspell-post-command-hook): ...to here.
5307 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5311 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5312 using completion. Protect against "slow" callers.
5313 Remove the "message hack".
5315 2011-10-11 Juri Linkov <juri@jurta.org>
5317 * isearch.el (isearch-lazy-highlight-word): New variable.
5318 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5321 2011-10-11 Glenn Morris <rgm@gnu.org>
5323 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5324 like f90-previous-statement does.
5326 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5328 * eshell/eshell.el (eshell-command): History should be saved
5329 only in interactive use, to avoid error.
5331 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * minibuffer.el (completion-file-name-table): Fix last change,
5334 i.e. ignore normal errors but not the other ones.
5336 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5338 * window.el (special-display-buffer-names)
5339 (special-display-regexps): Remove some remnants of earlier
5340 changes from doc-strings.
5341 (quit-windows-on): New function.
5343 * vc/vc.el (vc-revert, vc-rollback):
5344 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5345 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5346 (Bug#6183) (Bug#7074) (Bug#7447)
5348 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5350 * window.el (frame-auto-hide-function): Add version tag.
5353 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5355 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5358 2011-10-09 Leo Liu <sdl.web@gmail.com>
5360 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5363 2011-10-08 Glenn Morris <rgm@gnu.org>
5365 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5366 before the first code statement zero indent. (Bug#9690)
5368 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5370 * simple.el (count-words-region): Always count in the region.
5371 Report the number of lines and characters too.
5372 (count-words): New command, which counts in the buffer if the
5373 region is inactive, as count-words-region used to.
5374 (count-words--message): New function. Handle plurals.
5375 (count-lines-region): Make it an alias for count-words-region.
5377 * bindings.el (esc-map): Replace count-lines-region with
5380 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5382 * window.el (window--delete): Delete dedicated frame
5383 unconditionally when argument KILL is non-nil. (Bug#9699)
5384 (switch-to-buffer): Fix doc-string typo.
5386 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5388 * eshell/eshell.el (eshell-command): Avoid using hooks.
5390 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5392 * bindings.el ([M-left],[M-right]): Bind to left-word and
5393 right-word respectively.
5395 2011-10-07 Glenn Morris <rgm@gnu.org>
5397 * cus-start.el (debug-on-quit): Fix custom type.
5399 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5401 * subr.el (define-key-after): Clarify that the function is not
5402 useful for non-menu keymaps.
5404 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5406 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5408 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5409 in current minibuffer (Fix bug with recursive minibuffers).
5411 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5413 * progmodes/gdb-mi.el (gdb): Doc fix.
5415 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5417 * window.el (frame-auto-hide-function): New option replacing
5418 frame-auto-delete. Suggested by Stefan Monnier.
5419 (window--delete): Call frame-auto-hide-function instead of
5420 investigating frame-auto-delete.
5421 (window-point-1, set-window-point-1): New functions.
5422 (window-in-direction, record-window-buffer, window-state-get-1)
5423 (display-buffer-record-window): Use window-point-1 instead of
5425 (set-window-buffer-start-and-point): Use set-window-point-1.
5427 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5429 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5431 2011-10-05 Glenn Morris <rgm@gnu.org>
5433 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5434 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5436 2011-10-05 Leo Liu <sdl.web@gmail.com>
5438 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5439 works with buffer object.
5441 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * mpc.el (mpc-tool-bar-map): Add labels.
5445 2011-10-04 Glenn Morris <rgm@gnu.org>
5447 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5449 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5451 * window.el (window--delete): New function.
5452 (frame-auto-delete): Resuscitate option.
5453 (bury-buffer, replace-buffer-in-windows)
5454 (quit-window): Rewrite using window--delete.
5455 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5456 Pass display-buffer-mark-dedicated to window--display-buffer-2
5459 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5462 returns a list (bug#9554). Add remote file name completion.
5463 * comint.el (comint--table-subvert): Curry and get quote&unquote
5464 functions as arguments.
5465 (comint--complete-file-name-data): Adjust call accordingly.
5466 * pcomplete.el (pcomplete--table-subvert): Remove.
5467 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5469 * minibuffer.el (completion-table-case-fold): Use currying.
5470 (completion--styles-type, completion--cycling-threshold-type):
5472 (completion-styles, completion-category-overrides)
5473 (completion-cycle-threshold): Use them.
5474 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5475 completion-table-case-fold.
5477 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5479 * minibuffer.el (completion-category-overrides): Fix type of styles
5480 and add more user friendly tags (bug#9660).
5482 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5484 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5485 (mule-input-method-string): New widget.
5486 (default-input-method, language-info-custom-alist): Use it.
5488 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * pcomplete.el: Require comint.
5491 (pcomplete--common-suffix): Remove.
5492 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5493 (pcomplete--table-subvert): Sync with comint--table-subvert.
5494 (pcomplete--entries): Use comint-completion-file-name-table.
5495 * comint.el (comint-unquote-filename): Simplify.
5496 (comint-completion-file-name-table): New function (bug#9616).
5497 (comint--complete-file-name-data): Use it.
5499 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5500 (pcmpl-gnu-tar-buffer): Remove.
5501 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5502 around. Make sure pcomplete-suffix-list is only changed temporarily.
5503 Don't look inside the tar's file if it's too large.
5505 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5507 * cus-edit.el (custom-mode-map):
5508 * epa.el (epa-key-list-mode-map):
5509 * man.el (Man-mode-map):
5510 * startup.el (splash-screen-keymap):
5511 * simple.el (special-mode-map): Use scroll-up-command and
5512 scroll-down-command.
5514 * progmodes/idlw-help.el (idlwave-help-mode-map):
5515 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5516 * net/newst-plainview.el (newsticker-mode-map):
5517 * emulation/ws-mode.el (wordstar-mode-map):
5518 * emulation/vi.el (vi-com-map):
5519 * calc/calc-graph.el (calc-graph-show-dumb):
5520 * term/sun.el (terminal-init-sun):
5521 * term/ns-win.el (global-map):
5522 * progmodes/grep.el (grep-mode-map):
5523 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5524 * mail/rmail.el (rmail-mode-map):
5525 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5527 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5528 custom-safe-themes as special.
5530 2011-10-01 Julien Danjou <julien@danjou.info>
5532 * notifications.el (notifications-notify): Fix docstring.
5534 2011-10-01 Per Starbäck <per@starback.se>
5536 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5538 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5540 * startup.el (command-line-1): Fix last fix by inserting
5541 initial-scratch-message into *scratch* before displaying it.
5542 (Bug#9605) and (Bug#9636)
5544 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5546 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5547 window is hscrolled, move by logical lines. (Bug#9607)
5548 (line-move-visual): Update the doc string to the above effect.
5550 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5552 * window.el (display-buffer-record-window): When WINDOW is the
5553 selected window use `point' instead of `window-point'. (Bug#9626)
5555 * startup.el (command-line-1): Use insert-before-markers when
5556 inserting initial-scratch-message. (Bug#9605)
5558 * help.el (help-window): Remove variable.
5560 2011-09-29 Glenn Morris <rgm@gnu.org>
5562 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5564 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5566 * descr-text.el (describe-char-categories): Accept category
5567 descriptions more than one line long.
5569 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * simple.el (delete-trailing-whitespace): Fix last change.
5573 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5574 Don't confuse "y => 3" as the beginning of a `y' operation.
5576 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5577 object has more than 4 slots (bug#9613).
5579 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5581 * subr.el (with-output-to-temp-buffer):
5582 * net/quickurl.el (quickurl, quickurl-browse-url):
5583 Fix typos in docstrings.
5585 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5587 * minibuffer.el (completion-styles)
5588 (completion-category-overrides): Cross reference each other in doc
5591 2011-09-27 Glenn Morris <rgm@gnu.org>
5593 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5594 to split-string. (Bug#9606)
5596 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5601 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5603 * emacs-lisp/package.el (list-packages): Fix echo area message.
5605 2011-09-27 Leo Liu <sdl.web@gmail.com>
5607 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5609 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5611 * net/dbus.el (dbus-unregister-object): Don't release services for
5612 registered signals. (Bug#9581)
5614 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5616 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5617 function that picks between cfengine 2 and 3 support
5618 automatically. Update docs accordingly.
5620 2011-09-22 Kenichi Handa <handa@m17n.org>
5622 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5624 (indian-itrans-v5-table-for-tamil): New variable.
5625 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5627 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5629 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5630 that's true if the current command involved collapsing of text.
5631 It's reset to false at the beginning of the next command.
5632 (allout-post-command-business): Move the cursor to the beginning
5633 of entry if the cursor is hidden and collapsing activity just
5636 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5638 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5639 tracking (Bug#9541).
5641 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5643 * net/newst-reader.el (newsticker-html-renderer)
5644 (newsticker-show-news): Automatically load html rendering package
5645 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5646 because w3m-fill-column is let-bound" and the error "Symbol's value
5647 as variable is void: w3m-fill-column".
5649 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5651 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5652 Release services only if they are defined. (Bug#9581)
5654 2011-09-23 Richard Stallman <rms@gnu.org>
5656 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5657 distinguish start of paragraph from start of its text.
5659 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5661 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5662 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5663 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5665 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5667 * international/mule-diag.el (mule-diag): Insert a newline after
5668 each fontset description.
5670 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5672 * simple.el (delete-trailing-whitespace):
5673 Document last change; simplify.
5675 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5677 * simple.el (delete-trailing-whitespace): Also delete
5678 extra newlines at the end of the buffer.
5680 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5681 (picture-newline): Use forward-line so as to ignore fields.
5683 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * subr.el (with-wrapper-hook): Fix edebug spec.
5687 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5689 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5692 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5694 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5695 Fix nasty bug using wrong cached values.
5697 2011-09-23 Alan Mackenzie <acm@muc.de>
5699 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5701 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5703 * window.el (pop-to-buffer): Ensure right window is selected if we
5704 chose another frame.
5706 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5708 * simple.el (what-cursor-position): Use get-char-property-change
5709 and next-single-char-property-change, to be able to show display
5710 properties that come from overlays as well as text properties.
5712 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5714 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5716 * cmuscheme.el (run-scheme, switch-to-scheme):
5717 * cus-edit.el (customize-group, custom-buffer-create)
5721 * mail/sendmail.el (mail):
5722 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5724 2011-09-22 Richard Stallman <rms@gnu.org>
5726 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5727 move back only to line beg, don't move back over blank lines.
5729 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5731 * files.el (copy-directory): Set directory attributes only in case
5732 they could be retrieved from the source directory. (Bug#9565)
5734 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5736 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5737 (hs-find-block-beginning, hs-hide-level-recursive):
5738 Ignore strings as well as comments. (Bug#9502)
5740 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5742 * progmodes/sql.el (sql-comint-postgres):
5743 Convert port number to a string. (Bug#9566)
5745 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5747 * window.el (quit-window): Undedicate window when switching to
5748 previous buffer. Reported by Thierry Volpiatto
5749 <thierry.volpiatto@gmail.com>.
5750 (special-display-popup-frame): When popping up a new frame reset
5751 its previous buffers to nil. Simplify code.
5753 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5755 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5756 and process filter, as done also in `shell-command'.
5758 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5760 * window.el (set-window-buffer-start-and-point):
5761 Call set-window-start with NOFORCE argument t.
5762 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5763 (quit-window): Reword doc-string. Handle new format of
5764 quit-restore parameter. Don't delete window if it has a
5765 previous buffer we can show instead of the present one.
5766 (display-buffer-record-window): Rewrite using a new format for
5767 the quit-restore window parameter
5768 (special-display-popup-frame, display-buffer-same-window)
5769 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5770 (display-buffer-pop-up-window, display-buffer-use-some-window):
5771 Adapt symbol passed to display-buffer-record-window.
5772 * help.el (help-window-setup): Handle new format of quit-restore
5775 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * faces.el (face-list): Fix docstring (bug#9564).
5779 * window.el (display-buffer--action-function-custom-type):
5780 Don't include internal functions in the Custom interface.
5782 2011-09-20 Juri Linkov <juri@jurta.org>
5784 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5785 (Info-forward-node, Info-backward-node, Info-next-preorder)
5786 (Info-last-preorder): Use it. (Bug#9528)
5788 2011-09-20 Juri Linkov <juri@jurta.org>
5790 * info.el (Info-last-preorder): Visit last menu item only when
5791 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5793 2011-09-20 Julien Danjou <julien@danjou.info>
5795 * password-cache.el (password-cache-remove): Remove entries even if the
5796 value is nil, so that password with a nil value (negative caching) is
5797 possible to invalidate.
5799 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5801 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5802 all whitespace around breakpoint. (Bug#9553)
5803 (f90-find-breakpoint): Only break at whitespace inside a comment.
5805 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * minibuffer.el (completion-file-name-table): Keep track of errors.
5808 (completion-table-with-predicate): Handle the case where pred1 is nil.
5809 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5811 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5814 (debugger-return-value): Signal an error if the debugging context does
5815 not await any return value.
5817 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5818 * image-mode.el (image-toggle-display-text)
5819 (image-toggle-display-image): Stay away from evil `intangible'.
5821 2011-09-19 Leo Liu <sdl.web@gmail.com>
5823 * replace.el (occur-revert-arguments): Make it permanent-local.
5824 (occur-mode): Don't call font-lock-defontify.
5826 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5828 * net/ldap.el (ldap-search-internal): Don't push empty search
5831 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5835 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5837 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5838 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5840 2011-09-18 Juri Linkov <juri@jurta.org>
5842 * buff-menu.el (Buffer-menu-mode-map):
5843 * dired.el (dired-mode-map):
5844 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5845 (lisp-interaction-mode-map):
5846 * emacs-lisp/package.el (package-menu-mode-map):
5847 * epa.el (epa-key-list-mode-map):
5848 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5849 (menu-bar-options-menu):
5850 * outline.el (outline-mode-menu-bar-map):
5851 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5852 * vc/vc-dir.el (vc-dir-menu-map):
5853 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5854 Capitalize non-function content words in menu item strings.
5856 * dired.el (dired-mode-map): Add menu item for
5857 `image-dired-dired-toggle-marked-thumbs'.
5859 2011-09-18 Juri Linkov <juri@jurta.org>
5861 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5862 to `isearch-case-fold-search' and restore its original value
5863 after the `isearch-mode' call.
5865 2011-09-18 Juri Linkov <juri@jurta.org>
5867 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5868 because `zgrep' returns 1 for successful matches (bug#9226).
5870 2011-09-18 Juri Linkov <juri@jurta.org>
5872 * info.el (Info-extract-menu-node-name): Check the second match
5873 for empty string (second test-case of bug#9528).
5874 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5875 intermediate nodes to the history (first test-case of bug#9528).
5877 2011-09-18 Juri Linkov <juri@jurta.org>
5879 * info.el (Info-mode-syntax-table): New variable.
5880 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5882 2011-09-18 Juri Linkov <juri@jurta.org>
5884 * info.el (Info-file-supports-index-cookies):
5885 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5886 outputs one more line for long file names (bug#4142).
5888 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5890 * newcomment.el (comment-normalize-vars): If prompting for
5891 comment-start, set comment-start-skip too (Bug#8424).
5893 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5895 * icomplete.el: Fix previous fix of Bug#5849.
5896 (icomplete-mode): Don't set completion-show-inline-help.
5897 (icomplete-minibuffer-setup): Set completion-show-inline-help
5898 locally during icompletion.
5900 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5902 * woman.el (woman2-process-escapes): Don't delete unrecognized
5905 * files.el (inhibit-first-line-modes-regexps): Add image files.
5906 (hack-local-variables-prop-line): Return nil for malformed
5907 prop-lines (Bug#9044).
5909 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5911 * net/tramp.el (top): Don't require 'shell.
5912 (tramp-methods): Fix docstring.
5913 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5914 Return complete remote file name. Handle "smb" case.
5915 Use `tramp-tmpdir', if defined for the respective method.
5916 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5918 * net/tramp-compat.el (top): Require 'shell.
5920 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5921 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5922 `tramp-current-host'.
5923 (tramp-get-remote-tmpdir): Remove.
5925 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5926 `tramp-tmpdir' entries.
5927 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5928 (tramp-smb-handle-file-attributes): Ignore errors.
5929 (tramp-smb-wait-for-output): Check also for process end.
5931 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5933 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5934 when sending QUIT (bug#9312).
5936 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5938 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5939 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5940 occur-mode-display-occurrence.
5941 (occur-edit-mode): Add usage message.
5942 (occur-cease-edit): New command.
5943 (occur-after-change-function): Use text properties to find the
5944 position of the prefix text.
5945 (occur-engine): Set stickiness of prefix text properties.
5947 2011-09-17 Glenn Morris <rgm@gnu.org>
5949 * progmodes/etags.el (complete-tag):
5950 Fix call to completion-in-region. (Bug#9526)
5952 2011-09-17 Juri Linkov <juri@jurta.org>
5954 * textmodes/ispell.el (ispell-word): Add to the error message
5955 the word, ispell program name and current dictionary (bug#9121).
5956 (ispell-tex-arg-end): Capitalize "error" in the error message.
5958 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5960 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5963 2011-09-17 Juri Linkov <juri@jurta.org>
5965 * window.el (window-safe-min-height, window-safe-min-width):
5966 Fix typos (followup to bug#9522).
5968 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5970 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5972 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5974 * simple.el (line-move): If goal-column is set, move by logical
5975 lines, not by display lines. (Bug#971)
5976 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5977 to reflect the above change.
5979 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * image.el (imagemagick-register-types): Use regexp-opt.
5983 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5985 * window.el (display-buffer-base-action): Rename from
5986 display-buffer-default-action. Make default value empty.
5987 (display-buffer-overriding-action): Convert to defvar.
5988 (display-buffer-fallback-action): New var.
5990 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5992 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5994 (package--add-to-archive-contents): If there is a duplicate entry
5995 with an older version, remove it.
5996 (package-menu-mark-delete, package-menu-mark-install)
5997 (package-menu-mark-unmark): Make unused args optional.
5998 (package-menu-mark-obsolete-for-deletion):
5999 Use package-menu-get-status instead of a regexp search.
6000 (package-menu-get-status): Use tabulated-list-entry.
6001 (package-menu-mark-upgrades): New command.
6002 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6003 (package-menu-execute): Do installation before deletion.
6004 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6005 instead of checking major-mode.
6006 (package-menu--find-upgrades): New function.
6008 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6010 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6011 passwords in the log buffer.
6012 (smtpmail-process-filter): Update the process marker so that the
6013 "broken by peer" status message is inserted in the right place.
6015 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6018 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6019 bibtex-completion-at-point-function.
6020 (bibtex-completion-at-point-function): Use them.
6022 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6024 * mpc.el (mpc-constraints-tag-lookup): New function.
6025 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6026 also to browser "album|playlist".
6028 2011-09-14 Juri Linkov <juri@jurta.org>
6030 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6031 (isearch-edit-string): Use length of `isearch-string' when
6032 `isearch-fail-pos' returns nil.
6033 (isearch-message): Remove duplicate code and call
6034 `isearch-fail-pos' with arg `t'.
6036 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6038 * replace.el (occur-mode-goto-occurrence): Don't force using other
6041 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6043 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6045 * window.el (display-buffer-window): Remove.
6046 (display-buffer-record-window): Use help-setup window parameter
6047 instead of variable display-buffer-window.
6048 (display-buffer-function, special-display-buffer-names)
6049 (special-display-function): Mention help-setup parameter instead
6050 of display-buffer-window in doc-string.
6051 * help.el (help-window-setup): New argument help-window.
6052 Use help-window-setup parameter instead of display-buffer-window.
6053 Reword some messages.
6054 (with-help-window): Pass window used for displaying the buffer
6055 to help-window-setup. Don't set display-buffer-window.
6057 2011-09-13 Glenn Morris <rgm@gnu.org>
6059 * emacs-lisp/debug.el (debugger-make-xrefs):
6060 Preserve point. (Bug#9462)
6062 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6064 * window.el (window-deletable-p): Use next-frame.
6066 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6068 * window.el (window-auto-delete): Remove.
6069 (window-deletable-p): Remove argument FORCE. Don't deal with
6070 dedication and previous buffers.
6071 (switch-to-prev-buffer): Don't delete window.
6072 (delete-windows-on): Delete a window's frame if and only if the
6073 window is dedicated.
6074 (replace-buffer-in-windows): Delete buffer's window or frame if
6075 and only if window is dedicated.
6076 (quit-window): Handle quit-restore as before last change.
6077 (bury-buffer): Delete window only if window-deletable-p returns t.
6079 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6081 * window.el (window-deletable-p): Never delete the last frame on a
6084 2011-09-13 Glenn Morris <rgm@gnu.org>
6086 * help.el (describe-key-briefly): Copy previous standard-output change.
6088 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6090 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6092 2011-09-13 Glenn Morris <rgm@gnu.org>
6094 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6095 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6097 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6099 * dired-aux.el (dired-mark-read-string): Don't return default
6100 value on empty input (Bug#9361).
6101 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6102 Omit initial minibuffer contents.
6103 (dired-do-chmod): Signal an error on empty input.
6104 (dired-mark-read-string): Don't return default on empty input.
6106 * files.el (file-modes-symbolic-to-number): Doc fix.
6108 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6110 * international/mule-cmds.el (ucs-completions): Remove.
6111 (read-char-by-name): Use complete-with-action instead; add metadata.
6113 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6115 * window.el (display-buffer--action-function-custom-type)
6116 (display-buffer--action-custom-type): New vars.
6117 (display-buffer-alist, display-buffer-default-action)
6118 (display-buffer-overriding-action): Add defcustom types.
6120 * frame.el (delete-other-frames): Doc fix (Bug#276).
6122 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6124 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6126 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6128 Change modes that used same-window-* vars to use switch-to-buffer.
6130 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6131 Use switch-to-buffer.
6133 * cus-edit.el (customize-group, custom-buffer-create)
6134 (customize-browse, custom-buffer-create-other-window):
6135 Use switch-to-buffer or switch-to-buffer-other-window.
6137 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6138 (Info-prev, Info-up, Info-speedbar-goto-node)
6139 (info-display-manual): Use switch-to-buffer.
6140 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6142 * mail/sendmail.el (mail): Use switch-to-buffer.
6143 (mail-recover): Use switch-to-buffer-other-window.
6145 * cmuscheme.el (run-scheme, switch-to-scheme):
6148 * net/rlogin.el (rlogin):
6149 * net/telnet.el (telnet, rsh):
6150 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6152 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6154 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6156 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6158 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6159 so don't mention it (bug#9301).
6160 (dired-sort-toggle-or-edit): Clarify string further.
6162 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6163 match `x', `w32' and `ns', like the manual says (bug#9029).
6165 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6166 (process-kill-buffer-query-function): Mention the buffer name in
6169 * image-mode.el (image-next-line): The line parameter is mandatory
6172 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6173 which can be useful (bug#9301).
6175 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6177 * subr.el (match-string): Mention that the current buffer should
6178 be the same as the search was done in (bug#9282).
6180 * facemenu.el: Disable the remove-* commands if the mark isn't
6183 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6185 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6187 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6189 * replace.el (occur-mode-goto-occurrence)
6190 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6193 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6196 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6197 special-display and same-window variables.
6198 (mail-other-window): Use switch-to-buffer-other-window.
6199 (mail-other-frame): USe switch-to-buffer-other-frame.
6201 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6202 Use display-buffer-other-frame.
6203 (gdb-display-gdb-buffer): Use pop-to-buffer.
6205 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6207 * progmodes/python.el: Don't set same-window-buffer-names.
6209 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6211 * window.el (display-buffer-alist): Add *Python*.
6213 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6215 * window.el (display-buffer-alist): Add entry for buffers
6216 previously handled same-window-*.
6217 (display-buffer-alist, display-buffer-default-action)
6218 (display-buffer-overriding-action): Mark as risky.
6219 (display-buffer-alist): Document action function changes.
6220 (display-buffer--same-window-action)
6221 (display-buffer--other-frame-action): New variables.
6222 (switch-to-buffer, display-buffer-other-frame): Use them.
6223 (display-buffer): Rename reuse-frame entry to reusable-frames.
6224 (display-buffer-reuse-selected-window): Function deleted.
6225 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6226 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6227 (display-buffer-special): New function.
6228 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6229 display-buffer-reuse-or-pop-window. Split off special-display
6230 part into display-buffer-special.
6231 (display-buffer-use-some-window): Don't perform any special
6232 pop-up-frames handling.
6233 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6234 (display-buffer--maybe-same-window): Rename from
6235 display-buffer-maybe-same-window.
6237 * info.el: Don't set same-window-regexps.
6238 (info-setup): New function.
6239 (info-other-window, info): Call it.
6241 * cus-edit.el: Don't set same-window-regexps.
6242 (customize-group): New argument.
6243 (customize-group-other-window): Use it.
6244 (customize-face, customize-face-other-window): Likewise.
6245 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6249 * progmodes/gud.el: Don't set same-window-regexps.
6255 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6257 2011-09-10 Juri Linkov <juri@jurta.org>
6259 * isearch.el (isearch-edit-string): Remove obsolete mention of
6260 `C-w' (`isearch-yank-word-or-char') from docstring.
6261 (isearch-query-replace): Fix typo in docstring (bug#9466).
6263 2011-09-10 Juri Linkov <juri@jurta.org>
6265 * paren.el (show-paren-function): Don't show escaped parens.
6266 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6268 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6270 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6271 (mm-default-file-encoding): Remove autoload forms, they are
6272 replaced with autoload cookies in mml.el and mm-encode.el.
6273 (mail-add-attachment): New command.
6274 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6275 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6277 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6279 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6281 * simple.el (count-words-region): Use buffer if there's no region
6284 2011-09-09 Juri Linkov <juri@jurta.org>
6286 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6287 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6288 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6290 2011-09-09 Alan Mackenzie <acm@muc.de>
6292 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6293 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6295 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6297 Fix for Savannah bug#9392.
6298 * simple.el (mail-encode-mml): New defvar.
6300 * mail/rmail.el (mail-encode-mml): Add a defvar.
6301 (rmail-enable-mime-composing): Default to t.
6302 (rmail-forward): Use MIME method of forwarding only if both
6303 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6304 Set mail-encode-mml non-nil if the MIME method was used.
6306 * mail/sendmail.el (mml-to-mime): Add autoload form.
6307 (mail-encode-mml): Add a defvar.
6308 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6310 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6311 message through mml-to-mime, and reset mail-encode-mml to nil.
6313 2011-09-09 Glenn Morris <rgm@gnu.org>
6315 * woman.el (woman-if-body): When processing an .el block,
6316 do not delete the next .el block as well. (Bug#9447)
6317 (woman-special-characters): Add oq, cq, and hy characters.
6319 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6321 * window.el (window-deletable-p): Make sure window is live before
6322 invoking window-prev-buffers.
6324 2011-09-08 Leo Liu <sdl.web@gmail.com>
6326 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6328 2011-09-08 Juri Linkov <juri@jurta.org>
6330 * progmodes/compile.el (compilation-environment): Make it
6331 a defcustom (bug#8340).
6333 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6335 * window.el (frame-auto-delete): Rename to window-auto-delete.
6336 Make it control auto-deletion of windows and/or frames.
6337 (window-deletable-p): New argument FORCE. Rewrite conditions
6338 for deleting window/frame. (Bug#9419)
6339 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6340 Rewrite handling of case when window/frame can be deleted.
6341 (delete-windows-on): Call window-deletable-p with new FORCE
6342 argument t. (Bug#9456)
6344 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6346 * help-mode.el (help-mode): Restore autoload.
6348 2011-09-07 Juri Linkov <juri@jurta.org>
6350 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6351 `compilation-environment'. Set buffer-local
6352 `compilation-environment' to `thisenv' later after (funcall mode).
6355 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6356 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6357 instead of replacing its value. (Bug#8340)
6359 2011-09-07 Juri Linkov <juri@jurta.org>
6361 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6362 based on text properties put by `grep-filter' instead of matching
6364 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6365 to the value of `grep-error-screen-columns' (bug#9438).
6367 2011-09-07 Juri Linkov <juri@jurta.org>
6369 * simple.el (next-error-highlight, next-error-highlight-no-select):
6372 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6374 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6375 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6377 2011-09-07 Leo Liu <sdl.web@gmail.com>
6379 * net/rcirc.el (rcirc-mode): Conditionally initialize
6382 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * emacs-lisp/find-func.el (find-function-C-source): Only set
6385 find-function-C-source-directory after checking that we found a source
6386 file there (bug#9440).
6388 2011-09-06 Alan Mackenzie <acm@muc.de>
6390 * isearch.el (isearch-other-meta-char): Wherever a key list is
6391 unread, "unread" the prefix arg, too. This fixes bug #8901.
6393 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6395 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6397 2011-09-05 Juri Linkov <juri@jurta.org>
6399 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6401 2011-09-05 Juri Linkov <juri@jurta.org>
6403 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6404 keeping point where processing of grep matches begins, and
6405 continue to delete remaining escape sequences from the same point.
6406 (grep-filter): Make leading zero optional in "0?1;31m" because
6407 git-grep emits "\033[1;31m" escape sequences unlike expected
6408 "\033[01;31m" as GNU Grep does (bug#9408).
6409 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6411 2011-09-05 Juri Linkov <juri@jurta.org>
6413 * subr.el (y-or-n-p): Capitalize "yes".
6415 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6418 `tramp-cache-unload-hook' where appropriate.
6419 (tramp-methods): Rename `tramp-remote-sh' to
6420 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6421 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6423 * net/tramp-sh.el (top): Don't require 'shell.
6424 (tramp-methods): Add `tramp-remote-shell' and
6425 `tramp-remote-shell-args' entries.
6426 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6427 (tramp-sh-handle-shell-command): Remove.
6428 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6429 Use `tramp-remote-shell'.
6431 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6433 * mail/sendmail.el (sendmail-query-once-function): Delete.
6434 (sendmail-query-once): Save directly to send-mail-function.
6435 Update message-send-mail-function too.
6437 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6439 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6441 * progmodes/python.el (python-mode-map): Use correct function to
6442 start python interpreter from menu-bar (as reported by Geert
6444 (inferior-python-mode-map): Fix typo.
6445 (python-shell-map): Remove.
6447 2011-09-03 Deniz Dogan <deniz@dogan.se>
6449 * net/rcirc.el (rcirc-print): Simplify code for
6450 rcirc-scroll-show-maximum-output. There is no need to walk
6451 through all windows to find the right one.
6453 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6455 * help.el (help-return-method): Doc fix.
6457 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6459 * window.el (window-deletable-p): Don't return a non-nil value
6460 when there's a buffer that was shown in the window before.
6462 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6463 Set window's previous buffers to nil.
6465 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6467 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6468 newline before and after the tag line, so it doesn't interfere
6469 with determining the paragraph direction of bidirectional text.
6471 2011-09-03 Leo Liu <sdl.web@gmail.com>
6473 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6475 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6477 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6478 (pop-to-buffer): Change interactive spec. Pass second argument
6479 directly to display-buffer.
6480 (display-buffer): Fix interactive spec. Use functionp to
6481 distinguish between a function and a list of functions.
6483 * abbrev.el (edit-abbrevs):
6484 * arc-mode.el (archive-extract):
6485 * autoinsert.el (auto-insert):
6486 * bookmark.el (bookmark-bmenu-list):
6487 * files.el (find-file):
6488 * view.el (view-buffer):
6489 * progmodes/compile.el (compilation-goto-locus):
6490 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6492 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6494 * window.el (display-buffer-alist): Doc fix.
6495 (display-buffer): Add docstring. Don't treat
6496 display-buffer-default specially.
6497 (display-buffer-reuse-selected-window)
6498 (display-buffer-same-window, display-buffer-maybe-same-window)
6499 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6500 (display-buffer-pop-up-window)
6501 (display-buffer-reuse-or-pop-window)
6502 (display-buffer-use-some-window): New functions.
6503 (display-buffer-default-action): Use them.
6504 (display-buffer-default): Delete.
6505 (pop-to-buffer-1): Fix choice of actions.
6507 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * minibuffer.el (completion--insert-strings): Don't get confused by
6510 completion entries that end with an LF char.
6512 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6514 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6516 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6518 * window.el (display-buffer): Restore interactive spec.
6519 (display-buffer-same-window, display-buffer-other-window):
6521 (pop-to-buffer-1): New function. Use the above.
6522 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6523 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6525 * view.el (view-buffer-other-window, view-buffer-other-frame):
6526 Just use pop-to-buffer.
6528 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6530 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6532 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6534 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6536 2011-08-31 Richard Stallman <rms@gnu.org>
6538 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6539 of the separation of rmail-view-buffer from rmail-buffer.
6540 If you say no to "replace original", the decrypt is in the
6541 view buffer. If you say yes, the decrypt goes into the
6544 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6546 * window.el (display-buffer-window): Rewrite doc-string.
6547 (display-buffer-record-window): New function.
6548 (display-buffer-macro-specifiers)
6549 (display-buffer-even-window-sizes, display-buffer-set-height)
6550 (display-buffer-set-width, display-buffer-in-window)
6551 (display-buffer-reuse-window, display-buffer-split-specifiers)
6552 (display-buffer-side-specifiers, display-buffer-split-window-1)
6553 (display-buffer-split-window, display-buffer-split-atom-window)
6554 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6555 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6556 (display-buffer-other-window-means-other-frame)
6557 (display-buffer-normalize-special)
6558 (display-buffer-normalize-default)
6559 (display-buffer-normalize-argument)
6560 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6561 (display-buffer-normalize-specifiers, display-buffer-frame)
6562 (display-buffer-same-window, display-buffer-same-frame)
6563 (display-buffer-other-window)
6564 (display-buffer-same-frame-other-window)
6565 (display-buffer-other-frame, pop-to-buffer-same-window)
6566 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6567 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6568 (switch-to-buffer-same-frame)
6569 (switch-to-buffer-other-window-same-frame)
6570 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6571 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6572 (display-buffer-alist-set): Remove.
6573 (display-buffer-function, special-display-buffer-names)
6574 (special-display-regexps, special-display-function):
6575 In doc-string refer to display-buffer-window and quit-restore
6577 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6578 (special-display-frame-alist, special-display-popup-frame)
6579 (same-window-buffer-names, same-window-regexps, same-window-p)
6580 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6581 (split-window-preferred-function, split-height-threshold)
6582 (split-width-threshold, window-splittable-p)
6583 (split-window-sensibly, window--try-to-split-window)
6584 (window--frame-usable-p, even-window-heights)
6585 (window--even-window-heights, window--display-buffer-1)
6586 (window--display-buffer-2, display-buffer-other-frame):
6587 Restore old Emacs 23 code, order and doc-strings where applicable.
6588 (display-buffer-default, display-buffer-assq-regexp): New functions.
6589 (display-buffer-alist): Rewrite doc-string.
6590 (display-buffer-default-action)
6591 (display-buffer-overriding-action): New variables.
6592 (display-buffer, switch-to-buffer): Rewrite.
6593 (pop-to-buffer): Restore Emacs 23 behavior but use
6594 window-normalize-buffer-to-display.
6595 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6596 Restore Emacs 23 behavior but use
6597 window-normalize-buffer-to-switch-to.
6598 (pop-to-buffer-same-window): Rewrite.
6599 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6600 Rewrite using Emacs 23 options.
6602 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6604 * net/tramp.el (tramp-root-regexp): Remove.
6605 (tramp-completion-file-name-regexp-unified)
6606 (tramp-completion-file-name-regexp-separate)
6607 (tramp-completion-file-name-regexp-url): Don't use leading volume
6608 letter on win32 systems. (Bug#5303, Bug#9311)
6609 (tramp-drop-volume-letter): Simplify definition.
6610 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6612 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6614 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6617 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6619 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6621 2011-08-29 Juri Linkov <juri@jurta.org>
6623 * isearch.el (isearch-done): Don't display message "Mark saved"
6624 when arg `edit' is non-nil to prevent its flicker in the echo area.
6626 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6628 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6629 obsolete packages for deletion.
6631 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6633 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6634 (help-mode): Derive help-mode from special-mode. Don't invoke
6635 view-mode from help-mode.
6636 (help-xref-override-view-map): Remove.
6637 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6638 view-mode is not used anymore.
6640 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6642 * server.el (server-port): Doc fix.
6644 * cus-theme.el (custom-theme-choose-mode): Inherit from
6645 special-mode (Bug#9124).
6646 (custom-theme-choose-mode-map): Add special-mode to parent.
6648 2011-08-28 Alan Mackenzie <acm@muc.de>
6650 * progmodes/cc-fonts.el
6651 (c-make-font-lock-BO-decl-search-function): New function.
6652 (c-basic-matchers-after - "Fontify the clauses after various
6653 keywords"): Extract the three keyword lists for the 3 erroneous
6654 constructs from the list of four, and use the new function above
6655 in place of an old one.
6657 2011-08-28 Deniz Dogan <deniz@dogan.se>
6659 * net/rcirc.el (rcirc-insert-prev-input)
6660 (rcirc-insert-next-input): Remove unused argument.
6662 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6664 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6666 2011-08-27 Alan Mackenzie <acm@muc.de>
6668 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6669 handle function pointer parameters properly.
6671 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6673 * window.el (display-buffer-reuse-window): Fix case where
6674 selected window was reused with non-nil OTHER-WINDOW argument.
6677 2011-08-27 Deniz Dogan <deniz@dogan.se>
6679 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6680 oftc's NickServ messages.
6682 2011-08-27 Glenn Morris <rgm@gnu.org>
6684 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6686 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6688 * emacs-lisp/package.el (package-install): Call package-initialize
6689 if called interactively.
6691 2011-08-26 Leo Liu <sdl.web@gmail.com>
6693 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6695 2011-08-25 Juri Linkov <juri@jurta.org>
6697 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6698 `search-whitespace-regexp' (bug#9364).
6700 2011-08-25 Juri Linkov <juri@jurta.org>
6702 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6703 `regexp-search-ring' to their global values to protect from
6704 updating by `read-from-minibuffer' (bug#9185).
6706 2011-08-25 Juri Linkov <juri@jurta.org>
6708 * textmodes/ispell.el (ispell-command-loop): Add newline
6709 at the end of the "Use option `i'..." line.
6711 2011-08-25 Juri Linkov <juri@jurta.org>
6713 * battery.el (display-battery-mode): If `battery-status-function'
6714 or `battery-mode-line-format' is nil, display the message and set
6715 `display-battery-mode' to nil (bug#9363).
6717 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6719 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6720 bidi-string-mark-left-to-right; they are unnecessary now.
6722 2011-08-25 Deniz Dogan <deniz@dogan.se>
6724 * net/quickurl.el: Documentation typo fixes.
6726 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6728 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6730 2011-08-25 Glenn Morris <rgm@gnu.org>
6732 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6734 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6735 (smtpmail-via-smtp): Handle nil response from smtp.
6737 2011-08-24 Juri Linkov <juri@jurta.org>
6739 * proced.el (proced-marked): Inherit from `error' instead of
6740 `font-lock-warning-face'.
6742 * ibuffer.el (ibuffer-marked-face): Change default face from
6743 `font-lock-warning-face' to `warning'.
6744 (ibuffer-deletion-face): Change default face from
6745 `font-lock-type-face' to `error'.
6747 * battery.el (battery-update): Use the face `error' instead of
6748 `font-lock-warning-face' (bug#6117).
6750 2011-08-24 Juri Linkov <juri@jurta.org>
6752 * faces.el (success): Change face color from "Green3" to
6753 "ForestGreen" on light background (bug#9353).
6755 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6757 * window.el (quit-window): Rename from quit-restore-window.
6758 Use same arglist as old quit-window.
6759 (frame-auto-delete): Doc fix.
6761 * view.el (view-mode-exit): Use quit-window.
6763 2011-08-24 Juri Linkov <juri@jurta.org>
6765 * isearch.el (isearch-ring-adjust1): Start visiting previous
6766 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6767 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6768 for empty search string (when the last search string is reused
6769 automatically) to adjust the isearch ring to the last element and
6770 prepare the correct index for further M-p commands (bug#9185).
6772 2011-08-24 Kenichi Handa <handa@m17n.org>
6774 * international/ucs-normalize.el: If decomposition property of
6775 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6777 (nfd, nfkd): Likewise.
6779 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6782 from process filters aren't reliably transmitted to the surrounding
6783 accept-process-output.
6784 (mpc-proc-check): New function.
6785 (mpc-proc-sync): Use it (bug#8293)
6787 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6790 Add compatibility functions (bug#9313).
6792 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6794 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6796 * international/uni-bidi.el: Regenerate.
6798 2011-08-23 Kenichi Handa <handa@m17n.org>
6800 * international/charprop.el:
6801 * international/uni-bidi.el:
6802 * international/uni-category.el:
6803 * international/uni-combining.el:
6804 * international/uni-comment.el:
6805 * international/uni-decimal.el:
6806 * international/uni-decomposition.el:
6807 * international/uni-digit.el:
6808 * international/uni-lowercase.el:
6809 * international/uni-mirrored.el:
6810 * international/uni-name.el:
6811 * international/uni-numeric.el:
6812 * international/uni-old-name.el:
6813 * international/uni-titlecase.el:
6814 * international/uni-uppercase.el: Regenerate.
6816 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6818 * help.el (help-window-setup): Fix message displayed when other
6819 window is reused. (Bug#9341)
6821 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6824 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6826 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6828 * shell.el (shell-parse-pcomplete-arguments): New function.
6829 (shell-completion-vars): Use it instead (bug#9160).
6831 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6834 strings and comments (bug#9333).
6836 * emacs-lisp/debug.el (debug-arglist): New function.
6837 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6838 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6840 2011-08-22 Juri Linkov <juri@jurta.org>
6842 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6843 Revert regexp that highlights output switches to its old
6844 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6846 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6847 to check for empty output (bug#9226).
6849 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6851 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6852 symbol-constituent as the default, as that stops font-lock from
6853 working properly (Bug#8843).
6855 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6858 `coding-system-for-*' around the process open call to avoid
6859 auth-source side effects.
6860 (smtpmail-try-auth-methods): Expand the secret password.
6861 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6864 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6866 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6868 * emacs-lisp/find-func.el (find-function-noselect): New arg
6871 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6872 signal an error for built-in functions (Bug#6664).
6874 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6876 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6877 (smtpmail-try-auth-methods): Use it.
6879 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6881 * font-lock.el (font-lock-fontify-region)
6882 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6883 (font-lock-default-unfontify-buffer)
6884 (font-lock-default-fontify-region)
6885 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6887 * progmodes/compile.el (compilation-error-properties):
6888 Fix confusion between file struct and message struct (Bug#9319).
6889 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6892 * net/browse-url.el (browse-url-firefox): Don't call
6893 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6895 2011-08-20 Glenn Morris <rgm@gnu.org>
6897 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6899 * tutorial.el (tutorial--default-keys): Update some default bindings.
6901 * files.el (hack-local-variables): Fully ignore case for "mode:".
6903 2011-08-20 Alan Mackenzie <acm@muc.de>
6905 Resolve invalid use of a regexp in regexp-opt.
6907 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6908 detection for a java annotation.
6910 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6911 detection for a java annotation.
6913 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6915 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6917 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6919 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6922 2011-08-20 Alan Mackenzie <acm@muc.de>
6924 Fontify CPP expressions correctly when starting in the middle of
6925 such a construct. Mainly for when jit-lock etc. starts a chunk
6928 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6930 (c-make-font-lock-search-form): New function, extracted from
6931 c-make-font-lock-search-function.
6932 (c-make-font-lock-search-function): Use the above function.
6933 (c-make-font-lock-context-search-function): New function.
6934 (c-cpp-matchers): Enhance the preprocessor expression case with
6936 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6937 which takes an expression.
6939 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6941 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6943 * window.el (display-buffer-reuse-window)
6944 (display-buffer-pop-up-window): Don't reuse or split a side
6947 2011-08-19 Glenn Morris <rgm@gnu.org>
6949 * files.el (hack-local-variables-prop-line, hack-local-variables):
6950 Downcase "Mode:". (Bug#9331)
6952 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6954 * international/characters.el: Add L and R categories.
6956 * subr.el (bidi-string-mark-left-to-right): Rename from
6957 string-mark-left-to-right. Use category search.
6959 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6961 2011-08-18 Juri Linkov <juri@jurta.org>
6963 * faces.el (error, warning, success): New faces with definitions
6964 copied from old default values of `font-lock-warning-face',
6965 `compilation-warning', `compilation-info' (bug#6117).
6967 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6969 * progmodes/compile.el (compilation-error): Inherit from `error'.
6970 (compilation-warning): Inherit from `warning'.
6971 (compilation-info): Inherit from `success'.
6973 * dired.el (dired-marked): Inherit from `warning'.
6974 (dired-flagged): Inherit from `error'.
6976 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978 * mail/smtpmail.el (auth-source): Require to avoid problems with
6979 binding variables (bug#9298). Also clean up some unused
6982 * net/network-stream.el (network-stream-open-starttls):
6983 Support using starttls.el without using gnutls-cli.
6985 2011-08-17 Juri Linkov <juri@jurta.org>
6987 * progmodes/grep.el (rgrep): Handle the case when
6988 `grep-find-command' is a cons cell (bug#9278).
6990 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6992 * window.el (display-buffer-pop-up-frame): Run frame creation
6993 function with BUFFER current (as special-display-popup-frame
6994 does). Reported by Drew Adams.
6996 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6998 * epa-mail.el: Simplify GnuPG group expansion using
7000 (epa-mail-group-alist, epa-mail-group-modtime)
7001 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7002 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7003 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7006 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7008 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7010 2011-08-16 Alan Mackenzie <acm@muc.de>
7012 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7013 Correct, to avoid the inside of macros.
7015 2011-08-16 Richard Stallman <rms@gnu.org>
7017 * epa-mail.el: Handle GnuPG group definitions.
7018 (epa-mail-group-alist, epa-mail-group-modtime)
7019 (epa-mail-gnupg-conf-file): New variables.
7020 (epa-mail-parse-groups, epa-mail-sync-groups)
7021 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7022 (epa-mail-expand-recipients): New functions.
7023 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7025 * mail/rmail.el (rmail-epa-decrypt): New command.
7027 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7028 Don't bind buffer-read-only, just inhibit-read-only.
7029 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7030 (epa-decrypt-armor-in-region): Make error message clearer.
7032 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7034 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7035 and "a2b" to "ab" for `prefix'.
7037 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7039 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7041 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7042 Fourquet (Bug#8804).
7044 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7046 * startup.el (argi): Declare as global variable (bug#9275).
7048 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7050 * subr.el (string-mark-left-to-right): Search the entire string
7051 for RTL script, not just the terminating character. Doc fix.
7053 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7057 (js--regexp-literal, js-syntax-propertize-function): Remove.
7058 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7059 (js-mode-map): Don't rebind electric keys.
7060 (js-insert-and-indent): Remove.
7061 (js-mode): Setup electric-layout and electric-indent instead.
7063 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7065 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7067 * epa.el (epa-progress-callback-function): Fix the logic of
7068 displaying progress.
7069 * epa-file.el (epa-file-insert-file-contents): Make progress
7070 display more user-friendly.
7071 (epa-file-write-region): Ditto.
7073 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7075 * subr.el (string-mark-left-to-right): New function.
7077 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7078 Use string-mark-left-to-right.
7079 (list-buffers-noselect): Caller changed.
7081 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7082 Use string-mark-left-to-right.
7083 (tabulated-list-print): Recenter after moving point.
7085 2011-08-10 Juri Linkov <juri@jurta.org>
7087 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7088 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7089 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7091 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7093 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7096 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7098 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7099 character. (Bug#6594)
7101 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7103 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7104 (image-dired--with-db-file): New macro.
7105 (image-dired-write-tags, image-dired-remove-tag)
7106 (image-dired-create-gallery-lists, image-dired-write-comments)
7107 (image-dired-get-comment, image-dired-mark-tagged-files)
7108 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7109 (image-dired-gallery-generate): Use insert-file-contents.
7111 * time.el (display-time-world-list, display-time-world-display):
7112 * time-stamp.el (time-stamp-string):
7113 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7114 set-time-zone-rule (Bug#7337).
7116 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7118 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7119 (epg-error-to-string, epg-errors-to-string): New function.
7120 (epg-wait-for-completion): Reverse errors list.
7121 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7122 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7123 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7124 (epg-sign-keys, epg-generate-key-from-file)
7125 (epg-generate-key-from-string): Format errors by using
7126 epg-errors-to-string (bug#9255).
7127 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7129 2011-08-07 Juri Linkov <juri@jurta.org>
7131 * faces.el (list-faces-display): Remove extra angle bracket
7132 from `help-mode-map'.
7134 * info.el (Info-history-toc-nodes): Doc fix.
7136 * longlines.el (longlines-mode): Doc fix.
7138 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7141 of statements and in a few more cases (bug#9183).
7143 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7145 (cl-transform-lambda): Use them (bug#9239).
7147 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7149 * window.el (display-buffer-same-window)
7150 (display-buffer-same-frame, display-buffer-other-window)
7151 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7152 (pop-to-buffer-other-window)
7153 (pop-to-buffer-same-frame-other-window)
7154 (pop-to-buffer-other-frame): Make them defuns.
7155 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7157 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7159 * subr.el (make-composed-keymap): Move from C. Change calling
7160 convention, and improve docstring to bring attention to a subtle point.
7161 * minibuffer.el (completing-read-default): Adjust accordingly.
7163 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7165 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7166 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7168 * net/trampver.el: Update release number.
7170 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7175 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7177 * mail/sendmail.el (sendmail-query-once): Restore the current
7178 buffer after querying (bug#9074).
7180 * dired.el (dired-flagged): Use different faces for marked and
7181 flagged files (bug#6117).
7183 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7186 * ido.el (ido-mode): Switch off the message if called
7189 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7190 before 587, since it appears that that's more likely to work for
7193 * cus-edit.el (custom-file): When running under emacs -q, always
7194 refuse to save the customizations, even if the .emacs file doesn't
7197 * info.el: Remove the `Info-beginning-of-buffer' function
7200 * net/network-stream.el (network-stream-open-starttls):
7201 Use `starttls-available-p' to see whether starttls.el can be used.
7203 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7205 * window.el (display-buffer-in-window): Don't set dedicated status
7206 of window here (Bug#9215).
7207 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7208 (display-buffer-pop-up-side-window)
7209 (display-buffer-in-side-window): Set dedicated status of window here.
7211 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7214 before binding generated-autoload-file.
7216 2011-08-01 Deniz Dogan <deniz@dogan.se>
7218 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7220 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7222 Sync with Tramp 2.2.2.
7224 * net/trampver.el: Update release number.
7226 2011-07-30 Juri Linkov <juri@jurta.org>
7228 * dired-aux.el (dired-touch-initial): Remove function.
7229 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7230 current time, and `default' to the last modification time of the
7231 current marked file (bug#6887).
7233 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7235 * simple.el (goto-line): Use string-to-number to provide a
7236 numeric argument to read-number (bug#9163).
7238 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7240 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7241 connection process, it could be nil.
7243 2011-07-27 Leo Liu <sdl.web@gmail.com>
7245 Simplify url handling in rcirc-mode.
7247 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7248 (rcirc-browse-url-at-mouse): Remove.
7249 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7251 2011-07-26 Alan Mackenzie <acm@muc.de>
7253 Fontify bitfield declarations properly.
7255 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7256 (c-symbol-chars): Now exported as a lang variable.
7257 (c-not-primitive-type-keywords): New lang variable.
7259 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7260 QT keyword "more" to prevent "more slots: ...." being spuriously
7261 parsed as a bitfield declaration.
7263 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7264 Refactor and enhance to handle bitfield declarations.
7265 (c-punctuation-in): New function.
7266 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7267 declarations properly.
7269 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7271 * calendar/icalendar.el (icalendar--all-events): Take care of
7272 multiple vcalendars in a single file.
7273 (icalendar--convert-float-to-ical): Checkdoc fixes.
7275 2011-07-25 Deniz Dogan <deniz@dogan.se>
7277 * image.el (insert-image): Clarifying docstring.
7279 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7281 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7282 `tramp-send-command-and-check' if there is no error.
7283 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7285 2011-07-22 Alan Mackenzie <acm@muc.de>
7287 Prevent cc-langs.elc being loaded at run time.
7289 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7292 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7293 "(require 'cc-langs)". Quote a form so it will evaluate at
7294 (cc-mode's) compilation time.
7296 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7298 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7301 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7303 * window.el (display-buffer-pop-up-window)
7304 (display-buffer-pop-up-side-window)
7305 (display-buffer-in-side-window): Call display-buffer-set-height
7306 and display-buffer-set-width after setting the new window's
7307 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7309 2011-07-20 Sam Steingold <sds@gnu.org>
7311 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7312 (etags-tags-included-tables): Call `convert-standard-filename' on
7313 the file names contained in TAGS so that windows Emacs can handle
7314 TAGS files created by cygwin ctags.
7316 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7318 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7319 which apparently didn't work.
7321 2011-07-19 Roland Winkler <winkler@gnu.org>
7323 * proced.el (proced-send-signal): For *Marked Processes* buffer
7324 put point at beginning of buffer.
7326 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7328 * proced.el (proced-format): Make header lines align with the text
7331 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7333 * view.el (view-buffer): Allow running in `special' modes if we're
7334 visiting a file (bug#8615).
7336 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7338 * window.el (display-buffer-alist-of-strings-p)
7339 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7341 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7344 2011-07-18 Alan Mackenzie <acm@muc.de>
7346 Fontify declarators properly when, e.g., a jit-lock chunk begins
7347 inside a declaration.
7349 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7351 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7353 (c-complex-decl-matchers): Insert reference to
7354 c-font-lock-enclosing-decls.
7356 * progmodes/cc-engine.el (c-backward-single-comment):
7357 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7358 to nil around calls to (forward-comment -1).
7360 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362 * image.el (put-image): Doc typo fix.
7364 * progmodes/etags.el (tags-search): Doc typo fix.
7366 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7367 password if we get errors 550 to 554.
7369 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7371 * net/gnutls.el (gnutls-log-level): Remove.
7373 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7374 indentation character (bug#6380).
7376 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7378 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7379 to clarify what the problem is (bug#4291).
7381 * simple.el (current-kill): Clarify what
7382 `interprogram-paste-function' does (bug#7500).
7383 (auto-fill-mode): Document `auto-fill-function' in relation to
7384 `auto-fill-mode' (bug#2470).
7386 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7388 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7389 method if slot is read-only (bug#9035).
7391 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7393 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7394 * window.el (pop-to-buffer): Select window used even if it was
7395 selected before, see discussion of (Bug#8615), (Bug#6954).
7396 Pass argument NORECORD on to select-frame-set-input-focus.
7398 2011-07-15 Glenn Morris <rgm@gnu.org>
7400 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7403 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7405 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7406 (gnutls-negotiate): Use it.
7408 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7410 * net/gnutls.el (gnutls-negotiate):
7411 Upcase `gnutls-algorithm-priority'.
7413 2011-07-15 Glenn Morris <rgm@gnu.org>
7415 * jka-compr.el (jka-compr-verbose): Move from here...
7416 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7417 Add missing :version tag.
7418 * info.el: No need to require jka-compr when compiling.
7420 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7422 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7423 (gnutls-negotiate): Use it.
7425 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7427 * info.el (Info-beginning-of-buffer): New command.
7428 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7429 announcing `b' as the key (bug#8325).
7430 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7432 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7434 * international/mule-cmds.el
7435 (describe-specified-language-support): Make the error message
7438 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7440 * isearch.el (isearch-barrier): Add a doc string, since it's
7441 mentioned in a function doc string (bug#8678).
7443 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7445 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7446 buffer argument (Bug#9083) and self-identifying label argument.
7448 2011-07-15 Glenn Morris <rgm@gnu.org>
7450 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7452 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454 * man.el (Man-fontify-manpage): Fix message when formatting the
7455 man page (bug#7929).
7457 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7459 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7460 argument LRM; if non-nil, append an invisible LRM character to the
7462 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7463 last argument non-nil, when formatting buffer names.
7464 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7465 paragraph direction.
7467 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7470 the man page name (bug#7929).
7472 * image.el (put-image): Mention the `put-image' overlay property
7475 * scroll-bar.el (set-scroll-bar-mode): Mention that
7476 `scroll-bar-mode' lists the values (bug#7772).
7478 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7481 * rect.el (apply-on-rectangle): Return the point after the last
7483 (string-rectangle): Go to the point after the last operation
7486 * printing.el (pr-toggle-region): Clarify the documentation
7487 slightly (bug#7493).
7489 * time.el (display-time-update):
7490 Allow `display-time-mail-function' to return nil (bug#7158).
7491 Fix suggested by Detlev Zundel.
7493 * vc/diff.el (diff): Clarify the order the file names are read
7496 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7497 the doc string (bug#7015).
7499 * font-lock.el (font-lock-maximum-decoration): Mention what
7500 numeric levels mean (bug#6935).
7502 * startup.el (initial-buffer-choice): Don't mention the `none'
7503 selection, which is against policy.
7505 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7507 * window.el (display-buffer-normalize-special):
7508 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7510 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7512 * subr.el (version<, version<=, version=): Mention "-CVS" and
7513 "-12345" alpha version numbers.
7515 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7517 * bindings.el: Add advertised binding for set-mark-command
7520 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7522 * bindings.el (mode-line-other-buffer):
7523 * bookmark.el (bookmark-bmenu-2-window):
7524 * bs.el (bs-cycle-next, bs-cycle-previous):
7525 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7528 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7531 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7533 * follow.el (follow-debug-message, follow-redisplay):
7534 * jka-cmpr-hook.el (with-auto-compression-mode):
7535 Fix typos in docstrings.
7537 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539 * subr.el (with-silent-modifications): Clarify somewhat what the
7540 macro inhibits (bug#6525).
7542 * simple.el (eval-expression): Note what it does if called
7543 interactively (bug#6495).
7545 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7547 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7548 Use pop-to-buffer buffer-or-name if it is nil.
7550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7551 Remove switch-to-buffer.
7553 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7555 * files.el (make-directory): Clarify that an error will be raised
7556 if there's an error (bug#6397).
7558 * startup.el (initial-buffer-choice): Add `none' as a choice
7561 * subr.el (add-hook): Clarify section about buffer-local hooks
7564 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7566 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7568 * tabify.el (untabify): Preserve the current column so that point
7569 doesn't move (bug#6032).
7571 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7574 Rewrite to avoid awkward possessive "s" (bug#5986).
7576 2011-07-13 Glenn Morris <rgm@gnu.org>
7578 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7579 (dired-insert-directory): Give a message the first time
7580 if ls is found not to support --dired.
7582 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7584 * simple.el (toggle-truncate-lines): Clarify what is toggled
7585 (bug#5580). Text by Drew Adams.
7587 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7589 * simple.el (blink-matching-open): Make the error message from the
7590 last change less verbose.
7592 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7594 * font-lock.el (font-lock-comment-face): Use the high contrast
7595 "yellow" color for font-lock-comment-face on low color terminals
7596 using a dark background color (bug#4221).
7598 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7600 * dired.el (dired-insert-set-properties): Make the doc string
7601 reflect what it does now (bug#5325).
7603 * simple.el (blink-matching-open): Say that we were unable to find
7604 the match within the limit, if we're limited (bug#5122).
7606 * international/mule-cmds.el (prefer-coding-system): Add an
7609 * progmodes/etags.el (tags-search): Document `file-list-form'
7612 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7614 * net/browse-url.el (browse-url-default-browser)
7615 (browse-url-browser-function): Make the default browser choice a
7616 bit more logical (bug#4300). Also clean up the doc string.
7618 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7620 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7621 binary endings (bug#4440).
7623 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7625 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7626 which can be pretty annoying (bug#8971).
7628 * jka-compr.el (jka-compr-verbose): New variable, and use
7629 throughout (bug#8971).
7631 * info.el (Info-find-file): Fall back on the installation
7632 directory if we can't find the info node anywhere else.
7634 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7636 * vc/vc.el (vc-revert-file):
7637 Don't set file time-stamp in the past. (Bug#5181)
7639 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641 * files.el (after-find-file): Give a better error message when
7642 trying to find a symlink that points to a file that doesn't exist
7645 * progmodes/cc-vars.el: Remove (probably) misleading comment
7648 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7650 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7652 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7654 * mouse-sel.el: Hack restoring functionality, while keeping
7655 compatibility with 2010-07-03 changes to mouse selection.
7656 (mouse-sel-primary-overlay): New var.
7657 (mouse-sel-selection-alist): Use it.
7658 (mouse-sel-mode): Doc fix; remove points that are default features
7661 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7664 Fix previous fix (bug#2490).
7666 2011-07-12 Roland Winkler <winkler@gnu.org>
7668 * textmodes/bibtex.el (bibtex-initialize):
7669 Use pop-to-buffer-same-window.
7670 (bibtex-search-entries): Fix interactive call.
7672 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7675 Fontise bytecomp Error lines more correctly (bug#2490).
7676 Fix suggested by Johan Bockgård.
7678 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7680 * dired-x.el (dired-guess-default): Use `delete-dups'.
7682 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7684 * dired.el (dired-mark-prompt):
7685 * dired-aux.el (dired-read-shell-command): Doc fix.
7687 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7689 * mail/sendmail.el (sendmail-query-once):
7690 Use `customize-save-variable' unconditionally, now that it works under
7693 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7695 * cus-edit.el (custom-file): Take an optional no-error variable.
7696 (customize-save-variable): Set the variable, and give a warning if
7697 running under "emacs -q".
7699 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7701 * loadhist.el (unload-feature-special-hooks):
7702 Add `auto-coding-functions', `fill-nobreak-predicate' and
7703 `find-directory-functions' (bug#5327).
7705 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7709 * cus-edit.el (custom-guess-name-alist): -alist variables should
7710 use the `alist' type (bug#3120). Suggested by Drew Adams.
7712 * printing.el: Add documentation to all the `pr-toggle-' commands.
7714 2011-07-11 Leo Liu <sdl.web@gmail.com>
7716 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7717 backends where it makes sense (bug#2623).
7719 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721 * dired-x.el (dired-guess-default): Remove duplicate shell command
7723 (dired-guess-default): Fix grammar in doc string (bug#2028).
7724 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7726 * subr.el (remove-duplicates): New conveniency function.
7728 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7730 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7733 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7735 * window.el (display-buffer-normalize-default): Don't invert
7736 meaning of even-window-heights. Reported by Eli Zaretskii
7739 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7741 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7743 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7745 * window.el (display-buffer): Fix arguments to
7746 display-buffer-reuse-window in last change.
7748 * faces.el (link): Use a less saturated blue on light backgrounds.
7750 * startup.el (fancy-startup-text, fancy-about-text)
7751 (fancy-startup-tail): Use font-lock faces, for background safety.
7753 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7755 * emulation/viper-cmd.el (viper-change-state-to-vi):
7756 Limit triggering of abbrev expansion (Bug#9038).
7758 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7760 * window.el (display-buffer-default-specifiers): Remove.
7761 (display-buffer-macro-specifiers): Remove default specifiers.
7762 (display-buffer-alist): Default to nil.
7763 (display-buffer-reuse-window): New optional argument other-window.
7764 (display-buffer-pop-up-window): Allow splitting internal
7765 windows. Check whether a live window was created.
7766 (display-buffer-other-window-means-other-frame)
7767 (display-buffer-normalize-arguments): Rename to
7768 display-buffer-normalize-argument and rewrite. Set the
7769 other-window specifier.
7770 (display-buffer-normalize-special): New function.
7771 (display-buffer-normalize-options): Rename to
7772 display-buffer-normalize-default and rewrite.
7773 (display-buffer-normalize-options-inhibit): Remove.
7774 (display-buffer-normalize-specifiers): Rewrite.
7775 (display-buffer): Process other-window specifier and call
7776 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7778 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7779 (display-buffer-alist-set): Don't handle 'unset default values.
7780 (display-buffer-in-window, display-buffer-alist-set):
7781 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7782 <tassilo@member.fsf.org>.
7784 2011-07-09 Leo Liu <sdl.web@gmail.com>
7786 * register.el (insert-register): Restore accidental change on
7787 2011-06-26. (Bug#9028)
7789 2011-07-09 Glenn Morris <rgm@gnu.org>
7791 * subr.el (remq): Handle the empty list. (Bug#9024)
7793 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7795 * mail/sendmail.el (send-mail-function): No longer delay custom
7797 * custom.el (custom-initialize-delay): Doc fix.
7799 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7801 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7803 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7805 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7806 human-friendly prompt.
7808 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7810 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7811 provided by a particular plugin.
7813 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7816 save customizations (with "emacs -Q"), just set the variable
7817 instead of erroring out.
7819 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7821 2011-07-08 Juri Linkov <juri@jurta.org>
7823 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7824 (archive-zip-update-case): Use 7z if found by `executable-find'.
7825 The order of searching the available programs is the same as in
7826 `archive-zip-extract' (bug#8968).
7828 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7830 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7831 (menu-bar-options-menu): Tweak descriptions.
7833 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7835 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7836 menu items into verb phrases (bug#1421). Also refill to fit under
7839 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7841 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7842 (Info-read-node-name): Doc fix (Bug#1084).
7844 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7845 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7846 (end-of-sexp, beginning-of-sexp)
7847 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7848 (forward-symbol, forward-same-syntax, word-at-point)
7849 (sentence-at-point): Doc fix (Bug#1144).
7851 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7854 should cover it (bug#1281).
7856 * cus-edit.el (custom-show): Mark as obsolete.
7858 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7859 negotiation fails, then possibly try again with a non-encrypted
7860 connection (bug#9017).
7862 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7865 2011-07-07 Richard Stallman <rms@gnu.org>
7867 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7868 property, and handle its changed format.
7869 Look for the correct line number.
7870 Use file's line contents (but not past first =) to find
7871 correct line in message.
7873 2011-07-07 Kenichi Handa <handa@m17n.org>
7875 * international/characters.el (build-unicode-category-table):
7877 (unicode-category-table): Set it by unicode-property-table-internal.
7879 * international/mule-cmds.el (char-code-property-alist): Move to
7881 (get-char-code-property): Call unicode-property-table-internal to
7882 load a file. Call get-unicode-property-internal where necessary.
7883 (put-char-code-property): Call unicode-property-table-internal to
7884 load a file. Call put-unicode-property-internal where necessary.
7885 put-unicode-property-internal where necessary.
7886 (char-code-property-description):
7887 Call unicode-property-table-internal to load a file.
7889 * international/charprop.el:
7890 * international/uni-bidi.el:
7891 * international/uni-category.el:
7892 * international/uni-combining.el:
7893 * international/uni-comment.el:
7894 * international/uni-decimal.el:
7895 * international/uni-decomposition.el:
7896 * international/uni-digit.el:
7897 * international/uni-lowercase.el:
7898 * international/uni-mirrored.el:
7899 * international/uni-name.el:
7900 * international/uni-numeric.el:
7901 * international/uni-old-name.el:
7902 * international/uni-titlecase.el:
7903 * international/uni-uppercase.el: Regenerate.
7905 * loadup.el: Load international/charprop.el before
7906 international/characters.
7908 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7910 * window.el (next-buffer, previous-buffer): Signal an error if
7911 called from a minibuffer window.
7913 * bindings.el: Revert 2011-07-04 change.
7915 2011-07-06 Richard Stallman <rms@gnu.org>
7917 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7918 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7919 Treat markers like ints.
7920 (rmail-mime-entity): Doc fix.
7922 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7925 defcustom again for backwards compatibility.
7927 * simple.el (shell-command-on-region): Fill.
7929 * dired-aux.el (dired-kill-line): Add a doc string.
7931 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7932 to "\\sw\\|\\s_" (bug#358).
7934 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7935 (dired-unmark-backward): Ditto.
7936 (dired-flag-backup-files): Ditto.
7938 * dired-x.el (dired-mark-sexp): Ditto.
7940 2011-07-06 Richard Stallman <rms@gnu.org>
7942 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7943 (rmail-mime-entity): New arg TRUNCATED.
7944 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7946 (rmail-mime-save): Warn if entity is truncated.
7947 (rmail-mime-toggle-hidden): Likewise, for showing.
7948 (rmail-mime-process-multipart): Record when an entity is truncated.
7950 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7951 if ENTITY is a string.
7953 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7956 of faces when `M-C-x'-ing their definitions (bug#8378).
7957 Also clean up the code slightly.
7959 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7960 because that makes the colors go away.
7962 * mail/sendmail.el (send-mail-function): Change the default to
7963 `sendmail-query-once'.
7964 (sendmail-query-once): Add an autoload cookie.
7966 * net/network-stream.el (network-stream-open-starttls): Try using
7967 a plain connection even if the server offered STARTTLS, and we
7968 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7969 capability. This should make smtpmail.el work in slightly more
7972 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7974 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7976 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7978 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7980 * progmodes/sql.el: Version 3.0
7981 (sql-product-alist): Add product :completion-object,
7982 :completion-column, and :statement attributes.
7983 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7984 (sql-mode-syntax-table): Mark all punctuation.
7985 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7987 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7988 (sql-mode-oracle-font-lock-keywords): Improve.
7989 (sql-oracle-show-reserved-words): New function for development.
7990 (sql-product-font-lock): Simplify for source code buffers.
7991 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7993 (sql-highlight-product): Set product specific syntax table.
7994 (sql-mode-map): Add statement movement functions.
7995 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7997 (sql-statement-regexp, sql-beginning-of-statement)
7998 (sql-end-of-statement, sql-signum): New functions.
7999 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8000 (sql-show-sqli-buffer): Bug fix.
8001 (sql-interactive-mode): Store connection data as buffer local.
8002 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8003 with sql-interactive-mode.
8004 (sql-save-connection): Save buffer local settings.
8005 (sql-connection-menu-filter): Change menu entry name.
8006 (sql-product-interactive): Bug fix.
8007 (sql-preoutput-hold): New variable.
8008 (sql-interactive-remove-continuation-prompt): Bug fixes.
8009 (sql-debug-redirect): New variable.
8010 (sql-str-literal): New function.
8011 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8013 (sql-oracle-save-settings, sql-oracle-restore-settings)
8014 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8015 (sql-completion-object, sql-completion-column)
8016 (sql-completion-sqlbuf): New variables.
8017 (sql-build-completions-1, sql-build-completions)
8018 (sql-try-completion): New functions.
8019 (sql-read-table-name): Use them.
8020 (sql-contains-names): New buffer local variable.
8021 (sql-list-all, sql-list-table): Use it.
8022 (sql-oracle-completion-types): New variable.
8023 (sql-oracle-completion-object, sql-sqlite-completion-object)
8024 (sql-postgres-completion-object): New functions.
8026 2011-07-06 Glenn Morris <rgm@gnu.org>
8028 * window.el (pop-to-buffer): Doc fix.
8030 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8032 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8034 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8036 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8038 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8040 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8042 * button.el (button): Inherit from link face. Suggested by Dan
8045 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * progmodes/gdb-mi.el: Fit in 80 columns.
8048 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8051 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8052 if imenu is simply not configured (bug#8941).
8054 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8056 * allout.el (allout-post-undo-hook): New allout outline-change
8057 event hook to signal undo activity.
8058 (allout-post-command-business): Run allout-post-undo-hook if an
8060 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8061 * allout-widgets.el (allout-widgets-after-undo-function):
8062 Ensure the integrity of the current item's decoration after it has been
8063 in the vicinity of an undo.
8064 (allout-widgets-mode): Include allout-widgets-after-undo-function
8065 on the new allout-post-undo-hook.
8067 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8069 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8070 Let define-derived-mode define it.
8071 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8072 cycles of abbrev-table inheritance (bug#8998).
8074 2011-07-05 Roland Winkler <winkler@gnu.org>
8076 * textmodes/bibtex.el: Add support for biblatex.
8077 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8078 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8079 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8080 (bibtex-entry-alist, bibtex-field-alist): New variables.
8081 (bibtex-entry-field-alist): Obsolete alias for
8082 bibtex-BibTeX-entry-alist.
8083 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8084 (bibtex-set-dialect): New command.
8085 (bibtex-entry-type, bibtex-entry-head)
8086 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8087 Bind via bibtex-set-dialect.
8088 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8089 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8090 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8091 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8092 Define via bibtex-set-dialect.
8093 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8094 Obey bibtex-no-opt-remove-re.
8095 (bibtex-vec-push, bibtex-vec-incr): New functions.
8096 (bibtex-format-entry, bibtex-field-list)
8097 (bibtex-print-help-message, bibtex-validate)
8098 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8100 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * progmodes/compile.el (compilation-goto-locus):
8103 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8104 * bs.el (bs-cycle-next, bs-cycle-previous):
8105 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8106 * bindings.el (mode-line-other-buffer):
8107 * autoinsert.el (auto-insert):
8108 * arc-mode.el (archive-extract):
8109 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8111 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8113 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8114 Fix check of `emacs-lock-unlockable-modes'.
8115 Coerce true values of `emacs-lock--try-unlocking' to t.
8117 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8119 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8120 * emacs-lock.el: New file.
8122 2011-07-05 Julien Danjou <julien@danjou.info>
8124 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8125 than `boundp' to check if face is set.
8127 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8129 * register.el (registerv-make):
8130 * window.el (window-min-height): Fix typos in docstrings.
8132 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8134 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8137 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8139 * server.el (server-execute): Catch quit and call
8140 `server-return-error' to pass the error back to emacsclient and
8141 close the connection (bug#8942).
8143 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8145 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8146 insecure exception for current topic. Also note that auto-saves
8147 are handled differently.
8149 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8150 State variables for tracking auto-save inhibition situation.
8152 (allout-write-contents-hook-handler): Rename from
8153 'allout-write-file-hook-handler', and describe how it depends on
8154 write-contents-functions sensitivity to non-nil value to prevent
8157 (allout-auto-save-hook-handler): Remove. auto-save does not check
8158 this in individual buffers, only in the starting buffer, so this
8159 is not the right way for us to inhibit auto-save in a buffer
8160 according to its condition.
8162 (allout-mode): Use new allout-write-contents-hook-handler, and
8163 only with write-contents-functions. Remove auto-save provisions -
8164 they're implemented elsewhere.
8166 (allout-before-change-handler): If undo is in progress, note that
8167 for attention of allout-post-command-business.
8169 (allout-post-command-business): If the command we're following was
8170 an undo, check for change in the status of encrypted items and
8171 adjust auto-save inhibitions accordingly.
8173 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8174 according to whether there are or aren't any plain-text topics
8177 (allout-inhibit-auto-save-info-for-decryption):
8178 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8179 if there are plain-text topics pending encryption.
8181 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8182 buffer-saved-size and some allout state to not inhibit auto-saves
8183 if there are no longer any plain-text topics pending encryption.
8185 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8186 No longer provide for exemption of the current topic.
8188 2011-07-04 Juri Linkov <juri@jurta.org>
8190 Add 7z operations to delete and save changed members (bug#8968).
8191 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8193 (archive-7z-write-file-member): New function.
8194 (archive-7z-summarize): Fix the number of dashes in the
8197 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8199 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8202 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8204 * bindings.el: Ignore next-buffer and previous-buffer in
8205 minibuffer-local-map.
8207 * font-lock.el (font-lock-builtin-face): Change light background
8208 color to dark slate blue (Bug#6693).
8210 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8212 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8214 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8216 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8217 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8218 Add switch-to-buffer.
8220 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8222 * isearch.el (isearch-search-fun-function): Clarify further the
8223 meaning of the function returned.
8225 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8227 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8229 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8230 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8232 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8233 `tramp-default-remote-path' does not exist.
8234 (tramp-send-command-and-read): New optional argument NOERROR.
8235 (tramp-open-connection-setup-interactive-shell)
8236 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8237 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8238 (tramp-process-sentinel): Flush also process' connection property.
8239 (tramp-sh-handle-start-file-process): Do not set process
8240 sentinel. It is done now ...
8241 (tramp-maybe-open-connection): ... here. (Bug#8929)
8243 2011-07-04 MON KEY <monkey@sandpframing.com>
8245 * play/animate.el (animate-string): Doc fixes and allow changing
8246 the buffer name (bug#5417).
8248 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8250 * play/animate.el (animation-buffer-name): Rename from *animate*.
8252 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8254 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8255 This is simpler and helps future-proof the code.
8256 (timer-until): Use time-subtract and float-time.
8257 (timer--time-less-p): Use time-less-p.
8259 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8261 * type-break.el (timep): Use the value of `float-time' to avoid a
8262 byte-compiler warning.
8264 * server.el (server-eval-and-print): Return any result, even nil.
8266 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8268 * type-break.el: Accept time formats that the builtins accept.
8269 (timep, type-break-time-difference): Accept any format that
8270 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8271 This is simpler and helps future-proof the code.
8272 (type-break-time-difference): Round rather than ignoring
8273 subseconds components.
8275 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8277 * info.el (Info-apropos-matches): Make non-interactive, since it
8278 doesn't seem to do anything useful as a command (bug#8829).
8280 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8282 * frame.el (frame-background-mode, frame-set-background-mode):
8284 (frame-default-terminal-background): New function.
8286 * custom.el (custom-push-theme): Don't record faces in `changed'
8287 theme; this doesn't work correctly for per-frame face settings.
8288 (disable-theme): Use face-set-after-frame-default to reset faces.
8289 (custom--frame-color-default): New function.
8291 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293 * dired.el (dired-flagging-regexp): Remove unused variable
8296 2011-03-29 Kevin Ryde <user42@zip.com.au>
8298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8299 `perl-Test2' extend to match possible "fail #N" rep count
8302 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8305 `smtpmail-via-smtp' now returns the error instead of nil.
8307 * isearch.el (isearch-search-fun-function): Clarify the doc string
8310 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8312 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8313 unnecessary spaces (bug#8987).
8315 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317 * net/network-stream.el (open-network-stream): Use the
8318 :end-of-capability command thoughout.
8320 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8322 * net/network-stream.el (open-network-stream): Add the
8323 :end-of-capability command parameter, used by pop3.el.
8325 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8327 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8329 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8330 for list)" (bug#6475).
8332 * files.el (file-expand-wildcards): Ignore non-readable
8333 sub-directories while trying to find matches instead of signaling
8334 an error (bug#6297).
8336 * man.el (Man-reference-regexp): Allow matching possible
8337 word-wrapped references (bug#6289).
8339 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8340 for consistency with the other vc buffers (bug#6197).
8341 (vc-checkin): Ditto.
8343 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8345 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8347 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349 * custom.el (defcustom): Clarify that :set is only used in the
8350 Customize user interface (bug#6089).
8352 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8353 associated with a file, refuse to run instead of erroring out
8356 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8357 the doc string, since it appears that using `fill-column' always
8358 controls the width (bug#7845).
8360 * simple.el (shell-command-on-region): Say where the error output
8361 went if `shell-command-default-error-buffer' is set (bug#6857).
8363 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8365 * allout.el (allout-yank-processing): Adjust cursor position for
8366 backwards-deleted space.
8368 (allout-rebullet-heading): Register changes with
8369 allout-exposure-changed-hook, so the modified topic is properly
8372 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8374 * minibuffer.el (completion-in-region): Document PREDICATE
8377 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8378 of keyword/argument pairs (bug#6904).
8380 * replace.el (multi-occur):
8381 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8383 2011-07-02 Drew Adams <drew.adams@oracle.com>
8385 * dired.el (dired-mark-if): Make the message about whether it's
8386 marking or unmarking clearer (bug#8523).
8388 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390 * disp-table.el (display-table-print-array): New function.
8391 (describe-display-table): Use it to print the vectors more pretty
8394 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8396 * window.el (window-state-get-1): Don't assign clone numbers.
8397 Add clone-of item to list of window parameters.
8398 (window-state-put-2): Don't process clone numbers.
8399 (display-buffer-alist): Fix doc-string.
8401 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8403 * subr.el (remq): Don't allocate if it's not needed.
8404 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8405 (keymap--merge-bindings): New functions.
8406 (keymap-canonicalize): Use them to refine the canonicalization.
8407 * minibuffer.el (minibuffer-local-completion-map)
8408 (minibuffer-local-must-match-map): Move initialization from C.
8409 (minibuffer-local-filename-completion-map): Move initialization from C;
8410 don't inherit from anything here.
8411 (minibuffer-local-filename-must-match-map): Make obsolete.
8412 (completing-read-default): Use make-composed-keymap to combine
8413 minibuffer-local-filename-completion-map with either
8414 minibuffer-local-must-match-map or
8415 minibuffer-local-filename-completion-map.
8417 2011-07-01 Glenn Morris <rgm@gnu.org>
8419 * type-break.el (type-break-time-sum): Use dolist.
8421 * textmodes/flyspell.el (flyspell-word-search-backward):
8422 Replace CL function.
8424 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * mouse.el (mouse--strip-first-event): New function.
8427 (function-key-map): Use it to map fringe clicks to normal clicks
8430 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8431 (vc-bzr-revision-completion-table): Add support for annotate and date.
8433 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8434 inherit from parent.
8436 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8438 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8439 (dired-show-file-type): Doc fixup (bug#8818).
8441 * dired.el (dired-mode): Fix up the doc string as suggested by
8442 Drew Adams (bug#8817).
8444 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8445 cookie, since the manual says that it should be possible to add
8446 this function to `find-file-hook' (bug#8709).
8448 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8450 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8451 here. Noted Ted Zlatanov as the maintainer.
8452 (cfengine-common-settings, cfengine-common-syntax): New functions
8453 to set up common things between `cfengine-mode' and
8455 (cfengine3-mode): New mode.
8456 (cfengine3-defuns cfengine3-defuns-regex
8457 (cfengine3-class-selector-regex cfengine3-category-regex)
8458 (cfengine3-vartypes cfengine3-font-lock-keywords)
8459 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8460 (cfengine3-indent-line): Add from cfengine3.el.
8462 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8464 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8466 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8468 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8470 * window.el (same-window-buffer-names, same-window-regexps)
8471 (same-window-p, special-display-frame-alist)
8472 (special-display-popup-frame, special-display-function)
8473 (special-display-buffer-names, special-display-regexps)
8474 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8475 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8476 (split-window-preferred-function, split-height-threshold)
8477 (split-width-threshold, even-window-heights)
8478 (display-buffer-mark-dedicated, window-splittable-p)
8479 (split-window-sensibly, window-safely-shrinkable-p):
8481 (display-buffer): Don't spread args with function specifier
8482 because special-display-popup-frame won't like it.
8484 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8486 Time-stamp simplifications and fixes.
8487 These improve accuracy slightly, and future-proof the code
8488 against some potential changes to current-time format.
8490 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8491 by using time-since and float-time.
8493 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8494 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8495 + NNN microseconds".
8497 * type-break.el (type-break-time-sum): Rewrite using time-add.
8499 * play/hanoi.el (hanoi-current-time-float): Remove.
8500 All uses replaced by float-time.
8502 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8503 This yields a more-accurate answer.
8504 (rng-time-to-float): Remove; no longer needed.
8506 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8508 * calendar/timeclock.el (timeclock-seconds-to-time):
8509 Defalias to seconds-to-time, since they're the same thing.
8511 * emacs-lisp/elp.el (elp-elapsed-time):
8512 * emacs-lisp/benchmark.el (benchmark-elapse):
8513 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8515 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8517 * window.el (bury-buffer): Don't iconify the only frame.
8518 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8519 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8521 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8523 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8524 Add mouse-yank-primary.
8526 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8528 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8530 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8533 (find-library-name): Use it to find relative load names when provided
8534 absolute file name (bug#8803).
8536 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538 * textmodes/flyspell.el (flyspell-word): Consider words that
8539 differ only in case as potential doublons (bug#5687).
8541 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8542 Remove two rather uninteresting debugging-like messages to make
8543 debbugs.el more silent.
8545 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8546 a password-like phrase.
8548 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8550 * progmodes/cc-guess.el: New file.
8552 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8554 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8555 derived from `c-basic-common-init'.
8557 * progmodes/cc-mode.el (top-level): Require cc-guess.
8558 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8560 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8562 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8564 2011-06-30 Alan Mackenzie <acm@muc.de>
8566 * progmodes/cc-engine.el (c-guess-continued-construct):
8567 Correct the handling of template-args-cont, particularly for when font
8568 lock is disabled. Name this case as "CASE G".
8570 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8572 * allout.el (allout-yank-processing): Fix injection of extra space
8573 between bullet and non-whitespace character in first topic when
8574 pasting, ensuring that the actual spacing in the pasted topic
8575 following the bullet char is preserved. This extra space was
8576 causing pasted encrypted topics to get a decrypted status even
8577 when the content was actually still encrypted. Now the decryption
8578 status from before the paste is preserved.
8580 (allout-flag-region): Set all allout overlays so they evaporate
8581 when reduced to zero length (evanescent), to prevent overlay
8584 2011-06-30 Glenn Morris <rgm@gnu.org>
8586 * w32-fns.el (w32-charset-info-alist): Declare.
8588 * find-dired.el (find-grep-options): Simplify.
8590 * term/ns-win.el (ns-set-resource): Declare.
8592 * ses.el (row, col): Declare dynamic variables honestly.
8594 * textmodes/reftex-parse.el (index-tags): Declare.
8596 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8598 * cus-edit.el (customize-push-and-save): New function.
8600 * files.el (hack-local-variables-confirm): Use it.
8602 * custom.el (load-theme): New arg NO-CONFIRM.
8603 Use customize-push-and-save (Bug#8720).
8604 (custom-enabled-themes): Doc fix.
8606 * cus-theme.el (customize-create-theme)
8607 (custom-theme-merge-theme): Callers to load-theme changed.
8609 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8612 short URLs have at least one dot in them (bug #7614).
8614 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8615 nil, because using a pty is apparently too slow (bug #895).
8617 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8619 * mail/sendmail.el (sendmail-query-once): New function.
8620 (sendmail-query-once-function): New variable.
8622 2011-06-29 Glenn Morris <rgm@gnu.org>
8624 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8626 * ses.el (top-level): Require cl when compiling.
8627 (ses-set-localvars): Fix error statement.
8628 Call it at compile time to silence a storm of warnings.
8630 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8632 * window.el (normalize-live-buffer): Rename to
8633 window-normalize-buffer.
8634 (normalize-live-frame): Rename to window-normalize-frame.
8635 (normalize-any-window): Rename to window-normalize-any-window.
8636 (normalize-live-window): Rename to window-normalize-live-window.
8637 (make-window-atom): Rename to window-make-atom.
8638 (window-resize-reset): Rename to window--resize-reset.
8639 (window-resize-reset-1): Rename to window--resize-reset-1.
8640 (resize-mini-window): Rename to window--resize-mini-window.
8641 (resize-subwindows-skip-p): Rename to
8642 window--resize-subwindows-skip-p.
8643 (resize-subwindows-normal): Rename to
8644 window--resize-subwindows-normal.
8645 (resize-subwindows): Rename to window--resize-subwindows.
8646 (resize-other-windows): Rename to window--resize-siblings.
8647 (resize-this-window): Rename to window--resize-this-window.
8648 (resize-root-window): Rename to window--resize-root-window.
8649 (resize-root-window-vertically): Rename to
8650 window--resize-root-window-vertically.
8651 (normalize-buffer-to-display): Rename to
8652 window-normalize-buffer-to-display.
8653 (normalize-buffer-to-switch-to): Rename to
8654 window-normalize-buffer-to-switch-to.
8655 Correspondingly update all callers of the functions listed
8657 (display-buffer-alist, display-buffer-normalize-arguments)
8658 (display-buffer-normalize-options, display-buffer)
8659 (display-buffer-alist-set): Use "function" instead of
8662 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8664 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8665 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8666 debbugs.gnu.org. Mention acknowledgment email.
8668 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8671 buffer multibyteness, since it shouldn't matter.
8673 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8675 * window.el (display-buffer-in-side-window): Handle dedicated
8676 windows as in display-buffer-reuse-window.
8677 (display-buffer-normalize-alist): Use value of override
8679 (display-buffer-normalize-specifiers): Use value of
8680 other-window-means-other-frame specifier.
8681 (display-buffer-alist): Rewrite some texts in widgets.
8682 (display-buffer): Spread arguments when calling function
8683 specified by fun-with-args.
8685 2011-06-28 Deniz Dogan <deniz@dogan.se>
8687 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8690 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8691 selectors (Bug#5732).
8692 (css-proprietary-nmstart-re): Use `regexp-opt'.
8694 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8696 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8697 (eshell-ls-date-format): New defcustom.
8698 (eshell-ls-file): Use it.
8700 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8704 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8706 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8707 (ange-ftp-make-tmp-name): New arg.
8708 (ange-ftp-file-local-copy): Use it.
8710 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8712 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8713 no-conversion (Bug#8870).
8715 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8717 * window.el (window-right, window-left, window-child)
8718 (window-child-count, window-last-child)
8719 (window-iso-combination-p, walk-window-tree-1)
8720 (window-atom-check-1, window-tree-1, delete-window)
8721 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8722 new naming conventions - window-vchild, window-hchild,
8723 window-next and window-prev are now called window-top-child,
8724 window-left-child, window-next-sibling and window-prev-sibling
8726 (resize-window-reset): Rename to window-resize-reset.
8727 (resize-window-reset-1): Rename to window-resize-reset-1.
8728 (resize-window): Rename to window-resize.
8729 (window-min-height, window-min-width)
8730 (resize-mini-window, resize-this-window, resize-root-window)
8731 (resize-root-window-vertically, adjust-window-trailing-edge)
8732 (enlarge-window, shrink-window, maximize-window)
8733 (minimize-window, delete-window, quit-restore-window)
8734 (split-window, balance-windows, balance-windows-area-adjust)
8735 (balance-windows-area, window-state-put-2)
8736 (display-buffer-even-window-sizes, display-buffer-set-height)
8737 (display-buffer-set-width, set-window-text-height)
8738 (fit-window-to-buffer): Rename all "resize-window" prefixed
8739 calls to use the "window-resize" prefix convention.
8740 (display-buffer-alist): Fix symbol for label specifier.
8741 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8742 corresponding specifier.
8743 Reported by Juanma Barranquero <lekktu@gmail.com>.
8745 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8747 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8749 (ses-call-printer): Does not pass an empty string to formatter when the
8750 cell is empty to keep from barking printer Calc math-format-value.
8752 2011-06-27 Richard Stallman <rms@gnu.org>
8754 * battery.el (battery-mode-line-limit): New variable.
8755 (battery-update): Handle it.
8757 * mail/rmailmm.el (rmail-mime-process-multipart):
8758 Handle truncated messages.
8760 2011-06-27 Glenn Morris <rgm@gnu.org>
8762 * progmodes/flymake.el (flymake-err-line-patterns):
8763 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8765 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8767 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8768 (ses--clean-!, ses--clean-_): New functions.
8769 (ses-range): Add configurability of readout order, and conversion
8772 * ses.el (ses-repair-cell-reference-all): New function.
8773 (ses-cell-symbol): Set macro as safe, so that it can be used in
8776 * ses.el: Update cycle detection algorithm.
8777 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8778 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8779 (ses-set-localvars): New function.
8780 (ses-make-cell): Add property-list as a cell element.
8781 (ses-cell-property-get-fun, ses-cell-property-get)
8782 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8783 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8785 (ses-cell-property-set, ses-cell-property-pop)
8786 (ses-cell-property-get-handle): New macro.
8787 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8788 New aliases, used for code readability.
8789 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8791 (ses-self-reference-early-detection): New defcustom.
8792 (ses-formula-references): Robustify against self-referring cells.
8793 (ses-mode): Use ses-set-localvars.
8794 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8795 before lauching the update processing.
8796 (ses-initialize-Dijkstra-attempt): New function.
8797 (ses-recalculate-cell): Update for cycle detection based on
8800 * ses.el: Fix commenting and indenting convention.
8802 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * bs.el (bs-cycle-next): Complete last change.
8806 2011-06-27 Drew Adams <drew.adams@oracle.com>
8808 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8810 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8812 * net/network-stream.el (network-stream-open-starttls):
8813 Don't re-get capabilities unless we've reestablished connection.
8814 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8816 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8817 to binary to possibly avoid line encoding issues on Windows (among
8820 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8822 * net/network-stream.el (open-network-stream): Return an :error
8823 saying what the problem was, if possible.
8825 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8828 * net/network-stream.el (network-stream-open-starttls): If we
8829 wanted to use STARTTLS, and the server offered it, but we weren't
8830 able to because we had no STARTTLS support, then close the connection.
8831 (open-network-stream): Return an :error element, if present.
8833 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8835 * hl-line.el (hl-line-sticky-flag): Doc fix.
8836 (global-hl-line-sticky-flag): New option (Bug#8323).
8837 (global-hl-line-highlight): Obey it.
8839 * vc/vc.el (vc-revert-show-diff): Default to t.
8841 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8843 * allout-widgets.el (allout-widgets-post-command-business):
8844 Stop decorating intermediate isearch matches. They're not being
8845 undecorated when an isearch is continued past, and isearch
8846 automatically collapses them. This leads to "widget leaks", where
8847 decorated items accumulate in collapsed areas. Lines with lots of
8848 hidden widgets can slow down cursor travel, substantially.
8849 Too much complicated machinery would be needed to ensure undecoration,
8850 so we're doing without this nicety.
8852 (allout-widgets-tally-string): Don't try to do a hash-table-count
8853 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8854 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8855 *Messages* when allout-widgets-maintain-tally is t.
8857 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8859 * window.el (display-buffer-normalize-argument): Rename to
8860 display-buffer-normalize-arguments. Handle special meaning of
8861 LABEL argument. Respect special-display-function when popping up
8862 a new frame. Fix code searching for a window showing the buffer
8864 (display-buffer-normalize-specifiers):
8865 Call display-buffer-normalize-arguments.
8866 (display-buffer-in-window): Don't undedicate the window if its
8867 buffer remains the same.
8868 Reported by Drew Adams <drew.adams@oracle.com>.
8869 (display-buffer-alist): Add choice for same-window macro
8871 (display-buffer): Mention special meaning of LABEL argument in
8872 doc-string. Fix quoting. Don't pop up a new frame even as
8875 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8877 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8878 avoid deleting the current window in some cases (bug#8911).
8880 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8882 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8885 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887 * net/network-stream.el (network-stream-open-starttls):
8888 Use built-in TLS support if `gnutls-available-p' is true.
8889 (network-stream-open-tls): Ditto.
8891 2011-06-26 Leo Liu <sdl.web@gmail.com>
8893 * register.el (registerv): New struct.
8894 (registerv-make): New function.
8895 (jump-to-register, describe-register-1, insert-register):
8896 Support the jump-func, print-func and insert-func slot of a registerv
8899 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8901 * vc/vc.el (vc-revert-show-diff): New defcustom.
8902 (vc-diff-internal): New arg specifying diff buffer.
8903 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8904 reuse an existing *vc-diff* buffer (Bug#8927).
8906 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8908 2011-06-26 Glenn Morris <rgm@gnu.org>
8910 * progmodes/f90.el (f90-critical-indent): New option.
8911 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8912 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8913 (f90-mode): Doc fix.
8914 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8915 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8916 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8917 (f90-match-end): Handle block, critical.
8919 2011-06-25 Glenn Morris <rgm@gnu.org>
8921 * calendar/diary-lib.el (diary-included-files): Doc fix.
8922 (diary-include-files): New function, extracted from
8923 diary-include-other-diary-files and diary-mark-included-diary-files.
8924 (diary-include-other-diary-files, diary-mark-included-diary-files):
8925 Just call diary-include-files.
8926 (diary-mark-entries): Reset diary-included-files on first call.
8928 * calendar/diary-lib.el (diary-mark-entries)
8929 (diary-mark-included-diary-files):
8930 Visit included diary-files in temp buffers.
8932 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8933 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8934 (f90-start-block-re, f90-imenu-generic-expression)
8935 (f90-looking-at-program-block-start, f90-no-block-limit):
8936 Add support for submodules.
8938 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8939 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8941 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8943 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8944 buffer-file-type before setting its value, to avoid disastrous
8945 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8947 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8949 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8951 * ses.el (ses-unload-function):
8952 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8954 * proced.el (proced-unload-function):
8955 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8957 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8959 * server.el (server-create-window-system-frame): Add parameters arg.
8960 (server-process-filter): Doc fix. Handle frame-parameters.
8962 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8964 Fix bug#8730, bug#8781.
8966 * loadhist.el (unload--set-major-mode): New function.
8967 (unload-feature): Use it.
8969 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8970 (python-unload-function): New function.
8972 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8976 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8978 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8979 the candidates list.
8981 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8983 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8985 2011-06-23 Richard Stallman <rms@gnu.org>
8987 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8988 (rmail-variables): Set next-error-move-function.
8989 (rmail-what-message): Take argument POS.
8990 (rmail-next-error-move): New function.
8992 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8994 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8995 messages for adjacent non-terminals.
8997 2011-06-23 Richard Stallman <rms@gnu.org>
8999 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9000 (rmail-show-message-1): Preserve buffer modified flag.
9001 (rmail-start-mail): Don't specify use of rmail-mail-return;
9002 that's done by mail-bury now.
9003 (rmail-mail-return): Handle arg NEWBUF.
9005 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9007 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9010 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9012 * window.el (get-lru-window, get-mru-window)
9013 (get-largest-window): Never return a minibuffer window.
9014 (display-buffer-pop-up-window): Fix a bug that could lead to
9015 reusing the minibuffer window.
9016 (display-buffer): Pass original specifier argument to
9017 display-buffer-function instead of the normalized one.
9018 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9020 2011-06-22 Leo Liu <sdl.web@gmail.com>
9022 * minibuffer.el (completing-read-function)
9023 (completing-read-default): Move from minibuf.c
9025 2011-06-22 Richard Stallman <rms@gnu.org>
9027 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9028 to Rmail even if not started by a special Rmail command.
9030 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9031 Copy the buffer currently showing just one message.
9033 2011-06-22 Roland Winkler <winkler@gnu.org>
9035 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9036 (bibtex-clean-entry): First delete the old key so that a
9037 customized algorithm for generating the new key does not get
9038 confused by the old key.
9039 (bibtex-url): Obey regexp of first step.
9040 (bibtex-search-entries): Do not use add-to-list with local
9043 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9045 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9046 stored a user name, then query for the password first, instead of
9047 waiting for SMTP to give an error message and the trying again.
9049 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9051 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9052 BUFFER in call-process.
9054 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9056 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9058 (smtpmail-try-auth-methods): Require user name and password from
9061 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9063 * window.el (display-buffer-default-specifiers)
9064 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9065 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9066 (split-window): Normalize SIDE argument (Bug#8916).
9068 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9069 (special-display-frame-alist, special-display-popup-frame):
9070 Remove duplicate declarations. These are now in window.el.
9072 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074 * mail/smtpmail.el (smtpmail-via-smtp):
9075 Set :use-starttls-if-possible so that we always use STARTTLS if the
9076 server supports it. SMTP servers that support STARTTLS commonly
9079 * net/network-stream.el (network-stream-open-starttls): Support
9080 upgrading to STARTTLS always, even if we don't have built-in support.
9081 (open-network-stream): Add the :always-query-capabilities keyword.
9083 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9084 upgrades with `open-network-stream', and rely solely on
9085 auth-source for all credentials. Big changes throughout the file,
9087 (smtpmail-auth-credentials): Remove.
9088 (smtpmail-starttls-credentials): Remove.
9089 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9092 * net/network-stream.el (network-stream-open-starttls):
9093 Provide support for client certificates both for external and built-in
9095 (auth-source): Require.
9096 (open-network-stream): Document the :client-certificate keyword.
9097 (network-stream-certificate): Change cert-cert to cert and
9100 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9102 * net/tramp-cache.el (top): Don't load the persistency file when
9103 "emacs -Q" has been called.
9105 2011-06-21 Tim Harper <timcharper@gmail.com>
9107 * term/ns-win.el (ns-initialize-window-system):
9108 Set application-specific `ApplePressAndHoldEnabled' system
9109 resource to NO as it is not yet supported by the NS port.
9111 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9113 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9114 (list-dynamic-libraries): ...not here.
9116 2011-06-21 Leo Liu <sdl.web@gmail.com>
9118 * subr.el (sha1): Implement sha1 using secure-hash.
9120 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9122 * window.el (display-buffer-alist): In default value do not
9123 enforce searching a window on any but the selected frame.
9124 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9125 (display-buffer-select-window): Remove function.
9126 (display-buffer-in-window): When a window on another frame gets
9127 reused, do not select it any more but just raise its frame if
9128 necessary (Bug#8851) and (Bug#8856).
9129 (display-buffer-normalize-options): Handle pop-up-frames related
9130 options more faithfully.
9131 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9132 window if it is on another frame.
9133 (display-buffer-alist, display-buffer-default-specifiers):
9134 Don't make new frame unsplittable by default.
9135 (display-buffer-normalize-argument): Fix doc-string typo and use
9136 'same-frame-other-window instead of 'other-window when associating
9137 with display-buffer-macro-specifiers.
9139 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9141 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9143 (5x5-mode-map, 5x5-mode-menu): Bind them.
9144 (5x5-draw-grid): Tweak the solver's rendering.
9146 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9148 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9149 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9151 2011-06-21 Drew Adams <drew.adams@oracle.com>
9153 * menu-bar.el: Use function variable instead of switch-to-buffer.
9154 (menu-bar-select-buffer-function): New variable.
9155 (menu-bar-update-buffers): Use it (bug#8876).
9157 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9162 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9164 * x-dnd.el (x-dnd-version-from-flags)
9165 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9166 and long as number (Bug#8899).
9167 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9169 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9171 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9172 (completion-try-completion, completion-all-completions): Compute the
9173 metadata argument if it's missing; make it optional (bug#8795).
9175 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9176 (widget-complete): Use new :completion-function property.
9177 (widget-completions-at-point): New function.
9178 (default): Use :completion-function instead of :complete.
9179 (widget-default-completions): Rename from widget-default-complete;
9181 (widget-string-complete, widget-file-complete, widget-color-complete):
9183 (file, symbol, function, variable, coding-system, color):
9184 * international/mule-cmds.el (default-input-method, charset)
9185 (language-info-custom-alist):
9186 * cus-edit.el (face): Use new property :completions.
9188 * progmodes/pascal.el (pascal-completions-at-point): New function.
9189 (pascal-mode): Use it.
9190 (pascal-mode-map): Use completion-at-point.
9191 (pascal-toggle-completions): Make obsolete.
9192 (pascal-complete-word, pascal-show-completions):
9193 * progmodes/octave-mod.el (octave-complete-symbol):
9194 Redefine as obsolete alias.
9195 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9196 Signal absence of completion info for old Octave,
9197 (inferior-octave-complete): Redefine as obsolete alias.
9198 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9199 (meta-completions-at-point): Rename from meta-complete-symbol and
9200 adapt it for use on completion-at-point-functions.
9201 (meta-common-mode): Use it.
9202 (meta-looking-at-backward, meta-match-buffer): Remove.
9203 (meta-complete-symbol): Redefine as obsolete alias.
9204 (meta-common-mode-map): Use completion-at-point.
9205 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9206 (makefile-mode-map): Use completion-at-point.
9207 (makefile-completions-at-point): Rename from makefile-complete and
9208 adapt it for use on completion-at-point-functions.
9209 (makefile-mode): Use it.
9210 (makefile-complete): Redefine as obsolete alias.
9212 2011-06-20 Deniz Dogan <deniz@dogan.se>
9214 * net/rcirc.el: Delete trailing whitespaces once and for all.
9216 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9218 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9220 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9222 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9224 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9226 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9228 * window.el (display-buffer-other-window-means-other-frame):
9229 Call display-buffer-normalize-alist.
9230 (display-buffer-normalize-specifiers-1): Rename to
9231 display-buffer-normalize-argument. New argument other-frame.
9233 (display-buffer-normalize-specifiers-2): Rename to
9234 display-buffer-normalize-options.
9235 (display-buffer-normalize-alist-1): New function.
9236 (display-buffer-normalize-specifiers-3): Rename to
9237 display-buffer-normalize-alist.
9238 Call display-buffer-normalize-alist-1.
9239 (display-buffer-normalize-options-inhibit): New variable.
9240 (display-buffer-normalize-specifiers): Rewrite calling
9241 display-buffer-normalize-alist,
9242 display-buffer-normalize-argument, and
9243 display-buffer-normalize-options. Don't call the latter if
9244 display-buffer-normalize-options-inhibit is non-nil.
9245 (frame-auto-delete): New option.
9246 (window-deletable-p): Use frame-auto-delete.
9247 (window-list-no-nils, window-state-ignored-parameters)
9248 (window-state-get-1, window-state-get, window-state-put-list)
9249 (window-state-put-1, window-state-put-2, window-state-put):
9251 (display-buffer-normalize-options): Move special-display-p group
9252 after pop-up-frame group (Bug#8851) and (Bug#8856).
9254 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9256 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9258 (rx-submatch-n): New function.
9261 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9264 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9266 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9268 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9269 anytime existing face settings are present (Bug#8889).
9271 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9272 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9273 Remove unused argument.
9275 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9277 * window.el (display-buffer-default-specifiers):
9278 Remove pop-up-frame. Add pop-up-window-min-height,
9279 pop-up-window-min-width, and another reuse-window specifier
9280 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9281 (display-buffer-normalize-specifiers-2):
9282 Handle split-height-threshold and split-width-threshold also when
9283 pop-up-windows is unset. Add a reuse-window specifier for the
9284 case popping up a new window fails.
9285 (special-display-popup-frame): Remove double quoting.
9286 (display-buffer-normalize-specifiers-1): Fix thinko.
9288 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9290 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9291 according to comint-completion-addsuffix.
9293 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9294 (pcomplete-suffix-list): Mark as obsolete.
9295 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9296 pcomplete-seen in the closure.
9297 (pcomplete-comint-setup): Setup completion-at-point as well.
9298 (pcomplete--entries): New function.
9299 (pcomplete--env-regexp): New var.
9300 (pcomplete-entries): Rewrite to work with partial-completion and
9301 without relying on pcomplete-suffix-list.
9302 (pcomplete-pare-list): Remove, unused.
9304 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9306 * window.el (display-buffer-alist): Set pop-up-window-min-height
9307 and pop-up-window-min-width in default value. Reported by
9308 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9309 other-window-means-other-frame.
9310 (display-buffer-macro-specifiers): Comment out entry for
9311 other-window specifier.
9312 (display-buffer-other-window-means-other-frame): New function.
9313 (display-buffer-normalize-specifiers-1): New arguments
9314 buffer-name and label. Treat other-window case specially.
9315 (display-buffer-normalize-specifiers-2): Treat other-window case
9317 (display-buffer-normalize-specifiers-3): New function.
9318 (display-buffer-normalize-specifiers):
9319 Call display-buffer-normalize-specifiers-3.
9321 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9323 * window.el (same-window-p): Fix two typos introduced when
9324 adding with-no-warnings.
9325 (display-buffer-normalize-specifiers-1): Don't check
9326 pop-up-frames for 'unset initialization.
9327 (display-buffer-normalize-specifiers-2): Major rewrite using
9328 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9329 (pop-up-frames, display-buffer-reuse-frames)
9330 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9331 Suggested by David Engster <deng@randomsample.de>.
9332 (even-window-heights): Initialize to 'unset.
9333 (display-buffer-alist-set): Handle new 'unset initializations.
9334 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9337 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9339 * window.el (display-buffer-normalize-specifiers-1):
9340 Respect current value of pop-up-frames for most reasonable values of
9341 second argument of display-buffer (Bug#8865).
9342 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9343 (switch-to-buffer-other-window-same-frame)
9344 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9346 (display-buffer): Don't check noninteractive when calling
9347 display-buffer-pop-up-frame.
9348 (display-buffer-pop-up-frame): Never pop up a frame in
9349 noninteractive mode (Bug#8857).
9350 (enlarge-window, shrink-window): Don't report an error when the
9351 window can't be resized as requested (Bug#8862).
9353 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9357 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9359 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9361 2011-06-15 Alan Mackenzie <acm@muc.de>
9363 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9364 for declarators, disable knr checking to speed up for normal files.
9365 2: Refactor, replacing a sequence of nested if forms by a cond form.
9367 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9369 * net/network-stream.el (open-network-stream): Add the keyword
9370 :always-query-capabilities for the case where you want to force a
9371 `plain' network connection, but the protocol still requires the
9372 capabilitiy command (i.e., SMTP and EHLO).
9374 * subr.el (process-live-p): Rename from `process-alive-p' for
9375 consistency with other `-live-p' functions.
9377 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * window.el (same-window-buffer-names, same-window-regexps)
9380 (special-display-frame-alist, special-display-popup-frame)
9381 (special-display-function, special-display-buffer-names)
9382 (special-display-regexps, pop-up-frame-alist)
9383 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9384 (pop-up-windows, split-window-preferred-function)
9385 (split-height-threshold, split-width-threshold, even-window-heights)
9386 (display-buffer-mark-dedicated): Don't encourage the use of
9387 display-buffer-alist from Elisp code.
9389 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9391 * progmodes/python.el (python-mode): Derive from prog-mode.
9392 * progmodes/ps-mode.el (ps-mode):
9393 * progmodes/mixal-mode.el (mixal-mode):
9394 * progmodes/cfengine.el (cfengine-mode):
9395 * progmodes/ld-script.el (ld-script-mode): Likewise.
9397 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9399 * window.el (display-buffer-alist): Trim default value to avoid
9400 popping up a new frame (Bug#8857) or reusing an arbitrary window
9402 (display-buffer): Do not fall back on popping up a new frame in
9403 batch mode (Bug#8857).
9405 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9407 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9408 (custom-theme-summary): New function.
9409 (customize-themes): Use it.
9411 2011-06-13 Glenn Morris <rgm@gnu.org>
9413 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9415 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9417 * help.el (help-window): Remove variable.
9418 (help-window-point-marker, temp-buffer-max-height)
9419 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9420 (help-print-return-message): Don't set help-window.
9421 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9422 (help-window-setup-finish): Remove.
9423 (help-window-display-message, help-window-setup)
9424 (with-help-window): Major rewrite based on new
9425 display-buffer-window variable.
9427 * help-mode.el (help-mode-finish): Remove help-window related
9430 * view.el (view-exits-all-viewing-windows): Remove reference to
9431 view-return-to-alist in doc-string.
9432 (view-return-to-alist): Make obsolete.
9433 (view-buffer): Call pop-to-buffer-same-window and remove
9435 (view-buffer-other-window): Call pop-to-buffer-other-window and
9436 simplify code. Ignore second argument.
9437 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9438 simplify code. Ignore second argument.
9439 (view-return-to-alist-update): Make obsolete.
9440 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9441 Rewrite using quit-restore window parameters.
9442 (view-mode-exit): Rename second argument to EXIT-ONLY.
9443 Rewrite using quit-restore-window.
9444 (View-exit, View-exit-and-edit, View-leave, View-quit)
9445 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9446 appropriate arguments.
9447 (view-end-message): Use quit-restore window parameter.
9449 * window.el (display-buffer-function): Rewrite doc-string.
9450 (display-buffer-window, display-buffer-alist): New variables.
9451 (display-buffer-split-specifiers)
9452 (display-buffer-side-specifiers)
9453 (display-buffer-macro-specifiers): New constants.
9454 (display-buffer-even-window-sizes, display-buffer-set-height)
9455 (display-buffer-set-width, display-buffer-select-window)
9456 (display-buffer-in-window, display-buffer-reuse-window)
9457 (display-buffer-split-window-1, display-buffer-split-window)
9458 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9459 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9460 (display-buffer-in-side-window, normalize-buffer-to-display)
9461 (display-buffer-normalize-specifiers-1)
9462 (display-buffer-normalize-specifiers-2)
9463 (display-buffer-normalize-specifiers, display-buffer-frame):
9465 (display-buffer): Major rewrite.
9466 (display-buffer-other-window, display-buffer-other-frame)
9467 (pop-to-buffer, switch-to-buffer-other-window)
9468 (switch-to-buffer-other-frame): Rewrite.
9469 (display-buffer-same-window, display-buffer-same-frame)
9470 (display-buffer-same-frame-other-window)
9471 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9472 (pop-to-buffer-other-window)
9473 (pop-to-buffer-same-frame-other-window)
9474 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9475 (switch-to-buffer-other-window-same-frame): New functions.
9476 (same-window-p, special-display-p): Rewrite disabling warnings.
9478 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9479 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9481 (same-window-buffer-names, same-window-regexps)
9482 (special-display-frame-alist, special-display-popup-frame)
9483 (special-display-function, special-display-buffer-names)
9484 (special-display-regexps, pop-up-frame-alist)
9485 (pop-up-frame-function, split-window-preferred-function)
9486 (split-height-threshold, split-width-threshold)
9487 (even-window-heights): Make obsolete.
9489 2011-06-12 Glenn Morris <rgm@gnu.org>
9491 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9492 Misc simplifications.
9494 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9496 * window.el (window-safely-shrinkable-p): Restore function which
9497 was inadvertently removed in change from 2011-06-11. Declare as
9500 * calendar/calendar.el (calendar-generate-window):
9501 Use window-iso-combined-p instead of combination of one-window-p and
9502 window-safely-shrinkable-p.
9504 2011-06-12 Glenn Morris <rgm@gnu.org>
9506 * progmodes/fortran.el (fortran-mode-syntax-table):
9507 * progmodes/f90.el (f90-mode-syntax-table):
9508 Set % to punctuation. (Bug#8820)
9509 (f90-find-tag-default): Remove, no longer needed.
9511 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9513 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9515 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9517 * image.el (image-animated-p): Return animation delay in seconds.
9518 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9519 (image-animate-timeout): Remove DELAY argument. Don't assume
9520 every subimage has the same delay; get it from image-animated-p.
9521 (image-animate): Caller changed.
9523 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9525 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9526 to ignored backtrace functions.
9528 2011-06-11 Glenn Morris <rgm@gnu.org>
9530 * calendar/appt.el (appt-disp-window-function): Doc fix.
9531 (appt-check): Handle overlapping appointments. (Bug#8337)
9533 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9535 * window.el (window-tree-1, window-tree): New functions, moving
9536 the latter to window.el.
9537 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9538 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9539 (bw-refresh-edges): Remove.
9540 (balance-windows-1, balance-windows-2): New functions.
9541 (balance-windows): Rewrite in terms of window tree functions,
9542 balance-windows-1 and balance-windows-2.
9543 (bw-adjust-window): Remove.
9544 (balance-windows-area-adjust): New function with functionality of
9545 bw-adjust-window but using resize-window.
9546 (set-window-text-height): Rewrite doc-string.
9547 Use normalize-live-window and resize-window.
9548 (enlarge-window-horizontally, shrink-window-horizontally):
9549 Rename argument to DELTA.
9550 (window-buffer-height): New function.
9551 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9552 Rewrite using new window resize routines.
9553 (kill-buffer-and-window, mouse-autoselect-window-select):
9554 Use ignore-errors instead of condition-case.
9555 (quit-window): Call delete-frame instead of delete-windows-on
9556 for the only buffer on frame.
9558 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9560 * loadup.el (top-level): Load window before files for the sake
9561 of replace-buffer-in-windows.
9563 * files.el (read-buffer-to-switch)
9564 (switch-to-buffer-other-window)
9565 (switch-to-buffer-other-frame, display-buffer-other-frame):
9568 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9569 (previous-buffer): Move to window.el.
9571 * bindings.el (unbury-buffer): Move to window.el.
9573 * window.el (delete-other-windows-vertically): Move after
9574 definition of delete-other-windows.
9575 (other-window, delete-windows-on, replace-buffer-in-windows):
9576 Move here from window.c.
9577 (record-window-buffer, unrecord-window-buffer)
9578 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9579 (switch-to-next-buffer): New functions.
9580 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9581 from simple.el. Call switch-to-next-buffer.
9582 (previous-buffer): Move here from simple.el.
9583 Call switch-to-prev-buffer.
9584 (bury-buffer): Move here from buffer.c. Switch to previous
9585 buffer when window cannot be deleted.
9586 (unbury-buffer): Move here from bindings.el.
9587 (ctl-x-map): Move binding for other-window from window.c to
9589 (read-buffer-to-switch, switch-to-buffer-other-window)
9590 (switch-to-buffer-other-frame): Move here from files.el.
9591 (normalize-buffer-to-switch-to): New functions.
9592 (switch-to-buffer): Move here from buffer.c.
9593 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9595 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (window-min-height, window-min-width): Move here
9598 from window.c. Add defcustoms and rewrite doc-strings.
9599 (resize-mini-window, resize-window): New functions.
9600 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9601 Move here from window.c.
9602 (maximize-window, minimize-window): New functions.
9603 (delete-window, delete-other-windows, split-window): Move here
9605 (window-split-min-size): New function.
9606 (split-window-keep-point): Mention split-window-above-each-other
9607 instead of split-window-vertically.
9608 (split-window-above-each-other, split-window-vertically):
9609 Rename split-window-vertically to split-window-above-each-other
9610 and provide defalias for old definition.
9611 (split-window-side-by-side, split-window-horizontally):
9612 Rename split-window-horizontally to split-window-side-by-side
9613 and provide defalias for the old definition.
9614 (ctl-x-map): Move bindings for delete-window,
9615 delete-other-windows and enlarge-window here from window.c.
9616 Replace bindings for split-window-vertically and
9617 split-window-horizontally by bindings for
9618 split-window-above-each-other and split-window-side-by-side.
9620 * cus-start.el (all): Remove entries for window-min-height and
9621 window-min-width. Add entries for window-splits and
9624 2011-06-09 Glenn Morris <rgm@gnu.org>
9626 * calendar/appt.el (appt-mode-line): New function.
9627 (appt-check, appt-disp-window): Use it.
9629 * files.el (hack-one-local-variable-eval-safep):
9630 Allow minor-modes with explicit +/-1 arguments.
9632 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9634 * term/xterm.el (xterm): Add defgroup.
9635 (xterm-extra-capabilities): Add defcustom to supply known xterm
9636 capabilities, skip querying them, or query them (default).
9637 (terminal-init-xterm): Use it.
9638 (terminal-init-xterm-modify-other-keys): New function to set up
9639 modifyOtherKeys support to simplify `terminal-init-xterm'.
9641 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9643 * window.el (resize-window-reset, resize-window-reset-1)
9644 (resize-subwindows-skip-p, resize-subwindows-normal)
9645 (resize-subwindows, resize-other-windows, resize-this-window)
9646 (resize-root-window, resize-root-window-vertically)
9647 (window-deletable-p, window-or-subwindow-p)
9648 (frame-root-window-p): New functions.
9650 2011-06-09 Glenn Morris <rgm@gnu.org>
9652 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9653 (ange-ftp-get-files): Use it.
9655 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9657 * mail/sendmail.el (mail-recover-1, mail-recover):
9658 * files.el (recover-file, recover-session):
9659 Handle dired-listing-switches not being just a single short option.
9661 2011-06-09 Glenn Morris <rgm@gnu.org>
9663 * calendar/appt.el (appt-display-message, appt-disp-window):
9664 Handle lists of appointments.
9666 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9668 * window.el (one-window-p): Move down in code.
9670 (window-current-scroll-bars): Rewrite doc-string.
9671 Normalize live window argument.
9672 (walk-windows, get-window-with-predicate, count-windows):
9673 Rewrite doc-string. Use window-list-1.
9674 (window-in-direction-2, window-in-direction, get-mru-window):
9677 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9679 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9682 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9684 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9686 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9688 * loadhist.el (unload-feature-special-hooks):
9689 Add `comint-output-filter-functions'.
9691 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9693 * calendar/appt.el (appt-check): Move some initializations into the let.
9695 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9697 * window.el (window-height): Defalias to window-total-height.
9698 (window-width): Defalias to window-body-width.
9700 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9702 * image-mode.el (image-toggle-animation): New command.
9703 (image-mode-map): Bind it to RET.
9704 (image-mode): Update message.
9705 (image-toggle-display-image): Avoid a spurious cache flush.
9706 (image-transform-rotation): Doc fix.
9707 (image-transform-properties): Return quickly in the normal case.
9708 (image-animate-loop): Rename from image-animate-max-time.
9710 * image.el (image-animate-max-time): Move to image-mode.el.
9711 (create-animated-image): Remove unnecessary function.
9712 (image-animate): Rename from image-animate-start. New arg.
9713 (image-animate-stop): Remove; just use image-animate-timer.
9714 (image-animate-timer): Use car-safe.
9715 (image-animate-timeout): Rename argument.
9717 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9719 * window.el (get-lru-window, get-largest-window): Move here from
9720 window.c. Rename first argument to ALL-FRAMES.
9721 Rephrase doc-strings.
9722 (get-buffer-window-list): Rewrite using window-list-1.
9723 Rephrase doc-string.
9724 (window-safe-min-height, window-safe-min-width): New constants.
9725 (window-size-ignore, window-min-size, window-min-size-1)
9726 (window-sizable, window-sizable-p, window-size-fixed-1)
9727 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9728 (window-max-delta-1, window-max-delta, window-resizable)
9729 (window-resizable-p, window-total-height, window-total-width)
9730 (window-body-width): New functions.
9731 (window-full-height-p, window-full-width-p): Rewrite using
9733 (window-body-height): Rewrite using window-body-size.
9735 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9737 * window.el (window-right, window-left, window-child)
9738 (window-child-count, window-last-child, window-any-p)
9739 (normalize-live-buffer, normalize-live-frame)
9740 (normalize-any-window, normalize-live-window)
9741 (window-iso-combination-p, window-iso-combined-p)
9742 (window-iso-combinations)
9743 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9744 (windows-with-parameter, window-with-parameter)
9745 (window-atom-root, make-window-atom, window-atom-check-1)
9746 (window-atom-check, window-side-check, window-check):
9748 (ignore-window-parameters, window-sides, window-sides-vertical)
9749 (window-sides-slots): New variables.
9750 (window-size-fixed): Move down in code. Minor doc-string fix.
9752 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9754 * comint.el (comint-dynamic-complete-as-filename)
9755 (comint-dynamic-complete-filename): Correctly call
9756 completion-in-region.
9758 2011-06-05 Deniz Dogan <deniz@dogan.se>
9760 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9763 2011-06-05 Deniz Dogan <deniz@dogan.se>
9765 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9766 (rcirc): Use it to prompt for encryption.
9768 2011-06-05 Roland Winkler <winkler@gnu.org>
9770 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9771 (bibtex-search-entries): New command bound to C-c C-a.
9772 (bibtex-display-entries): New function.
9774 2011-06-05 Roland Winkler <winkler@gnu.org>
9776 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9777 (bibtex-insert-kill): After yanking insert newline if necessary.
9778 (bibtex-initialize): Call bibtex-string-files-init only once.
9779 (bibtex-mode): Do not call easy-menu-add.
9780 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9781 (bibtex-yank): Set arg properly if nil.
9783 2011-06-05 Roland Winkler <winkler@gnu.org>
9785 * textmodes/bibtex.el (bibtex-search-entry-globally):
9787 (bibtex-search-entry): Use it.
9789 2011-06-05 Roland Winkler <winkler@gnu.org>
9791 * textmodes/bibtex.el (bibtex-entry-format): New option
9793 (bibtex-format-entry, bibtex-reformat): Honor this option.
9794 (bibtex-parse-entry): Return fields in proper order.
9796 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9798 * doc-view.el (doc-view-remove-if): Move computation of result out
9799 of `dolist' to silence misleading lexical-binding warning.
9801 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9803 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9804 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9806 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9808 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9811 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9813 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9814 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9815 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9816 (tramp-parse-putty):
9817 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9818 (tramp-completion-function-alist-ssh)
9819 (tramp-completion-function-alist-telnet)
9820 (tramp-completion-function-alist-su)
9821 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9826 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9827 load "tramp.el" `tramp-set-completion-function'.
9829 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * shell.el: Require and use pcomplete.
9832 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9833 (shell-completion-vars): Set pcomplete-default-completion-function.
9835 2011-06-04 Deniz Dogan <deniz@dogan.se>
9837 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9840 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9844 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9846 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9847 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9848 * vc/log-view.el (log-view-beginning-of-defun):
9849 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9850 (smerge-refine-forward, smerge-refine-chopup-region):
9851 Silence warning for unused `dotimes' counter variables.
9853 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * net/tramp.el (tramp-with-progress-reporter): Rename from
9856 with-progress-reporter. Use `declare'.
9859 * net/tramp-gvfs.el: Update all uses.
9861 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9863 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9864 buffer isn't killed before making it current.
9866 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9868 Silence various byte-compiler warnings.
9869 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9870 `access-type' and new obsolescence format.
9871 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9873 (byte-compile-check-variable): New `access-type' argument.
9874 Only warn if the access-type is obsolete.
9875 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9876 (byte-compile-variable-set): Adjust callers.
9877 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9878 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9879 setting it as obsolete.
9880 * simple.el (minibuffer-completing-symbol):
9881 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9883 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9885 * international/quail.el (quail-mouse-choose-completion): Remove unused
9886 code referring to obsolete var.
9887 (quail-choose-completion-string): Remove.
9888 * server.el (server-clients-with, server-kill-buffer-query-function)
9889 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9890 * proced.el (proced-send-signal):
9891 * emacs-lisp/lisp.el (lisp-complete-symbol):
9892 Replace completion-annotate-function with completion-extra-properties.
9894 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * simple.el (goto-line): Use read-number.
9897 (overriding-map-is-bound): Remove.
9898 (saved-overriding-map): Change default.
9899 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9900 Take the map as argument.
9901 (universal-argument, negative-argument, digit-argument): Use it.
9902 (restore-overriding-map): Adjust.
9903 (do-auto-fill): Use fill-forward-paragraph.
9904 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9906 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9907 (minibuffer-inactive-mode): New major mode.
9908 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9909 the *Messages* buffer" hack.
9910 (mouse-popup-menubar): Don't burp if the event is a normal key.
9912 Miscellaneous tweaks.
9913 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9914 lexical scoping as in subr.el's dolist and dotimes.
9915 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9916 Silence compiler warning.
9917 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9918 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9919 * international/ccl.el (ccl-compile): Trivial simplification.
9920 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9921 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9922 `printflag' argument.
9923 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9924 Purecopy the whole obsolescence data.
9926 2011-06-01 Leo Liu <sdl.web@gmail.com>
9928 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9929 improve doc-string as suggested by Marco Pessotto
9930 <melmothx@gmail.com>.
9931 (rcirc-print): Fix last change.
9933 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9935 * minibuffer.el (complete-with-action): Return nil for the metadata and
9936 boundaries of non-functional tables.
9937 (completion-table-dynamic): Return nil for the metadata.
9938 (completion-table-with-terminator): Add default case, using
9939 complete-with-action.
9940 (completion--metadata): New function.
9941 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9942 to try and avoid pathological performance problems.
9943 (completion--embedded-envvar-table): Return `category' metadata.
9945 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947 * subr.el (process-alive-p): New tiny convenience function.
9949 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9951 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9952 content but also its previous major mode.
9954 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9956 * emacs-lisp/debug.el (debug): Restore the previous content of the
9957 *Backtrace* buffer when we exit with C-M-c.
9959 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * minibuffer.el: Add metadata method to completion tables.
9962 (completion-category-overrides): New defcustom.
9963 (completion-metadata, completion--field-metadata)
9964 (completion-metadata-get, completion--styles)
9965 (completion--cycle-threshold): New functions.
9966 (completion-try-completion, completion-all-completions):
9967 Add `metadata' argument to choose completion-styles.
9968 (completion--do-completion): Use metadata to choose cycling.
9969 (completion-all-sorted-completions): Use metadata for sorting.
9970 Remove :completion-cycle-penalty which is not needed any more.
9971 (completion--try-word-completion): Add `metadata' argument.
9972 (minibuffer-completion-help): Check metadata for annotation function
9974 (completion-file-name-table): Return `category' metadata.
9975 (minibuffer-completing-file-name): Make obsolete.
9976 * simple.el (minibuffer-completing-symbol): Make obsolete.
9977 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9978 completion-try-completion.
9980 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9984 2011-05-30 Leo Liu <sdl.web@gmail.com>
9986 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9987 (rcirc-print): Decode all incoming messages (bug#8744).
9988 (rcirc-decode-coding-system): Allow value nil for automatic coding
9991 2011-06-01 Glenn Morris <rgm@gnu.org>
9993 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9995 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9997 * image.el (image-animate-max-time): Allow nil and t values.
9999 (create-animated-image): Doc fix.
10000 (image-animate-start): Remove second arg; just use
10001 image-animate-max-time.
10002 (image-animate-timeout): Doc fix. Args changed.
10004 * image-mode.el (image-toggle-display-image): Ensure that the
10005 image spec passed to the animate timer is the same object as in
10006 the buffer's display property (Bug#6981).
10007 (image-transform-properties): Doc fix.
10009 * image.el (image-animate-max-time): Default to nil.
10011 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10013 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10014 entire buffer list (Bug#8184).
10016 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10018 * image.el (imagemagick-types-inhibit)
10019 (imagemagick-register-types): Doc fix.
10021 2011-05-29 Deniz Dogan <deniz@dogan.se>
10023 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10026 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10028 * select.el: Don't perform clipboard-manager saving in hooks;
10029 leave the hooks empty.
10031 2011-05-28 Leo Liu <sdl.web@gmail.com>
10033 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10034 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10035 (occur-edit-mode): New major mode (Bug#8463).
10036 (occur-after-change-function): New function.
10037 (occur-engine): Give Occur tags a read-only property.
10039 2011-05-28 Kevin Ryde <user42@zip.com.au>
10041 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10043 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10045 * bindings.el (help-echo): Make the initial non-indicator dash
10046 empty on graphical terminals (Bug#7295).
10048 * files.el (auto-mode-alist): Move config rule after the
10049 in-stripping one (Bug#8547).
10051 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10053 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10054 setting (Bug#8740).
10056 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10058 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10059 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10062 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10064 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10066 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10068 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10069 (hs-hide-block-at-point, hs-find-block-beginning)
10070 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10073 2011-05-28 Glenn Morris <rgm@gnu.org>
10075 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10077 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10079 * help-fns.el (describe-function-1): If the function is a derived
10080 major mode, print the parent mode.
10082 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10083 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10085 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * minibuffer.el (completion--capf-wrapper): Check applicability before
10088 returning non-nil for non-exclusive completion data.
10089 * progmodes/etags.el (tags-completion-at-point-function):
10090 * info-look.el (info-lookup-completions-at-point): Mark as
10092 (info-complete): Adjust accordingly.
10094 * info-look.el: Convert to lexical-binding and completion-at-point.
10095 (info-lookup-completions-at-point): New function.
10096 (info-complete): Use it and completion-in-region.
10098 2011-05-28 Drew Adams <drew.adams@oracle.com>
10100 * isearch.el: Let M-e start with point at the first mismatched char.
10101 (isearch-fail-pos): New function.
10102 (isearch-edit-string): Use it.
10104 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10106 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10108 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10110 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10111 traversal functions for avl-trees.
10112 (avl-tree--stack): New struct.
10113 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10114 (avl-tree-enter): Add optional `updatefun' arg.
10115 (avl-tree--do-enter): Add optional `updatefun' arg.
10116 Change return value.
10117 (avl-tree-delete): Add optional `test' and `nilflag' args.
10118 (avl-tree--do-delete): Add `test' and `nilflag' args.
10119 Change return value.
10120 (avl-tree-member): Add optional `nilflag'
10121 (avl-tree-member-p): New function.
10122 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10123 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10124 (avl-tree-stack-empty-p): New functions.
10126 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10127 avl-tree--del-balance1 and make it work both ways.
10128 (avl-tree--del-balance2): Remove.
10129 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10130 make it work both ways.
10131 (avl-tree--enter-balance2): Remove.
10132 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10134 (avl-tree--mapc, avl-tree-map): Add direction argument.
10136 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10138 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10140 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10142 * select.el: Support clipboard managers with built-in function
10143 x-clipboard-manager-save, via delete-frame-functions and
10145 (xselect-convert-to-targets): Add MULTIPLE target to list.
10146 (xselect-convert-to-save-targets): New function.
10148 2011-05-27 Kenichi Handa <handa@m17n.org>
10150 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10151 let-binding rfc2047-encode-encoded-words to nil.
10153 2011-05-27 Glenn Morris <rgm@gnu.org>
10155 * mail/emacsbug.el: Don't require url-util.
10157 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10159 * files.el (set-auto-mode):
10160 Also respect mode: entries at the end of the file. (Bug#8586)
10162 2011-05-26 Glenn Morris <rgm@gnu.org>
10164 * files.el (hack-local-variables-prop-line, hack-local-variables):
10165 Downcase mode names, as seems to be traditional.
10166 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10168 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10169 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10171 2011-05-25 Julien Danjou <julien@danjou.info>
10173 * textmodes/rst.el (rst-define-level-faces): Do not define face
10174 symbol if it is already defined.
10176 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10178 * play/5x5.el (5x5-new-game, 5x5-randomize):
10179 Reset 5x5-solver-output to nil when a new grid is cast.
10180 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10181 these debugging traces, as defmacro breaks the compiled code.
10183 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10185 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10187 2011-05-24 Leo Liu <sdl.web@gmail.com>
10189 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10190 (vc-bzr-sha1): Adapt.
10192 * sha1.el: Remove. Function `sha1' is now builtin.
10194 * bindings.el: Provide sha1 feature.
10196 2011-05-24 Kenichi Handa <handa@m17n.org>
10198 * mail/sendmail.el: Require `rfc2047'.
10199 (mail-insert-from-field): Do not perform RFC2047 encoding.
10200 (mail-encode-header): New function.
10201 (sendmail-send-it): Set buffer-file-coding-system of the work
10202 buffer to the return value of select-message-coding-system.
10203 Call mail-encode-header.
10205 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10207 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10209 * mail/supercite.el (sc-default-cite-frame):
10210 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10212 2011-05-24 Glenn Morris <rgm@gnu.org>
10214 * progmodes/python.el (brm-menu): Declare.
10216 * emulation/viper.el (viper-set-hooks): Declare.
10218 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10219 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10220 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10221 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10222 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10223 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10225 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10227 Add an :exit-function for completion-at-point.
10229 * minibuffer.el (completion--done): New fun.
10230 (completion--do-completion): Use it. New arg `expect-exact'.
10231 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10232 since completion--do-completion does it for us now.
10233 (minibuffer-force-complete): Use completion--done and
10234 completion--replace. Handle sole-completion case with more care.
10235 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10236 (completion-extra-properties): New var.
10237 (completion-annotate-function): Make obsolete.
10238 (minibuffer-completion-help): Adjust accordingly.
10239 Use completion-list-insert-choice-function.
10240 (completion-at-point, completion-help-at-point):
10241 Bind completion-extra-properties.
10242 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10243 * simple.el (completion-list-insert-choice-function): New var.
10244 (completion-setup-function): Preserve it.
10245 (choose-completion): Pay attention to it, shuffle the code a bit.
10246 (choose-completion-string): New arg `insert-function'.
10248 * textmodes/bibtex.el: Convert to lexical binding.
10249 (bibtex-mode-map): Use completion-at-point.
10250 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10251 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10252 (bibtex-complete): Define as obsolete alias.
10253 (bibtex-complete-internal): Remove.
10254 (bibtex-format-entry): Remove unused sub-group in regexp.
10255 * shell.el (shell--command-completion-data)
10256 (shell-environment-variable-completion):
10257 * pcomplete.el (pcomplete-completions-at-point):
10258 * comint.el (comint--complete-file-name-data): Use :exit-function
10259 instead of completion-table-with-terminator so it also works for
10262 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10266 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10269 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10271 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10273 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10274 customization variable and implement: If non-nil, auto-fill will
10275 be inhibited while on topic's header line.
10277 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10279 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10280 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10281 always have a solution in grid size = 5 cases.
10282 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10283 (5x5-solver-output, 5x5-log-buffer): New vars.
10284 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10285 Make these variables buffer local to achieve 5x5 multi-session-ness.
10286 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10287 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10288 (5x5-solve-suggest): New funs.
10289 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10290 randomize a grid so that we ensure that there is always a solution.
10291 (5x5-make-random-grid): Allow other movement than flipping.
10293 2011-05-23 Kevin Ryde <user42@zip.com.au>
10295 * emacs-lisp/advice.el (ad-read-advised-function):
10296 Use `function-called-at-point' as the default, if it has
10297 advice and passes PREDICATE.
10299 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10301 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10302 byte-compile-lambda if it's actually a lambda.
10304 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10305 Fix function quoting. Use backquote better.
10307 2011-05-22 Yuanle Song <sylecn@gmail.com>
10309 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10310 matching (Bug#8516).
10312 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10314 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10315 different face (Bug#8178).
10317 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10319 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10320 defface (Bug#8144).
10322 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10325 funcall as well (bug#8712). Warn when performing those conversions.
10326 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10328 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10330 2011-05-22 Glenn Morris <rgm@gnu.org>
10332 * files.el (hack-local-variables-prop-line): Small simplifications.
10333 (hack-local-variables, hack-local-variables-prop-line):
10334 If MODE-ONLY, return the mode, rather than just `t'.
10336 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10338 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10340 2011-05-21 Glenn Morris <rgm@gnu.org>
10342 * files.el (hack-local-variables-prop-line, hack-local-variables):
10343 If only interested in the mode, don't bother doing the other stuff.
10345 * image-mode.el (image-after-revert-hook):
10346 Redraw all frames on which the image is visible. (Bug#8567)
10348 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10350 * wid-edit.el (widget-checklist-match-inline):
10351 Fix 2011-04-19 change. (Bug#8649)
10353 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10355 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10356 Also allow singlespace after single-letter capitals followed by a dot.
10358 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10359 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10361 2011-05-20 Nix <nix@esperi.org.uk>
10363 * files.el (basic-save-buffer-2):
10364 Fix handling of break-hardlink-on-save with non-existent files.
10366 2011-05-19 Deniz Dogan <deniz@dogan.se>
10368 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10369 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10371 2011-05-19 Glenn Morris <rgm@gnu.org>
10373 * progmodes/f90.el (f90-type-def-re):
10374 Handle "type, bind(c)". (Bug#8691)
10376 * emacs-lisp/autoload.el (batch-update-autoloads):
10377 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10379 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10381 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10382 property for the correct connection in case of multihops.
10384 2011-05-18 Glenn Morris <rgm@gnu.org>
10386 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10387 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10389 Rationalize calendar handling of day and month abbrev-arrays.
10390 * calendar/calendar.el (calendar-customized-p): New function.
10391 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10392 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10394 (calendar-abbrev-length, calendar-day-abbrev-array)
10395 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10396 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10397 Elements may no longer be nil.
10398 (calendar-day-name, calendar-month-name):
10399 Update for changed nature of abbrev arrays.
10400 * calendar/diary-lib.el (diary-name-pattern):
10401 Update for changed nature of abbrev arrays.
10402 (diary-mark-entries-1): Update calendar-make-alist calls.
10403 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10404 * calendar/cal-html.el (cal-html-day-abbrev-array):
10405 Simply inherit from calendar-day-abbrev-array.
10407 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * progmodes/grep.el (grep-mode): Disable default
10410 compilation-directory-matcher setting (bug#8684).
10412 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10414 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10415 instead of "head" and "tail". There were problems with SunOS 5.9,
10416 and it performs better.
10418 2011-05-17 Glenn Morris <rgm@gnu.org>
10420 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10422 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10423 Replace obsolete function.
10425 * shell.el (pcomplete-parse-arguments-function): Declare.
10427 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10428 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10429 (appt-check): Doc fixes.
10430 (appt-disp-window-function, appt-delete-window-function):
10431 Remove needless special case in custom :type.
10432 (appt-display-count): Default to 0, not nil.
10433 (appt-check): Reset appt-display-count to 0, not nil.
10435 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10437 * progmodes/python.el (python-font-lock-keywords):
10438 Add the Python 3.X keyword "nonlocal" (bug#8639).
10440 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10444 2011-05-16 Kevin Ryde <user42@zip.com.au>
10446 * info-look.el (makefile-automake-mode): New setups, looking in
10447 automake manual, then makefile-mode.
10448 (makefile-mode): Remove automake manual, have it just in
10449 makefile-automake-mode since there's various things different or
10450 not relevant to plain make.
10451 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10452 believe a hypothetical automake-mode would go to makefile-mode,
10453 not the other way around.
10455 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10457 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10458 hunk-end tags (Bug#8672).
10460 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10461 vc-annotate-show-diff-revision-at-line (Bug#8671).
10463 2011-05-14 Glenn Morris <rgm@gnu.org>
10465 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10466 in the middle of an existing one with multiple authors. (Bug#8645)
10467 (change-log-font-lock-keywords): Also handle multiple author lines
10468 with leading tabs. (Bug#8644)
10470 * calendar/appt.el (appt-check): Rename some local variables.
10471 Some simplification/reordering.
10473 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10474 (feedmail-sendmail-f-doesnt-sell-me-out)
10475 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10476 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10477 (feedmail-queue-runner-message-sender): Set :version.
10478 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10479 (bbdb-dwim-net-address, vm-mail): Declare.
10480 (feedmail-binmail-gnulinuxish-template):
10481 Rename from feedmail-binmail-linuxish-template.
10482 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10483 Use insert-buffer-substring.
10485 2011-05-14 Bill Carpenter <bill@carpenter.org>
10487 * mail/feedmail.el (feedmail-patch-level): Increase.
10488 (feedmail-debug): New custom group.
10489 (feedmail-confirm-outgoing-timeout)
10490 (feedmail-sendmail-f-doesnt-sell-me-out)
10491 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10492 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10493 (feedmail-sender-line, feedmail-from-line)
10494 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10495 (feedmail-spray-this-address)
10496 (feedmail-spray-address-fiddle-plex-list)
10497 (feedmail-queue-use-send-time-for-date)
10498 (feedmail-queue-use-send-time-for-message-id)
10499 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10500 (feedmail-buffer-eating-function):
10502 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10503 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10504 (feedmail-message-action-scroll-down): New functions.
10505 (feedmail-queue-directory, feedmail-queue-draft-directory):
10506 Use expand-file-name.
10507 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10508 Remove C-v help entry.
10509 (feedmail-queue-buffer-file-name): New variable.
10510 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10511 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10512 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10513 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10514 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10515 (feedmail-message-action-toggle-spray)
10516 (feedmail-run-the-queue-no-prompts)
10517 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10518 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10519 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10520 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10521 (feedmail-envelope-deducer, feedmail-fiddle-from)
10522 (feedmail-fiddle-sender, feedmail-default-date-generator)
10523 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10524 (feedmail-fiddle-spray-address)
10525 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10526 (feedmail-fiddle-list-of-fiddle-plexes)
10527 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10528 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10529 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10530 Change default. Doc fix.
10531 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10532 (feedmail-binmail-linuxish-template): New constant.
10533 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10534 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10535 (feedmail-send-it): Add debug call.
10536 Use feedmail-queue-buffer-file-name, and
10537 feedmail-send-it-immediately-wrapper.
10538 (feedmail-message-action-send): Add debug call.
10539 Use feedmail-send-it-immediately-wrapper.
10540 (feedmail-queue-express-to-queue): Add debug call.
10541 Run feedmail-queue-express-hook.
10542 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10543 (feedmail-message-action-help-blat):
10544 Rename from feedmail-queue-send-edit-prompt-help-first.
10545 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10546 Check line-endings. Handle errors better.
10547 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10548 Doc fix. Add debug call.
10549 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10550 Use feedmail-queue-send-edit-prompt-inner.
10551 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10552 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10553 from feedmail-queue-send-edit-prompt.
10554 (feedmail-queue-send-edit-prompt-help)
10555 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10556 (feedmail-tidy-up-slug): Add debug call.
10557 Respect feedmail-queue-slug-suspect-regexp.
10558 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10559 (feedmail-dump-message-to-queue): Add debug call.
10560 Expand queue-directory.
10561 (feedmail-dump-message-to-queue): Change message slightly.
10562 Use feedmail-say-chatter.
10563 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10564 (feedmail-send-it-immediately-wrapper): New function.
10565 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10566 Insert empty string rather than newline. Handle full-frame case.
10567 Use catch/throw. Use feedmail-say-chatter.
10568 (feedmail-fiddle-from): Try mail-host-address.
10569 (feedmail-default-message-id-generator): Doc fix.
10570 Bind system-time-locale. Handle missing end.
10571 (feedmail-fiddle-x-mailer): Add debug call.
10572 Handle feedmail-x-mailer-line being nil.
10573 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10574 Add debug call. Use buffer-substring-no-properties.
10575 (feedmail-say-debug, feedmail-say-chatter): New functions.
10576 (feedmail-find-eoh): Give an explicit error.
10578 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10580 * net/newst-treeview.el (newsticker-treeview-face): Change default
10581 family from helvetica to sans.
10582 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10583 etc/images/newsticker.
10585 * net/newst-reader.el (newsticker-feed-face): Change default
10586 family from helvetica to sans.
10588 * net/newst-plainview.el (newsticker-new-item-face)
10589 (newsticker-old-item-face, newsticker-immortal-item-face)
10590 (newsticker-obsolete-item-face, newsticker-date-face)
10591 (newsticker-statistics-face): Change default family from
10593 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10594 etc/images/newsticker.
10596 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10597 (newsticker--process-auto-mark-filter-match): : Tell user about
10600 2011-05-13 Didier Verna <didier@xemacs.org>
10602 Common Lisp indentation improvements on defmethod and lambda-lists.
10603 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10605 (lisp-lambda-list-keyword-parameter-indentation)
10606 (lisp-lambda-list-keyword-parameter-alignment)
10607 (lisp-lambda-list-keyword-alignment): New customizable user options.
10608 (lisp-indent-defun-method): Improve docstring.
10609 (extended-loop-p): Fix comment.
10610 (lisp-indent-lambda-list-keywords-regexp): New variable.
10611 (lisp-indent-lambda-list): New function.
10612 (lisp-indent-259): Use it.
10613 (lisp-indent-defmethod): Support for more than one
10614 method qualifier and properly indent methods lambda-lists.
10615 (defgeneric): Provide a missing common-lisp-indent-function property.
10617 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10619 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10620 bounds for the empty string (bug#8667).
10622 2011-05-13 Glenn Morris <rgm@gnu.org>
10624 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10626 * mail/sendmail.el (sendmail-program): Try executable-find first.
10627 (sendmail-send-it): `sendmail-program' cannot be unbound.
10629 * calendar/appt.el (appt-make-list): Simplify.
10630 (appt-time-msg-list): Doc fix.
10631 (appt-check): Change mode-line message at the time of the appointment.
10633 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10635 * progmodes/ld-script.el (ld-script-keywords)
10636 (ld-script-builtins): Update keywords list.
10638 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10642 * shell.el (shell-completion-vars): New function.
10644 * simple.el (read-shell-command): Use it.
10645 (blink-matching-open): No need for " [...]" in minibuffer-message.
10647 2011-05-12 Glenn Morris <rgm@gnu.org>
10649 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10650 (appt-check): Simplify.
10652 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10654 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10655 literal "/dev/null".
10657 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10662 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10664 * progmodes/which-func.el (which-function):
10665 Use add-log-current-defun instead of add-log-current-defun-function,
10666 which might not be defined (Bug#8260).
10668 2011-05-12 Glenn Morris <rgm@gnu.org>
10670 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10671 Let byte-compile-initial-macro-environment always take precedence.
10673 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10675 * net/rcirc.el: Add support for SSL/TLS connections.
10676 (rcirc-server-alist): New field `encryption'.
10677 (rcirc): Check `encryption' settings.
10678 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10679 Merge make-local-variable into `set'.
10680 (rcirc--connection-open-p): New function.
10681 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10682 the process is not a network process (e.g. running gnutls-cli).
10683 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10684 Make rcirc-(en|de)code-coding-system local here.
10685 (rcirc-mode): Merge make-local-variable into `set'.
10686 (rcirc-parent-buffer): Make permanent buffer-local.
10687 (rcirc-multiline-minor-mode): Don't do it here.
10688 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10689 there's no server buffer.
10691 2011-05-11 Glenn Morris <rgm@gnu.org>
10693 * newcomment.el (comment-kill): Prefix "unused" local.
10695 * term/w32console.el (get-screen-color): Declare.
10697 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10698 Handle symbol elements of byte-compile-initial-macro-environment.
10700 2011-05-10 Leo Liu <sdl.web@gmail.com>
10702 * bookmark.el (bookmark-bmenu-mode-map):
10703 Bind bookmark-bmenu-search to `/'.
10705 * mail/footnote.el: Convert to utf-8 encoding.
10706 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10707 (Footnote-unicode): New function.
10708 (footnote-style-alist): Add unicode style to the list.
10709 (footnote-style): Doc fix.
10711 2011-05-10 Jim Meyering <meyering@redhat.com>
10713 Fix doubled-word typos.
10714 * international/quail.el (quail-insert-kbd-layout): and and -> and
10715 * kermit.el: and and -> and
10716 * net/ldap.el (ldap-search-internal): to to -> to
10717 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10718 * progmodes/js.el (js-mode): and and -> and
10719 * textmodes/artist.el (artist-move-to-xy): at at -> at
10720 (artist-draw-region-trim-line-endings): if if -> if
10721 And Safetyc -> Safety.
10722 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10724 2011-05-10 Glenn Morris <rgm@gnu.org>
10725 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * files.el (hack-one-local-variable-eval-safep):
10728 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10730 2011-05-10 Glenn Morris <rgm@gnu.org>
10732 * calendar/diary-lib.el (diary-list-entries-hook)
10733 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10734 (diary-nongregorian-marking-hook, diary-list-entries)
10735 (diary-include-other-diary-files, diary-mark-entries)
10736 (diary-mark-included-diary-files): Doc fixes.
10738 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10740 * misc.el: Require tabulated-list.el during compilation.
10742 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10744 * progmodes/compile.el (compilation-start):
10745 Run compilation-filter-hook for the async case too.
10746 (compilation-filter-hook): Doc fix.
10748 2011-05-09 Deniz Dogan <deniz@dogan.se>
10750 * wdired.el: Remove outdated installation comment. Fix usage
10753 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10755 * misc.el: Implement new command `list-dynamic-libraries'.
10756 (list-dynamic-libraries--loaded-only-p): New variable.
10757 (list-dynamic-libraries--refresh): New function.
10758 (list-dynamic-libraries): New command.
10760 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10763 Fix the ant regexp to handle end-line and end-column info from jikes.
10764 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10765 higher priority to avoid clobbering by gnu.
10767 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10769 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10770 if the face has existing theme settings (Bug#8454).
10772 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10774 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10775 Only match variables declared via `my' or `our' (Bug#8261).
10777 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10778 special file names `.' and `..' (Bug#8259).
10780 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10782 * progmodes/grep.el (grep-mode-font-lock-keywords):
10783 Remove buffer-changing entries.
10784 (grep-filter): New function.
10785 (grep-mode): Add it to compilation-filter-hook.
10787 * progmodes/compile.el (compilation-filter-hook)
10788 (compilation-filter-start): New defvars.
10789 (compilation-filter): Call compilation-filter-hook prior to
10790 updating the process mark.
10792 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10796 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10798 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10799 mailclient-send-it even if window-system is nil. (Bug#8595)
10801 * term/w32console.el (terminal-init-w32console):
10802 Call get-screen-color and use its output to set the frame
10803 background-mode. (Bug#8597)
10805 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10807 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10808 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10810 (defgeneric, eieio--defmethod): Use them.
10811 (eieio-defgeneric): Remove.
10812 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10814 2011-05-07 Glenn Morris <rgm@gnu.org>
10816 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10817 Use let rather than let*.
10818 (timeclock-find-discrep): Remove unused local.
10820 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10822 * calendar/appt.el (appt-time-msg-list): Doc fix.
10824 2011-05-06 Noah Friedman <friedman@splode.com>
10826 * apropos.el (apropos-print-doc): Only use
10827 emacs-lisp-docstring-fill-column when it is bound to an integer,
10828 per that variable's documentation.
10830 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10832 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10833 and warnings are not silently discarded (e.g. use -d instead of -P).
10835 2011-05-06 Glenn Morris <rgm@gnu.org>
10837 * calendar/appt.el (appt-message-warning-time): Doc fix.
10838 (appt-warning-time-regexp): New option.
10839 (appt-make-list): Respect appt-message-warning-time.
10841 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10843 (diary-add-to-list): Strip comments from the displayed string.
10844 (diary-mode): Set comment-start and comment-end.
10846 * vc/diff-mode.el (smerge-refine-subst): Declare.
10847 (diff-refine-hunk): Don't require smerge-mode when compiling.
10849 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10851 * simple.el (list-processes): Return nil as the docstring says.
10853 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10855 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10857 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10858 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10859 determining of binary transfer. (Bug#7383)
10861 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10863 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10864 Fix port computation bug. (Bug#8618)
10866 2011-05-05 Glenn Morris <rgm@gnu.org>
10868 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10870 * simple.el (shell-dynamic-complete-functions)
10871 (comint-dynamic-complete-functions): Declare.
10873 * net/network-stream.el (gnutls-negotiate):
10874 * simple.el (tabulated-list-print): Fix declarations.
10876 * progmodes/gud.el (syntax-symbol, syntax-point):
10877 Remove unnecessary and incorrect declarations.
10879 * emacs-lisp/check-declare.el (check-declare-scan):
10880 Handle byte-compile-initial-macro-environment in bytecomp.el
10882 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10884 Fix earlier half-done eieio-defmethod change (bug#8338).
10885 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10886 Streamline and change calling convention.
10887 (defmethod): Adjust accordingly and simplify.
10888 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10889 new eieio--defmethod.
10890 (slot-boundp): Minor CSE simplification.
10892 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10894 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10895 (glasses-make-readable): Use glasses-separate-capital-groups.
10897 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10899 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10900 (warning-series): Doc fix.
10901 (display-warning): Don't try to create the buffer if we just found it.
10903 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10905 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10906 (autoload-find-generated-file): New function.
10907 (generate-file-autoloads): Bind generated-autoload-file to
10909 (update-file-autoloads, update-directory-autoloads):
10910 Use autoload-find-generated-file. If called interactively, prompt for
10911 output file (Bug#7989).
10912 (batch-update-autoloads): Doc fix.
10914 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10916 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10918 2011-05-04 Glenn Morris <rgm@gnu.org>
10920 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10921 function, so it follows changes in calendar-date-style.
10922 (diary-fancy-date-matcher): New function.
10923 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10924 (diary-fancy-font-lock-fontify-region-function):
10925 Use diary-fancy-date-pattern as a function.
10927 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10928 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10930 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10932 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10933 instead of positional arguments. Allow :keylist and :crlfiles
10935 (open-gnutls-stream): Call it.
10937 * net/network-stream.el (network-stream-open-starttls): Adjust to
10938 call `gnutls-negotiate' with :process and :hostname arguments.
10940 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * minibuffer.el (completion--message): New function.
10943 (completion--do-completion, minibuffer-complete)
10944 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10945 (completion--do-completion): Don't ignore completion-auto-help when in
10948 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10949 internal encoding (e.g. tibetan zero is not whitespace).
10950 (global-whitespace-mode): Prefer save-current-buffer.
10951 (whitespace-trailing-regexp): Remove useless save-match-data.
10952 (whitespace-empty-at-bob-regexp): Minor simplification.
10954 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10956 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10958 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10960 * textmodes/ispell.el (ispell-add-per-file-word-list):
10961 Use `concat' to create string for insertion.
10963 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10965 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10966 Avoid open-line which runs post-self-insert-hook.
10967 (bibtex-fill-entry): Remove unused `end' var.
10969 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10971 * textmodes/ispell.el (ispell-add-per-file-word-list):
10972 Protect against `nil' value of `comment-start' (Bug#8579).
10974 2011-05-03 Leo Liu <sdl.web@gmail.com>
10976 * isearch.el (isearch-yank-pop): New command.
10977 (isearch-mode-map): Bind it to `M-y'.
10978 (isearch-forward): Mention it.
10980 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10982 * simple.el (minibuffer-complete-shell-command): Remove.
10983 (minibuffer-local-shell-command-map): Use completion-at-point.
10984 (read-shell-command): Setup completion vars here instead.
10985 (read-expression-map): Bind TAB to symbol completion.
10987 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10988 error directly rather via storing it into `results'.
10990 2011-05-02 Leo Liu <sdl.web@gmail.com>
10992 * vc/diff.el: Fix description.
10994 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996 * server.el (server-eval-at): New function.
10998 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11000 * net/network-stream.el (open-network-stream): Take a :nowait
11001 parameter and pass it on to `make-network-process'.
11002 (network-stream-open-plain): Ditto.
11004 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11006 * faces.el (face-spec-set-match-display): Don't match toolkit
11007 options on terminal frames.
11009 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * progmodes/pascal.el: Use lexical binding.
11012 (pascal-mode-map): Remove author preferences.
11014 * pcomplete.el (pcomplete-std-complete): Don't abuse
11015 completion-at-point.
11017 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11019 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11020 removing code that has been dead since 1991 or so.
11022 * startup.el (command-line): When warning about "_emacs", use a
11023 delayed warning to allow the user to filter it out.
11025 2011-04-28 Deniz Dogan <deniz@dogan.se>
11027 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11028 user has not joined.
11030 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11033 aren't any completions at point.
11035 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11037 * subr.el (display-delayed-warnings): New function.
11038 (delayed-warnings-hook): New variable.
11040 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * minibuffer.el (completion-at-point, completion-help-at-point):
11043 Don't presume that a given completion-at-point-function will always
11044 use the same calling convention.
11046 * pcomplete.el (pcomplete-completions-at-point):
11047 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11048 pcomplete-seen is non-nil.
11049 (pcomplete-comint-setup): Also recognize the new comint/shell
11050 completion functions.
11051 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11052 pcomplete-seen is non-nil.
11054 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11056 * calendar/icalendar.el (diary-lib): Add require statement.
11057 (icalendar--create-uid): Read out a uid from a text-property on
11058 the first character in the entry. This allows for code to add its
11059 own uid to the entry.
11060 (icalendar--convert-float-to-ical): Add export of
11061 `diary-float'-entries save for those with the optional DAY
11064 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11066 * subr.el (shell-quote-argument): Use alternate escaping strategy
11067 when we spot a variable reference in a string.
11069 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11071 * cus-start.el (all): Define customization for debug-on-event.
11073 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11075 * subr.el (shell-quote-argument): Escape correctly under Windows.
11077 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11079 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11081 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11083 * net/tramp.el (tramp-process-actions): Add POS argument.
11084 Delete region between POS and (pos).
11086 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11087 Use `nil' position in `tramp-process-actions' call.
11088 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11090 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11091 position in `tramp-process-actions' call.
11093 * net/trampver.el: Update release number.
11095 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * custom.el (defcustom): Obey lexical-binding.
11099 Fix octave-inf completion problems reported by Alexander Klimov.
11100 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11101 Inherit from octave-mode-syntax-table.
11102 (inferior-octave-mode): Set info-lookup-mode.
11103 (inferior-octave-completion-at-point): New function.
11104 (inferior-octave-complete): Use it and completion-in-region.
11105 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11106 comint-filename-completion.
11107 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11108 symbol elements which shouldn't be word elements.
11109 (octave-font-lock-keywords, octave-beginning-of-defun)
11110 (octave-function-header-regexp): Adjust regexps accordingly.
11111 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11113 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11115 * net/gnutls.el (gnutls-errorp): Declare before first use.
11117 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11119 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11120 verify-error, and verify-hostname-error parameters. Check whether
11121 default trustfile exists before going to use it. Add missing
11122 argument to gnutls-message-maybe call. Return value.
11123 Reported by Claudio Bley <claudio.bley@gmail.com>.
11124 (open-gnutls-stream): Add usage example.
11126 * net/network-stream.el (network-stream-open-starttls): Give host
11127 parameter to `gnutls-negotiate'.
11128 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11129 * subr.el (shell-quote-argument): Escape correctly under Windows.
11131 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11133 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11134 Use correct match group (bug#8438).
11136 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11138 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11139 (package-menu--generate): New arg specifying packages to show.
11140 (package-menu-refresh, package-menu-execute, list-packages):
11142 (package-show-package-list): New function, replacing deleted
11143 package--list-packages (renamed because it is non-internal).
11145 * finder.el (finder-list-matches): Use package-show-package-list
11146 instead of deleted package--list-packages.
11148 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11149 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11150 (vc-annotate-mode-map): Bind it to RET.
11152 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11154 * progmodes/etags.el (next-file): Don't use set-buffer to change
11155 buffers (Bug#8478).
11157 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11159 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11161 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11162 (apropos-accumulator): Doc fix.
11163 (apropos-function, apropos-macro, apropos-command)
11164 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11165 (apropos-plist): Add face property.
11166 (apropos-symbols-internal): Fix indentation.
11167 (apropos-print): Simplify help, and recognize apropos-multi-type.
11168 (apropos-print-doc): Use button-type-get to extract the button's
11169 face property. Fill docstring (Bug#8352).
11171 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11173 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11175 * play/mpuz.el (mpuz-silent): Doc fix.
11176 (mpuz-mode-map): Use mapc.
11177 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11178 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11179 Fix typos in docstrings.
11181 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11182 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11184 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11186 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11188 * minibuffer.el (completion--do-completion): Avoid the "Next char
11189 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11191 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11192 mouse-2 into unread-command-events, it is interpreted correctly.
11194 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11195 (image-toggle-display): Doc fix.
11197 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11199 * textmodes/page.el (what-page): Use line-number-at-pos to
11200 calculate line number (Bug#6825).
11202 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11204 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11205 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11206 Pass argument NO-DEFAULT to `find-tag-interactive'.
11208 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11210 Lexical-binding cleanup.
11212 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11213 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11214 * progmodes/ada-prj.el (ada-prj-initialize-values)
11215 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11216 (ada-prj-show-value):
11217 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11218 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11219 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11220 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11221 * progmodes/bug-reference.el (bug-reference-push-button):
11222 * progmodes/fortran.el (fortran-line-length):
11223 * progmodes/glasses.el (glasses-change):
11224 * progmodes/octave-mod.el (octave-fill-paragraph):
11225 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11226 (python-pdbtrack-grub-for-buffer, python-sentinel):
11227 * progmodes/sql.el (sql-save-connection):
11228 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11229 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11230 Mark unused parameters.
11232 * progmodes/compile.el (compilation--flush-directory-cache)
11233 (compilation--flush-parse, compile-internal): Mark unused parameters.
11234 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11235 (compilation-next-error-function): Remove unused variable `timestamp'.
11237 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11238 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11240 * progmodes/dcl-mode.el (dcl-end-of-command):
11241 Remove unused variable `start'.
11242 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11243 (dcl-option-value-basic, dcl-option-value-offset)
11244 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11245 Mark unused parameters.
11246 (dcl-save-local-variable): Remove unused variable `val'.
11249 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11250 Mark unused parameters.
11251 (delphi-ignore-changes): Move before first use.
11252 (delphi-charset-token-at): Remove unused variable `start'.
11253 (delphi-else-start): Remove unused variable `if-count'.
11254 (delphi-comment-block-start, delphi-comment-block-end):
11255 Remove unused variable `kind'.
11256 (delphi-indent-line): Remove unused variable `new-point'.
11258 * progmodes/ebrowse.el (ebrowse-files-list)
11259 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11260 Mark unused parameters. Don't quote `lambda'.
11261 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11262 Don't quote `lambda'.
11263 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11264 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11265 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11266 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11267 Use `ignore-errors'.
11268 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11269 (ebrowse-view/find-file-and-search-pattern)
11270 (ebrowse-view/find-member-declaration/definition):
11271 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11272 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11273 Rename parameter PREFIX-ARG to PREFIX.
11274 (ebrowse-tags-read-name): Remove unused variables `start' and
11276 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11279 * progmodes/etags.el (local-find-tag-hook): Declare.
11280 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11281 Mark unused parameters.
11283 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11284 (executable-interpret): Mark unused parameter.
11286 * progmodes/flymake.el (flymake-process-sentinel)
11287 (flymake-after-change-function)
11288 (flymake-create-temp-with-folder-structure)
11289 (flymake-get-include-dirs-dot): Mark unused parameters.
11290 (flymake-safe-delete-directory): Remove unused variable `err'.
11292 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11293 (speedbar-timer-fn, speedbar-line-text)
11294 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11295 (speedbar-center-buffer-smartly): Declare functions.
11296 (gdb-find-watch-expression): Remove unused variable `array'.
11297 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11298 (gdb-starting): Mark unused parameters.
11299 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11300 (gdb-table-string): Remove unused variable `res'.
11301 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11302 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11303 (gdb-display-buffer): Remove unused variable `cur-size'.
11305 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11306 allow lexical-binding compilation.
11307 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11308 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11309 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11310 Mark unused parameters.
11311 (gud-gdb-marker-filter): Remove unused variable `match'.
11312 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11313 lambda expressions and funcall them, instead of using `fset'.
11315 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11316 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11318 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11319 variable `header-beg'; use `let'.
11321 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11322 `restart', `last-sexp' and `at-do'.
11324 * progmodes/js.el (js--debug): Mark unused parameter.
11325 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11326 (js--splice-into-items): Remove unused variable `item'.
11327 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11329 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11330 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11331 (makefile-complete): Remove unused variable `try'.
11332 (makefile-fill-paragraph, makefile-match-function-end):
11333 Mark unused parameters.
11335 * progmodes/octave-inf.el (inferior-octave-complete):
11336 Remove unused variable `proc'.
11337 (inferior-octave-output-digest): Mark unused parameter.
11339 * progmodes/perl-mode.el (perl-calculate-indent):
11340 Remove unused variable `err'.
11342 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11343 (prolog-indent-line): Mark unused parameters.
11344 (prolog-indent-line): Remove unused variable `beg'.
11346 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11347 (reporter-dont-compact-list): Declare.
11349 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11350 Remove unused variable `char'.
11351 (sh-debug): Mark unused parameter.
11352 (sh-get-indent-info): Remove unused variable `start'.
11353 (sh-calculate-indent): Remove unused variable `var'.
11355 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11356 (simula-electric-keyword): Remove unused variable `null'.
11357 (simula-search-backward, simula-search-forward): Remove unused
11358 variables `begin' and `end'.
11360 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11361 Remove unused variable `pos'.
11362 (vera-electric-tab, vera-comment-uncomment-region):
11363 Mark unused parameters.
11364 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11366 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11368 * emacs-lisp/package.el (package--builtins, package-alist)
11369 (package-load-descriptor, package-built-in-p, package-activate)
11370 (define-package, package-installed-p)
11371 (package-compute-transaction, package-buffer-info)
11372 (package--push): Doc fix. Distinguish more clearly between
11373 version strings and version lists.
11375 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11377 Lexical-binding cleanup.
11379 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11380 (5x5-make-mutate-best):
11381 * play/fortune.el (fortune-in-buffer):
11382 * play/gomoku.el (gomoku-init-display):
11383 * play/solitaire.el (solitaire, solitaire-do-check):
11384 * play/tetris.el (tetris-default-update-speed-function):
11385 Mark unused parameters.
11387 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11388 (bubbles--shift): Remove unused variable `char-org'.
11389 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11390 (bubbles--show-images): Remove unused variable `char'.
11392 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11393 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11394 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11395 (decipher-analyze-buffer): Use ?\s.
11396 (decipher-make-checkpoint): Remove unused variable `mapping'.
11398 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11400 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11401 Remove unused variable `result'; use `let'.
11403 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11404 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11405 (gametree-children-shown-p, gametree-compute-reduced-score):
11406 Use `ignore-errors'.
11408 * play/handwrite.el (ps-lpr-switches): Declare.
11409 (handwrite): Remove unused variables `pmin' and `lastp'.
11411 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11413 * play/landmark.el (landmark-init-display)
11414 (landmark-update-naught-weights): Mark unused parameters.
11415 (landmark-y): Remove unused variable `noise'. Simplify.
11416 (landmark-human-plays): Remove unused variable `score'.
11418 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11419 (mpuz-try-proposal): Remove unused variable `game'.
11421 * play/zone.el (life-patterns): Declare.
11423 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11425 * vc/vc.el (ediff-vc-internal): Declare function.
11427 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * shell.el: Use lexical-binding and std completion UI.
11430 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11431 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11432 comint-preoutput-filter-functions rather than on
11433 comint-output-filter-functions.
11434 (shell-command-completion, shell--command-completion-data)
11435 (shell-filename-completion, shell-environment-variable-completion)
11436 (shell-c-a-p-replace-by-expanded-directory): New functions.
11437 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11438 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11439 (shell-dynamic-complete-environment-variable): Use them.
11440 (shell-dynamic-complete-as-environment-variable)
11441 (shell-dynamic-complete-as-command): Remove.
11442 (shell-match-partial-variable): Match past point.
11443 * comint.el: Clean up use of completion-at-point-functions.
11444 (comint-completion-at-point): New function.
11445 (comint-mode): Use it completion-at-point-functions.
11446 (comint-dynamic-complete): Make it obsolete.
11447 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11448 (comint-c-a-p-replace-by-expanded-history): New function.
11449 (comint-dynamic-complete-functions)
11450 (comint-replace-by-expanded-history): Use it.
11451 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11452 termination strings. Try harder to avoid second try-completion.
11453 (completion-in-region-mode-map): Disable bindings that don't work yet.
11455 * comint.el: Use lexical-binding. Require CL.
11456 (comint-dynamic-complete-functions): Use comint-filename-completion.
11457 (comint-completion-addsuffix): Tweak custom type.
11458 (comint-filename-completion, comint--common-suffix)
11459 (comint--common-quoted-suffix, comint--table-subvert)
11460 (comint--complete-file-name-data): New functions.
11461 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11462 (comint-dynamic-list-filename-completions): Use them.
11463 (comint-dynamic-simple-complete): Make obsolete.
11465 * minibuffer.el (completion-in-region-mode):
11466 Keep completion-in-region-mode--predicate global.
11467 (completion-in-region--postch):
11468 Assume completion-in-region-mode--predicate is not null.
11470 * progmodes/flymake.el (flymake-start-syntax-check-process):
11471 Obey `dir'. Simplify.
11473 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11474 we're in VC after all.
11476 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11478 * vc/vc.el (vc-diff-build-argument-list-internal)
11479 (vc-version-ediff, vc-ediff): New commands.
11480 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11482 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11487 * obsolete/erc-hecomplete.el: Make obsolete.
11488 * obsolete/: Standardize obsolescence info in the header.
11490 2011-04-20 Glenn Morris <rgm@gnu.org>
11492 * calendar/solar.el (solar-horizontal-coordinates):
11493 Use the longitude argument rather than `calendar-longitude'.
11494 (solar-date-next-longitude): Remove unused locals.
11496 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11498 * whitespace.el: New version 13.2.1.
11500 2011-04-20 felix <EmacsWiki> (tiny change)
11502 * whitespace.el (global-whitespace-mode): Keep highlight when
11503 switching between major modes on a file.
11505 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11508 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11509 multi-line comments as well.
11511 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11513 Lexical-binding cleanup.
11515 * arc-mode.el (archive-mode-revert):
11516 * cmuscheme.el (scheme-interactively-start-process):
11517 * custom.el (custom-initialize-delay):
11518 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11519 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11520 * emacs-lock.el (emacs-lock-clear-sentinel):
11521 * ezimage.el (defezimage):
11522 * follow.el (follow-avoid-tail-recenter):
11523 * fringe.el (set-fringe-mode-1):
11524 * generic-x.el (bat-generic-mode-compile):
11525 * help-mode.el (help-info-variable, help-do-xref)
11526 (help-mode-revert-buffer):
11527 * help.el (view-emacs-todo):
11528 * iswitchb.el (iswitchb-completion-help):
11529 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11530 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11531 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11532 * locate.el (locate-update):
11533 * longlines.el (longlines-encode-region)
11534 (longlines-after-change-function):
11535 * outline.el (outline-isearch-open-invisible):
11536 * ps-def.el (declare-function, charset-dimension, char-width)
11538 * ps-mule.el (ps-mule-plot-string):
11539 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11540 (recentf-edit-list-select, recentf-edit-list-validate)
11541 (recentf-open-files-action):
11542 * rect.el (delete-whitespace-rectangle-line)
11543 (rectangle-number-line-callback):
11544 * register.el (window-configuration-to-register)
11545 (frame-configuration-to-register):
11546 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11547 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11548 (xselect-convert-to-targets, xselect-convert-to-delete)
11549 (xselect-convert-to-filename, xselect-convert-to-charpos)
11550 (xselect-convert-to-lineno, xselect-convert-to-colno)
11551 (xselect-convert-to-os, xselect-convert-to-host)
11552 (xselect-convert-to-user, xselect-convert-to-class)
11553 (xselect-convert-to-name, xselect-convert-to-integer)
11554 (xselect-convert-to-atom, xselect-convert-to-identity):
11555 * subr.el (declare, ignore, process-kill-without-query)
11556 (text-clone-maintain):
11557 * terminal.el (te-get-char, te-tic-sentinel):
11558 * tool-bar.el (tool-bar-make-keymap):
11559 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11560 * type-break.el (type-break-mode, type-break-noninteractive-query):
11561 * view.el (View-back-to-mark):
11562 * wid-browse.el (widget-browse-action, widget-browse-widget)
11563 (widget-browse-widgets, widget-browse-sexp):
11564 * widget.el (define-widget-keywords):
11565 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11566 Mark unused parameters.
11568 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11569 (align-areas): Remove unused variable `look'.
11570 (align-region): Remove unused variables `real-end' and `pos-list'.
11572 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11574 * bindings.el (mode-line-modified, mode-line-remote):
11575 Mark unused parameters.
11576 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11578 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11579 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11581 * comint.el (comint-history-isearch-pop-state)
11582 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11583 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11584 (comint-substitute-in-file-name): Doc fix.
11586 * completion.el (cmpl-statistics-block): Mark unused parameter.
11587 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11588 (save-completions-to-file, load-completions-from-file):
11589 Remove unused local variable `e'.
11591 * composite.el (compose-chars): Remove unused variable `len'.
11592 (lgstring-insert-glyph): Remove unused variable `g'.
11593 (compose-glyph-string): Remove unused variables `ascent',
11594 `descent', `lbearing' and `rbearing'.
11595 (compose-glyph-string-relative): Remove unused variables
11596 `lbearing', `rbearing' and `wadjust'.
11597 (compose-gstring-for-graphic): Remove unused variables `header',
11598 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11599 (compose-gstring-for-terminal): Remove unused variables `header'
11600 and `nchars'. Use `let', not `let*'.
11602 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11603 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11604 (Custom-buffer-done, custom-buffer-create-internal)
11605 (custom-browse-visibility-action, custom-browse-group-tag-action)
11606 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11607 (widget-magic-mouse-down-action, custom-toggle-parent)
11608 (custom-add-parent-links, custom-toggle-hide-variable)
11609 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11610 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11611 (custom-face-menu-create, custom-variable-menu-create, get)
11612 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11613 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11614 (customize-apropos): Remove unused variable `tests'.
11615 (custom-group-value-create): Remove unused variable `hidden-p'.
11616 (sort-fold-case): Declare.
11618 * cus-theme.el (custom-reset-standard-faces-list)
11619 (custom-reset-standard-variables-list): Declare.
11620 (customize-create-theme, custom-theme-revert, custom-theme-write)
11621 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11622 Mark unused parameters.
11624 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11626 * delim-col.el (delimit-columns-max): Move defvar before first use.
11628 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11629 (describe-char): Don't quote `lambda'. Mark unused parameter.
11631 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11632 (auto-insert): Declare.
11633 (desktop-restore-file-buffer): Rename desktop-* parameters;
11635 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11636 (desktop-buffer): Rename desktop-* parameters.
11638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11639 (dframe-reposition-frame-xemacs, dframe-help-echo)
11640 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11641 Mark unused parameters.
11643 * dired-aux.el (backup-extract-version-start, overwrite-query)
11644 (overwrite-backup-query, rename-regexp-query)
11645 (rename-non-directory-query): Declare.
11646 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11647 (dired-add-entry): Remove unused variable `orig-file-name'.
11648 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11649 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11650 `dired-copy-preserve-time' directly.
11651 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11652 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11654 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11655 (dired-virtual-revert, dired-make-relative-symlink):
11656 Mark unused parameters.
11657 (manual-program): Declare.
11658 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11659 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11660 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11662 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11664 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11666 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11669 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11671 * electric.el (Electric-command-loop): Rename parameter
11672 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11674 * expand.el (expand-in-literal): Remove unused variable `here'.
11676 * facemenu.el (facemenu-add-new-color):
11677 Remove unused variable `docstring'.
11679 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11680 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11681 (face-attr-construct): Mark unused parameter. Doc fix.
11682 (read-color): Remove unused variable `hex-string'.
11684 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11685 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11686 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11687 (display-buffer-other-frame): Remove unused variable `old-window'.
11688 (kill-buffer-hook): Declare.
11689 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11690 Mark unused parameters.
11691 (after-find-file): Pass 1 to `auto-save-mode', not t.
11693 * files-x.el (auto-insert): Declare.
11694 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11696 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11697 variable `buf'. Mark unused parameter.
11698 (find-lisp-insert-directory): Mark unused parameter.
11700 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11701 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11702 (format-common-tail): Remove, unused.
11703 (format-deannotate-region): Remove unused variable `loc'.
11704 (format-annotate-region): Remove unused variable `p'.
11705 (format-annotate-single-property-change): Remove unused variables
11706 `default' and `tail'.
11708 * forms.el (read-file-filter): Declare.
11709 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11711 * frame.el (frame-creation-function-alist): Mark unused parameter.
11712 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11714 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11715 Remove unused parameters.
11716 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11717 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11719 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11720 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11721 (hfy-prepare-tag-map): Mark unused parameters.
11722 (htmlfontify-buffer): Use `called-interactively-p'.
11724 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11725 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11726 (ibuffer-do-occur): Mark unused parameters.
11727 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11728 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11730 * ibuffer.el: Don't quote `lambda'.
11731 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11732 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11733 Mark unused parameters.
11735 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11736 (ido-completing-read): Mark unused parameters.
11737 (ido-copy-current-word): Mark unused parameters;
11738 remove unused variable `name'.
11739 (ido-sort-merged-list): Remove unused parameter `dirs'.
11741 * ielm.el (ielm-input-sender): Mark unused parameter.
11742 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11743 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11744 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11745 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11746 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11748 * image-dired.el (image-dired-display-thumbs): Remove unused
11749 variables `curr-file' and `count'.
11750 (image-dired-remove-tag): Remove unused variable `start'.
11751 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11752 variable `curr-file'
11753 (image-dired-rotate-original): Remove unused variable `temp-file'.
11754 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11755 Remove unused variable `file'.
11756 (image-dired-gallery-generate): Remove unused variable `curr'.
11757 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11759 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11761 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11763 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11765 * isearch.el (minibuffer-history-symbol): Declare.
11766 (isearch-edit-string): Remove unused variable `err'.
11767 (isearch-message-prefix, isearch-message-suffix):
11768 Mark unused parameters.
11770 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11772 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11774 * makesum.el (double-column): Remove unused variable `cnt'.
11776 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11777 (ido-ignore-item-temp-list): Declare.
11779 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11780 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11781 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11782 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11785 * mouse-sel.el (mouse-extend-internal):
11786 Remove unused variable `orig-window-frame'.
11788 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11789 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11790 Move declarations before first use.
11791 (pcomplete-opt): Mark unused parameters; doc fix.
11793 * proced.el (proced-revert): Mark unused parameter.
11794 (proced-send-signal): Remove unused variable `err'.
11796 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11797 Rename parameter PREFIX-ARG to ARG.
11798 (ps-basic-plot-string, ps-basic-plot-whitespace):
11799 Mark unused parameters.
11801 * replace.el (replace-count): Define.
11802 (occur-revert-function): Mark unused parameters.
11803 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11804 (isearch-case-fold-search, isearch-string): Declare.
11805 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11806 bind `case-fold-search'. Remove unused variables `beg' and `end',
11808 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11809 COUNT and bind `replace-count'.
11810 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11813 * savehist.el (print-readably, print-string-length): Declare.
11815 * shadowfile.el (shadow-expand-cluster-in-file-name):
11816 Remove unused variable `cluster'.
11817 (shadow-copy-file): Remove unused variable `i'.
11818 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11819 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11820 (shadow-define-literal-group, shadow-define-regexp-group)
11821 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11823 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11824 (shell): Use `called-interactively-p'.
11825 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11827 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11828 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11829 (delete-backward-char): Remove unused variable `ocol'.
11830 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11831 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11832 (event-apply-hyper-modifier, event-apply-shift-modifier)
11833 (event-apply-control-modifier, event-apply-meta-modifier):
11834 Mark unused parameters.
11835 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11836 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11838 * speedbar.el (speedbar-ignored-directory-expressions)
11839 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11840 (speedbar-find-file, speedbar-dir-follow)
11841 (speedbar-directory-buttons-follow, speedbar-tag-find)
11842 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11843 (speedbar-buffers-line-directory, speedbar-buffer-click):
11844 Mark unused parameters.
11845 (speedbar-tag-file): Remove unused variable `mode'.
11846 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11848 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11850 * talk.el (talk): Remove unused variable `display'.
11852 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11853 (tar-write-region-annotate): Mark unused parameter.
11855 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11856 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11857 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11858 warning by another.
11860 * time-stamp.el (time-stamp-string-preprocess):
11861 Remove unused variable `require-padding'.
11863 * tree-widget.el (widget-glyph-enable): Declare.
11864 (tree-widget-action): Mark unused parameter.
11866 * w32-fns.el (x-get-selection): Mark unused parameter.
11867 (autoload-make-program, generated-autoload-file): Declare.
11869 * wdired.el (wdired-revert): Mark unused parameters.
11870 (wdired-xcase-word): Remove unused variable `err'.
11872 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11873 (whitespace-help-scroll): Remove unused variable `data-help'.
11875 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11876 (widget-image-insert, widget-after-change, default)
11877 (widget-default-format-handler, widget-default-notify)
11878 (widget-default-prompt-value, widget-info-link-action)
11879 (widget-url-link-action, widget-function-link-action)
11880 (widget-variable-link-action, widget-file-link-action)
11881 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11882 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11883 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11884 (widget-insert-button-action, widget-delete-button-action, visibility)
11885 (widget-documentation-link-action, widget-documentation-string-action)
11886 (widget-const-prompt-value, widget-regexp-match, symbol)
11887 (widget-coding-system-prompt-value)
11888 (widget-key-sequence-value-to-external, sexp)
11889 (widget-sexp-value-to-internal, character, vector, cons)
11890 (widget-choice-prompt-value, widget-boolean-prompt-value)
11891 (widget-color--choose-action): Mark unused parameters.
11892 (widget-item-match-inline, widget-choice-match-inline)
11893 (widget-checklist-match, widget-checklist-match-inline)
11894 (widget-group-match): Rename parameter VALUES to VALS.
11895 (widget-field-value-set): Remove unused variable `size'.
11896 (widget-color-action): Remove unused variables `value' and `start'.
11898 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11899 variable `dir'. Doc fix.
11900 (windmove-find-other-window): Don't pass it.
11902 * window.el (count-windows): Mark unused parameter.
11903 (bw-adjust-window): Remove unused variable `err'.
11905 * woman.el (woman-file-name): Remove unused variable `default'.
11906 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11907 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11908 (global-font-lock-mode): Declare.
11909 (woman-decode-region): Mark unused parameter.
11910 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11912 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11913 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11914 (x-dnd-handle-moz-url): Remove unused variable `title'.
11915 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11917 * xml.el (xml-parse-tag, xml-parse-attlist):
11918 Remove unused variable `pos'.
11920 2011-04-19 Glenn Morris <rgm@gnu.org>
11922 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11923 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11924 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11925 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11926 * calendar/cal-html.el (cal-html-insert-minical):
11927 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11928 (calendar-mark-date-pattern):
11929 Prefix "unused" locals.
11931 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11932 optional argument `style'.
11934 * calendar/appt.el (appt-make-list):
11935 * calendar/cal-china.el (calendar-chinese-date-string):
11936 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11937 (diary-hebrew-yahrzeit):
11938 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11939 * calendar/calendar.el (calendar-generate-window):
11940 * calendar/time-date.el (time-to-days):
11941 Remove unused local variables.
11943 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11945 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11946 glyphless-char-display table.
11947 (tabulated-list-glyphless-char-display): New var.
11949 2011-04-18 Sam Steingold <sds@gnu.org>
11951 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11952 to acknowledgments.
11954 2011-04-17 Glenn Morris <rgm@gnu.org>
11956 * calendar/diary-lib.el (diary-sexp-entry):
11957 * calendar/holidays.el (holiday-sexp):
11958 Set debug-on-error rather than the removed stack-trace-on-error.
11960 2011-04-16 Glenn Morris <rgm@gnu.org>
11962 * progmodes/f90.el: Use lexical-binding.
11963 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11965 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11968 (mail-mode): Setup mailalias completion here instead.
11969 * mail/mailalias.el: Use lexical-binding.
11970 (pattern, mailalias-done): Declare dynamic.
11971 (mail-completion-at-point-function): New function, from mail-complete.
11972 (mail-complete): Use it.
11973 (mail-completion-expand): New function.
11974 (mail-get-names): Use it.
11975 (mail-directory, mail-directory-process, mail-directory-stream):
11976 Don't use `pattern' for lexically bound arg.
11978 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11980 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11981 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11982 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11984 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11985 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11986 (byte-interactive-p): Define them again, for use when inlining
11989 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11991 * loadup.el: Use `string-to-number', not `string-to-int'.
11993 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11996 gud-gdb-complete-command.
11997 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11998 (gud-gdb-completion-at-point): New function.
11999 (gud-gdb-completions): Remove.
12001 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12003 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12004 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12005 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12006 whether `executable-find' is bound.
12008 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12010 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12012 * minibuffer.el (completion-in-region-mode-predicate)
12013 (completion-in-region-mode--predicate): New vars.
12014 (completion-in-region, completion-in-region--postch)
12015 (completion-in-region-mode): Use them.
12016 (completion--capf-wrapper): Also return the hook function.
12017 (completion-at-point, completion-help-at-point):
12018 Adjust and provide a predicate.
12020 Preserve arg names for advice of subr and lexical functions (bug#8457).
12021 * help-fns.el (help-function-arglist): Consolidate the subr and
12022 new-byte-code cases. Add argument `preserve-names' to extract names
12023 from the docstring when needed.
12024 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12025 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12026 (ad-arglist): Use help-function-arglist's new arg.
12027 (ad-definition-type): Use cond.
12029 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12031 * autorevert.el (auto-revert-handler):
12032 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12033 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12034 Don't quote lambda.
12036 * image-mode.el (image-transform-set-scale):
12037 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12039 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041 * net/network-stream.el (network-stream-open-starttls): Only do
12042 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12043 Upgrades via gnutls-cli are too slow to be done opportunistically.
12045 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12047 * dframe.el (dframe-current-frame): Remove spurious quote.
12049 2011-04-12 Glenn Morris <rgm@gnu.org>
12051 * calendar/cal-tex.el (cal-tex-end-document):
12052 Try to automatically use latin1 input if needed.
12054 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12055 Don't try to cons a mark onto an empty element.
12057 2011-04-11 Leo Liu <sdl.web@gmail.com>
12059 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12061 (ido-kill-buffer-at-head): Support killing virtual buffers.
12063 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12065 * minibuffer.el (completion-show-inline-help): New var.
12066 (completion--do-completion, minibuffer-complete)
12067 (minibuffer-force-complete, minibuffer-complete-word):
12068 Inhibit minibuffer messages if completion-show-inline-help is nil.
12070 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12071 to avoid interference from inline help (Bug#5849).
12073 2011-04-10 Leo Liu <sdl.web@gmail.com>
12075 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12078 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12080 * image-mode.el (image-toggle-display-image): Signal an error if
12082 (image-transform-mode, image-transform-resize)
12083 (image-transform-set-rotation): Doc fix.
12084 (image-transform-set-resize): Delete.
12085 (image-transform-set-scale, image-transform-fit-to-height)
12086 (image-transform-fit-to-width): Handle image-toggle-display-image
12087 and image-transform-resize directly.
12089 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12091 * doc-view.el (doc-view-fit-width-to-window)
12092 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12093 New functions for fitting the shown image to the Emacs window size.
12094 (doc-view-mode-map): Add bindings for the new functions.
12096 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12098 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12099 Fix typo in docstring.
12101 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12103 * files.el (file-size-human-readable): Produce one digit after
12104 decimal, like "ls -lh" does.
12106 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12107 the file size representation.
12109 * simple.el (list-processes): If async subprocesses are not
12110 available, error out with a clear error message.
12112 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12114 * help.el (help-form-show): New function, to be called from C.
12115 Put help-form output in a buffer named differently than *Help*.
12117 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12119 * files.el (file-size-human-readable): New function.
12121 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12122 computing the representation inline. Don't require `cl'.
12124 2011-04-08 Glenn Morris <rgm@gnu.org>
12126 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12128 * net/browse-url.el (browse-url-firefox):
12129 Test system-type, not system-configuration.
12131 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12132 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12133 Use log-edit-empty-buffer-p. (Bug#7598)
12135 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12136 (rlogin-mode-map): Initialize in the defvar.
12137 (rlogin): Use ignore-errors.
12139 * replace.el (occur-mode-map): Some fixes for menu items.
12141 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12143 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12145 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12147 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12148 issuing unused warnings.
12150 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12153 * simple.el: Lisp reimplement of list-processes. Based on an
12154 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12155 (process-menu-mode): New major mode.
12156 (list-processes--refresh, list-processes):
12157 (process-menu-visit-buffer): New functions.
12159 * files.el (save-buffers-kill-emacs): Don't assume any return
12160 value of list-processes, which is undocumented anyway.
12162 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12164 * emacs-lisp/tabulated-list.el: New file.
12166 * emacs-lisp/package.el: Use Tabulated List mode.
12167 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12168 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12169 table format using Tabulated List mode variables.
12170 (package--push): New macro, replacing package-list-maybe-add.
12171 (package-menu--generate): Use package--push. Renamed from
12172 package--generate-package-list.
12173 (package-menu-refresh, list-packages): Use it.
12174 (package-menu--print-info): Rename from package-print-package.
12175 Return insertion data instead of inserting it directly.
12176 (package-menu-describe-package, package-menu-execute):
12177 Use tabulated-list-get-id.
12178 (package-menu-mark-delete, package-menu-mark-install)
12179 (package-menu-mark-unmark, package-menu-backup-unmark)
12180 (package-menu-mark-obsolete-for-deletion):
12181 Use tabulated-list-put-tag.
12182 (package--list-packages, package-menu-revert)
12183 (package-menu-get-package, package-menu-get-version)
12184 (package-menu-sort-by-column): Functions deleted.
12185 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12186 (package-menu--status-predicate, package-menu--version-predicate)
12187 (package-menu--name-predicate)
12188 (package-menu--description-predicate): Handle arguments in the
12189 Tabulated List format.
12190 (package-list-packages-no-fetch): Call list-packages.
12192 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12194 * files.el (after-find-file-from-revert-buffer): Remove variable.
12195 (after-find-file): Don't bind it.
12196 (revert-buffer-in-progress-p): New variable.
12197 (revert-buffer): Bind it.
12198 Pass nil for `after-find-file-from-revert-buffer'.
12200 * saveplace.el (save-place-find-file-hook): Use new variable
12201 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12203 2011-04-06 Glenn Morris <rgm@gnu.org>
12205 * Makefile.in (AUTOGEN_VCS): New variable.
12206 (autoloads): Use $AUTOGEN_VCS.
12208 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12209 * calendar/calendar.el (calendar-mode-map):
12210 Check for toolkit scroll bars. (Bug#8305)
12212 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12214 * minibuffer.el (completion-in-region--postch)
12215 (completion-in-region-mode): Remove unnecessary messages.
12217 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12219 * font-lock.el (font-lock-refresh-defaults):
12220 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12221 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12223 * info.el (Info-directory-list, Info-read-node-name-2)
12224 (Info-split-parameter-string): Doc fixes.
12225 (Info-virtual-nodes): Reflow docstring.
12226 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12227 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12228 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12229 Fix typos in docstrings.
12230 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12231 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12232 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12233 (Info-restore-desktop-buffer): Mark unused parameters.
12234 (Info-directory-find-file, Info-directory-find-node)
12235 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12236 (Info-virtual-index-find-node, Info-apropos-find-file)
12237 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12238 Mark unused parameters; fix typos in docstrings.
12239 (Info-virtual-index): Remove unused local variable `nodename'.
12241 2011-04-05 Deniz Dogan <deniz@dogan.se>
12243 * net/rcirc.el: Update my e-mail address.
12244 (rcirc-mode-map): Remove M-o binding.
12246 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12248 * startup.el (command-line): Save the cursor's theme-face
12249 directly, instead of using face-override-spec.
12251 * custom.el (load-theme): Minor optimization in assigning faces.
12253 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12255 * help-fns.el (describe-variable): Complete all variables having
12256 documentation, including keywords.
12257 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12259 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12261 Convert to lexical-binding.
12263 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12264 (bs--get-marked-string, bs--get-modified-string)
12265 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12266 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12267 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12269 * ehelp.el (electric-help-execute-extended)
12270 (electric-help-ctrl-x-prefix):
12271 * hexl.el (hexl-revert-buffer-function):
12272 * linum.el (linum-after-change, linum-after-scroll):
12273 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12275 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12277 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12284 * epg.el: Use lexical binding.
12286 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12288 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12290 * textmodes/flyspell.el (flyspell-word): Recognize default
12291 dictionary case for flyspell-mark-duplications-exceptions.
12292 Use regexp matching for languages.
12293 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12294 default dictionary (Bug#7926).
12296 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12298 * emacs-lisp/package.el (package--with-work-buffer):
12299 Recognize https URLs.
12301 * net/network-stream.el: Move from gnus/proto-stream.el.
12302 Change prefix to network-stream throughout.
12303 (open-protocol-stream): Merge into open-network-stream, leaving
12304 open-protocol-stream as an alias. Handle nil BUFFER args.
12306 * subr.el (open-network-stream): Move to net/network-stream.el.
12308 2011-04-02 Glenn Morris <rgm@gnu.org>
12310 * find-dired.el (find-exec-terminator): New option.
12311 (find-ls-option): Test for -ls support.
12312 (find-ls-subdir-switches): Test for -b in find-ls-option.
12313 (find-dired, find-grep-dired): Doc fixes.
12314 (find-dired): Use find-exec-terminator.
12316 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12317 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12318 (find-name-arg): Remove purecopy.
12320 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12321 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12322 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12323 accordingly. Don't add the null-device if not needed.
12325 * files.el (save-some-buffers): Doc fix.
12327 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12329 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12331 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12333 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12334 Use `dolist' rather than `mapcar'.
12336 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12338 Add lexical binding.
12340 * subr.el (apply-partially): Use new closures rather than CL.
12341 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12342 (dolist, dotimes): Use slightly different expansion for lexical code.
12343 (functionp): Move to C.
12344 (letrec): New macro.
12345 (with-wrapper-hook): Use it and apply-partially instead of CL.
12346 (eval-after-load): Preserve lexical-binding.
12347 (save-window-excursion, with-output-to-temp-buffer): Turn them
12350 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12352 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12354 (help-add-fundoc-usage): Don't add `Not documented'.
12355 (help-function-arglist): Handle closures, subroutines, and new
12356 byte-code-functions.
12357 (help-make-usage): Remove leading underscores.
12358 (describe-function-1): Handle closures.
12359 (describe-variable): Use special-variable-p for completion.
12361 * files.el (lexical-binding): Declare safe.
12363 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12364 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12365 (pcase): Add `let' pattern.
12366 Change memoization so it actually works.
12367 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12368 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12371 * emacs-lisp/macroexp.el: Use lexical binding.
12372 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12373 Don't convert ' to #' without checking that it's indeed quoting
12376 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12377 Use eval-sexp-add-defvars.
12378 (eval-sexp-add-defvars): New fun.
12380 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12382 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12384 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12385 than the internal `byte-compile-lambda'.
12386 (defmethod): Don't hide code under quotes.
12387 (eieio-defmethod): New `code' argument.
12389 * emacs-lisp/eieio-comp.el: Remove.
12391 * emacs-lisp/edebug.el (edebug-eval-defun)
12392 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12393 (edebug-toggle): Avoid `eval'.
12395 * emacs-lisp/disass.el (disassemble-internal): Handle new
12397 (disassemble-1): Handle new byte codes.
12399 * emacs-lisp/cl.el (pushnew): Silence warning.
12401 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12402 (cl-byte-compile-throw): Remove.
12403 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12405 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12408 * emacs-lisp/cconv.el: New file.
12410 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12411 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12412 (byte-compile-initial-macro-environment):
12413 Handle declare-function here.
12414 (byte-compile--lexical-environment): New var.
12415 (byte-stack-ref, byte-stack-set, byte-discardN)
12416 (byte-discardN-preserve-tos): New lap codes.
12417 (byte-interactive-p): Don't use any more.
12418 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12420 (byte-compile-lapcode): Use them and handle new lap codes.
12421 (byte-compile-obsolete): Remove.
12422 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12423 (byte-compile-arglist-warn): Check late def of inlinable funs.
12424 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12425 since they should have been expanded by now.
12426 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12427 (byte-compile-from-buffer): Remove unused second arg.
12428 (byte-compile-preprocess): New function.
12429 (byte-compile-toplevel-file-form): New function to distinguish
12430 file-form calls from outside from file-form calls from hunk-handlers.
12431 (byte-compile-file-form): Simplify.
12432 (byte-compile-file-form-defsubst): Remove.
12433 (byte-compile-file-form-defmumble): Simplify now that
12434 byte-compile-lambda always returns a byte-code-function.
12435 (byte-compile): Preprocess.
12436 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12437 Remove, not used any more.
12438 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12439 (byte-compile-make-args-desc): New funs.
12440 (byte-compile-lambda): Handle lexical functions. Always return
12441 a byte-code-function.
12442 (byte-compile-reserved-constants): New var, to make up room for
12443 closed-over variables.
12444 (byte-compile-constants-vector): Obey it.
12445 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12446 (byte-compile-macroexpand-declare-function): New function.
12447 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12448 byte-code-functions.
12449 (byte-compile-form): Check obsolescence here.
12450 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12451 (byte-compile-variable-ref): Remove.
12452 (byte-compile-dynamic-variable-op): New fun.
12453 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12454 (byte-compile-variable-set): New funs.
12455 (byte-compile-discard): Add 2 args.
12456 (byte-compile-stack-ref, byte-compile-stack-set)
12457 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12458 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12459 macroexpand-all instead.
12460 (byte-compile-quote-form): Remove.
12461 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12462 (byte-compile-bind, byte-compile-unbind): New funs.
12463 (byte-compile-let): Handle let* and lexical binding.
12464 (byte-compile-let*): Remove.
12465 (byte-compile-catch, byte-compile-unwind-protect)
12466 (byte-compile-track-mouse, byte-compile-condition-case):
12467 Handle a new :fun-body form, used for lexical scoping.
12468 (byte-compile-save-window-excursion)
12469 (byte-compile-with-output-to-temp-buffer): Remove.
12470 (byte-compile-defun): Simplify.
12471 (byte-compile-stack-adjustment): New fun.
12472 (byte-compile-out): Use it.
12473 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12475 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12478 * emacs-lisp/byte-opt.el: Use lexical binding.
12479 (byte-inline-lapcode): Remove (to bytecomp).
12480 (byte-compile-inline-expand): Pay attention to inlining to/from
12481 lexically bound code.
12482 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12484 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12485 any more and don't call compiler-macros.
12486 (byte-compile-splice-in-already-compiled-code): Remove.
12487 (byte-code): Don't inline any more.
12488 (disassemble-offset): Receive `bytes' as argument rather than via
12490 (byte-compile-tag-number): Declare before first use.
12491 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12492 `return' even if make-spliceable.
12493 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12494 obsolete interactive-p.
12495 (byte-optimize-lapcode): Optimize new lap-codes.
12496 Don't trip up on new form of `byte-constant' lap code.
12498 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12500 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12502 * custom.el (custom-initialize-default, custom-declare-variable):
12505 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12507 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12508 (COMPILE_FIRST): Add macroexp and cconv.
12509 * makefile.w32-in: Mirror changes in Makefile.in.
12511 * vc/cvs-status.el:
12515 * vc/smerge-mode.el:
12516 * textmodes/bibtex-style.el:
12517 * textmodes/css.el:
12525 * emacs-lisp/smie.el:
12528 * abbrev.el: Use lexical binding.
12530 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12532 * info.el (info-display-manual): New function.
12534 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12536 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12538 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12540 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12541 an entry for that server in rcirc-authinfo. (Bug#8385)
12543 2011-03-31 Glenn Morris <rgm@gnu.org>
12545 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12547 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12549 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12551 * progmodes/python.el (python-default-interpreter)
12552 (python-python-command-args, python-jython-command-args)
12553 (python-which-shell, python-which-args, python-which-bufname)
12554 (python-file-queue, python-comint-output-filter-function)
12555 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12556 variables and functions.
12558 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12560 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12561 (completion-in-region-mode): New minor mode.
12562 (completion-in-region): Use it.
12563 (completion-in-region--data, completion-in-region-mode-map): New vars.
12564 (completion-in-region--postch): New function.
12565 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12567 (completion--capf-wrapper): New function.
12568 (completion-at-point): Use it to track well-behavedness of
12570 (completion-help-at-point): New command.
12572 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12574 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12575 syntax class to search for whitespace on a single line
12576 (Message-ID: <4D938140.4030905@redhat.com>).
12578 2011-03-30 Leo Liu <sdl.web@gmail.com>
12580 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12582 (edit-abbrevs-map): Bind them here.
12583 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12585 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12587 * allout.el (allout-hide-by-annotation, allout-flag-region):
12588 Reduce possibility of overlay leakage by making them volatile.
12590 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12591 hash is not shared between buffers. Mode initialization is
12592 responsible for giving it a useful starting value.
12593 (allout-item-span): Reduce possibility of overlay leakage by
12594 making them volatile.
12595 (allout-widgets-count-buttons-in-region): Add diagnostic function
12596 for tracking down button overlay leaks.
12598 2011-03-29 Leo Liu <sdl.web@gmail.com>
12600 * ido.el (ido-read-internal): Use the default history var
12601 minibuffer-history if no HISTORY is specified.
12603 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12605 * net/imap.el (imap-shell-open, imap-process-connection-type):
12606 Use imap-process-connection-type for 'shell' streams as well as
12607 Kerberos, SSL, other subprocesses.
12609 2011-03-28 Leo Liu <sdl.web@gmail.com>
12611 * abbrev.el (abbrev-table-empty-p): New function.
12612 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12613 nonempty ones. (Bug#5937)
12615 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12617 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12619 2011-03-27 Leo Liu <sdl.web@gmail.com>
12621 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12622 for foreground and background colors.
12623 (ansi-color-make-color-map): Adapt.
12625 2011-03-25 Leo Liu <sdl.web@gmail.com>
12627 * midnight.el (midnight-time-float): Remove. Note it calculates
12628 the microsecond component incorrectly and seconds-to-time does the
12630 Remove redundant (require 'timer).
12632 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12633 (ido-completions): Remove unused arguments. (Bug#8329)
12635 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12637 * minibuffer.el (completion--flush-all-sorted-completions):
12638 Remove itself from hook.
12639 (completion-at-point): Let the functions perform the completion
12640 immediately and return nil or t.
12641 * comint.el (comint-dynamic-complete-functions): Now identical to
12642 completion-at-point-functions.
12643 (comint-dynamic-list-input-ring): Remove unused var `index'.
12644 (comint--match-partial-filename, comint--unquote&expand-filename):
12645 New funs, split from comint-match-partial-filename.
12646 (comint-dynamic-complete): Use completion-at-point.
12647 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12649 2011-03-24 Drew Adams <drew.adams@oracle.com>
12651 * thingatpt.el: Support `defun'.
12653 2011-03-23 Leo Liu <sdl.web@gmail.com>
12655 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12657 * help-mode.el (help-mode-finish): Tweak regexp.
12659 2011-03-23 Glenn Morris <rgm@gnu.org>
12661 * eshell/esh-opt.el (eshell-eval-using-options):
12662 Do not bind unused local variable `eshell-option-stub'.
12664 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12666 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12668 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12669 keymap variable in `with-no-warnings' to avoid a warning when the
12670 keymap has been already `defconst'ed.
12672 2011-03-22 Leo Liu <sdl.web@gmail.com>
12674 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12675 encode all chars in abbrevs; otherwise use emacs-mule or
12676 utf-8-emacs. (Bug#8308)
12678 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12680 * simple.el (backward-delete-char-untabify):
12681 Avoid warning about using `delete-backward-char'.
12683 * image.el (image-type-file-name-regexps): Make it variable.
12684 `imagemagick-register-types' modifies it, and the user may want
12685 to add new extensions for known image types.
12686 (imagemagick-register-types): Throw error if not using ImageMagick.
12688 2011-03-22 Leo Liu <sdl.web@gmail.com>
12690 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12691 located before rcirc-prompt-end-marker.
12692 (rcirc-complete): Error if point is not after rcirc prompt.
12693 Handle the case when table is nil.
12694 (rcirc-user-authenticated): Define to fix compiler warning.
12696 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12698 * custom.el (custom--inhibit-theme-enable): Make it affect only
12699 custom-theme-set-variables and custom-theme-set-faces.
12700 (provide-theme): Ignore custom--inhibit-theme-enable.
12701 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12702 (custom-enabling-themes): Delete variable.
12703 (enable-theme): Accept only loaded themes as arguments.
12704 Ignore the special custom-enabled-themes variable.
12705 (custom-enabled-themes): Forbid themes from setting this.
12706 Eliminate use of custom-enabling-themes.
12707 (custom-push-theme): Quote "changed" custom var entry.
12709 2011-03-21 Leo Liu <sdl.web@gmail.com>
12711 * ido.el (ido-read-internal): Add ido-selected to history instead
12714 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12716 * subr.el (deferred-action-list, deferred-action-function):
12719 2011-03-21 Leo Liu <sdl.web@gmail.com>
12721 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12722 change on 2011-02-13 (bug#8309).
12724 * minibuffer.el (read-file-name-function): Change default value.
12725 (read-file-name--defaults): Rename from read-file-name-defaults.
12726 (read-file-name-default): Rename from read-file-name.
12727 (read-file-name): Call read-file-name-function.
12729 2011-03-21 Glenn Morris <rgm@gnu.org>
12731 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12734 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12736 * cus-theme.el: Add missing provide statement.
12737 (customize-create-theme): Extract theme value correctly.
12738 (custom-theme-visit-theme): Autoload.
12739 (customize-create-theme): Prompt before inserting default faces.
12741 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12743 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12744 units and musical notes.
12746 2011-03-20 Leo Liu <sdl.web@gmail.com>
12748 * ido.el (ido-read-internal): Use completing-read-default.
12749 (ido-completing-read): Fix compatibility with completing-read.
12751 2011-03-20 Christian Ohler <ohler@gnu.org>
12753 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12754 (ert-delete-all-tests): Use `called-interactively-p' rather than
12756 (ert--make-xrefs-region): Respect END.
12758 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12760 * dired-aux.el (dired-create-directory): Signal an error if the
12761 directory already exists (Bug#8246).
12763 * facemenu.el (list-colors-display): Call list-faces-display
12764 inside with-help-window.
12765 (list-colors-print): Use display property to align the final
12766 column, instead of checking window-width.
12768 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12770 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12771 windows-nt systems.
12772 (emerge-protect-metachars): Quote correctly for ms-dos and
12773 windows-nt systems.
12775 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12777 * info.el (info-initialize): Replace all uses of `:' with
12778 path-separator for compatibility with non-Unix systems.
12779 Cache quoting of path-separator. (Bug#8258)
12781 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12783 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12784 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12785 (mouse-avoidance-mode): Fix typos in docstrings.
12787 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12789 * startup.el (package-subdirectory-regexp): Move from package.el.
12790 Omit \\` and \\', and let callers add them.
12792 * emacs-lisp/package.el (package-strip-version)
12793 (package-load-all-descriptors): Add \\` and \\' to
12794 package-subdirectory-regexp before using it.
12795 (package-untar-buffer): New arg DIR; ensure that file untars only
12796 into this expected directory. Remove superfluous delete-region.
12797 (package-unpack): Caller changed.
12798 (package-tar-file-info): Use package-subdirectory-regexp.
12800 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12802 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12803 diff-mode-shared-map (bug#8284).
12804 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12806 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12808 * calendar/time-date.el (format-seconds): Use assoc instead of
12809 assoc-string, since assoc-string doesn't exist in XEmacs.
12811 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12813 * custom.el (custom-known-themes): Reflow docstring.
12814 (custom-theme-load-path): Fix typo in docstring.
12815 (load-theme): Fix typo in error message.
12816 (custom-available-themes, custom-variable-theme-value):
12817 Use `let', not `let*'.
12819 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12821 * calc/README: Mention inclusion of musical notes.
12823 * calc/calc-units.el (calc-lu-quant): Rename from
12824 `calc-logunits-quantity'.
12825 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12826 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12827 (calc-db): Rename from `calc-dblevel'.
12828 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12829 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12830 (calc-np): Rename from `calc-nplevel'.
12831 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12832 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12833 (calc-lu-plus): Rename from `calc-logunits-add'.
12834 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12835 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12836 (calc-lu-minus): Rename from `calc-logunits-sub'.
12837 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12838 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12839 (calc-lu-times): Rename from `calc-logunits-mul'.
12840 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12841 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12842 (calc-lu-divide): Rename from `calc-logunits-div'.
12843 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12844 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12846 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12847 functions being autoloaded.
12849 * calc/calc.el (calc-lu-power-reference): Rename from
12850 `calc-logunits-power-reference'.
12851 (calc-lu-field-reference): Rename from
12852 `calc-logunits-field-reference'.
12854 * calc/calc-help.el (calc-l-prefix-help):
12855 Mention musical note functions.
12857 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * minibuffer.el (completion-all-sorted-completions):
12860 Use :completion-cycle-penalty text property if present.
12862 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12864 * allout.el (allout-yank-processing): Adjust for new rebulleting
12865 regime so bullet being yanked is used without prompting the user
12868 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12870 * startup.el (command-line): Warn the user that _emacs is deprecated.
12872 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12874 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12875 (delphi-verbose, delphi-comment-face, delphi-string-face)
12876 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12877 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12878 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12879 (delphi-new-comment-line, delphi-font-lock-defaults)
12880 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12881 Fix typos in docstrings.
12883 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12885 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12886 Invert the roles of character and string values for INSTEAD, so a
12887 string is used for the more common case of a defaulting prompt.
12889 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * progmodes/ruby-mode.el (ruby-backward-sexp):
12892 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12893 * play/gamegrid.el (gamegrid-make-face):
12894 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12895 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12896 * notifications.el (notifications-notify):
12897 * net/xesam.el (xesam-search-engines):
12898 * net/quickurl.el (quickurl-list-insert):
12899 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12901 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12903 * startup.el (command-line): Update package subdirectory regexp.
12905 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12907 * allout.el (allout-abbreviate-flattened-numbering)
12908 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12910 * subr.el (read-char-choice): Only show the cursor after the prompt,
12911 not after the answer.
12913 2011-03-15 Kevin Ryde <user42@zip.com.au>
12915 * help-fns.el (variable-at-point): Skip leading quotes, if any
12918 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12920 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12923 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12925 * shell.el (shell): When called interactively, offer to change the
12926 shell file name on remote hosts.
12928 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12930 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12931 integration for LDAP parameters. The host, base, user or binddn,
12932 and secret tokens can be specified in a netrc file, for instance.
12933 This is optional because an `auth-source' parameter must be
12934 specified in the search attributes.
12936 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12938 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12940 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12942 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12943 into declaration. Remove redundant and harmful binding.
12945 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12947 * files.el (file-ownership-preserved-p): Pass `integer' as an
12948 explicit 2nd argument to `file-attributes'. If the file's owner
12949 is the Administrators group on Windows, and the current user is
12950 Administrator, consider that a match.
12952 * server.el (server-ensure-safe-dir): Consider server directory
12953 safe on MS-Windows if its owner is the Administrators group while
12954 the current Emacs user is Administrator. Use `=' to compare
12955 numerical UIDs, since they could be integers or floats.
12957 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12959 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12961 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12963 Sync with Tramp 2.2.1.
12965 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12967 * net/trampver.el: Update release number.
12969 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12971 * progmodes/compile.el (compilation--previous-directory): Fix up
12972 various nil/dead-marker mismatches (bug#8014).
12973 (compilation-directory-properties, compilation-error-properties):
12974 Don't call it at a position past the one we're about to change.
12976 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12977 Disable obsolescence warnings in the file that declares it.
12979 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12981 * allout-widgets.el (allout-widgets-tally):
12982 Initialize allout-widgets-tally as a hash table rather than nil to
12983 prevent mode-line redisplay warnings. Also, clarify the module
12984 description and fix a comment typo.
12986 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12988 * help-fns.el (describe-variable): Don't complete keywords.
12989 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12991 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12993 * emacs-lisp/package.el (package-version-join): Impose a standard
12994 string representation for pre/alpha/beta version lists.
12995 (package-unpack-single): Standardize the directory name by passing
12996 it through package-version-join.
12997 (package-strip-rcs-id): Accept any version string that does not
12998 signal an error in version-to-list.
13000 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13002 * simple.el (delete-trailing-whitespace): Return nil for the
13003 benefit of `write-file-functions'.
13005 2011-03-10 Glenn Morris <rgm@gnu.org>
13007 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13009 * vc/vc-git.el (vc-git-program): New option.
13010 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13011 (vc-git--call): Use it.
13013 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13015 * cus-edit.el (Custom-newline): If no button at point, look
13016 for a subgroup button at start-of-line. (Bug#2298)
13018 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13020 2011-03-10 Julien Danjou <julien@danjou.info>
13022 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13023 `cursor-type' is nil.
13025 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13027 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13029 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13031 * allout.el: Change so yank of distinctive-bullet items
13032 preserves the existing header prefix, rebulleting it if necessary,
13033 rather than replacing it. This is necessary for proper operation
13034 of cooperative addons like allout-widgets.
13035 (allout-make-topic-prefix, allout-rebullet-heading):
13036 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13037 value as alternate bullet to be used, instead of prompting the user
13038 for a bullet character.
13040 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13043 Do not use `tramp-file-name-port', because this returns also
13044 `tramp-default-port'.
13046 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13048 * net/rcirc.el (rcirc-handler-001): Remove useless
13049 with-rcirc-process-buffer.
13050 (rcirc-check-auth-status): Swap arguments to string-match.
13052 2011-03-09 Glenn Morris <rgm@gnu.org>
13054 * shell.el (shell-mode):
13055 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13057 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13058 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13060 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13062 * emacs-lisp/package.el (package-refresh-contents)
13063 (package-menu-execute): Use condition-case-no-debug.
13065 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13067 * simple.el (shell-command-to-string): Use `process-file'.
13069 * emacs-lisp/package.el (package-tar-file-info): Handle also
13072 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13073 Use `equal' for upload base check.
13075 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13077 * textmodes/texinfo.el (texinfo-environments):
13078 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13080 2011-03-08 Glenn Morris <rgm@gnu.org>
13082 * cus-start.el (cursor-in-non-selected-windows):
13083 Fix :set quoting oddness. (Bug#8192)
13085 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13086 in some setf expressions. (Bug#2159)
13088 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13090 * custom.el (custom-available-themes): Return themes in
13091 alphabetical order.
13093 See ChangeLog.15 for earlier changes.
13095 ;; Local Variables:
13099 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13101 This file is part of GNU Emacs.
13103 GNU Emacs is free software: you can redistribute it and/or modify
13104 it under the terms of the GNU General Public License as published by
13105 the Free Software Foundation, either version 3 of the License, or
13106 (at your option) any later version.
13108 GNU Emacs is distributed in the hope that it will be useful,
13109 but WITHOUT ANY WARRANTY; without even the implied warranty of
13110 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13111 GNU General Public License for more details.
13113 You should have received a copy of the GNU General Public License
13114 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.