1 2012-05-02 Chong Yidong <cyd@gnu.org>
3 * allout.el (allout-exposure-change-functions)
4 (allout-structure-added-functions)
5 (allout-structure-deleted-functions)
6 (allout-structure-shifted-functions): Rename abnormal hooks from
7 *-hook, and convert to defcustoms.
8 (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
10 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12 * allout-widgets.el: Hook callers changed.
14 2012-05-02 Eli Zaretskii <eliz@gnu.org>
16 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
17 the yanked message in preference to the default value of
18 buffer-file-coding-system.
20 2012-05-02 Martin Rudalics <rudalics@gmx.at>
22 * window.el (display-buffer--action-function-custom-type): Fix
25 2012-05-02 Alan Mackenzie <acm@muc.de>
27 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
29 2012-05-01 Glenn Morris <rgm@gnu.org>
31 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
33 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
35 * cus-edit.el (custom-variable-documentation): Simplify with format.
37 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
38 Stefan Monnier <monnier@iro.umontreal.ca>
40 * simple.el (suggest-key-bindings, execute-extended-command):
43 2012-05-01 Chong Yidong <cyd@gnu.org>
45 * follow.el: Eliminate advice.
46 (set-process-filter, process-filter, sit-for): Advice deleted.
47 (follow-mode-off-hook): Obsolete hook removed.
48 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
50 (follow-auto): Use a :set function.
51 (follow-mode): Rewritten. Don't advise process filters.
52 (follow-switch-to-current-buffer-all, follow-scroll-up)
53 (follow-scroll-down): Assume follow-mode is bound.
54 (follow-comint-scroll-to-bottom)
55 (follow-align-compilation-windows): New functions.
56 (follow--window-sorter): New function.
57 (follow-all-followers): Use it to explicitly sort windows by their
58 positions; don't make assumptions about next-window order.
59 (follow-windows-start-end, follow-delete-other-windows-and-split)
60 (follow-calc-win-start): Doc fix.
61 (follow-windows-aligned-p, follow-select-if-visible): Don't call
62 vertical-motion unnecessarily.
63 (follow-adjust-window): New function.
64 (follow-post-command-hook): Use it.
65 (follow-call-set-process-filter, follow-call-process-filter)
66 (follow-intercept-process-output, follow-tidy-process-filter-alist)
67 (follow-stop-intercept-process-output, follow-generic-filter):
69 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
70 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
71 New functions, replacing advice on scroll-bar-* commands.
72 (follow-mwheel-scroll): New function (Bug#4112).
74 * comint.el (comint-adjust-point): New function.
75 (comint-postoutput-scroll-to-bottom): Use it.
76 Call follow-comint-scroll-to-bottom for Follow mode buffers.
78 2012-05-01 Glenn Morris <rgm@gnu.org>
80 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
81 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
82 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
83 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
84 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
85 Remove no-byte-compile setting.
87 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
89 * minibuffer.el (completion-table-with-quoting): Fix compatibility
90 all-completions code to not return a number in the last cdr.
92 2012-04-30 Leo Liu <sdl.web@gmail.com>
94 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
97 2012-04-29 Chong Yidong <cyd@gnu.org>
99 * follow.el (follow-calc-win-end): Rewrite to handle partial
100 screen lines correctly (Bug#8390).
101 (follow-avoid-tail-recenter): Minor cleanup.
103 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
105 Avoid the obsolete `assoc' package.
106 * speedbar.el (speedbar-refresh): Avoid adelete.
107 (speedbar-file-lists): Simplify and avoid aput.
108 * man.el (Man--sections, Man--refpages): New vars, replacing
109 Man-sections-alist and Man-refpages-alist.
110 (Man-build-section-alist, Man-build-references-alist):
111 Use them; avoid aput.
112 (Man--last-section, Man--last-refpage): New vars.
113 (Man-follow-manual-reference): Use them.
114 Use the `default' arg of completing-read.
115 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
117 2012-04-27 Chong Yidong <cyd@gnu.org>
119 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
121 * startup.el (x-apply-session-resources): New function.
123 * term/ns-win.el (ns-initialize-window-system):
124 * term/w32-win.el (w32-initialize-window-system):
125 * term/x-win.el (x-initialize-window-system): Use it to properly
126 set menu-bar-mode and other vars from X resources, even if the
127 initial frame is not a window-system frame (Bug#2299).
129 * subr.el (read-key): Avoid running filter function when setting
130 up temporary tool bar entries (Bug#9922).
132 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
134 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
137 2012-04-27 Chong Yidong <cyd@gnu.org>
139 * select.el (xselect--encode-string): New function, split from
140 xselect-convert-to-string.
141 (xselect-convert-to-string): Use it.
142 (xselect-convert-to-filename, xselect-convert-to-os)
143 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
144 returned strings are properly encoded (Bug#11315).
146 2012-04-27 Chong Yidong <cyd@gnu.org>
148 * simple.el (delete-active-region): Move to killing custom group.
150 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
152 * progmodes/which-func.el (which-func-current): Quote %
153 characters for mode-line processing.
155 2012-04-27 Chong Yidong <cyd@gnu.org>
157 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
158 reaching eob (Bug#11286).
160 2012-04-27 Eli Zaretskii <eliz@gnu.org>
162 * progmodes/gdb-mi.el (gdb-control-level): New variable.
163 (gdb): Make it buffer-local and init to zero.
164 (gdb-control-commands-regexp): New variable.
165 (gdb-send): Don't wrap in "-interpreter-exec console" if
166 gdb-control-level is positive. Increment gdb-control-level
167 whenever the command matches gdb-control-commands-regexp, and
168 decrement it each time the command is "end". (Bug#11279)
170 2012-04-27 Martin Rudalics <rudalics@gmx.at>
172 * window.el (adjust-window-trailing-edge, enlarge-window)
173 (shrink-window, window-resize):
174 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
177 2012-04-27 Chong Yidong <cyd@gnu.org>
179 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
180 fix "missing prefix" warning. All callers changed.
182 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
184 * emacs-lisp/assoc.el: Move to obsolete/.
186 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
188 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
190 * term/ns-win.el (ns-define-service):
191 * progmodes/pascal.el (pascal-goto-defun):
192 * progmodes/js.el (js--read-tab):
193 * progmodes/etags.el (tags-lazy-completion-table):
194 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
195 * emacs-lisp/ewoc.el (ewoc--wrap):
196 * emacs-lisp/assoc.el (aput, adelete, amake):
197 * doc-view.el (doc-view-convert-current-doc):
198 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
200 2012-04-26 Chong Yidong <cyd@gnu.org>
202 * image.el (image-type-from-buffer): Only return supported image
205 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
206 value, for symmetry with diff-end-of-hunk.
207 (diff-split-hunk, diff-find-source-location)
208 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
209 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
210 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
211 compute the relevant hunk or file properly (Bug#6005).
212 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
214 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
223 * vc/vc.el: Replace lexical-let by lexical-binding.
224 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
225 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
226 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
228 2012-04-26 Chong Yidong <cyd@gnu.org>
230 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
231 (diff-mode-shared-map): Bind it to / and [remap undo].
233 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
234 (ediff-window-setup-function): Use it as the default, to set up
235 windows based on whether the current frame is graphical (Bug#2138).
236 (ediff-choose-window-setup-function-automatically): Make obsolete.
238 * vc/ediff-init.el: Always define ediff-pixel-width/height.
240 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
242 * ffap.el: Remove old code for obsolete package.
243 (ffap-complete-as-file-p): Remove.
245 Use completion-table-with-quoting for comint and pcomplete.
246 * comint.el (comint--unquote&requote-argument)
247 (comint--unquote-argument, comint--requote-argument): New functions.
248 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
249 (comint-quote-filename): Use regexp-opt-charset.
250 (comint--common-suffix, comint--common-quoted-suffix)
251 (comint--table-subvert): Remove.
252 (comint-unquote-function, comint-requote-function): New vars.
253 (comint--complete-file-name-data): Use them with
254 completion-table-with-quoting.
255 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
256 * pcomplete.el (pcomplete-arg-quote-list)
257 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
258 (pcomplete-unquote-argument-function): Default to non-nil.
259 (pcomplete-unquote-argument): Simplify.
260 (pcomplete--common-quoted-suffix): Remove.
261 (pcomplete-requote-argument-function): New var.
262 (pcomplete--common-suffix): New function.
263 (pcomplete-completions-at-point): Use completion-table-with-quoting
264 and completion-table-subvert.
266 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
267 (minibuffer--double-dollars): Preserve properties.
268 (completion--sifn-requote): New function.
269 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
271 * minibuffer.el: Add support for completion of quoted/escaped data.
272 (completion-table-with-quoting, completion-table-subvert): New funs.
273 (completion--twq-try, completion--twq-all): New functions.
274 (completion--nth-completion): New function.
275 (completion-try-completion, completion-all-completions): Use it.
277 2012-04-25 Leo Liu <sdl.web@gmail.com>
279 * progmodes/python.el (python-pdbtrack-get-source-buffer):
280 Use compilation-message if available to find real filename.
282 2012-04-25 Chong Yidong <cyd@gnu.org>
284 * vc/diff-mode.el (diff-setup-whitespace): New function.
287 * vc/diff.el (diff-sentinel):
288 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
289 Whitespace mode variables based on diff style (Bug#8612).
291 2012-04-25 Leo Liu <sdl.web@gmail.com>
293 * progmodes/python.el (python-send-region): Add suffix .py to the
296 * files.el (auto-mode-alist): Use javascript-mode instead.
298 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
300 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
302 * soap-client.el (soap-resolve-references-for-sequence-type)
303 (soap-resolve-references-for-array-type): Hack to prevent self
304 references, see Bug#9.
305 (soap-parse-envelope): Report the contents of the 'detail' node
306 when receiving a fault reply.
307 (soap-parse-envelope): Report the contents of the entire 'detail' node.
309 * soap-inspect.el (soap-sample-value-for-simple-type)
310 (soap-inspect-simple-type): New function.
312 * soap-client.el (soap-simple-type): New struct.
313 (soap-default-xsd-types, soap-default-soapenc-types)
314 (soap-decode-basic-type, soap-encode-basic-type):
315 support unsignedInt and double basic types.
316 (soap-resolve-references-for-simple-type)
317 (soap-parse-simple-type, soap-encode-simple-type): New function.
318 (soap-parse-schema): Parse xsd:simpleType declarations.
320 * soap-client.el (soap-default-xsd-types)
321 (soap-default-soapenc-types): Add integer, byte and anyURI types.
322 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
323 the local name of "soapenc:Array".
324 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
325 decoding integer, byte and anyURI xsd types.
327 2012-04-25 Chong Yidong <cyd@gnu.org>
329 * cus-edit.el (custom-buffer-create-internal): Update header text.
331 2012-04-25 Eli Zaretskii <eliz@gnu.org>
333 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
334 settings on 'system-type', not on 'window-system'. On MS-Windows,
335 set interactive-mode on in GDB.
337 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
339 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
340 (ruby-syntax-propertize-regexp): Remove.
341 (ruby-syntax-propertize-function): Split regexp into chunks.
342 Match following code directly.
344 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
346 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
347 (ruby-syntax-propertize-regexp): New function.
348 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
349 by a special keyword.
351 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
352 (ruby-syntax-general-delimiters-goto-beg)
353 (ruby-syntax-propertize-general-delimiters): New functions.
354 (ruby-syntax-propertize-function): Use them to handle GDL.
355 (ruby-font-lock-keywords): Move old handling of GDL...
356 (ruby-font-lock-syntactic-keywords): .. to here.
357 (ruby-calculate-indent): Adjust indentation for GDL.
359 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
361 * notifications.el (top): Remove unneeded declarations.
362 (notifications-specification-version): Change to "1.2".
363 (notifications-interface, notifications-notify-method)
364 (notifications-close-notification-method): Fix docstring.
365 (notifications-get-capabilities-method): New defconst.
366 (notifications-notify): Add :action-items, :resident and
367 :transient hints. Change "image_data" to "image-data" and
368 "image_path" to "image-path".
369 (notifications-get-capabilities): New defun.
371 2012-04-24 Leo Liu <sdl.web@gmail.com>
373 * progmodes/python.el: Move hideshow setup to the end.
375 2012-04-24 Martin Rudalics <rudalics@gmx.at>
377 * window.el (handle-select-window): Clear echo area since this is
378 no more done by read_char (Bug#11304).
380 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
382 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
383 and `/ M' to filter-derived-mode.
384 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
385 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
386 (ibuffer-mark-by-mode): Use default rather than initial-input.
387 (ibuffer-filter-by-derived-mode): Autoload and require-match.
389 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
391 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
392 (ibuffer-filter-by-derived-mode): New filter.
393 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
395 2012-04-23 Andreas Politz <politza@fh-trier.de>
397 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
399 2012-04-23 Chong Yidong <cyd@gnu.org>
401 * cus-edit.el (customize-apropos, customize-apropos-options):
402 Disable matching of non-option variables (Bug#11176).
403 (customize-option, customize-option-other-window)
404 (customize-changed-options): Doc fix.
405 (customize-apropos-options, customize-apropos-faces)
406 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
408 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
409 Fix word list splitting (Bug#11132).
410 (apropos-symbol, apropos-keybinding, apropos-label)
411 (apropos-property, apropos-function-button)
412 (apropos-variable-button, apropos-misc-button): New faces.
413 (apropos-symbol-face, apropos-keybinding-face)
414 (apropos-label-face, apropos-property-face, apropos-match-face):
415 Variables removed (Bug#8396).
416 (apropos-library-button, apropos-format-plist, apropos-print)
417 (apropos-print-doc, apropos-describe-plist): Callers changed.
419 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
421 * net/xesam.el (xesam-mode-map): Use let-bound map in
422 initialization. (Bug#11292)
424 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
426 Preserve ispell session localwords when switching back to
429 * ispell.el (ispell-buffer-session-localwords): New buffer-local
430 variable to hold buffer session localwords.
431 (ispell-kill-ispell): add option 'clear to delete session
433 (ispell-command-loop, ispell-change-dictionary)
434 (ispell-buffer-local-words): Preserve session localwords when
437 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
438 Preserve session localwords when needed.
440 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
442 * ispell.el (ispell-insert-word) Remove unneeded function using
443 obsolete `translation-table-for-input'.
444 (ispell-word, ispell-process-line, ispell-complete-word):
445 Use plain `insert' instead of removed `ispell-insert-word'.
447 2012-04-22 Chong Yidong <cyd@gnu.org>
449 * cus-edit.el (custom-variable-menu)
450 (custom-variable-reset-saved, custom-face-menu)
451 (custom-face-reset-saved): If there is no saved value, make the
452 "reset-saved" operation bring back the default (Bug#9509).
453 (custom-face-state): Properly detect themed faces.
455 * faces.el (face-spec-set): Stop supporting deprecated form of
458 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
460 Move functions from C to Lisp. Make non-blocking method calls
461 the default. Implement further D-Bus standard interfaces.
463 * net/dbus.el (dbus-message-internal): Declare function.
464 Remove unneeded function declarations.
465 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
466 (dbus-message-type-method-return, dbus-message-type-error)
467 (dbus-message-type-signal): Declare variables. Remove local
469 (dbus-interface-dbus, dbus-interface-peer)
470 (dbus-interface-introspectable, dbus-interface-properties)
471 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
473 (dbus-interface-objectmanager): New defconst.
474 (dbus-call-method, dbus-call-method-asynchronously)
475 (dbus-send-signal, dbus-method-return-internal)
476 (dbus-method-error-internal, dbus-register-service)
477 (dbus-register-signal, dbus-register-method): New defuns, moved
479 (dbus-call-method-handler, dbus-setenv)
480 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
482 (dbus-call-method-non-blocking): Make it an obsolete function.
483 (dbus-unregister-object, dbus-unregister-service)
484 (dbus-handle-event, dbus-register-property)
485 (dbus-property-handler): Obey the new structure of
486 `bus-registered-objects'.
487 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
488 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
489 Use `dbus-call-method'.
491 2012-04-22 Chong Yidong <cyd@gnu.org>
493 * cus-edit.el (custom-commands, custom-reset-menu)
494 (Custom-reset-standard): Tweak labels.
495 (custom-reset-button-menu): Change default to t.
496 (custom-buffer-create-internal): For the custom-reset-button-menu
497 case, put the revert button first.
498 (custom-group-subtitle): New face.
499 (custom-group-value-create): Align docstring to a specific column.
501 * wid-edit.el (widget-documentation-link-add): Don't handle
502 indentation in this function.
503 (widget-documentation-string-indent-to): New function.
504 (widget-documentation-string-value-create): Use it.
506 * autorevert.el (auto-revert):
507 * epg-config.el (epg):
508 * ibuffer.el (ibuffer):
511 * eshell/eshell.el (eshell):
512 * net/ange-ftp.el (ange-ftp):
513 * progmodes/ebnf2ps.el (postscript):
514 * progmodes/flymake.el (flymake):
515 * progmodes/prolog.el (prolog):
516 * progmodes/verilog-mode.el (verilog-mode):
517 * progmodes/which-func.el (which-func):
518 * term/xterm.el (xterm):
519 * textmodes/picture.el (picture):
520 * textmodes/tildify.el (tildify):
521 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
522 customization buffers.
524 2012-04-22 Alan Mackenzie <acm@muc.de>
526 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
527 Adding a ) can hide the resulting (..) from searches. Fix it.
528 Bound the backward search to the position of the existing (.
530 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
532 * progmodes/verilog-mode.el (verilog-mode): Check whether
533 which-func-modes is t before adding verilog-mode.
534 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
536 2012-04-21 Leo Liu <sdl.web@gmail.com>
538 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
540 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
542 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
543 filling of the last column of a table (Bug#5635).
544 (woman-find-next-control-line): New arg, specifying an additional
545 regexp component for the control line.
546 (woman2-roff-buffer): Use it.
547 (woman-break-table): New function.
550 2012-04-21 Chong Yidong <cyd@gnu.org>
552 * woman.el (woman-set-buffer-display-table, woman-decode-region)
553 (woman-horizontal-escapes, woman-negative-vertical-space)
554 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
555 (WoMan-warn-ignored): Use ?\s instead of ?\ .
557 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
559 * minibuffer.el (completion-file-name-table): Complete user names.
561 2012-04-20 Leo Liu <sdl.web@gmail.com>
563 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
566 2012-04-20 Chong Yidong <cyd@gnu.org>
568 * server.el (server-execute): Respect initial-buffer-choice if it
569 is a string and there are no files to open (Bug#2825).
570 (server-create-window-system-frame, server-create-tty-frame):
571 Don't switch buffers here.
572 (server-process-filter): Only try to open a window system frame if
573 compiled with graphical support (Bug#8314).
575 2012-04-20 Dan Nicolaescu <dann@gnu.org>
577 * battery.el (battery-echo-area-format): Display remaining time
578 for sysfs backend too (Bug#11269).
579 (battery-linux-sysfs): Fix conditional for the charge.
581 2012-04-20 Chong Yidong <cyd@gnu.org>
583 * progmodes/gdb-mi.el (gdb): Revert previous change.
584 (gdb-inferior-io--init-proc): New function.
585 (gdb-init-1): Use it.
586 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
587 responsible for allocating a new pty and hooking it to gdb when
588 the old pty gets an EIO due to process exit.
589 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
590 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
591 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
593 2012-04-20 Eli Zaretskii <eliz@gnu.org>
595 * window.el (window-min-size, window-sizable, window-min-delta)
596 (window-max-delta, window--resizable, window-resizable)
597 (window-total-size, window-full-height-p, window-full-width-p)
598 (window-in-direction, window--resize-mini-window, window-resize)
599 (window--resize-child-windows-normal)
600 (window--resize-child-windows, window--resize-siblings)
601 (window--resize-this-window, adjust-window-trailing-edge)
602 (enlarge-window, shrink-window): Doc fixes.
604 2012-04-20 Chong Yidong <cyd@gnu.org>
606 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
607 New function to call delete-process on the gdb-inferior buffer's pty.
608 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
609 pty process (Bug#11273).
610 (gdb-update): New arg to suppress talking to the gdb process.
611 (gdb-done-or-error): Use it.
612 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
613 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
614 sentinel not being called.
616 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
618 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
620 2012-04-20 Glenn Morris <rgm@gnu.org>
622 * net/network-stream.el (open-network-stream): Doc fix.
624 2012-04-20 Chong Yidong <cyd@gnu.org>
626 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
628 2012-04-20 Alan Mackenzie <acm@muc.de>
630 Ensure searching for keywords is case sensitive.
632 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
633 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
634 (c-defun-name, c-mark-function, c-cpp-define-name)
635 (c-comment-indent, c-scan-conditionals, c-indent-defun)
636 (c-context-line-break): Bind case-fold-search to nil.
638 * progmodes/cc-mode.el (c-font-lock-fontify-region):
639 Bind case-fold-search to nil.
641 2012-04-20 Chong Yidong <cyd@gnu.org>
643 * mail/sendmail.el (mail-bury): Call return action with the right
644 Rmail buffer (Bug#11242).
646 * server.el (server-process-filter): Handle corner case where both
647 tty and nowait options are present (Bug#11102).
649 2012-04-20 Eli Zaretskii <eliz@gnu.org>
651 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
652 (top level): Put into the executable the ident-style '$Id:' tag on
655 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
657 * electric.el (electric-indent-post-self-insert-function): Check that
658 electric-indent-mode is enabled in current buffer.
660 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
662 * imenu.el (imenu-progress-message): Restore; it is "used" in
663 erc/erc-imenu.el and net/snmp-mode.el.
665 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
667 * avoid.el (mouse-avoidance-mode): Mark unused arg.
668 (mouse-avoidance-nudge-mouse): Remove unused binding.
670 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
672 * descr-text.el (describe-char):
673 * progmodes/python.el (python-describe-symbol):
674 Don't call `toggle-read-only', set `buffer-read-only'.
676 * imenu.el (imenu-default-goto-function): Mark unused args.
677 (imenu-progress-message): Remove obsolete macro; all callers changed.
679 * subr.el (keymap-canonicalize): Remove unused binding.
680 (read-passwd): Mark unused arg.
682 * tutorial.el (tutorial--display-changes): Remove unused binding.
683 (tutorial--save-tutorial-to): Remove unused variable.
685 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
686 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
687 (package-generate-autoloads, package-menu--generate)
688 (package-menu--find-upgrades): Remove unused bindings.
690 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
691 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
692 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
693 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
694 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
695 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
696 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
697 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
698 (cua-delete-char-rectangle): Mark unused args.
699 (cua-align-rectangle): Remove unused binding.
701 * mail/rmail.el (compilation--message->loc)
702 (epa--find-coding-system-for-mime-charset): Declare.
704 * net/dbus.el (dbus-register-service): Declare.
705 (dbus-name-owner-changed-handler): Remove unused binding.
707 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
708 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
709 (nxml-scan-backward-within): Mark unused arg.
710 (nxml-dynamic-markup-word): Remove unused binding.
712 * mouse.el (mouse-menu-major-mode-map):
713 * emacs-lisp/authors.el (authors-scan-change-log)
714 (authors-add-to-author-list):
715 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
716 * emacs-lisp/smie.el (smie-auto-fill):
717 * mail/sendmail.el (mail-bury):
718 * mail/unrmail.el (unrmail):
719 * net/tls.el (open-tls-stream):
720 * textmodes/picture.el (picture-mouse-set-point):
721 Remove unused bindings.
723 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
725 * net/tramp.el (tramp-action-password): Let-bind
726 `enable-recursive-minibuffers' to t.
728 2012-04-18 Sam Steingold <sds@gnu.org>
730 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
731 instead of 'string to accommodate values like [f11].
732 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
733 * progmodes/gdb-mi.el: Likewise.
735 2012-04-18 Leo Liu <sdl.web@gmail.com>
737 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
739 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
742 2012-04-18 Chong Yidong <cyd@gnu.org>
744 * simple.el (line-move): Use forward-line if in batch mode
747 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
749 * files.el (after-find-file): Do not try to add a final newline if
750 the buffer is read-only (Bug#11156).
752 2012-04-17 Richard Stallman <rms@gnu.org>
754 * mail/rmail.el (rmail-start-mail):
755 Pass (rmail-mail-return...) for the return-action.
756 Pass (rmail-yank-current-message...) for the yank-action.
757 (rmail-yank-current-message): New function.
758 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
759 (rmail-reply): Likewise.
760 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
762 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
763 buffer, not the last. Reject temp buffers. Use the rmail-mode
766 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
768 * server.el (server-ensure-safe-dir): Simplify.
770 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
772 * emacs-lisp/smie.el: Provide smarter auto-filling.
773 (smie-auto-fill): New function.
774 (smie-setup): Use it.
776 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
778 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
780 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
781 (comment-indent): Use it.
783 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
785 * ses.el: The overall change is to add cell renaming, that is
786 setting fancy names for cell symbols other than name matching
787 "\\`[A-Z]+[0-9]+\\'" regexp .
788 (ses-localvars): Add ses--renamed-cell-symb-list.
789 (ses-create-cell-variable): New defun.
790 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
791 (ses-relocate-formula): Relocate formulas only for cells the
792 symbols of which are not renamed, i.e. symbols whose names do not
793 match regexp "\\`[A-Z]+[0-9]+\\'".
794 (ses-relocate-all): Relocate values only for cells the symbols of
795 which are not renamed.
796 (ses-load): Create cells variables as the (ses-cell ...) are read,
797 in order to check row col consistency with cell symbol name only
798 for cells that are not renamed.
799 (ses-replace-name-in-formula): New defun.
800 (ses-rename-cell): New defun.
802 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
804 * progmodes/perl-mode.el (perl-indent-parens-as-block):
805 New option (bug#11118).
806 (perl-calculate-indent): Respect it.
808 2012-04-17 Glenn Morris <rgm@gnu.org>
810 * dired-aux.el (dired-mark-read-string): Doc fix.
812 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
814 * dired-aux.el (dired-mark-read-string): Offer optional completion.
815 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
817 2012-04-17 Glenn Morris <rgm@gnu.org>
819 * mouse.el (mouse-drag-track):
820 * speedbar.el (speedbar-frame-mode):
821 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
823 2012-04-16 Leo Liu <sdl.web@gmail.com>
825 * progmodes/python.el: Trivial cleanup.
827 2012-04-16 Glenn Morris <rgm@gnu.org>
829 * vc/vc.el (vc-string-prefix-p):
830 * vc/pcvs-util.el (cvs-string-prefix-p):
831 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
832 * mpc.el (mpc-string-prefix-p):
833 Make all of these into obsolete aliases for string-prefix-p.
835 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
837 * textmodes/two-column.el: Move custom options to the start.
838 (frame-width): Remove compat definition.
839 (2C-associate-buffer, 2C-dissociate):
840 Use with-current-buffer rather than save-excursion.
841 (2C-dissociate): Force a mode-line update.
842 (2C-autoscroll): Use ignore-errors.
844 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
847 * emacs-lisp/cl-extra.el (*random-state*):
848 Remove unnecessary declaration.
850 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
852 * play/cookie1.el (cookie-snarf):
853 Give an explicit error if input file cannot be read.
855 * play/yow.el (yow-file): Use expand-file-name rather than concat.
857 * progmodes/perl-mode.el (c-macro-expand):
858 Remove unnecessary autoload (it is in loaddefs.el).
860 * textmodes/picture.el (picture-desired-column)
861 (picture-update-desired-column): Convert comments to doc-strings.
862 (picture-substitute): Remove function.
863 (picture-mode-map): Initialize in the defvar.
865 * woman.el: Remove eval-after-load for tar-mode.
866 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
867 (woman-tar-extract-file): Autoload it.
869 * frame.el (automatic-hscrolling): Make this alias obsolete.
871 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
873 * ispell.el (ispell-set-spellchecker-params): Post-process
874 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
875 (ispell-dictionary-base-alist): Revert to original XEmacs
876 friendly version for default. [:alpha:] will be added in
877 `ispell-set-spellchecker-params' if needed
879 2012-04-16 Chong Yidong <cyd@gnu.org>
881 * image.el (imagemagick--extension-regexp): New variable.
882 (imagemagick-register-types): Use it.
883 (imagemagick-types-inhibit): Add :set function. Allow new value
884 of t to inhibit all types.
886 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
887 so we can preload it.
889 * loadup.el (fboundp): Preload regexp-opt, needed by
890 imagemagick-register-types.
892 2012-04-15 Chong Yidong <cyd@gnu.org>
894 * frame.el (scrolling): Remove nearly unused customization group.
896 * scroll-all.el (scroll-all-mode): Move to windows group.
898 2012-04-15 Chong Yidong <cyd@gnu.org>
900 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
902 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
904 Avoid the use of ((lambda ...) ...) in lexical-binding code.
905 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
907 2012-04-15 Glenn Morris <rgm@gnu.org>
909 * simple.el (process-file-side-effects): Doc fix.
911 2012-04-15 Glenn Morris <rgm@gnu.org>
913 * international/mule-cmds.el (set-language-environment): Doc fix.
915 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
917 * server.el (server-auth-key, server-generate-key): Doc fixes.
918 (server-get-auth-key): Doc fix. Use `string-match-p'.
919 (server-start): Reflow docstring.
921 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
923 * server.el (server-generate-key): `called-interactively-p'
924 requires a parameter.
926 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
928 * server.el (server-auth-key): New variable.
929 (server-generate-key, server-get-auth-key): New function.
930 (server-start): Use the new variable and functions to allow
931 setting a permanent server key (bug#9423).
933 2012-04-14 Leo Liu <sdl.web@gmail.com>
935 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
937 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
940 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
941 Emacs uses American spelling.
943 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
945 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
946 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
947 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
948 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
950 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
952 * progmodes/which-func.el (which-func-modes): Change default.
954 2012-04-14 Kim F. Storm <storm@cua.dk>
956 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
957 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
959 2012-04-14 Chong Yidong <cyd@gnu.org>
961 * custom.el (custom-theme-set-variables): Doc fix.
963 2012-04-14 Glenn Morris <rgm@gnu.org>
965 * international/mule.el (set-auto-coding-for-load): Doc fix.
967 2012-04-14 Alan Mackenzie <acm@muc.de>
969 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
970 imenu work again for Objective C Mode. Correct the *-index values,
971 these having been disturbed by a previous change in 2011-08.
973 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
974 Correct two search limits.
976 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
978 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
980 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
982 * international/characters.el: Fix sorting.
984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
986 * international/characters.el: Add more missing Latin case pairs.
988 2012-04-14 Glenn Morris <rgm@gnu.org>
990 * files.el (dir-locals-set-class-variables): Doc fix.
992 2012-04-14 Eli Zaretskii <eliz@gnu.org>
994 * international/characters.el: Add set-case-syntax-pair call for
995 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
996 counterpart. (Bug#11209)
998 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1000 2012-04-14 Glenn Morris <rgm@gnu.org>
1002 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1004 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1006 * textmodes/ispell.el (ispell-dictionary-base-alist):
1007 Add data for Hebrew.
1009 2012-04-14 Chong Yidong <cyd@gnu.org>
1011 * net/rcirc.el (rcirc-cmd-quit):
1012 Revert 2012-03-18 change (Bug#11192).
1014 2012-04-14 Glenn Morris <rgm@gnu.org>
1016 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1018 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1020 * minibuffer.el (completion-in-region-mode-map):
1021 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1023 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1025 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1027 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1029 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1030 to allow `C-M-f' and `C-M-b' to move to the nearest path
1031 separator (bug#9511).
1033 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1035 * avoid.el: Require cl when compiling. And also move the
1036 `provide' to the end.
1038 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1040 * avoid.el (mouse-avoidance-banish-position): New variable.
1041 (mouse-avoidance-banish-destination): Use it (bug#10165).
1043 2012-04-13 Leo Liu <sdl.web@gmail.com>
1045 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1047 2012-04-13 Ken Brown <kbrown@cornell.edu>
1049 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1050 this is no longer needed now that cygstart understands file:// URLs.
1051 (browse-url-filename-alist): For the same reason, don't modify
1052 file:// URLs on Cygwin.
1054 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1057 the region on shift if the binding is already shifted (bug#11221).
1059 2012-04-12 Glenn Morris <rgm@gnu.org>
1061 * mail/mailpost.el: Move to obsolete/.
1063 2012-04-12 Drew Adams <drew.adams@oracle.com>
1065 * imenu.el (imenu--generic-function): Ignore invisible definitions
1068 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1070 * hexl.el (hexl-bits): New variable.
1071 (hexl-options): Mention the variable in the doc string.
1072 (hexl-rulerise, hexl-line-displen): New functions.
1073 (hexl-mode): Mention the new variable.
1074 (hexl-mode, hexl-current-address, hexl-current-address):
1076 (hexl-ascii-start-column): New function.
1077 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1078 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1080 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1082 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1083 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1084 the encoding, as expected by hunspell.
1086 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1088 * battery.el (battery--linux-sysfs-regexp): New const.
1089 (battery-status-function): Use it. Remove yeeloong special case.
1090 (battery-yeeloong-sysfs): Remove.
1091 (battery-echo-area-format): Remove yeeloong special case.
1093 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1096 Reported by Noah Friedman.
1098 * subr.el (read-passwd): Use read-string.
1100 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1102 * vcursor.el (vcursor-move): Increase the priority of the overlay
1105 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1107 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1108 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1110 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1112 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1113 define-minor-mode (bug#10760).
1115 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1117 * progmodes/grep.el (rgrep): Tweak the find command line so
1118 that directories matching `grep-find-ignored-files' won't be
1121 2012-04-11 Chong Yidong <cyd@gnu.org>
1123 * startup.el (command-line): Remove support for long-obsolete
1124 variable font-lock-face-attributes.
1126 2012-04-11 Glenn Morris <rgm@gnu.org>
1128 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1130 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1132 * window.el (window--state-get-1): Obey window-point-insertion-type.
1134 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1136 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1137 to previous function when point is on the first character of a
1138 function. Take care of that in `narrow-to-defun' (bug#6157).
1140 2012-04-11 Glenn Morris <rgm@gnu.org>
1142 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1143 not just file-errors.
1145 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1146 (vc-bzr-sha1): Use internal sha1.
1148 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1150 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1152 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1154 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1155 that start in the middle of the line (bug#10496).
1157 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1159 * battery.el (battery-linux-proc-acpi): Only one battery is
1160 discharged at a time, but that seems to confuse battery.el when
1161 computing `rate-type' for the battery not being discharged
1164 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1166 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1168 * international/quail.el: Use dolist and simplify.
1169 (quail-define-package, quail-update-keyboard-layout)
1170 (quail-define-rules): Use dolist.
1171 (quail-insert-kbd-layout, quail-get-translation): CSE.
1173 * tmm.el: Use dolist, remove left over hook.
1174 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1176 (calendar-load-hook): Don't mess with it.
1178 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1179 Use derived-mode-p. Run the diff asynchronously.
1181 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1183 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1185 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1187 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1188 (list-dynamic-libraries--loaded): New function.
1189 (list-dynamic-libraries--refresh): Use it.
1191 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1193 * progmodes/python.el (python-fill-paragraph):
1194 Make python-fill-region in a multiline string work when font-lock is
1195 disabled (bug#7018).
1197 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1199 * language/european.el (cp775): Add oem/legacy (en)coding on
1200 DOS/MS Windows for the Baltic languages. There are still plenty
1201 of texts written in this encoding/codepage (bug#6519).
1203 2012-04-10 Glenn Morris <rgm@gnu.org>
1205 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1206 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1208 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1210 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1211 next-line "n" and previous-line "p" in order to make recentf more
1212 consistent with ibuffer, dired or org-mode (bug#9387).
1214 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1216 * image.el (put-image): Return the overlay created instead of the
1217 optional input string (bug#7834). Note that this may break code
1218 that is (for some reason or other) depending on `put-image'
1219 returning the string.
1221 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1223 * simple.el (zap-to-char): Allow zapping using input methods
1226 * textmodes/fill.el (fill-region): Leave point and mark where they
1227 were before filling (bug#5399).
1229 2012-04-09 Glenn Morris <rgm@gnu.org>
1231 * version.el (emacs-bzr-get-version):
1232 Handle lightweight checkouts of local branches.
1234 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1236 * international/characters.el: Recover lost case pairs. (Bug#11209)
1238 2012-04-09 Chong Yidong <cyd@gnu.org>
1240 * custom.el (custom-variable-p): Return nil for non-symbol
1241 arguments instead of signaling an error.
1242 (user-variable-p): Obsolete alias for custom-variable-p.
1244 * apropos.el (apropos-variable):
1245 * files-x.el (read-file-local-variable):
1246 * simple.el (set-variable):
1247 * woman.el (woman-mini-help):
1248 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1250 2012-04-09 Glenn Morris <rgm@gnu.org>
1252 * startup.el (normal-top-level): Don't look for leim-list.el
1253 in places where it will not be found. (Bug#910)
1255 * international/mule-cmds.el (set-default-coding-systems):
1256 * files.el (normal-mode):
1257 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1258 This function was removed with ucs-tables.el in 2008.
1260 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1262 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1263 ispell-encoding8-command to "-i", without a trailing space.
1264 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1265 separate command-line arguments, to specify the encoding, since
1266 that's how hunspell expects it.
1268 2012-04-08 Glenn Morris <rgm@gnu.org>
1270 * loadup.el: Load bindings before cus-start.
1271 This reduces somewhat the number of "rogue" settings in emacs -Q.
1273 2012-04-07 Glenn Morris <rgm@gnu.org>
1275 * version.el (emacs-bzr-get-version): New function.
1276 (emacs-bzr-version): New variable.
1277 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1278 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1280 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1282 * international/uni-bidi.el, international/uni-category.el:
1283 * international/uni-combining.el, international/uni-decimal.el:
1284 * international/uni-decomposition.el, international/uni-digit.el:
1285 * international/uni-lowercase.el, international/uni-mirrored.el:
1286 * international/uni-name.el, international/uni-numeric.el:
1287 * international/uni-titlecase.el, international/uni-uppercase.el:
1288 Update for Unicode 6.1.
1290 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1292 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1294 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1296 * window.el (shrink-window): Mention the `window-min-height'
1297 variable in the doc string.
1299 2012-04-05 Bastien Guerry <bzg@altern.org>
1301 * color.el (color-lighten-name): Fix typo.
1303 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * server.el (server--on-display-p): New function.
1306 (server--on-display-p): Use it.
1308 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1310 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1313 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * comint.el (comint--common-quoted-suffix): Check string boundary
1316 before comparing (bug#11158).
1317 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1319 2012-04-04 Chong Yidong <cyd@gnu.org>
1321 * minibuffer.el (completion-extra-properties): Doc fix.
1323 * subr.el (delayed-warnings-hook): Doc fix.
1325 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1327 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1328 selection (Bug#11159).
1329 (epa-insert-keys): Inform that the default public key will be
1330 exported if no key is selected.
1332 2012-04-04 Richard Stallman <rms@gnu.org>
1334 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1336 2012-04-03 Chong Yidong <cyd@gnu.org>
1338 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1339 mail-insert-file, not its obsolete alias mail-attach-file.
1341 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1343 * notifications.el (notifications-notify): Fix docstring.
1345 2012-04-02 Glenn Morris <rgm@gnu.org>
1347 * emacs-lisp/authors.el (authors-aliases): Another addition.
1349 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1351 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1352 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1353 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1355 2012-04-01 Chong Yidong <cyd@gnu.org>
1357 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1358 Handle root directory properly.
1359 (copy-directory): Caller changed.
1361 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1362 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1364 2012-03-31 Glenn Morris <rgm@gnu.org>
1366 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1368 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1370 * calendar/calendar.el (calendar-window-list)
1371 (calendar-hide-window): Restore. (Bug#11140)
1372 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1374 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1376 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1378 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1379 Check if file is a symlink (Bug#10489).
1381 * files.el (copy-directory): Likewise.
1383 2012-03-30 Chong Yidong <cyd@gnu.org>
1385 * image.el (imagemagick-types-inhibit)
1386 (imagemagick-register-types): Doc fix.
1388 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1390 * ispell.el (ispell-get-extended-character-mode):
1391 Disable extended-char-mode for hunspell. hunspell does not support it
1392 and treats ~word as ordinary words in pipe mode.
1394 2012-03-30 Glenn Morris <rgm@gnu.org>
1396 * tutorial.el (help-with-tutorial): Ensure local variables don't
1397 happen to make the buffer read-only. (Bug#11127)
1399 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1401 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1402 (perl-calculate-indent): Return `noindent' in strings.
1404 2012-03-28 Sam Steingold <sds@gnu.org>
1406 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1407 instead of the broken adhockery which does not prevent calendar
1408 buffers from being displayed at random after exit.
1409 (calendar-window-list, calendar-hide-window): Remove the broken
1412 2012-03-28 Glenn Morris <rgm@gnu.org>
1414 * replace.el (query-replace-map): Doc fix.
1416 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1418 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1419 contents. (Bug#11109)
1421 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1425 (avl-tree--check, avl-tree--check-node): New funs.
1427 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1429 * window.el (switch-to-visible-buffer): New option.
1430 (switch-to-prev-buffer, switch-to-next-buffer):
1431 Observe switch-to-visible-buffer. Make sure that checking for a window
1432 showing a buffer already is done on the same frame.
1434 2012-03-27 Glenn Morris <rgm@gnu.org>
1436 * startup.el (mail-host-address): Doc fix.
1438 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1440 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1443 2012-03-26 Ami Fischman <ami@fischman.org>
1445 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1447 2012-03-26 Glenn Morris <rgm@gnu.org>
1449 * files.el (save-buffers-kill-emacs): Doc fix.
1451 * startup.el (normal-top-level, command-line, command-line-1):
1452 Give them doc strings.
1454 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1456 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1457 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1459 2012-03-25 Chong Yidong <cyd@gnu.org>
1461 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1462 theme if it was previously enabled before (Bug#11031).
1464 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1465 spec with custom-face-get-current-spec if its :shown-value is not
1466 determined yet (Bug#9337).
1467 (customize-create-theme, custom-theme-revert): Doc fixes.
1469 * button.el (button-at): Minor addition to docstring.
1471 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1473 * vc/vc.el (vc-merge): Fix a prompt.
1475 2012-03-24 Chong Yidong <cyd@gnu.org>
1477 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1480 * button.el (button-at): Minor addition to docstring.
1482 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * newcomment.el (comment-choose-indent): No space after BOL.
1486 2012-03-22 Sam Steingold <sds@gnu.org>
1488 * window.el (switch-to-prev-buffer): Revert last patch because the
1489 bug turned out to be an advertised feature (Elisp manual 28.14).
1491 2012-03-22 Glenn Morris <rgm@gnu.org>
1493 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1494 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1496 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1498 * net/network-stream.el (network-stream-open-starttls): Make error
1499 message under Windows be less misleading.
1501 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1503 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1504 understands (bug#9942).
1506 2012-03-22 Chong Yidong <cyd@gnu.org>
1508 * simple.el (end-of-visible-line): Handle return value of
1509 next-single-property-change properly (Bug#9371).
1511 2012-03-22 Kenichi Handa <handa@m17n.org>
1513 * international/quail.el (quail-insert-kbd-layout): Fix previous
1514 change. To avoid unwanted bidi reordering, use
1515 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1517 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1519 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1520 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1521 (ruby-beginning-of-indent): Be more careful with the difference
1522 between word-boundary and symbol boundary.
1523 (ruby-mode-syntax-table): Make : a symbol constituent.
1525 2012-03-21 Andreas Politz <politza@fh-trier.de>
1527 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1529 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * progmodes/etags.el (tags-completion-at-point-function):
1534 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1536 2012-03-21 Sam Steingold <sds@gnu.org>
1538 * progmodes/etags.el (tags-completion-at-point-function):
1539 Avoid the error when point is inside the pattern.
1541 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1543 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1546 2012-03-21 Drew Adams <drew.adams@oracle.com>
1548 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1550 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1552 * ido.el (ido-set-current-directory, ido-read-internal)
1553 (ido-choose-completion-string, ido-completion-help): Handle nil
1554 value of ido-completion-buffer (Bug#11008).
1556 2012-03-21 Sam Steingold <sds@gnu.org>
1558 * window.el (switch-to-prev-buffer): Do not switch to a visible
1559 window previous buffer, just like with the frame previous buffers.
1561 2012-03-21 Chong Yidong <cyd@gnu.org>
1563 * faces.el (make-face, make-empty-face, copy-face):
1564 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1567 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1570 (widget-complete): Remove broken use of it.
1572 2012-03-20 Chong Yidong <cyd@gnu.org>
1574 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1575 Use string-width and truncate-string-width to handle arbitrary
1578 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1580 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1581 to draw rectangles, not squares. (Regression introduced by revno
1582 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1584 2012-03-18 Chong Yidong <cyd@gnu.org>
1586 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1587 it is not yet defined (for temacs).
1589 2012-03-18 Leo Liu <sdl.web@gmail.com>
1591 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1593 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1595 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1596 (ispell-choices-win-default-height, ispell-silently-savep)
1597 (ispell-dictionary-alist, ispell-encoding8-command)
1598 (ispell-check-version, ispell-aspell-find-dictionary)
1599 (ispell-valid-dictionary-list, ispell-words-keyword)
1600 (ispell-get-word, ispell-internal-change-dictionary)
1601 (ispell-region, ispell-skip-region-list)
1602 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1603 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1604 (ispell-message-text-end, ispell-message)
1605 (ispell-buffer-local-parsing): Doc fix.
1607 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1609 * htmlfontify.el: Add support for code block fontification for ODT
1611 (hfy-optimisations): Define new option
1613 (hfy-fontify-buffer): Honor above setting.
1614 (hfy-begin-span, hfy-end-span): New routines factored out form
1615 `hfy-fontify-buffer'.
1616 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1617 that permit insertion of custom tags.
1618 (hfy-fontify-buffer): Use above handlers.
1619 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1620 (hfy-face-to-css): Re-defined to be a variable.
1621 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1622 over multiple runs. This is made possible by having the caller let
1623 bind a special variable `hfy-user-sheet-assoc'.
1624 (htmlfontify-string): New defun.
1625 (hfy-compile-face-map): Make sure that the last char in the
1626 buffer is correctly fontified.
1627 (hfy-face-resolve-face): Whitespace only change.
1629 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1631 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1634 2012-03-16 Leo Liu <sdl.web@gmail.com>
1636 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1638 2012-03-16 Alan Mackenzie <acm@muc.de>
1640 Further optimise the handling of large macros.
1642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1643 limit to a call of `c-literal-limits'.
1644 (c-determine-+ve-limit): New function.
1645 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1646 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1647 In CASE 5B, restrict a search limit to 500.
1648 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1650 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1651 Restrict macro bounds to +-500 from after-change's BEG END.
1653 2012-03-16 Leo Liu <sdl.web@gmail.com>
1655 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1657 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1659 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1660 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1662 2012-03-16 Glenn Morris <rgm@gnu.org>
1664 * view.el (view-buffer, view-buffer-other-window)
1665 (view-buffer-other-frame): Doc fixes re special mode-class.
1667 * subr.el (eval-after-load): If named feature is provided not from
1668 a file, run after-load forms. (Bug#10946)
1670 * calendar/calendar.el (calendar-insert-at-column):
1671 Handle non-unit-width characters a bit better. (Bug#10978)
1673 2012-03-15 Chong Yidong <cyd@gnu.org>
1675 * emacs-lisp/ring.el (ring-extend): New function.
1676 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1678 * comint.el (comint-read-input-ring)
1679 (comint-add-to-input-history): Grow comint-input-ring lazily.
1681 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1684 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1686 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1687 (imenu-add-to-menubar): Don't add a redundant index.
1688 (imenu-update-menubar): Handle a dynamically composed keymap.
1690 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1692 * mail/sendmail.el (mail-encode-header):
1693 Bind rfc2047-encode-encoded-words to nil.
1695 2012-03-13 Glenn Morris <rgm@gnu.org>
1697 * calendar/calendar.el (calendar-string-spread):
1698 Handle non-unit-width characters a bit better. (Bug#10978)
1700 2012-03-13 Leo Liu <sdl.web@gmail.com>
1702 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1703 directory and file as argument (Bug#10822).
1705 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1707 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1708 For dynamically generated code, follow $PC.
1709 (gdb-disassembly-handler-custom): Handle no function name case.
1711 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1713 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1714 * emulation/ws-mode.el (ws-query-replace):
1715 * sort.el (sort-regexp-fields):
1716 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1718 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * dabbrev.el: Fix cycle completion order (bug#10963).
1721 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1722 (dabbrev-completion): Don't use an obarray; provide
1723 a cycle-sort-function.
1725 2012-03-12 Leo Liu <sdl.web@gmail.com>
1727 * simple.el (kill-new): Use equal-including-properties for comparison.
1728 (kill-do-not-save-duplicates): Doc fix.
1730 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * dabbrev.el: Fix cycle completion (bug#10963).
1733 Use lexical binding and wrap to 80 columns.
1734 (dabbrev-completion): Delay computing the list of completions.
1736 2012-03-12 Kenichi Handa <handa@m17n.org>
1738 * international/quail.el (quail-insert-kbd-layout): Surround each
1739 row by LRO and PDF instead of inserting many LRMs. Pad the left
1740 and right of each non-spacing marks. Insert invisible space
1741 between lower and upper characters to prevent composition.
1743 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * minibuffer.el (minibuffer-complete): Don't get confused when the
1746 function is run twice via different commands (bug#10958).
1747 (complete-with-action): Fix docstring.
1749 2012-03-12 Chong Yidong <cyd@gnu.org>
1751 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1752 (nxml-completion-at-point-function): New function.
1753 (nxml-mode): Use it.
1754 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1756 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1757 Load generated autoloads file before byte compiling (Bug#10970).
1758 (package--make-autoloads-and-compile): New helper fun.
1760 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1762 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1764 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1766 * autorevert.el (auto-revert-handler): Ensure, that
1767 file-readable-p is applied only for local files or in
1768 auto-revert-tail-mode.
1770 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1772 * server.el (server-eval-at): Handle non-tcp connections.
1773 Decode result string.
1775 * server.el (server-msg-size): New constant.
1776 (server-reply-print): New function.
1777 (server-eval-and-print): Use it.
1778 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1781 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1783 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1786 2012-03-11 Chong Yidong <cyd@gnu.org>
1788 * simple.el (goto-line): Doc fix (Bug#9938).
1790 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1792 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1793 when finished (Bug#10963).
1795 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1797 * window.el (split-window-below): Fix bug in case where
1798 split-window-keep-point is nil (Bug#10971).
1800 2012-03-11 Juri Linkov <juri@jurta.org>
1802 * replace.el (replace-highlight): Set isearch-word to nil
1803 unconditionally. (Bug#10887)
1805 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1807 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1808 mairix-replace-illegal-chars; all callers changed. Don't remove
1809 ^, ~, and = characters: they are meaningful in mairix search specs.
1810 (mairix-widget-create-query): Add usage information about mairix
1811 search forms: negating words, searching for substrings, etc.
1813 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1815 * international/fontset.el (font-encoding-alist): Add an entry for
1818 2012-03-10 Richard Stallman <rms@gnu.org>
1820 * mail/sendmail.el (mail-encode-header):
1821 Set rfc2047-encode-encoded-words.
1823 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1825 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1826 view buffer means not swapped.
1827 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1828 (rmail-write-region-annotate): Error if real text has disappeared.
1830 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1832 2012-03-10 Chong Yidong <cyd@gnu.org>
1834 * emulation/cua-rect.el (cua--init-rectangles):
1835 * emulation/cua-base.el (cua--init-keymaps):
1836 Add delete-forward-char to remappings (Bug#9666).
1838 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1840 * speedbar.el (speedbar-unhighlight-one-tag-line):
1841 Avoid unhighlighting due to frame switching (Bug#10275).
1843 2012-03-10 Chong Yidong <cyd@gnu.org>
1845 * minibuffer.el (completion-in-region, completion-help-at-point):
1846 Give the completion field overlay a high priority (Bug#6830).
1848 * dired.el (dired-goto-file): Recognize absolute file name
1849 listings (Bug#7126).
1850 (dired-goto-file-1): New helper function.
1851 (dired-toggle-read-only): Inhibit warnings.
1853 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1855 * net/dbus.el (dbus-property-handler): Return empty array if
1856 there are no properties.
1858 2012-03-09 Leo Liu <sdl.web@gmail.com>
1860 * savehist.el (savehist-printable): Stricter check for string
1863 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1865 * mail/smtpmail.el (smtpmail-send-it):
1866 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1869 2012-03-09 Glenn Morris <rgm@gnu.org>
1871 * files.el (dir-locals-find-file):
1872 Don't check result is regular, readable.
1873 (dir-locals-read-from-file): Demote errors.
1875 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1877 * international/quail.el (quail-insert-kbd-layout):
1878 Insert invisible LRM characters before each character in a keyboard
1879 layout cell, to prevent their reordering by bidi display engine.
1880 For details, see the discussion in
1881 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1883 2012-03-08 Alan Mackenzie <acm@muc.de>
1885 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1886 the starting position; make it extend the marked region when
1887 invoked repeatedly - all under appropriate circumstances.
1888 Fixes bugs #5525, #10906.
1890 2012-03-08 Glenn Morris <rgm@gnu.org>
1892 * files.el (locate-dominating-file, dir-locals-find-file):
1893 Undo 2012-03-06 change.
1895 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1897 * international/quail.el (quail-help):
1898 Force bidi-paragraph-direction be left-to-right. See discussion in
1899 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1902 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1904 Avoid superfluous registering of signals. (Bug#10807)
1906 * notifications.el (notifications-on-action-object)
1907 (notifications-on-close-object): New defvars.
1908 (notifications-on-action-signal, notifications-on-closed-signal):
1909 Unregister the signal if not needed any longer.
1910 (notifications-notify): Register `notifications-action-signal' or
1911 `notifications-closed-signal', if :on-action or :on-close has been
1914 2012-03-07 Chong Yidong <cyd@gnu.org>
1916 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1919 2012-03-06 Glenn Morris <rgm@gnu.org>
1921 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1922 (x-disown-selection-internal, x-get-selection-internal):
1923 Doc fix (add arglist signatures). (Bug#10783)
1925 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1927 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1928 Handle breakpoints with no "type".
1930 2012-03-06 Glenn Morris <rgm@gnu.org>
1932 * files.el (locate-dominating-file): Add optional predicate argument.
1933 (dir-locals-find-file): Make use of above change.
1935 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1937 * info.el (Info-insert-dir): Also try "dir.gz".
1939 2012-03-06 Glenn Morris <rgm@gnu.org>
1941 * files.el (dir-locals-find-file):
1942 Ignore non-readable or non-regular files. (Bug#10928)
1944 * files.el (locate-dominating-file): Doc fix.
1946 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1948 * calendar/calendar.el (calendar-set-mode-line):
1949 `getenv' returns a string. (Bug#10951)
1951 2012-03-05 Leo Liu <sdl.web@gmail.com>
1953 * simple.el (backward-delete-char-untabify): Constrain point to
1956 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1958 2012-03-05 Chong Yidong <cyd@gnu.org>
1960 * simple.el (count-words): If called from Lisp, return the word
1961 count, for symmetry with `count-lines'. Arglist changed.
1962 (count-words--message): Args changed. Consolidate counting code
1963 from count-words and count-words-region.
1964 (count-words-region): Caller changed.
1965 (count-lines-region): Make it an obsolete alias.
1967 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1969 * saveplace.el (save-place-to-alist)
1970 (save-place-ignore-files-regexp): Allow value nil to disable this
1973 2012-03-04 Chong Yidong <cyd@gnu.org>
1975 * faces.el (face-spec-reset-face): For the default face, reset the
1976 attributes to default values (Bug#10748).
1978 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1980 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1981 previous patch: Check `message-send-mail-function', and not the
1982 default function (bug#10897).
1984 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1986 * notifications.el (notifications-on-action-signal)
1987 (notifications-on-closed-signal): Check for unique service name of
1988 incoming event. Fix error in removing entry.
1989 (top): Register for signals with wildcard service name.
1990 (notifications-notify): Use daemon unique service name for map entries.
1992 2012-03-04 Chong Yidong <cyd@gnu.org>
1994 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1996 2012-03-04 Glenn Morris <rgm@gnu.org>
1998 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1999 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2000 (expand-abbrev, define-abbrev-table): Doc fixes.
2002 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2004 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2005 `message-default-send-mail-function' and not `send-mail-function'
2006 when doing the prompting for `sendmail-query-once' before sending
2007 in Message buffers (bug#10897).
2009 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2010 This is inconsistent with all the other stream functions, which leave
2011 the setting up to the higher levels (if so wanted) (bug#10931).
2013 2012-03-02 Alan Mackenzie <acm@muc.de>
2015 Depessimize the handling of very large macros.
2017 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2018 (c-macro-cache-syntactic): New variables to implement a one
2019 element macro cache.
2020 (c-invalidate-macro-cache): New function.
2021 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2022 Adapt to use the new cache.
2023 (c-state-safe-place): Use better the cache of safe positions.
2024 (c-state-semi-nonlit-pos-cache)
2025 (c-state-semi-nonlit-pos-cache-limit):
2026 New variables for...
2027 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2028 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2029 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2030 Use c-state-semi-safe-place.
2032 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2033 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2035 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2037 * jka-compr.el (jka-compr-call-process):
2038 Apply `file-accessible-directory-p' only when the default directory is
2041 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2043 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2044 access of FILE2, if FILE1 does not exist.
2046 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2047 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2049 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2050 Add "PAGER=" to `process-environment'.
2052 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2054 * progmodes/sql.el: Bug fix
2055 (sql-get-login-ext): Save login values in globals.
2056 (sql-get-login): Use new version of `sql-get-login-ext'.
2057 (sql-interactive-mode): Set global `sql-connection' to nil.
2058 (sql-connect): Set global values for connection.
2059 (sql-product-interactive): Save global values as buffer local.
2061 2012-02-29 Leo Liu <sdl.web@gmail.com>
2063 * abbrev.el (define-abbrevs): Reset sys to nil.
2065 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2067 * files.el (file-equal-p): Rename from `files-equal-p'.
2068 Return nil when one or both files don't exist.
2069 (file-subdir-of-p): Now only top directory must exists,
2070 return nil if it doesn't.
2071 (copy-directory): No need to test with `file-subdir-of-p' after
2073 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2076 2012-02-28 Glenn Morris <rgm@gnu.org>
2078 * shell.el (shell-mode):
2079 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2080 * play/landmark.el (landmark-font-lock-face-O):
2081 * play/handwrite.el (handwrite):
2082 * play/gomoku.el (gomoku-O):
2083 * net/browse-url.el (browse-url-browser-display):
2084 * international/mule.el (define-charset):
2085 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2086 * filesets.el (filesets-find-file-delay):
2087 * eshell/em-xtra.el (eshell-xtra):
2088 * eshell/em-unix.el (eshell-grep):
2089 * emulation/viper.el (viper-mode):
2090 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2091 * emacs-lisp/easymenu.el (easy-menu-define):
2092 * calendar/timeclock.el (timeclock-use-display-time):
2094 * bookmark.el (bookmark-save-flag):
2095 Doc fix (standardize possessive apostrophe usage).
2097 2012-02-27 Chong Yidong <cyd@gnu.org>
2099 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2100 Fix key-binding lookup for ESC key (Bug#9146).
2102 * font-lock.el (font-lock-specified-p): Rename from
2103 font-lock-spec-present. Callers changed.
2105 2012-02-27 Daniel Hackney <dan@haxney.org>
2107 * emacs-lisp/package.el (package-compute-transaction):
2108 Handle holding a package version to t in package-load-list.
2110 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2112 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2113 (tramp-get-inode, tramp-get-device): Use cached values.
2115 2012-02-26 Alan Mackenzie <acm@muc.de>
2117 Check there is a font-lock specification before doing initial
2120 * font-core.el (font-lock-mode): Move the conditional from
2121 :after-hook to font-lock-initial-fontify.
2122 (font-lock-default-function): Move the check for a specification
2123 to font-lock-spec-present.
2125 * font-lock.el (font-lock-initial-fontify): Call ...
2126 (font-lock-spec-present): New function.
2128 2012-02-26 Jim Blandy <jimb@red-bean.com>
2130 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2131 (gdb-send): Apply it to the operand of the '-interpreter-exec
2132 console' command, so that we can pass arguments with (say) quotes
2133 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2135 2012-02-26 Chong Yidong <cyd@gnu.org>
2137 * help-fns.el (describe-function-1): Clarify description of
2138 remapping (Bug#10844).
2140 * files.el (files-equal-p): Doc fix.
2141 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2142 and quit the loop once a mismatch is found.
2144 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2146 * bs.el (bs--show-with-configuration): Don't throw an error
2147 if the window cannot be split; otherwise, subsequent calls to
2148 bs-show fail, restoring a stale window config. (Bug#10882)
2150 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2152 * term/ns-win.el (global-map): Bind ns-drag-file to
2153 ns-find-file (Bug#5855, Bug#10050).
2155 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2157 * calendar/parse-time.el (parse-time-string): Allow extractor to
2160 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2162 * net/tramp.el (tramp-file-name-for-operation):
2163 Add `files-equal-p' and `file-subdir-of-p'.
2165 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2166 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2167 Add COPY-CONTENTS argument.
2169 2012-02-25 Chong Yidong <cyd@gnu.org>
2171 Add custom groups for VC backends, for consistency with vc-bzr.
2173 * vc/vc-arch.el (vc-arch):
2174 * vc/vc-cvs.el (vc-cvs):
2175 * vc/vc-git.el (vc-git):
2176 * vc/vc-hg.el (vc-hg):
2177 * vc/vc-mtn.el (vc-mtn):
2178 * vc/vc-rcs.el (vc-rcs):
2179 * vc/vc-sccs.el (vc-sccs):
2180 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2181 All relevant defcustoms reassigned.
2183 2012-02-25 Chong Yidong <cyd@gnu.org>
2185 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2187 * term/x-win.el (x-initialize-window-system): Reduce default for
2188 x-selection-timeout to 5 seconds (Bug#8869).
2190 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2192 * files.el (files-equal-p, file-subdir-of-p): New functions.
2193 (copy-directory): Error when trying to copy a directory on itself.
2194 Add missing copy-contents arg to tramp handler.
2195 * dired-aux.el (dired-copy-file-recursive): Same.
2196 (dired-create-files): Modify destination when source is equal to
2197 dest when copying files.
2198 Return also when dest is a subdir of source. (Bug#10489)
2200 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2202 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2205 2012-02-23 Alan Mackenzie <acm@muc.de>
2207 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2208 parameter "after-hook:" to allow the expansion to run code after
2209 the execution of the mode hooks.
2211 * font-lock.el (font-lock-initial-fontify): New function extracted
2212 from font-lock-mode-internal.
2214 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2217 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2220 (completion--cache-all-sorted-completions): New function.
2221 (completion-all-sorted-completions): Use it.
2222 (completion--do-completion, minibuffer-force-complete):
2223 Use it to re-instate the flush hook.
2225 * icomplete.el (icomplete-completions): Replace last fix with a better
2228 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2230 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2231 when it might call us back infinitely (bug#10797).
2233 2012-02-23 Glenn Morris <rgm@gnu.org>
2235 * minibuffer.el (completion-category-overrides): Doc fix.
2237 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2240 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2242 2012-02-23 Glenn Morris <rgm@gnu.org>
2244 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2245 (authors-obsolete-files-regexps, authors-ignored-files)
2246 (authors-ambiguous-files, authors-renamed-files-alist):
2249 2012-02-23 Juri Linkov <juri@jurta.org>
2251 * isearch.el (isearch-occur): Sync interactive spec with occur's
2252 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2254 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2256 2012-02-22 Juri Linkov <juri@jurta.org>
2258 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2259 (ucs-insert): Doc fix. Check for hex digits in the string.
2260 Don't display `nil' in the error message. (Bug#10857)
2262 2012-02-22 Alan Mackenzie <acm@muc.de>
2264 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2266 2012-02-22 Glenn Morris <rgm@gnu.org>
2268 * ffap.el (ffap-c-path):
2269 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2271 2012-02-22 Chong Yidong <cyd@gnu.org>
2273 * custom.el (load-theme): Doc fix.
2275 2012-02-22 Glenn Morris <rgm@gnu.org>
2277 * dired-x.el (dired-guess-shell-alist-default):
2278 Remove escape sequences from nroff output. (Bug#172)
2280 2012-02-21 Glenn Morris <rgm@gnu.org>
2282 * vc/emerge.el (emerge-defvar-local):
2283 Set `permanent-local' property rather than unused `preserved'.
2285 * textmodes/picture.el (picture-delete-char): New alias.
2286 (picture-mode-map): Use it. (Bug#10860)
2287 (picture-mode): Doc fix.
2289 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2291 * newcomment.el (uncomment-region-default): Remove unused binding.
2293 2012-02-21 Glenn Morris <rgm@gnu.org>
2295 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2296 (picture-self-insert, picture-tab-chars): Doc fix.
2297 (picture-mode-map): Fix C-a, C-e.
2299 2012-02-20 Glenn Morris <rgm@gnu.org>
2301 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2303 2012-02-20 Leo Liu <sdl.web@gmail.com>
2305 * icomplete.el (icomplete-completions): Check FROM arg before
2306 passing to substring (Bug#10850).
2308 2012-02-19 Chong Yidong <cyd@gnu.org>
2310 * comint.el: Require ansi-color.
2311 (comint-output-filter-functions): Add ansi-color-process-output.
2313 * ansi-color.el: Don't set comint-output-filter-functions; it is
2314 now in the initial value defined in comint.el.
2315 (ansi-color-apply-face-function): New variable.
2316 (ansi-color-apply-on-region): Use it.
2317 (ansi-color-apply-overlay-face): New function.
2319 * shell.el (shell): No need to require ansi-color.
2320 (shell-mode): Use ansi-color-apply-face-function to highlight
2321 color escapes using font-lock-face property (Bug#10835).
2323 2012-02-19 Chong Yidong <cyd@gnu.org>
2325 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2326 mode-line formats (Bug#10839).
2328 2012-02-18 Glenn Morris <rgm@gnu.org>
2330 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2332 * mail/undigest.el (unforward-rmail-message): Doc fix.
2334 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2336 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2338 * international/characters.el (script-list): Sync with the latest
2339 Unicode Character Database.
2341 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2343 * international/titdic-cnv.el: Remove duplicate coding tag.
2344 * language/cham.el: Likewise.
2345 * language/tai-viet.el: Likewise.
2347 2012-02-18 Glenn Morris <rgm@gnu.org>
2349 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2350 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2351 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2352 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2353 * calendar/holidays.el (holiday-bahai-holidays)
2354 (calendar-holidays, list-holidays):
2355 Use utf-8 Bahá'í in doc-strings, menus, etc.
2357 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2359 * saveplace.el (save-place-ignore-files-regexp): New variable
2360 allowing for excluding files from saving their location of point.
2361 The default value matches the temporary commit message editing
2362 files from Git, SVN, Bazaar, and Mercurial.
2363 (save-place-to-alist): Use it.
2365 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2366 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * newcomment.el (uncomment-region-default): Don't leave extra space
2369 when an arg is provided (bug#8150).
2371 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2373 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2375 2012-02-17 Glenn Morris <rgm@gnu.org>
2377 * net/socks.el: Require network-stream. (Bug#10599)
2379 2012-02-17 Kenichi Handa <handa@m17n.org>
2381 * international/charprop.el:
2382 * international/uni-name.el:
2383 * international/uni-old-name.el:
2384 * international/uni-comment.el: Regenerate.
2386 2012-02-16 Glenn Morris <rgm@gnu.org>
2388 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2389 Interactively in calendar buffer, give an error if not on a date.
2391 2012-02-15 Glenn Morris <rgm@gnu.org>
2393 * shell.el (shell-delimiter-argument-list):
2394 Revert 2011-02-17 change. (Bug#8027)
2396 2012-02-15 Chong Yidong <cyd@gnu.org>
2398 * minibuffer.el (completion-at-point-functions): Doc fix.
2400 * custom.el (defcustom): Doc fix; note use of defvar.
2402 2012-02-15 Glenn Morris <rgm@gnu.org>
2404 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2407 2012-02-14 Glenn Morris <rgm@gnu.org>
2409 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2411 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2413 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2414 way the ports list is computed.
2415 (smtpmail-query-smtp-server): Prompt the user for a port number if
2416 we can't connect to any of the standard ports (bug#10810).
2418 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2420 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2422 2012-02-13 Glenn Morris <rgm@gnu.org>
2424 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2426 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2428 * net/gnutls.el (gnutls-trustfiles): New variable.
2429 (gnutls-negotiate): Use it.
2431 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2433 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2434 does its stuff if Gnus is running.
2436 2012-02-13 Alan Mackenzie <acm@muc.de>
2438 Fix a loop in c-set-fl-decl-start.
2440 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2441 c-backward-syntactic-ws actually moves backwards.
2443 2012-02-13 Leo Liu <sdl.web@gmail.com>
2445 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2446 beginning so that all \C-o chars are removed.
2448 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2450 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2452 2012-02-12 Alan Mackenzie <acm@muc.de>
2454 Fix infinite loop with long macros.
2455 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2457 2012-02-12 Chong Yidong <cyd@gnu.org>
2459 * window.el (display-buffer): Doc fix (Bug#10785).
2461 2012-02-12 Glenn Morris <rgm@gnu.org>
2463 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2464 (x-disown-selection-internal, x-get-selection-internal):
2465 Sync docs with the xselect.c versions.
2467 * allout-widgets.el: Add missing license notice.
2469 2012-02-11 Glenn Morris <rgm@gnu.org>
2471 * select.el (x-get-selection-internal, x-own-selection-internal)
2472 (x-disown-selection-internal):
2473 * x-dnd.el (x-get-selection-internal): Update declarations.
2475 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2477 * window.el (window-sides-slots):
2478 * tool-bar.el (tool-bar-position):
2479 * term/xterm.el (xterm-extra-capabilities):
2480 * ses.el (ses-self-reference-early-detection):
2481 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2482 (verilog-auto-wire-type)
2483 (verilog-auto-delete-trailing-whitespace)
2484 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2485 (verilog-auto-tieoff-declaration):
2486 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2487 (sql-oracle-statement-starters, sql-oracle-scan-on):
2488 * progmodes/prolog.el (prolog-align-comments-flag)
2489 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2490 (prolog-left-indent-regexp, prolog-paren-indent-p)
2491 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2492 (prolog-types, prolog-mode-specificators)
2493 (prolog-determinism-specificators, prolog-directives)
2494 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2495 (prolog-electric-dot-flag)
2496 (prolog-electric-dot-full-predicate-template)
2497 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2498 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2499 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2500 (prolog-program-switches, prolog-prompt-regexp)
2501 (prolog-debug-on-string, prolog-debug-off-string)
2502 (prolog-trace-on-string, prolog-trace-off-string)
2503 (prolog-zip-on-string, prolog-zip-off-string)
2504 (prolog-use-standard-consult-compile-method-flag)
2505 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2506 (prolog-imenu-max-lines, prolog-info-predicate-index)
2507 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2508 (prolog-char-quote-workaround):
2509 * progmodes/cc-vars.el (c-defun-tactic):
2510 * net/tramp.el (tramp-encoding-command-interactive)
2511 (tramp-local-end-of-line):
2512 * net/soap-client.el (soap-client):
2513 * net/netrc.el (netrc-file):
2514 * net/gnutls.el (gnutls):
2515 * minibuffer.el (completion-category-overrides)
2516 (completion-cycle-threshold)
2517 (completion-pcm-complete-word-inserts-delimiters):
2518 * man.el (Man-name-local-regexp):
2519 * mail/feedmail.el (feedmail-display-full-frame):
2520 * international/characters.el (glyphless-char-display-control):
2521 * eshell/em-ls.el (eshell-ls-date-format):
2522 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2523 (lisp-lambda-list-keyword-parameter-indentation)
2524 (lisp-lambda-list-keyword-parameter-alignment):
2525 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2526 * dired-x.el (dired-omit-verbose):
2527 * cus-theme.el (custom-theme-allow-multiple-selections):
2528 * calc/calc.el (calc-highlight-selections-with-faces)
2529 (calc-lu-field-reference, calc-lu-power-reference)
2530 (calc-note-threshold):
2531 * battery.el (battery-mode-line-limit):
2532 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2533 (archive-7z-update):
2534 * allout.el (allout-prefixed-keybindings)
2535 (allout-unprefixed-keybindings)
2536 (allout-inhibit-auto-fill-on-headline)
2537 (allout-flattened-numbering-abbreviation):
2538 * allout-widgets.el (allout-widgets-auto-activation)
2539 (allout-widgets-icons-dark-subdir)
2540 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2541 (allout-widgets-theme-dark-background)
2542 (allout-widgets-theme-light-background)
2543 (allout-widgets-item-image-properties-emacs)
2544 (allout-widgets-item-image-properties-xemacs)
2545 (allout-widgets-run-unit-tests-on-load)
2546 (allout-widgets-time-decoration-activity)
2547 (allout-widgets-hook-error-post-time)
2548 (allout-widgets-track-decoration):
2549 Add missing :version tags to new defcustoms and defgroups.
2551 * progmodes/sql.el (sql-ansi-statement-starters)
2552 (sql-oracle-statement-starters): Add custom type.
2554 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2555 (prolog-system-version): Give it a type.
2557 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2559 * term/pc-win.el (x-select-text, x-selection-owner-p)
2560 (x-own-selection-internal, x-disown-selection-internal)
2561 (x-get-selection-internal): Sync doc strings and argument lists
2562 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2564 2012-02-11 Leo Liu <sdl.web@gmail.com>
2566 * progmodes/python.el (python-end-of-statement): Fix infinite
2569 2012-02-10 Glenn Morris <rgm@gnu.org>
2571 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2572 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2574 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2576 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2577 about SMTP before checking the From header.
2579 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2580 into own function for reuse by emacsbug.el.
2582 2012-02-10 Leo Liu <sdl.web@gmail.com>
2584 * subr.el (condition-case-unless-debug): Rename from
2585 condition-case-no-debug. All callers changed.
2586 (with-demoted-errors): Fix caller.
2588 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2589 * nxml/rng-valid.el (rng-do-some-validation):
2590 * emacs-lisp/package.el (package-refresh-contents)
2591 (package-menu-execute):
2592 * desktop.el (desktop-create-buffer):
2593 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2595 2012-02-10 Glenn Morris <rgm@gnu.org>
2597 * textmodes/bibtex.el:
2598 Add missing :version tags for new/changed defcustoms.
2600 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2602 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2604 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2605 (smtpmail-via-smtp): Use it, or fall back on the From address.
2606 (smtpmail-send-it): Ditto.
2608 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2611 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2612 (byte-compile-tmp-var): New const.
2613 (byte-compile-defvar): Use it to minimize .elc size.
2614 Just use `defvar' rather than simulate it (bug#10761).
2616 2012-02-09 Glenn Morris <rgm@gnu.org>
2618 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2620 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2623 * progmodes/compile.el (compilation-error-screen-columns)
2624 (compilation-first-column, compilation-filter-start): Doc fixes.
2626 * vc/log-view.el (log-view-toggle-entry-display):
2627 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2629 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2630 (report-emacs-bug-can-use-xdg-email):
2631 (report-emacs-bug-insert-to-mailer): Doc fixes.
2632 (report-emacs-bug): Message fix.
2634 * net/browse-url.el (browse-url-can-use-xdg-open)
2635 (browse-url-xdg-open): Doc fixes.
2637 * electric.el (electric-indent-mode, electric-pair-mode)
2638 (electric-layout-rules, electric-layout-mode): Doc fixes.
2639 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2641 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2643 * server.el (server-unselect-display): Don't inadvertently kill
2644 the current buffer. (Bug#10729)
2646 2012-02-08 Glenn Morris <rgm@gnu.org>
2648 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2649 (sql-list-table): Doc fixes.
2651 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2652 Comment out (does nothing).
2654 * completion.el (dynamic-completion-mode):
2655 * dirtrack.el (dirtrack-debug-mode):
2656 * electric.el (electric-layout-mode):
2657 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2658 * face-remap.el (text-scale-mode, buffer-face-mode):
2659 * iimage.el (iimage-mode):
2660 * image-mode.el (image-transform-mode):
2661 * minibuffer.el (completion-in-region-mode):
2662 * scroll-lock.el (scroll-lock-mode):
2663 * simple.el (next-error-follow-minor-mode):
2664 * tar-mode.el (tar-subfile-mode):
2665 * tooltip.el (tooltip-mode):
2666 * vcursor.el (vcursor-use-vcursor-map):
2667 * wid-browse.el (widget-minor-mode):
2668 * emulation/tpu-edt.el (tpu-edt-mode):
2669 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2670 * international/iso-ascii.el (iso-ascii-mode):
2671 * language/thai-util.el (thai-word-mode):
2672 * mail/supercite.el (sc-minor-mode):
2673 * net/goto-addr.el (goto-address-mode):
2674 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2675 * progmodes/cwarn.el (cwarn-mode):
2676 * progmodes/flymake.el (flymake-mode):
2677 * progmodes/glasses.el (glasses-mode):
2678 * progmodes/hideshow.el (hs-minor-mode):
2679 * progmodes/pascal.el (pascal-outline-mode):
2680 * textmodes/enriched.el (enriched-mode):
2681 * vc/smerge-mode.el (smerge-mode):
2682 Doc fixes (minor mode argument).
2684 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2686 * ls-lisp.el (ls-lisp-sanitize): New function.
2687 (ls-lisp-insert-directory): Use it to fix or remove any elements
2688 in file-alist with missing attributes. (Bug#4673)
2690 2012-02-07 Alan Mackenzie <acm@muc.de>
2692 Fix spurious recognition of c-in-knr-argdecl.
2694 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2695 putative K&R region.
2697 2012-02-07 Alan Mackenzie <acm@muc.de>
2699 * progmodes/cc-engine.el (c-forward-objc-directive):
2700 Prevent looping in "#pragma mark @implementation".
2702 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2704 * notifications.el (notifications-on-closed-signal): Make `reason'
2705 optional. (Bug#10744)
2707 2012-02-07 Glenn Morris <rgm@gnu.org>
2709 * emacs-lisp/easy-mmode.el (define-minor-mode):
2710 Doc fixes for the macro and the mode it defines.
2712 * image.el (imagemagick-types-inhibit): Doc fix.
2714 * cus-start.el (imagemagick-render-type): Add it.
2716 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2718 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2719 Set the default at load time, too, so that `font-lock-fontify-buffer'
2720 can be called without setting up the entire mode first. This fixes
2721 a bug in `mm-inline-text' with C MIME parts.
2723 2012-02-06 Chong Yidong <cyd@gnu.org>
2725 * simple.el (list-processes--refresh): Delete exited processes
2728 * comint.el (comint-next-prompt): next-single-char-property-change
2729 and prev-single-char-property-change never return nil (Bug#8657).
2731 * custom.el (defcustom): Doc fix (Bug#9711).
2733 2012-02-05 Chong Yidong <cyd@gnu.org>
2735 * cus-edit.el (custom-variable-reset-backup): Quote the value
2736 before storing it in the customized-value property (Bug#6712).
2737 (custom-display): Add a customization type tag.
2738 (custom-buffer-create-internal): Improve tooltip message.
2740 * wid-edit.el (widget-field-value-get): New optional arg to
2741 suppress trailing whitespace truncation.
2742 (character): Use it (Bug#2689).
2744 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2746 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2747 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2749 2012-02-05 Chong Yidong <cyd@gnu.org>
2751 * cus-edit.el (custom-variable-value-create): For mismatched
2752 types, show the current value (Bug#7600).
2754 * custom.el (defcustom): Doc fix.
2756 2012-02-05 Glenn Morris <rgm@gnu.org>
2758 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2760 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2762 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2763 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2764 (pp-last-sexp): Use `looking-at-p'.
2766 2012-02-04 Glenn Morris <rgm@gnu.org>
2768 * files.el (revert-buffer):
2769 Doc fix (mention revert-buffer-in-progress-p).
2771 * emacs-lisp/ert-x.el (ert-simulate-command):
2772 Check deferred-action-list (which is obsolete) is bound.
2774 * subr.el (with-wrapper-hook): Doc fixes.
2776 * simple.el (filter-buffer-substring-functions)
2777 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2779 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2781 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2782 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2784 2012-02-04 Leo Liu <sdl.web@gmail.com>
2786 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2788 2012-02-04 Glenn Morris <rgm@gnu.org>
2790 * image.el (image-extension-data): Add obsolete alias.
2792 * isearch.el (isearch-update): Doc fix.
2794 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2796 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2798 2012-02-03 Glenn Morris <rgm@gnu.org>
2800 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2801 (image-animate-timeout): Doc fix.
2803 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2805 2012-02-02 Glenn Morris <rgm@gnu.org>
2807 * server.el (server-auth-dir): Doc fix.
2808 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2810 * subr.el (run-mode-hooks): Doc fix.
2812 2012-02-02 Juri Linkov <juri@jurta.org>
2814 * image-mode.el (image-toggle-display-image): Remove tautological
2815 `major-mode' from the `derived-mode-p' test.
2817 2012-02-02 Kenichi Handa <handa@m17n.org>
2819 * composite.el (compose-region): Cancel previous change.
2821 2012-02-02 Kenichi Handa <handa@m17n.org>
2823 * composite.el (compose-region, compose-string): Signal error for
2824 a null string component (Bug#6988).
2826 2012-02-01 Chong Yidong <cyd@gnu.org>
2828 * view.el (view-buffer-other-window, view-buffer-other-frame):
2829 Handle special modes like view-buffer (Bug#10650).
2830 (view-buffer): Simplify.
2832 * frame.el (set-frame-font): Tweak meaning of third argument.
2834 * dynamic-setting.el (font-setting-change-default-font):
2835 Use set-frame-font (Bug#9982).
2837 2012-02-01 Glenn Morris <rgm@gnu.org>
2839 * progmodes/compile.el (compilation-internal-error-properties):
2840 Respect compilation-first-column in the "*compilation*" buffer.
2842 * emacs-lisp/easy-mmode.el (define-minor-mode):
2843 Relax :variable's test for a named function.
2845 2012-01-31 Alan Mackenzie <acm@muc.de>
2847 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2850 2012-01-31 Chong Yidong <cyd@gnu.org>
2852 * frame.el (set-frame-font): New arg ALL-FRAMES.
2854 * menu-bar.el (menu-set-font): Use set-frame-font.
2856 * faces.el (face-spec-reset-face): Don't apply unspecified
2857 attribute values to the default face.
2859 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2861 * progmodes/cwarn.el (cwarn): Remove dead link.
2862 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2863 Remove * from defcustom docstrings.
2864 (turn-on-cwarn-mode): Make obsolete.
2865 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2866 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2868 2012-01-31 Glenn Morris <rgm@gnu.org>
2870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2871 Fix :variable handling of mode a symbol not equal to modefun.
2872 Allow named functions to be used as the cdr of :variable.
2874 2012-01-30 Glenn Morris <rgm@gnu.org>
2876 * emacs-lisp/authors.el (authors-fixed-entries):
2877 Remove reference to deleted file rnewspost.el.
2879 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2881 * window.el (window-with-parameter): Remove unused variable `windows'.
2882 (window--side-check): Remove unused variable `code'.
2883 (window--resize-siblings): Remove unused variable `first'.
2884 (adjust-window-trailing-edge): Remove unused variable `failed'.
2885 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2886 Use `let', not `let*'.
2887 (balance-windows-2): Remove unused variable `found'.
2888 (window--state-put-2): Remove unused variable `splits'.
2889 (window-state-put): Remove unused variable `selected'.
2890 (same-window-p): Use `string-match-p'.
2891 (display-buffer-assq-regexp): Remove unused variable `value'.
2892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2893 Mark argument ALIST as ignored.
2894 (pop-to-buffer): Remove unused variable `old-window'.
2896 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2898 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2899 and .lzma compressed files.
2901 2012-01-29 Chong Yidong <cyd@gnu.org>
2903 * frame.el (window-system-default-frame-alist): Doc fix.
2905 * dynamic-setting.el (font-setting-change-default-font): Don't
2906 change the default face if SET-FONT argument is non-nil (Bug#9982).
2908 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2910 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2912 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2914 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2915 breakpoints in files outside current directory (Bug#6098).
2917 2012-01-29 Chong Yidong <cyd@gnu.org>
2919 * progmodes/python.el: Require ansi-color at top-level.
2921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2922 Define and use in Emacs Lisp mode (Bug#9360).
2923 (lisp-mode-abbrev-table): Add doc.
2924 (lisp-mode-variables): Don't set local-abbrev-table.
2925 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2927 2012-01-28 Roland Winkler <winkler@gnu.org>
2929 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2931 2012-01-28 Roland Winkler <winkler@gnu.org>
2933 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2934 (bibtex-set-dialect): Use it. Either set global values of
2935 dialect-dependent variables or bind these variables buffer-locally
2937 (bibtex-mode): Call bibtex-set-dialect via
2938 hack-local-variables-hook.
2939 (bibtex-dialect): Update docstring.
2940 Add safe-local-variable predicate.
2941 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2943 (bibtex-mode-map): Define menu for each dialect.
2944 (bibtex-entry): Fix docstring.
2946 2012-01-28 Chong Yidong <cyd@gnu.org>
2948 * eshell/esh-arg.el (eshell-quote-argument): New function.
2950 * eshell/esh-ext.el (eshell-invoke-batch-file):
2951 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2952 first arg to eshell-parse-command (Bug#10523).
2954 2012-01-28 Drew Adams <drew.adams@oracle.com>
2956 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2957 `default-directory' is non-nil.
2959 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2961 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2962 line that displays system-configuration-options. (Bug#9924)
2964 2012-01-28 Drew Adams <drew.adams@oracle.com>
2966 * descr-text.el (describe-char): Show information about POS, in
2967 addition to information about the character at POS. Improve and
2968 update the doc string. Change "code point" to "code point in
2969 charset", to avoid confusion with the character's Unicode code
2970 point shown above that. (Bug#10129)
2972 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2974 * descr-text.el (describe-char): Show the raw character, not only
2975 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2976 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2979 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2981 * emacs-lisp/package.el (package-install):
2982 Run package-refresh-contents if there is no archive yet (Bug#9798).
2984 2012-01-28 Chong Yidong <cyd@gnu.org>
2986 * emacs-lisp/package.el (package-maybe-load-descriptor):
2987 New function, split from package-maybe-load-descriptor.
2988 (package-maybe-load-descriptor): Use it.
2989 (package-download-transaction): Fully load required packages
2990 inside the loop, so that `require' calls work (Bug#10593).
2991 (package-install): No need to call package-initialize now.
2993 2012-01-28 Chong Yidong <cyd@gnu.org>
2995 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2997 * tooltip.el (tooltip-mode): Doc fix.
2998 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3000 * frame.el (set-cursor-color): Doc fix (Bug#352).
3002 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3003 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3005 * cus-edit.el (custom-buffer-create-internal): Fix search button
3007 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3009 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3011 * dired.el (dired-mark-files-regexp):
3012 Include any subdirectory components. (Bug#10445)
3014 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3016 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3017 Handle [host]:port syntax. (Bug#10533)
3019 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3021 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3023 2012-01-26 Glenn Morris <rgm@gnu.org>
3025 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3026 * term.el (term-raw-escape-map): Use Control-X-prefix.
3027 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3029 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3031 * window.el (window-state-get, window--state-get-1): Don't deal
3032 with fixed-sizeness of windows. Simplify code.
3034 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3036 * window.el (window--state-get-1, window--state-put-2):
3037 Don't save and restore the mark.
3039 2012-01-25 Chong Yidong <cyd@gnu.org>
3041 * custom.el (custom-variable-p): Doc fix.
3043 2012-01-25 Glenn Morris <rgm@gnu.org>
3045 * dired.el (dired-goto-file): Handle some of the more common
3046 characters that `ls -b' escapes. (Bug#10596)
3048 * progmodes/compile.el (compilation-next-error-function):
3049 Respect compilation-first-column in the "*compilation*" buffer.
3050 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3052 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3054 2012-01-24 Glenn Morris <rgm@gnu.org>
3056 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3058 2012-01-24 Julien Danjou <julien@danjou.info>
3060 * color.el (color-rgb-to-hsl): Fix value computing.
3061 (color-hue-to-rgb): New function.
3062 (color-hsl-to-rgb): New function.
3063 (color-clamp, color-saturate-hsl, color-saturate-name)
3064 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3065 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3067 2012-01-24 Glenn Morris <rgm@gnu.org>
3069 * vc/vc-rcs.el (vc-rcs-create-tag):
3070 * vc/vc-sccs.el (vc-sccs-create-tag):
3071 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3073 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3075 * eshell/esh-util.el (eshell-read-hosts-file):
3076 Skip comment lines. (Bug#10549)
3078 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3080 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3082 * subr.el (display-delayed-warnings): Doc fix.
3083 (collapse-delayed-warnings): New function to collapse identical
3085 (delayed-warnings-hook): Add it.
3087 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3089 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3091 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3092 properties, when "login-as" is set.
3094 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3095 (tramp-default-user-alist): Don't add "pscp".
3096 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3097 property "login-as", if set. (Bug#10530)
3099 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3101 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3102 "plink1" and "psftp". (Bug#10530)
3104 2012-01-21 Kenichi Handa <handa@m17n.org>
3106 * international/mule-cmds.el (prefer-coding-system): Show a
3107 warning message if the default value of file-name-coding-system
3110 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3112 * windmove.el (windmove-reference-loc):
3113 Fix windmove-reference-loc miscalculation.
3115 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3117 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3120 2012-01-21 Glenn Morris <rgm@gnu.org>
3122 * international/mule.el (auto-coding-alist): Add .tbz.
3124 * files.el (local-enable-local-variables): Doc fix.
3125 (inhibit-local-variables-regexps): Rename from
3126 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3127 Doc fix. Add some extensions from auto-coding-alist.
3128 (inhibit-local-variables-suffixes):
3129 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3130 (inhibit-local-variables-p):
3131 New function, extracted from set-auto-mode-1.
3132 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3133 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3134 (hack-local-variables): Doc fix. Make the mode-only case
3135 respect enable-local-variables and friends.
3136 Respect inhibit-local-variables-regexps for file-locals, but
3137 not for directory-locals.
3138 (set-visited-file-name):
3139 Take account of inhibit-local-variables-regexps.
3140 Whether it applies may change as the file name is changed.
3141 * jka-cmpr-hook.el (jka-compr-install):
3142 * jka-compr.el (jka-compr-uninstall):
3143 Update for inhibit-first-line-modes-suffixes name change.
3145 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3147 * help-macro.el (make-help-screen): Temporarily restore original
3148 binding for minor-mode-map-alist (Bug#10454).
3150 2012-01-19 Julien Danjou <julien@danjou.info>
3152 * color.el (color-name-to-rgb): Use the white color to find the max
3153 color component value and return correctly computed values.
3154 (color-name-to-rgb): Add missing float conversion for max value.
3156 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3158 * window.el (window--state-get-1, window-state-get): Do not use
3159 special state value for window-persistent-parameters.
3160 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3161 (window--state-put-2): Reset all window parameters to nil before
3162 assigning values of persistent parameters.
3164 2012-01-18 Alan Mackenzie <acm@muc.de>
3166 Eliminate sluggishness and hangs in fontification of "semicolon
3169 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3170 Change value 10000 -> 3000.
3171 (c-state-safe-place): Reformulate so it doesn't stack up an
3172 infinite number of wrong entries in c-state-nonlit-pos-cache.
3173 (c-determine-limit-get-base, c-determine-limit): New functions to
3174 determine backward search limits disregarding literals.
3175 (c-find-decl-spots): Amend commenting.
3176 (c-cheap-inside-bracelist-p): New function which detects "={".
3178 * progmodes/cc-fonts.el
3179 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3181 (c-font-lock-declarations): Fix an occurrence of point being
3182 undefined. Check additionally for point being in a bracelist or
3183 near a macro invocation without a semicolon so as to avoid a
3184 fruitless time consuming search for a declarator. Give a more
3185 precise search limit for declarators using the new
3188 2012-01-18 Glenn Morris <rgm@gnu.org>
3190 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3191 (set-auto-mode): Doc fixes.
3193 2012-01-17 Glenn Morris <rgm@gnu.org>
3195 * isearch.el (search-nonincremental-instead): Fix doc typo.
3197 * dired.el (dired-insert-directory): Handle newlines in directory name.
3198 (dired-build-subdir-alist): Unescape newlines in directory name.
3200 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3202 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3203 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3204 (tramp-action-terminal): Use it. (Bug#10530)
3206 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3210 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3212 * window.el (window-state-ignored-parameters): Remove variable.
3213 (window--state-get-1): Rename argument MARKERS to IGNORE.
3214 Handle persistent window parameters. Make copy of clone-of
3215 parameter only if requested. (Bug#10348)
3216 (window--state-put-2): Install a window parameter only if it has
3217 a non-nil value or an existing parameter shall be overwritten.
3219 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3221 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3223 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3225 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3226 don't pass the (nil) value of `upnode' to string-match.
3228 2012-01-14 Chong Yidong <cyd@gnu.org>
3230 * startup.el (command-line): Fix X resource class for cursorColor.
3231 Fix values recognized by the cursorBlink resource.
3233 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3235 * epg.el (epg--make-temp-file): Avoid permission race condition
3236 when running on old Emacs versions (bug#10403).
3238 2012-01-14 Glenn Morris <rgm@gnu.org>
3240 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3242 2012-01-13 Alan Mackenzie <acm@muc.de>
3244 Fix filling for when filladapt mode is enabled.
3246 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3247 c-mask-paragraph, pass in `fill-paragraph' rather than
3248 `fill-region-as-paragraph'. (This is a reversion of a previous
3250 * progmodes/cc-mode.el (c-basic-common-init):
3251 Make fill-paragraph-handle-comment buffer local and set it to nil.
3253 2012-01-13 Glenn Morris <rgm@gnu.org>
3255 * dired.el (dired-switches-escape-p): New function.
3256 (dired-insert-directory): Use dired-switches-escape-p.
3257 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3259 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3261 2012-01-12 Glenn Morris <rgm@gnu.org>
3263 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3264 changes in adaptive-fill-regexp. (Bug#10276)
3266 2012-01-11 Alan Mackenzie <acm@muc.de>
3268 Fix Emacs bug #10463 - put `widen's around the critical spots.
3270 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3271 widen around each invocation of c-state-pp-to-literal. Remove an
3272 unused let variable.
3274 2012-01-11 Glenn Morris <rgm@gnu.org>
3276 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3279 2012-01-10 Chong Yidong <cyd@gnu.org>
3281 * net/network-stream.el (network-stream-open-starttls):
3282 Avoid emitting a confusing error message when the server gives a bad
3283 response to the capability command.
3285 2012-01-10 Glenn Morris <rgm@gnu.org>
3287 * mail/unrmail.el (unrmail): Tweak previous change.
3289 2012-01-09 Chong Yidong <cyd@gnu.org>
3291 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3293 2012-01-08 Alan Mackenzie <acm@muc.de>
3295 Optimise font locking in long enum definitions.
3297 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3298 arm to a cond form to handle enums.
3299 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3300 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3302 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3304 * files.el (move-file-to-trash): Preserve default file modes on error.
3307 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3309 * faces.el (set-face-attribute): Clarify the meaning of the nil
3312 * subr.el (with-selected-frame): Mention that the selected frame
3313 is restored (bug#9980).
3315 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3318 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3319 (password-read): Don't autoload unused function.
3321 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3323 * progmodes/which-func.el (which-func-mode): Turn into a
3324 non-interactive function and mark as obsolete (bug#10428).
3326 2012-01-06 Chong Yidong <cyd@gnu.org>
3328 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3329 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3330 functions, along with 1 and -1.
3332 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3334 * time.el (display-time-load-average)
3335 (display-time-default-load-average): Doc fixes. See the thread
3337 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3340 2012-01-06 Glenn Morris <rgm@gnu.org>
3342 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3343 has no messages. (Bug#10377)
3345 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3346 than Info-edit. (Bug#10385)
3348 * time.el (display-time-load-average, display-time-next-load-average):
3351 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3352 local setting of buffer-read-only to the input buffer. (Bug#10419)
3354 * calendar/calendar.el (calendar-mode):
3355 Locally set scroll-margin to 0. (Bug#10379)
3357 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3359 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3361 2012-01-05 Glenn Morris <rgm@gnu.org>
3363 * eshell/em-unix.el (diff-no-select): Autoload it.
3364 (eshell/diff): Use diff-no-select. (Bug#10420)
3366 2012-01-05 Chong Yidong <cyd@gnu.org>
3368 * shell.el (shell-dynamic-complete-functions): Revert last change.
3369 (shell-command-completion-function): New function.
3370 (shell-completion-vars): Use it to implement
3371 shell-completion-execonly (Bug#10417).
3373 * custom.el (enable-theme): Don't set custom-safe-themes.
3375 * cus-theme.el (custom-theme-merge-theme):
3376 Ignore custom-enabled-themes and custom-safe-themes.
3378 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3380 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3381 first prompt in `sql-interacive-mode'.
3382 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3384 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3385 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3386 context of original buffer. Invoke `sql-login-hook'.
3388 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3390 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3391 letters in cite-prefix.
3393 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3395 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3397 2012-01-03 Chong Yidong <cyd@gnu.org>
3399 * shell.el (shell-dynamic-complete-functions):
3400 Put pcomplete-completions-at-point, so as to try
3401 comint-filename-completion first (Bug#10417).
3403 2012-01-02 Richard Stallman <rms@gnu.org>
3405 * battery.el (battery-status-function):
3406 Detect when to use battery-yeeloong-sysfs.
3407 (battery-echo-area-format): Add string for Yeeloong.
3408 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3409 (battery-yeeloong-sysfs): New function.
3411 2012-01-02 Chong Yidong <cyd@gnu.org>
3413 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3414 (dirtrack): Merge code for handling relative filenames in prompt
3415 from shell-dir-cookie-watcher.
3416 (dirtrack-debug-message): New arg to avoid excess format calls.
3418 * shell.el (shell-dir-cookie-re): Variable deleted.
3419 (shell-dir-cookie-watcher): Function deleted.
3420 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3423 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3425 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3426 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3429 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3431 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3433 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3435 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3436 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3438 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3440 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3441 also for alternative shells.
3442 (tramp-open-connection-setup-interactive-shell): Check, whether
3443 the shell is a busybox.
3444 (tramp-send-command): Don't suppress multiple prompts for
3445 busyboxes, it hurts.
3447 2011-12-28 Chong Yidong <cyd@gnu.org>
3449 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3450 (gdb-get-source-file): Move mode line update to
3451 gdb-get-source-file (Bug#10087).
3453 2011-12-25 Chong Yidong <cyd@gnu.org>
3455 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3456 gud-gdb-marker-filter without taking it as an argument.
3457 (gud-gdb-run-command-fetch-lines): Caller changed.
3458 (gud-gdb-completion-function): New variable.
3459 (gud-gdb-completion-at-point): Use it.
3460 (gud-gdb-completions-1): Split from gud-gdb-completions.
3462 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3463 function as separate arguments.
3464 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3465 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3466 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3467 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3468 (gdb-stopped, def-gdb-auto-update-trigger)
3469 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3470 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3472 (gud-gdbmi-completions): New function.
3473 (gdb): Use it for generating the completion table.
3475 2011-12-24 Alan Mackenzie <acm@muc.de>
3477 Introduce a mechanism to widen the region used in context font
3478 locking. Use this to protect declarations from losing their contexts.
3480 * progmodes/cc-langs.el (c-before-font-lock-functions):
3481 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3482 (c-before-context-fontification-functions): New defvar, a list of
3483 functions to be run just before context (etc.) font locking.
3485 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3486 New, functionality extracted from
3487 c-neutralize-syntax-in-and-mark-CPP.
3488 (c-in-after-change-fontification): New variable.
3489 (c-after-change): Set c-in-after-change-fontification.
3490 (c-set-fl-decl-start): Rejig its interface, so it can be called
3491 from both after-change and context fontifying.
3492 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3494 (c-standard-font-lock-fontify-region-function): New variable.
3495 (c-font-lock-fontify-region): New function.
3497 2011-12-24 Juri Linkov <juri@jurta.org>
3499 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3502 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3504 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3505 existence of source file. (Bug#10325)
3507 2011-12-23 Alan Mackenzie <acm@muc.de>
3509 Fix unstable fontification inside templates.
3511 * progmodes/cc-langs.el (c-before-font-lock-functions):
3512 Newly created from the singular version. The (c c++ objc) entry now
3513 additionally has c-set-fl-decl-start. The other languages (apart
3514 from AWK) have that as a single entry.
3516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3517 The functionality for "local" declarations has been extracted to
3518 c-set-fl-decl-start.
3520 * progmodes/cc-mode.el (c-common-init, c-after-change):
3521 Changes due to pluralisation of c-before-font-lock-functions.
3522 (c-set-fl-decl-start): New function, extracted from
3523 c-font-lock-enclosing-decls and enhanced.
3525 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3527 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3529 2011-12-22 Juri Linkov <juri@jurta.org>
3531 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3533 2011-12-22 Chong Yidong <cyd@gnu.org>
3535 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3537 2011-12-21 Drew Adams <drew.adams@oracle.com>
3539 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3541 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3543 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3545 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3547 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3548 highlighting and support. Fix up comments for capitalization.
3549 (cfengine-mode-debug): New var.
3550 (cfengine3-mode): Change the modeline indicator to "CFE3".
3551 (cfengine3-font-lock-keywords): Improve defun highlighting.
3552 (cfengine2-actions): Rename from `cfengine-actions'.
3553 (cfengine2-font-lock-keywords): Rename from
3554 `cfengine-font-lock-keywords'.
3555 (cfengine2-imenu-expression): Rename from
3556 `cfengine-imenu-expression'.
3557 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3558 (cfengine2-beginning-of-defun): Rename from
3559 `cfengine-beginning-of-defun'.
3560 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3561 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3562 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3563 modeline indicator to "CFE2".
3564 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3565 (cfengine-mode-abbrevs): Mark obsolete.
3567 2011-12-21 Chong Yidong <cyd@gnu.org>
3569 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3572 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3574 * window.el (window-normalize-buffer-to-display): Remove.
3575 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3577 2011-12-19 Chong Yidong <cyd@gnu.org>
3579 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3580 Don't signal an error in a predicate function; return non-nil.
3581 (vc-dir-mark-file): Move the error here.
3582 (vc-dir-mark-unmark): If acting on the region, keep going if one
3583 of the entries cannot be marked/unmarked.
3584 (vc-dir-mark-all-files): If current entry is a directory, mark
3585 only child files, as documented.
3587 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3589 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3590 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3593 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3595 * term/ns-win.el (ns-get-selection-internal)
3596 (ns-store-selection-internal): Declare.
3597 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3598 Declare as obsolete.
3599 (ns-get-pasteboard, ns-paste-secondary):
3600 Use ns-get-selection-internal.
3601 (ns-set-pasteboard, ns-copy-including-secondary):
3602 Use ns-store-selection-internal.
3604 2011-12-17 Chong Yidong <cyd@gnu.org>
3606 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3607 (vc-deduce-fileset): Doc fix.
3609 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3611 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3613 2011-12-13 Sam Steingold <sds@gnu.org>
3615 * man.el (Man-getpage-in-background): When running under a
3616 window-system, ignore $MANWIDTH and $COLUMNS.
3618 2011-12-15 Kenichi Handa <handa@m17n.org>
3620 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3621 (setup-ethiopic-environment-internal): Comment out key-binding for
3622 ethio-toggle-punctuation.
3624 2011-12-13 Alan Mackenzie <acm@muc.de>
3626 Add the switch statement to AWK Mode.
3628 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3629 "default" to the keywords regexp.
3631 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3632 expression as the rest.
3633 (c-nonlabel-token-key): Allow string literals for AWK.
3634 Refactor for the other modes.
3636 Large brace-block initialisation makes CC Mode slow: Fix.
3637 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3638 routines. Limit backward searching in c-font-lock-enclosing.decl.
3640 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3641 pp-state and literal type in addition to the limits.
3642 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3643 (c-state-literal-at): Use the above new defun.
3644 (c-slow-in-literal, c-fast-in-literal): Remove.
3645 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3647 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3648 being in a literal. Add a limit for backward searching.
3650 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3653 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3657 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3659 * window.el (delete-other-windows): Use correct frame in call to
3660 window-with-parameter.
3662 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3664 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3665 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3666 (makefile-gmake-statements, makefile-makepp-statements):
3667 Use it and add new makepp keywords.
3668 (makefile-makepp-font-lock-keywords): Add new patterns.
3669 (makefile-match-function-end): Match new [...] and [[...]].
3671 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3673 * ses.el (ses-call-printer-return, ses-cell-property-get)
3674 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3675 (ses-create-cell-variable, ses-reset-header-string)
3676 (ses-cell-set-formula, ses-repair-cell-reference-all)
3677 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3678 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3679 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3680 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3681 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3682 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3683 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3684 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3685 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3686 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3687 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3688 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3690 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3692 * ses.el: The overall change is to add cell renaming, that is
3693 setting fancy names for cell symbols other than name matching
3694 "\\`[A-Z]+[0-9]+\\'" regexp .
3695 (ses-create-cell-variable): New defun.
3696 (ses-relocate-formula): Relocate formulas only for cells the
3697 symbols of which are not renamed, i.e. symbols whose names do not
3698 match regexp "\\`[A-Z]+[0-9]+\\'".
3699 (ses-relocate-all): Relocate values only for cells the symbols of
3700 which are not renamed.
3701 (ses-load): Create cells variables as the (ses-cell ...) are read,
3702 in order to check row col consistency with cell symbol name only
3703 for cells that are not renamed.
3704 (ses-replace-name-in-formula): New defun.
3705 (ses-rename-cell): New defun.
3707 2011-12-11 Chong Yidong <cyd@gnu.org>
3709 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3710 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3712 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3714 * window.el (other-window): Fix docstring.
3716 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3718 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3719 `from' or `to' address before taking its substring.
3720 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3721 encoded name is chopped in the middle of the encoded string, and
3722 thus displayed encoded.
3724 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3726 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3728 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3730 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3731 to use texinfo-update-node and commands that call it if the
3732 Texinfo file uses @node lines without next/prev/up pointers.
3733 Correct outdated description about texinfo-master-menu.
3734 (texinfo-all-menus-update, texinfo-master-menu)
3735 (texinfo-update-node, texinfo-every-node-update)
3736 (texinfo-multiple-files-update): Doc fix. Warn against updating
3737 all the @node lines.
3738 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3739 argument is numeric. Explain better in the doc string what the
3740 function really does.
3741 (texinfo-insert-master-menu-list): Improve the error message
3742 displayed if there's no menu in the Top node.
3743 (Bug#2975) See also this thread:
3744 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3746 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3748 * speedbar.el (speedbar-supported-extension-expressions):
3749 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3751 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3753 * printing.el (pr-mode-alist):
3754 * simple.el (filter-buffer-substring-functions)
3755 (completion-list-insert-choice-function):
3756 * window.el (window-with-parameter, window-atom-root)
3757 (window-sides-slots, window-size-fixed, window-min-delta)
3758 (window-max-delta, window--resize-mini-window)
3759 (window--resize-child-windows-normal, window-tree)
3760 (delete-other-windows, quit-window, split-window)
3761 (display-buffer-record-window, special-display-buffer-names)
3762 (special-display-regexps, special-display-popup-frame)
3763 (same-window-p, split-window-sensibly)
3764 (display-buffer-overriding-action, display-buffer-alist)
3765 (display-buffer-base-action, display-buffer, switch-to-buffer)
3766 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3767 (fit-window-to-buffer, recenter-positions)
3768 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3769 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3770 and remove unneeded backslashes in docstrings.
3772 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3774 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3776 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3777 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3779 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3780 when reading the makefile (bug#10116).
3782 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3784 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3787 2011-12-06 Glenn Morris <rgm@gnu.org>
3789 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3791 2011-12-06 Chong Yidong <cyd@gnu.org>
3793 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3795 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3797 * textmodes/table.el (table-shorten-cell): Fix typo.
3799 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3801 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3803 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3805 * descr-text.el (describe-char): Fix display of strong
3806 right-to-left characters and directional embeddings and overrides.
3808 * simple.el (what-cursor-position): Fix display of codepoints of
3809 strong right-to-left characters.
3811 2011-12-05 Chong Yidong <cyd@gnu.org>
3813 * faces.el (read-color): Doc fix.
3815 2011-12-05 Glenn Morris <rgm@gnu.org>
3817 * align.el (align--set-marker): Add doc-string.
3818 Don't try to move something that is not a marker. (Bug#10216)
3820 2011-12-04 Glenn Morris <rgm@gnu.org>
3822 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3823 overly zealous deletion of trailing whitespace.
3825 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3827 * server.el (server-delete-client): On Windows, do not try to delete
3829 (server-process-filter): On Windows, treat requests for a tty frame as
3830 if they were for a GUI frame if the running server is in GUI mode.
3832 2011-12-03 Glenn Morris <rgm@gnu.org>
3834 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3836 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * electric.el: Streamline electric-indent's hook.
3839 (electric-indent-chars): Revert to simple list.
3840 (electric-indent-functions): New var.
3841 (electric-indent-post-self-insert-function): Use it.
3843 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3844 there's no inferior buffer (bug#10196).
3845 (prolog-consult-compile): Don't use toggle-read-only.
3847 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3849 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3850 interrupt. (Bug#10187)
3852 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3857 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3860 2011-12-02 Juri Linkov <juri@jurta.org>
3862 * info.el (Info-search): Display "end of manual" when Isearch
3863 reaches the end of single-file Info manual. (Bug#9918)
3865 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3867 * isearch.el (isearch-message-prefix): Run the input method part
3868 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3870 2011-12-02 Juri Linkov <juri@jurta.org>
3872 * isearch.el (isearch-occur): Use `word-search-regexp' for
3874 (isearch-search-and-update): Add condition for `isearch-word' and
3875 call `word-search-regexp'. (Bug#10145)
3877 2011-12-01 Glenn Morris <rgm@gnu.org>
3879 * eshell/em-hist.el (eshell-hist-initialize):
3880 Handle eshell-history-size nil and HISTSIZE set or unset.
3881 (eshell-history-file-name, eshell-history-size): Fix custom type.
3883 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3887 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3889 * progmodes/verilog-mode.el (verilog-pretty-expr):
3890 Rework verilog-pretty-expr to handle new assignment operators in system
3891 verilog, such as += *= and the like.
3892 (verilog-assignment-operator-re): Regular expression to find the
3893 assigment operator in a verilog assignment.
3894 (verilog-assignment-operation-re): Regular expression to find an
3895 assignment statement for pretty-expr.
3896 (verilog-in-attribute-p): Query returns true if point is in an
3897 attribute context; used to skip these for expression line up from
3899 (verilog-in-parameter-p): Query returns true if point is in an
3900 parameter definition context; used to skip these for expression
3901 line up from pretty-expr.
3902 (verilog-in-parenthesis-p): Query returns true if point is in a
3903 parenthetical expression, specifically ( ) but not [ ] or { };
3904 used by pretty-expr.
3905 (verilog-just-one-space): If there is no space, don't add one.
3906 (verilog-get-lineup-indent-2): Specifically skip just attribute
3907 contexts for expression lineup, rather than skipping all
3908 parenthetical expressions.
3909 (verilog-calculate-indent): Fix comment, and fix indent.
3910 (verilog-do-indent): Indent declarations in lists (suggested by
3912 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3914 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3917 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3919 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3920 parameters with embedded comments. Reported by Ray Stevens.
3921 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3922 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3923 Reported by Tim Holt.
3924 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3925 instantiated by upper module causing wrong expansion until AUTOed a
3926 second time. Reported by K C Buckenmaier.
3927 (verilog-diff-auto): Fix showing .* as a difference when
3928 `verilog-auto-star-save' off. Reported by Dan Dever.
3929 (verilog-auto-reset, verilog-read-always-signals)
3930 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3931 temporary signals in reset list if
3932 verilog-auto-reset-blocking-in-non is nil, and match assignment
3933 style to each signal's assignment type, bug381.
3934 Reported by Thomas Esposito.
3935 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3936 (verilog-uvm-statement-re): Support UVM indentation and
3937 highlighting, with old OVM keywords only.
3938 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3939 Support AUTOTIEOFF creating non-wire data types.
3940 Suggested by Jonathan Greenlaw.
3941 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3942 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3943 (verilog-inject-sense, verilog-read-inst-pins)
3944 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3945 Fix mismatching parenthesis inside commented out code when deleting
3946 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3947 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3948 non-numeric vector width. Reported by Alex Reed.
3949 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3950 detecting signals with parameter widths. Reported by Alex Reed.
3951 (verilog-auto-delete-trailing-whitespace):
3952 With `verilog-auto-delete-trailing-whitespace' remove trailing
3953 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3954 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3955 Fix verilog-scan-cache corruption when running user AUTO expansion
3956 hooks that call indentation routines.
3957 (verilog-simplify-range-expression): Fix typo ignoring lower case
3959 (verilog-delete-auto): Fix delete-autos to also remove user created
3960 automatics, as long as they start with AUTO.
3961 (verilog-batch-diff-auto, verilog-diff-auto)
3962 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3963 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3964 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3965 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3966 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3967 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3968 is disabled and its cache will get corrupt, causing AUTOS not to
3969 expand. Instead use only -quick functions.
3970 (verilog-scan-region): Fix scanning over escaped quotes.
3971 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3972 (verilog-re-search-backward-quick)
3973 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3974 related functions now ignore strings, to fix misparsing of strings
3975 with magic comments embedded in them.
3976 (verilog-read-auto-template):
3977 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3978 Reported by Brad Dobbie.
3979 (verilog-read-auto-template):
3980 Fix 'verilog-auto-inst-template-numbers' with comments.
3981 Reported by Brad Dobbie.
3982 (verilog-auto-inst, verilog-auto-inst-param)
3983 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3984 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3985 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3986 debugging templates without merge conflicts, bug357.
3987 Reported by Brad Dobbie.
3988 (verilog-read-auto-template):
3989 Fix verilog-auto-inst-template-numbers with multiple templates.
3990 Reported by Brad Dobbie.
3991 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3992 abbrevs so user won't be asked to save.
3993 (verilog-read-auto-lisp-present): Fix to start at beginning of
3994 buffer in case called outside of verilog-auto.
3995 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3996 to "X-2". Reported by Matthew Myers.
3997 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3998 all inputs from module templates. Reported by Leith Johnson.
3999 (verilog-module-inside-filename-p): Fix locating programs as with
4001 (verilog-auto-inst-port): Fix vl-width expressions when using
4002 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4003 (verilog-decls-get-regs, verilog-decls-get-signals,
4004 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4005 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4006 verilog-read-decls): Combine reg and wire structures into one var
4007 structure to represent SystemVerilog concepts.
4008 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4009 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4010 (verilog-auto-wire-type, verilog-insert-definition):
4011 Add verilog-auto-wire-type and AUTOLOGIC to support using
4012 SystemVerilog "logic" keyword instead of "wire"/"reg".
4013 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4014 to declares outputs that also have assignments (presumably in an
4015 ifdef or generate if so there's not a driver conflict).
4016 Reported by Matthew Myers.
4017 (verilog-auto-declare-nettype, verilog-insert-definition):
4018 Add verilog-auto-declare-nettype to fix declarations using
4019 `default_nettype none. Reported by Julian Gorfajn.
4020 (verilog-read-always-signals-recurse, verilog-read-decls)
4021 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4022 malformed end statement, bug325. Reported by Joshua Wise and
4024 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4025 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4026 when expanding .* in interfaces, bug320.
4027 Reported by Pierre-David Pfister.
4028 (verilog-read-module-name): Fix import statements between module
4029 name and open parenthesis, bug317.
4030 Reported by Pierre-David Pfister.
4031 (verilog-simplify-range-expression): Fix simplification of
4032 multiplications inside AUTOWIRE connections, bug303.
4033 (verilog-auto-inst-port): Support parameter expansion in
4034 multidimensional arrays.
4035 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4036 after "assert property". Reported by Julian Gorfajn.
4037 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4038 with multiplication, bug303.
4039 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4040 Reported by Jan Frode Lonnum.
4042 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4044 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4045 (hfy-shell-file-name, hfy-shell):
4046 * international/fontset.el (x-decompose-font-name): Fix typos.
4048 2011-11-29 Ken Brown <kbrown@cornell.edu>
4050 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4051 (gdb-version): Remove defvar.
4052 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4053 (gdb-gud-context-command, gdb-non-stop-handler)
4054 (gdb-current-context-command, gdb-stopped): Use it.
4055 (gdb-init-1): Enable pretty printing here.
4056 (gdb-non-stop-handler): Don't enable pretty-printing here.
4057 Check to see if the target supports non-stop mode; if not, turn off
4058 non-stop mode. Use the following.
4059 (gdb-check-target-async): New defun.
4060 (gud-watch, gdb-stopped): Fix whitespace.
4061 (gdb-get-source-file): Don't try to display the source file if
4062 `gdb-main-file' is nil.
4064 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * align.el: Try to generate fewer markers (bug#10047).
4067 (align--set-marker): New macro.
4068 (align-region): Use it.
4070 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4074 2011-11-29 Chong Yidong <cyd@gnu.org>
4076 * indent.el (indent-for-tab-command, indent-according-to-mode):
4078 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4080 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4082 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4083 aware of remote file names. (Bug#10124)
4085 2011-11-29 Chong Yidong <cyd@gnu.org>
4087 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4089 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * files.el (find-file): Don't use force-same-window (bug#10144).
4092 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4093 use pop-to-buffer if the selected window can't be used.
4094 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4096 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4098 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4101 2011-11-28 Chong Yidong <cyd@gnu.org>
4103 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4105 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4107 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4108 gdb-get-source-file-list on gdb-create-source-file-list.
4110 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4112 * whitespace.el (whitespace-newline): Use a different foreground
4113 color for 16-color light-background displays.
4115 2011-11-24 Chong Yidong <cyd@gnu.org>
4117 * window.el (display-buffer--special-action): Doc fix.
4119 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4121 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4122 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4123 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4124 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4125 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4126 (avl-tree-stack-first):
4127 * emacs-lisp/cconv.el (cconv--analyse-use):
4128 * net/gnutls.el (gnutls-negotiate): Fix typos.
4130 2011-11-24 Glenn Morris <rgm@gnu.org>
4132 * lpr.el (lpr-windows-system, lpr-lp-system):
4133 * mail/binhex.el (binhex-begin-line):
4134 * progmodes/grep.el (grep-history, grep-find-history):
4135 * textmodes/flyspell.el:
4136 * vc/pcvs-defs.el (cvs-global-menu):
4137 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4138 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4139 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4141 * net/tls.el: Fix case of "GnuTLS".
4143 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4145 * version.el (emacs-build-system): Give it a doc-string.
4147 2011-11-24 Juri Linkov <juri@jurta.org>
4149 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4151 2011-11-24 Glenn Morris <rgm@gnu.org>
4153 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4154 if called on a non-mime message just toggle the headers. (Bug#8006)
4156 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4158 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4159 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4160 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4161 (allout-rebullet-heading, allout-open-sibtopic)
4162 (allout-toggle-current-subtree-encryption)
4163 (allout-toggle-subtree-encryption, allout-encrypt-string)
4164 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4165 (allout-distinctive-bullets-string, allout-auto-activation):
4166 * window.el (window-normalize-buffer-to-display):
4167 * progmodes/verilog-mode.el (verilog-batch-indent):
4168 * textmodes/bibtex.el (bibtex-field-braces-opt)
4169 (bibtex-field-strings-opt):
4170 * vc/cvs-status.el (cvs-tree-merge):
4173 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4175 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4176 `non-essential' to t, in order to avoid remote connections.
4178 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4180 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4181 On MS-DOS and MS-Windows, compare with loaddefs.el
4184 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4186 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4188 2011-11-23 Glenn Morris <rgm@gnu.org>
4190 * paths.el (rmail-file-name): Reformat the doc-string so that it
4193 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4194 (rmail-auto-file): Ignore case in the "special" field names,
4195 as mail-fetch-field does for all others.
4197 * mail/rmail.el (rmail-forward):
4198 * mail/rmailkwd.el (rmail-set-label):
4199 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4200 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4202 * mail/rmail.el (rmail-current-message): Doc fix.
4204 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4206 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4210 2011-11-22 Glenn Morris <rgm@gnu.org>
4212 * mail/rmailmm.el (test-rmail-mime-handler)
4213 (test-rmail-mime-bulk-handler)
4214 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4216 2011-11-21 Juri Linkov <juri@jurta.org>
4218 * calc/calc.el (calc-read-key-sequence):
4219 Let-bind `input-method-function' to nil. (Bug#10018)
4221 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4223 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4224 Tell the caller that the next line needs recomputation, even
4225 though it doesn't start a sexp (bug#10094).
4227 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4231 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4234 Use force-same-window.
4236 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4238 * descr-text.el (describe-char-unicode-data):
4239 * json.el (json-string-escape):
4240 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4241 (Footnote-unicode, Footnote-style-p):
4242 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4244 2011-11-20 Chong Yidong <cyd@gnu.org>
4246 * window.el (replace-buffer-in-windows): Restore interactive spec.
4248 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4252 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4253 (byte-compile-global-not-obsolete-vars): New var.
4254 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4256 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4258 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4260 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4261 * progmodes/pascal.el (electric-pascal-equal):
4262 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4263 * xml.el (xml-substitute-special): Fix typos.
4265 2011-11-20 Glenn Morris <rgm@gnu.org>
4267 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4268 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4270 (rmail-decode-mime-charset): Mark as obsolete.
4272 * mail/rmailsum.el (rmail-message-regexp-p-1):
4273 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4274 Before using mime functions, check they are set. (Bug#10077)
4276 2011-11-19 Juri Linkov <juri@jurta.org>
4278 * info.el (Info-finder-find-node): Use `package--builtins' instead
4279 of `package-alist'. Use node names formed by the pattern "Keyword "
4280 and the keyword name.
4282 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4284 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4286 2011-11-19 Juri Linkov <juri@jurta.org>
4288 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4289 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4290 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4291 `old-history', `old-history-forward'. Add let-binding
4292 `window-selected'. Remove calls to `kill-buffer',
4293 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4294 before calling `Info-find-node', so `Info-find-node-2' will reread
4295 the Info file. Restore window positions only when `window-selected'
4298 2011-11-19 Juri Linkov <juri@jurta.org>
4300 * isearch.el (isearch-lazy-highlight-new-loop):
4301 Remove condition `(not isearch-error)'. (Bug#9918)
4303 * misearch.el (multi-isearch-search-fun): Add condition
4304 `(not bound)' to ignore lazy-highlighting search.
4305 Add the search-failed message "end of multi" when the end of
4306 multi-sequence is reached. Uncapitalize the search-failed
4307 message "Repeat for next buffer".
4309 * info.el (Info-search): Add the search-failed message
4310 "end of the manual" when the end of the manual is reached
4313 2011-11-19 Juri Linkov <juri@jurta.org>
4315 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4316 Use non-destructive `remove' instead of `delete' because
4317 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4318 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4320 2011-11-19 Juri Linkov <juri@jurta.org>
4322 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4323 to nil instead of binding `search-ring' and `regexp-search-ring'.
4326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4328 * simple.el (line-move): Force movement by logical lines for any
4329 hscrolled window, not only when auto-hscroll-mode is on.
4330 (line-move-visual): Update doc string to that effect. (Bug#10076)
4332 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4334 * language/european.el (macintosh): Define as alias for mac-roman.
4336 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4338 * mail/rmailmm.el (rmail-mime-display-header)
4339 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4340 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4341 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4342 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4343 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4345 (rmail-mime-entity-segment): To get past the tagline, move forward
4346 2 more lines, to account for the 2 empty lines that precede and
4347 follow the line with the buttons.
4348 (rmail-mime-update-tagline): Move one more line, to get past the
4349 empty line that follows the buttons in the tagline. (Bug#9520)
4351 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4353 * window.el (window-max-delta-1, window-min-delta-1)
4354 (window-min-size-1, window-state-get-1, window-state-put-1)
4355 (window-state-put-2): Use "window--" prefix.
4357 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4359 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4360 (smie-warning-count): New var.
4361 (smie-set-prec2tab): Use it.
4362 (smie-bnf->prec2): Improve warnings. Add docstring.
4363 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4364 (smie-bnf--set-class): New function.
4365 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4368 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4369 (compilation-error-properties, compilation-move-to-column):
4370 Handle compilation-first-column while in the target buffer.
4372 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4373 Don't hardcode point-min==1.
4375 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4376 (eshell-rewrite-for-command): Remove workaround.
4377 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4378 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4379 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4381 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4383 2011-11-17 Glenn Morris <rgm@gnu.org>
4385 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4386 Ignore buffer-local generated-autoload-file if it is the same
4387 as the global value. (Bug#10049)
4389 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4391 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4392 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4393 (reftex-toc-previous-heading, reftex-toc-max-level)
4394 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4395 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4396 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4397 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4398 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4399 (reftex-toc-rename-label, reftex-toc-visit-location)
4400 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4401 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4402 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4403 leaving "*toc*" only for references to the buffer.
4405 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4407 * window.el (window-resize, delete-window, split-window):
4408 Replace window-splits by window-combination-resize.
4409 * cus-start.el (window-splits): Replace by window-combination-resize.
4411 2011-11-17 Glenn Morris <rgm@gnu.org>
4413 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4414 Make bash entry derive from sh entry, not shell entry.
4416 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4418 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4419 properties of linked files. (Bug#9879)
4421 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4424 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4426 * menu-bar.el (menu-bar-file-menu):
4427 * printing.el (pr-ps-utility):
4428 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4429 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4430 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4431 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4432 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4433 (icalendar--convert-cyclic-to-ical)
4434 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4435 (icalendar--convert-ical-to-diary)
4436 (icalendar--convert-recurring-to-diary)
4437 (icalendar--convert-non-recurring-all-day-to-diary)
4438 (icalendar-import-format-sample):
4439 * progmodes/idlw-shell.el (idlwave-shell-mode):
4440 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4441 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4442 (vhdl-ps-print-init): Fix typos.
4444 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4446 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4447 FSF and collapse date sequence, obscure author/maintainer email address
4448 better, remove extra version line, track relocation of author's webpage.
4450 * progmodes/python.el (python-pdbtrack-input-prompt)
4451 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4452 regular python pdb prompts. Adjustments shamelessly taken exactly as
4453 suggested in EmacsWiki page (tiny change):
4454 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4456 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4458 * expand.el (expand-pos, expand-index, expand-point):
4459 Remove redundant info from docstring.
4460 (expand-add-abbrevs): Doc fix.
4461 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4462 (expand-sample-perl-mode-expand-list): Fix typos.
4464 * net/dbus.el (dbus-event-member-name):
4465 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4466 * term/pc-win.el (msdos-create-frame-with-faces):
4467 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4469 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4471 * window.el (split-window, window-state-get-1)
4472 (window-state-put-1, window-state-put-2): Rename occurrences of
4473 window-nest to window-combination-limit.
4474 * cus-start.el (window-nest): Rename to window-combination-limit.
4476 2011-11-16 Chong Yidong <cyd@gnu.org>
4478 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4481 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4483 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4484 `completing-read' will remove *Completions* and will preserve
4485 current-buffer for us.
4486 (tmm-add-prompt): Users of *Completions* will always (re)set its
4488 (tmm-old-comp-map): Remove.
4490 2011-11-16 Glenn Morris <rgm@gnu.org>
4492 * mail/rmailedit.el: Require rmailmm when compiling.
4493 (rmail-old-mime-state): New declaration.
4494 (rmail-edit-current-message): If editing a mime message,
4495 edit the "raw" message from the mbox buffer.
4496 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4498 2011-11-15 Glenn Morris <rgm@gnu.org>
4500 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4501 which wasn't being used. Add optional arg to force given state.
4502 (rmail-mime): Add optional arg to force given state.
4504 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4506 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4507 * frame.el (display-mm-dimensions-alist):
4508 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4509 (outline-move-subtree-down):
4510 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4511 (newsticker--treeview-do-get-node):
4512 * net/quickurl.el (quickurl-list-buffer-name):
4513 * progmodes/dcl-mode.el (dcl-mode):
4514 * progmodes/gdb-mi.el (gdb-mapcar*):
4515 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4517 2011-11-15 Glenn Morris <rgm@gnu.org>
4519 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4520 in a boolean sense, so just make it a boolean, and fix the doc.
4521 (rmail-show-mime-function, rmail-mime-feature)
4522 (rmail-require-mime-maybe): Doc fixes.
4523 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4525 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4527 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4529 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4530 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4531 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4532 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4534 2011-11-15 Glenn Morris <rgm@gnu.org>
4536 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4537 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4538 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4539 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4540 (rmail-mime, rmail-show-mime): Doc fixes.
4542 * term/ns-win.el (mode-line-frame-identification):
4543 Leave it alone. (Bug#10051)
4545 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4547 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4548 Handle empty buffers. (Bug#9978)
4550 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4552 * international/mule.el (define-charset):
4553 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4554 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4555 * progmodes/verilog-mode.el (verilog-backward-token):
4556 * textmodes/ispell.el (lookup-words):
4557 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4559 2011-11-14 Glenn Morris <rgm@gnu.org>
4561 * progmodes/executable.el
4562 (executable-make-buffer-file-executable-if-script-p):
4563 Handle file-modes returning nil.
4565 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4566 message - not necessary, and causes problems. (Bug#9831)
4568 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4570 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4572 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4573 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4574 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4576 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4578 * window.el (window-resize, delete-window): Use window-splits
4579 variable instead of function.
4580 (window-state-get-1, window-state-put-2, window-state-put):
4581 Don't deal with windows' splits status.
4583 2011-11-12 Glenn Morris <rgm@gnu.org>
4585 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4586 (apropos-documentation): Doc fixes.
4588 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4590 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4591 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4593 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * electric.el (electric-indent-post-self-insert-function): Make it
4596 possible for a char to only indent in some circumstances.
4597 (electric-indent-mode): Simplify.
4599 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4601 * window.el (windows-with-parameter): Remove unused function.
4602 (windows-at-side): Rename to window-at-side-list.
4603 (window-check, window-atom-check, window-atom-check-1)
4604 (window-side-check, window-size-ignore, window-size-fixed-1)
4605 (window-in-direction-2): Prefix with "window--".
4606 (window-tree-1): Rename to window--subtree, fix doc-string.
4608 2011-11-11 Glenn Morris <rgm@gnu.org>
4610 * subr.el (eval-after-load): If FILE is already loaded,
4611 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4613 2011-11-10 Glenn Morris <rgm@gnu.org>
4615 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4616 Call svn via vc-svn-command rather than vc-do-command.
4617 (vc-svn-command): Add --non-interactive. (Bug#9993)
4618 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4620 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4621 Add toggle-read-only. (Bug#7292)
4622 * files.el (toggle-read-only): Mention that it should only
4623 be used interactively. (Bug#10006)
4625 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4628 Adjust regexp for OCaml warnings.
4630 * electric.el (electric-pair-post-self-insert-function): Let user
4631 turn it off buffer-locally (bug#9932).
4633 * progmodes/python.el (python-beginning-of-statement):
4636 * progmodes/compile.el: Better handle TABs (bug#9749).
4637 (compilation-internal-error-properties)
4638 (compilation-next-error-function): Obey the target buffer's
4639 compilation-error-screen-columns.
4641 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4643 * progmodes/meta-mode.el: Remove obsolete comments.
4644 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4645 Fix typos in docstrings.
4647 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4649 * window.el (window-size-fixed-p): Rewrite doc-string.
4650 (window-resizable-p): Rename to window--resizable-p. Update callers.
4651 (window--resizable): New function. Make all callers of
4652 window-resizable call window--resizable instead.
4653 (window-resizable): Rewrite in terms of window--resizable.
4655 2011-11-08 Glenn Morris <rgm@gnu.org>
4657 * progmodes/delphi.el (delphi-mode-syntax-table):
4658 Let define-derived-mode define a proper syntax table. (Bug#9994)
4660 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4662 * window.el: Stay away from defsubst.
4663 (window-list-no-nils): Remove.
4664 (window-state-get-1, window-state-get): Use backquote instead.
4666 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4668 * emacs-lisp/find-func.el (find-function-read):
4669 Fix incorrect use of default argument in `completing-read'.
4671 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4673 * window.el (display-buffer-function, special-display-function):
4674 Mention display-buffer-record-window but do not mention
4675 help-setup parameter in doc-strings.
4676 (window-min-delta): Fix doc-string typo.
4678 2011-11-08 Chong Yidong <cyd@gnu.org>
4680 * window.el (window-total-height, window-total-width): Doc fix.
4681 (window-body-size): Move from C.
4682 (window-body-height, window-body-width): Move to C.
4684 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4686 * window.el: Make special-display like display-buffer-alist (bug#9532).
4687 (display-buffer--special-action): New function, morphed
4688 from display-buffer--special.
4689 (display-buffer): Use it to handle special-display-buffers at higher
4690 priority (just after display-buffer-alist).
4691 (display-buffer-fallback-action, display-buffer--other-frame-action)
4692 (pop-to-buffer-same-window): Remove display-buffer--special.
4694 2011-11-07 Glenn Morris <rgm@gnu.org>
4696 * calendar/cal-menu.el (cal-menu-set-date-title):
4697 Do nothing if not in a calendar. (Bug#9976)
4699 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * files.el (find-file): Always use selected-window.
4703 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4705 * window.el (window-combinations): Make WINDOW argument
4706 mandatory. Rewrite doc-string.
4707 (walk-window-subtree, window-atom-check, window-min-delta)
4708 (window-max-delta, window--resize-this-window)
4709 (window--resize-root-window-vertically, window-tree)
4710 (balance-windows, window-state-put): Rewrite doc-strings as to
4711 not mention the term "subwindow".
4712 (window--resize-subwindows-skip-p): Rename to
4713 window--resize-child-windows-skip-p.
4714 (window--resize-subwindows-normal): Rename to
4715 window--resize-child-windows-normal.
4716 (window--resize-subwindows): Rename to
4717 window--resize-child-windows.
4718 (window-or-subwindow-p): Rename to window--in-subtree-p.
4720 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4722 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4723 Ensure that mbox format messages end in two newlines (Bug#9974).
4725 2011-11-06 Chong Yidong <cyd@gnu.org>
4727 * window.el (window-combination-p): Function deleted; its
4728 side-effect is not used in any existing code.
4729 (window-combinations, window-combined-p): Call window-*-child
4732 2011-11-05 Chong Yidong <cyd@gnu.org>
4734 * window.el (window-valid-p): Rename from window-any-p.
4735 (window-size-ignore, window-state-get): Callers changed.
4736 (window-normalize-window): Rename from window-normalize-any-window.
4737 New arg LIVE-ONLY, replacing window-normalize-live-window.
4738 (window-normalize-live-window): Delete.
4739 (window-combination-p, window-combined-p, window-combinations)
4740 (walk-window-subtree, window-atom-root, window-min-size)
4741 (window-sizable, window-sizable-p, window-size-fixed-p)
4742 (window-min-delta, window-max-delta, window-resizable)
4743 (window-resizable-p, window-full-height-p, window-full-width-p)
4744 (window-current-scroll-bars, window-point-1, set-window-point-1)
4745 (window-at-side-p, window-in-direction, window-resize)
4746 (adjust-window-trailing-edge, maximize-window, minimize-window)
4747 (window-deletable-p, delete-window, delete-other-windows)
4748 (record-window-buffer, unrecord-window-buffer)
4749 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4750 (quit-window, split-window, window-state-put)
4751 (set-window-text-height, fit-window-to-buffer)
4752 (shrink-window-if-larger-than-buffer): Callers changed.
4754 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4756 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4757 rfc2047-decode-string.
4758 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4761 * window.el (window-body-height, window-body-width): Mention in
4762 the doc string that the return values are in frame's canonical
4765 2011-11-03 Alan Mackenzie <acm@muc.de>
4767 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4768 change in cc-engine.el.
4770 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4774 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4776 * window.el (quit-window): Call unrecord-window-buffer after
4777 showing another buffer in the window. (Bug#9937)
4778 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4780 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4782 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4783 Accept status with more than 9 shelves. (Bug#9935)
4784 Reported by Colin D Bennett <colin@gibibit.com>.
4786 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4788 * help.el (with-help-window): Don't reference
4789 temp-buffer-show-specifiers in doc-string.
4791 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4793 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4796 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4798 * whitespace.el: New version 13.2.2.
4799 (whitespace-newline-mode): Disable properly. Reported by Sarah
4802 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4804 * net/newst-treeview.el: Remove "Time-stamp".
4805 (newsticker--group-manage-orphan-feeds): Do not call
4806 newsticker--treeview-tree-update.
4807 (newsticker-treeview-update, newsticker-treeview):
4808 Call newsticker--treeview-tree-update if necessary.
4810 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4812 * window.el (window-iso-combination-p, window-iso-combined-p)
4813 (window-iso-combinations): Remove "iso-" infix.
4814 Suggested by Chong Yidong.
4815 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4816 (window-max-delta-1, window-resize, window--resize-siblings)
4817 (window--resize-this-window, adjust-window-trailing-edge)
4818 (split-window, balance-windows-1)
4819 (shrink-window-if-larger-than-buffer):
4820 * calendar/calendar.el (calendar-generate-window):
4821 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4823 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4826 in place (bug#9907).
4827 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4828 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4829 (eshell-structure-basic-command, eshell-rewrite-while-command)
4830 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4831 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4832 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4833 (eshell-do-pipelines-synchronously, eshell-eval-command):
4834 Use backquotes and prefer setq to set.
4835 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4836 (eshell-macrop): Use functionp.
4837 (eshell-do-eval): Handle multiple expressions in `while' body.
4839 2011-10-30 Chong Yidong <cyd@gnu.org>
4841 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4842 instead of set-mark (Bug#9810).
4844 2011-10-30 Chong Yidong <cyd@gnu.org>
4846 * window.el (split-window-below, split-window-right): Rename from
4847 split-window-above-each-other and split-window-side-by-side
4848 respectively. All callers changed.
4849 (split-window-sensibly, split-window-sensibly): Use them.
4850 (split-window-keep-point): Doc fix.
4852 * isearch.el: Add isearch-scroll property to split-window-below
4853 and split-window-right.
4855 * follow.el (follow-mode):
4856 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4857 * progmodes/ada-xref.el (ada-gdb-application):
4858 * emulation/vip.el (vip-buffer-in-two-windows):
4859 * image-dired.el (image-dired-dired-with-window-configuration):
4860 * dired-x.el (dired-do-find-marked-files):
4861 * dired.el (dired-pop-to-buffer):
4862 * bs.el (bs--show-with-configuration):
4863 * vc/emerge.el (emerge-setup-windows):
4864 * textmodes/two-column.el (2C-two-columns):
4865 * textmodes/reftex-toc.el (reftex-toc):
4866 * progmodes/gdb-mi.el (gdb-setup-windows):
4867 * progmodes/fortran.el (fortran-window-create):
4868 * net/newst-treeview.el (newsticker--treeview-window-init):
4869 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4870 * emulation/tpu-edt.el (tpu-gold-map):
4871 * emulation/crisp.el (crisp-mode-map):
4872 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4874 2011-10-29 Chong Yidong <cyd@gnu.org>
4876 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4878 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4880 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4881 forged Ispell output (Bug#7904).
4883 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4885 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * doc-view.el: Avoid ugly errors about not finding nil.
4888 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4889 (doc-view-dvipdf-program, doc-view-unoconv-program)
4890 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4891 Avoid nil or absolute file name as default value.
4892 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4894 2011-10-28 Alan Mackenzie <acm@muc.de>
4896 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4898 2011-10-28 Alan Mackenzie <acm@muc.de>
4900 Amend the handling of c-beginning/end-of-defun in nested declaration
4903 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4904 cc-langs.el. Change it to a defcustom.
4906 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4909 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4910 Prevent "class foo : bar" being spuriously recognized as a label.
4912 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4913 Add parameter `inclusive' (to include enclosing braces in the region).
4914 (c-widen-to-enclosing-decl-scope): New function.
4915 (c-while-widening-to-decl-block): New macro.
4916 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4917 outward for defun boundaries, and correspondingly change symbol
4918 `respect-enclosure' to `go-outward'.
4919 (c-declaration-limits): Change algorithm to report only the "innermost"
4922 2011-10-28 Deniz Dogan <deniz@dogan.se>
4924 * net/rcirc.el (rcirc-mode): Use hard newlines.
4926 2011-10-28 Alan Mackenzie <acm@muc.de>
4928 Amend to indent and fontify macros "which include their own semicolon"
4929 correctly, using the "virtual semicolon" mechanism.
4931 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4933 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4934 Recode to scan one line at a time rather than having \n and \r
4935 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4936 (c-forward-label): Amend for virtual semicolons.
4937 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4939 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4940 of the new C macros.
4942 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4943 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4944 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4945 (c-opt-cpp-macro-define): Make into a full language variable.
4946 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4947 AWK Mode (including \n, \r) removed, no longer needed.
4949 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4950 Invoke c-make-macro-with-semi-re.
4952 * progmodes/cc-vars.el (c-macro-with-semi-re):
4953 (c-macro-names-with-semicolon): New variables.
4954 (c-make-macro-with-semi-re): New function.
4956 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * vc/log-edit.el: Fill empty field rather than adding new one.
4959 (log-edit-add-field): New function.
4960 (log-edit-insert-changelog): Use it.
4962 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4964 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4966 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4969 (gdb--check-interpreter): New function.
4972 2011-10-27 Glenn Morris <rgm@gnu.org>
4974 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4975 (least-positive-float, least-negative-float)
4976 (least-positive-normalized-float, least-negative-normalized-float)
4977 (float-epsilon, float-negative-epsilon):
4978 Remove unnecessary declarations.
4980 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4981 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4982 (least-positive-float, least-negative-float)
4983 (least-positive-normalized-float, least-negative-normalized-float)
4984 (float-epsilon, float-negative-epsilon): Add doc-strings,
4985 based on those in cl.texi.
4987 * files.el (set-visited-file-name): If the major-mode changed,
4988 reload the local variables. (Bug#9796)
4990 2011-10-27 Chong Yidong <cyd@gnu.org>
4992 * subr.el (change-major-mode-after-body-hook): New hook.
4993 (run-mode-hooks): Run it.
4995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4996 Use change-major-mode-before-body-hook.
4998 * simple.el (fundamental-mode):
4999 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5000 change introducing fundamental-mode-hook.
5002 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5004 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5006 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5008 * ido.el (ido-file-name-all-completions-1): Do not require
5009 tramp.el explicitly. (Bug#7583)
5011 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5013 * progmodes/octave-mod.el:
5014 * progmodes/octave-inf.el: Update maintainer.
5016 2011-10-26 Chong Yidong <cyd@gnu.org>
5018 * subr.el (with-wrapper-hook): Rewrite doc.
5020 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5022 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5023 filenames "/method:foo:". (Bug#9793)
5025 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5030 2011-10-24 Glenn Morris <rgm@gnu.org>
5032 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5034 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5036 * notifications.el: Add the requirement of a running D-Bus session
5037 bus to the Commentary.
5039 2011-10-24 Juri Linkov <juri@jurta.org>
5041 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5042 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5045 2011-10-24 Juri Linkov <juri@jurta.org>
5047 * info.el (Info-following-node-name-re): Add newline to the list
5048 of allowed characters for leading space. (Bug#9824)
5050 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * progmodes/octave-inf.el (inferior-octave-mode-map):
5053 Fix C-c C-h binding.
5054 * progmodes/octave-mod.el (octave-help): Remove.
5056 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5058 Sync with Tramp 2.2.3.
5060 * net/tramp-cache.el (top): Pacify byte-compiler using
5061 `init-file-user' and `site-run-file'.
5063 * net/trampver.el: Update release number.
5065 2011-10-23 Chong Yidong <cyd@gnu.org>
5067 * files.el (toggle-read-only): Remove obsolete comment about
5070 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5071 for toggle-read-only. Note that this hasn't called vc-next-action
5072 since 2008-05-02, though it wasn't documented at the time.
5074 * vc/ediff-init.el (ediff-toggle-read-only-function):
5075 Use toggle-read-only.
5077 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5079 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5082 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5083 correct faulty logical expression.
5084 (c-parse-state-state, c-record-parse-state-state):
5085 (c-replay-parse-state-state): New defvar/defuns.
5086 (c-debug-parse-state): Use new functions.
5088 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5090 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5091 last fix. Use window-in-direction correctly.
5093 2011-10-21 Chong Yidong <cyd@gnu.org>
5095 * progmodes/idlwave.el (idlwave-mode):
5096 * progmodes/vera-mode.el (vera-mode): No need to set
5097 require-final-newline; that's done in prog-mode.
5098 Suggested by Stefan Monnier.
5100 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5102 * mouse.el (mouse-drag-window-above)
5103 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5104 (mouse-drag-mode-line-1, mouse-drag-header-line)
5105 (mouse-drag-vertical-line-rightward-window): Remove.
5106 (mouse-drag-line): New function.
5107 (mouse-drag-mode-line, mouse-drag-header-line)
5108 (mouse-drag-vertical-line): Call mouse-drag-line.
5109 * window.el (window-at-side-p, windows-at-side): New functions.
5111 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5113 * tar-mode.el (tar-grind-file-mode):
5114 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5116 2011-10-21 Chong Yidong <cyd@gnu.org>
5118 * progmodes/idlwave.el (idlwave-mode):
5119 * progmodes/vera-mode.el (vera-mode):
5120 Use mode-require-final-newline.
5122 2011-10-20 Glenn Morris <rgm@gnu.org>
5124 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5126 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5128 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5130 2011-10-20 Chong Yidong <cyd@gnu.org>
5132 * emulation/cua-base.el (cua-mode):
5133 * mail/footnote.el (footnote-mode):
5134 * mail/mailabbrev.el (mail-abbrevs-mode):
5135 * net/xesam.el (xesam-minor-mode):
5136 * progmodes/bug-reference.el (bug-reference-mode):
5137 * progmodes/cap-words.el (capitalized-words-mode):
5138 * progmodes/compile.el (compilation-minor-mode)
5139 (compilation-shell-minor-mode):
5140 * progmodes/gud.el (gud-tooltip-mode):
5141 * progmodes/hideif.el (hide-ifdef-mode):
5142 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5143 * progmodes/subword.el (subword-mode):
5144 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5145 * progmodes/which-func.el (which-function-mode):
5146 * term/tvi970.el (tvi970-set-keypad-mode):
5147 * term/vt100.el (vt100-wide-mode):
5148 * textmodes/flyspell.el (flyspell-mode):
5149 * textmodes/ispell.el (ispell-minor-mode):
5150 * textmodes/nroff-mode.el (nroff-electric-mode):
5151 * textmodes/paragraphs.el (use-hard-newlines):
5152 * textmodes/refill.el (refill-mode):
5153 * textmodes/reftex.el (reftex-mode):
5154 * textmodes/rst.el (rst-minor-mode):
5155 * textmodes/sgml-mode.el (html-autoview-mode)
5156 (sgml-electric-tag-pair-mode):
5157 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5158 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5159 * emulation/crisp.el (crisp-mode):
5160 * emacs-lisp/eldoc.el (eldoc-mode):
5161 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5162 minor mode behavior.
5164 2011-10-19 Juri Linkov <juri@jurta.org>
5166 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5167 the list of hard-coded chars with escape-glyph face.
5169 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5173 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5175 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5178 2011-10-19 Glenn Morris <rgm@gnu.org>
5180 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5181 Ignore ignored files. (Bug#9726)
5183 2011-10-19 Chong Yidong <cyd@gnu.org>
5185 Doc fix for minor modes, stating that an omitted argument enables
5186 the mode unconditionally when called from Lisp.
5188 * abbrev.el (abbrev-mode):
5189 * allout.el (allout-mode):
5190 * autoinsert.el (auto-insert-mode):
5191 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5192 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5193 (global-auto-revert-mode):
5194 * battery.el (display-battery-mode):
5195 * composite.el (global-auto-composition-mode)
5196 (auto-composition-mode):
5197 * delsel.el (delete-selection-mode):
5198 * desktop.el (desktop-save-mode):
5199 * dired-x.el (dired-omit-mode):
5200 * dirtrack.el (dirtrack-mode):
5201 * doc-view.el (doc-view-minor-mode):
5202 * double.el (double-mode):
5203 * electric.el (electric-indent-mode, electric-pair-mode):
5204 * emacs-lock.el (emacs-lock-mode):
5205 * epa-hook.el (auto-encryption-mode):
5206 * follow.el (follow-mode):
5207 * font-core.el (font-lock-mode):
5208 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5209 * help.el (temp-buffer-resize-mode):
5210 * hilit-chg.el (highlight-changes-mode)
5211 (highlight-changes-visible-mode):
5212 * hi-lock.el (hi-lock-mode):
5213 * hl-line.el (hl-line-mode, global-hl-line-mode):
5214 * icomplete.el (icomplete-mode):
5215 * ido.el (ido-everywhere):
5216 * image-file.el (auto-image-file-mode):
5217 * image-mode.el (image-minor-mode):
5218 * iswitchb.el (iswitchb-mode):
5219 * jka-cmpr-hook.el (auto-compression-mode):
5220 * linum.el (linum-mode):
5221 * longlines.el (longlines-mode):
5222 * master.el (master-mode):
5223 * mb-depth.el (minibuffer-depth-indicate-mode):
5224 * menu-bar.el (menu-bar-mode):
5225 * minibuf-eldef.el (minibuffer-electric-default-mode):
5226 * mouse-sel.el (mouse-sel-mode):
5227 * msb.el (msb-mode):
5228 * mwheel.el (mouse-wheel-mode):
5229 * outline.el (outline-minor-mode):
5230 * paren.el (show-paren-mode):
5231 * recentf.el (recentf-mode):
5232 * reveal.el (reveal-mode, global-reveal-mode):
5233 * rfn-eshadow.el (file-name-shadow-mode):
5234 * ruler-mode.el (ruler-mode):
5235 * savehist.el (savehist-mode):
5236 * scroll-all.el (scroll-all-mode):
5237 * scroll-bar.el (scroll-bar-mode):
5238 * server.el (server-mode):
5239 * shell.el (shell-dirtrack-mode):
5240 * simple.el (auto-fill-mode, transient-mark-mode)
5241 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5242 (line-number-mode, column-number-mode, size-indication-mode)
5243 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5244 * strokes.el (strokes-mode):
5245 * time.el (display-time-mode):
5246 * t-mouse.el (gpm-mouse-mode):
5247 * tool-bar.el (tool-bar-mode):
5248 * tooltip.el (tooltip-mode):
5249 * type-break.el (type-break-mode-line-message-mode)
5250 (type-break-query-mode):
5251 * view.el (view-mode):
5252 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5253 (global-whitespace-mode, global-whitespace-newline-mode):
5254 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5256 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5257 Fix autogenerated docstring.
5259 2011-10-19 Juri Linkov <juri@jurta.org>
5261 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5262 by checking environment variables "DESKTOP_SESSION" and
5263 "XDG_CURRENT_DESKTOP". (Bug#9779)
5265 2011-10-19 Juri Linkov <juri@jurta.org>
5267 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5268 (browse-url-chromium-program, browse-url-chromium-arguments):
5270 (browse-url-default-browser): Check for `browse-url-chromium' and
5271 call `browse-url-chromium-program'.
5272 (browse-url-chromium): New command. (Bug#9779)
5274 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5276 * facemenu.el (list-colors-duplicates): On Windows, detect more
5277 duplicates by assuming that only colors matching "^System" are
5278 special "system colors". (Bug#9722)
5280 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5282 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5283 to distinguish the author from the committer.
5285 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5287 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5289 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5291 * international/mule.el (sgml-html-meta-auto-coding-function):
5292 Add support for detecting encoding in HTML5 specified only as
5293 <meta charset="UTF-8">. Implementation just makes http-equiv and
5294 content-type parts from HTML4 encoding string optional. (Bug#9716)
5296 2011-10-18 Glenn Morris <rgm@gnu.org>
5298 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5300 2011-10-18 Chong Yidong <cyd@gnu.org>
5302 * faces.el (cursor): Doc fix.
5304 2011-10-17 Chong Yidong <cyd@gnu.org>
5306 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5308 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5310 * dirtrack.el (dirtrack): Support shell buffers with path
5311 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5313 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5315 * json.el: Bump version to 1.3 and note change in History.
5316 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5318 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5320 * comint.el (comint-insert-input, comint-send-input)
5321 (comint-get-old-input-default, comint-backward-matching-input)
5322 (comint-next-prompt): Use nil instead of `input' for field property of
5323 past user input (bug#114).
5325 * minibuffer.el (completion--replace): Inherit surrounding properties
5327 (minibuffer-complete-and-exit): Use it.
5329 * comint.el (comint--table-subvert): Quote the all-completions output
5332 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5334 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5336 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5337 window on right of selected. (Bug#9350) Reword other window
5338 entries and separate them from frame entries.
5340 2011-10-15 Glenn Morris <rgm@gnu.org>
5342 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5345 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5347 * net/network-stream.el (network-stream-open-starttls):
5348 Improve detection of failure due to lack of TLS support.
5350 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5351 putting the input text in front and in bold.
5353 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5355 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5357 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5360 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5361 unread-command-events rather than pushing yet-another event.
5363 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5365 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5366 the explanation of the possible choices. Make the options passed
5367 to completing-read shorter.
5369 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5371 * textmodes/flyspell.el (flyspell-large-region): Make sure
5372 extended character mode is used if defined (Bug#1339).
5374 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5376 * simple.el (what-cursor-position): Fix the display of the
5377 character info for LRE, LRO, RLE, and RLO characters by appending
5380 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5383 even in case of error; add debug spec; simplify data flow.
5384 (with-timeout-handler): Remove.
5386 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5388 Fix Bug#6019, Bug#9315.
5390 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5391 complete `buffer-file-name', the local file name part could look
5392 remotely (for example on VMS).
5394 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5395 `tramp-run-real-handler'.
5396 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5397 already quoted by '"'.
5399 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5400 Let `file-name-handler-alist' be nil, the local file name part
5401 could look remotely (for example on VMS).
5403 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5407 (flyspell-post-command-hook): ...to here.
5409 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5413 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5414 using completion. Protect against "slow" callers.
5415 Remove the "message hack".
5417 2011-10-11 Juri Linkov <juri@jurta.org>
5419 * isearch.el (isearch-lazy-highlight-word): New variable.
5420 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5423 2011-10-11 Glenn Morris <rgm@gnu.org>
5425 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5426 like f90-previous-statement does.
5428 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5430 * eshell/eshell.el (eshell-command): History should be saved
5431 only in interactive use, to avoid error.
5433 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * minibuffer.el (completion-file-name-table): Fix last change,
5436 i.e. ignore normal errors but not the other ones.
5438 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5440 * window.el (special-display-buffer-names)
5441 (special-display-regexps): Remove some remnants of earlier
5442 changes from doc-strings.
5443 (quit-windows-on): New function.
5445 * vc/vc.el (vc-revert, vc-rollback):
5446 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5447 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5448 (Bug#6183) (Bug#7074) (Bug#7447)
5450 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5452 * window.el (frame-auto-hide-function): Add version tag.
5455 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5460 2011-10-09 Leo Liu <sdl.web@gmail.com>
5462 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5465 2011-10-08 Glenn Morris <rgm@gnu.org>
5467 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5468 before the first code statement zero indent. (Bug#9690)
5470 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5472 * simple.el (count-words-region): Always count in the region.
5473 Report the number of lines and characters too.
5474 (count-words): New command, which counts in the buffer if the
5475 region is inactive, as count-words-region used to.
5476 (count-words--message): New function. Handle plurals.
5477 (count-lines-region): Make it an alias for count-words-region.
5479 * bindings.el (esc-map): Replace count-lines-region with
5482 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5484 * window.el (window--delete): Delete dedicated frame
5485 unconditionally when argument KILL is non-nil. (Bug#9699)
5486 (switch-to-buffer): Fix doc-string typo.
5488 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5490 * eshell/eshell.el (eshell-command): Avoid using hooks.
5492 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5494 * bindings.el ([M-left],[M-right]): Bind to left-word and
5495 right-word respectively.
5497 2011-10-07 Glenn Morris <rgm@gnu.org>
5499 * cus-start.el (debug-on-quit): Fix custom type.
5501 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5503 * subr.el (define-key-after): Clarify that the function is not
5504 useful for non-menu keymaps.
5506 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5508 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5510 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5511 in current minibuffer (Fix bug with recursive minibuffers).
5513 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5515 * progmodes/gdb-mi.el (gdb): Doc fix.
5517 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5519 * window.el (frame-auto-hide-function): New option replacing
5520 frame-auto-delete. Suggested by Stefan Monnier.
5521 (window--delete): Call frame-auto-hide-function instead of
5522 investigating frame-auto-delete.
5523 (window-point-1, set-window-point-1): New functions.
5524 (window-in-direction, record-window-buffer, window-state-get-1)
5525 (display-buffer-record-window): Use window-point-1 instead of
5527 (set-window-buffer-start-and-point): Use set-window-point-1.
5529 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5533 2011-10-05 Glenn Morris <rgm@gnu.org>
5535 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5536 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5538 2011-10-05 Leo Liu <sdl.web@gmail.com>
5540 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5541 works with buffer object.
5543 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5545 * mpc.el (mpc-tool-bar-map): Add labels.
5547 2011-10-04 Glenn Morris <rgm@gnu.org>
5549 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5551 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5553 * window.el (window--delete): New function.
5554 (frame-auto-delete): Resuscitate option.
5555 (bury-buffer, replace-buffer-in-windows)
5556 (quit-window): Rewrite using window--delete.
5557 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5558 Pass display-buffer-mark-dedicated to window--display-buffer-2
5561 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5563 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5564 returns a list (bug#9554). Add remote file name completion.
5565 * comint.el (comint--table-subvert): Curry and get quote&unquote
5566 functions as arguments.
5567 (comint--complete-file-name-data): Adjust call accordingly.
5568 * pcomplete.el (pcomplete--table-subvert): Remove.
5569 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5571 * minibuffer.el (completion-table-case-fold): Use currying.
5572 (completion--styles-type, completion--cycling-threshold-type):
5574 (completion-styles, completion-category-overrides)
5575 (completion-cycle-threshold): Use them.
5576 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5577 completion-table-case-fold.
5579 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5581 * minibuffer.el (completion-category-overrides): Fix type of styles
5582 and add more user friendly tags (bug#9660).
5584 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5587 (mule-input-method-string): New widget.
5588 (default-input-method, language-info-custom-alist): Use it.
5590 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * pcomplete.el: Require comint.
5593 (pcomplete--common-suffix): Remove.
5594 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5595 (pcomplete--table-subvert): Sync with comint--table-subvert.
5596 (pcomplete--entries): Use comint-completion-file-name-table.
5597 * comint.el (comint-unquote-filename): Simplify.
5598 (comint-completion-file-name-table): New function (bug#9616).
5599 (comint--complete-file-name-data): Use it.
5601 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5602 (pcmpl-gnu-tar-buffer): Remove.
5603 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5604 around. Make sure pcomplete-suffix-list is only changed temporarily.
5605 Don't look inside the tar's file if it's too large.
5607 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5609 * cus-edit.el (custom-mode-map):
5610 * epa.el (epa-key-list-mode-map):
5611 * man.el (Man-mode-map):
5612 * startup.el (splash-screen-keymap):
5613 * simple.el (special-mode-map): Use scroll-up-command and
5614 scroll-down-command.
5616 * progmodes/idlw-help.el (idlwave-help-mode-map):
5617 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5618 * net/newst-plainview.el (newsticker-mode-map):
5619 * emulation/ws-mode.el (wordstar-mode-map):
5620 * emulation/vi.el (vi-com-map):
5621 * calc/calc-graph.el (calc-graph-show-dumb):
5622 * term/sun.el (terminal-init-sun):
5623 * term/ns-win.el (global-map):
5624 * progmodes/grep.el (grep-mode-map):
5625 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5626 * mail/rmail.el (rmail-mode-map):
5627 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5629 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5630 custom-safe-themes as special.
5632 2011-10-01 Julien Danjou <julien@danjou.info>
5634 * notifications.el (notifications-notify): Fix docstring.
5636 2011-10-01 Per Starbäck <per@starback.se>
5638 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5640 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5642 * startup.el (command-line-1): Fix last fix by inserting
5643 initial-scratch-message into *scratch* before displaying it.
5644 (Bug#9605) and (Bug#9636)
5646 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5648 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5649 window is hscrolled, move by logical lines. (Bug#9607)
5650 (line-move-visual): Update the doc string to the above effect.
5652 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5654 * window.el (display-buffer-record-window): When WINDOW is the
5655 selected window use `point' instead of `window-point'. (Bug#9626)
5657 * startup.el (command-line-1): Use insert-before-markers when
5658 inserting initial-scratch-message. (Bug#9605)
5660 * help.el (help-window): Remove variable.
5662 2011-09-29 Glenn Morris <rgm@gnu.org>
5664 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5666 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5668 * descr-text.el (describe-char-categories): Accept category
5669 descriptions more than one line long.
5671 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * simple.el (delete-trailing-whitespace): Fix last change.
5675 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5676 Don't confuse "y => 3" as the beginning of a `y' operation.
5678 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5679 object has more than 4 slots (bug#9613).
5681 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5683 * subr.el (with-output-to-temp-buffer):
5684 * net/quickurl.el (quickurl, quickurl-browse-url):
5685 Fix typos in docstrings.
5687 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5689 * minibuffer.el (completion-styles)
5690 (completion-category-overrides): Cross reference each other in doc
5693 2011-09-27 Glenn Morris <rgm@gnu.org>
5695 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5696 to split-string. (Bug#9606)
5698 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5703 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5705 * emacs-lisp/package.el (list-packages): Fix echo area message.
5707 2011-09-27 Leo Liu <sdl.web@gmail.com>
5709 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5711 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5713 * net/dbus.el (dbus-unregister-object): Don't release services for
5714 registered signals. (Bug#9581)
5716 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5718 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5719 function that picks between cfengine 2 and 3 support
5720 automatically. Update docs accordingly.
5722 2011-09-22 Kenichi Handa <handa@m17n.org>
5724 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5726 (indian-itrans-v5-table-for-tamil): New variable.
5727 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5729 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5731 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5732 that's true if the current command involved collapsing of text.
5733 It's reset to false at the beginning of the next command.
5734 (allout-post-command-business): Move the cursor to the beginning
5735 of entry if the cursor is hidden and collapsing activity just
5738 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5740 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5741 tracking (Bug#9541).
5743 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5745 * net/newst-reader.el (newsticker-html-renderer)
5746 (newsticker-show-news): Automatically load html rendering package
5747 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5748 because w3m-fill-column is let-bound" and the error "Symbol's value
5749 as variable is void: w3m-fill-column".
5751 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5753 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5754 Release services only if they are defined. (Bug#9581)
5756 2011-09-23 Richard Stallman <rms@gnu.org>
5758 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5759 distinguish start of paragraph from start of its text.
5761 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5763 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5764 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5765 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5767 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5769 * international/mule-diag.el (mule-diag): Insert a newline after
5770 each fontset description.
5772 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5774 * simple.el (delete-trailing-whitespace):
5775 Document last change; simplify.
5777 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5779 * simple.el (delete-trailing-whitespace): Also delete
5780 extra newlines at the end of the buffer.
5782 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5783 (picture-newline): Use forward-line so as to ignore fields.
5785 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * subr.el (with-wrapper-hook): Fix edebug spec.
5789 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5794 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5796 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5797 Fix nasty bug using wrong cached values.
5799 2011-09-23 Alan Mackenzie <acm@muc.de>
5801 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5803 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5805 * window.el (pop-to-buffer): Ensure right window is selected if we
5806 chose another frame.
5808 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5810 * simple.el (what-cursor-position): Use get-char-property-change
5811 and next-single-char-property-change, to be able to show display
5812 properties that come from overlays as well as text properties.
5814 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5816 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5818 * cmuscheme.el (run-scheme, switch-to-scheme):
5819 * cus-edit.el (customize-group, custom-buffer-create)
5823 * mail/sendmail.el (mail):
5824 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5826 2011-09-22 Richard Stallman <rms@gnu.org>
5828 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5829 move back only to line beg, don't move back over blank lines.
5831 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5833 * files.el (copy-directory): Set directory attributes only in case
5834 they could be retrieved from the source directory. (Bug#9565)
5836 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5838 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5839 (hs-find-block-beginning, hs-hide-level-recursive):
5840 Ignore strings as well as comments. (Bug#9502)
5842 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5844 * progmodes/sql.el (sql-comint-postgres):
5845 Convert port number to a string. (Bug#9566)
5847 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5849 * window.el (quit-window): Undedicate window when switching to
5850 previous buffer. Reported by Thierry Volpiatto
5851 <thierry.volpiatto@gmail.com>.
5852 (special-display-popup-frame): When popping up a new frame reset
5853 its previous buffers to nil. Simplify code.
5855 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5857 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5858 and process filter, as done also in `shell-command'.
5860 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5862 * window.el (set-window-buffer-start-and-point):
5863 Call set-window-start with NOFORCE argument t.
5864 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5865 (quit-window): Reword doc-string. Handle new format of
5866 quit-restore parameter. Don't delete window if it has a
5867 previous buffer we can show instead of the present one.
5868 (display-buffer-record-window): Rewrite using a new format for
5869 the quit-restore window parameter
5870 (special-display-popup-frame, display-buffer-same-window)
5871 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5872 (display-buffer-pop-up-window, display-buffer-use-some-window):
5873 Adapt symbol passed to display-buffer-record-window.
5874 * help.el (help-window-setup): Handle new format of quit-restore
5877 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * faces.el (face-list): Fix docstring (bug#9564).
5881 * window.el (display-buffer--action-function-custom-type):
5882 Don't include internal functions in the Custom interface.
5884 2011-09-20 Juri Linkov <juri@jurta.org>
5886 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5887 (Info-forward-node, Info-backward-node, Info-next-preorder)
5888 (Info-last-preorder): Use it. (Bug#9528)
5890 2011-09-20 Juri Linkov <juri@jurta.org>
5892 * info.el (Info-last-preorder): Visit last menu item only when
5893 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5895 2011-09-20 Julien Danjou <julien@danjou.info>
5897 * password-cache.el (password-cache-remove): Remove entries even if the
5898 value is nil, so that password with a nil value (negative caching) is
5899 possible to invalidate.
5901 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5903 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5904 all whitespace around breakpoint. (Bug#9553)
5905 (f90-find-breakpoint): Only break at whitespace inside a comment.
5907 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5909 * minibuffer.el (completion-file-name-table): Keep track of errors.
5910 (completion-table-with-predicate): Handle the case where pred1 is nil.
5911 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5913 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5915 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5916 (debugger-return-value): Signal an error if the debugging context does
5917 not await any return value.
5919 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5920 * image-mode.el (image-toggle-display-text)
5921 (image-toggle-display-image): Stay away from evil `intangible'.
5923 2011-09-19 Leo Liu <sdl.web@gmail.com>
5925 * replace.el (occur-revert-arguments): Make it permanent-local.
5926 (occur-mode): Don't call font-lock-defontify.
5928 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5930 * net/ldap.el (ldap-search-internal): Don't push empty search
5933 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5937 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5939 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5940 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5942 2011-09-18 Juri Linkov <juri@jurta.org>
5944 * buff-menu.el (Buffer-menu-mode-map):
5945 * dired.el (dired-mode-map):
5946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5947 (lisp-interaction-mode-map):
5948 * emacs-lisp/package.el (package-menu-mode-map):
5949 * epa.el (epa-key-list-mode-map):
5950 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5951 (menu-bar-options-menu):
5952 * outline.el (outline-mode-menu-bar-map):
5953 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5954 * vc/vc-dir.el (vc-dir-menu-map):
5955 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5956 Capitalize non-function content words in menu item strings.
5958 * dired.el (dired-mode-map): Add menu item for
5959 `image-dired-dired-toggle-marked-thumbs'.
5961 2011-09-18 Juri Linkov <juri@jurta.org>
5963 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5964 to `isearch-case-fold-search' and restore its original value
5965 after the `isearch-mode' call.
5967 2011-09-18 Juri Linkov <juri@jurta.org>
5969 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5970 because `zgrep' returns 1 for successful matches (bug#9226).
5972 2011-09-18 Juri Linkov <juri@jurta.org>
5974 * info.el (Info-extract-menu-node-name): Check the second match
5975 for empty string (second test-case of bug#9528).
5976 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5977 intermediate nodes to the history (first test-case of bug#9528).
5979 2011-09-18 Juri Linkov <juri@jurta.org>
5981 * info.el (Info-mode-syntax-table): New variable.
5982 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5984 2011-09-18 Juri Linkov <juri@jurta.org>
5986 * info.el (Info-file-supports-index-cookies):
5987 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5988 outputs one more line for long file names (bug#4142).
5990 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5992 * newcomment.el (comment-normalize-vars): If prompting for
5993 comment-start, set comment-start-skip too (Bug#8424).
5995 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5997 * icomplete.el: Fix previous fix of Bug#5849.
5998 (icomplete-mode): Don't set completion-show-inline-help.
5999 (icomplete-minibuffer-setup): Set completion-show-inline-help
6000 locally during icompletion.
6002 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6004 * woman.el (woman2-process-escapes): Don't delete unrecognized
6007 * files.el (inhibit-first-line-modes-regexps): Add image files.
6008 (hack-local-variables-prop-line): Return nil for malformed
6009 prop-lines (Bug#9044).
6011 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6013 * net/tramp.el (top): Don't require 'shell.
6014 (tramp-methods): Fix docstring.
6015 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6016 Return complete remote file name. Handle "smb" case.
6017 Use `tramp-tmpdir', if defined for the respective method.
6018 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6020 * net/tramp-compat.el (top): Require 'shell.
6022 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6023 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6024 `tramp-current-host'.
6025 (tramp-get-remote-tmpdir): Remove.
6027 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6028 `tramp-tmpdir' entries.
6029 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6030 (tramp-smb-handle-file-attributes): Ignore errors.
6031 (tramp-smb-wait-for-output): Check also for process end.
6033 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6035 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6036 when sending QUIT (bug#9312).
6038 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6040 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6041 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6042 occur-mode-display-occurrence.
6043 (occur-edit-mode): Add usage message.
6044 (occur-cease-edit): New command.
6045 (occur-after-change-function): Use text properties to find the
6046 position of the prefix text.
6047 (occur-engine): Set stickiness of prefix text properties.
6049 2011-09-17 Glenn Morris <rgm@gnu.org>
6051 * progmodes/etags.el (complete-tag):
6052 Fix call to completion-in-region. (Bug#9526)
6054 2011-09-17 Juri Linkov <juri@jurta.org>
6056 * textmodes/ispell.el (ispell-word): Add to the error message
6057 the word, ispell program name and current dictionary (bug#9121).
6058 (ispell-tex-arg-end): Capitalize "error" in the error message.
6060 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6062 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6065 2011-09-17 Juri Linkov <juri@jurta.org>
6067 * window.el (window-safe-min-height, window-safe-min-width):
6068 Fix typos (followup to bug#9522).
6070 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6072 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6074 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6076 * simple.el (line-move): If goal-column is set, move by logical
6077 lines, not by display lines. (Bug#971)
6078 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6079 to reflect the above change.
6081 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6083 * image.el (imagemagick-register-types): Use regexp-opt.
6085 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6087 * window.el (display-buffer-base-action): Rename from
6088 display-buffer-default-action. Make default value empty.
6089 (display-buffer-overriding-action): Convert to defvar.
6090 (display-buffer-fallback-action): New var.
6092 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6094 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6096 (package--add-to-archive-contents): If there is a duplicate entry
6097 with an older version, remove it.
6098 (package-menu-mark-delete, package-menu-mark-install)
6099 (package-menu-mark-unmark): Make unused args optional.
6100 (package-menu-mark-obsolete-for-deletion):
6101 Use package-menu-get-status instead of a regexp search.
6102 (package-menu-get-status): Use tabulated-list-entry.
6103 (package-menu-mark-upgrades): New command.
6104 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6105 (package-menu-execute): Do installation before deletion.
6106 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6107 instead of checking major-mode.
6108 (package-menu--find-upgrades): New function.
6110 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6112 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6113 passwords in the log buffer.
6114 (smtpmail-process-filter): Update the process marker so that the
6115 "broken by peer" status message is inserted in the right place.
6117 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6120 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6121 bibtex-completion-at-point-function.
6122 (bibtex-completion-at-point-function): Use them.
6124 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6126 * mpc.el (mpc-constraints-tag-lookup): New function.
6127 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6128 also to browser "album|playlist".
6130 2011-09-14 Juri Linkov <juri@jurta.org>
6132 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6133 (isearch-edit-string): Use length of `isearch-string' when
6134 `isearch-fail-pos' returns nil.
6135 (isearch-message): Remove duplicate code and call
6136 `isearch-fail-pos' with arg `t'.
6138 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6140 * replace.el (occur-mode-goto-occurrence): Don't force using other
6143 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6145 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6147 * window.el (display-buffer-window): Remove.
6148 (display-buffer-record-window): Use help-setup window parameter
6149 instead of variable display-buffer-window.
6150 (display-buffer-function, special-display-buffer-names)
6151 (special-display-function): Mention help-setup parameter instead
6152 of display-buffer-window in doc-string.
6153 * help.el (help-window-setup): New argument help-window.
6154 Use help-window-setup parameter instead of display-buffer-window.
6155 Reword some messages.
6156 (with-help-window): Pass window used for displaying the buffer
6157 to help-window-setup. Don't set display-buffer-window.
6159 2011-09-13 Glenn Morris <rgm@gnu.org>
6161 * emacs-lisp/debug.el (debugger-make-xrefs):
6162 Preserve point. (Bug#9462)
6164 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6166 * window.el (window-deletable-p): Use next-frame.
6168 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6170 * window.el (window-auto-delete): Remove.
6171 (window-deletable-p): Remove argument FORCE. Don't deal with
6172 dedication and previous buffers.
6173 (switch-to-prev-buffer): Don't delete window.
6174 (delete-windows-on): Delete a window's frame if and only if the
6175 window is dedicated.
6176 (replace-buffer-in-windows): Delete buffer's window or frame if
6177 and only if window is dedicated.
6178 (quit-window): Handle quit-restore as before last change.
6179 (bury-buffer): Delete window only if window-deletable-p returns t.
6181 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6183 * window.el (window-deletable-p): Never delete the last frame on a
6186 2011-09-13 Glenn Morris <rgm@gnu.org>
6188 * help.el (describe-key-briefly): Copy previous standard-output change.
6190 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6192 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6194 2011-09-13 Glenn Morris <rgm@gnu.org>
6196 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6197 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6199 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6201 * dired-aux.el (dired-mark-read-string): Don't return default
6202 value on empty input (Bug#9361).
6203 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6204 Omit initial minibuffer contents.
6205 (dired-do-chmod): Signal an error on empty input.
6206 (dired-mark-read-string): Don't return default on empty input.
6208 * files.el (file-modes-symbolic-to-number): Doc fix.
6210 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * international/mule-cmds.el (ucs-completions): Remove.
6213 (read-char-by-name): Use complete-with-action instead; add metadata.
6215 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6217 * window.el (display-buffer--action-function-custom-type)
6218 (display-buffer--action-custom-type): New vars.
6219 (display-buffer-alist, display-buffer-default-action)
6220 (display-buffer-overriding-action): Add defcustom types.
6222 * frame.el (delete-other-frames): Doc fix (Bug#276).
6224 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6228 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6230 Change modes that used same-window-* vars to use switch-to-buffer.
6232 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6233 Use switch-to-buffer.
6235 * cus-edit.el (customize-group, custom-buffer-create)
6236 (customize-browse, custom-buffer-create-other-window):
6237 Use switch-to-buffer or switch-to-buffer-other-window.
6239 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6240 (Info-prev, Info-up, Info-speedbar-goto-node)
6241 (info-display-manual): Use switch-to-buffer.
6242 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6244 * mail/sendmail.el (mail): Use switch-to-buffer.
6245 (mail-recover): Use switch-to-buffer-other-window.
6247 * cmuscheme.el (run-scheme, switch-to-scheme):
6250 * net/rlogin.el (rlogin):
6251 * net/telnet.el (telnet, rsh):
6252 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6254 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6256 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6258 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6260 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6261 so don't mention it (bug#9301).
6262 (dired-sort-toggle-or-edit): Clarify string further.
6264 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6265 match `x', `w32' and `ns', like the manual says (bug#9029).
6267 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6268 (process-kill-buffer-query-function): Mention the buffer name in
6271 * image-mode.el (image-next-line): The line parameter is mandatory
6274 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6275 which can be useful (bug#9301).
6277 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6279 * subr.el (match-string): Mention that the current buffer should
6280 be the same as the search was done in (bug#9282).
6282 * facemenu.el: Disable the remove-* commands if the mark isn't
6285 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6287 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6289 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6291 * replace.el (occur-mode-goto-occurrence)
6292 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6295 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6298 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6299 special-display and same-window variables.
6300 (mail-other-window): Use switch-to-buffer-other-window.
6301 (mail-other-frame): USe switch-to-buffer-other-frame.
6303 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6304 Use display-buffer-other-frame.
6305 (gdb-display-gdb-buffer): Use pop-to-buffer.
6307 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6309 * progmodes/python.el: Don't set same-window-buffer-names.
6311 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6313 * window.el (display-buffer-alist): Add *Python*.
6315 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6317 * window.el (display-buffer-alist): Add entry for buffers
6318 previously handled same-window-*.
6319 (display-buffer-alist, display-buffer-default-action)
6320 (display-buffer-overriding-action): Mark as risky.
6321 (display-buffer-alist): Document action function changes.
6322 (display-buffer--same-window-action)
6323 (display-buffer--other-frame-action): New variables.
6324 (switch-to-buffer, display-buffer-other-frame): Use them.
6325 (display-buffer): Rename reuse-frame entry to reusable-frames.
6326 (display-buffer-reuse-selected-window): Function deleted.
6327 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6328 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6329 (display-buffer-special): New function.
6330 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6331 display-buffer-reuse-or-pop-window. Split off special-display
6332 part into display-buffer-special.
6333 (display-buffer-use-some-window): Don't perform any special
6334 pop-up-frames handling.
6335 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6336 (display-buffer--maybe-same-window): Rename from
6337 display-buffer-maybe-same-window.
6339 * info.el: Don't set same-window-regexps.
6340 (info-setup): New function.
6341 (info-other-window, info): Call it.
6343 * cus-edit.el: Don't set same-window-regexps.
6344 (customize-group): New argument.
6345 (customize-group-other-window): Use it.
6346 (customize-face, customize-face-other-window): Likewise.
6347 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6351 * progmodes/gud.el: Don't set same-window-regexps.
6357 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6359 2011-09-10 Juri Linkov <juri@jurta.org>
6361 * isearch.el (isearch-edit-string): Remove obsolete mention of
6362 `C-w' (`isearch-yank-word-or-char') from docstring.
6363 (isearch-query-replace): Fix typo in docstring (bug#9466).
6365 2011-09-10 Juri Linkov <juri@jurta.org>
6367 * paren.el (show-paren-function): Don't show escaped parens.
6368 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6370 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6372 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6373 (mm-default-file-encoding): Remove autoload forms, they are
6374 replaced with autoload cookies in mml.el and mm-encode.el.
6375 (mail-add-attachment): New command.
6376 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6377 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6379 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6381 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6383 * simple.el (count-words-region): Use buffer if there's no region
6386 2011-09-09 Juri Linkov <juri@jurta.org>
6388 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6389 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6390 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6392 2011-09-09 Alan Mackenzie <acm@muc.de>
6394 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6395 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6397 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6399 Fix for Savannah bug#9392.
6400 * simple.el (mail-encode-mml): New defvar.
6402 * mail/rmail.el (mail-encode-mml): Add a defvar.
6403 (rmail-enable-mime-composing): Default to t.
6404 (rmail-forward): Use MIME method of forwarding only if both
6405 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6406 Set mail-encode-mml non-nil if the MIME method was used.
6408 * mail/sendmail.el (mml-to-mime): Add autoload form.
6409 (mail-encode-mml): Add a defvar.
6410 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6412 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6413 message through mml-to-mime, and reset mail-encode-mml to nil.
6415 2011-09-09 Glenn Morris <rgm@gnu.org>
6417 * woman.el (woman-if-body): When processing an .el block,
6418 do not delete the next .el block as well. (Bug#9447)
6419 (woman-special-characters): Add oq, cq, and hy characters.
6421 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6423 * window.el (window-deletable-p): Make sure window is live before
6424 invoking window-prev-buffers.
6426 2011-09-08 Leo Liu <sdl.web@gmail.com>
6428 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6430 2011-09-08 Juri Linkov <juri@jurta.org>
6432 * progmodes/compile.el (compilation-environment): Make it
6433 a defcustom (bug#8340).
6435 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6437 * window.el (frame-auto-delete): Rename to window-auto-delete.
6438 Make it control auto-deletion of windows and/or frames.
6439 (window-deletable-p): New argument FORCE. Rewrite conditions
6440 for deleting window/frame. (Bug#9419)
6441 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6442 Rewrite handling of case when window/frame can be deleted.
6443 (delete-windows-on): Call window-deletable-p with new FORCE
6444 argument t. (Bug#9456)
6446 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6448 * help-mode.el (help-mode): Restore autoload.
6450 2011-09-07 Juri Linkov <juri@jurta.org>
6452 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6453 `compilation-environment'. Set buffer-local
6454 `compilation-environment' to `thisenv' later after (funcall mode).
6457 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6458 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6459 instead of replacing its value. (Bug#8340)
6461 2011-09-07 Juri Linkov <juri@jurta.org>
6463 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6464 based on text properties put by `grep-filter' instead of matching
6466 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6467 to the value of `grep-error-screen-columns' (bug#9438).
6469 2011-09-07 Juri Linkov <juri@jurta.org>
6471 * simple.el (next-error-highlight, next-error-highlight-no-select):
6474 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6476 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6477 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6479 2011-09-07 Leo Liu <sdl.web@gmail.com>
6481 * net/rcirc.el (rcirc-mode): Conditionally initialize
6484 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * emacs-lisp/find-func.el (find-function-C-source): Only set
6487 find-function-C-source-directory after checking that we found a source
6488 file there (bug#9440).
6490 2011-09-06 Alan Mackenzie <acm@muc.de>
6492 * isearch.el (isearch-other-meta-char): Wherever a key list is
6493 unread, "unread" the prefix arg, too. This fixes bug #8901.
6495 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6497 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6499 2011-09-05 Juri Linkov <juri@jurta.org>
6501 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6503 2011-09-05 Juri Linkov <juri@jurta.org>
6505 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6506 keeping point where processing of grep matches begins, and
6507 continue to delete remaining escape sequences from the same point.
6508 (grep-filter): Make leading zero optional in "0?1;31m" because
6509 git-grep emits "\033[1;31m" escape sequences unlike expected
6510 "\033[01;31m" as GNU Grep does (bug#9408).
6511 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6513 2011-09-05 Juri Linkov <juri@jurta.org>
6515 * subr.el (y-or-n-p): Capitalize "yes".
6517 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6519 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6520 `tramp-cache-unload-hook' where appropriate.
6521 (tramp-methods): Rename `tramp-remote-sh' to
6522 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6523 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6525 * net/tramp-sh.el (top): Don't require 'shell.
6526 (tramp-methods): Add `tramp-remote-shell' and
6527 `tramp-remote-shell-args' entries.
6528 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6529 (tramp-sh-handle-shell-command): Remove.
6530 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6531 Use `tramp-remote-shell'.
6533 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6535 * mail/sendmail.el (sendmail-query-once-function): Delete.
6536 (sendmail-query-once): Save directly to send-mail-function.
6537 Update message-send-mail-function too.
6539 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6541 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6543 * progmodes/python.el (python-mode-map): Use correct function to
6544 start python interpreter from menu-bar (as reported by Geert
6546 (inferior-python-mode-map): Fix typo.
6547 (python-shell-map): Remove.
6549 2011-09-03 Deniz Dogan <deniz@dogan.se>
6551 * net/rcirc.el (rcirc-print): Simplify code for
6552 rcirc-scroll-show-maximum-output. There is no need to walk
6553 through all windows to find the right one.
6555 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6557 * help.el (help-return-method): Doc fix.
6559 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6561 * window.el (window-deletable-p): Don't return a non-nil value
6562 when there's a buffer that was shown in the window before.
6564 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6565 Set window's previous buffers to nil.
6567 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6569 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6570 newline before and after the tag line, so it doesn't interfere
6571 with determining the paragraph direction of bidirectional text.
6573 2011-09-03 Leo Liu <sdl.web@gmail.com>
6575 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6577 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6579 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6580 (pop-to-buffer): Change interactive spec. Pass second argument
6581 directly to display-buffer.
6582 (display-buffer): Fix interactive spec. Use functionp to
6583 distinguish between a function and a list of functions.
6585 * abbrev.el (edit-abbrevs):
6586 * arc-mode.el (archive-extract):
6587 * autoinsert.el (auto-insert):
6588 * bookmark.el (bookmark-bmenu-list):
6589 * files.el (find-file):
6590 * view.el (view-buffer):
6591 * progmodes/compile.el (compilation-goto-locus):
6592 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6594 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6596 * window.el (display-buffer-alist): Doc fix.
6597 (display-buffer): Add docstring. Don't treat
6598 display-buffer-default specially.
6599 (display-buffer-reuse-selected-window)
6600 (display-buffer-same-window, display-buffer-maybe-same-window)
6601 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6602 (display-buffer-pop-up-window)
6603 (display-buffer-reuse-or-pop-window)
6604 (display-buffer-use-some-window): New functions.
6605 (display-buffer-default-action): Use them.
6606 (display-buffer-default): Delete.
6607 (pop-to-buffer-1): Fix choice of actions.
6609 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * minibuffer.el (completion--insert-strings): Don't get confused by
6612 completion entries that end with an LF char.
6614 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6616 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6618 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6620 * window.el (display-buffer): Restore interactive spec.
6621 (display-buffer-same-window, display-buffer-other-window):
6623 (pop-to-buffer-1): New function. Use the above.
6624 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6625 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6627 * view.el (view-buffer-other-window, view-buffer-other-frame):
6628 Just use pop-to-buffer.
6630 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6632 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6634 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6636 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6638 2011-08-31 Richard Stallman <rms@gnu.org>
6640 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6641 of the separation of rmail-view-buffer from rmail-buffer.
6642 If you say no to "replace original", the decrypt is in the
6643 view buffer. If you say yes, the decrypt goes into the
6646 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6648 * window.el (display-buffer-window): Rewrite doc-string.
6649 (display-buffer-record-window): New function.
6650 (display-buffer-macro-specifiers)
6651 (display-buffer-even-window-sizes, display-buffer-set-height)
6652 (display-buffer-set-width, display-buffer-in-window)
6653 (display-buffer-reuse-window, display-buffer-split-specifiers)
6654 (display-buffer-side-specifiers, display-buffer-split-window-1)
6655 (display-buffer-split-window, display-buffer-split-atom-window)
6656 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6657 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6658 (display-buffer-other-window-means-other-frame)
6659 (display-buffer-normalize-special)
6660 (display-buffer-normalize-default)
6661 (display-buffer-normalize-argument)
6662 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6663 (display-buffer-normalize-specifiers, display-buffer-frame)
6664 (display-buffer-same-window, display-buffer-same-frame)
6665 (display-buffer-other-window)
6666 (display-buffer-same-frame-other-window)
6667 (display-buffer-other-frame, pop-to-buffer-same-window)
6668 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6669 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6670 (switch-to-buffer-same-frame)
6671 (switch-to-buffer-other-window-same-frame)
6672 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6673 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6674 (display-buffer-alist-set): Remove.
6675 (display-buffer-function, special-display-buffer-names)
6676 (special-display-regexps, special-display-function):
6677 In doc-string refer to display-buffer-window and quit-restore
6679 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6680 (special-display-frame-alist, special-display-popup-frame)
6681 (same-window-buffer-names, same-window-regexps, same-window-p)
6682 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6683 (split-window-preferred-function, split-height-threshold)
6684 (split-width-threshold, window-splittable-p)
6685 (split-window-sensibly, window--try-to-split-window)
6686 (window--frame-usable-p, even-window-heights)
6687 (window--even-window-heights, window--display-buffer-1)
6688 (window--display-buffer-2, display-buffer-other-frame):
6689 Restore old Emacs 23 code, order and doc-strings where applicable.
6690 (display-buffer-default, display-buffer-assq-regexp): New functions.
6691 (display-buffer-alist): Rewrite doc-string.
6692 (display-buffer-default-action)
6693 (display-buffer-overriding-action): New variables.
6694 (display-buffer, switch-to-buffer): Rewrite.
6695 (pop-to-buffer): Restore Emacs 23 behavior but use
6696 window-normalize-buffer-to-display.
6697 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6698 Restore Emacs 23 behavior but use
6699 window-normalize-buffer-to-switch-to.
6700 (pop-to-buffer-same-window): Rewrite.
6701 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6702 Rewrite using Emacs 23 options.
6704 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6706 * net/tramp.el (tramp-root-regexp): Remove.
6707 (tramp-completion-file-name-regexp-unified)
6708 (tramp-completion-file-name-regexp-separate)
6709 (tramp-completion-file-name-regexp-url): Don't use leading volume
6710 letter on win32 systems. (Bug#5303, Bug#9311)
6711 (tramp-drop-volume-letter): Simplify definition.
6712 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6714 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6719 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6721 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6723 2011-08-29 Juri Linkov <juri@jurta.org>
6725 * isearch.el (isearch-done): Don't display message "Mark saved"
6726 when arg `edit' is non-nil to prevent its flicker in the echo area.
6728 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6730 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6731 obsolete packages for deletion.
6733 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6735 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6736 (help-mode): Derive help-mode from special-mode. Don't invoke
6737 view-mode from help-mode.
6738 (help-xref-override-view-map): Remove.
6739 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6740 view-mode is not used anymore.
6742 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6744 * server.el (server-port): Doc fix.
6746 * cus-theme.el (custom-theme-choose-mode): Inherit from
6747 special-mode (Bug#9124).
6748 (custom-theme-choose-mode-map): Add special-mode to parent.
6750 2011-08-28 Alan Mackenzie <acm@muc.de>
6752 * progmodes/cc-fonts.el
6753 (c-make-font-lock-BO-decl-search-function): New function.
6754 (c-basic-matchers-after - "Fontify the clauses after various
6755 keywords"): Extract the three keyword lists for the 3 erroneous
6756 constructs from the list of four, and use the new function above
6757 in place of an old one.
6759 2011-08-28 Deniz Dogan <deniz@dogan.se>
6761 * net/rcirc.el (rcirc-insert-prev-input)
6762 (rcirc-insert-next-input): Remove unused argument.
6764 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6768 2011-08-27 Alan Mackenzie <acm@muc.de>
6770 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6771 handle function pointer parameters properly.
6773 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6775 * window.el (display-buffer-reuse-window): Fix case where
6776 selected window was reused with non-nil OTHER-WINDOW argument.
6779 2011-08-27 Deniz Dogan <deniz@dogan.se>
6781 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6782 oftc's NickServ messages.
6784 2011-08-27 Glenn Morris <rgm@gnu.org>
6786 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6788 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6790 * emacs-lisp/package.el (package-install): Call package-initialize
6791 if called interactively.
6793 2011-08-26 Leo Liu <sdl.web@gmail.com>
6795 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6797 2011-08-25 Juri Linkov <juri@jurta.org>
6799 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6800 `search-whitespace-regexp' (bug#9364).
6802 2011-08-25 Juri Linkov <juri@jurta.org>
6804 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6805 `regexp-search-ring' to their global values to protect from
6806 updating by `read-from-minibuffer' (bug#9185).
6808 2011-08-25 Juri Linkov <juri@jurta.org>
6810 * textmodes/ispell.el (ispell-command-loop): Add newline
6811 at the end of the "Use option `i'..." line.
6813 2011-08-25 Juri Linkov <juri@jurta.org>
6815 * battery.el (display-battery-mode): If `battery-status-function'
6816 or `battery-mode-line-format' is nil, display the message and set
6817 `display-battery-mode' to nil (bug#9363).
6819 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6821 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6822 bidi-string-mark-left-to-right; they are unnecessary now.
6824 2011-08-25 Deniz Dogan <deniz@dogan.se>
6826 * net/quickurl.el: Documentation typo fixes.
6828 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6830 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6832 2011-08-25 Glenn Morris <rgm@gnu.org>
6834 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6836 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6837 (smtpmail-via-smtp): Handle nil response from smtp.
6839 2011-08-24 Juri Linkov <juri@jurta.org>
6841 * proced.el (proced-marked): Inherit from `error' instead of
6842 `font-lock-warning-face'.
6844 * ibuffer.el (ibuffer-marked-face): Change default face from
6845 `font-lock-warning-face' to `warning'.
6846 (ibuffer-deletion-face): Change default face from
6847 `font-lock-type-face' to `error'.
6849 * battery.el (battery-update): Use the face `error' instead of
6850 `font-lock-warning-face' (bug#6117).
6852 2011-08-24 Juri Linkov <juri@jurta.org>
6854 * faces.el (success): Change face color from "Green3" to
6855 "ForestGreen" on light background (bug#9353).
6857 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6859 * window.el (quit-window): Rename from quit-restore-window.
6860 Use same arglist as old quit-window.
6861 (frame-auto-delete): Doc fix.
6863 * view.el (view-mode-exit): Use quit-window.
6865 2011-08-24 Juri Linkov <juri@jurta.org>
6867 * isearch.el (isearch-ring-adjust1): Start visiting previous
6868 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6869 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6870 for empty search string (when the last search string is reused
6871 automatically) to adjust the isearch ring to the last element and
6872 prepare the correct index for further M-p commands (bug#9185).
6874 2011-08-24 Kenichi Handa <handa@m17n.org>
6876 * international/ucs-normalize.el: If decomposition property of
6877 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6879 (nfd, nfkd): Likewise.
6881 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6884 from process filters aren't reliably transmitted to the surrounding
6885 accept-process-output.
6886 (mpc-proc-check): New function.
6887 (mpc-proc-sync): Use it (bug#8293)
6889 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6892 Add compatibility functions (bug#9313).
6894 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6896 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6898 * international/uni-bidi.el: Regenerate.
6900 2011-08-23 Kenichi Handa <handa@m17n.org>
6902 * international/charprop.el:
6903 * international/uni-bidi.el:
6904 * international/uni-category.el:
6905 * international/uni-combining.el:
6906 * international/uni-comment.el:
6907 * international/uni-decimal.el:
6908 * international/uni-decomposition.el:
6909 * international/uni-digit.el:
6910 * international/uni-lowercase.el:
6911 * international/uni-mirrored.el:
6912 * international/uni-name.el:
6913 * international/uni-numeric.el:
6914 * international/uni-old-name.el:
6915 * international/uni-titlecase.el:
6916 * international/uni-uppercase.el: Regenerate.
6918 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6920 * help.el (help-window-setup): Fix message displayed when other
6921 window is reused. (Bug#9341)
6923 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6926 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6928 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6930 * shell.el (shell-parse-pcomplete-arguments): New function.
6931 (shell-completion-vars): Use it instead (bug#9160).
6933 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6935 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6936 strings and comments (bug#9333).
6938 * emacs-lisp/debug.el (debug-arglist): New function.
6939 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6940 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6942 2011-08-22 Juri Linkov <juri@jurta.org>
6944 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6945 Revert regexp that highlights output switches to its old
6946 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6948 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6949 to check for empty output (bug#9226).
6951 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6953 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6954 symbol-constituent as the default, as that stops font-lock from
6955 working properly (Bug#8843).
6957 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6959 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6960 `coding-system-for-*' around the process open call to avoid
6961 auth-source side effects.
6962 (smtpmail-try-auth-methods): Expand the secret password.
6963 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6966 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6968 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6970 * emacs-lisp/find-func.el (find-function-noselect): New arg
6973 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6974 signal an error for built-in functions (Bug#6664).
6976 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6979 (smtpmail-try-auth-methods): Use it.
6981 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6983 * font-lock.el (font-lock-fontify-region)
6984 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6985 (font-lock-default-unfontify-buffer)
6986 (font-lock-default-fontify-region)
6987 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6989 * progmodes/compile.el (compilation-error-properties):
6990 Fix confusion between file struct and message struct (Bug#9319).
6991 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6994 * net/browse-url.el (browse-url-firefox): Don't call
6995 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6997 2011-08-20 Glenn Morris <rgm@gnu.org>
6999 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7001 * tutorial.el (tutorial--default-keys): Update some default bindings.
7003 * files.el (hack-local-variables): Fully ignore case for "mode:".
7005 2011-08-20 Alan Mackenzie <acm@muc.de>
7007 Resolve invalid use of a regexp in regexp-opt.
7009 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7010 detection for a java annotation.
7012 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7013 detection for a java annotation.
7015 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7017 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7019 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7021 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7024 2011-08-20 Alan Mackenzie <acm@muc.de>
7026 Fontify CPP expressions correctly when starting in the middle of
7027 such a construct. Mainly for when jit-lock etc. starts a chunk
7030 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7032 (c-make-font-lock-search-form): New function, extracted from
7033 c-make-font-lock-search-function.
7034 (c-make-font-lock-search-function): Use the above function.
7035 (c-make-font-lock-context-search-function): New function.
7036 (c-cpp-matchers): Enhance the preprocessor expression case with
7038 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7039 which takes an expression.
7041 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7043 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7045 * window.el (display-buffer-reuse-window)
7046 (display-buffer-pop-up-window): Don't reuse or split a side
7049 2011-08-19 Glenn Morris <rgm@gnu.org>
7051 * files.el (hack-local-variables-prop-line, hack-local-variables):
7052 Downcase "Mode:". (Bug#9331)
7054 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7056 * international/characters.el: Add L and R categories.
7058 * subr.el (bidi-string-mark-left-to-right): Rename from
7059 string-mark-left-to-right. Use category search.
7061 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7063 2011-08-18 Juri Linkov <juri@jurta.org>
7065 * faces.el (error, warning, success): New faces with definitions
7066 copied from old default values of `font-lock-warning-face',
7067 `compilation-warning', `compilation-info' (bug#6117).
7069 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7071 * progmodes/compile.el (compilation-error): Inherit from `error'.
7072 (compilation-warning): Inherit from `warning'.
7073 (compilation-info): Inherit from `success'.
7075 * dired.el (dired-marked): Inherit from `warning'.
7076 (dired-flagged): Inherit from `error'.
7078 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080 * mail/smtpmail.el (auth-source): Require to avoid problems with
7081 binding variables (bug#9298). Also clean up some unused
7084 * net/network-stream.el (network-stream-open-starttls):
7085 Support using starttls.el without using gnutls-cli.
7087 2011-08-17 Juri Linkov <juri@jurta.org>
7089 * progmodes/grep.el (rgrep): Handle the case when
7090 `grep-find-command' is a cons cell (bug#9278).
7092 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7094 * window.el (display-buffer-pop-up-frame): Run frame creation
7095 function with BUFFER current (as special-display-popup-frame
7096 does). Reported by Drew Adams.
7098 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7100 * epa-mail.el: Simplify GnuPG group expansion using
7102 (epa-mail-group-alist, epa-mail-group-modtime)
7103 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7104 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7105 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7108 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7110 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7112 2011-08-16 Alan Mackenzie <acm@muc.de>
7114 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7115 Correct, to avoid the inside of macros.
7117 2011-08-16 Richard Stallman <rms@gnu.org>
7119 * epa-mail.el: Handle GnuPG group definitions.
7120 (epa-mail-group-alist, epa-mail-group-modtime)
7121 (epa-mail-gnupg-conf-file): New variables.
7122 (epa-mail-parse-groups, epa-mail-sync-groups)
7123 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7124 (epa-mail-expand-recipients): New functions.
7125 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7127 * mail/rmail.el (rmail-epa-decrypt): New command.
7129 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7130 Don't bind buffer-read-only, just inhibit-read-only.
7131 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7132 (epa-decrypt-armor-in-region): Make error message clearer.
7134 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7136 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7137 and "a2b" to "ab" for `prefix'.
7139 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7141 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7143 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7144 Fourquet (Bug#8804).
7146 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7148 * startup.el (argi): Declare as global variable (bug#9275).
7150 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7152 * subr.el (string-mark-left-to-right): Search the entire string
7153 for RTL script, not just the terminating character. Doc fix.
7155 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7159 (js--regexp-literal, js-syntax-propertize-function): Remove.
7160 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7161 (js-mode-map): Don't rebind electric keys.
7162 (js-insert-and-indent): Remove.
7163 (js-mode): Setup electric-layout and electric-indent instead.
7165 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7167 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7169 * epa.el (epa-progress-callback-function): Fix the logic of
7170 displaying progress.
7171 * epa-file.el (epa-file-insert-file-contents): Make progress
7172 display more user-friendly.
7173 (epa-file-write-region): Ditto.
7175 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7177 * subr.el (string-mark-left-to-right): New function.
7179 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7180 Use string-mark-left-to-right.
7181 (list-buffers-noselect): Caller changed.
7183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7184 Use string-mark-left-to-right.
7185 (tabulated-list-print): Recenter after moving point.
7187 2011-08-10 Juri Linkov <juri@jurta.org>
7189 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7190 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7191 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7193 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7195 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7198 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7200 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7201 character. (Bug#6594)
7203 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7205 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7206 (image-dired--with-db-file): New macro.
7207 (image-dired-write-tags, image-dired-remove-tag)
7208 (image-dired-create-gallery-lists, image-dired-write-comments)
7209 (image-dired-get-comment, image-dired-mark-tagged-files)
7210 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7211 (image-dired-gallery-generate): Use insert-file-contents.
7213 * time.el (display-time-world-list, display-time-world-display):
7214 * time-stamp.el (time-stamp-string):
7215 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7216 set-time-zone-rule (Bug#7337).
7218 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7220 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7221 (epg-error-to-string, epg-errors-to-string): New function.
7222 (epg-wait-for-completion): Reverse errors list.
7223 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7224 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7225 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7226 (epg-sign-keys, epg-generate-key-from-file)
7227 (epg-generate-key-from-string): Format errors by using
7228 epg-errors-to-string (bug#9255).
7229 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7231 2011-08-07 Juri Linkov <juri@jurta.org>
7233 * faces.el (list-faces-display): Remove extra angle bracket
7234 from `help-mode-map'.
7236 * info.el (Info-history-toc-nodes): Doc fix.
7238 * longlines.el (longlines-mode): Doc fix.
7240 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7243 of statements and in a few more cases (bug#9183).
7245 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7247 (cl-transform-lambda): Use them (bug#9239).
7249 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7251 * window.el (display-buffer-same-window)
7252 (display-buffer-same-frame, display-buffer-other-window)
7253 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7254 (pop-to-buffer-other-window)
7255 (pop-to-buffer-same-frame-other-window)
7256 (pop-to-buffer-other-frame): Make them defuns.
7257 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7259 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * subr.el (make-composed-keymap): Move from C. Change calling
7262 convention, and improve docstring to bring attention to a subtle point.
7263 * minibuffer.el (completing-read-default): Adjust accordingly.
7265 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7267 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7268 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7270 * net/trampver.el: Update release number.
7272 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7274 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7277 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7279 * mail/sendmail.el (sendmail-query-once): Restore the current
7280 buffer after querying (bug#9074).
7282 * dired.el (dired-flagged): Use different faces for marked and
7283 flagged files (bug#6117).
7285 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7288 * ido.el (ido-mode): Switch off the message if called
7291 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7292 before 587, since it appears that that's more likely to work for
7295 * cus-edit.el (custom-file): When running under emacs -q, always
7296 refuse to save the customizations, even if the .emacs file doesn't
7299 * info.el: Remove the `Info-beginning-of-buffer' function
7302 * net/network-stream.el (network-stream-open-starttls):
7303 Use `starttls-available-p' to see whether starttls.el can be used.
7305 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7307 * window.el (display-buffer-in-window): Don't set dedicated status
7308 of window here (Bug#9215).
7309 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7310 (display-buffer-pop-up-side-window)
7311 (display-buffer-in-side-window): Set dedicated status of window here.
7313 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7316 before binding generated-autoload-file.
7318 2011-08-01 Deniz Dogan <deniz@dogan.se>
7320 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7322 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7324 Sync with Tramp 2.2.2.
7326 * net/trampver.el: Update release number.
7328 2011-07-30 Juri Linkov <juri@jurta.org>
7330 * dired-aux.el (dired-touch-initial): Remove function.
7331 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7332 current time, and `default' to the last modification time of the
7333 current marked file (bug#6887).
7335 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7337 * simple.el (goto-line): Use string-to-number to provide a
7338 numeric argument to read-number (bug#9163).
7340 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7342 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7343 connection process, it could be nil.
7345 2011-07-27 Leo Liu <sdl.web@gmail.com>
7347 Simplify url handling in rcirc-mode.
7349 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7350 (rcirc-browse-url-at-mouse): Remove.
7351 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7353 2011-07-26 Alan Mackenzie <acm@muc.de>
7355 Fontify bitfield declarations properly.
7357 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7358 (c-symbol-chars): Now exported as a lang variable.
7359 (c-not-primitive-type-keywords): New lang variable.
7361 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7362 QT keyword "more" to prevent "more slots: ...." being spuriously
7363 parsed as a bitfield declaration.
7365 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7366 Refactor and enhance to handle bitfield declarations.
7367 (c-punctuation-in): New function.
7368 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7369 declarations properly.
7371 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7373 * calendar/icalendar.el (icalendar--all-events): Take care of
7374 multiple vcalendars in a single file.
7375 (icalendar--convert-float-to-ical): Checkdoc fixes.
7377 2011-07-25 Deniz Dogan <deniz@dogan.se>
7379 * image.el (insert-image): Clarifying docstring.
7381 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7383 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7384 `tramp-send-command-and-check' if there is no error.
7385 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7387 2011-07-22 Alan Mackenzie <acm@muc.de>
7389 Prevent cc-langs.elc being loaded at run time.
7391 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7394 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7395 "(require 'cc-langs)". Quote a form so it will evaluate at
7396 (cc-mode's) compilation time.
7398 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7400 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7403 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7405 * window.el (display-buffer-pop-up-window)
7406 (display-buffer-pop-up-side-window)
7407 (display-buffer-in-side-window): Call display-buffer-set-height
7408 and display-buffer-set-width after setting the new window's
7409 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7411 2011-07-20 Sam Steingold <sds@gnu.org>
7413 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7414 (etags-tags-included-tables): Call `convert-standard-filename' on
7415 the file names contained in TAGS so that windows Emacs can handle
7416 TAGS files created by cygwin ctags.
7418 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7420 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7421 which apparently didn't work.
7423 2011-07-19 Roland Winkler <winkler@gnu.org>
7425 * proced.el (proced-send-signal): For *Marked Processes* buffer
7426 put point at beginning of buffer.
7428 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7430 * proced.el (proced-format): Make header lines align with the text
7433 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435 * view.el (view-buffer): Allow running in `special' modes if we're
7436 visiting a file (bug#8615).
7438 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7440 * window.el (display-buffer-alist-of-strings-p)
7441 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7443 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7446 2011-07-18 Alan Mackenzie <acm@muc.de>
7448 Fontify declarators properly when, e.g., a jit-lock chunk begins
7449 inside a declaration.
7451 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7453 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7455 (c-complex-decl-matchers): Insert reference to
7456 c-font-lock-enclosing-decls.
7458 * progmodes/cc-engine.el (c-backward-single-comment):
7459 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7460 to nil around calls to (forward-comment -1).
7462 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464 * image.el (put-image): Doc typo fix.
7466 * progmodes/etags.el (tags-search): Doc typo fix.
7468 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7469 password if we get errors 550 to 554.
7471 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7473 * net/gnutls.el (gnutls-log-level): Remove.
7475 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7476 indentation character (bug#6380).
7478 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7480 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7481 to clarify what the problem is (bug#4291).
7483 * simple.el (current-kill): Clarify what
7484 `interprogram-paste-function' does (bug#7500).
7485 (auto-fill-mode): Document `auto-fill-function' in relation to
7486 `auto-fill-mode' (bug#2470).
7488 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7490 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7491 method if slot is read-only (bug#9035).
7493 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7495 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7496 * window.el (pop-to-buffer): Select window used even if it was
7497 selected before, see discussion of (Bug#8615), (Bug#6954).
7498 Pass argument NORECORD on to select-frame-set-input-focus.
7500 2011-07-15 Glenn Morris <rgm@gnu.org>
7502 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7505 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7507 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7508 (gnutls-negotiate): Use it.
7510 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512 * net/gnutls.el (gnutls-negotiate):
7513 Upcase `gnutls-algorithm-priority'.
7515 2011-07-15 Glenn Morris <rgm@gnu.org>
7517 * jka-compr.el (jka-compr-verbose): Move from here...
7518 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7519 Add missing :version tag.
7520 * info.el: No need to require jka-compr when compiling.
7522 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7525 (gnutls-negotiate): Use it.
7527 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7529 * info.el (Info-beginning-of-buffer): New command.
7530 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7531 announcing `b' as the key (bug#8325).
7532 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7534 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7536 * international/mule-cmds.el
7537 (describe-specified-language-support): Make the error message
7540 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7542 * isearch.el (isearch-barrier): Add a doc string, since it's
7543 mentioned in a function doc string (bug#8678).
7545 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7547 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7548 buffer argument (Bug#9083) and self-identifying label argument.
7550 2011-07-15 Glenn Morris <rgm@gnu.org>
7552 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7554 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556 * man.el (Man-fontify-manpage): Fix message when formatting the
7557 man page (bug#7929).
7559 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7561 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7562 argument LRM; if non-nil, append an invisible LRM character to the
7564 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7565 last argument non-nil, when formatting buffer names.
7566 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7567 paragraph direction.
7569 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7572 the man page name (bug#7929).
7574 * image.el (put-image): Mention the `put-image' overlay property
7577 * scroll-bar.el (set-scroll-bar-mode): Mention that
7578 `scroll-bar-mode' lists the values (bug#7772).
7580 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7583 * rect.el (apply-on-rectangle): Return the point after the last
7585 (string-rectangle): Go to the point after the last operation
7588 * printing.el (pr-toggle-region): Clarify the documentation
7589 slightly (bug#7493).
7591 * time.el (display-time-update):
7592 Allow `display-time-mail-function' to return nil (bug#7158).
7593 Fix suggested by Detlev Zundel.
7595 * vc/diff.el (diff): Clarify the order the file names are read
7598 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7599 the doc string (bug#7015).
7601 * font-lock.el (font-lock-maximum-decoration): Mention what
7602 numeric levels mean (bug#6935).
7604 * startup.el (initial-buffer-choice): Don't mention the `none'
7605 selection, which is against policy.
7607 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7609 * window.el (display-buffer-normalize-special):
7610 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7612 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7614 * subr.el (version<, version<=, version=): Mention "-CVS" and
7615 "-12345" alpha version numbers.
7617 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7619 * bindings.el: Add advertised binding for set-mark-command
7622 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7624 * bindings.el (mode-line-other-buffer):
7625 * bookmark.el (bookmark-bmenu-2-window):
7626 * bs.el (bs-cycle-next, bs-cycle-previous):
7627 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7630 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7633 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7635 * follow.el (follow-debug-message, follow-redisplay):
7636 * jka-cmpr-hook.el (with-auto-compression-mode):
7637 Fix typos in docstrings.
7639 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641 * subr.el (with-silent-modifications): Clarify somewhat what the
7642 macro inhibits (bug#6525).
7644 * simple.el (eval-expression): Note what it does if called
7645 interactively (bug#6495).
7647 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7649 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7650 Use pop-to-buffer buffer-or-name if it is nil.
7652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7653 Remove switch-to-buffer.
7655 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7657 * files.el (make-directory): Clarify that an error will be raised
7658 if there's an error (bug#6397).
7660 * startup.el (initial-buffer-choice): Add `none' as a choice
7663 * subr.el (add-hook): Clarify section about buffer-local hooks
7666 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7668 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7670 * tabify.el (untabify): Preserve the current column so that point
7671 doesn't move (bug#6032).
7673 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7675 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7676 Rewrite to avoid awkward possessive "s" (bug#5986).
7678 2011-07-13 Glenn Morris <rgm@gnu.org>
7680 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7681 (dired-insert-directory): Give a message the first time
7682 if ls is found not to support --dired.
7684 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686 * simple.el (toggle-truncate-lines): Clarify what is toggled
7687 (bug#5580). Text by Drew Adams.
7689 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7691 * simple.el (blink-matching-open): Make the error message from the
7692 last change less verbose.
7694 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7696 * font-lock.el (font-lock-comment-face): Use the high contrast
7697 "yellow" color for font-lock-comment-face on low color terminals
7698 using a dark background color (bug#4221).
7700 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7702 * dired.el (dired-insert-set-properties): Make the doc string
7703 reflect what it does now (bug#5325).
7705 * simple.el (blink-matching-open): Say that we were unable to find
7706 the match within the limit, if we're limited (bug#5122).
7708 * international/mule-cmds.el (prefer-coding-system): Add an
7711 * progmodes/etags.el (tags-search): Document `file-list-form'
7714 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7716 * net/browse-url.el (browse-url-default-browser)
7717 (browse-url-browser-function): Make the default browser choice a
7718 bit more logical (bug#4300). Also clean up the doc string.
7720 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7722 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7723 binary endings (bug#4440).
7725 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7727 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7728 which can be pretty annoying (bug#8971).
7730 * jka-compr.el (jka-compr-verbose): New variable, and use
7731 throughout (bug#8971).
7733 * info.el (Info-find-file): Fall back on the installation
7734 directory if we can't find the info node anywhere else.
7736 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7738 * vc/vc.el (vc-revert-file):
7739 Don't set file time-stamp in the past. (Bug#5181)
7741 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7743 * files.el (after-find-file): Give a better error message when
7744 trying to find a symlink that points to a file that doesn't exist
7747 * progmodes/cc-vars.el: Remove (probably) misleading comment
7750 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7752 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7754 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7756 * mouse-sel.el: Hack restoring functionality, while keeping
7757 compatibility with 2010-07-03 changes to mouse selection.
7758 (mouse-sel-primary-overlay): New var.
7759 (mouse-sel-selection-alist): Use it.
7760 (mouse-sel-mode): Doc fix; remove points that are default features
7763 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7766 Fix previous fix (bug#2490).
7768 2011-07-12 Roland Winkler <winkler@gnu.org>
7770 * textmodes/bibtex.el (bibtex-initialize):
7771 Use pop-to-buffer-same-window.
7772 (bibtex-search-entries): Fix interactive call.
7774 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7777 Fontise bytecomp Error lines more correctly (bug#2490).
7778 Fix suggested by Johan Bockgård.
7780 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7782 * dired-x.el (dired-guess-default): Use `delete-dups'.
7784 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7786 * dired.el (dired-mark-prompt):
7787 * dired-aux.el (dired-read-shell-command): Doc fix.
7789 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791 * mail/sendmail.el (sendmail-query-once):
7792 Use `customize-save-variable' unconditionally, now that it works under
7795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7797 * cus-edit.el (custom-file): Take an optional no-error variable.
7798 (customize-save-variable): Set the variable, and give a warning if
7799 running under "emacs -q".
7801 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7803 * loadhist.el (unload-feature-special-hooks):
7804 Add `auto-coding-functions', `fill-nobreak-predicate' and
7805 `find-directory-functions' (bug#5327).
7807 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7811 * cus-edit.el (custom-guess-name-alist): -alist variables should
7812 use the `alist' type (bug#3120). Suggested by Drew Adams.
7814 * printing.el: Add documentation to all the `pr-toggle-' commands.
7816 2011-07-11 Leo Liu <sdl.web@gmail.com>
7818 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7819 backends where it makes sense (bug#2623).
7821 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823 * dired-x.el (dired-guess-default): Remove duplicate shell command
7825 (dired-guess-default): Fix grammar in doc string (bug#2028).
7826 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7828 * subr.el (remove-duplicates): New conveniency function.
7830 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7832 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7835 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7837 * window.el (display-buffer-normalize-default): Don't invert
7838 meaning of even-window-heights. Reported by Eli Zaretskii
7841 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7843 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7845 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7847 * window.el (display-buffer): Fix arguments to
7848 display-buffer-reuse-window in last change.
7850 * faces.el (link): Use a less saturated blue on light backgrounds.
7852 * startup.el (fancy-startup-text, fancy-about-text)
7853 (fancy-startup-tail): Use font-lock faces, for background safety.
7855 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7857 * emulation/viper-cmd.el (viper-change-state-to-vi):
7858 Limit triggering of abbrev expansion (Bug#9038).
7860 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7862 * window.el (display-buffer-default-specifiers): Remove.
7863 (display-buffer-macro-specifiers): Remove default specifiers.
7864 (display-buffer-alist): Default to nil.
7865 (display-buffer-reuse-window): New optional argument other-window.
7866 (display-buffer-pop-up-window): Allow splitting internal
7867 windows. Check whether a live window was created.
7868 (display-buffer-other-window-means-other-frame)
7869 (display-buffer-normalize-arguments): Rename to
7870 display-buffer-normalize-argument and rewrite. Set the
7871 other-window specifier.
7872 (display-buffer-normalize-special): New function.
7873 (display-buffer-normalize-options): Rename to
7874 display-buffer-normalize-default and rewrite.
7875 (display-buffer-normalize-options-inhibit): Remove.
7876 (display-buffer-normalize-specifiers): Rewrite.
7877 (display-buffer): Process other-window specifier and call
7878 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7880 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7881 (display-buffer-alist-set): Don't handle 'unset default values.
7882 (display-buffer-in-window, display-buffer-alist-set):
7883 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7884 <tassilo@member.fsf.org>.
7886 2011-07-09 Leo Liu <sdl.web@gmail.com>
7888 * register.el (insert-register): Restore accidental change on
7889 2011-06-26. (Bug#9028)
7891 2011-07-09 Glenn Morris <rgm@gnu.org>
7893 * subr.el (remq): Handle the empty list. (Bug#9024)
7895 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7897 * mail/sendmail.el (send-mail-function): No longer delay custom
7899 * custom.el (custom-initialize-delay): Doc fix.
7901 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7905 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7907 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7908 human-friendly prompt.
7910 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7912 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7913 provided by a particular plugin.
7915 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7917 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7918 save customizations (with "emacs -Q"), just set the variable
7919 instead of erroring out.
7921 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7923 2011-07-08 Juri Linkov <juri@jurta.org>
7925 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7926 (archive-zip-update-case): Use 7z if found by `executable-find'.
7927 The order of searching the available programs is the same as in
7928 `archive-zip-extract' (bug#8968).
7930 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7932 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7933 (menu-bar-options-menu): Tweak descriptions.
7935 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7938 menu items into verb phrases (bug#1421). Also refill to fit under
7941 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7943 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7944 (Info-read-node-name): Doc fix (Bug#1084).
7946 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7947 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7948 (end-of-sexp, beginning-of-sexp)
7949 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7950 (forward-symbol, forward-same-syntax, word-at-point)
7951 (sentence-at-point): Doc fix (Bug#1144).
7953 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7956 should cover it (bug#1281).
7958 * cus-edit.el (custom-show): Mark as obsolete.
7960 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7961 negotiation fails, then possibly try again with a non-encrypted
7962 connection (bug#9017).
7964 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7967 2011-07-07 Richard Stallman <rms@gnu.org>
7969 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7970 property, and handle its changed format.
7971 Look for the correct line number.
7972 Use file's line contents (but not past first =) to find
7973 correct line in message.
7975 2011-07-07 Kenichi Handa <handa@m17n.org>
7977 * international/characters.el (build-unicode-category-table):
7979 (unicode-category-table): Set it by unicode-property-table-internal.
7981 * international/mule-cmds.el (char-code-property-alist): Move to
7983 (get-char-code-property): Call unicode-property-table-internal to
7984 load a file. Call get-unicode-property-internal where necessary.
7985 (put-char-code-property): Call unicode-property-table-internal to
7986 load a file. Call put-unicode-property-internal where necessary.
7987 put-unicode-property-internal where necessary.
7988 (char-code-property-description):
7989 Call unicode-property-table-internal to load a file.
7991 * international/charprop.el:
7992 * international/uni-bidi.el:
7993 * international/uni-category.el:
7994 * international/uni-combining.el:
7995 * international/uni-comment.el:
7996 * international/uni-decimal.el:
7997 * international/uni-decomposition.el:
7998 * international/uni-digit.el:
7999 * international/uni-lowercase.el:
8000 * international/uni-mirrored.el:
8001 * international/uni-name.el:
8002 * international/uni-numeric.el:
8003 * international/uni-old-name.el:
8004 * international/uni-titlecase.el:
8005 * international/uni-uppercase.el: Regenerate.
8007 * loadup.el: Load international/charprop.el before
8008 international/characters.
8010 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8012 * window.el (next-buffer, previous-buffer): Signal an error if
8013 called from a minibuffer window.
8015 * bindings.el: Revert 2011-07-04 change.
8017 2011-07-06 Richard Stallman <rms@gnu.org>
8019 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8020 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8021 Treat markers like ints.
8022 (rmail-mime-entity): Doc fix.
8024 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8027 defcustom again for backwards compatibility.
8029 * simple.el (shell-command-on-region): Fill.
8031 * dired-aux.el (dired-kill-line): Add a doc string.
8033 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8034 to "\\sw\\|\\s_" (bug#358).
8036 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8037 (dired-unmark-backward): Ditto.
8038 (dired-flag-backup-files): Ditto.
8040 * dired-x.el (dired-mark-sexp): Ditto.
8042 2011-07-06 Richard Stallman <rms@gnu.org>
8044 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8045 (rmail-mime-entity): New arg TRUNCATED.
8046 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8048 (rmail-mime-save): Warn if entity is truncated.
8049 (rmail-mime-toggle-hidden): Likewise, for showing.
8050 (rmail-mime-process-multipart): Record when an entity is truncated.
8052 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8053 if ENTITY is a string.
8055 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8057 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8058 of faces when `M-C-x'-ing their definitions (bug#8378).
8059 Also clean up the code slightly.
8061 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8062 because that makes the colors go away.
8064 * mail/sendmail.el (send-mail-function): Change the default to
8065 `sendmail-query-once'.
8066 (sendmail-query-once): Add an autoload cookie.
8068 * net/network-stream.el (network-stream-open-starttls): Try using
8069 a plain connection even if the server offered STARTTLS, and we
8070 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8071 capability. This should make smtpmail.el work in slightly more
8074 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8076 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8078 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8080 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8082 * progmodes/sql.el: Version 3.0
8083 (sql-product-alist): Add product :completion-object,
8084 :completion-column, and :statement attributes.
8085 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8086 (sql-mode-syntax-table): Mark all punctuation.
8087 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8089 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8090 (sql-mode-oracle-font-lock-keywords): Improve.
8091 (sql-oracle-show-reserved-words): New function for development.
8092 (sql-product-font-lock): Simplify for source code buffers.
8093 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8095 (sql-highlight-product): Set product specific syntax table.
8096 (sql-mode-map): Add statement movement functions.
8097 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8099 (sql-statement-regexp, sql-beginning-of-statement)
8100 (sql-end-of-statement, sql-signum): New functions.
8101 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8102 (sql-show-sqli-buffer): Bug fix.
8103 (sql-interactive-mode): Store connection data as buffer local.
8104 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8105 with sql-interactive-mode.
8106 (sql-save-connection): Save buffer local settings.
8107 (sql-connection-menu-filter): Change menu entry name.
8108 (sql-product-interactive): Bug fix.
8109 (sql-preoutput-hold): New variable.
8110 (sql-interactive-remove-continuation-prompt): Bug fixes.
8111 (sql-debug-redirect): New variable.
8112 (sql-str-literal): New function.
8113 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8115 (sql-oracle-save-settings, sql-oracle-restore-settings)
8116 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8117 (sql-completion-object, sql-completion-column)
8118 (sql-completion-sqlbuf): New variables.
8119 (sql-build-completions-1, sql-build-completions)
8120 (sql-try-completion): New functions.
8121 (sql-read-table-name): Use them.
8122 (sql-contains-names): New buffer local variable.
8123 (sql-list-all, sql-list-table): Use it.
8124 (sql-oracle-completion-types): New variable.
8125 (sql-oracle-completion-object, sql-sqlite-completion-object)
8126 (sql-postgres-completion-object): New functions.
8128 2011-07-06 Glenn Morris <rgm@gnu.org>
8130 * window.el (pop-to-buffer): Doc fix.
8132 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8134 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8136 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8138 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8140 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8142 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8144 * button.el (button): Inherit from link face. Suggested by Dan
8147 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * progmodes/gdb-mi.el: Fit in 80 columns.
8150 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8153 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8154 if imenu is simply not configured (bug#8941).
8156 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8158 * allout.el (allout-post-undo-hook): New allout outline-change
8159 event hook to signal undo activity.
8160 (allout-post-command-business): Run allout-post-undo-hook if an
8162 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8163 * allout-widgets.el (allout-widgets-after-undo-function):
8164 Ensure the integrity of the current item's decoration after it has been
8165 in the vicinity of an undo.
8166 (allout-widgets-mode): Include allout-widgets-after-undo-function
8167 on the new allout-post-undo-hook.
8169 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8171 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8172 Let define-derived-mode define it.
8173 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8174 cycles of abbrev-table inheritance (bug#8998).
8176 2011-07-05 Roland Winkler <winkler@gnu.org>
8178 * textmodes/bibtex.el: Add support for biblatex.
8179 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8180 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8181 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8182 (bibtex-entry-alist, bibtex-field-alist): New variables.
8183 (bibtex-entry-field-alist): Obsolete alias for
8184 bibtex-BibTeX-entry-alist.
8185 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8186 (bibtex-set-dialect): New command.
8187 (bibtex-entry-type, bibtex-entry-head)
8188 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8189 Bind via bibtex-set-dialect.
8190 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8191 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8192 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8193 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8194 Define via bibtex-set-dialect.
8195 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8196 Obey bibtex-no-opt-remove-re.
8197 (bibtex-vec-push, bibtex-vec-incr): New functions.
8198 (bibtex-format-entry, bibtex-field-list)
8199 (bibtex-print-help-message, bibtex-validate)
8200 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8202 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * progmodes/compile.el (compilation-goto-locus):
8205 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8206 * bs.el (bs-cycle-next, bs-cycle-previous):
8207 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8208 * bindings.el (mode-line-other-buffer):
8209 * autoinsert.el (auto-insert):
8210 * arc-mode.el (archive-extract):
8211 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8213 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8215 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8216 Fix check of `emacs-lock-unlockable-modes'.
8217 Coerce true values of `emacs-lock--try-unlocking' to t.
8219 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8221 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8222 * emacs-lock.el: New file.
8224 2011-07-05 Julien Danjou <julien@danjou.info>
8226 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8227 than `boundp' to check if face is set.
8229 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8231 * register.el (registerv-make):
8232 * window.el (window-min-height): Fix typos in docstrings.
8234 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8236 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8239 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8241 * server.el (server-execute): Catch quit and call
8242 `server-return-error' to pass the error back to emacsclient and
8243 close the connection (bug#8942).
8245 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8247 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8248 insecure exception for current topic. Also note that auto-saves
8249 are handled differently.
8251 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8252 State variables for tracking auto-save inhibition situation.
8254 (allout-write-contents-hook-handler): Rename from
8255 'allout-write-file-hook-handler', and describe how it depends on
8256 write-contents-functions sensitivity to non-nil value to prevent
8259 (allout-auto-save-hook-handler): Remove. auto-save does not check
8260 this in individual buffers, only in the starting buffer, so this
8261 is not the right way for us to inhibit auto-save in a buffer
8262 according to its condition.
8264 (allout-mode): Use new allout-write-contents-hook-handler, and
8265 only with write-contents-functions. Remove auto-save provisions -
8266 they're implemented elsewhere.
8268 (allout-before-change-handler): If undo is in progress, note that
8269 for attention of allout-post-command-business.
8271 (allout-post-command-business): If the command we're following was
8272 an undo, check for change in the status of encrypted items and
8273 adjust auto-save inhibitions accordingly.
8275 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8276 according to whether there are or aren't any plain-text topics
8279 (allout-inhibit-auto-save-info-for-decryption):
8280 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8281 if there are plain-text topics pending encryption.
8283 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8284 buffer-saved-size and some allout state to not inhibit auto-saves
8285 if there are no longer any plain-text topics pending encryption.
8287 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8288 No longer provide for exemption of the current topic.
8290 2011-07-04 Juri Linkov <juri@jurta.org>
8292 Add 7z operations to delete and save changed members (bug#8968).
8293 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8295 (archive-7z-write-file-member): New function.
8296 (archive-7z-summarize): Fix the number of dashes in the
8299 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8304 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8306 * bindings.el: Ignore next-buffer and previous-buffer in
8307 minibuffer-local-map.
8309 * font-lock.el (font-lock-builtin-face): Change light background
8310 color to dark slate blue (Bug#6693).
8312 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8314 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8316 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8318 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8319 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8320 Add switch-to-buffer.
8322 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8324 * isearch.el (isearch-search-fun-function): Clarify further the
8325 meaning of the function returned.
8327 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8329 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8331 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8332 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8334 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8335 `tramp-default-remote-path' does not exist.
8336 (tramp-send-command-and-read): New optional argument NOERROR.
8337 (tramp-open-connection-setup-interactive-shell)
8338 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8339 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8340 (tramp-process-sentinel): Flush also process' connection property.
8341 (tramp-sh-handle-start-file-process): Do not set process
8342 sentinel. It is done now ...
8343 (tramp-maybe-open-connection): ... here. (Bug#8929)
8345 2011-07-04 MON KEY <monkey@sandpframing.com>
8347 * play/animate.el (animate-string): Doc fixes and allow changing
8348 the buffer name (bug#5417).
8350 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8352 * play/animate.el (animation-buffer-name): Rename from *animate*.
8354 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8356 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8357 This is simpler and helps future-proof the code.
8358 (timer-until): Use time-subtract and float-time.
8359 (timer--time-less-p): Use time-less-p.
8361 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8363 * type-break.el (timep): Use the value of `float-time' to avoid a
8364 byte-compiler warning.
8366 * server.el (server-eval-and-print): Return any result, even nil.
8368 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8370 * type-break.el: Accept time formats that the builtins accept.
8371 (timep, type-break-time-difference): Accept any format that
8372 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8373 This is simpler and helps future-proof the code.
8374 (type-break-time-difference): Round rather than ignoring
8375 subseconds components.
8377 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379 * info.el (Info-apropos-matches): Make non-interactive, since it
8380 doesn't seem to do anything useful as a command (bug#8829).
8382 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8384 * frame.el (frame-background-mode, frame-set-background-mode):
8386 (frame-default-terminal-background): New function.
8388 * custom.el (custom-push-theme): Don't record faces in `changed'
8389 theme; this doesn't work correctly for per-frame face settings.
8390 (disable-theme): Use face-set-after-frame-default to reset faces.
8391 (custom--frame-color-default): New function.
8393 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395 * dired.el (dired-flagging-regexp): Remove unused variable
8398 2011-03-29 Kevin Ryde <user42@zip.com.au>
8400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8401 `perl-Test2' extend to match possible "fail #N" rep count
8404 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8406 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8407 `smtpmail-via-smtp' now returns the error instead of nil.
8409 * isearch.el (isearch-search-fun-function): Clarify the doc string
8412 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8414 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8415 unnecessary spaces (bug#8987).
8417 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8419 * net/network-stream.el (open-network-stream): Use the
8420 :end-of-capability command thoughout.
8422 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8424 * net/network-stream.el (open-network-stream): Add the
8425 :end-of-capability command parameter, used by pop3.el.
8427 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8431 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8432 for list)" (bug#6475).
8434 * files.el (file-expand-wildcards): Ignore non-readable
8435 sub-directories while trying to find matches instead of signaling
8436 an error (bug#6297).
8438 * man.el (Man-reference-regexp): Allow matching possible
8439 word-wrapped references (bug#6289).
8441 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8442 for consistency with the other vc buffers (bug#6197).
8443 (vc-checkin): Ditto.
8445 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8447 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8449 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8451 * custom.el (defcustom): Clarify that :set is only used in the
8452 Customize user interface (bug#6089).
8454 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8455 associated with a file, refuse to run instead of erroring out
8458 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8459 the doc string, since it appears that using `fill-column' always
8460 controls the width (bug#7845).
8462 * simple.el (shell-command-on-region): Say where the error output
8463 went if `shell-command-default-error-buffer' is set (bug#6857).
8465 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8467 * allout.el (allout-yank-processing): Adjust cursor position for
8468 backwards-deleted space.
8470 (allout-rebullet-heading): Register changes with
8471 allout-exposure-changed-hook, so the modified topic is properly
8474 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476 * minibuffer.el (completion-in-region): Document PREDICATE
8479 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8480 of keyword/argument pairs (bug#6904).
8482 * replace.el (multi-occur):
8483 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8485 2011-07-02 Drew Adams <drew.adams@oracle.com>
8487 * dired.el (dired-mark-if): Make the message about whether it's
8488 marking or unmarking clearer (bug#8523).
8490 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8492 * disp-table.el (display-table-print-array): New function.
8493 (describe-display-table): Use it to print the vectors more pretty
8496 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8498 * window.el (window-state-get-1): Don't assign clone numbers.
8499 Add clone-of item to list of window parameters.
8500 (window-state-put-2): Don't process clone numbers.
8501 (display-buffer-alist): Fix doc-string.
8503 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * subr.el (remq): Don't allocate if it's not needed.
8506 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8507 (keymap--merge-bindings): New functions.
8508 (keymap-canonicalize): Use them to refine the canonicalization.
8509 * minibuffer.el (minibuffer-local-completion-map)
8510 (minibuffer-local-must-match-map): Move initialization from C.
8511 (minibuffer-local-filename-completion-map): Move initialization from C;
8512 don't inherit from anything here.
8513 (minibuffer-local-filename-must-match-map): Make obsolete.
8514 (completing-read-default): Use make-composed-keymap to combine
8515 minibuffer-local-filename-completion-map with either
8516 minibuffer-local-must-match-map or
8517 minibuffer-local-filename-completion-map.
8519 2011-07-01 Glenn Morris <rgm@gnu.org>
8521 * type-break.el (type-break-time-sum): Use dolist.
8523 * textmodes/flyspell.el (flyspell-word-search-backward):
8524 Replace CL function.
8526 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * mouse.el (mouse--strip-first-event): New function.
8529 (function-key-map): Use it to map fringe clicks to normal clicks
8532 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8533 (vc-bzr-revision-completion-table): Add support for annotate and date.
8535 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8536 inherit from parent.
8538 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8540 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8541 (dired-show-file-type): Doc fixup (bug#8818).
8543 * dired.el (dired-mode): Fix up the doc string as suggested by
8544 Drew Adams (bug#8817).
8546 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8547 cookie, since the manual says that it should be possible to add
8548 this function to `find-file-hook' (bug#8709).
8550 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8552 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8553 here. Noted Ted Zlatanov as the maintainer.
8554 (cfengine-common-settings, cfengine-common-syntax): New functions
8555 to set up common things between `cfengine-mode' and
8557 (cfengine3-mode): New mode.
8558 (cfengine3-defuns cfengine3-defuns-regex
8559 (cfengine3-class-selector-regex cfengine3-category-regex)
8560 (cfengine3-vartypes cfengine3-font-lock-keywords)
8561 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8562 (cfengine3-indent-line): Add from cfengine3.el.
8564 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8566 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8568 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8570 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8572 * window.el (same-window-buffer-names, same-window-regexps)
8573 (same-window-p, special-display-frame-alist)
8574 (special-display-popup-frame, special-display-function)
8575 (special-display-buffer-names, special-display-regexps)
8576 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8577 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8578 (split-window-preferred-function, split-height-threshold)
8579 (split-width-threshold, even-window-heights)
8580 (display-buffer-mark-dedicated, window-splittable-p)
8581 (split-window-sensibly, window-safely-shrinkable-p):
8583 (display-buffer): Don't spread args with function specifier
8584 because special-display-popup-frame won't like it.
8586 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8588 Time-stamp simplifications and fixes.
8589 These improve accuracy slightly, and future-proof the code
8590 against some potential changes to current-time format.
8592 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8593 by using time-since and float-time.
8595 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8596 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8597 + NNN microseconds".
8599 * type-break.el (type-break-time-sum): Rewrite using time-add.
8601 * play/hanoi.el (hanoi-current-time-float): Remove.
8602 All uses replaced by float-time.
8604 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8605 This yields a more-accurate answer.
8606 (rng-time-to-float): Remove; no longer needed.
8608 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8610 * calendar/timeclock.el (timeclock-seconds-to-time):
8611 Defalias to seconds-to-time, since they're the same thing.
8613 * emacs-lisp/elp.el (elp-elapsed-time):
8614 * emacs-lisp/benchmark.el (benchmark-elapse):
8615 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8617 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * window.el (bury-buffer): Don't iconify the only frame.
8620 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8621 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8623 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8625 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8626 Add mouse-yank-primary.
8628 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8630 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8632 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8635 (find-library-name): Use it to find relative load names when provided
8636 absolute file name (bug#8803).
8638 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8640 * textmodes/flyspell.el (flyspell-word): Consider words that
8641 differ only in case as potential doublons (bug#5687).
8643 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8644 Remove two rather uninteresting debugging-like messages to make
8645 debbugs.el more silent.
8647 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8648 a password-like phrase.
8650 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8652 * progmodes/cc-guess.el: New file.
8654 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8656 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8657 derived from `c-basic-common-init'.
8659 * progmodes/cc-mode.el (top-level): Require cc-guess.
8660 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8662 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8664 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8666 2011-06-30 Alan Mackenzie <acm@muc.de>
8668 * progmodes/cc-engine.el (c-guess-continued-construct):
8669 Correct the handling of template-args-cont, particularly for when font
8670 lock is disabled. Name this case as "CASE G".
8672 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8674 * allout.el (allout-yank-processing): Fix injection of extra space
8675 between bullet and non-whitespace character in first topic when
8676 pasting, ensuring that the actual spacing in the pasted topic
8677 following the bullet char is preserved. This extra space was
8678 causing pasted encrypted topics to get a decrypted status even
8679 when the content was actually still encrypted. Now the decryption
8680 status from before the paste is preserved.
8682 (allout-flag-region): Set all allout overlays so they evaporate
8683 when reduced to zero length (evanescent), to prevent overlay
8686 2011-06-30 Glenn Morris <rgm@gnu.org>
8688 * w32-fns.el (w32-charset-info-alist): Declare.
8690 * find-dired.el (find-grep-options): Simplify.
8692 * term/ns-win.el (ns-set-resource): Declare.
8694 * ses.el (row, col): Declare dynamic variables honestly.
8696 * textmodes/reftex-parse.el (index-tags): Declare.
8698 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8700 * cus-edit.el (customize-push-and-save): New function.
8702 * files.el (hack-local-variables-confirm): Use it.
8704 * custom.el (load-theme): New arg NO-CONFIRM.
8705 Use customize-push-and-save (Bug#8720).
8706 (custom-enabled-themes): Doc fix.
8708 * cus-theme.el (customize-create-theme)
8709 (custom-theme-merge-theme): Callers to load-theme changed.
8711 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8714 short URLs have at least one dot in them (bug #7614).
8716 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8717 nil, because using a pty is apparently too slow (bug #895).
8719 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721 * mail/sendmail.el (sendmail-query-once): New function.
8722 (sendmail-query-once-function): New variable.
8724 2011-06-29 Glenn Morris <rgm@gnu.org>
8726 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8728 * ses.el (top-level): Require cl when compiling.
8729 (ses-set-localvars): Fix error statement.
8730 Call it at compile time to silence a storm of warnings.
8732 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8734 * window.el (normalize-live-buffer): Rename to
8735 window-normalize-buffer.
8736 (normalize-live-frame): Rename to window-normalize-frame.
8737 (normalize-any-window): Rename to window-normalize-any-window.
8738 (normalize-live-window): Rename to window-normalize-live-window.
8739 (make-window-atom): Rename to window-make-atom.
8740 (window-resize-reset): Rename to window--resize-reset.
8741 (window-resize-reset-1): Rename to window--resize-reset-1.
8742 (resize-mini-window): Rename to window--resize-mini-window.
8743 (resize-subwindows-skip-p): Rename to
8744 window--resize-subwindows-skip-p.
8745 (resize-subwindows-normal): Rename to
8746 window--resize-subwindows-normal.
8747 (resize-subwindows): Rename to window--resize-subwindows.
8748 (resize-other-windows): Rename to window--resize-siblings.
8749 (resize-this-window): Rename to window--resize-this-window.
8750 (resize-root-window): Rename to window--resize-root-window.
8751 (resize-root-window-vertically): Rename to
8752 window--resize-root-window-vertically.
8753 (normalize-buffer-to-display): Rename to
8754 window-normalize-buffer-to-display.
8755 (normalize-buffer-to-switch-to): Rename to
8756 window-normalize-buffer-to-switch-to.
8757 Correspondingly update all callers of the functions listed
8759 (display-buffer-alist, display-buffer-normalize-arguments)
8760 (display-buffer-normalize-options, display-buffer)
8761 (display-buffer-alist-set): Use "function" instead of
8764 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8766 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8767 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8768 debbugs.gnu.org. Mention acknowledgment email.
8770 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8772 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8773 buffer multibyteness, since it shouldn't matter.
8775 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8777 * window.el (display-buffer-in-side-window): Handle dedicated
8778 windows as in display-buffer-reuse-window.
8779 (display-buffer-normalize-alist): Use value of override
8781 (display-buffer-normalize-specifiers): Use value of
8782 other-window-means-other-frame specifier.
8783 (display-buffer-alist): Rewrite some texts in widgets.
8784 (display-buffer): Spread arguments when calling function
8785 specified by fun-with-args.
8787 2011-06-28 Deniz Dogan <deniz@dogan.se>
8789 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8792 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8793 selectors (Bug#5732).
8794 (css-proprietary-nmstart-re): Use `regexp-opt'.
8796 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8798 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8799 (eshell-ls-date-format): New defcustom.
8800 (eshell-ls-file): Use it.
8802 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8806 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8808 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8809 (ange-ftp-make-tmp-name): New arg.
8810 (ange-ftp-file-local-copy): Use it.
8812 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8814 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8815 no-conversion (Bug#8870).
8817 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8819 * window.el (window-right, window-left, window-child)
8820 (window-child-count, window-last-child)
8821 (window-iso-combination-p, walk-window-tree-1)
8822 (window-atom-check-1, window-tree-1, delete-window)
8823 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8824 new naming conventions - window-vchild, window-hchild,
8825 window-next and window-prev are now called window-top-child,
8826 window-left-child, window-next-sibling and window-prev-sibling
8828 (resize-window-reset): Rename to window-resize-reset.
8829 (resize-window-reset-1): Rename to window-resize-reset-1.
8830 (resize-window): Rename to window-resize.
8831 (window-min-height, window-min-width)
8832 (resize-mini-window, resize-this-window, resize-root-window)
8833 (resize-root-window-vertically, adjust-window-trailing-edge)
8834 (enlarge-window, shrink-window, maximize-window)
8835 (minimize-window, delete-window, quit-restore-window)
8836 (split-window, balance-windows, balance-windows-area-adjust)
8837 (balance-windows-area, window-state-put-2)
8838 (display-buffer-even-window-sizes, display-buffer-set-height)
8839 (display-buffer-set-width, set-window-text-height)
8840 (fit-window-to-buffer): Rename all "resize-window" prefixed
8841 calls to use the "window-resize" prefix convention.
8842 (display-buffer-alist): Fix symbol for label specifier.
8843 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8844 corresponding specifier.
8845 Reported by Juanma Barranquero <lekktu@gmail.com>.
8847 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8849 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8851 (ses-call-printer): Does not pass an empty string to formatter when the
8852 cell is empty to keep from barking printer Calc math-format-value.
8854 2011-06-27 Richard Stallman <rms@gnu.org>
8856 * battery.el (battery-mode-line-limit): New variable.
8857 (battery-update): Handle it.
8859 * mail/rmailmm.el (rmail-mime-process-multipart):
8860 Handle truncated messages.
8862 2011-06-27 Glenn Morris <rgm@gnu.org>
8864 * progmodes/flymake.el (flymake-err-line-patterns):
8865 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8867 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8869 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8870 (ses--clean-!, ses--clean-_): New functions.
8871 (ses-range): Add configurability of readout order, and conversion
8874 * ses.el (ses-repair-cell-reference-all): New function.
8875 (ses-cell-symbol): Set macro as safe, so that it can be used in
8878 * ses.el: Update cycle detection algorithm.
8879 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8880 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8881 (ses-set-localvars): New function.
8882 (ses-make-cell): Add property-list as a cell element.
8883 (ses-cell-property-get-fun, ses-cell-property-get)
8884 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8885 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8887 (ses-cell-property-set, ses-cell-property-pop)
8888 (ses-cell-property-get-handle): New macro.
8889 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8890 New aliases, used for code readability.
8891 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8893 (ses-self-reference-early-detection): New defcustom.
8894 (ses-formula-references): Robustify against self-referring cells.
8895 (ses-mode): Use ses-set-localvars.
8896 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8897 before lauching the update processing.
8898 (ses-initialize-Dijkstra-attempt): New function.
8899 (ses-recalculate-cell): Update for cycle detection based on
8902 * ses.el: Fix commenting and indenting convention.
8904 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8906 * bs.el (bs-cycle-next): Complete last change.
8908 2011-06-27 Drew Adams <drew.adams@oracle.com>
8910 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8912 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8914 * net/network-stream.el (network-stream-open-starttls):
8915 Don't re-get capabilities unless we've reestablished connection.
8916 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8918 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8919 to binary to possibly avoid line encoding issues on Windows (among
8922 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924 * net/network-stream.el (open-network-stream): Return an :error
8925 saying what the problem was, if possible.
8927 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8930 * net/network-stream.el (network-stream-open-starttls): If we
8931 wanted to use STARTTLS, and the server offered it, but we weren't
8932 able to because we had no STARTTLS support, then close the connection.
8933 (open-network-stream): Return an :error element, if present.
8935 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8937 * hl-line.el (hl-line-sticky-flag): Doc fix.
8938 (global-hl-line-sticky-flag): New option (Bug#8323).
8939 (global-hl-line-highlight): Obey it.
8941 * vc/vc.el (vc-revert-show-diff): Default to t.
8943 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8945 * allout-widgets.el (allout-widgets-post-command-business):
8946 Stop decorating intermediate isearch matches. They're not being
8947 undecorated when an isearch is continued past, and isearch
8948 automatically collapses them. This leads to "widget leaks", where
8949 decorated items accumulate in collapsed areas. Lines with lots of
8950 hidden widgets can slow down cursor travel, substantially.
8951 Too much complicated machinery would be needed to ensure undecoration,
8952 so we're doing without this nicety.
8954 (allout-widgets-tally-string): Don't try to do a hash-table-count
8955 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8956 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8957 *Messages* when allout-widgets-maintain-tally is t.
8959 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8961 * window.el (display-buffer-normalize-argument): Rename to
8962 display-buffer-normalize-arguments. Handle special meaning of
8963 LABEL argument. Respect special-display-function when popping up
8964 a new frame. Fix code searching for a window showing the buffer
8966 (display-buffer-normalize-specifiers):
8967 Call display-buffer-normalize-arguments.
8968 (display-buffer-in-window): Don't undedicate the window if its
8969 buffer remains the same.
8970 Reported by Drew Adams <drew.adams@oracle.com>.
8971 (display-buffer-alist): Add choice for same-window macro
8973 (display-buffer): Mention special meaning of LABEL argument in
8974 doc-string. Fix quoting. Don't pop up a new frame even as
8977 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8979 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8980 avoid deleting the current window in some cases (bug#8911).
8982 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8984 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8987 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989 * net/network-stream.el (network-stream-open-starttls):
8990 Use built-in TLS support if `gnutls-available-p' is true.
8991 (network-stream-open-tls): Ditto.
8993 2011-06-26 Leo Liu <sdl.web@gmail.com>
8995 * register.el (registerv): New struct.
8996 (registerv-make): New function.
8997 (jump-to-register, describe-register-1, insert-register):
8998 Support the jump-func, print-func and insert-func slot of a registerv
9001 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9003 * vc/vc.el (vc-revert-show-diff): New defcustom.
9004 (vc-diff-internal): New arg specifying diff buffer.
9005 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9006 reuse an existing *vc-diff* buffer (Bug#8927).
9008 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9010 2011-06-26 Glenn Morris <rgm@gnu.org>
9012 * progmodes/f90.el (f90-critical-indent): New option.
9013 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9014 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9015 (f90-mode): Doc fix.
9016 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9017 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9018 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9019 (f90-match-end): Handle block, critical.
9021 2011-06-25 Glenn Morris <rgm@gnu.org>
9023 * calendar/diary-lib.el (diary-included-files): Doc fix.
9024 (diary-include-files): New function, extracted from
9025 diary-include-other-diary-files and diary-mark-included-diary-files.
9026 (diary-include-other-diary-files, diary-mark-included-diary-files):
9027 Just call diary-include-files.
9028 (diary-mark-entries): Reset diary-included-files on first call.
9030 * calendar/diary-lib.el (diary-mark-entries)
9031 (diary-mark-included-diary-files):
9032 Visit included diary-files in temp buffers.
9034 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9035 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9036 (f90-start-block-re, f90-imenu-generic-expression)
9037 (f90-looking-at-program-block-start, f90-no-block-limit):
9038 Add support for submodules.
9040 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9041 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9043 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9045 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9046 buffer-file-type before setting its value, to avoid disastrous
9047 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9049 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9051 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9053 * ses.el (ses-unload-function):
9054 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9056 * proced.el (proced-unload-function):
9057 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9059 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9061 * server.el (server-create-window-system-frame): Add parameters arg.
9062 (server-process-filter): Doc fix. Handle frame-parameters.
9064 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9066 Fix bug#8730, bug#8781.
9068 * loadhist.el (unload--set-major-mode): New function.
9069 (unload-feature): Use it.
9071 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9072 (python-unload-function): New function.
9074 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9078 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9080 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9081 the candidates list.
9083 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9085 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9087 2011-06-23 Richard Stallman <rms@gnu.org>
9089 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9090 (rmail-variables): Set next-error-move-function.
9091 (rmail-what-message): Take argument POS.
9092 (rmail-next-error-move): New function.
9094 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9097 messages for adjacent non-terminals.
9099 2011-06-23 Richard Stallman <rms@gnu.org>
9101 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9102 (rmail-show-message-1): Preserve buffer modified flag.
9103 (rmail-start-mail): Don't specify use of rmail-mail-return;
9104 that's done by mail-bury now.
9105 (rmail-mail-return): Handle arg NEWBUF.
9107 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9109 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9112 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9114 * window.el (get-lru-window, get-mru-window)
9115 (get-largest-window): Never return a minibuffer window.
9116 (display-buffer-pop-up-window): Fix a bug that could lead to
9117 reusing the minibuffer window.
9118 (display-buffer): Pass original specifier argument to
9119 display-buffer-function instead of the normalized one.
9120 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9122 2011-06-22 Leo Liu <sdl.web@gmail.com>
9124 * minibuffer.el (completing-read-function)
9125 (completing-read-default): Move from minibuf.c
9127 2011-06-22 Richard Stallman <rms@gnu.org>
9129 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9130 to Rmail even if not started by a special Rmail command.
9132 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9133 Copy the buffer currently showing just one message.
9135 2011-06-22 Roland Winkler <winkler@gnu.org>
9137 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9138 (bibtex-clean-entry): First delete the old key so that a
9139 customized algorithm for generating the new key does not get
9140 confused by the old key.
9141 (bibtex-url): Obey regexp of first step.
9142 (bibtex-search-entries): Do not use add-to-list with local
9145 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9147 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9148 stored a user name, then query for the password first, instead of
9149 waiting for SMTP to give an error message and the trying again.
9151 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9153 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9154 BUFFER in call-process.
9156 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9158 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9160 (smtpmail-try-auth-methods): Require user name and password from
9163 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9165 * window.el (display-buffer-default-specifiers)
9166 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9167 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9168 (split-window): Normalize SIDE argument (Bug#8916).
9170 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9171 (special-display-frame-alist, special-display-popup-frame):
9172 Remove duplicate declarations. These are now in window.el.
9174 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176 * mail/smtpmail.el (smtpmail-via-smtp):
9177 Set :use-starttls-if-possible so that we always use STARTTLS if the
9178 server supports it. SMTP servers that support STARTTLS commonly
9181 * net/network-stream.el (network-stream-open-starttls): Support
9182 upgrading to STARTTLS always, even if we don't have built-in support.
9183 (open-network-stream): Add the :always-query-capabilities keyword.
9185 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9186 upgrades with `open-network-stream', and rely solely on
9187 auth-source for all credentials. Big changes throughout the file,
9189 (smtpmail-auth-credentials): Remove.
9190 (smtpmail-starttls-credentials): Remove.
9191 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9194 * net/network-stream.el (network-stream-open-starttls):
9195 Provide support for client certificates both for external and built-in
9197 (auth-source): Require.
9198 (open-network-stream): Document the :client-certificate keyword.
9199 (network-stream-certificate): Change cert-cert to cert and
9202 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9204 * net/tramp-cache.el (top): Don't load the persistency file when
9205 "emacs -Q" has been called.
9207 2011-06-21 Tim Harper <timcharper@gmail.com>
9209 * term/ns-win.el (ns-initialize-window-system):
9210 Set application-specific `ApplePressAndHoldEnabled' system
9211 resource to NO as it is not yet supported by the NS port.
9213 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9215 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9216 (list-dynamic-libraries): ...not here.
9218 2011-06-21 Leo Liu <sdl.web@gmail.com>
9220 * subr.el (sha1): Implement sha1 using secure-hash.
9222 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9224 * window.el (display-buffer-alist): In default value do not
9225 enforce searching a window on any but the selected frame.
9226 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9227 (display-buffer-select-window): Remove function.
9228 (display-buffer-in-window): When a window on another frame gets
9229 reused, do not select it any more but just raise its frame if
9230 necessary (Bug#8851) and (Bug#8856).
9231 (display-buffer-normalize-options): Handle pop-up-frames related
9232 options more faithfully.
9233 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9234 window if it is on another frame.
9235 (display-buffer-alist, display-buffer-default-specifiers):
9236 Don't make new frame unsplittable by default.
9237 (display-buffer-normalize-argument): Fix doc-string typo and use
9238 'same-frame-other-window instead of 'other-window when associating
9239 with display-buffer-macro-specifiers.
9241 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9243 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9245 (5x5-mode-map, 5x5-mode-menu): Bind them.
9246 (5x5-draw-grid): Tweak the solver's rendering.
9248 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9251 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9253 2011-06-21 Drew Adams <drew.adams@oracle.com>
9255 * menu-bar.el: Use function variable instead of switch-to-buffer.
9256 (menu-bar-select-buffer-function): New variable.
9257 (menu-bar-update-buffers): Use it (bug#8876).
9259 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9261 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9264 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9266 * x-dnd.el (x-dnd-version-from-flags)
9267 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9268 and long as number (Bug#8899).
9269 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9271 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9274 (completion-try-completion, completion-all-completions): Compute the
9275 metadata argument if it's missing; make it optional (bug#8795).
9277 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9278 (widget-complete): Use new :completion-function property.
9279 (widget-completions-at-point): New function.
9280 (default): Use :completion-function instead of :complete.
9281 (widget-default-completions): Rename from widget-default-complete;
9283 (widget-string-complete, widget-file-complete, widget-color-complete):
9285 (file, symbol, function, variable, coding-system, color):
9286 * international/mule-cmds.el (default-input-method, charset)
9287 (language-info-custom-alist):
9288 * cus-edit.el (face): Use new property :completions.
9290 * progmodes/pascal.el (pascal-completions-at-point): New function.
9291 (pascal-mode): Use it.
9292 (pascal-mode-map): Use completion-at-point.
9293 (pascal-toggle-completions): Make obsolete.
9294 (pascal-complete-word, pascal-show-completions):
9295 * progmodes/octave-mod.el (octave-complete-symbol):
9296 Redefine as obsolete alias.
9297 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9298 Signal absence of completion info for old Octave,
9299 (inferior-octave-complete): Redefine as obsolete alias.
9300 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9301 (meta-completions-at-point): Rename from meta-complete-symbol and
9302 adapt it for use on completion-at-point-functions.
9303 (meta-common-mode): Use it.
9304 (meta-looking-at-backward, meta-match-buffer): Remove.
9305 (meta-complete-symbol): Redefine as obsolete alias.
9306 (meta-common-mode-map): Use completion-at-point.
9307 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9308 (makefile-mode-map): Use completion-at-point.
9309 (makefile-completions-at-point): Rename from makefile-complete and
9310 adapt it for use on completion-at-point-functions.
9311 (makefile-mode): Use it.
9312 (makefile-complete): Redefine as obsolete alias.
9314 2011-06-20 Deniz Dogan <deniz@dogan.se>
9316 * net/rcirc.el: Delete trailing whitespaces once and for all.
9318 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9320 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9322 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9324 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9326 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9328 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9330 * window.el (display-buffer-other-window-means-other-frame):
9331 Call display-buffer-normalize-alist.
9332 (display-buffer-normalize-specifiers-1): Rename to
9333 display-buffer-normalize-argument. New argument other-frame.
9335 (display-buffer-normalize-specifiers-2): Rename to
9336 display-buffer-normalize-options.
9337 (display-buffer-normalize-alist-1): New function.
9338 (display-buffer-normalize-specifiers-3): Rename to
9339 display-buffer-normalize-alist.
9340 Call display-buffer-normalize-alist-1.
9341 (display-buffer-normalize-options-inhibit): New variable.
9342 (display-buffer-normalize-specifiers): Rewrite calling
9343 display-buffer-normalize-alist,
9344 display-buffer-normalize-argument, and
9345 display-buffer-normalize-options. Don't call the latter if
9346 display-buffer-normalize-options-inhibit is non-nil.
9347 (frame-auto-delete): New option.
9348 (window-deletable-p): Use frame-auto-delete.
9349 (window-list-no-nils, window-state-ignored-parameters)
9350 (window-state-get-1, window-state-get, window-state-put-list)
9351 (window-state-put-1, window-state-put-2, window-state-put):
9353 (display-buffer-normalize-options): Move special-display-p group
9354 after pop-up-frame group (Bug#8851) and (Bug#8856).
9356 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9358 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9360 (rx-submatch-n): New function.
9363 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9366 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9368 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9370 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9371 anytime existing face settings are present (Bug#8889).
9373 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9374 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9375 Remove unused argument.
9377 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9379 * window.el (display-buffer-default-specifiers):
9380 Remove pop-up-frame. Add pop-up-window-min-height,
9381 pop-up-window-min-width, and another reuse-window specifier
9382 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9383 (display-buffer-normalize-specifiers-2):
9384 Handle split-height-threshold and split-width-threshold also when
9385 pop-up-windows is unset. Add a reuse-window specifier for the
9386 case popping up a new window fails.
9387 (special-display-popup-frame): Remove double quoting.
9388 (display-buffer-normalize-specifiers-1): Fix thinko.
9390 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9392 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9393 according to comint-completion-addsuffix.
9395 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9396 (pcomplete-suffix-list): Mark as obsolete.
9397 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9398 pcomplete-seen in the closure.
9399 (pcomplete-comint-setup): Setup completion-at-point as well.
9400 (pcomplete--entries): New function.
9401 (pcomplete--env-regexp): New var.
9402 (pcomplete-entries): Rewrite to work with partial-completion and
9403 without relying on pcomplete-suffix-list.
9404 (pcomplete-pare-list): Remove, unused.
9406 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9408 * window.el (display-buffer-alist): Set pop-up-window-min-height
9409 and pop-up-window-min-width in default value. Reported by
9410 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9411 other-window-means-other-frame.
9412 (display-buffer-macro-specifiers): Comment out entry for
9413 other-window specifier.
9414 (display-buffer-other-window-means-other-frame): New function.
9415 (display-buffer-normalize-specifiers-1): New arguments
9416 buffer-name and label. Treat other-window case specially.
9417 (display-buffer-normalize-specifiers-2): Treat other-window case
9419 (display-buffer-normalize-specifiers-3): New function.
9420 (display-buffer-normalize-specifiers):
9421 Call display-buffer-normalize-specifiers-3.
9423 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9425 * window.el (same-window-p): Fix two typos introduced when
9426 adding with-no-warnings.
9427 (display-buffer-normalize-specifiers-1): Don't check
9428 pop-up-frames for 'unset initialization.
9429 (display-buffer-normalize-specifiers-2): Major rewrite using
9430 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9431 (pop-up-frames, display-buffer-reuse-frames)
9432 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9433 Suggested by David Engster <deng@randomsample.de>.
9434 (even-window-heights): Initialize to 'unset.
9435 (display-buffer-alist-set): Handle new 'unset initializations.
9436 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9439 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9441 * window.el (display-buffer-normalize-specifiers-1):
9442 Respect current value of pop-up-frames for most reasonable values of
9443 second argument of display-buffer (Bug#8865).
9444 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9445 (switch-to-buffer-other-window-same-frame)
9446 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9448 (display-buffer): Don't check noninteractive when calling
9449 display-buffer-pop-up-frame.
9450 (display-buffer-pop-up-frame): Never pop up a frame in
9451 noninteractive mode (Bug#8857).
9452 (enlarge-window, shrink-window): Don't report an error when the
9453 window can't be resized as requested (Bug#8862).
9455 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9457 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9459 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9461 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9463 2011-06-15 Alan Mackenzie <acm@muc.de>
9465 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9466 for declarators, disable knr checking to speed up for normal files.
9467 2: Refactor, replacing a sequence of nested if forms by a cond form.
9469 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471 * net/network-stream.el (open-network-stream): Add the keyword
9472 :always-query-capabilities for the case where you want to force a
9473 `plain' network connection, but the protocol still requires the
9474 capabilitiy command (i.e., SMTP and EHLO).
9476 * subr.el (process-live-p): Rename from `process-alive-p' for
9477 consistency with other `-live-p' functions.
9479 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * window.el (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, pop-up-frames, display-buffer-reuse-frames)
9486 (pop-up-windows, split-window-preferred-function)
9487 (split-height-threshold, split-width-threshold, even-window-heights)
9488 (display-buffer-mark-dedicated): Don't encourage the use of
9489 display-buffer-alist from Elisp code.
9491 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9493 * progmodes/python.el (python-mode): Derive from prog-mode.
9494 * progmodes/ps-mode.el (ps-mode):
9495 * progmodes/mixal-mode.el (mixal-mode):
9496 * progmodes/cfengine.el (cfengine-mode):
9497 * progmodes/ld-script.el (ld-script-mode): Likewise.
9499 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9501 * window.el (display-buffer-alist): Trim default value to avoid
9502 popping up a new frame (Bug#8857) or reusing an arbitrary window
9504 (display-buffer): Do not fall back on popping up a new frame in
9505 batch mode (Bug#8857).
9507 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9509 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9510 (custom-theme-summary): New function.
9511 (customize-themes): Use it.
9513 2011-06-13 Glenn Morris <rgm@gnu.org>
9515 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9517 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9519 * help.el (help-window): Remove variable.
9520 (help-window-point-marker, temp-buffer-max-height)
9521 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9522 (help-print-return-message): Don't set help-window.
9523 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9524 (help-window-setup-finish): Remove.
9525 (help-window-display-message, help-window-setup)
9526 (with-help-window): Major rewrite based on new
9527 display-buffer-window variable.
9529 * help-mode.el (help-mode-finish): Remove help-window related
9532 * view.el (view-exits-all-viewing-windows): Remove reference to
9533 view-return-to-alist in doc-string.
9534 (view-return-to-alist): Make obsolete.
9535 (view-buffer): Call pop-to-buffer-same-window and remove
9537 (view-buffer-other-window): Call pop-to-buffer-other-window and
9538 simplify code. Ignore second argument.
9539 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9540 simplify code. Ignore second argument.
9541 (view-return-to-alist-update): Make obsolete.
9542 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9543 Rewrite using quit-restore window parameters.
9544 (view-mode-exit): Rename second argument to EXIT-ONLY.
9545 Rewrite using quit-restore-window.
9546 (View-exit, View-exit-and-edit, View-leave, View-quit)
9547 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9548 appropriate arguments.
9549 (view-end-message): Use quit-restore window parameter.
9551 * window.el (display-buffer-function): Rewrite doc-string.
9552 (display-buffer-window, display-buffer-alist): New variables.
9553 (display-buffer-split-specifiers)
9554 (display-buffer-side-specifiers)
9555 (display-buffer-macro-specifiers): New constants.
9556 (display-buffer-even-window-sizes, display-buffer-set-height)
9557 (display-buffer-set-width, display-buffer-select-window)
9558 (display-buffer-in-window, display-buffer-reuse-window)
9559 (display-buffer-split-window-1, display-buffer-split-window)
9560 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9561 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9562 (display-buffer-in-side-window, normalize-buffer-to-display)
9563 (display-buffer-normalize-specifiers-1)
9564 (display-buffer-normalize-specifiers-2)
9565 (display-buffer-normalize-specifiers, display-buffer-frame):
9567 (display-buffer): Major rewrite.
9568 (display-buffer-other-window, display-buffer-other-frame)
9569 (pop-to-buffer, switch-to-buffer-other-window)
9570 (switch-to-buffer-other-frame): Rewrite.
9571 (display-buffer-same-window, display-buffer-same-frame)
9572 (display-buffer-same-frame-other-window)
9573 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9574 (pop-to-buffer-other-window)
9575 (pop-to-buffer-same-frame-other-window)
9576 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9577 (switch-to-buffer-other-window-same-frame): New functions.
9578 (same-window-p, special-display-p): Rewrite disabling warnings.
9580 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9581 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9583 (same-window-buffer-names, same-window-regexps)
9584 (special-display-frame-alist, special-display-popup-frame)
9585 (special-display-function, special-display-buffer-names)
9586 (special-display-regexps, pop-up-frame-alist)
9587 (pop-up-frame-function, split-window-preferred-function)
9588 (split-height-threshold, split-width-threshold)
9589 (even-window-heights): Make obsolete.
9591 2011-06-12 Glenn Morris <rgm@gnu.org>
9593 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9594 Misc simplifications.
9596 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9598 * window.el (window-safely-shrinkable-p): Restore function which
9599 was inadvertently removed in change from 2011-06-11. Declare as
9602 * calendar/calendar.el (calendar-generate-window):
9603 Use window-iso-combined-p instead of combination of one-window-p and
9604 window-safely-shrinkable-p.
9606 2011-06-12 Glenn Morris <rgm@gnu.org>
9608 * progmodes/fortran.el (fortran-mode-syntax-table):
9609 * progmodes/f90.el (f90-mode-syntax-table):
9610 Set % to punctuation. (Bug#8820)
9611 (f90-find-tag-default): Remove, no longer needed.
9613 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9615 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9617 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9619 * image.el (image-animated-p): Return animation delay in seconds.
9620 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9621 (image-animate-timeout): Remove DELAY argument. Don't assume
9622 every subimage has the same delay; get it from image-animated-p.
9623 (image-animate): Caller changed.
9625 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9627 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9628 to ignored backtrace functions.
9630 2011-06-11 Glenn Morris <rgm@gnu.org>
9632 * calendar/appt.el (appt-disp-window-function): Doc fix.
9633 (appt-check): Handle overlapping appointments. (Bug#8337)
9635 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9637 * window.el (window-tree-1, window-tree): New functions, moving
9638 the latter to window.el.
9639 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9640 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9641 (bw-refresh-edges): Remove.
9642 (balance-windows-1, balance-windows-2): New functions.
9643 (balance-windows): Rewrite in terms of window tree functions,
9644 balance-windows-1 and balance-windows-2.
9645 (bw-adjust-window): Remove.
9646 (balance-windows-area-adjust): New function with functionality of
9647 bw-adjust-window but using resize-window.
9648 (set-window-text-height): Rewrite doc-string.
9649 Use normalize-live-window and resize-window.
9650 (enlarge-window-horizontally, shrink-window-horizontally):
9651 Rename argument to DELTA.
9652 (window-buffer-height): New function.
9653 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9654 Rewrite using new window resize routines.
9655 (kill-buffer-and-window, mouse-autoselect-window-select):
9656 Use ignore-errors instead of condition-case.
9657 (quit-window): Call delete-frame instead of delete-windows-on
9658 for the only buffer on frame.
9660 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9662 * loadup.el (top-level): Load window before files for the sake
9663 of replace-buffer-in-windows.
9665 * files.el (read-buffer-to-switch)
9666 (switch-to-buffer-other-window)
9667 (switch-to-buffer-other-frame, display-buffer-other-frame):
9670 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9671 (previous-buffer): Move to window.el.
9673 * bindings.el (unbury-buffer): Move to window.el.
9675 * window.el (delete-other-windows-vertically): Move after
9676 definition of delete-other-windows.
9677 (other-window, delete-windows-on, replace-buffer-in-windows):
9678 Move here from window.c.
9679 (record-window-buffer, unrecord-window-buffer)
9680 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9681 (switch-to-next-buffer): New functions.
9682 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9683 from simple.el. Call switch-to-next-buffer.
9684 (previous-buffer): Move here from simple.el.
9685 Call switch-to-prev-buffer.
9686 (bury-buffer): Move here from buffer.c. Switch to previous
9687 buffer when window cannot be deleted.
9688 (unbury-buffer): Move here from bindings.el.
9689 (ctl-x-map): Move binding for other-window from window.c to
9691 (read-buffer-to-switch, switch-to-buffer-other-window)
9692 (switch-to-buffer-other-frame): Move here from files.el.
9693 (normalize-buffer-to-switch-to): New functions.
9694 (switch-to-buffer): Move here from buffer.c.
9695 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9697 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9699 * window.el (window-min-height, window-min-width): Move here
9700 from window.c. Add defcustoms and rewrite doc-strings.
9701 (resize-mini-window, resize-window): New functions.
9702 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9703 Move here from window.c.
9704 (maximize-window, minimize-window): New functions.
9705 (delete-window, delete-other-windows, split-window): Move here
9707 (window-split-min-size): New function.
9708 (split-window-keep-point): Mention split-window-above-each-other
9709 instead of split-window-vertically.
9710 (split-window-above-each-other, split-window-vertically):
9711 Rename split-window-vertically to split-window-above-each-other
9712 and provide defalias for old definition.
9713 (split-window-side-by-side, split-window-horizontally):
9714 Rename split-window-horizontally to split-window-side-by-side
9715 and provide defalias for the old definition.
9716 (ctl-x-map): Move bindings for delete-window,
9717 delete-other-windows and enlarge-window here from window.c.
9718 Replace bindings for split-window-vertically and
9719 split-window-horizontally by bindings for
9720 split-window-above-each-other and split-window-side-by-side.
9722 * cus-start.el (all): Remove entries for window-min-height and
9723 window-min-width. Add entries for window-splits and
9726 2011-06-09 Glenn Morris <rgm@gnu.org>
9728 * calendar/appt.el (appt-mode-line): New function.
9729 (appt-check, appt-disp-window): Use it.
9731 * files.el (hack-one-local-variable-eval-safep):
9732 Allow minor-modes with explicit +/-1 arguments.
9734 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9736 * term/xterm.el (xterm): Add defgroup.
9737 (xterm-extra-capabilities): Add defcustom to supply known xterm
9738 capabilities, skip querying them, or query them (default).
9739 (terminal-init-xterm): Use it.
9740 (terminal-init-xterm-modify-other-keys): New function to set up
9741 modifyOtherKeys support to simplify `terminal-init-xterm'.
9743 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9745 * window.el (resize-window-reset, resize-window-reset-1)
9746 (resize-subwindows-skip-p, resize-subwindows-normal)
9747 (resize-subwindows, resize-other-windows, resize-this-window)
9748 (resize-root-window, resize-root-window-vertically)
9749 (window-deletable-p, window-or-subwindow-p)
9750 (frame-root-window-p): New functions.
9752 2011-06-09 Glenn Morris <rgm@gnu.org>
9754 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9755 (ange-ftp-get-files): Use it.
9757 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9759 * mail/sendmail.el (mail-recover-1, mail-recover):
9760 * files.el (recover-file, recover-session):
9761 Handle dired-listing-switches not being just a single short option.
9763 2011-06-09 Glenn Morris <rgm@gnu.org>
9765 * calendar/appt.el (appt-display-message, appt-disp-window):
9766 Handle lists of appointments.
9768 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9770 * window.el (one-window-p): Move down in code.
9772 (window-current-scroll-bars): Rewrite doc-string.
9773 Normalize live window argument.
9774 (walk-windows, get-window-with-predicate, count-windows):
9775 Rewrite doc-string. Use window-list-1.
9776 (window-in-direction-2, window-in-direction, get-mru-window):
9779 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9781 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9784 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9786 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9788 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9790 * loadhist.el (unload-feature-special-hooks):
9791 Add `comint-output-filter-functions'.
9793 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9795 * calendar/appt.el (appt-check): Move some initializations into the let.
9797 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9799 * window.el (window-height): Defalias to window-total-height.
9800 (window-width): Defalias to window-body-width.
9802 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9804 * image-mode.el (image-toggle-animation): New command.
9805 (image-mode-map): Bind it to RET.
9806 (image-mode): Update message.
9807 (image-toggle-display-image): Avoid a spurious cache flush.
9808 (image-transform-rotation): Doc fix.
9809 (image-transform-properties): Return quickly in the normal case.
9810 (image-animate-loop): Rename from image-animate-max-time.
9812 * image.el (image-animate-max-time): Move to image-mode.el.
9813 (create-animated-image): Remove unnecessary function.
9814 (image-animate): Rename from image-animate-start. New arg.
9815 (image-animate-stop): Remove; just use image-animate-timer.
9816 (image-animate-timer): Use car-safe.
9817 (image-animate-timeout): Rename argument.
9819 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9821 * window.el (get-lru-window, get-largest-window): Move here from
9822 window.c. Rename first argument to ALL-FRAMES.
9823 Rephrase doc-strings.
9824 (get-buffer-window-list): Rewrite using window-list-1.
9825 Rephrase doc-string.
9826 (window-safe-min-height, window-safe-min-width): New constants.
9827 (window-size-ignore, window-min-size, window-min-size-1)
9828 (window-sizable, window-sizable-p, window-size-fixed-1)
9829 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9830 (window-max-delta-1, window-max-delta, window-resizable)
9831 (window-resizable-p, window-total-height, window-total-width)
9832 (window-body-width): New functions.
9833 (window-full-height-p, window-full-width-p): Rewrite using
9835 (window-body-height): Rewrite using window-body-size.
9837 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9839 * window.el (window-right, window-left, window-child)
9840 (window-child-count, window-last-child, window-any-p)
9841 (normalize-live-buffer, normalize-live-frame)
9842 (normalize-any-window, normalize-live-window)
9843 (window-iso-combination-p, window-iso-combined-p)
9844 (window-iso-combinations)
9845 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9846 (windows-with-parameter, window-with-parameter)
9847 (window-atom-root, make-window-atom, window-atom-check-1)
9848 (window-atom-check, window-side-check, window-check):
9850 (ignore-window-parameters, window-sides, window-sides-vertical)
9851 (window-sides-slots): New variables.
9852 (window-size-fixed): Move down in code. Minor doc-string fix.
9854 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9856 * comint.el (comint-dynamic-complete-as-filename)
9857 (comint-dynamic-complete-filename): Correctly call
9858 completion-in-region.
9860 2011-06-05 Deniz Dogan <deniz@dogan.se>
9862 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9865 2011-06-05 Deniz Dogan <deniz@dogan.se>
9867 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9868 (rcirc): Use it to prompt for encryption.
9870 2011-06-05 Roland Winkler <winkler@gnu.org>
9872 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9873 (bibtex-search-entries): New command bound to C-c C-a.
9874 (bibtex-display-entries): New function.
9876 2011-06-05 Roland Winkler <winkler@gnu.org>
9878 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9879 (bibtex-insert-kill): After yanking insert newline if necessary.
9880 (bibtex-initialize): Call bibtex-string-files-init only once.
9881 (bibtex-mode): Do not call easy-menu-add.
9882 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9883 (bibtex-yank): Set arg properly if nil.
9885 2011-06-05 Roland Winkler <winkler@gnu.org>
9887 * textmodes/bibtex.el (bibtex-search-entry-globally):
9889 (bibtex-search-entry): Use it.
9891 2011-06-05 Roland Winkler <winkler@gnu.org>
9893 * textmodes/bibtex.el (bibtex-entry-format): New option
9895 (bibtex-format-entry, bibtex-reformat): Honor this option.
9896 (bibtex-parse-entry): Return fields in proper order.
9898 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9900 * doc-view.el (doc-view-remove-if): Move computation of result out
9901 of `dolist' to silence misleading lexical-binding warning.
9903 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9905 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9906 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9908 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9910 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9913 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9915 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9916 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9917 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9918 (tramp-parse-putty):
9919 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9920 (tramp-completion-function-alist-ssh)
9921 (tramp-completion-function-alist-telnet)
9922 (tramp-completion-function-alist-su)
9923 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9928 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9929 load "tramp.el" `tramp-set-completion-function'.
9931 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9933 * shell.el: Require and use pcomplete.
9934 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9935 (shell-completion-vars): Set pcomplete-default-completion-function.
9937 2011-06-04 Deniz Dogan <deniz@dogan.se>
9939 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9942 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9946 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9948 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9949 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9950 * vc/log-view.el (log-view-beginning-of-defun):
9951 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9952 (smerge-refine-forward, smerge-refine-chopup-region):
9953 Silence warning for unused `dotimes' counter variables.
9955 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * net/tramp.el (tramp-with-progress-reporter): Rename from
9958 with-progress-reporter. Use `declare'.
9961 * net/tramp-gvfs.el: Update all uses.
9963 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9965 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9966 buffer isn't killed before making it current.
9968 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9970 Silence various byte-compiler warnings.
9971 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9972 `access-type' and new obsolescence format.
9973 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9975 (byte-compile-check-variable): New `access-type' argument.
9976 Only warn if the access-type is obsolete.
9977 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9978 (byte-compile-variable-set): Adjust callers.
9979 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9980 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9981 setting it as obsolete.
9982 * simple.el (minibuffer-completing-symbol):
9983 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9985 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9987 * international/quail.el (quail-mouse-choose-completion): Remove unused
9988 code referring to obsolete var.
9989 (quail-choose-completion-string): Remove.
9990 * server.el (server-clients-with, server-kill-buffer-query-function)
9991 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9992 * proced.el (proced-send-signal):
9993 * emacs-lisp/lisp.el (lisp-complete-symbol):
9994 Replace completion-annotate-function with completion-extra-properties.
9996 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9998 * simple.el (goto-line): Use read-number.
9999 (overriding-map-is-bound): Remove.
10000 (saved-overriding-map): Change default.
10001 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10002 Take the map as argument.
10003 (universal-argument, negative-argument, digit-argument): Use it.
10004 (restore-overriding-map): Adjust.
10005 (do-auto-fill): Use fill-forward-paragraph.
10006 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10008 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10009 (minibuffer-inactive-mode): New major mode.
10010 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10011 the *Messages* buffer" hack.
10012 (mouse-popup-menubar): Don't burp if the event is a normal key.
10014 Miscellaneous tweaks.
10015 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10016 lexical scoping as in subr.el's dolist and dotimes.
10017 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10018 Silence compiler warning.
10019 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10020 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10021 * international/ccl.el (ccl-compile): Trivial simplification.
10022 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10023 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10024 `printflag' argument.
10025 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10026 Purecopy the whole obsolescence data.
10028 2011-06-01 Leo Liu <sdl.web@gmail.com>
10030 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10031 improve doc-string as suggested by Marco Pessotto
10032 <melmothx@gmail.com>.
10033 (rcirc-print): Fix last change.
10035 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * minibuffer.el (complete-with-action): Return nil for the metadata and
10038 boundaries of non-functional tables.
10039 (completion-table-dynamic): Return nil for the metadata.
10040 (completion-table-with-terminator): Add default case, using
10041 complete-with-action.
10042 (completion--metadata): New function.
10043 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10044 to try and avoid pathological performance problems.
10045 (completion--embedded-envvar-table): Return `category' metadata.
10047 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10049 * subr.el (process-alive-p): New tiny convenience function.
10051 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10054 content but also its previous major mode.
10056 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10058 * emacs-lisp/debug.el (debug): Restore the previous content of the
10059 *Backtrace* buffer when we exit with C-M-c.
10061 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * minibuffer.el: Add metadata method to completion tables.
10064 (completion-category-overrides): New defcustom.
10065 (completion-metadata, completion--field-metadata)
10066 (completion-metadata-get, completion--styles)
10067 (completion--cycle-threshold): New functions.
10068 (completion-try-completion, completion-all-completions):
10069 Add `metadata' argument to choose completion-styles.
10070 (completion--do-completion): Use metadata to choose cycling.
10071 (completion-all-sorted-completions): Use metadata for sorting.
10072 Remove :completion-cycle-penalty which is not needed any more.
10073 (completion--try-word-completion): Add `metadata' argument.
10074 (minibuffer-completion-help): Check metadata for annotation function
10076 (completion-file-name-table): Return `category' metadata.
10077 (minibuffer-completing-file-name): Make obsolete.
10078 * simple.el (minibuffer-completing-symbol): Make obsolete.
10079 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10080 completion-try-completion.
10082 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10084 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10086 2011-05-30 Leo Liu <sdl.web@gmail.com>
10088 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10089 (rcirc-print): Decode all incoming messages (bug#8744).
10090 (rcirc-decode-coding-system): Allow value nil for automatic coding
10093 2011-06-01 Glenn Morris <rgm@gnu.org>
10095 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10097 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10099 * image.el (image-animate-max-time): Allow nil and t values.
10101 (create-animated-image): Doc fix.
10102 (image-animate-start): Remove second arg; just use
10103 image-animate-max-time.
10104 (image-animate-timeout): Doc fix. Args changed.
10106 * image-mode.el (image-toggle-display-image): Ensure that the
10107 image spec passed to the animate timer is the same object as in
10108 the buffer's display property (Bug#6981).
10109 (image-transform-properties): Doc fix.
10111 * image.el (image-animate-max-time): Default to nil.
10113 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10115 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10116 entire buffer list (Bug#8184).
10118 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10120 * image.el (imagemagick-types-inhibit)
10121 (imagemagick-register-types): Doc fix.
10123 2011-05-29 Deniz Dogan <deniz@dogan.se>
10125 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10128 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10130 * select.el: Don't perform clipboard-manager saving in hooks;
10131 leave the hooks empty.
10133 2011-05-28 Leo Liu <sdl.web@gmail.com>
10135 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10136 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10137 (occur-edit-mode): New major mode (Bug#8463).
10138 (occur-after-change-function): New function.
10139 (occur-engine): Give Occur tags a read-only property.
10141 2011-05-28 Kevin Ryde <user42@zip.com.au>
10143 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10145 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10147 * bindings.el (help-echo): Make the initial non-indicator dash
10148 empty on graphical terminals (Bug#7295).
10150 * files.el (auto-mode-alist): Move config rule after the
10151 in-stripping one (Bug#8547).
10153 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10155 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10156 setting (Bug#8740).
10158 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10160 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10161 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10164 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10166 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10168 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10170 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10171 (hs-hide-block-at-point, hs-find-block-beginning)
10172 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10175 2011-05-28 Glenn Morris <rgm@gnu.org>
10177 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10179 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10181 * help-fns.el (describe-function-1): If the function is a derived
10182 major mode, print the parent mode.
10184 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10185 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10187 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * minibuffer.el (completion--capf-wrapper): Check applicability before
10190 returning non-nil for non-exclusive completion data.
10191 * progmodes/etags.el (tags-completion-at-point-function):
10192 * info-look.el (info-lookup-completions-at-point): Mark as
10194 (info-complete): Adjust accordingly.
10196 * info-look.el: Convert to lexical-binding and completion-at-point.
10197 (info-lookup-completions-at-point): New function.
10198 (info-complete): Use it and completion-in-region.
10200 2011-05-28 Drew Adams <drew.adams@oracle.com>
10202 * isearch.el: Let M-e start with point at the first mismatched char.
10203 (isearch-fail-pos): New function.
10204 (isearch-edit-string): Use it.
10206 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10208 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10210 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10212 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10213 traversal functions for avl-trees.
10214 (avl-tree--stack): New struct.
10215 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10216 (avl-tree-enter): Add optional `updatefun' arg.
10217 (avl-tree--do-enter): Add optional `updatefun' arg.
10218 Change return value.
10219 (avl-tree-delete): Add optional `test' and `nilflag' args.
10220 (avl-tree--do-delete): Add `test' and `nilflag' args.
10221 Change return value.
10222 (avl-tree-member): Add optional `nilflag'
10223 (avl-tree-member-p): New function.
10224 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10225 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10226 (avl-tree-stack-empty-p): New functions.
10228 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10229 avl-tree--del-balance1 and make it work both ways.
10230 (avl-tree--del-balance2): Remove.
10231 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10232 make it work both ways.
10233 (avl-tree--enter-balance2): Remove.
10234 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10236 (avl-tree--mapc, avl-tree-map): Add direction argument.
10238 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10240 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10242 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10244 * select.el: Support clipboard managers with built-in function
10245 x-clipboard-manager-save, via delete-frame-functions and
10247 (xselect-convert-to-targets): Add MULTIPLE target to list.
10248 (xselect-convert-to-save-targets): New function.
10250 2011-05-27 Kenichi Handa <handa@m17n.org>
10252 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10253 let-binding rfc2047-encode-encoded-words to nil.
10255 2011-05-27 Glenn Morris <rgm@gnu.org>
10257 * mail/emacsbug.el: Don't require url-util.
10259 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10261 * files.el (set-auto-mode):
10262 Also respect mode: entries at the end of the file. (Bug#8586)
10264 2011-05-26 Glenn Morris <rgm@gnu.org>
10266 * files.el (hack-local-variables-prop-line, hack-local-variables):
10267 Downcase mode names, as seems to be traditional.
10268 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10270 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10271 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10273 2011-05-25 Julien Danjou <julien@danjou.info>
10275 * textmodes/rst.el (rst-define-level-faces): Do not define face
10276 symbol if it is already defined.
10278 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10280 * play/5x5.el (5x5-new-game, 5x5-randomize):
10281 Reset 5x5-solver-output to nil when a new grid is cast.
10282 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10283 these debugging traces, as defmacro breaks the compiled code.
10285 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10287 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10289 2011-05-24 Leo Liu <sdl.web@gmail.com>
10291 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10292 (vc-bzr-sha1): Adapt.
10294 * sha1.el: Remove. Function `sha1' is now builtin.
10296 * bindings.el: Provide sha1 feature.
10298 2011-05-24 Kenichi Handa <handa@m17n.org>
10300 * mail/sendmail.el: Require `rfc2047'.
10301 (mail-insert-from-field): Do not perform RFC2047 encoding.
10302 (mail-encode-header): New function.
10303 (sendmail-send-it): Set buffer-file-coding-system of the work
10304 buffer to the return value of select-message-coding-system.
10305 Call mail-encode-header.
10307 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10309 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10311 * mail/supercite.el (sc-default-cite-frame):
10312 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10314 2011-05-24 Glenn Morris <rgm@gnu.org>
10316 * progmodes/python.el (brm-menu): Declare.
10318 * emulation/viper.el (viper-set-hooks): Declare.
10320 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10321 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10322 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10323 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10324 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10325 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10327 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10329 Add an :exit-function for completion-at-point.
10331 * minibuffer.el (completion--done): New fun.
10332 (completion--do-completion): Use it. New arg `expect-exact'.
10333 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10334 since completion--do-completion does it for us now.
10335 (minibuffer-force-complete): Use completion--done and
10336 completion--replace. Handle sole-completion case with more care.
10337 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10338 (completion-extra-properties): New var.
10339 (completion-annotate-function): Make obsolete.
10340 (minibuffer-completion-help): Adjust accordingly.
10341 Use completion-list-insert-choice-function.
10342 (completion-at-point, completion-help-at-point):
10343 Bind completion-extra-properties.
10344 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10345 * simple.el (completion-list-insert-choice-function): New var.
10346 (completion-setup-function): Preserve it.
10347 (choose-completion): Pay attention to it, shuffle the code a bit.
10348 (choose-completion-string): New arg `insert-function'.
10350 * textmodes/bibtex.el: Convert to lexical binding.
10351 (bibtex-mode-map): Use completion-at-point.
10352 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10353 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10354 (bibtex-complete): Define as obsolete alias.
10355 (bibtex-complete-internal): Remove.
10356 (bibtex-format-entry): Remove unused sub-group in regexp.
10357 * shell.el (shell--command-completion-data)
10358 (shell-environment-variable-completion):
10359 * pcomplete.el (pcomplete-completions-at-point):
10360 * comint.el (comint--complete-file-name-data): Use :exit-function
10361 instead of completion-table-with-terminator so it also works for
10364 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10366 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10368 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10371 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10373 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10375 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10376 customization variable and implement: If non-nil, auto-fill will
10377 be inhibited while on topic's header line.
10379 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10381 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10382 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10383 always have a solution in grid size = 5 cases.
10384 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10385 (5x5-solver-output, 5x5-log-buffer): New vars.
10386 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10387 Make these variables buffer local to achieve 5x5 multi-session-ness.
10388 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10389 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10390 (5x5-solve-suggest): New funs.
10391 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10392 randomize a grid so that we ensure that there is always a solution.
10393 (5x5-make-random-grid): Allow other movement than flipping.
10395 2011-05-23 Kevin Ryde <user42@zip.com.au>
10397 * emacs-lisp/advice.el (ad-read-advised-function):
10398 Use `function-called-at-point' as the default, if it has
10399 advice and passes PREDICATE.
10401 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10404 byte-compile-lambda if it's actually a lambda.
10406 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10407 Fix function quoting. Use backquote better.
10409 2011-05-22 Yuanle Song <sylecn@gmail.com>
10411 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10412 matching (Bug#8516).
10414 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10416 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10417 different face (Bug#8178).
10419 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10421 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10422 defface (Bug#8144).
10424 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10427 funcall as well (bug#8712). Warn when performing those conversions.
10428 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10430 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10432 2011-05-22 Glenn Morris <rgm@gnu.org>
10434 * files.el (hack-local-variables-prop-line): Small simplifications.
10435 (hack-local-variables, hack-local-variables-prop-line):
10436 If MODE-ONLY, return the mode, rather than just `t'.
10438 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10442 2011-05-21 Glenn Morris <rgm@gnu.org>
10444 * files.el (hack-local-variables-prop-line, hack-local-variables):
10445 If only interested in the mode, don't bother doing the other stuff.
10447 * image-mode.el (image-after-revert-hook):
10448 Redraw all frames on which the image is visible. (Bug#8567)
10450 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10452 * wid-edit.el (widget-checklist-match-inline):
10453 Fix 2011-04-19 change. (Bug#8649)
10455 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10458 Also allow singlespace after single-letter capitals followed by a dot.
10460 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10461 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10463 2011-05-20 Nix <nix@esperi.org.uk>
10465 * files.el (basic-save-buffer-2):
10466 Fix handling of break-hardlink-on-save with non-existent files.
10468 2011-05-19 Deniz Dogan <deniz@dogan.se>
10470 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10471 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10473 2011-05-19 Glenn Morris <rgm@gnu.org>
10475 * progmodes/f90.el (f90-type-def-re):
10476 Handle "type, bind(c)". (Bug#8691)
10478 * emacs-lisp/autoload.el (batch-update-autoloads):
10479 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10481 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10483 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10484 property for the correct connection in case of multihops.
10486 2011-05-18 Glenn Morris <rgm@gnu.org>
10488 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10489 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10491 Rationalize calendar handling of day and month abbrev-arrays.
10492 * calendar/calendar.el (calendar-customized-p): New function.
10493 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10494 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10496 (calendar-abbrev-length, calendar-day-abbrev-array)
10497 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10498 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10499 Elements may no longer be nil.
10500 (calendar-day-name, calendar-month-name):
10501 Update for changed nature of abbrev arrays.
10502 * calendar/diary-lib.el (diary-name-pattern):
10503 Update for changed nature of abbrev arrays.
10504 (diary-mark-entries-1): Update calendar-make-alist calls.
10505 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10506 * calendar/cal-html.el (cal-html-day-abbrev-array):
10507 Simply inherit from calendar-day-abbrev-array.
10509 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * progmodes/grep.el (grep-mode): Disable default
10512 compilation-directory-matcher setting (bug#8684).
10514 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10516 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10517 instead of "head" and "tail". There were problems with SunOS 5.9,
10518 and it performs better.
10520 2011-05-17 Glenn Morris <rgm@gnu.org>
10522 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10524 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10525 Replace obsolete function.
10527 * shell.el (pcomplete-parse-arguments-function): Declare.
10529 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10530 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10531 (appt-check): Doc fixes.
10532 (appt-disp-window-function, appt-delete-window-function):
10533 Remove needless special case in custom :type.
10534 (appt-display-count): Default to 0, not nil.
10535 (appt-check): Reset appt-display-count to 0, not nil.
10537 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10539 * progmodes/python.el (python-font-lock-keywords):
10540 Add the Python 3.X keyword "nonlocal" (bug#8639).
10542 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10546 2011-05-16 Kevin Ryde <user42@zip.com.au>
10548 * info-look.el (makefile-automake-mode): New setups, looking in
10549 automake manual, then makefile-mode.
10550 (makefile-mode): Remove automake manual, have it just in
10551 makefile-automake-mode since there's various things different or
10552 not relevant to plain make.
10553 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10554 believe a hypothetical automake-mode would go to makefile-mode,
10555 not the other way around.
10557 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10559 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10560 hunk-end tags (Bug#8672).
10562 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10563 vc-annotate-show-diff-revision-at-line (Bug#8671).
10565 2011-05-14 Glenn Morris <rgm@gnu.org>
10567 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10568 in the middle of an existing one with multiple authors. (Bug#8645)
10569 (change-log-font-lock-keywords): Also handle multiple author lines
10570 with leading tabs. (Bug#8644)
10572 * calendar/appt.el (appt-check): Rename some local variables.
10573 Some simplification/reordering.
10575 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10576 (feedmail-sendmail-f-doesnt-sell-me-out)
10577 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10578 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10579 (feedmail-queue-runner-message-sender): Set :version.
10580 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10581 (bbdb-dwim-net-address, vm-mail): Declare.
10582 (feedmail-binmail-gnulinuxish-template):
10583 Rename from feedmail-binmail-linuxish-template.
10584 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10585 Use insert-buffer-substring.
10587 2011-05-14 Bill Carpenter <bill@carpenter.org>
10589 * mail/feedmail.el (feedmail-patch-level): Increase.
10590 (feedmail-debug): New custom group.
10591 (feedmail-confirm-outgoing-timeout)
10592 (feedmail-sendmail-f-doesnt-sell-me-out)
10593 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10594 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10595 (feedmail-sender-line, feedmail-from-line)
10596 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10597 (feedmail-spray-this-address)
10598 (feedmail-spray-address-fiddle-plex-list)
10599 (feedmail-queue-use-send-time-for-date)
10600 (feedmail-queue-use-send-time-for-message-id)
10601 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10602 (feedmail-buffer-eating-function):
10604 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10605 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10606 (feedmail-message-action-scroll-down): New functions.
10607 (feedmail-queue-directory, feedmail-queue-draft-directory):
10608 Use expand-file-name.
10609 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10610 Remove C-v help entry.
10611 (feedmail-queue-buffer-file-name): New variable.
10612 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10613 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10614 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10615 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10616 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10617 (feedmail-message-action-toggle-spray)
10618 (feedmail-run-the-queue-no-prompts)
10619 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10620 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10621 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10622 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10623 (feedmail-envelope-deducer, feedmail-fiddle-from)
10624 (feedmail-fiddle-sender, feedmail-default-date-generator)
10625 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10626 (feedmail-fiddle-spray-address)
10627 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10628 (feedmail-fiddle-list-of-fiddle-plexes)
10629 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10630 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10631 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10632 Change default. Doc fix.
10633 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10634 (feedmail-binmail-linuxish-template): New constant.
10635 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10636 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10637 (feedmail-send-it): Add debug call.
10638 Use feedmail-queue-buffer-file-name, and
10639 feedmail-send-it-immediately-wrapper.
10640 (feedmail-message-action-send): Add debug call.
10641 Use feedmail-send-it-immediately-wrapper.
10642 (feedmail-queue-express-to-queue): Add debug call.
10643 Run feedmail-queue-express-hook.
10644 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10645 (feedmail-message-action-help-blat):
10646 Rename from feedmail-queue-send-edit-prompt-help-first.
10647 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10648 Check line-endings. Handle errors better.
10649 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10650 Doc fix. Add debug call.
10651 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10652 Use feedmail-queue-send-edit-prompt-inner.
10653 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10654 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10655 from feedmail-queue-send-edit-prompt.
10656 (feedmail-queue-send-edit-prompt-help)
10657 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10658 (feedmail-tidy-up-slug): Add debug call.
10659 Respect feedmail-queue-slug-suspect-regexp.
10660 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10661 (feedmail-dump-message-to-queue): Add debug call.
10662 Expand queue-directory.
10663 (feedmail-dump-message-to-queue): Change message slightly.
10664 Use feedmail-say-chatter.
10665 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10666 (feedmail-send-it-immediately-wrapper): New function.
10667 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10668 Insert empty string rather than newline. Handle full-frame case.
10669 Use catch/throw. Use feedmail-say-chatter.
10670 (feedmail-fiddle-from): Try mail-host-address.
10671 (feedmail-default-message-id-generator): Doc fix.
10672 Bind system-time-locale. Handle missing end.
10673 (feedmail-fiddle-x-mailer): Add debug call.
10674 Handle feedmail-x-mailer-line being nil.
10675 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10676 Add debug call. Use buffer-substring-no-properties.
10677 (feedmail-say-debug, feedmail-say-chatter): New functions.
10678 (feedmail-find-eoh): Give an explicit error.
10680 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10682 * net/newst-treeview.el (newsticker-treeview-face): Change default
10683 family from helvetica to sans.
10684 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10685 etc/images/newsticker.
10687 * net/newst-reader.el (newsticker-feed-face): Change default
10688 family from helvetica to sans.
10690 * net/newst-plainview.el (newsticker-new-item-face)
10691 (newsticker-old-item-face, newsticker-immortal-item-face)
10692 (newsticker-obsolete-item-face, newsticker-date-face)
10693 (newsticker-statistics-face): Change default family from
10695 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10696 etc/images/newsticker.
10698 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10699 (newsticker--process-auto-mark-filter-match): : Tell user about
10702 2011-05-13 Didier Verna <didier@xemacs.org>
10704 Common Lisp indentation improvements on defmethod and lambda-lists.
10705 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10707 (lisp-lambda-list-keyword-parameter-indentation)
10708 (lisp-lambda-list-keyword-parameter-alignment)
10709 (lisp-lambda-list-keyword-alignment): New customizable user options.
10710 (lisp-indent-defun-method): Improve docstring.
10711 (extended-loop-p): Fix comment.
10712 (lisp-indent-lambda-list-keywords-regexp): New variable.
10713 (lisp-indent-lambda-list): New function.
10714 (lisp-indent-259): Use it.
10715 (lisp-indent-defmethod): Support for more than one
10716 method qualifier and properly indent methods lambda-lists.
10717 (defgeneric): Provide a missing common-lisp-indent-function property.
10719 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10721 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10722 bounds for the empty string (bug#8667).
10724 2011-05-13 Glenn Morris <rgm@gnu.org>
10726 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10728 * mail/sendmail.el (sendmail-program): Try executable-find first.
10729 (sendmail-send-it): `sendmail-program' cannot be unbound.
10731 * calendar/appt.el (appt-make-list): Simplify.
10732 (appt-time-msg-list): Doc fix.
10733 (appt-check): Change mode-line message at the time of the appointment.
10735 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10737 * progmodes/ld-script.el (ld-script-keywords)
10738 (ld-script-builtins): Update keywords list.
10740 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10744 * shell.el (shell-completion-vars): New function.
10746 * simple.el (read-shell-command): Use it.
10747 (blink-matching-open): No need for " [...]" in minibuffer-message.
10749 2011-05-12 Glenn Morris <rgm@gnu.org>
10751 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10752 (appt-check): Simplify.
10754 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10756 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10757 literal "/dev/null".
10759 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10761 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10764 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10766 * progmodes/which-func.el (which-function):
10767 Use add-log-current-defun instead of add-log-current-defun-function,
10768 which might not be defined (Bug#8260).
10770 2011-05-12 Glenn Morris <rgm@gnu.org>
10772 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10773 Let byte-compile-initial-macro-environment always take precedence.
10775 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10777 * net/rcirc.el: Add support for SSL/TLS connections.
10778 (rcirc-server-alist): New field `encryption'.
10779 (rcirc): Check `encryption' settings.
10780 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10781 Merge make-local-variable into `set'.
10782 (rcirc--connection-open-p): New function.
10783 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10784 the process is not a network process (e.g. running gnutls-cli).
10785 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10786 Make rcirc-(en|de)code-coding-system local here.
10787 (rcirc-mode): Merge make-local-variable into `set'.
10788 (rcirc-parent-buffer): Make permanent buffer-local.
10789 (rcirc-multiline-minor-mode): Don't do it here.
10790 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10791 there's no server buffer.
10793 2011-05-11 Glenn Morris <rgm@gnu.org>
10795 * newcomment.el (comment-kill): Prefix "unused" local.
10797 * term/w32console.el (get-screen-color): Declare.
10799 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10800 Handle symbol elements of byte-compile-initial-macro-environment.
10802 2011-05-10 Leo Liu <sdl.web@gmail.com>
10804 * bookmark.el (bookmark-bmenu-mode-map):
10805 Bind bookmark-bmenu-search to `/'.
10807 * mail/footnote.el: Convert to utf-8 encoding.
10808 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10809 (Footnote-unicode): New function.
10810 (footnote-style-alist): Add unicode style to the list.
10811 (footnote-style): Doc fix.
10813 2011-05-10 Jim Meyering <meyering@redhat.com>
10815 Fix doubled-word typos.
10816 * international/quail.el (quail-insert-kbd-layout): and and -> and
10817 * kermit.el: and and -> and
10818 * net/ldap.el (ldap-search-internal): to to -> to
10819 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10820 * progmodes/js.el (js-mode): and and -> and
10821 * textmodes/artist.el (artist-move-to-xy): at at -> at
10822 (artist-draw-region-trim-line-endings): if if -> if
10823 And Safetyc -> Safety.
10824 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10826 2011-05-10 Glenn Morris <rgm@gnu.org>
10827 Stefan Monnier <monnier@iro.umontreal.ca>
10829 * files.el (hack-one-local-variable-eval-safep):
10830 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10832 2011-05-10 Glenn Morris <rgm@gnu.org>
10834 * calendar/diary-lib.el (diary-list-entries-hook)
10835 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10836 (diary-nongregorian-marking-hook, diary-list-entries)
10837 (diary-include-other-diary-files, diary-mark-entries)
10838 (diary-mark-included-diary-files): Doc fixes.
10840 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10842 * misc.el: Require tabulated-list.el during compilation.
10844 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10846 * progmodes/compile.el (compilation-start):
10847 Run compilation-filter-hook for the async case too.
10848 (compilation-filter-hook): Doc fix.
10850 2011-05-09 Deniz Dogan <deniz@dogan.se>
10852 * wdired.el: Remove outdated installation comment. Fix usage
10855 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10857 * misc.el: Implement new command `list-dynamic-libraries'.
10858 (list-dynamic-libraries--loaded-only-p): New variable.
10859 (list-dynamic-libraries--refresh): New function.
10860 (list-dynamic-libraries): New command.
10862 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10864 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10865 Fix the ant regexp to handle end-line and end-column info from jikes.
10866 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10867 higher priority to avoid clobbering by gnu.
10869 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10871 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10872 if the face has existing theme settings (Bug#8454).
10874 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10876 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10877 Only match variables declared via `my' or `our' (Bug#8261).
10879 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10880 special file names `.' and `..' (Bug#8259).
10882 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10884 * progmodes/grep.el (grep-mode-font-lock-keywords):
10885 Remove buffer-changing entries.
10886 (grep-filter): New function.
10887 (grep-mode): Add it to compilation-filter-hook.
10889 * progmodes/compile.el (compilation-filter-hook)
10890 (compilation-filter-start): New defvars.
10891 (compilation-filter): Call compilation-filter-hook prior to
10892 updating the process mark.
10894 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10898 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10900 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10901 mailclient-send-it even if window-system is nil. (Bug#8595)
10903 * term/w32console.el (terminal-init-w32console):
10904 Call get-screen-color and use its output to set the frame
10905 background-mode. (Bug#8597)
10907 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10909 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10910 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10912 (defgeneric, eieio--defmethod): Use them.
10913 (eieio-defgeneric): Remove.
10914 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10916 2011-05-07 Glenn Morris <rgm@gnu.org>
10918 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10919 Use let rather than let*.
10920 (timeclock-find-discrep): Remove unused local.
10922 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10924 * calendar/appt.el (appt-time-msg-list): Doc fix.
10926 2011-05-06 Noah Friedman <friedman@splode.com>
10928 * apropos.el (apropos-print-doc): Only use
10929 emacs-lisp-docstring-fill-column when it is bound to an integer,
10930 per that variable's documentation.
10932 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10935 and warnings are not silently discarded (e.g. use -d instead of -P).
10937 2011-05-06 Glenn Morris <rgm@gnu.org>
10939 * calendar/appt.el (appt-message-warning-time): Doc fix.
10940 (appt-warning-time-regexp): New option.
10941 (appt-make-list): Respect appt-message-warning-time.
10943 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10945 (diary-add-to-list): Strip comments from the displayed string.
10946 (diary-mode): Set comment-start and comment-end.
10948 * vc/diff-mode.el (smerge-refine-subst): Declare.
10949 (diff-refine-hunk): Don't require smerge-mode when compiling.
10951 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10953 * simple.el (list-processes): Return nil as the docstring says.
10955 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10957 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10959 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10960 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10961 determining of binary transfer. (Bug#7383)
10963 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10966 Fix port computation bug. (Bug#8618)
10968 2011-05-05 Glenn Morris <rgm@gnu.org>
10970 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10972 * simple.el (shell-dynamic-complete-functions)
10973 (comint-dynamic-complete-functions): Declare.
10975 * net/network-stream.el (gnutls-negotiate):
10976 * simple.el (tabulated-list-print): Fix declarations.
10978 * progmodes/gud.el (syntax-symbol, syntax-point):
10979 Remove unnecessary and incorrect declarations.
10981 * emacs-lisp/check-declare.el (check-declare-scan):
10982 Handle byte-compile-initial-macro-environment in bytecomp.el
10984 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10986 Fix earlier half-done eieio-defmethod change (bug#8338).
10987 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10988 Streamline and change calling convention.
10989 (defmethod): Adjust accordingly and simplify.
10990 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10991 new eieio--defmethod.
10992 (slot-boundp): Minor CSE simplification.
10994 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10996 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10997 (glasses-make-readable): Use glasses-separate-capital-groups.
10999 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11001 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11002 (warning-series): Doc fix.
11003 (display-warning): Don't try to create the buffer if we just found it.
11005 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11007 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11008 (autoload-find-generated-file): New function.
11009 (generate-file-autoloads): Bind generated-autoload-file to
11011 (update-file-autoloads, update-directory-autoloads):
11012 Use autoload-find-generated-file. If called interactively, prompt for
11013 output file (Bug#7989).
11014 (batch-update-autoloads): Doc fix.
11016 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11018 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11020 2011-05-04 Glenn Morris <rgm@gnu.org>
11022 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11023 function, so it follows changes in calendar-date-style.
11024 (diary-fancy-date-matcher): New function.
11025 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11026 (diary-fancy-font-lock-fontify-region-function):
11027 Use diary-fancy-date-pattern as a function.
11029 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11030 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11032 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11034 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11035 instead of positional arguments. Allow :keylist and :crlfiles
11037 (open-gnutls-stream): Call it.
11039 * net/network-stream.el (network-stream-open-starttls): Adjust to
11040 call `gnutls-negotiate' with :process and :hostname arguments.
11042 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * minibuffer.el (completion--message): New function.
11045 (completion--do-completion, minibuffer-complete)
11046 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11047 (completion--do-completion): Don't ignore completion-auto-help when in
11050 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11051 internal encoding (e.g. tibetan zero is not whitespace).
11052 (global-whitespace-mode): Prefer save-current-buffer.
11053 (whitespace-trailing-regexp): Remove useless save-match-data.
11054 (whitespace-empty-at-bob-regexp): Minor simplification.
11056 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11058 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11060 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11062 * textmodes/ispell.el (ispell-add-per-file-word-list):
11063 Use `concat' to create string for insertion.
11065 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11068 Avoid open-line which runs post-self-insert-hook.
11069 (bibtex-fill-entry): Remove unused `end' var.
11071 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11073 * textmodes/ispell.el (ispell-add-per-file-word-list):
11074 Protect against `nil' value of `comment-start' (Bug#8579).
11076 2011-05-03 Leo Liu <sdl.web@gmail.com>
11078 * isearch.el (isearch-yank-pop): New command.
11079 (isearch-mode-map): Bind it to `M-y'.
11080 (isearch-forward): Mention it.
11082 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * simple.el (minibuffer-complete-shell-command): Remove.
11085 (minibuffer-local-shell-command-map): Use completion-at-point.
11086 (read-shell-command): Setup completion vars here instead.
11087 (read-expression-map): Bind TAB to symbol completion.
11089 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11090 error directly rather via storing it into `results'.
11092 2011-05-02 Leo Liu <sdl.web@gmail.com>
11094 * vc/diff.el: Fix description.
11096 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11098 * server.el (server-eval-at): New function.
11100 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11102 * net/network-stream.el (open-network-stream): Take a :nowait
11103 parameter and pass it on to `make-network-process'.
11104 (network-stream-open-plain): Ditto.
11106 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11108 * faces.el (face-spec-set-match-display): Don't match toolkit
11109 options on terminal frames.
11111 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11113 * progmodes/pascal.el: Use lexical binding.
11114 (pascal-mode-map): Remove author preferences.
11116 * pcomplete.el (pcomplete-std-complete): Don't abuse
11117 completion-at-point.
11119 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11121 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11122 removing code that has been dead since 1991 or so.
11124 * startup.el (command-line): When warning about "_emacs", use a
11125 delayed warning to allow the user to filter it out.
11127 2011-04-28 Deniz Dogan <deniz@dogan.se>
11129 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11130 user has not joined.
11132 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11134 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11135 aren't any completions at point.
11137 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11139 * subr.el (display-delayed-warnings): New function.
11140 (delayed-warnings-hook): New variable.
11142 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11144 * minibuffer.el (completion-at-point, completion-help-at-point):
11145 Don't presume that a given completion-at-point-function will always
11146 use the same calling convention.
11148 * pcomplete.el (pcomplete-completions-at-point):
11149 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11150 pcomplete-seen is non-nil.
11151 (pcomplete-comint-setup): Also recognize the new comint/shell
11152 completion functions.
11153 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11154 pcomplete-seen is non-nil.
11156 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11158 * calendar/icalendar.el (diary-lib): Add require statement.
11159 (icalendar--create-uid): Read out a uid from a text-property on
11160 the first character in the entry. This allows for code to add its
11161 own uid to the entry.
11162 (icalendar--convert-float-to-ical): Add export of
11163 `diary-float'-entries save for those with the optional DAY
11166 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11168 * subr.el (shell-quote-argument): Use alternate escaping strategy
11169 when we spot a variable reference in a string.
11171 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11173 * cus-start.el (all): Define customization for debug-on-event.
11175 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11177 * subr.el (shell-quote-argument): Escape correctly under Windows.
11179 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11183 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11185 * net/tramp.el (tramp-process-actions): Add POS argument.
11186 Delete region between POS and (pos).
11188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11189 Use `nil' position in `tramp-process-actions' call.
11190 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11192 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11193 position in `tramp-process-actions' call.
11195 * net/trampver.el: Update release number.
11197 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11199 * custom.el (defcustom): Obey lexical-binding.
11201 Fix octave-inf completion problems reported by Alexander Klimov.
11202 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11203 Inherit from octave-mode-syntax-table.
11204 (inferior-octave-mode): Set info-lookup-mode.
11205 (inferior-octave-completion-at-point): New function.
11206 (inferior-octave-complete): Use it and completion-in-region.
11207 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11208 comint-filename-completion.
11209 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11210 symbol elements which shouldn't be word elements.
11211 (octave-font-lock-keywords, octave-beginning-of-defun)
11212 (octave-function-header-regexp): Adjust regexps accordingly.
11213 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11215 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11217 * net/gnutls.el (gnutls-errorp): Declare before first use.
11219 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11221 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11222 verify-error, and verify-hostname-error parameters. Check whether
11223 default trustfile exists before going to use it. Add missing
11224 argument to gnutls-message-maybe call. Return value.
11225 Reported by Claudio Bley <claudio.bley@gmail.com>.
11226 (open-gnutls-stream): Add usage example.
11228 * net/network-stream.el (network-stream-open-starttls): Give host
11229 parameter to `gnutls-negotiate'.
11230 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11231 * subr.el (shell-quote-argument): Escape correctly under Windows.
11233 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11235 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11236 Use correct match group (bug#8438).
11238 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11240 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11241 (package-menu--generate): New arg specifying packages to show.
11242 (package-menu-refresh, package-menu-execute, list-packages):
11244 (package-show-package-list): New function, replacing deleted
11245 package--list-packages (renamed because it is non-internal).
11247 * finder.el (finder-list-matches): Use package-show-package-list
11248 instead of deleted package--list-packages.
11250 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11251 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11252 (vc-annotate-mode-map): Bind it to RET.
11254 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11256 * progmodes/etags.el (next-file): Don't use set-buffer to change
11257 buffers (Bug#8478).
11259 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11261 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11263 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11264 (apropos-accumulator): Doc fix.
11265 (apropos-function, apropos-macro, apropos-command)
11266 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11267 (apropos-plist): Add face property.
11268 (apropos-symbols-internal): Fix indentation.
11269 (apropos-print): Simplify help, and recognize apropos-multi-type.
11270 (apropos-print-doc): Use button-type-get to extract the button's
11271 face property. Fill docstring (Bug#8352).
11273 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11275 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11277 * play/mpuz.el (mpuz-silent): Doc fix.
11278 (mpuz-mode-map): Use mapc.
11279 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11280 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11281 Fix typos in docstrings.
11283 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11284 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11286 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11288 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11290 * minibuffer.el (completion--do-completion): Avoid the "Next char
11291 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11293 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11294 mouse-2 into unread-command-events, it is interpreted correctly.
11296 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11297 (image-toggle-display): Doc fix.
11299 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11301 * textmodes/page.el (what-page): Use line-number-at-pos to
11302 calculate line number (Bug#6825).
11304 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11306 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11307 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11308 Pass argument NO-DEFAULT to `find-tag-interactive'.
11310 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11312 Lexical-binding cleanup.
11314 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11315 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11316 * progmodes/ada-prj.el (ada-prj-initialize-values)
11317 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11318 (ada-prj-show-value):
11319 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11320 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11321 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11322 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11323 * progmodes/bug-reference.el (bug-reference-push-button):
11324 * progmodes/fortran.el (fortran-line-length):
11325 * progmodes/glasses.el (glasses-change):
11326 * progmodes/octave-mod.el (octave-fill-paragraph):
11327 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11328 (python-pdbtrack-grub-for-buffer, python-sentinel):
11329 * progmodes/sql.el (sql-save-connection):
11330 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11331 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11332 Mark unused parameters.
11334 * progmodes/compile.el (compilation--flush-directory-cache)
11335 (compilation--flush-parse, compile-internal): Mark unused parameters.
11336 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11337 (compilation-next-error-function): Remove unused variable `timestamp'.
11339 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11340 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11342 * progmodes/dcl-mode.el (dcl-end-of-command):
11343 Remove unused variable `start'.
11344 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11345 (dcl-option-value-basic, dcl-option-value-offset)
11346 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11347 Mark unused parameters.
11348 (dcl-save-local-variable): Remove unused variable `val'.
11351 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11352 Mark unused parameters.
11353 (delphi-ignore-changes): Move before first use.
11354 (delphi-charset-token-at): Remove unused variable `start'.
11355 (delphi-else-start): Remove unused variable `if-count'.
11356 (delphi-comment-block-start, delphi-comment-block-end):
11357 Remove unused variable `kind'.
11358 (delphi-indent-line): Remove unused variable `new-point'.
11360 * progmodes/ebrowse.el (ebrowse-files-list)
11361 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11362 Mark unused parameters. Don't quote `lambda'.
11363 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11364 Don't quote `lambda'.
11365 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11366 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11367 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11368 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11369 Use `ignore-errors'.
11370 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11371 (ebrowse-view/find-file-and-search-pattern)
11372 (ebrowse-view/find-member-declaration/definition):
11373 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11374 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11375 Rename parameter PREFIX-ARG to PREFIX.
11376 (ebrowse-tags-read-name): Remove unused variables `start' and
11378 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11381 * progmodes/etags.el (local-find-tag-hook): Declare.
11382 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11383 Mark unused parameters.
11385 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11386 (executable-interpret): Mark unused parameter.
11388 * progmodes/flymake.el (flymake-process-sentinel)
11389 (flymake-after-change-function)
11390 (flymake-create-temp-with-folder-structure)
11391 (flymake-get-include-dirs-dot): Mark unused parameters.
11392 (flymake-safe-delete-directory): Remove unused variable `err'.
11394 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11395 (speedbar-timer-fn, speedbar-line-text)
11396 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11397 (speedbar-center-buffer-smartly): Declare functions.
11398 (gdb-find-watch-expression): Remove unused variable `array'.
11399 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11400 (gdb-starting): Mark unused parameters.
11401 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11402 (gdb-table-string): Remove unused variable `res'.
11403 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11404 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11405 (gdb-display-buffer): Remove unused variable `cur-size'.
11407 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11408 allow lexical-binding compilation.
11409 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11410 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11411 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11412 Mark unused parameters.
11413 (gud-gdb-marker-filter): Remove unused variable `match'.
11414 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11415 lambda expressions and funcall them, instead of using `fset'.
11417 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11418 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11420 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11421 variable `header-beg'; use `let'.
11423 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11424 `restart', `last-sexp' and `at-do'.
11426 * progmodes/js.el (js--debug): Mark unused parameter.
11427 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11428 (js--splice-into-items): Remove unused variable `item'.
11429 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11431 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11432 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11433 (makefile-complete): Remove unused variable `try'.
11434 (makefile-fill-paragraph, makefile-match-function-end):
11435 Mark unused parameters.
11437 * progmodes/octave-inf.el (inferior-octave-complete):
11438 Remove unused variable `proc'.
11439 (inferior-octave-output-digest): Mark unused parameter.
11441 * progmodes/perl-mode.el (perl-calculate-indent):
11442 Remove unused variable `err'.
11444 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11445 (prolog-indent-line): Mark unused parameters.
11446 (prolog-indent-line): Remove unused variable `beg'.
11448 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11449 (reporter-dont-compact-list): Declare.
11451 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11452 Remove unused variable `char'.
11453 (sh-debug): Mark unused parameter.
11454 (sh-get-indent-info): Remove unused variable `start'.
11455 (sh-calculate-indent): Remove unused variable `var'.
11457 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11458 (simula-electric-keyword): Remove unused variable `null'.
11459 (simula-search-backward, simula-search-forward): Remove unused
11460 variables `begin' and `end'.
11462 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11463 Remove unused variable `pos'.
11464 (vera-electric-tab, vera-comment-uncomment-region):
11465 Mark unused parameters.
11466 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11468 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11470 * emacs-lisp/package.el (package--builtins, package-alist)
11471 (package-load-descriptor, package-built-in-p, package-activate)
11472 (define-package, package-installed-p)
11473 (package-compute-transaction, package-buffer-info)
11474 (package--push): Doc fix. Distinguish more clearly between
11475 version strings and version lists.
11477 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11479 Lexical-binding cleanup.
11481 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11482 (5x5-make-mutate-best):
11483 * play/fortune.el (fortune-in-buffer):
11484 * play/gomoku.el (gomoku-init-display):
11485 * play/solitaire.el (solitaire, solitaire-do-check):
11486 * play/tetris.el (tetris-default-update-speed-function):
11487 Mark unused parameters.
11489 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11490 (bubbles--shift): Remove unused variable `char-org'.
11491 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11492 (bubbles--show-images): Remove unused variable `char'.
11494 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11495 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11496 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11497 (decipher-analyze-buffer): Use ?\s.
11498 (decipher-make-checkpoint): Remove unused variable `mapping'.
11500 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11502 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11503 Remove unused variable `result'; use `let'.
11505 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11506 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11507 (gametree-children-shown-p, gametree-compute-reduced-score):
11508 Use `ignore-errors'.
11510 * play/handwrite.el (ps-lpr-switches): Declare.
11511 (handwrite): Remove unused variables `pmin' and `lastp'.
11513 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11515 * play/landmark.el (landmark-init-display)
11516 (landmark-update-naught-weights): Mark unused parameters.
11517 (landmark-y): Remove unused variable `noise'. Simplify.
11518 (landmark-human-plays): Remove unused variable `score'.
11520 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11521 (mpuz-try-proposal): Remove unused variable `game'.
11523 * play/zone.el (life-patterns): Declare.
11525 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11527 * vc/vc.el (ediff-vc-internal): Declare function.
11529 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11531 * shell.el: Use lexical-binding and std completion UI.
11532 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11533 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11534 comint-preoutput-filter-functions rather than on
11535 comint-output-filter-functions.
11536 (shell-command-completion, shell--command-completion-data)
11537 (shell-filename-completion, shell-environment-variable-completion)
11538 (shell-c-a-p-replace-by-expanded-directory): New functions.
11539 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11540 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11541 (shell-dynamic-complete-environment-variable): Use them.
11542 (shell-dynamic-complete-as-environment-variable)
11543 (shell-dynamic-complete-as-command): Remove.
11544 (shell-match-partial-variable): Match past point.
11545 * comint.el: Clean up use of completion-at-point-functions.
11546 (comint-completion-at-point): New function.
11547 (comint-mode): Use it completion-at-point-functions.
11548 (comint-dynamic-complete): Make it obsolete.
11549 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11550 (comint-c-a-p-replace-by-expanded-history): New function.
11551 (comint-dynamic-complete-functions)
11552 (comint-replace-by-expanded-history): Use it.
11553 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11554 termination strings. Try harder to avoid second try-completion.
11555 (completion-in-region-mode-map): Disable bindings that don't work yet.
11557 * comint.el: Use lexical-binding. Require CL.
11558 (comint-dynamic-complete-functions): Use comint-filename-completion.
11559 (comint-completion-addsuffix): Tweak custom type.
11560 (comint-filename-completion, comint--common-suffix)
11561 (comint--common-quoted-suffix, comint--table-subvert)
11562 (comint--complete-file-name-data): New functions.
11563 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11564 (comint-dynamic-list-filename-completions): Use them.
11565 (comint-dynamic-simple-complete): Make obsolete.
11567 * minibuffer.el (completion-in-region-mode):
11568 Keep completion-in-region-mode--predicate global.
11569 (completion-in-region--postch):
11570 Assume completion-in-region-mode--predicate is not null.
11572 * progmodes/flymake.el (flymake-start-syntax-check-process):
11573 Obey `dir'. Simplify.
11575 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11576 we're in VC after all.
11578 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11580 * vc/vc.el (vc-diff-build-argument-list-internal)
11581 (vc-version-ediff, vc-ediff): New commands.
11582 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11584 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11589 * obsolete/erc-hecomplete.el: Make obsolete.
11590 * obsolete/: Standardize obsolescence info in the header.
11592 2011-04-20 Glenn Morris <rgm@gnu.org>
11594 * calendar/solar.el (solar-horizontal-coordinates):
11595 Use the longitude argument rather than `calendar-longitude'.
11596 (solar-date-next-longitude): Remove unused locals.
11598 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11600 * whitespace.el: New version 13.2.1.
11602 2011-04-20 felix <EmacsWiki> (tiny change)
11604 * whitespace.el (global-whitespace-mode): Keep highlight when
11605 switching between major modes on a file.
11607 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11610 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11611 multi-line comments as well.
11613 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11615 Lexical-binding cleanup.
11617 * arc-mode.el (archive-mode-revert):
11618 * cmuscheme.el (scheme-interactively-start-process):
11619 * custom.el (custom-initialize-delay):
11620 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11621 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11622 * emacs-lock.el (emacs-lock-clear-sentinel):
11623 * ezimage.el (defezimage):
11624 * follow.el (follow-avoid-tail-recenter):
11625 * fringe.el (set-fringe-mode-1):
11626 * generic-x.el (bat-generic-mode-compile):
11627 * help-mode.el (help-info-variable, help-do-xref)
11628 (help-mode-revert-buffer):
11629 * help.el (view-emacs-todo):
11630 * iswitchb.el (iswitchb-completion-help):
11631 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11632 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11633 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11634 * locate.el (locate-update):
11635 * longlines.el (longlines-encode-region)
11636 (longlines-after-change-function):
11637 * outline.el (outline-isearch-open-invisible):
11638 * ps-def.el (declare-function, charset-dimension, char-width)
11640 * ps-mule.el (ps-mule-plot-string):
11641 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11642 (recentf-edit-list-select, recentf-edit-list-validate)
11643 (recentf-open-files-action):
11644 * rect.el (delete-whitespace-rectangle-line)
11645 (rectangle-number-line-callback):
11646 * register.el (window-configuration-to-register)
11647 (frame-configuration-to-register):
11648 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11649 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11650 (xselect-convert-to-targets, xselect-convert-to-delete)
11651 (xselect-convert-to-filename, xselect-convert-to-charpos)
11652 (xselect-convert-to-lineno, xselect-convert-to-colno)
11653 (xselect-convert-to-os, xselect-convert-to-host)
11654 (xselect-convert-to-user, xselect-convert-to-class)
11655 (xselect-convert-to-name, xselect-convert-to-integer)
11656 (xselect-convert-to-atom, xselect-convert-to-identity):
11657 * subr.el (declare, ignore, process-kill-without-query)
11658 (text-clone-maintain):
11659 * terminal.el (te-get-char, te-tic-sentinel):
11660 * tool-bar.el (tool-bar-make-keymap):
11661 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11662 * type-break.el (type-break-mode, type-break-noninteractive-query):
11663 * view.el (View-back-to-mark):
11664 * wid-browse.el (widget-browse-action, widget-browse-widget)
11665 (widget-browse-widgets, widget-browse-sexp):
11666 * widget.el (define-widget-keywords):
11667 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11668 Mark unused parameters.
11670 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11671 (align-areas): Remove unused variable `look'.
11672 (align-region): Remove unused variables `real-end' and `pos-list'.
11674 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11676 * bindings.el (mode-line-modified, mode-line-remote):
11677 Mark unused parameters.
11678 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11680 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11681 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11683 * comint.el (comint-history-isearch-pop-state)
11684 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11685 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11686 (comint-substitute-in-file-name): Doc fix.
11688 * completion.el (cmpl-statistics-block): Mark unused parameter.
11689 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11690 (save-completions-to-file, load-completions-from-file):
11691 Remove unused local variable `e'.
11693 * composite.el (compose-chars): Remove unused variable `len'.
11694 (lgstring-insert-glyph): Remove unused variable `g'.
11695 (compose-glyph-string): Remove unused variables `ascent',
11696 `descent', `lbearing' and `rbearing'.
11697 (compose-glyph-string-relative): Remove unused variables
11698 `lbearing', `rbearing' and `wadjust'.
11699 (compose-gstring-for-graphic): Remove unused variables `header',
11700 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11701 (compose-gstring-for-terminal): Remove unused variables `header'
11702 and `nchars'. Use `let', not `let*'.
11704 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11705 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11706 (Custom-buffer-done, custom-buffer-create-internal)
11707 (custom-browse-visibility-action, custom-browse-group-tag-action)
11708 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11709 (widget-magic-mouse-down-action, custom-toggle-parent)
11710 (custom-add-parent-links, custom-toggle-hide-variable)
11711 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11712 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11713 (custom-face-menu-create, custom-variable-menu-create, get)
11714 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11715 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11716 (customize-apropos): Remove unused variable `tests'.
11717 (custom-group-value-create): Remove unused variable `hidden-p'.
11718 (sort-fold-case): Declare.
11720 * cus-theme.el (custom-reset-standard-faces-list)
11721 (custom-reset-standard-variables-list): Declare.
11722 (customize-create-theme, custom-theme-revert, custom-theme-write)
11723 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11724 Mark unused parameters.
11726 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11728 * delim-col.el (delimit-columns-max): Move defvar before first use.
11730 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11731 (describe-char): Don't quote `lambda'. Mark unused parameter.
11733 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11734 (auto-insert): Declare.
11735 (desktop-restore-file-buffer): Rename desktop-* parameters;
11737 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11738 (desktop-buffer): Rename desktop-* parameters.
11740 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11741 (dframe-reposition-frame-xemacs, dframe-help-echo)
11742 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11743 Mark unused parameters.
11745 * dired-aux.el (backup-extract-version-start, overwrite-query)
11746 (overwrite-backup-query, rename-regexp-query)
11747 (rename-non-directory-query): Declare.
11748 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11749 (dired-add-entry): Remove unused variable `orig-file-name'.
11750 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11751 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11752 `dired-copy-preserve-time' directly.
11753 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11754 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11756 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11757 (dired-virtual-revert, dired-make-relative-symlink):
11758 Mark unused parameters.
11759 (manual-program): Declare.
11760 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11761 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11762 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11764 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11766 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11768 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11771 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11773 * electric.el (Electric-command-loop): Rename parameter
11774 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11776 * expand.el (expand-in-literal): Remove unused variable `here'.
11778 * facemenu.el (facemenu-add-new-color):
11779 Remove unused variable `docstring'.
11781 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11782 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11783 (face-attr-construct): Mark unused parameter. Doc fix.
11784 (read-color): Remove unused variable `hex-string'.
11786 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11787 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11788 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11789 (display-buffer-other-frame): Remove unused variable `old-window'.
11790 (kill-buffer-hook): Declare.
11791 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11792 Mark unused parameters.
11793 (after-find-file): Pass 1 to `auto-save-mode', not t.
11795 * files-x.el (auto-insert): Declare.
11796 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11798 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11799 variable `buf'. Mark unused parameter.
11800 (find-lisp-insert-directory): Mark unused parameter.
11802 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11803 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11804 (format-common-tail): Remove, unused.
11805 (format-deannotate-region): Remove unused variable `loc'.
11806 (format-annotate-region): Remove unused variable `p'.
11807 (format-annotate-single-property-change): Remove unused variables
11808 `default' and `tail'.
11810 * forms.el (read-file-filter): Declare.
11811 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11813 * frame.el (frame-creation-function-alist): Mark unused parameter.
11814 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11816 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11817 Remove unused parameters.
11818 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11819 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11821 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11822 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11823 (hfy-prepare-tag-map): Mark unused parameters.
11824 (htmlfontify-buffer): Use `called-interactively-p'.
11826 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11827 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11828 (ibuffer-do-occur): Mark unused parameters.
11829 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11830 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11832 * ibuffer.el: Don't quote `lambda'.
11833 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11834 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11835 Mark unused parameters.
11837 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11838 (ido-completing-read): Mark unused parameters.
11839 (ido-copy-current-word): Mark unused parameters;
11840 remove unused variable `name'.
11841 (ido-sort-merged-list): Remove unused parameter `dirs'.
11843 * ielm.el (ielm-input-sender): Mark unused parameter.
11844 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11845 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11846 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11847 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11848 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11850 * image-dired.el (image-dired-display-thumbs): Remove unused
11851 variables `curr-file' and `count'.
11852 (image-dired-remove-tag): Remove unused variable `start'.
11853 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11854 variable `curr-file'
11855 (image-dired-rotate-original): Remove unused variable `temp-file'.
11856 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11857 Remove unused variable `file'.
11858 (image-dired-gallery-generate): Remove unused variable `curr'.
11859 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11861 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11863 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11865 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11867 * isearch.el (minibuffer-history-symbol): Declare.
11868 (isearch-edit-string): Remove unused variable `err'.
11869 (isearch-message-prefix, isearch-message-suffix):
11870 Mark unused parameters.
11872 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11874 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11876 * makesum.el (double-column): Remove unused variable `cnt'.
11878 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11879 (ido-ignore-item-temp-list): Declare.
11881 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11882 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11883 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11884 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11887 * mouse-sel.el (mouse-extend-internal):
11888 Remove unused variable `orig-window-frame'.
11890 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11891 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11892 Move declarations before first use.
11893 (pcomplete-opt): Mark unused parameters; doc fix.
11895 * proced.el (proced-revert): Mark unused parameter.
11896 (proced-send-signal): Remove unused variable `err'.
11898 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11899 Rename parameter PREFIX-ARG to ARG.
11900 (ps-basic-plot-string, ps-basic-plot-whitespace):
11901 Mark unused parameters.
11903 * replace.el (replace-count): Define.
11904 (occur-revert-function): Mark unused parameters.
11905 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11906 (isearch-case-fold-search, isearch-string): Declare.
11907 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11908 bind `case-fold-search'. Remove unused variables `beg' and `end',
11910 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11911 COUNT and bind `replace-count'.
11912 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11915 * savehist.el (print-readably, print-string-length): Declare.
11917 * shadowfile.el (shadow-expand-cluster-in-file-name):
11918 Remove unused variable `cluster'.
11919 (shadow-copy-file): Remove unused variable `i'.
11920 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11921 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11922 (shadow-define-literal-group, shadow-define-regexp-group)
11923 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11925 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11926 (shell): Use `called-interactively-p'.
11927 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11929 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11930 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11931 (delete-backward-char): Remove unused variable `ocol'.
11932 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11933 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11934 (event-apply-hyper-modifier, event-apply-shift-modifier)
11935 (event-apply-control-modifier, event-apply-meta-modifier):
11936 Mark unused parameters.
11937 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11938 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11940 * speedbar.el (speedbar-ignored-directory-expressions)
11941 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11942 (speedbar-find-file, speedbar-dir-follow)
11943 (speedbar-directory-buttons-follow, speedbar-tag-find)
11944 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11945 (speedbar-buffers-line-directory, speedbar-buffer-click):
11946 Mark unused parameters.
11947 (speedbar-tag-file): Remove unused variable `mode'.
11948 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11950 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11952 * talk.el (talk): Remove unused variable `display'.
11954 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11955 (tar-write-region-annotate): Mark unused parameter.
11957 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11958 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11959 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11960 warning by another.
11962 * time-stamp.el (time-stamp-string-preprocess):
11963 Remove unused variable `require-padding'.
11965 * tree-widget.el (widget-glyph-enable): Declare.
11966 (tree-widget-action): Mark unused parameter.
11968 * w32-fns.el (x-get-selection): Mark unused parameter.
11969 (autoload-make-program, generated-autoload-file): Declare.
11971 * wdired.el (wdired-revert): Mark unused parameters.
11972 (wdired-xcase-word): Remove unused variable `err'.
11974 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11975 (whitespace-help-scroll): Remove unused variable `data-help'.
11977 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11978 (widget-image-insert, widget-after-change, default)
11979 (widget-default-format-handler, widget-default-notify)
11980 (widget-default-prompt-value, widget-info-link-action)
11981 (widget-url-link-action, widget-function-link-action)
11982 (widget-variable-link-action, widget-file-link-action)
11983 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11984 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11985 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11986 (widget-insert-button-action, widget-delete-button-action, visibility)
11987 (widget-documentation-link-action, widget-documentation-string-action)
11988 (widget-const-prompt-value, widget-regexp-match, symbol)
11989 (widget-coding-system-prompt-value)
11990 (widget-key-sequence-value-to-external, sexp)
11991 (widget-sexp-value-to-internal, character, vector, cons)
11992 (widget-choice-prompt-value, widget-boolean-prompt-value)
11993 (widget-color--choose-action): Mark unused parameters.
11994 (widget-item-match-inline, widget-choice-match-inline)
11995 (widget-checklist-match, widget-checklist-match-inline)
11996 (widget-group-match): Rename parameter VALUES to VALS.
11997 (widget-field-value-set): Remove unused variable `size'.
11998 (widget-color-action): Remove unused variables `value' and `start'.
12000 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12001 variable `dir'. Doc fix.
12002 (windmove-find-other-window): Don't pass it.
12004 * window.el (count-windows): Mark unused parameter.
12005 (bw-adjust-window): Remove unused variable `err'.
12007 * woman.el (woman-file-name): Remove unused variable `default'.
12008 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12009 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12010 (global-font-lock-mode): Declare.
12011 (woman-decode-region): Mark unused parameter.
12012 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12014 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12015 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12016 (x-dnd-handle-moz-url): Remove unused variable `title'.
12017 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12019 * xml.el (xml-parse-tag, xml-parse-attlist):
12020 Remove unused variable `pos'.
12022 2011-04-19 Glenn Morris <rgm@gnu.org>
12024 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12025 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12026 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12027 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12028 * calendar/cal-html.el (cal-html-insert-minical):
12029 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12030 (calendar-mark-date-pattern):
12031 Prefix "unused" locals.
12033 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12034 optional argument `style'.
12036 * calendar/appt.el (appt-make-list):
12037 * calendar/cal-china.el (calendar-chinese-date-string):
12038 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12039 (diary-hebrew-yahrzeit):
12040 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12041 * calendar/calendar.el (calendar-generate-window):
12042 * calendar/time-date.el (time-to-days):
12043 Remove unused local variables.
12045 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12047 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12048 glyphless-char-display table.
12049 (tabulated-list-glyphless-char-display): New var.
12051 2011-04-18 Sam Steingold <sds@gnu.org>
12053 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12054 to acknowledgments.
12056 2011-04-17 Glenn Morris <rgm@gnu.org>
12058 * calendar/diary-lib.el (diary-sexp-entry):
12059 * calendar/holidays.el (holiday-sexp):
12060 Set debug-on-error rather than the removed stack-trace-on-error.
12062 2011-04-16 Glenn Morris <rgm@gnu.org>
12064 * progmodes/f90.el: Use lexical-binding.
12065 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12067 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12069 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12070 (mail-mode): Setup mailalias completion here instead.
12071 * mail/mailalias.el: Use lexical-binding.
12072 (pattern, mailalias-done): Declare dynamic.
12073 (mail-completion-at-point-function): New function, from mail-complete.
12074 (mail-complete): Use it.
12075 (mail-completion-expand): New function.
12076 (mail-get-names): Use it.
12077 (mail-directory, mail-directory-process, mail-directory-stream):
12078 Don't use `pattern' for lexically bound arg.
12080 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12082 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12083 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12084 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12086 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12087 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12088 (byte-interactive-p): Define them again, for use when inlining
12091 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12093 * loadup.el: Use `string-to-number', not `string-to-int'.
12095 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12097 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12098 gud-gdb-complete-command.
12099 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12100 (gud-gdb-completion-at-point): New function.
12101 (gud-gdb-completions): Remove.
12103 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12105 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12106 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12107 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12108 whether `executable-find' is bound.
12110 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12112 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12114 * minibuffer.el (completion-in-region-mode-predicate)
12115 (completion-in-region-mode--predicate): New vars.
12116 (completion-in-region, completion-in-region--postch)
12117 (completion-in-region-mode): Use them.
12118 (completion--capf-wrapper): Also return the hook function.
12119 (completion-at-point, completion-help-at-point):
12120 Adjust and provide a predicate.
12122 Preserve arg names for advice of subr and lexical functions (bug#8457).
12123 * help-fns.el (help-function-arglist): Consolidate the subr and
12124 new-byte-code cases. Add argument `preserve-names' to extract names
12125 from the docstring when needed.
12126 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12127 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12128 (ad-arglist): Use help-function-arglist's new arg.
12129 (ad-definition-type): Use cond.
12131 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12133 * autorevert.el (auto-revert-handler):
12134 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12135 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12136 Don't quote lambda.
12138 * image-mode.el (image-transform-set-scale):
12139 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12141 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12143 * net/network-stream.el (network-stream-open-starttls): Only do
12144 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12145 Upgrades via gnutls-cli are too slow to be done opportunistically.
12147 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12149 * dframe.el (dframe-current-frame): Remove spurious quote.
12151 2011-04-12 Glenn Morris <rgm@gnu.org>
12153 * calendar/cal-tex.el (cal-tex-end-document):
12154 Try to automatically use latin1 input if needed.
12156 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12157 Don't try to cons a mark onto an empty element.
12159 2011-04-11 Leo Liu <sdl.web@gmail.com>
12161 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12163 (ido-kill-buffer-at-head): Support killing virtual buffers.
12165 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12167 * minibuffer.el (completion-show-inline-help): New var.
12168 (completion--do-completion, minibuffer-complete)
12169 (minibuffer-force-complete, minibuffer-complete-word):
12170 Inhibit minibuffer messages if completion-show-inline-help is nil.
12172 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12173 to avoid interference from inline help (Bug#5849).
12175 2011-04-10 Leo Liu <sdl.web@gmail.com>
12177 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12180 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12182 * image-mode.el (image-toggle-display-image): Signal an error if
12184 (image-transform-mode, image-transform-resize)
12185 (image-transform-set-rotation): Doc fix.
12186 (image-transform-set-resize): Delete.
12187 (image-transform-set-scale, image-transform-fit-to-height)
12188 (image-transform-fit-to-width): Handle image-toggle-display-image
12189 and image-transform-resize directly.
12191 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12193 * doc-view.el (doc-view-fit-width-to-window)
12194 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12195 New functions for fitting the shown image to the Emacs window size.
12196 (doc-view-mode-map): Add bindings for the new functions.
12198 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12200 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12201 Fix typo in docstring.
12203 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12205 * files.el (file-size-human-readable): Produce one digit after
12206 decimal, like "ls -lh" does.
12208 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12209 the file size representation.
12211 * simple.el (list-processes): If async subprocesses are not
12212 available, error out with a clear error message.
12214 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12216 * help.el (help-form-show): New function, to be called from C.
12217 Put help-form output in a buffer named differently than *Help*.
12219 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12221 * files.el (file-size-human-readable): New function.
12223 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12224 computing the representation inline. Don't require `cl'.
12226 2011-04-08 Glenn Morris <rgm@gnu.org>
12228 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12230 * net/browse-url.el (browse-url-firefox):
12231 Test system-type, not system-configuration.
12233 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12234 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12235 Use log-edit-empty-buffer-p. (Bug#7598)
12237 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12238 (rlogin-mode-map): Initialize in the defvar.
12239 (rlogin): Use ignore-errors.
12241 * replace.el (occur-mode-map): Some fixes for menu items.
12243 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12245 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12247 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12249 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12250 issuing unused warnings.
12252 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12255 * simple.el: Lisp reimplement of list-processes. Based on an
12256 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12257 (process-menu-mode): New major mode.
12258 (list-processes--refresh, list-processes):
12259 (process-menu-visit-buffer): New functions.
12261 * files.el (save-buffers-kill-emacs): Don't assume any return
12262 value of list-processes, which is undocumented anyway.
12264 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12266 * emacs-lisp/tabulated-list.el: New file.
12268 * emacs-lisp/package.el: Use Tabulated List mode.
12269 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12270 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12271 table format using Tabulated List mode variables.
12272 (package--push): New macro, replacing package-list-maybe-add.
12273 (package-menu--generate): Use package--push. Renamed from
12274 package--generate-package-list.
12275 (package-menu-refresh, list-packages): Use it.
12276 (package-menu--print-info): Rename from package-print-package.
12277 Return insertion data instead of inserting it directly.
12278 (package-menu-describe-package, package-menu-execute):
12279 Use tabulated-list-get-id.
12280 (package-menu-mark-delete, package-menu-mark-install)
12281 (package-menu-mark-unmark, package-menu-backup-unmark)
12282 (package-menu-mark-obsolete-for-deletion):
12283 Use tabulated-list-put-tag.
12284 (package--list-packages, package-menu-revert)
12285 (package-menu-get-package, package-menu-get-version)
12286 (package-menu-sort-by-column): Functions deleted.
12287 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12288 (package-menu--status-predicate, package-menu--version-predicate)
12289 (package-menu--name-predicate)
12290 (package-menu--description-predicate): Handle arguments in the
12291 Tabulated List format.
12292 (package-list-packages-no-fetch): Call list-packages.
12294 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12296 * files.el (after-find-file-from-revert-buffer): Remove variable.
12297 (after-find-file): Don't bind it.
12298 (revert-buffer-in-progress-p): New variable.
12299 (revert-buffer): Bind it.
12300 Pass nil for `after-find-file-from-revert-buffer'.
12302 * saveplace.el (save-place-find-file-hook): Use new variable
12303 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12305 2011-04-06 Glenn Morris <rgm@gnu.org>
12307 * Makefile.in (AUTOGEN_VCS): New variable.
12308 (autoloads): Use $AUTOGEN_VCS.
12310 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12311 * calendar/calendar.el (calendar-mode-map):
12312 Check for toolkit scroll bars. (Bug#8305)
12314 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12316 * minibuffer.el (completion-in-region--postch)
12317 (completion-in-region-mode): Remove unnecessary messages.
12319 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12321 * font-lock.el (font-lock-refresh-defaults):
12322 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12323 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12325 * info.el (Info-directory-list, Info-read-node-name-2)
12326 (Info-split-parameter-string): Doc fixes.
12327 (Info-virtual-nodes): Reflow docstring.
12328 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12329 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12330 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12331 Fix typos in docstrings.
12332 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12333 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12334 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12335 (Info-restore-desktop-buffer): Mark unused parameters.
12336 (Info-directory-find-file, Info-directory-find-node)
12337 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12338 (Info-virtual-index-find-node, Info-apropos-find-file)
12339 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12340 Mark unused parameters; fix typos in docstrings.
12341 (Info-virtual-index): Remove unused local variable `nodename'.
12343 2011-04-05 Deniz Dogan <deniz@dogan.se>
12345 * net/rcirc.el: Update my e-mail address.
12346 (rcirc-mode-map): Remove M-o binding.
12348 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12350 * startup.el (command-line): Save the cursor's theme-face
12351 directly, instead of using face-override-spec.
12353 * custom.el (load-theme): Minor optimization in assigning faces.
12355 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12357 * help-fns.el (describe-variable): Complete all variables having
12358 documentation, including keywords.
12359 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12361 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12363 Convert to lexical-binding.
12365 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12366 (bs--get-marked-string, bs--get-modified-string)
12367 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12368 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12369 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12371 * ehelp.el (electric-help-execute-extended)
12372 (electric-help-ctrl-x-prefix):
12373 * hexl.el (hexl-revert-buffer-function):
12374 * linum.el (linum-after-change, linum-after-scroll):
12375 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12377 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12379 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12386 * epg.el: Use lexical binding.
12388 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12390 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12392 * textmodes/flyspell.el (flyspell-word): Recognize default
12393 dictionary case for flyspell-mark-duplications-exceptions.
12394 Use regexp matching for languages.
12395 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12396 default dictionary (Bug#7926).
12398 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12400 * emacs-lisp/package.el (package--with-work-buffer):
12401 Recognize https URLs.
12403 * net/network-stream.el: Move from gnus/proto-stream.el.
12404 Change prefix to network-stream throughout.
12405 (open-protocol-stream): Merge into open-network-stream, leaving
12406 open-protocol-stream as an alias. Handle nil BUFFER args.
12408 * subr.el (open-network-stream): Move to net/network-stream.el.
12410 2011-04-02 Glenn Morris <rgm@gnu.org>
12412 * find-dired.el (find-exec-terminator): New option.
12413 (find-ls-option): Test for -ls support.
12414 (find-ls-subdir-switches): Test for -b in find-ls-option.
12415 (find-dired, find-grep-dired): Doc fixes.
12416 (find-dired): Use find-exec-terminator.
12418 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12419 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12420 (find-name-arg): Remove purecopy.
12422 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12423 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12424 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12425 accordingly. Don't add the null-device if not needed.
12427 * files.el (save-some-buffers): Doc fix.
12429 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12431 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12433 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12435 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12436 Use `dolist' rather than `mapcar'.
12438 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12440 Add lexical binding.
12442 * subr.el (apply-partially): Use new closures rather than CL.
12443 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12444 (dolist, dotimes): Use slightly different expansion for lexical code.
12445 (functionp): Move to C.
12446 (letrec): New macro.
12447 (with-wrapper-hook): Use it and apply-partially instead of CL.
12448 (eval-after-load): Preserve lexical-binding.
12449 (save-window-excursion, with-output-to-temp-buffer): Turn them
12452 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12454 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12456 (help-add-fundoc-usage): Don't add `Not documented'.
12457 (help-function-arglist): Handle closures, subroutines, and new
12458 byte-code-functions.
12459 (help-make-usage): Remove leading underscores.
12460 (describe-function-1): Handle closures.
12461 (describe-variable): Use special-variable-p for completion.
12463 * files.el (lexical-binding): Declare safe.
12465 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12466 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12467 (pcase): Add `let' pattern.
12468 Change memoization so it actually works.
12469 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12470 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12473 * emacs-lisp/macroexp.el: Use lexical binding.
12474 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12475 Don't convert ' to #' without checking that it's indeed quoting
12478 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12479 Use eval-sexp-add-defvars.
12480 (eval-sexp-add-defvars): New fun.
12482 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12484 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12486 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12487 than the internal `byte-compile-lambda'.
12488 (defmethod): Don't hide code under quotes.
12489 (eieio-defmethod): New `code' argument.
12491 * emacs-lisp/eieio-comp.el: Remove.
12493 * emacs-lisp/edebug.el (edebug-eval-defun)
12494 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12495 (edebug-toggle): Avoid `eval'.
12497 * emacs-lisp/disass.el (disassemble-internal): Handle new
12499 (disassemble-1): Handle new byte codes.
12501 * emacs-lisp/cl.el (pushnew): Silence warning.
12503 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12504 (cl-byte-compile-throw): Remove.
12505 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12507 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12510 * emacs-lisp/cconv.el: New file.
12512 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12513 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12514 (byte-compile-initial-macro-environment):
12515 Handle declare-function here.
12516 (byte-compile--lexical-environment): New var.
12517 (byte-stack-ref, byte-stack-set, byte-discardN)
12518 (byte-discardN-preserve-tos): New lap codes.
12519 (byte-interactive-p): Don't use any more.
12520 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12522 (byte-compile-lapcode): Use them and handle new lap codes.
12523 (byte-compile-obsolete): Remove.
12524 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12525 (byte-compile-arglist-warn): Check late def of inlinable funs.
12526 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12527 since they should have been expanded by now.
12528 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12529 (byte-compile-from-buffer): Remove unused second arg.
12530 (byte-compile-preprocess): New function.
12531 (byte-compile-toplevel-file-form): New function to distinguish
12532 file-form calls from outside from file-form calls from hunk-handlers.
12533 (byte-compile-file-form): Simplify.
12534 (byte-compile-file-form-defsubst): Remove.
12535 (byte-compile-file-form-defmumble): Simplify now that
12536 byte-compile-lambda always returns a byte-code-function.
12537 (byte-compile): Preprocess.
12538 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12539 Remove, not used any more.
12540 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12541 (byte-compile-make-args-desc): New funs.
12542 (byte-compile-lambda): Handle lexical functions. Always return
12543 a byte-code-function.
12544 (byte-compile-reserved-constants): New var, to make up room for
12545 closed-over variables.
12546 (byte-compile-constants-vector): Obey it.
12547 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12548 (byte-compile-macroexpand-declare-function): New function.
12549 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12550 byte-code-functions.
12551 (byte-compile-form): Check obsolescence here.
12552 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12553 (byte-compile-variable-ref): Remove.
12554 (byte-compile-dynamic-variable-op): New fun.
12555 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12556 (byte-compile-variable-set): New funs.
12557 (byte-compile-discard): Add 2 args.
12558 (byte-compile-stack-ref, byte-compile-stack-set)
12559 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12560 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12561 macroexpand-all instead.
12562 (byte-compile-quote-form): Remove.
12563 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12564 (byte-compile-bind, byte-compile-unbind): New funs.
12565 (byte-compile-let): Handle let* and lexical binding.
12566 (byte-compile-let*): Remove.
12567 (byte-compile-catch, byte-compile-unwind-protect)
12568 (byte-compile-track-mouse, byte-compile-condition-case):
12569 Handle a new :fun-body form, used for lexical scoping.
12570 (byte-compile-save-window-excursion)
12571 (byte-compile-with-output-to-temp-buffer): Remove.
12572 (byte-compile-defun): Simplify.
12573 (byte-compile-stack-adjustment): New fun.
12574 (byte-compile-out): Use it.
12575 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12577 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12580 * emacs-lisp/byte-opt.el: Use lexical binding.
12581 (byte-inline-lapcode): Remove (to bytecomp).
12582 (byte-compile-inline-expand): Pay attention to inlining to/from
12583 lexically bound code.
12584 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12586 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12587 any more and don't call compiler-macros.
12588 (byte-compile-splice-in-already-compiled-code): Remove.
12589 (byte-code): Don't inline any more.
12590 (disassemble-offset): Receive `bytes' as argument rather than via
12592 (byte-compile-tag-number): Declare before first use.
12593 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12594 `return' even if make-spliceable.
12595 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12596 obsolete interactive-p.
12597 (byte-optimize-lapcode): Optimize new lap-codes.
12598 Don't trip up on new form of `byte-constant' lap code.
12600 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12602 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12604 * custom.el (custom-initialize-default, custom-declare-variable):
12607 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12609 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12610 (COMPILE_FIRST): Add macroexp and cconv.
12611 * makefile.w32-in: Mirror changes in Makefile.in.
12613 * vc/cvs-status.el:
12617 * vc/smerge-mode.el:
12618 * textmodes/bibtex-style.el:
12619 * textmodes/css.el:
12627 * emacs-lisp/smie.el:
12630 * abbrev.el: Use lexical binding.
12632 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12634 * info.el (info-display-manual): New function.
12636 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12640 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12642 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12643 an entry for that server in rcirc-authinfo. (Bug#8385)
12645 2011-03-31 Glenn Morris <rgm@gnu.org>
12647 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12649 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12651 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12653 * progmodes/python.el (python-default-interpreter)
12654 (python-python-command-args, python-jython-command-args)
12655 (python-which-shell, python-which-args, python-which-bufname)
12656 (python-file-queue, python-comint-output-filter-function)
12657 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12658 variables and functions.
12660 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12663 (completion-in-region-mode): New minor mode.
12664 (completion-in-region): Use it.
12665 (completion-in-region--data, completion-in-region-mode-map): New vars.
12666 (completion-in-region--postch): New function.
12667 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12669 (completion--capf-wrapper): New function.
12670 (completion-at-point): Use it to track well-behavedness of
12672 (completion-help-at-point): New command.
12674 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12676 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12677 syntax class to search for whitespace on a single line
12678 (Message-ID: <4D938140.4030905@redhat.com>).
12680 2011-03-30 Leo Liu <sdl.web@gmail.com>
12682 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12684 (edit-abbrevs-map): Bind them here.
12685 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12687 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12689 * allout.el (allout-hide-by-annotation, allout-flag-region):
12690 Reduce possibility of overlay leakage by making them volatile.
12692 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12693 hash is not shared between buffers. Mode initialization is
12694 responsible for giving it a useful starting value.
12695 (allout-item-span): Reduce possibility of overlay leakage by
12696 making them volatile.
12697 (allout-widgets-count-buttons-in-region): Add diagnostic function
12698 for tracking down button overlay leaks.
12700 2011-03-29 Leo Liu <sdl.web@gmail.com>
12702 * ido.el (ido-read-internal): Use the default history var
12703 minibuffer-history if no HISTORY is specified.
12705 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12707 * net/imap.el (imap-shell-open, imap-process-connection-type):
12708 Use imap-process-connection-type for 'shell' streams as well as
12709 Kerberos, SSL, other subprocesses.
12711 2011-03-28 Leo Liu <sdl.web@gmail.com>
12713 * abbrev.el (abbrev-table-empty-p): New function.
12714 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12715 nonempty ones. (Bug#5937)
12717 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12719 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12721 2011-03-27 Leo Liu <sdl.web@gmail.com>
12723 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12724 for foreground and background colors.
12725 (ansi-color-make-color-map): Adapt.
12727 2011-03-25 Leo Liu <sdl.web@gmail.com>
12729 * midnight.el (midnight-time-float): Remove. Note it calculates
12730 the microsecond component incorrectly and seconds-to-time does the
12732 Remove redundant (require 'timer).
12734 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12735 (ido-completions): Remove unused arguments. (Bug#8329)
12737 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12739 * minibuffer.el (completion--flush-all-sorted-completions):
12740 Remove itself from hook.
12741 (completion-at-point): Let the functions perform the completion
12742 immediately and return nil or t.
12743 * comint.el (comint-dynamic-complete-functions): Now identical to
12744 completion-at-point-functions.
12745 (comint-dynamic-list-input-ring): Remove unused var `index'.
12746 (comint--match-partial-filename, comint--unquote&expand-filename):
12747 New funs, split from comint-match-partial-filename.
12748 (comint-dynamic-complete): Use completion-at-point.
12749 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12751 2011-03-24 Drew Adams <drew.adams@oracle.com>
12753 * thingatpt.el: Support `defun'.
12755 2011-03-23 Leo Liu <sdl.web@gmail.com>
12757 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12759 * help-mode.el (help-mode-finish): Tweak regexp.
12761 2011-03-23 Glenn Morris <rgm@gnu.org>
12763 * eshell/esh-opt.el (eshell-eval-using-options):
12764 Do not bind unused local variable `eshell-option-stub'.
12766 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12768 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12770 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12771 keymap variable in `with-no-warnings' to avoid a warning when the
12772 keymap has been already `defconst'ed.
12774 2011-03-22 Leo Liu <sdl.web@gmail.com>
12776 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12777 encode all chars in abbrevs; otherwise use emacs-mule or
12778 utf-8-emacs. (Bug#8308)
12780 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12782 * simple.el (backward-delete-char-untabify):
12783 Avoid warning about using `delete-backward-char'.
12785 * image.el (image-type-file-name-regexps): Make it variable.
12786 `imagemagick-register-types' modifies it, and the user may want
12787 to add new extensions for known image types.
12788 (imagemagick-register-types): Throw error if not using ImageMagick.
12790 2011-03-22 Leo Liu <sdl.web@gmail.com>
12792 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12793 located before rcirc-prompt-end-marker.
12794 (rcirc-complete): Error if point is not after rcirc prompt.
12795 Handle the case when table is nil.
12796 (rcirc-user-authenticated): Define to fix compiler warning.
12798 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12800 * custom.el (custom--inhibit-theme-enable): Make it affect only
12801 custom-theme-set-variables and custom-theme-set-faces.
12802 (provide-theme): Ignore custom--inhibit-theme-enable.
12803 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12804 (custom-enabling-themes): Delete variable.
12805 (enable-theme): Accept only loaded themes as arguments.
12806 Ignore the special custom-enabled-themes variable.
12807 (custom-enabled-themes): Forbid themes from setting this.
12808 Eliminate use of custom-enabling-themes.
12809 (custom-push-theme): Quote "changed" custom var entry.
12811 2011-03-21 Leo Liu <sdl.web@gmail.com>
12813 * ido.el (ido-read-internal): Add ido-selected to history instead
12816 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12818 * subr.el (deferred-action-list, deferred-action-function):
12821 2011-03-21 Leo Liu <sdl.web@gmail.com>
12823 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12824 change on 2011-02-13 (bug#8309).
12826 * minibuffer.el (read-file-name-function): Change default value.
12827 (read-file-name--defaults): Rename from read-file-name-defaults.
12828 (read-file-name-default): Rename from read-file-name.
12829 (read-file-name): Call read-file-name-function.
12831 2011-03-21 Glenn Morris <rgm@gnu.org>
12833 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12836 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12838 * cus-theme.el: Add missing provide statement.
12839 (customize-create-theme): Extract theme value correctly.
12840 (custom-theme-visit-theme): Autoload.
12841 (customize-create-theme): Prompt before inserting default faces.
12843 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12845 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12846 units and musical notes.
12848 2011-03-20 Leo Liu <sdl.web@gmail.com>
12850 * ido.el (ido-read-internal): Use completing-read-default.
12851 (ido-completing-read): Fix compatibility with completing-read.
12853 2011-03-20 Christian Ohler <ohler@gnu.org>
12855 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12856 (ert-delete-all-tests): Use `called-interactively-p' rather than
12858 (ert--make-xrefs-region): Respect END.
12860 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12862 * dired-aux.el (dired-create-directory): Signal an error if the
12863 directory already exists (Bug#8246).
12865 * facemenu.el (list-colors-display): Call list-faces-display
12866 inside with-help-window.
12867 (list-colors-print): Use display property to align the final
12868 column, instead of checking window-width.
12870 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12872 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12873 windows-nt systems.
12874 (emerge-protect-metachars): Quote correctly for ms-dos and
12875 windows-nt systems.
12877 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12879 * info.el (info-initialize): Replace all uses of `:' with
12880 path-separator for compatibility with non-Unix systems.
12881 Cache quoting of path-separator. (Bug#8258)
12883 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12885 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12886 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12887 (mouse-avoidance-mode): Fix typos in docstrings.
12889 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12891 * startup.el (package-subdirectory-regexp): Move from package.el.
12892 Omit \\` and \\', and let callers add them.
12894 * emacs-lisp/package.el (package-strip-version)
12895 (package-load-all-descriptors): Add \\` and \\' to
12896 package-subdirectory-regexp before using it.
12897 (package-untar-buffer): New arg DIR; ensure that file untars only
12898 into this expected directory. Remove superfluous delete-region.
12899 (package-unpack): Caller changed.
12900 (package-tar-file-info): Use package-subdirectory-regexp.
12902 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12904 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12905 diff-mode-shared-map (bug#8284).
12906 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12908 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910 * calendar/time-date.el (format-seconds): Use assoc instead of
12911 assoc-string, since assoc-string doesn't exist in XEmacs.
12913 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12915 * custom.el (custom-known-themes): Reflow docstring.
12916 (custom-theme-load-path): Fix typo in docstring.
12917 (load-theme): Fix typo in error message.
12918 (custom-available-themes, custom-variable-theme-value):
12919 Use `let', not `let*'.
12921 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12923 * calc/README: Mention inclusion of musical notes.
12925 * calc/calc-units.el (calc-lu-quant): Rename from
12926 `calc-logunits-quantity'.
12927 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12928 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12929 (calc-db): Rename from `calc-dblevel'.
12930 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12931 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12932 (calc-np): Rename from `calc-nplevel'.
12933 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12934 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12935 (calc-lu-plus): Rename from `calc-logunits-add'.
12936 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12937 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12938 (calc-lu-minus): Rename from `calc-logunits-sub'.
12939 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12940 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12941 (calc-lu-times): Rename from `calc-logunits-mul'.
12942 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12943 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12944 (calc-lu-divide): Rename from `calc-logunits-div'.
12945 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12946 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12948 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12949 functions being autoloaded.
12951 * calc/calc.el (calc-lu-power-reference): Rename from
12952 `calc-logunits-power-reference'.
12953 (calc-lu-field-reference): Rename from
12954 `calc-logunits-field-reference'.
12956 * calc/calc-help.el (calc-l-prefix-help):
12957 Mention musical note functions.
12959 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12961 * minibuffer.el (completion-all-sorted-completions):
12962 Use :completion-cycle-penalty text property if present.
12964 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12966 * allout.el (allout-yank-processing): Adjust for new rebulleting
12967 regime so bullet being yanked is used without prompting the user
12970 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12972 * startup.el (command-line): Warn the user that _emacs is deprecated.
12974 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12976 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12977 (delphi-verbose, delphi-comment-face, delphi-string-face)
12978 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12979 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12980 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12981 (delphi-new-comment-line, delphi-font-lock-defaults)
12982 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12983 Fix typos in docstrings.
12985 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12987 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12988 Invert the roles of character and string values for INSTEAD, so a
12989 string is used for the more common case of a defaulting prompt.
12991 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12993 * progmodes/ruby-mode.el (ruby-backward-sexp):
12994 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12995 * play/gamegrid.el (gamegrid-make-face):
12996 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12997 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12998 * notifications.el (notifications-notify):
12999 * net/xesam.el (xesam-search-engines):
13000 * net/quickurl.el (quickurl-list-insert):
13001 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13003 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13005 * startup.el (command-line): Update package subdirectory regexp.
13007 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * allout.el (allout-abbreviate-flattened-numbering)
13010 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13012 * subr.el (read-char-choice): Only show the cursor after the prompt,
13013 not after the answer.
13015 2011-03-15 Kevin Ryde <user42@zip.com.au>
13017 * help-fns.el (variable-at-point): Skip leading quotes, if any
13020 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13022 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13025 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13027 * shell.el (shell): When called interactively, offer to change the
13028 shell file name on remote hosts.
13030 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13032 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13033 integration for LDAP parameters. The host, base, user or binddn,
13034 and secret tokens can be specified in a netrc file, for instance.
13035 This is optional because an `auth-source' parameter must be
13036 specified in the search attributes.
13038 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13040 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13042 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13045 into declaration. Remove redundant and harmful binding.
13047 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13049 * files.el (file-ownership-preserved-p): Pass `integer' as an
13050 explicit 2nd argument to `file-attributes'. If the file's owner
13051 is the Administrators group on Windows, and the current user is
13052 Administrator, consider that a match.
13054 * server.el (server-ensure-safe-dir): Consider server directory
13055 safe on MS-Windows if its owner is the Administrators group while
13056 the current Emacs user is Administrator. Use `=' to compare
13057 numerical UIDs, since they could be integers or floats.
13059 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13061 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13063 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13065 Sync with Tramp 2.2.1.
13067 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13069 * net/trampver.el: Update release number.
13071 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * progmodes/compile.el (compilation--previous-directory): Fix up
13074 various nil/dead-marker mismatches (bug#8014).
13075 (compilation-directory-properties, compilation-error-properties):
13076 Don't call it at a position past the one we're about to change.
13078 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13079 Disable obsolescence warnings in the file that declares it.
13081 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13083 * allout-widgets.el (allout-widgets-tally):
13084 Initialize allout-widgets-tally as a hash table rather than nil to
13085 prevent mode-line redisplay warnings. Also, clarify the module
13086 description and fix a comment typo.
13088 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13090 * help-fns.el (describe-variable): Don't complete keywords.
13091 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13093 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13095 * emacs-lisp/package.el (package-version-join): Impose a standard
13096 string representation for pre/alpha/beta version lists.
13097 (package-unpack-single): Standardize the directory name by passing
13098 it through package-version-join.
13099 (package-strip-rcs-id): Accept any version string that does not
13100 signal an error in version-to-list.
13102 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13104 * simple.el (delete-trailing-whitespace): Return nil for the
13105 benefit of `write-file-functions'.
13107 2011-03-10 Glenn Morris <rgm@gnu.org>
13109 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13111 * vc/vc-git.el (vc-git-program): New option.
13112 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13113 (vc-git--call): Use it.
13115 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13117 * cus-edit.el (Custom-newline): If no button at point, look
13118 for a subgroup button at start-of-line. (Bug#2298)
13120 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13122 2011-03-10 Julien Danjou <julien@danjou.info>
13124 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13125 `cursor-type' is nil.
13127 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13129 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13131 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13133 * allout.el: Change so yank of distinctive-bullet items
13134 preserves the existing header prefix, rebulleting it if necessary,
13135 rather than replacing it. This is necessary for proper operation
13136 of cooperative addons like allout-widgets.
13137 (allout-make-topic-prefix, allout-rebullet-heading):
13138 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13139 value as alternate bullet to be used, instead of prompting the user
13140 for a bullet character.
13142 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13144 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13145 Do not use `tramp-file-name-port', because this returns also
13146 `tramp-default-port'.
13148 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13150 * net/rcirc.el (rcirc-handler-001): Remove useless
13151 with-rcirc-process-buffer.
13152 (rcirc-check-auth-status): Swap arguments to string-match.
13154 2011-03-09 Glenn Morris <rgm@gnu.org>
13156 * shell.el (shell-mode):
13157 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13159 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13160 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13162 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13164 * emacs-lisp/package.el (package-refresh-contents)
13165 (package-menu-execute): Use condition-case-no-debug.
13167 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13169 * simple.el (shell-command-to-string): Use `process-file'.
13171 * emacs-lisp/package.el (package-tar-file-info): Handle also
13174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13175 Use `equal' for upload base check.
13177 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13179 * textmodes/texinfo.el (texinfo-environments):
13180 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13182 2011-03-08 Glenn Morris <rgm@gnu.org>
13184 * cus-start.el (cursor-in-non-selected-windows):
13185 Fix :set quoting oddness. (Bug#8192)
13187 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13188 in some setf expressions. (Bug#2159)
13190 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13192 * custom.el (custom-available-themes): Return themes in
13193 alphabetical order.
13195 See ChangeLog.15 for earlier changes.
13197 ;; Local Variables:
13201 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13203 This file is part of GNU Emacs.
13205 GNU Emacs is free software: you can redistribute it and/or modify
13206 it under the terms of the GNU General Public License as published by
13207 the Free Software Foundation, either version 3 of the License, or
13208 (at your option) any later version.
13210 GNU Emacs is distributed in the hope that it will be useful,
13211 but WITHOUT ANY WARRANTY; without even the implied warranty of
13212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13213 GNU General Public License for more details.
13215 You should have received a copy of the GNU General Public License
13216 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.