1 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/bytecomp.el
4 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5 since cconv.el might have introduced :fun-body, internal-make-closure,
6 and friends for bytecomp to handle (bug#11391).
7 * custom.el (defcustom): Avoid ((λ ..) ..).
9 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15 * notifications.el (dbus-debug):
16 * term/linux.el (gpm-mouse-enable):
17 * term/screen.el (xterm-register-default-colors): Declare.
19 2012-05-02 Chong Yidong <cyd@gnu.org>
21 * cus-start.el (gc-cons-percentage, exec-suffixes)
22 (dos-display-scancodes, dos-hyper-key, dos-super-key)
23 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
24 (make-cursor-line-fully-visible, void-text-area-pointer)
25 (font-list-limit): Add customization data.
27 * allout.el (allout-exposure-change-functions)
28 (allout-structure-added-functions)
29 (allout-structure-deleted-functions)
30 (allout-structure-shifted-functions): Rename abnormal hooks from
31 *-hook, and convert to defcustoms.
32 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
33 Convert to defcustoms.
34 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
36 * allout-widgets.el: Hook callers changed.
38 2012-05-02 Eli Zaretskii <eliz@gnu.org>
40 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
41 the yanked message in preference to the default value of
42 buffer-file-coding-system.
44 2012-05-02 Martin Rudalics <rudalics@gmx.at>
46 * window.el (display-buffer--action-function-custom-type):
49 2012-05-02 Alan Mackenzie <acm@muc.de>
51 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
53 2012-05-01 Glenn Morris <rgm@gnu.org>
55 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
57 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
59 * cus-edit.el (custom-variable-documentation): Simplify with format.
61 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
62 Stefan Monnier <monnier@iro.umontreal.ca>
64 * simple.el (suggest-key-bindings, execute-extended-command):
67 2012-05-01 Chong Yidong <cyd@gnu.org>
69 * follow.el: Eliminate advice.
70 (set-process-filter, process-filter, sit-for): Advice deleted.
71 (follow-mode-off-hook): Obsolete hook removed.
72 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
74 (follow-auto): Use a :set function.
75 (follow-mode): Rewritten. Don't advise process filters.
76 (follow-switch-to-current-buffer-all, follow-scroll-up)
77 (follow-scroll-down): Assume follow-mode is bound.
78 (follow-comint-scroll-to-bottom)
79 (follow-align-compilation-windows): New functions.
80 (follow--window-sorter): New function.
81 (follow-all-followers): Use it to explicitly sort windows by their
82 positions; don't make assumptions about next-window order.
83 (follow-windows-start-end, follow-delete-other-windows-and-split)
84 (follow-calc-win-start): Doc fix.
85 (follow-windows-aligned-p, follow-select-if-visible): Don't call
86 vertical-motion unnecessarily.
87 (follow-adjust-window): New function.
88 (follow-post-command-hook): Use it.
89 (follow-call-set-process-filter, follow-call-process-filter)
90 (follow-intercept-process-output, follow-tidy-process-filter-alist)
91 (follow-stop-intercept-process-output, follow-generic-filter):
93 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
94 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
95 New functions, replacing advice on scroll-bar-* commands.
96 (follow-mwheel-scroll): New function (Bug#4112).
98 * comint.el (comint-adjust-point): New function.
99 (comint-postoutput-scroll-to-bottom): Use it.
100 Call follow-comint-scroll-to-bottom for Follow mode buffers.
102 2012-05-01 Glenn Morris <rgm@gnu.org>
104 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
105 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
106 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
107 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
108 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
109 Remove no-byte-compile setting.
111 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
113 * minibuffer.el (completion-table-with-quoting): Fix compatibility
114 all-completions code to not return a number in the last cdr.
116 2012-04-30 Leo Liu <sdl.web@gmail.com>
118 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
121 2012-04-29 Chong Yidong <cyd@gnu.org>
123 * follow.el (follow-calc-win-end): Rewrite to handle partial
124 screen lines correctly (Bug#8390).
125 (follow-avoid-tail-recenter): Minor cleanup.
127 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
129 Avoid the obsolete `assoc' package.
130 * speedbar.el (speedbar-refresh): Avoid adelete.
131 (speedbar-file-lists): Simplify and avoid aput.
132 * man.el (Man--sections, Man--refpages): New vars, replacing
133 Man-sections-alist and Man-refpages-alist.
134 (Man-build-section-alist, Man-build-references-alist):
135 Use them; avoid aput.
136 (Man--last-section, Man--last-refpage): New vars.
137 (Man-follow-manual-reference): Use them.
138 Use the `default' arg of completing-read.
139 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
141 2012-04-27 Chong Yidong <cyd@gnu.org>
143 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
145 * startup.el (x-apply-session-resources): New function.
147 * term/ns-win.el (ns-initialize-window-system):
148 * term/w32-win.el (w32-initialize-window-system):
149 * term/x-win.el (x-initialize-window-system): Use it to properly
150 set menu-bar-mode and other vars from X resources, even if the
151 initial frame is not a window-system frame (Bug#2299).
153 * subr.el (read-key): Avoid running filter function when setting
154 up temporary tool bar entries (Bug#9922).
156 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
158 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
161 2012-04-27 Chong Yidong <cyd@gnu.org>
163 * select.el (xselect--encode-string): New function, split from
164 xselect-convert-to-string.
165 (xselect-convert-to-string): Use it.
166 (xselect-convert-to-filename, xselect-convert-to-os)
167 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
168 returned strings are properly encoded (Bug#11315).
170 2012-04-27 Chong Yidong <cyd@gnu.org>
172 * simple.el (delete-active-region): Move to killing custom group.
174 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
176 * progmodes/which-func.el (which-func-current): Quote %
177 characters for mode-line processing.
179 2012-04-27 Chong Yidong <cyd@gnu.org>
181 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
182 reaching eob (Bug#11286).
184 2012-04-27 Eli Zaretskii <eliz@gnu.org>
186 * progmodes/gdb-mi.el (gdb-control-level): New variable.
187 (gdb): Make it buffer-local and init to zero.
188 (gdb-control-commands-regexp): New variable.
189 (gdb-send): Don't wrap in "-interpreter-exec console" if
190 gdb-control-level is positive. Increment gdb-control-level
191 whenever the command matches gdb-control-commands-regexp, and
192 decrement it each time the command is "end". (Bug#11279)
194 2012-04-27 Martin Rudalics <rudalics@gmx.at>
196 * window.el (adjust-window-trailing-edge, enlarge-window)
197 (shrink-window, window-resize):
198 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
201 2012-04-27 Chong Yidong <cyd@gnu.org>
203 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
204 fix "missing prefix" warning. All callers changed.
206 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
208 * emacs-lisp/assoc.el: Move to obsolete/.
210 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
212 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
214 * term/ns-win.el (ns-define-service):
215 * progmodes/pascal.el (pascal-goto-defun):
216 * progmodes/js.el (js--read-tab):
217 * progmodes/etags.el (tags-lazy-completion-table):
218 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
219 * emacs-lisp/ewoc.el (ewoc--wrap):
220 * emacs-lisp/assoc.el (aput, adelete, amake):
221 * doc-view.el (doc-view-convert-current-doc):
222 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
224 2012-04-26 Chong Yidong <cyd@gnu.org>
226 * image.el (image-type-from-buffer): Only return supported image
229 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
230 value, for symmetry with diff-end-of-hunk.
231 (diff-split-hunk, diff-find-source-location)
232 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
233 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
234 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
235 compute the relevant hunk or file properly (Bug#6005).
236 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
238 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
247 * vc/vc.el: Replace lexical-let by lexical-binding.
248 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
249 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
250 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
252 2012-04-26 Chong Yidong <cyd@gnu.org>
254 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
255 (diff-mode-shared-map): Bind it to / and [remap undo].
257 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
258 (ediff-window-setup-function): Use it as the default, to set up
259 windows based on whether the current frame is graphical (Bug#2138).
260 (ediff-choose-window-setup-function-automatically): Make obsolete.
262 * vc/ediff-init.el: Always define ediff-pixel-width/height.
264 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
266 * ffap.el: Remove old code for obsolete package.
267 (ffap-complete-as-file-p): Remove.
269 Use completion-table-with-quoting for comint and pcomplete.
270 * comint.el (comint--unquote&requote-argument)
271 (comint--unquote-argument, comint--requote-argument): New functions.
272 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
273 (comint-quote-filename): Use regexp-opt-charset.
274 (comint--common-suffix, comint--common-quoted-suffix)
275 (comint--table-subvert): Remove.
276 (comint-unquote-function, comint-requote-function): New vars.
277 (comint--complete-file-name-data): Use them with
278 completion-table-with-quoting.
279 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
280 * pcomplete.el (pcomplete-arg-quote-list)
281 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
282 (pcomplete-unquote-argument-function): Default to non-nil.
283 (pcomplete-unquote-argument): Simplify.
284 (pcomplete--common-quoted-suffix): Remove.
285 (pcomplete-requote-argument-function): New var.
286 (pcomplete--common-suffix): New function.
287 (pcomplete-completions-at-point): Use completion-table-with-quoting
288 and completion-table-subvert.
290 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
291 (minibuffer--double-dollars): Preserve properties.
292 (completion--sifn-requote): New function.
293 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
295 * minibuffer.el: Add support for completion of quoted/escaped data.
296 (completion-table-with-quoting, completion-table-subvert): New funs.
297 (completion--twq-try, completion--twq-all): New functions.
298 (completion--nth-completion): New function.
299 (completion-try-completion, completion-all-completions): Use it.
301 2012-04-25 Leo Liu <sdl.web@gmail.com>
303 * progmodes/python.el (python-pdbtrack-get-source-buffer):
304 Use compilation-message if available to find real filename.
306 2012-04-25 Chong Yidong <cyd@gnu.org>
308 * vc/diff-mode.el (diff-setup-whitespace): New function.
311 * vc/diff.el (diff-sentinel):
312 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
313 Whitespace mode variables based on diff style (Bug#8612).
315 2012-04-25 Leo Liu <sdl.web@gmail.com>
317 * progmodes/python.el (python-send-region): Add suffix .py to the
320 * files.el (auto-mode-alist): Use javascript-mode instead.
322 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
324 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
326 * soap-client.el (soap-resolve-references-for-sequence-type)
327 (soap-resolve-references-for-array-type): Hack to prevent self
328 references, see Bug#9.
329 (soap-parse-envelope): Report the contents of the 'detail' node
330 when receiving a fault reply.
331 (soap-parse-envelope): Report the contents of the entire 'detail' node.
333 * soap-inspect.el (soap-sample-value-for-simple-type)
334 (soap-inspect-simple-type): New function.
336 * soap-client.el (soap-simple-type): New struct.
337 (soap-default-xsd-types, soap-default-soapenc-types)
338 (soap-decode-basic-type, soap-encode-basic-type):
339 support unsignedInt and double basic types.
340 (soap-resolve-references-for-simple-type)
341 (soap-parse-simple-type, soap-encode-simple-type): New function.
342 (soap-parse-schema): Parse xsd:simpleType declarations.
344 * soap-client.el (soap-default-xsd-types)
345 (soap-default-soapenc-types): Add integer, byte and anyURI types.
346 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
347 the local name of "soapenc:Array".
348 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
349 decoding integer, byte and anyURI xsd types.
351 2012-04-25 Chong Yidong <cyd@gnu.org>
353 * cus-edit.el (custom-buffer-create-internal): Update header text.
355 2012-04-25 Eli Zaretskii <eliz@gnu.org>
357 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
358 settings on 'system-type', not on 'window-system'. On MS-Windows,
359 set interactive-mode on in GDB.
361 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
363 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
364 (ruby-syntax-propertize-regexp): Remove.
365 (ruby-syntax-propertize-function): Split regexp into chunks.
366 Match following code directly.
368 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
370 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
371 (ruby-syntax-propertize-regexp): New function.
372 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
373 by a special keyword.
375 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
376 (ruby-syntax-general-delimiters-goto-beg)
377 (ruby-syntax-propertize-general-delimiters): New functions.
378 (ruby-syntax-propertize-function): Use them to handle GDL.
379 (ruby-font-lock-keywords): Move old handling of GDL...
380 (ruby-font-lock-syntactic-keywords): .. to here.
381 (ruby-calculate-indent): Adjust indentation for GDL.
383 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
385 * notifications.el (top): Remove unneeded declarations.
386 (notifications-specification-version): Change to "1.2".
387 (notifications-interface, notifications-notify-method)
388 (notifications-close-notification-method): Fix docstring.
389 (notifications-get-capabilities-method): New defconst.
390 (notifications-notify): Add :action-items, :resident and
391 :transient hints. Change "image_data" to "image-data" and
392 "image_path" to "image-path".
393 (notifications-get-capabilities): New defun.
395 2012-04-24 Leo Liu <sdl.web@gmail.com>
397 * progmodes/python.el: Move hideshow setup to the end.
399 2012-04-24 Martin Rudalics <rudalics@gmx.at>
401 * window.el (handle-select-window): Clear echo area since this is
402 no more done by read_char (Bug#11304).
404 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
406 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
407 and `/ M' to filter-derived-mode.
408 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
409 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
410 (ibuffer-mark-by-mode): Use default rather than initial-input.
411 (ibuffer-filter-by-derived-mode): Autoload and require-match.
413 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
415 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
416 (ibuffer-filter-by-derived-mode): New filter.
417 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
419 2012-04-23 Andreas Politz <politza@fh-trier.de>
421 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
423 2012-04-23 Chong Yidong <cyd@gnu.org>
425 * cus-edit.el (customize-apropos, customize-apropos-options):
426 Disable matching of non-option variables (Bug#11176).
427 (customize-option, customize-option-other-window)
428 (customize-changed-options): Doc fix.
429 (customize-apropos-options, customize-apropos-faces)
430 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
432 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
433 Fix word list splitting (Bug#11132).
434 (apropos-symbol, apropos-keybinding, apropos-label)
435 (apropos-property, apropos-function-button)
436 (apropos-variable-button, apropos-misc-button): New faces.
437 (apropos-symbol-face, apropos-keybinding-face)
438 (apropos-label-face, apropos-property-face, apropos-match-face):
439 Variables removed (Bug#8396).
440 (apropos-library-button, apropos-format-plist, apropos-print)
441 (apropos-print-doc, apropos-describe-plist): Callers changed.
443 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
445 * net/xesam.el (xesam-mode-map): Use let-bound map in
446 initialization. (Bug#11292)
448 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
450 Preserve ispell session localwords when switching back to
453 * ispell.el (ispell-buffer-session-localwords): New buffer-local
454 variable to hold buffer session localwords.
455 (ispell-kill-ispell): add option 'clear to delete session
457 (ispell-command-loop, ispell-change-dictionary)
458 (ispell-buffer-local-words): Preserve session localwords when
461 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
462 Preserve session localwords when needed.
464 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
466 * ispell.el (ispell-insert-word) Remove unneeded function using
467 obsolete `translation-table-for-input'.
468 (ispell-word, ispell-process-line, ispell-complete-word):
469 Use plain `insert' instead of removed `ispell-insert-word'.
471 2012-04-22 Chong Yidong <cyd@gnu.org>
473 * cus-edit.el (custom-variable-menu)
474 (custom-variable-reset-saved, custom-face-menu)
475 (custom-face-reset-saved): If there is no saved value, make the
476 "reset-saved" operation bring back the default (Bug#9509).
477 (custom-face-state): Properly detect themed faces.
479 * faces.el (face-spec-set): Stop supporting deprecated form of
482 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
484 Move functions from C to Lisp. Make non-blocking method calls
485 the default. Implement further D-Bus standard interfaces.
487 * net/dbus.el (dbus-message-internal): Declare function.
488 Remove unneeded function declarations.
489 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
490 (dbus-message-type-method-return, dbus-message-type-error)
491 (dbus-message-type-signal): Declare variables. Remove local
493 (dbus-interface-dbus, dbus-interface-peer)
494 (dbus-interface-introspectable, dbus-interface-properties)
495 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
497 (dbus-interface-objectmanager): New defconst.
498 (dbus-call-method, dbus-call-method-asynchronously)
499 (dbus-send-signal, dbus-method-return-internal)
500 (dbus-method-error-internal, dbus-register-service)
501 (dbus-register-signal, dbus-register-method): New defuns, moved
503 (dbus-call-method-handler, dbus-setenv)
504 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
506 (dbus-call-method-non-blocking): Make it an obsolete function.
507 (dbus-unregister-object, dbus-unregister-service)
508 (dbus-handle-event, dbus-register-property)
509 (dbus-property-handler): Obey the new structure of
510 `bus-registered-objects'.
511 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
512 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
513 Use `dbus-call-method'.
515 2012-04-22 Chong Yidong <cyd@gnu.org>
517 * cus-edit.el (custom-commands, custom-reset-menu)
518 (Custom-reset-standard): Tweak labels.
519 (custom-reset-button-menu): Change default to t.
520 (custom-buffer-create-internal): For the custom-reset-button-menu
521 case, put the revert button first.
522 (custom-group-subtitle): New face.
523 (custom-group-value-create): Align docstring to a specific column.
525 * wid-edit.el (widget-documentation-link-add): Don't handle
526 indentation in this function.
527 (widget-documentation-string-indent-to): New function.
528 (widget-documentation-string-value-create): Use it.
530 * autorevert.el (auto-revert):
531 * epg-config.el (epg):
532 * ibuffer.el (ibuffer):
535 * eshell/eshell.el (eshell):
536 * net/ange-ftp.el (ange-ftp):
537 * progmodes/ebnf2ps.el (postscript):
538 * progmodes/flymake.el (flymake):
539 * progmodes/prolog.el (prolog):
540 * progmodes/verilog-mode.el (verilog-mode):
541 * progmodes/which-func.el (which-func):
542 * term/xterm.el (xterm):
543 * textmodes/picture.el (picture):
544 * textmodes/tildify.el (tildify):
545 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
546 customization buffers.
548 2012-04-22 Alan Mackenzie <acm@muc.de>
550 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
551 Adding a ) can hide the resulting (..) from searches. Fix it.
552 Bound the backward search to the position of the existing (.
554 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
556 * progmodes/verilog-mode.el (verilog-mode): Check whether
557 which-func-modes is t before adding verilog-mode.
558 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
560 2012-04-21 Leo Liu <sdl.web@gmail.com>
562 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
564 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
566 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
567 filling of the last column of a table (Bug#5635).
568 (woman-find-next-control-line): New arg, specifying an additional
569 regexp component for the control line.
570 (woman2-roff-buffer): Use it.
571 (woman-break-table): New function.
574 2012-04-21 Chong Yidong <cyd@gnu.org>
576 * woman.el (woman-set-buffer-display-table, woman-decode-region)
577 (woman-horizontal-escapes, woman-negative-vertical-space)
578 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
579 (WoMan-warn-ignored): Use ?\s instead of ?\ .
581 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
583 * minibuffer.el (completion-file-name-table): Complete user names.
585 2012-04-20 Leo Liu <sdl.web@gmail.com>
587 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
590 2012-04-20 Chong Yidong <cyd@gnu.org>
592 * server.el (server-execute): Respect initial-buffer-choice if it
593 is a string and there are no files to open (Bug#2825).
594 (server-create-window-system-frame, server-create-tty-frame):
595 Don't switch buffers here.
596 (server-process-filter): Only try to open a window system frame if
597 compiled with graphical support (Bug#8314).
599 2012-04-20 Dan Nicolaescu <dann@gnu.org>
601 * battery.el (battery-echo-area-format): Display remaining time
602 for sysfs backend too (Bug#11269).
603 (battery-linux-sysfs): Fix conditional for the charge.
605 2012-04-20 Chong Yidong <cyd@gnu.org>
607 * progmodes/gdb-mi.el (gdb): Revert previous change.
608 (gdb-inferior-io--init-proc): New function.
609 (gdb-init-1): Use it.
610 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
611 responsible for allocating a new pty and hooking it to gdb when
612 the old pty gets an EIO due to process exit.
613 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
614 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
615 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
617 2012-04-20 Eli Zaretskii <eliz@gnu.org>
619 * window.el (window-min-size, window-sizable, window-min-delta)
620 (window-max-delta, window--resizable, window-resizable)
621 (window-total-size, window-full-height-p, window-full-width-p)
622 (window-in-direction, window--resize-mini-window, window-resize)
623 (window--resize-child-windows-normal)
624 (window--resize-child-windows, window--resize-siblings)
625 (window--resize-this-window, adjust-window-trailing-edge)
626 (enlarge-window, shrink-window): Doc fixes.
628 2012-04-20 Chong Yidong <cyd@gnu.org>
630 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
631 New function to call delete-process on the gdb-inferior buffer's pty.
632 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
633 pty process (Bug#11273).
634 (gdb-update): New arg to suppress talking to the gdb process.
635 (gdb-done-or-error): Use it.
636 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
637 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
638 sentinel not being called.
640 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
642 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
644 2012-04-20 Glenn Morris <rgm@gnu.org>
646 * net/network-stream.el (open-network-stream): Doc fix.
648 2012-04-20 Chong Yidong <cyd@gnu.org>
650 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
652 2012-04-20 Alan Mackenzie <acm@muc.de>
654 Ensure searching for keywords is case sensitive.
656 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
657 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
658 (c-defun-name, c-mark-function, c-cpp-define-name)
659 (c-comment-indent, c-scan-conditionals, c-indent-defun)
660 (c-context-line-break): Bind case-fold-search to nil.
662 * progmodes/cc-mode.el (c-font-lock-fontify-region):
663 Bind case-fold-search to nil.
665 2012-04-20 Chong Yidong <cyd@gnu.org>
667 * mail/sendmail.el (mail-bury): Call return action with the right
668 Rmail buffer (Bug#11242).
670 * server.el (server-process-filter): Handle corner case where both
671 tty and nowait options are present (Bug#11102).
673 2012-04-20 Eli Zaretskii <eliz@gnu.org>
675 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
676 (top level): Put into the executable the ident-style '$Id:' tag on
679 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
681 * electric.el (electric-indent-post-self-insert-function): Check that
682 electric-indent-mode is enabled in current buffer.
684 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
686 * imenu.el (imenu-progress-message): Restore; it is "used" in
687 erc/erc-imenu.el and net/snmp-mode.el.
689 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
691 * avoid.el (mouse-avoidance-mode): Mark unused arg.
692 (mouse-avoidance-nudge-mouse): Remove unused binding.
694 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
696 * descr-text.el (describe-char):
697 * progmodes/python.el (python-describe-symbol):
698 Don't call `toggle-read-only', set `buffer-read-only'.
700 * imenu.el (imenu-default-goto-function): Mark unused args.
701 (imenu-progress-message): Remove obsolete macro; all callers changed.
703 * subr.el (keymap-canonicalize): Remove unused binding.
704 (read-passwd): Mark unused arg.
706 * tutorial.el (tutorial--display-changes): Remove unused binding.
707 (tutorial--save-tutorial-to): Remove unused variable.
709 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
710 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
711 (package-generate-autoloads, package-menu--generate)
712 (package-menu--find-upgrades): Remove unused bindings.
714 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
715 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
716 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
717 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
718 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
719 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
720 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
721 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
722 (cua-delete-char-rectangle): Mark unused args.
723 (cua-align-rectangle): Remove unused binding.
725 * mail/rmail.el (compilation--message->loc)
726 (epa--find-coding-system-for-mime-charset): Declare.
728 * net/dbus.el (dbus-register-service): Declare.
729 (dbus-name-owner-changed-handler): Remove unused binding.
731 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
732 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
733 (nxml-scan-backward-within): Mark unused arg.
734 (nxml-dynamic-markup-word): Remove unused binding.
736 * mouse.el (mouse-menu-major-mode-map):
737 * emacs-lisp/authors.el (authors-scan-change-log)
738 (authors-add-to-author-list):
739 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
740 * emacs-lisp/smie.el (smie-auto-fill):
741 * mail/sendmail.el (mail-bury):
742 * mail/unrmail.el (unrmail):
743 * net/tls.el (open-tls-stream):
744 * textmodes/picture.el (picture-mouse-set-point):
745 Remove unused bindings.
747 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
749 * net/tramp.el (tramp-action-password): Let-bind
750 `enable-recursive-minibuffers' to t.
752 2012-04-18 Sam Steingold <sds@gnu.org>
754 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
755 instead of 'string to accommodate values like [f11].
756 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
757 * progmodes/gdb-mi.el: Likewise.
759 2012-04-18 Leo Liu <sdl.web@gmail.com>
761 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
763 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
766 2012-04-18 Chong Yidong <cyd@gnu.org>
768 * simple.el (line-move): Use forward-line if in batch mode
771 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
773 * files.el (after-find-file): Do not try to add a final newline if
774 the buffer is read-only (Bug#11156).
776 2012-04-17 Richard Stallman <rms@gnu.org>
778 * mail/rmail.el (rmail-start-mail):
779 Pass (rmail-mail-return...) for the return-action.
780 Pass (rmail-yank-current-message...) for the yank-action.
781 (rmail-yank-current-message): New function.
782 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
783 (rmail-reply): Likewise.
784 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
786 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
787 buffer, not the last. Reject temp buffers. Use the rmail-mode
790 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
792 * server.el (server-ensure-safe-dir): Simplify.
794 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
796 * emacs-lisp/smie.el: Provide smarter auto-filling.
797 (smie-auto-fill): New function.
798 (smie-setup): Use it.
800 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
802 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
804 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
805 (comment-indent): Use it.
807 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
809 * ses.el: The overall change is to add cell renaming, that is
810 setting fancy names for cell symbols other than name matching
811 "\\`[A-Z]+[0-9]+\\'" regexp .
812 (ses-localvars): Add ses--renamed-cell-symb-list.
813 (ses-create-cell-variable): New defun.
814 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
815 (ses-relocate-formula): Relocate formulas only for cells the
816 symbols of which are not renamed, i.e. symbols whose names do not
817 match regexp "\\`[A-Z]+[0-9]+\\'".
818 (ses-relocate-all): Relocate values only for cells the symbols of
819 which are not renamed.
820 (ses-load): Create cells variables as the (ses-cell ...) are read,
821 in order to check row col consistency with cell symbol name only
822 for cells that are not renamed.
823 (ses-replace-name-in-formula): New defun.
824 (ses-rename-cell): New defun.
826 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
828 * progmodes/perl-mode.el (perl-indent-parens-as-block):
829 New option (bug#11118).
830 (perl-calculate-indent): Respect it.
832 2012-04-17 Glenn Morris <rgm@gnu.org>
834 * dired-aux.el (dired-mark-read-string): Doc fix.
836 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
838 * dired-aux.el (dired-mark-read-string): Offer optional completion.
839 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
841 2012-04-17 Glenn Morris <rgm@gnu.org>
843 * mouse.el (mouse-drag-track):
844 * speedbar.el (speedbar-frame-mode):
845 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
847 2012-04-16 Leo Liu <sdl.web@gmail.com>
849 * progmodes/python.el: Trivial cleanup.
851 2012-04-16 Glenn Morris <rgm@gnu.org>
853 * vc/vc.el (vc-string-prefix-p):
854 * vc/pcvs-util.el (cvs-string-prefix-p):
855 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
856 * mpc.el (mpc-string-prefix-p):
857 Make all of these into obsolete aliases for string-prefix-p.
859 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
861 * textmodes/two-column.el: Move custom options to the start.
862 (frame-width): Remove compat definition.
863 (2C-associate-buffer, 2C-dissociate):
864 Use with-current-buffer rather than save-excursion.
865 (2C-dissociate): Force a mode-line update.
866 (2C-autoscroll): Use ignore-errors.
868 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
871 * emacs-lisp/cl-extra.el (*random-state*):
872 Remove unnecessary declaration.
874 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
876 * play/cookie1.el (cookie-snarf):
877 Give an explicit error if input file cannot be read.
879 * play/yow.el (yow-file): Use expand-file-name rather than concat.
881 * progmodes/perl-mode.el (c-macro-expand):
882 Remove unnecessary autoload (it is in loaddefs.el).
884 * textmodes/picture.el (picture-desired-column)
885 (picture-update-desired-column): Convert comments to doc-strings.
886 (picture-substitute): Remove function.
887 (picture-mode-map): Initialize in the defvar.
889 * woman.el: Remove eval-after-load for tar-mode.
890 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
891 (woman-tar-extract-file): Autoload it.
893 * frame.el (automatic-hscrolling): Make this alias obsolete.
895 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
897 * ispell.el (ispell-set-spellchecker-params): Post-process
898 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
899 (ispell-dictionary-base-alist): Revert to original XEmacs
900 friendly version for default. [:alpha:] will be added in
901 `ispell-set-spellchecker-params' if needed
903 2012-04-16 Chong Yidong <cyd@gnu.org>
905 * image.el (imagemagick--extension-regexp): New variable.
906 (imagemagick-register-types): Use it.
907 (imagemagick-types-inhibit): Add :set function. Allow new value
908 of t to inhibit all types.
910 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
911 so we can preload it.
913 * loadup.el (fboundp): Preload regexp-opt, needed by
914 imagemagick-register-types.
916 2012-04-15 Chong Yidong <cyd@gnu.org>
918 * frame.el (scrolling): Remove nearly unused customization group.
920 * scroll-all.el (scroll-all-mode): Move to windows group.
922 2012-04-15 Chong Yidong <cyd@gnu.org>
924 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
926 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
928 Avoid the use of ((lambda ...) ...) in lexical-binding code.
929 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
931 2012-04-15 Glenn Morris <rgm@gnu.org>
933 * simple.el (process-file-side-effects): Doc fix.
935 2012-04-15 Glenn Morris <rgm@gnu.org>
937 * international/mule-cmds.el (set-language-environment): Doc fix.
939 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
941 * server.el (server-auth-key, server-generate-key): Doc fixes.
942 (server-get-auth-key): Doc fix. Use `string-match-p'.
943 (server-start): Reflow docstring.
945 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
947 * server.el (server-generate-key): `called-interactively-p'
948 requires a parameter.
950 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
952 * server.el (server-auth-key): New variable.
953 (server-generate-key, server-get-auth-key): New function.
954 (server-start): Use the new variable and functions to allow
955 setting a permanent server key (bug#9423).
957 2012-04-14 Leo Liu <sdl.web@gmail.com>
959 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
961 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
964 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
965 Emacs uses American spelling.
967 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
969 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
970 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
971 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
972 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
974 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
976 * progmodes/which-func.el (which-func-modes): Change default.
978 2012-04-14 Kim F. Storm <storm@cua.dk>
980 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
981 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
983 2012-04-14 Chong Yidong <cyd@gnu.org>
985 * custom.el (custom-theme-set-variables): Doc fix.
987 2012-04-14 Glenn Morris <rgm@gnu.org>
989 * international/mule.el (set-auto-coding-for-load): Doc fix.
991 2012-04-14 Alan Mackenzie <acm@muc.de>
993 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
994 imenu work again for Objective C Mode. Correct the *-index values,
995 these having been disturbed by a previous change in 2011-08.
997 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
998 Correct two search limits.
1000 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1004 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1006 * international/characters.el: Fix sorting.
1008 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1010 * international/characters.el: Add more missing Latin case pairs.
1012 2012-04-14 Glenn Morris <rgm@gnu.org>
1014 * files.el (dir-locals-set-class-variables): Doc fix.
1016 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1018 * international/characters.el: Add set-case-syntax-pair call for
1019 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1020 counterpart. (Bug#11209)
1022 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1024 2012-04-14 Glenn Morris <rgm@gnu.org>
1026 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1028 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1030 * textmodes/ispell.el (ispell-dictionary-base-alist):
1031 Add data for Hebrew.
1033 2012-04-14 Chong Yidong <cyd@gnu.org>
1035 * net/rcirc.el (rcirc-cmd-quit):
1036 Revert 2012-03-18 change (Bug#11192).
1038 2012-04-14 Glenn Morris <rgm@gnu.org>
1040 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1042 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1044 * minibuffer.el (completion-in-region-mode-map):
1045 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1047 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1049 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1051 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1053 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1054 to allow `C-M-f' and `C-M-b' to move to the nearest path
1055 separator (bug#9511).
1057 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1059 * avoid.el: Require cl when compiling. And also move the
1060 `provide' to the end.
1062 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1064 * avoid.el (mouse-avoidance-banish-position): New variable.
1065 (mouse-avoidance-banish-destination): Use it (bug#10165).
1067 2012-04-13 Leo Liu <sdl.web@gmail.com>
1069 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1071 2012-04-13 Ken Brown <kbrown@cornell.edu>
1073 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1074 this is no longer needed now that cygstart understands file:// URLs.
1075 (browse-url-filename-alist): For the same reason, don't modify
1076 file:// URLs on Cygwin.
1078 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1081 the region on shift if the binding is already shifted (bug#11221).
1083 2012-04-12 Glenn Morris <rgm@gnu.org>
1085 * mail/mailpost.el: Move to obsolete/.
1087 2012-04-12 Drew Adams <drew.adams@oracle.com>
1089 * imenu.el (imenu--generic-function): Ignore invisible definitions
1092 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1094 * hexl.el (hexl-bits): New variable.
1095 (hexl-options): Mention the variable in the doc string.
1096 (hexl-rulerise, hexl-line-displen): New functions.
1097 (hexl-mode): Mention the new variable.
1098 (hexl-mode, hexl-current-address, hexl-current-address):
1100 (hexl-ascii-start-column): New function.
1101 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1102 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1104 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1106 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1107 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1108 the encoding, as expected by hunspell.
1110 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1112 * battery.el (battery--linux-sysfs-regexp): New const.
1113 (battery-status-function): Use it. Remove yeeloong special case.
1114 (battery-yeeloong-sysfs): Remove.
1115 (battery-echo-area-format): Remove yeeloong special case.
1117 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1119 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1120 Reported by Noah Friedman.
1122 * subr.el (read-passwd): Use read-string.
1124 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1126 * vcursor.el (vcursor-move): Increase the priority of the overlay
1129 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1131 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1132 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1134 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1136 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1137 define-minor-mode (bug#10760).
1139 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1141 * progmodes/grep.el (rgrep): Tweak the find command line so
1142 that directories matching `grep-find-ignored-files' won't be
1145 2012-04-11 Chong Yidong <cyd@gnu.org>
1147 * startup.el (command-line): Remove support for long-obsolete
1148 variable font-lock-face-attributes.
1150 2012-04-11 Glenn Morris <rgm@gnu.org>
1152 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1154 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * window.el (window--state-get-1): Obey window-point-insertion-type.
1158 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1160 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1161 to previous function when point is on the first character of a
1162 function. Take care of that in `narrow-to-defun' (bug#6157).
1164 2012-04-11 Glenn Morris <rgm@gnu.org>
1166 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1167 not just file-errors.
1169 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1170 (vc-bzr-sha1): Use internal sha1.
1172 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1176 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1178 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1179 that start in the middle of the line (bug#10496).
1181 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1183 * battery.el (battery-linux-proc-acpi): Only one battery is
1184 discharged at a time, but that seems to confuse battery.el when
1185 computing `rate-type' for the battery not being discharged
1188 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1192 * international/quail.el: Use dolist and simplify.
1193 (quail-define-package, quail-update-keyboard-layout)
1194 (quail-define-rules): Use dolist.
1195 (quail-insert-kbd-layout, quail-get-translation): CSE.
1197 * tmm.el: Use dolist, remove left over hook.
1198 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1200 (calendar-load-hook): Don't mess with it.
1202 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1203 Use derived-mode-p. Run the diff asynchronously.
1205 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1207 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1209 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1211 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1212 (list-dynamic-libraries--loaded): New function.
1213 (list-dynamic-libraries--refresh): Use it.
1215 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1217 * progmodes/python.el (python-fill-paragraph):
1218 Make python-fill-region in a multiline string work when font-lock is
1219 disabled (bug#7018).
1221 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1223 * language/european.el (cp775): Add oem/legacy (en)coding on
1224 DOS/MS Windows for the Baltic languages. There are still plenty
1225 of texts written in this encoding/codepage (bug#6519).
1227 2012-04-10 Glenn Morris <rgm@gnu.org>
1229 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1230 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1232 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1234 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1235 next-line "n" and previous-line "p" in order to make recentf more
1236 consistent with ibuffer, dired or org-mode (bug#9387).
1238 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1240 * image.el (put-image): Return the overlay created instead of the
1241 optional input string (bug#7834). Note that this may break code
1242 that is (for some reason or other) depending on `put-image'
1243 returning the string.
1245 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1247 * simple.el (zap-to-char): Allow zapping using input methods
1250 * textmodes/fill.el (fill-region): Leave point and mark where they
1251 were before filling (bug#5399).
1253 2012-04-09 Glenn Morris <rgm@gnu.org>
1255 * version.el (emacs-bzr-get-version):
1256 Handle lightweight checkouts of local branches.
1258 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1260 * international/characters.el: Recover lost case pairs. (Bug#11209)
1262 2012-04-09 Chong Yidong <cyd@gnu.org>
1264 * custom.el (custom-variable-p): Return nil for non-symbol
1265 arguments instead of signaling an error.
1266 (user-variable-p): Obsolete alias for custom-variable-p.
1268 * apropos.el (apropos-variable):
1269 * files-x.el (read-file-local-variable):
1270 * simple.el (set-variable):
1271 * woman.el (woman-mini-help):
1272 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1274 2012-04-09 Glenn Morris <rgm@gnu.org>
1276 * startup.el (normal-top-level): Don't look for leim-list.el
1277 in places where it will not be found. (Bug#910)
1279 * international/mule-cmds.el (set-default-coding-systems):
1280 * files.el (normal-mode):
1281 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1282 This function was removed with ucs-tables.el in 2008.
1284 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1286 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1287 ispell-encoding8-command to "-i", without a trailing space.
1288 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1289 separate command-line arguments, to specify the encoding, since
1290 that's how hunspell expects it.
1292 2012-04-08 Glenn Morris <rgm@gnu.org>
1294 * loadup.el: Load bindings before cus-start.
1295 This reduces somewhat the number of "rogue" settings in emacs -Q.
1297 2012-04-07 Glenn Morris <rgm@gnu.org>
1299 * version.el (emacs-bzr-get-version): New function.
1300 (emacs-bzr-version): New variable.
1301 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1302 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1304 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1306 * international/uni-bidi.el, international/uni-category.el:
1307 * international/uni-combining.el, international/uni-decimal.el:
1308 * international/uni-decomposition.el, international/uni-digit.el:
1309 * international/uni-lowercase.el, international/uni-mirrored.el:
1310 * international/uni-name.el, international/uni-numeric.el:
1311 * international/uni-titlecase.el, international/uni-uppercase.el:
1312 Update for Unicode 6.1.
1314 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1316 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1318 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1320 * window.el (shrink-window): Mention the `window-min-height'
1321 variable in the doc string.
1323 2012-04-05 Bastien Guerry <bzg@altern.org>
1325 * color.el (color-lighten-name): Fix typo.
1327 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * server.el (server--on-display-p): New function.
1330 (server--on-display-p): Use it.
1332 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1334 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1337 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * comint.el (comint--common-quoted-suffix): Check string boundary
1340 before comparing (bug#11158).
1341 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1343 2012-04-04 Chong Yidong <cyd@gnu.org>
1345 * minibuffer.el (completion-extra-properties): Doc fix.
1347 * subr.el (delayed-warnings-hook): Doc fix.
1349 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1351 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1352 selection (Bug#11159).
1353 (epa-insert-keys): Inform that the default public key will be
1354 exported if no key is selected.
1356 2012-04-04 Richard Stallman <rms@gnu.org>
1358 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1360 2012-04-03 Chong Yidong <cyd@gnu.org>
1362 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1363 mail-insert-file, not its obsolete alias mail-attach-file.
1365 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1367 * notifications.el (notifications-notify): Fix docstring.
1369 2012-04-02 Glenn Morris <rgm@gnu.org>
1371 * emacs-lisp/authors.el (authors-aliases): Another addition.
1373 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1375 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1376 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1377 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1379 2012-04-01 Chong Yidong <cyd@gnu.org>
1381 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1382 Handle root directory properly.
1383 (copy-directory): Caller changed.
1385 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1386 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1388 2012-03-31 Glenn Morris <rgm@gnu.org>
1390 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1392 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1394 * calendar/calendar.el (calendar-window-list)
1395 (calendar-hide-window): Restore. (Bug#11140)
1396 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1398 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1400 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1402 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1403 Check if file is a symlink (Bug#10489).
1405 * files.el (copy-directory): Likewise.
1407 2012-03-30 Chong Yidong <cyd@gnu.org>
1409 * image.el (imagemagick-types-inhibit)
1410 (imagemagick-register-types): Doc fix.
1412 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1414 * ispell.el (ispell-get-extended-character-mode):
1415 Disable extended-char-mode for hunspell. hunspell does not support it
1416 and treats ~word as ordinary words in pipe mode.
1418 2012-03-30 Glenn Morris <rgm@gnu.org>
1420 * tutorial.el (help-with-tutorial): Ensure local variables don't
1421 happen to make the buffer read-only. (Bug#11127)
1423 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1426 (perl-calculate-indent): Return `noindent' in strings.
1428 2012-03-28 Sam Steingold <sds@gnu.org>
1430 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1431 instead of the broken adhockery which does not prevent calendar
1432 buffers from being displayed at random after exit.
1433 (calendar-window-list, calendar-hide-window): Remove the broken
1436 2012-03-28 Glenn Morris <rgm@gnu.org>
1438 * replace.el (query-replace-map): Doc fix.
1440 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1442 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1443 contents. (Bug#11109)
1445 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1449 (avl-tree--check, avl-tree--check-node): New funs.
1451 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1453 * window.el (switch-to-visible-buffer): New option.
1454 (switch-to-prev-buffer, switch-to-next-buffer):
1455 Observe switch-to-visible-buffer. Make sure that checking for a window
1456 showing a buffer already is done on the same frame.
1458 2012-03-27 Glenn Morris <rgm@gnu.org>
1460 * startup.el (mail-host-address): Doc fix.
1462 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1467 2012-03-26 Ami Fischman <ami@fischman.org>
1469 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1471 2012-03-26 Glenn Morris <rgm@gnu.org>
1473 * files.el (save-buffers-kill-emacs): Doc fix.
1475 * startup.el (normal-top-level, command-line, command-line-1):
1476 Give them doc strings.
1478 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1480 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1481 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1483 2012-03-25 Chong Yidong <cyd@gnu.org>
1485 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1486 theme if it was previously enabled before (Bug#11031).
1488 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1489 spec with custom-face-get-current-spec if its :shown-value is not
1490 determined yet (Bug#9337).
1491 (customize-create-theme, custom-theme-revert): Doc fixes.
1493 * button.el (button-at): Minor addition to docstring.
1495 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1497 * vc/vc.el (vc-merge): Fix a prompt.
1499 2012-03-24 Chong Yidong <cyd@gnu.org>
1501 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1504 * button.el (button-at): Minor addition to docstring.
1506 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * newcomment.el (comment-choose-indent): No space after BOL.
1510 2012-03-22 Sam Steingold <sds@gnu.org>
1512 * window.el (switch-to-prev-buffer): Revert last patch because the
1513 bug turned out to be an advertised feature (Elisp manual 28.14).
1515 2012-03-22 Glenn Morris <rgm@gnu.org>
1517 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1518 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1520 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1522 * net/network-stream.el (network-stream-open-starttls): Make error
1523 message under Windows be less misleading.
1525 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1527 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1528 understands (bug#9942).
1530 2012-03-22 Chong Yidong <cyd@gnu.org>
1532 * simple.el (end-of-visible-line): Handle return value of
1533 next-single-property-change properly (Bug#9371).
1535 2012-03-22 Kenichi Handa <handa@m17n.org>
1537 * international/quail.el (quail-insert-kbd-layout): Fix previous
1538 change. To avoid unwanted bidi reordering, use
1539 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1541 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1543 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1544 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1545 (ruby-beginning-of-indent): Be more careful with the difference
1546 between word-boundary and symbol boundary.
1547 (ruby-mode-syntax-table): Make : a symbol constituent.
1549 2012-03-21 Andreas Politz <politza@fh-trier.de>
1551 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1553 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * progmodes/etags.el (tags-completion-at-point-function):
1558 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1560 2012-03-21 Sam Steingold <sds@gnu.org>
1562 * progmodes/etags.el (tags-completion-at-point-function):
1563 Avoid the error when point is inside the pattern.
1565 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1567 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1570 2012-03-21 Drew Adams <drew.adams@oracle.com>
1572 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1574 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1576 * ido.el (ido-set-current-directory, ido-read-internal)
1577 (ido-choose-completion-string, ido-completion-help): Handle nil
1578 value of ido-completion-buffer (Bug#11008).
1580 2012-03-21 Sam Steingold <sds@gnu.org>
1582 * window.el (switch-to-prev-buffer): Do not switch to a visible
1583 window previous buffer, just like with the frame previous buffers.
1585 2012-03-21 Chong Yidong <cyd@gnu.org>
1587 * faces.el (make-face, make-empty-face, copy-face):
1588 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1591 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1594 (widget-complete): Remove broken use of it.
1596 2012-03-20 Chong Yidong <cyd@gnu.org>
1598 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1599 Use string-width and truncate-string-width to handle arbitrary
1602 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1604 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1605 to draw rectangles, not squares. (Regression introduced by revno
1606 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1608 2012-03-18 Chong Yidong <cyd@gnu.org>
1610 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1611 it is not yet defined (for temacs).
1613 2012-03-18 Leo Liu <sdl.web@gmail.com>
1615 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1617 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1619 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1620 (ispell-choices-win-default-height, ispell-silently-savep)
1621 (ispell-dictionary-alist, ispell-encoding8-command)
1622 (ispell-check-version, ispell-aspell-find-dictionary)
1623 (ispell-valid-dictionary-list, ispell-words-keyword)
1624 (ispell-get-word, ispell-internal-change-dictionary)
1625 (ispell-region, ispell-skip-region-list)
1626 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1627 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1628 (ispell-message-text-end, ispell-message)
1629 (ispell-buffer-local-parsing): Doc fix.
1631 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1633 * htmlfontify.el: Add support for code block fontification for ODT
1635 (hfy-optimisations): Define new option
1637 (hfy-fontify-buffer): Honor above setting.
1638 (hfy-begin-span, hfy-end-span): New routines factored out form
1639 `hfy-fontify-buffer'.
1640 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1641 that permit insertion of custom tags.
1642 (hfy-fontify-buffer): Use above handlers.
1643 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1644 (hfy-face-to-css): Re-defined to be a variable.
1645 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1646 over multiple runs. This is made possible by having the caller let
1647 bind a special variable `hfy-user-sheet-assoc'.
1648 (htmlfontify-string): New defun.
1649 (hfy-compile-face-map): Make sure that the last char in the
1650 buffer is correctly fontified.
1651 (hfy-face-resolve-face): Whitespace only change.
1653 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1655 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1658 2012-03-16 Leo Liu <sdl.web@gmail.com>
1660 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1662 2012-03-16 Alan Mackenzie <acm@muc.de>
1664 Further optimise the handling of large macros.
1666 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1667 limit to a call of `c-literal-limits'.
1668 (c-determine-+ve-limit): New function.
1669 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1670 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1671 In CASE 5B, restrict a search limit to 500.
1672 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1674 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1675 Restrict macro bounds to +-500 from after-change's BEG END.
1677 2012-03-16 Leo Liu <sdl.web@gmail.com>
1679 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1681 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1683 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1684 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1686 2012-03-16 Glenn Morris <rgm@gnu.org>
1688 * view.el (view-buffer, view-buffer-other-window)
1689 (view-buffer-other-frame): Doc fixes re special mode-class.
1691 * subr.el (eval-after-load): If named feature is provided not from
1692 a file, run after-load forms. (Bug#10946)
1694 * calendar/calendar.el (calendar-insert-at-column):
1695 Handle non-unit-width characters a bit better. (Bug#10978)
1697 2012-03-15 Chong Yidong <cyd@gnu.org>
1699 * emacs-lisp/ring.el (ring-extend): New function.
1700 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1702 * comint.el (comint-read-input-ring)
1703 (comint-add-to-input-history): Grow comint-input-ring lazily.
1705 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1708 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1710 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1711 (imenu-add-to-menubar): Don't add a redundant index.
1712 (imenu-update-menubar): Handle a dynamically composed keymap.
1714 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1716 * mail/sendmail.el (mail-encode-header):
1717 Bind rfc2047-encode-encoded-words to nil.
1719 2012-03-13 Glenn Morris <rgm@gnu.org>
1721 * calendar/calendar.el (calendar-string-spread):
1722 Handle non-unit-width characters a bit better. (Bug#10978)
1724 2012-03-13 Leo Liu <sdl.web@gmail.com>
1726 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1727 directory and file as argument (Bug#10822).
1729 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1731 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1732 For dynamically generated code, follow $PC.
1733 (gdb-disassembly-handler-custom): Handle no function name case.
1735 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1737 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1738 * emulation/ws-mode.el (ws-query-replace):
1739 * sort.el (sort-regexp-fields):
1740 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1742 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * dabbrev.el: Fix cycle completion order (bug#10963).
1745 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1746 (dabbrev-completion): Don't use an obarray; provide
1747 a cycle-sort-function.
1749 2012-03-12 Leo Liu <sdl.web@gmail.com>
1751 * simple.el (kill-new): Use equal-including-properties for comparison.
1752 (kill-do-not-save-duplicates): Doc fix.
1754 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * dabbrev.el: Fix cycle completion (bug#10963).
1757 Use lexical binding and wrap to 80 columns.
1758 (dabbrev-completion): Delay computing the list of completions.
1760 2012-03-12 Kenichi Handa <handa@m17n.org>
1762 * international/quail.el (quail-insert-kbd-layout): Surround each
1763 row by LRO and PDF instead of inserting many LRMs. Pad the left
1764 and right of each non-spacing marks. Insert invisible space
1765 between lower and upper characters to prevent composition.
1767 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * minibuffer.el (minibuffer-complete): Don't get confused when the
1770 function is run twice via different commands (bug#10958).
1771 (complete-with-action): Fix docstring.
1773 2012-03-12 Chong Yidong <cyd@gnu.org>
1775 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1776 (nxml-completion-at-point-function): New function.
1777 (nxml-mode): Use it.
1778 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1780 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1781 Load generated autoloads file before byte compiling (Bug#10970).
1782 (package--make-autoloads-and-compile): New helper fun.
1784 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1786 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1788 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1790 * autorevert.el (auto-revert-handler): Ensure, that
1791 file-readable-p is applied only for local files or in
1792 auto-revert-tail-mode.
1794 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1796 * server.el (server-eval-at): Handle non-tcp connections.
1797 Decode result string.
1799 * server.el (server-msg-size): New constant.
1800 (server-reply-print): New function.
1801 (server-eval-and-print): Use it.
1802 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1805 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1807 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1810 2012-03-11 Chong Yidong <cyd@gnu.org>
1812 * simple.el (goto-line): Doc fix (Bug#9938).
1814 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1816 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1817 when finished (Bug#10963).
1819 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1821 * window.el (split-window-below): Fix bug in case where
1822 split-window-keep-point is nil (Bug#10971).
1824 2012-03-11 Juri Linkov <juri@jurta.org>
1826 * replace.el (replace-highlight): Set isearch-word to nil
1827 unconditionally. (Bug#10887)
1829 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1831 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1832 mairix-replace-illegal-chars; all callers changed. Don't remove
1833 ^, ~, and = characters: they are meaningful in mairix search specs.
1834 (mairix-widget-create-query): Add usage information about mairix
1835 search forms: negating words, searching for substrings, etc.
1837 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1839 * international/fontset.el (font-encoding-alist): Add an entry for
1842 2012-03-10 Richard Stallman <rms@gnu.org>
1844 * mail/sendmail.el (mail-encode-header):
1845 Set rfc2047-encode-encoded-words.
1847 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1849 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1850 view buffer means not swapped.
1851 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1852 (rmail-write-region-annotate): Error if real text has disappeared.
1854 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1856 2012-03-10 Chong Yidong <cyd@gnu.org>
1858 * emulation/cua-rect.el (cua--init-rectangles):
1859 * emulation/cua-base.el (cua--init-keymaps):
1860 Add delete-forward-char to remappings (Bug#9666).
1862 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1864 * speedbar.el (speedbar-unhighlight-one-tag-line):
1865 Avoid unhighlighting due to frame switching (Bug#10275).
1867 2012-03-10 Chong Yidong <cyd@gnu.org>
1869 * minibuffer.el (completion-in-region, completion-help-at-point):
1870 Give the completion field overlay a high priority (Bug#6830).
1872 * dired.el (dired-goto-file): Recognize absolute file name
1873 listings (Bug#7126).
1874 (dired-goto-file-1): New helper function.
1875 (dired-toggle-read-only): Inhibit warnings.
1877 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1879 * net/dbus.el (dbus-property-handler): Return empty array if
1880 there are no properties.
1882 2012-03-09 Leo Liu <sdl.web@gmail.com>
1884 * savehist.el (savehist-printable): Stricter check for string
1887 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1889 * mail/smtpmail.el (smtpmail-send-it):
1890 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1893 2012-03-09 Glenn Morris <rgm@gnu.org>
1895 * files.el (dir-locals-find-file):
1896 Don't check result is regular, readable.
1897 (dir-locals-read-from-file): Demote errors.
1899 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1901 * international/quail.el (quail-insert-kbd-layout):
1902 Insert invisible LRM characters before each character in a keyboard
1903 layout cell, to prevent their reordering by bidi display engine.
1904 For details, see the discussion in
1905 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1907 2012-03-08 Alan Mackenzie <acm@muc.de>
1909 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1910 the starting position; make it extend the marked region when
1911 invoked repeatedly - all under appropriate circumstances.
1912 Fixes bugs #5525, #10906.
1914 2012-03-08 Glenn Morris <rgm@gnu.org>
1916 * files.el (locate-dominating-file, dir-locals-find-file):
1917 Undo 2012-03-06 change.
1919 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1921 * international/quail.el (quail-help):
1922 Force bidi-paragraph-direction be left-to-right. See discussion in
1923 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1926 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1928 Avoid superfluous registering of signals. (Bug#10807)
1930 * notifications.el (notifications-on-action-object)
1931 (notifications-on-close-object): New defvars.
1932 (notifications-on-action-signal, notifications-on-closed-signal):
1933 Unregister the signal if not needed any longer.
1934 (notifications-notify): Register `notifications-action-signal' or
1935 `notifications-closed-signal', if :on-action or :on-close has been
1938 2012-03-07 Chong Yidong <cyd@gnu.org>
1940 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1943 2012-03-06 Glenn Morris <rgm@gnu.org>
1945 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1946 (x-disown-selection-internal, x-get-selection-internal):
1947 Doc fix (add arglist signatures). (Bug#10783)
1949 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1951 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1952 Handle breakpoints with no "type".
1954 2012-03-06 Glenn Morris <rgm@gnu.org>
1956 * files.el (locate-dominating-file): Add optional predicate argument.
1957 (dir-locals-find-file): Make use of above change.
1959 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1961 * info.el (Info-insert-dir): Also try "dir.gz".
1963 2012-03-06 Glenn Morris <rgm@gnu.org>
1965 * files.el (dir-locals-find-file):
1966 Ignore non-readable or non-regular files. (Bug#10928)
1968 * files.el (locate-dominating-file): Doc fix.
1970 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1972 * calendar/calendar.el (calendar-set-mode-line):
1973 `getenv' returns a string. (Bug#10951)
1975 2012-03-05 Leo Liu <sdl.web@gmail.com>
1977 * simple.el (backward-delete-char-untabify): Constrain point to
1980 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1982 2012-03-05 Chong Yidong <cyd@gnu.org>
1984 * simple.el (count-words): If called from Lisp, return the word
1985 count, for symmetry with `count-lines'. Arglist changed.
1986 (count-words--message): Args changed. Consolidate counting code
1987 from count-words and count-words-region.
1988 (count-words-region): Caller changed.
1989 (count-lines-region): Make it an obsolete alias.
1991 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1993 * saveplace.el (save-place-to-alist)
1994 (save-place-ignore-files-regexp): Allow value nil to disable this
1997 2012-03-04 Chong Yidong <cyd@gnu.org>
1999 * faces.el (face-spec-reset-face): For the default face, reset the
2000 attributes to default values (Bug#10748).
2002 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2004 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2005 previous patch: Check `message-send-mail-function', and not the
2006 default function (bug#10897).
2008 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2010 * notifications.el (notifications-on-action-signal)
2011 (notifications-on-closed-signal): Check for unique service name of
2012 incoming event. Fix error in removing entry.
2013 (top): Register for signals with wildcard service name.
2014 (notifications-notify): Use daemon unique service name for map entries.
2016 2012-03-04 Chong Yidong <cyd@gnu.org>
2018 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2020 2012-03-04 Glenn Morris <rgm@gnu.org>
2022 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2023 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2024 (expand-abbrev, define-abbrev-table): Doc fixes.
2026 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2028 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2029 `message-default-send-mail-function' and not `send-mail-function'
2030 when doing the prompting for `sendmail-query-once' before sending
2031 in Message buffers (bug#10897).
2033 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2034 This is inconsistent with all the other stream functions, which leave
2035 the setting up to the higher levels (if so wanted) (bug#10931).
2037 2012-03-02 Alan Mackenzie <acm@muc.de>
2039 Depessimize the handling of very large macros.
2041 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2042 (c-macro-cache-syntactic): New variables to implement a one
2043 element macro cache.
2044 (c-invalidate-macro-cache): New function.
2045 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2046 Adapt to use the new cache.
2047 (c-state-safe-place): Use better the cache of safe positions.
2048 (c-state-semi-nonlit-pos-cache)
2049 (c-state-semi-nonlit-pos-cache-limit):
2050 New variables for...
2051 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2052 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2053 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2054 Use c-state-semi-safe-place.
2056 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2057 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2059 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2061 * jka-compr.el (jka-compr-call-process):
2062 Apply `file-accessible-directory-p' only when the default directory is
2065 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2067 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2068 access of FILE2, if FILE1 does not exist.
2070 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2071 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2073 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2074 Add "PAGER=" to `process-environment'.
2076 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2078 * progmodes/sql.el: Bug fix
2079 (sql-get-login-ext): Save login values in globals.
2080 (sql-get-login): Use new version of `sql-get-login-ext'.
2081 (sql-interactive-mode): Set global `sql-connection' to nil.
2082 (sql-connect): Set global values for connection.
2083 (sql-product-interactive): Save global values as buffer local.
2085 2012-02-29 Leo Liu <sdl.web@gmail.com>
2087 * abbrev.el (define-abbrevs): Reset sys to nil.
2089 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2091 * files.el (file-equal-p): Rename from `files-equal-p'.
2092 Return nil when one or both files don't exist.
2093 (file-subdir-of-p): Now only top directory must exists,
2094 return nil if it doesn't.
2095 (copy-directory): No need to test with `file-subdir-of-p' after
2097 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2100 2012-02-28 Glenn Morris <rgm@gnu.org>
2102 * shell.el (shell-mode):
2103 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2104 * play/landmark.el (landmark-font-lock-face-O):
2105 * play/handwrite.el (handwrite):
2106 * play/gomoku.el (gomoku-O):
2107 * net/browse-url.el (browse-url-browser-display):
2108 * international/mule.el (define-charset):
2109 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2110 * filesets.el (filesets-find-file-delay):
2111 * eshell/em-xtra.el (eshell-xtra):
2112 * eshell/em-unix.el (eshell-grep):
2113 * emulation/viper.el (viper-mode):
2114 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2115 * emacs-lisp/easymenu.el (easy-menu-define):
2116 * calendar/timeclock.el (timeclock-use-display-time):
2118 * bookmark.el (bookmark-save-flag):
2119 Doc fix (standardize possessive apostrophe usage).
2121 2012-02-27 Chong Yidong <cyd@gnu.org>
2123 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2124 Fix key-binding lookup for ESC key (Bug#9146).
2126 * font-lock.el (font-lock-specified-p): Rename from
2127 font-lock-spec-present. Callers changed.
2129 2012-02-27 Daniel Hackney <dan@haxney.org>
2131 * emacs-lisp/package.el (package-compute-transaction):
2132 Handle holding a package version to t in package-load-list.
2134 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2136 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2137 (tramp-get-inode, tramp-get-device): Use cached values.
2139 2012-02-26 Alan Mackenzie <acm@muc.de>
2141 Check there is a font-lock specification before doing initial
2144 * font-core.el (font-lock-mode): Move the conditional from
2145 :after-hook to font-lock-initial-fontify.
2146 (font-lock-default-function): Move the check for a specification
2147 to font-lock-spec-present.
2149 * font-lock.el (font-lock-initial-fontify): Call ...
2150 (font-lock-spec-present): New function.
2152 2012-02-26 Jim Blandy <jimb@red-bean.com>
2154 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2155 (gdb-send): Apply it to the operand of the '-interpreter-exec
2156 console' command, so that we can pass arguments with (say) quotes
2157 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2159 2012-02-26 Chong Yidong <cyd@gnu.org>
2161 * help-fns.el (describe-function-1): Clarify description of
2162 remapping (Bug#10844).
2164 * files.el (files-equal-p): Doc fix.
2165 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2166 and quit the loop once a mismatch is found.
2168 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2170 * bs.el (bs--show-with-configuration): Don't throw an error
2171 if the window cannot be split; otherwise, subsequent calls to
2172 bs-show fail, restoring a stale window config. (Bug#10882)
2174 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2176 * term/ns-win.el (global-map): Bind ns-drag-file to
2177 ns-find-file (Bug#5855, Bug#10050).
2179 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2181 * calendar/parse-time.el (parse-time-string): Allow extractor to
2184 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2186 * net/tramp.el (tramp-file-name-for-operation):
2187 Add `files-equal-p' and `file-subdir-of-p'.
2189 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2190 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2191 Add COPY-CONTENTS argument.
2193 2012-02-25 Chong Yidong <cyd@gnu.org>
2195 Add custom groups for VC backends, for consistency with vc-bzr.
2197 * vc/vc-arch.el (vc-arch):
2198 * vc/vc-cvs.el (vc-cvs):
2199 * vc/vc-git.el (vc-git):
2200 * vc/vc-hg.el (vc-hg):
2201 * vc/vc-mtn.el (vc-mtn):
2202 * vc/vc-rcs.el (vc-rcs):
2203 * vc/vc-sccs.el (vc-sccs):
2204 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2205 All relevant defcustoms reassigned.
2207 2012-02-25 Chong Yidong <cyd@gnu.org>
2209 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2211 * term/x-win.el (x-initialize-window-system): Reduce default for
2212 x-selection-timeout to 5 seconds (Bug#8869).
2214 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2216 * files.el (files-equal-p, file-subdir-of-p): New functions.
2217 (copy-directory): Error when trying to copy a directory on itself.
2218 Add missing copy-contents arg to tramp handler.
2219 * dired-aux.el (dired-copy-file-recursive): Same.
2220 (dired-create-files): Modify destination when source is equal to
2221 dest when copying files.
2222 Return also when dest is a subdir of source. (Bug#10489)
2224 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2226 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2229 2012-02-23 Alan Mackenzie <acm@muc.de>
2231 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2232 parameter "after-hook:" to allow the expansion to run code after
2233 the execution of the mode hooks.
2235 * font-lock.el (font-lock-initial-fontify): New function extracted
2236 from font-lock-mode-internal.
2238 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2241 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2244 (completion--cache-all-sorted-completions): New function.
2245 (completion-all-sorted-completions): Use it.
2246 (completion--do-completion, minibuffer-force-complete):
2247 Use it to re-instate the flush hook.
2249 * icomplete.el (icomplete-completions): Replace last fix with a better
2252 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2254 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2255 when it might call us back infinitely (bug#10797).
2257 2012-02-23 Glenn Morris <rgm@gnu.org>
2259 * minibuffer.el (completion-category-overrides): Doc fix.
2261 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2263 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2264 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2266 2012-02-23 Glenn Morris <rgm@gnu.org>
2268 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2269 (authors-obsolete-files-regexps, authors-ignored-files)
2270 (authors-ambiguous-files, authors-renamed-files-alist):
2273 2012-02-23 Juri Linkov <juri@jurta.org>
2275 * isearch.el (isearch-occur): Sync interactive spec with occur's
2276 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2278 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2280 2012-02-22 Juri Linkov <juri@jurta.org>
2282 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2283 (ucs-insert): Doc fix. Check for hex digits in the string.
2284 Don't display `nil' in the error message. (Bug#10857)
2286 2012-02-22 Alan Mackenzie <acm@muc.de>
2288 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2290 2012-02-22 Glenn Morris <rgm@gnu.org>
2292 * ffap.el (ffap-c-path):
2293 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2295 2012-02-22 Chong Yidong <cyd@gnu.org>
2297 * custom.el (load-theme): Doc fix.
2299 2012-02-22 Glenn Morris <rgm@gnu.org>
2301 * dired-x.el (dired-guess-shell-alist-default):
2302 Remove escape sequences from nroff output. (Bug#172)
2304 2012-02-21 Glenn Morris <rgm@gnu.org>
2306 * vc/emerge.el (emerge-defvar-local):
2307 Set `permanent-local' property rather than unused `preserved'.
2309 * textmodes/picture.el (picture-delete-char): New alias.
2310 (picture-mode-map): Use it. (Bug#10860)
2311 (picture-mode): Doc fix.
2313 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2315 * newcomment.el (uncomment-region-default): Remove unused binding.
2317 2012-02-21 Glenn Morris <rgm@gnu.org>
2319 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2320 (picture-self-insert, picture-tab-chars): Doc fix.
2321 (picture-mode-map): Fix C-a, C-e.
2323 2012-02-20 Glenn Morris <rgm@gnu.org>
2325 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2327 2012-02-20 Leo Liu <sdl.web@gmail.com>
2329 * icomplete.el (icomplete-completions): Check FROM arg before
2330 passing to substring (Bug#10850).
2332 2012-02-19 Chong Yidong <cyd@gnu.org>
2334 * comint.el: Require ansi-color.
2335 (comint-output-filter-functions): Add ansi-color-process-output.
2337 * ansi-color.el: Don't set comint-output-filter-functions; it is
2338 now in the initial value defined in comint.el.
2339 (ansi-color-apply-face-function): New variable.
2340 (ansi-color-apply-on-region): Use it.
2341 (ansi-color-apply-overlay-face): New function.
2343 * shell.el (shell): No need to require ansi-color.
2344 (shell-mode): Use ansi-color-apply-face-function to highlight
2345 color escapes using font-lock-face property (Bug#10835).
2347 2012-02-19 Chong Yidong <cyd@gnu.org>
2349 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2350 mode-line formats (Bug#10839).
2352 2012-02-18 Glenn Morris <rgm@gnu.org>
2354 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2356 * mail/undigest.el (unforward-rmail-message): Doc fix.
2358 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2360 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2362 * international/characters.el (script-list): Sync with the latest
2363 Unicode Character Database.
2365 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2367 * international/titdic-cnv.el: Remove duplicate coding tag.
2368 * language/cham.el: Likewise.
2369 * language/tai-viet.el: Likewise.
2371 2012-02-18 Glenn Morris <rgm@gnu.org>
2373 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2374 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2375 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2376 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2377 * calendar/holidays.el (holiday-bahai-holidays)
2378 (calendar-holidays, list-holidays):
2379 Use utf-8 Bahá'í in doc-strings, menus, etc.
2381 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2383 * saveplace.el (save-place-ignore-files-regexp): New variable
2384 allowing for excluding files from saving their location of point.
2385 The default value matches the temporary commit message editing
2386 files from Git, SVN, Bazaar, and Mercurial.
2387 (save-place-to-alist): Use it.
2389 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2390 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * newcomment.el (uncomment-region-default): Don't leave extra space
2393 when an arg is provided (bug#8150).
2395 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2397 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2399 2012-02-17 Glenn Morris <rgm@gnu.org>
2401 * net/socks.el: Require network-stream. (Bug#10599)
2403 2012-02-17 Kenichi Handa <handa@m17n.org>
2405 * international/charprop.el:
2406 * international/uni-name.el:
2407 * international/uni-old-name.el:
2408 * international/uni-comment.el: Regenerate.
2410 2012-02-16 Glenn Morris <rgm@gnu.org>
2412 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2413 Interactively in calendar buffer, give an error if not on a date.
2415 2012-02-15 Glenn Morris <rgm@gnu.org>
2417 * shell.el (shell-delimiter-argument-list):
2418 Revert 2011-02-17 change. (Bug#8027)
2420 2012-02-15 Chong Yidong <cyd@gnu.org>
2422 * minibuffer.el (completion-at-point-functions): Doc fix.
2424 * custom.el (defcustom): Doc fix; note use of defvar.
2426 2012-02-15 Glenn Morris <rgm@gnu.org>
2428 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2431 2012-02-14 Glenn Morris <rgm@gnu.org>
2433 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2435 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2437 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2438 way the ports list is computed.
2439 (smtpmail-query-smtp-server): Prompt the user for a port number if
2440 we can't connect to any of the standard ports (bug#10810).
2442 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2444 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2446 2012-02-13 Glenn Morris <rgm@gnu.org>
2448 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2450 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2452 * net/gnutls.el (gnutls-trustfiles): New variable.
2453 (gnutls-negotiate): Use it.
2455 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2457 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2458 does its stuff if Gnus is running.
2460 2012-02-13 Alan Mackenzie <acm@muc.de>
2462 Fix a loop in c-set-fl-decl-start.
2464 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2465 c-backward-syntactic-ws actually moves backwards.
2467 2012-02-13 Leo Liu <sdl.web@gmail.com>
2469 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2470 beginning so that all \C-o chars are removed.
2472 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2474 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2476 2012-02-12 Alan Mackenzie <acm@muc.de>
2478 Fix infinite loop with long macros.
2479 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2481 2012-02-12 Chong Yidong <cyd@gnu.org>
2483 * window.el (display-buffer): Doc fix (Bug#10785).
2485 2012-02-12 Glenn Morris <rgm@gnu.org>
2487 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2488 (x-disown-selection-internal, x-get-selection-internal):
2489 Sync docs with the xselect.c versions.
2491 * allout-widgets.el: Add missing license notice.
2493 2012-02-11 Glenn Morris <rgm@gnu.org>
2495 * select.el (x-get-selection-internal, x-own-selection-internal)
2496 (x-disown-selection-internal):
2497 * x-dnd.el (x-get-selection-internal): Update declarations.
2499 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2501 * window.el (window-sides-slots):
2502 * tool-bar.el (tool-bar-position):
2503 * term/xterm.el (xterm-extra-capabilities):
2504 * ses.el (ses-self-reference-early-detection):
2505 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2506 (verilog-auto-wire-type)
2507 (verilog-auto-delete-trailing-whitespace)
2508 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2509 (verilog-auto-tieoff-declaration):
2510 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2511 (sql-oracle-statement-starters, sql-oracle-scan-on):
2512 * progmodes/prolog.el (prolog-align-comments-flag)
2513 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2514 (prolog-left-indent-regexp, prolog-paren-indent-p)
2515 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2516 (prolog-types, prolog-mode-specificators)
2517 (prolog-determinism-specificators, prolog-directives)
2518 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2519 (prolog-electric-dot-flag)
2520 (prolog-electric-dot-full-predicate-template)
2521 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2522 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2523 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2524 (prolog-program-switches, prolog-prompt-regexp)
2525 (prolog-debug-on-string, prolog-debug-off-string)
2526 (prolog-trace-on-string, prolog-trace-off-string)
2527 (prolog-zip-on-string, prolog-zip-off-string)
2528 (prolog-use-standard-consult-compile-method-flag)
2529 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2530 (prolog-imenu-max-lines, prolog-info-predicate-index)
2531 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2532 (prolog-char-quote-workaround):
2533 * progmodes/cc-vars.el (c-defun-tactic):
2534 * net/tramp.el (tramp-encoding-command-interactive)
2535 (tramp-local-end-of-line):
2536 * net/soap-client.el (soap-client):
2537 * net/netrc.el (netrc-file):
2538 * net/gnutls.el (gnutls):
2539 * minibuffer.el (completion-category-overrides)
2540 (completion-cycle-threshold)
2541 (completion-pcm-complete-word-inserts-delimiters):
2542 * man.el (Man-name-local-regexp):
2543 * mail/feedmail.el (feedmail-display-full-frame):
2544 * international/characters.el (glyphless-char-display-control):
2545 * eshell/em-ls.el (eshell-ls-date-format):
2546 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2547 (lisp-lambda-list-keyword-parameter-indentation)
2548 (lisp-lambda-list-keyword-parameter-alignment):
2549 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2550 * dired-x.el (dired-omit-verbose):
2551 * cus-theme.el (custom-theme-allow-multiple-selections):
2552 * calc/calc.el (calc-highlight-selections-with-faces)
2553 (calc-lu-field-reference, calc-lu-power-reference)
2554 (calc-note-threshold):
2555 * battery.el (battery-mode-line-limit):
2556 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2557 (archive-7z-update):
2558 * allout.el (allout-prefixed-keybindings)
2559 (allout-unprefixed-keybindings)
2560 (allout-inhibit-auto-fill-on-headline)
2561 (allout-flattened-numbering-abbreviation):
2562 * allout-widgets.el (allout-widgets-auto-activation)
2563 (allout-widgets-icons-dark-subdir)
2564 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2565 (allout-widgets-theme-dark-background)
2566 (allout-widgets-theme-light-background)
2567 (allout-widgets-item-image-properties-emacs)
2568 (allout-widgets-item-image-properties-xemacs)
2569 (allout-widgets-run-unit-tests-on-load)
2570 (allout-widgets-time-decoration-activity)
2571 (allout-widgets-hook-error-post-time)
2572 (allout-widgets-track-decoration):
2573 Add missing :version tags to new defcustoms and defgroups.
2575 * progmodes/sql.el (sql-ansi-statement-starters)
2576 (sql-oracle-statement-starters): Add custom type.
2578 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2579 (prolog-system-version): Give it a type.
2581 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2583 * term/pc-win.el (x-select-text, x-selection-owner-p)
2584 (x-own-selection-internal, x-disown-selection-internal)
2585 (x-get-selection-internal): Sync doc strings and argument lists
2586 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2588 2012-02-11 Leo Liu <sdl.web@gmail.com>
2590 * progmodes/python.el (python-end-of-statement): Fix infinite
2593 2012-02-10 Glenn Morris <rgm@gnu.org>
2595 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2596 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2598 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2600 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2601 about SMTP before checking the From header.
2603 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2604 into own function for reuse by emacsbug.el.
2606 2012-02-10 Leo Liu <sdl.web@gmail.com>
2608 * subr.el (condition-case-unless-debug): Rename from
2609 condition-case-no-debug. All callers changed.
2610 (with-demoted-errors): Fix caller.
2612 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2613 * nxml/rng-valid.el (rng-do-some-validation):
2614 * emacs-lisp/package.el (package-refresh-contents)
2615 (package-menu-execute):
2616 * desktop.el (desktop-create-buffer):
2617 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2619 2012-02-10 Glenn Morris <rgm@gnu.org>
2621 * textmodes/bibtex.el:
2622 Add missing :version tags for new/changed defcustoms.
2624 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2626 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2628 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2629 (smtpmail-via-smtp): Use it, or fall back on the From address.
2630 (smtpmail-send-it): Ditto.
2632 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2635 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2636 (byte-compile-tmp-var): New const.
2637 (byte-compile-defvar): Use it to minimize .elc size.
2638 Just use `defvar' rather than simulate it (bug#10761).
2640 2012-02-09 Glenn Morris <rgm@gnu.org>
2642 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2644 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2647 * progmodes/compile.el (compilation-error-screen-columns)
2648 (compilation-first-column, compilation-filter-start): Doc fixes.
2650 * vc/log-view.el (log-view-toggle-entry-display):
2651 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2653 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2654 (report-emacs-bug-can-use-xdg-email):
2655 (report-emacs-bug-insert-to-mailer): Doc fixes.
2656 (report-emacs-bug): Message fix.
2658 * net/browse-url.el (browse-url-can-use-xdg-open)
2659 (browse-url-xdg-open): Doc fixes.
2661 * electric.el (electric-indent-mode, electric-pair-mode)
2662 (electric-layout-rules, electric-layout-mode): Doc fixes.
2663 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2665 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2667 * server.el (server-unselect-display): Don't inadvertently kill
2668 the current buffer. (Bug#10729)
2670 2012-02-08 Glenn Morris <rgm@gnu.org>
2672 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2673 (sql-list-table): Doc fixes.
2675 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2676 Comment out (does nothing).
2678 * completion.el (dynamic-completion-mode):
2679 * dirtrack.el (dirtrack-debug-mode):
2680 * electric.el (electric-layout-mode):
2681 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2682 * face-remap.el (text-scale-mode, buffer-face-mode):
2683 * iimage.el (iimage-mode):
2684 * image-mode.el (image-transform-mode):
2685 * minibuffer.el (completion-in-region-mode):
2686 * scroll-lock.el (scroll-lock-mode):
2687 * simple.el (next-error-follow-minor-mode):
2688 * tar-mode.el (tar-subfile-mode):
2689 * tooltip.el (tooltip-mode):
2690 * vcursor.el (vcursor-use-vcursor-map):
2691 * wid-browse.el (widget-minor-mode):
2692 * emulation/tpu-edt.el (tpu-edt-mode):
2693 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2694 * international/iso-ascii.el (iso-ascii-mode):
2695 * language/thai-util.el (thai-word-mode):
2696 * mail/supercite.el (sc-minor-mode):
2697 * net/goto-addr.el (goto-address-mode):
2698 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2699 * progmodes/cwarn.el (cwarn-mode):
2700 * progmodes/flymake.el (flymake-mode):
2701 * progmodes/glasses.el (glasses-mode):
2702 * progmodes/hideshow.el (hs-minor-mode):
2703 * progmodes/pascal.el (pascal-outline-mode):
2704 * textmodes/enriched.el (enriched-mode):
2705 * vc/smerge-mode.el (smerge-mode):
2706 Doc fixes (minor mode argument).
2708 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2710 * ls-lisp.el (ls-lisp-sanitize): New function.
2711 (ls-lisp-insert-directory): Use it to fix or remove any elements
2712 in file-alist with missing attributes. (Bug#4673)
2714 2012-02-07 Alan Mackenzie <acm@muc.de>
2716 Fix spurious recognition of c-in-knr-argdecl.
2718 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2719 putative K&R region.
2721 2012-02-07 Alan Mackenzie <acm@muc.de>
2723 * progmodes/cc-engine.el (c-forward-objc-directive):
2724 Prevent looping in "#pragma mark @implementation".
2726 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2728 * notifications.el (notifications-on-closed-signal): Make `reason'
2729 optional. (Bug#10744)
2731 2012-02-07 Glenn Morris <rgm@gnu.org>
2733 * emacs-lisp/easy-mmode.el (define-minor-mode):
2734 Doc fixes for the macro and the mode it defines.
2736 * image.el (imagemagick-types-inhibit): Doc fix.
2738 * cus-start.el (imagemagick-render-type): Add it.
2740 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2742 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2743 Set the default at load time, too, so that `font-lock-fontify-buffer'
2744 can be called without setting up the entire mode first. This fixes
2745 a bug in `mm-inline-text' with C MIME parts.
2747 2012-02-06 Chong Yidong <cyd@gnu.org>
2749 * simple.el (list-processes--refresh): Delete exited processes
2752 * comint.el (comint-next-prompt): next-single-char-property-change
2753 and prev-single-char-property-change never return nil (Bug#8657).
2755 * custom.el (defcustom): Doc fix (Bug#9711).
2757 2012-02-05 Chong Yidong <cyd@gnu.org>
2759 * cus-edit.el (custom-variable-reset-backup): Quote the value
2760 before storing it in the customized-value property (Bug#6712).
2761 (custom-display): Add a customization type tag.
2762 (custom-buffer-create-internal): Improve tooltip message.
2764 * wid-edit.el (widget-field-value-get): New optional arg to
2765 suppress trailing whitespace truncation.
2766 (character): Use it (Bug#2689).
2768 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2770 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2771 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2773 2012-02-05 Chong Yidong <cyd@gnu.org>
2775 * cus-edit.el (custom-variable-value-create): For mismatched
2776 types, show the current value (Bug#7600).
2778 * custom.el (defcustom): Doc fix.
2780 2012-02-05 Glenn Morris <rgm@gnu.org>
2782 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2784 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2786 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2787 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2788 (pp-last-sexp): Use `looking-at-p'.
2790 2012-02-04 Glenn Morris <rgm@gnu.org>
2792 * files.el (revert-buffer):
2793 Doc fix (mention revert-buffer-in-progress-p).
2795 * emacs-lisp/ert-x.el (ert-simulate-command):
2796 Check deferred-action-list (which is obsolete) is bound.
2798 * subr.el (with-wrapper-hook): Doc fixes.
2800 * simple.el (filter-buffer-substring-functions)
2801 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2803 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2805 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2806 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2808 2012-02-04 Leo Liu <sdl.web@gmail.com>
2810 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2812 2012-02-04 Glenn Morris <rgm@gnu.org>
2814 * image.el (image-extension-data): Add obsolete alias.
2816 * isearch.el (isearch-update): Doc fix.
2818 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2820 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2822 2012-02-03 Glenn Morris <rgm@gnu.org>
2824 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2825 (image-animate-timeout): Doc fix.
2827 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2829 2012-02-02 Glenn Morris <rgm@gnu.org>
2831 * server.el (server-auth-dir): Doc fix.
2832 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2834 * subr.el (run-mode-hooks): Doc fix.
2836 2012-02-02 Juri Linkov <juri@jurta.org>
2838 * image-mode.el (image-toggle-display-image): Remove tautological
2839 `major-mode' from the `derived-mode-p' test.
2841 2012-02-02 Kenichi Handa <handa@m17n.org>
2843 * composite.el (compose-region): Cancel previous change.
2845 2012-02-02 Kenichi Handa <handa@m17n.org>
2847 * composite.el (compose-region, compose-string): Signal error for
2848 a null string component (Bug#6988).
2850 2012-02-01 Chong Yidong <cyd@gnu.org>
2852 * view.el (view-buffer-other-window, view-buffer-other-frame):
2853 Handle special modes like view-buffer (Bug#10650).
2854 (view-buffer): Simplify.
2856 * frame.el (set-frame-font): Tweak meaning of third argument.
2858 * dynamic-setting.el (font-setting-change-default-font):
2859 Use set-frame-font (Bug#9982).
2861 2012-02-01 Glenn Morris <rgm@gnu.org>
2863 * progmodes/compile.el (compilation-internal-error-properties):
2864 Respect compilation-first-column in the "*compilation*" buffer.
2866 * emacs-lisp/easy-mmode.el (define-minor-mode):
2867 Relax :variable's test for a named function.
2869 2012-01-31 Alan Mackenzie <acm@muc.de>
2871 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2874 2012-01-31 Chong Yidong <cyd@gnu.org>
2876 * frame.el (set-frame-font): New arg ALL-FRAMES.
2878 * menu-bar.el (menu-set-font): Use set-frame-font.
2880 * faces.el (face-spec-reset-face): Don't apply unspecified
2881 attribute values to the default face.
2883 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2885 * progmodes/cwarn.el (cwarn): Remove dead link.
2886 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2887 Remove * from defcustom docstrings.
2888 (turn-on-cwarn-mode): Make obsolete.
2889 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2890 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2892 2012-01-31 Glenn Morris <rgm@gnu.org>
2894 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2895 Fix :variable handling of mode a symbol not equal to modefun.
2896 Allow named functions to be used as the cdr of :variable.
2898 2012-01-30 Glenn Morris <rgm@gnu.org>
2900 * emacs-lisp/authors.el (authors-fixed-entries):
2901 Remove reference to deleted file rnewspost.el.
2903 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2905 * window.el (window-with-parameter): Remove unused variable `windows'.
2906 (window--side-check): Remove unused variable `code'.
2907 (window--resize-siblings): Remove unused variable `first'.
2908 (adjust-window-trailing-edge): Remove unused variable `failed'.
2909 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2910 Use `let', not `let*'.
2911 (balance-windows-2): Remove unused variable `found'.
2912 (window--state-put-2): Remove unused variable `splits'.
2913 (window-state-put): Remove unused variable `selected'.
2914 (same-window-p): Use `string-match-p'.
2915 (display-buffer-assq-regexp): Remove unused variable `value'.
2916 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2917 Mark argument ALIST as ignored.
2918 (pop-to-buffer): Remove unused variable `old-window'.
2920 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2922 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2923 and .lzma compressed files.
2925 2012-01-29 Chong Yidong <cyd@gnu.org>
2927 * frame.el (window-system-default-frame-alist): Doc fix.
2929 * dynamic-setting.el (font-setting-change-default-font): Don't
2930 change the default face if SET-FONT argument is non-nil (Bug#9982).
2932 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2934 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2936 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2938 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2939 breakpoints in files outside current directory (Bug#6098).
2941 2012-01-29 Chong Yidong <cyd@gnu.org>
2943 * progmodes/python.el: Require ansi-color at top-level.
2945 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2946 Define and use in Emacs Lisp mode (Bug#9360).
2947 (lisp-mode-abbrev-table): Add doc.
2948 (lisp-mode-variables): Don't set local-abbrev-table.
2949 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2951 2012-01-28 Roland Winkler <winkler@gnu.org>
2953 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2955 2012-01-28 Roland Winkler <winkler@gnu.org>
2957 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2958 (bibtex-set-dialect): Use it. Either set global values of
2959 dialect-dependent variables or bind these variables buffer-locally
2961 (bibtex-mode): Call bibtex-set-dialect via
2962 hack-local-variables-hook.
2963 (bibtex-dialect): Update docstring.
2964 Add safe-local-variable predicate.
2965 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2967 (bibtex-mode-map): Define menu for each dialect.
2968 (bibtex-entry): Fix docstring.
2970 2012-01-28 Chong Yidong <cyd@gnu.org>
2972 * eshell/esh-arg.el (eshell-quote-argument): New function.
2974 * eshell/esh-ext.el (eshell-invoke-batch-file):
2975 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2976 first arg to eshell-parse-command (Bug#10523).
2978 2012-01-28 Drew Adams <drew.adams@oracle.com>
2980 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2981 `default-directory' is non-nil.
2983 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2985 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2986 line that displays system-configuration-options. (Bug#9924)
2988 2012-01-28 Drew Adams <drew.adams@oracle.com>
2990 * descr-text.el (describe-char): Show information about POS, in
2991 addition to information about the character at POS. Improve and
2992 update the doc string. Change "code point" to "code point in
2993 charset", to avoid confusion with the character's Unicode code
2994 point shown above that. (Bug#10129)
2996 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2998 * descr-text.el (describe-char): Show the raw character, not only
2999 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3000 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3003 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3005 * emacs-lisp/package.el (package-install):
3006 Run package-refresh-contents if there is no archive yet (Bug#9798).
3008 2012-01-28 Chong Yidong <cyd@gnu.org>
3010 * emacs-lisp/package.el (package-maybe-load-descriptor):
3011 New function, split from package-maybe-load-descriptor.
3012 (package-maybe-load-descriptor): Use it.
3013 (package-download-transaction): Fully load required packages
3014 inside the loop, so that `require' calls work (Bug#10593).
3015 (package-install): No need to call package-initialize now.
3017 2012-01-28 Chong Yidong <cyd@gnu.org>
3019 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3021 * tooltip.el (tooltip-mode): Doc fix.
3022 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3024 * frame.el (set-cursor-color): Doc fix (Bug#352).
3026 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3027 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3029 * cus-edit.el (custom-buffer-create-internal): Fix search button
3031 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3033 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3035 * dired.el (dired-mark-files-regexp):
3036 Include any subdirectory components. (Bug#10445)
3038 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3040 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3041 Handle [host]:port syntax. (Bug#10533)
3043 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3045 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3047 2012-01-26 Glenn Morris <rgm@gnu.org>
3049 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3050 * term.el (term-raw-escape-map): Use Control-X-prefix.
3051 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3053 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3055 * window.el (window-state-get, window--state-get-1): Don't deal
3056 with fixed-sizeness of windows. Simplify code.
3058 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3060 * window.el (window--state-get-1, window--state-put-2):
3061 Don't save and restore the mark.
3063 2012-01-25 Chong Yidong <cyd@gnu.org>
3065 * custom.el (custom-variable-p): Doc fix.
3067 2012-01-25 Glenn Morris <rgm@gnu.org>
3069 * dired.el (dired-goto-file): Handle some of the more common
3070 characters that `ls -b' escapes. (Bug#10596)
3072 * progmodes/compile.el (compilation-next-error-function):
3073 Respect compilation-first-column in the "*compilation*" buffer.
3074 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3076 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3078 2012-01-24 Glenn Morris <rgm@gnu.org>
3080 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3082 2012-01-24 Julien Danjou <julien@danjou.info>
3084 * color.el (color-rgb-to-hsl): Fix value computing.
3085 (color-hue-to-rgb): New function.
3086 (color-hsl-to-rgb): New function.
3087 (color-clamp, color-saturate-hsl, color-saturate-name)
3088 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3089 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3091 2012-01-24 Glenn Morris <rgm@gnu.org>
3093 * vc/vc-rcs.el (vc-rcs-create-tag):
3094 * vc/vc-sccs.el (vc-sccs-create-tag):
3095 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3097 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3099 * eshell/esh-util.el (eshell-read-hosts-file):
3100 Skip comment lines. (Bug#10549)
3102 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3104 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3106 * subr.el (display-delayed-warnings): Doc fix.
3107 (collapse-delayed-warnings): New function to collapse identical
3109 (delayed-warnings-hook): Add it.
3111 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3113 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3115 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3116 properties, when "login-as" is set.
3118 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3119 (tramp-default-user-alist): Don't add "pscp".
3120 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3121 property "login-as", if set. (Bug#10530)
3123 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3125 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3126 "plink1" and "psftp". (Bug#10530)
3128 2012-01-21 Kenichi Handa <handa@m17n.org>
3130 * international/mule-cmds.el (prefer-coding-system): Show a
3131 warning message if the default value of file-name-coding-system
3134 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3136 * windmove.el (windmove-reference-loc):
3137 Fix windmove-reference-loc miscalculation.
3139 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3141 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3144 2012-01-21 Glenn Morris <rgm@gnu.org>
3146 * international/mule.el (auto-coding-alist): Add .tbz.
3148 * files.el (local-enable-local-variables): Doc fix.
3149 (inhibit-local-variables-regexps): Rename from
3150 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3151 Doc fix. Add some extensions from auto-coding-alist.
3152 (inhibit-local-variables-suffixes):
3153 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3154 (inhibit-local-variables-p):
3155 New function, extracted from set-auto-mode-1.
3156 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3157 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3158 (hack-local-variables): Doc fix. Make the mode-only case
3159 respect enable-local-variables and friends.
3160 Respect inhibit-local-variables-regexps for file-locals, but
3161 not for directory-locals.
3162 (set-visited-file-name):
3163 Take account of inhibit-local-variables-regexps.
3164 Whether it applies may change as the file name is changed.
3165 * jka-cmpr-hook.el (jka-compr-install):
3166 * jka-compr.el (jka-compr-uninstall):
3167 Update for inhibit-first-line-modes-suffixes name change.
3169 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3171 * help-macro.el (make-help-screen): Temporarily restore original
3172 binding for minor-mode-map-alist (Bug#10454).
3174 2012-01-19 Julien Danjou <julien@danjou.info>
3176 * color.el (color-name-to-rgb): Use the white color to find the max
3177 color component value and return correctly computed values.
3178 (color-name-to-rgb): Add missing float conversion for max value.
3180 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3182 * window.el (window--state-get-1, window-state-get): Do not use
3183 special state value for window-persistent-parameters.
3184 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3185 (window--state-put-2): Reset all window parameters to nil before
3186 assigning values of persistent parameters.
3188 2012-01-18 Alan Mackenzie <acm@muc.de>
3190 Eliminate sluggishness and hangs in fontification of "semicolon
3193 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3194 Change value 10000 -> 3000.
3195 (c-state-safe-place): Reformulate so it doesn't stack up an
3196 infinite number of wrong entries in c-state-nonlit-pos-cache.
3197 (c-determine-limit-get-base, c-determine-limit): New functions to
3198 determine backward search limits disregarding literals.
3199 (c-find-decl-spots): Amend commenting.
3200 (c-cheap-inside-bracelist-p): New function which detects "={".
3202 * progmodes/cc-fonts.el
3203 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3205 (c-font-lock-declarations): Fix an occurrence of point being
3206 undefined. Check additionally for point being in a bracelist or
3207 near a macro invocation without a semicolon so as to avoid a
3208 fruitless time consuming search for a declarator. Give a more
3209 precise search limit for declarators using the new
3212 2012-01-18 Glenn Morris <rgm@gnu.org>
3214 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3215 (set-auto-mode): Doc fixes.
3217 2012-01-17 Glenn Morris <rgm@gnu.org>
3219 * isearch.el (search-nonincremental-instead): Fix doc typo.
3221 * dired.el (dired-insert-directory): Handle newlines in directory name.
3222 (dired-build-subdir-alist): Unescape newlines in directory name.
3224 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3226 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3227 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3228 (tramp-action-terminal): Use it. (Bug#10530)
3230 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3232 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3234 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3236 * window.el (window-state-ignored-parameters): Remove variable.
3237 (window--state-get-1): Rename argument MARKERS to IGNORE.
3238 Handle persistent window parameters. Make copy of clone-of
3239 parameter only if requested. (Bug#10348)
3240 (window--state-put-2): Install a window parameter only if it has
3241 a non-nil value or an existing parameter shall be overwritten.
3243 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3245 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3247 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3249 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3250 don't pass the (nil) value of `upnode' to string-match.
3252 2012-01-14 Chong Yidong <cyd@gnu.org>
3254 * startup.el (command-line): Fix X resource class for cursorColor.
3255 Fix values recognized by the cursorBlink resource.
3257 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3259 * epg.el (epg--make-temp-file): Avoid permission race condition
3260 when running on old Emacs versions (bug#10403).
3262 2012-01-14 Glenn Morris <rgm@gnu.org>
3264 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3266 2012-01-13 Alan Mackenzie <acm@muc.de>
3268 Fix filling for when filladapt mode is enabled.
3270 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3271 c-mask-paragraph, pass in `fill-paragraph' rather than
3272 `fill-region-as-paragraph'. (This is a reversion of a previous
3274 * progmodes/cc-mode.el (c-basic-common-init):
3275 Make fill-paragraph-handle-comment buffer local and set it to nil.
3277 2012-01-13 Glenn Morris <rgm@gnu.org>
3279 * dired.el (dired-switches-escape-p): New function.
3280 (dired-insert-directory): Use dired-switches-escape-p.
3281 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3283 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3285 2012-01-12 Glenn Morris <rgm@gnu.org>
3287 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3288 changes in adaptive-fill-regexp. (Bug#10276)
3290 2012-01-11 Alan Mackenzie <acm@muc.de>
3292 Fix Emacs bug #10463 - put `widen's around the critical spots.
3294 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3295 widen around each invocation of c-state-pp-to-literal. Remove an
3296 unused let variable.
3298 2012-01-11 Glenn Morris <rgm@gnu.org>
3300 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3303 2012-01-10 Chong Yidong <cyd@gnu.org>
3305 * net/network-stream.el (network-stream-open-starttls):
3306 Avoid emitting a confusing error message when the server gives a bad
3307 response to the capability command.
3309 2012-01-10 Glenn Morris <rgm@gnu.org>
3311 * mail/unrmail.el (unrmail): Tweak previous change.
3313 2012-01-09 Chong Yidong <cyd@gnu.org>
3315 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3317 2012-01-08 Alan Mackenzie <acm@muc.de>
3319 Optimise font locking in long enum definitions.
3321 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3322 arm to a cond form to handle enums.
3323 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3324 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3326 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3328 * files.el (move-file-to-trash): Preserve default file modes on error.
3331 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3333 * faces.el (set-face-attribute): Clarify the meaning of the nil
3336 * subr.el (with-selected-frame): Mention that the selected frame
3337 is restored (bug#9980).
3339 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3342 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3343 (password-read): Don't autoload unused function.
3345 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3347 * progmodes/which-func.el (which-func-mode): Turn into a
3348 non-interactive function and mark as obsolete (bug#10428).
3350 2012-01-06 Chong Yidong <cyd@gnu.org>
3352 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3353 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3354 functions, along with 1 and -1.
3356 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3358 * time.el (display-time-load-average)
3359 (display-time-default-load-average): Doc fixes. See the thread
3361 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3364 2012-01-06 Glenn Morris <rgm@gnu.org>
3366 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3367 has no messages. (Bug#10377)
3369 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3370 than Info-edit. (Bug#10385)
3372 * time.el (display-time-load-average, display-time-next-load-average):
3375 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3376 local setting of buffer-read-only to the input buffer. (Bug#10419)
3378 * calendar/calendar.el (calendar-mode):
3379 Locally set scroll-margin to 0. (Bug#10379)
3381 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3383 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3385 2012-01-05 Glenn Morris <rgm@gnu.org>
3387 * eshell/em-unix.el (diff-no-select): Autoload it.
3388 (eshell/diff): Use diff-no-select. (Bug#10420)
3390 2012-01-05 Chong Yidong <cyd@gnu.org>
3392 * shell.el (shell-dynamic-complete-functions): Revert last change.
3393 (shell-command-completion-function): New function.
3394 (shell-completion-vars): Use it to implement
3395 shell-completion-execonly (Bug#10417).
3397 * custom.el (enable-theme): Don't set custom-safe-themes.
3399 * cus-theme.el (custom-theme-merge-theme):
3400 Ignore custom-enabled-themes and custom-safe-themes.
3402 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3404 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3405 first prompt in `sql-interacive-mode'.
3406 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3408 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3409 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3410 context of original buffer. Invoke `sql-login-hook'.
3412 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3414 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3415 letters in cite-prefix.
3417 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3419 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3421 2012-01-03 Chong Yidong <cyd@gnu.org>
3423 * shell.el (shell-dynamic-complete-functions):
3424 Put pcomplete-completions-at-point, so as to try
3425 comint-filename-completion first (Bug#10417).
3427 2012-01-02 Richard Stallman <rms@gnu.org>
3429 * battery.el (battery-status-function):
3430 Detect when to use battery-yeeloong-sysfs.
3431 (battery-echo-area-format): Add string for Yeeloong.
3432 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3433 (battery-yeeloong-sysfs): New function.
3435 2012-01-02 Chong Yidong <cyd@gnu.org>
3437 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3438 (dirtrack): Merge code for handling relative filenames in prompt
3439 from shell-dir-cookie-watcher.
3440 (dirtrack-debug-message): New arg to avoid excess format calls.
3442 * shell.el (shell-dir-cookie-re): Variable deleted.
3443 (shell-dir-cookie-watcher): Function deleted.
3444 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3447 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3449 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3450 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3453 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3455 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3457 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3459 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3460 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3462 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3464 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3465 also for alternative shells.
3466 (tramp-open-connection-setup-interactive-shell): Check, whether
3467 the shell is a busybox.
3468 (tramp-send-command): Don't suppress multiple prompts for
3469 busyboxes, it hurts.
3471 2011-12-28 Chong Yidong <cyd@gnu.org>
3473 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3474 (gdb-get-source-file): Move mode line update to
3475 gdb-get-source-file (Bug#10087).
3477 2011-12-25 Chong Yidong <cyd@gnu.org>
3479 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3480 gud-gdb-marker-filter without taking it as an argument.
3481 (gud-gdb-run-command-fetch-lines): Caller changed.
3482 (gud-gdb-completion-function): New variable.
3483 (gud-gdb-completion-at-point): Use it.
3484 (gud-gdb-completions-1): Split from gud-gdb-completions.
3486 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3487 function as separate arguments.
3488 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3489 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3490 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3491 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3492 (gdb-stopped, def-gdb-auto-update-trigger)
3493 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3494 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3496 (gud-gdbmi-completions): New function.
3497 (gdb): Use it for generating the completion table.
3499 2011-12-24 Alan Mackenzie <acm@muc.de>
3501 Introduce a mechanism to widen the region used in context font
3502 locking. Use this to protect declarations from losing their contexts.
3504 * progmodes/cc-langs.el (c-before-font-lock-functions):
3505 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3506 (c-before-context-fontification-functions): New defvar, a list of
3507 functions to be run just before context (etc.) font locking.
3509 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3510 New, functionality extracted from
3511 c-neutralize-syntax-in-and-mark-CPP.
3512 (c-in-after-change-fontification): New variable.
3513 (c-after-change): Set c-in-after-change-fontification.
3514 (c-set-fl-decl-start): Rejig its interface, so it can be called
3515 from both after-change and context fontifying.
3516 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3518 (c-standard-font-lock-fontify-region-function): New variable.
3519 (c-font-lock-fontify-region): New function.
3521 2011-12-24 Juri Linkov <juri@jurta.org>
3523 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3526 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3528 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3529 existence of source file. (Bug#10325)
3531 2011-12-23 Alan Mackenzie <acm@muc.de>
3533 Fix unstable fontification inside templates.
3535 * progmodes/cc-langs.el (c-before-font-lock-functions):
3536 Newly created from the singular version. The (c c++ objc) entry now
3537 additionally has c-set-fl-decl-start. The other languages (apart
3538 from AWK) have that as a single entry.
3540 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3541 The functionality for "local" declarations has been extracted to
3542 c-set-fl-decl-start.
3544 * progmodes/cc-mode.el (c-common-init, c-after-change):
3545 Changes due to pluralisation of c-before-font-lock-functions.
3546 (c-set-fl-decl-start): New function, extracted from
3547 c-font-lock-enclosing-decls and enhanced.
3549 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3551 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3553 2011-12-22 Juri Linkov <juri@jurta.org>
3555 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3557 2011-12-22 Chong Yidong <cyd@gnu.org>
3559 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3561 2011-12-21 Drew Adams <drew.adams@oracle.com>
3563 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3565 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3567 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3569 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3571 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3572 highlighting and support. Fix up comments for capitalization.
3573 (cfengine-mode-debug): New var.
3574 (cfengine3-mode): Change the modeline indicator to "CFE3".
3575 (cfengine3-font-lock-keywords): Improve defun highlighting.
3576 (cfengine2-actions): Rename from `cfengine-actions'.
3577 (cfengine2-font-lock-keywords): Rename from
3578 `cfengine-font-lock-keywords'.
3579 (cfengine2-imenu-expression): Rename from
3580 `cfengine-imenu-expression'.
3581 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3582 (cfengine2-beginning-of-defun): Rename from
3583 `cfengine-beginning-of-defun'.
3584 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3585 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3586 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3587 modeline indicator to "CFE2".
3588 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3589 (cfengine-mode-abbrevs): Mark obsolete.
3591 2011-12-21 Chong Yidong <cyd@gnu.org>
3593 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3596 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3598 * window.el (window-normalize-buffer-to-display): Remove.
3599 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3601 2011-12-19 Chong Yidong <cyd@gnu.org>
3603 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3604 Don't signal an error in a predicate function; return non-nil.
3605 (vc-dir-mark-file): Move the error here.
3606 (vc-dir-mark-unmark): If acting on the region, keep going if one
3607 of the entries cannot be marked/unmarked.
3608 (vc-dir-mark-all-files): If current entry is a directory, mark
3609 only child files, as documented.
3611 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3613 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3614 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3617 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3619 * term/ns-win.el (ns-get-selection-internal)
3620 (ns-store-selection-internal): Declare.
3621 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3622 Declare as obsolete.
3623 (ns-get-pasteboard, ns-paste-secondary):
3624 Use ns-get-selection-internal.
3625 (ns-set-pasteboard, ns-copy-including-secondary):
3626 Use ns-store-selection-internal.
3628 2011-12-17 Chong Yidong <cyd@gnu.org>
3630 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3631 (vc-deduce-fileset): Doc fix.
3633 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3635 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3637 2011-12-13 Sam Steingold <sds@gnu.org>
3639 * man.el (Man-getpage-in-background): When running under a
3640 window-system, ignore $MANWIDTH and $COLUMNS.
3642 2011-12-15 Kenichi Handa <handa@m17n.org>
3644 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3645 (setup-ethiopic-environment-internal): Comment out key-binding for
3646 ethio-toggle-punctuation.
3648 2011-12-13 Alan Mackenzie <acm@muc.de>
3650 Add the switch statement to AWK Mode.
3652 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3653 "default" to the keywords regexp.
3655 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3656 expression as the rest.
3657 (c-nonlabel-token-key): Allow string literals for AWK.
3658 Refactor for the other modes.
3660 Large brace-block initialisation makes CC Mode slow: Fix.
3661 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3662 routines. Limit backward searching in c-font-lock-enclosing.decl.
3664 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3665 pp-state and literal type in addition to the limits.
3666 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3667 (c-state-literal-at): Use the above new defun.
3668 (c-slow-in-literal, c-fast-in-literal): Remove.
3669 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3671 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3672 being in a literal. Add a limit for backward searching.
3674 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3677 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3681 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3683 * window.el (delete-other-windows): Use correct frame in call to
3684 window-with-parameter.
3686 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3688 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3689 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3690 (makefile-gmake-statements, makefile-makepp-statements):
3691 Use it and add new makepp keywords.
3692 (makefile-makepp-font-lock-keywords): Add new patterns.
3693 (makefile-match-function-end): Match new [...] and [[...]].
3695 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3697 * ses.el (ses-call-printer-return, ses-cell-property-get)
3698 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3699 (ses-create-cell-variable, ses-reset-header-string)
3700 (ses-cell-set-formula, ses-repair-cell-reference-all)
3701 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3702 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3703 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3704 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3705 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3706 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3707 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3708 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3709 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3710 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3711 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3712 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3714 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3716 * ses.el: The overall change is to add cell renaming, that is
3717 setting fancy names for cell symbols other than name matching
3718 "\\`[A-Z]+[0-9]+\\'" regexp .
3719 (ses-create-cell-variable): New defun.
3720 (ses-relocate-formula): Relocate formulas only for cells the
3721 symbols of which are not renamed, i.e. symbols whose names do not
3722 match regexp "\\`[A-Z]+[0-9]+\\'".
3723 (ses-relocate-all): Relocate values only for cells the symbols of
3724 which are not renamed.
3725 (ses-load): Create cells variables as the (ses-cell ...) are read,
3726 in order to check row col consistency with cell symbol name only
3727 for cells that are not renamed.
3728 (ses-replace-name-in-formula): New defun.
3729 (ses-rename-cell): New defun.
3731 2011-12-11 Chong Yidong <cyd@gnu.org>
3733 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3734 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3736 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3738 * window.el (other-window): Fix docstring.
3740 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3742 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3743 `from' or `to' address before taking its substring.
3744 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3745 encoded name is chopped in the middle of the encoded string, and
3746 thus displayed encoded.
3748 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3750 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3752 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3754 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3755 to use texinfo-update-node and commands that call it if the
3756 Texinfo file uses @node lines without next/prev/up pointers.
3757 Correct outdated description about texinfo-master-menu.
3758 (texinfo-all-menus-update, texinfo-master-menu)
3759 (texinfo-update-node, texinfo-every-node-update)
3760 (texinfo-multiple-files-update): Doc fix. Warn against updating
3761 all the @node lines.
3762 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3763 argument is numeric. Explain better in the doc string what the
3764 function really does.
3765 (texinfo-insert-master-menu-list): Improve the error message
3766 displayed if there's no menu in the Top node.
3767 (Bug#2975) See also this thread:
3768 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3770 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3772 * speedbar.el (speedbar-supported-extension-expressions):
3773 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3775 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3777 * printing.el (pr-mode-alist):
3778 * simple.el (filter-buffer-substring-functions)
3779 (completion-list-insert-choice-function):
3780 * window.el (window-with-parameter, window-atom-root)
3781 (window-sides-slots, window-size-fixed, window-min-delta)
3782 (window-max-delta, window--resize-mini-window)
3783 (window--resize-child-windows-normal, window-tree)
3784 (delete-other-windows, quit-window, split-window)
3785 (display-buffer-record-window, special-display-buffer-names)
3786 (special-display-regexps, special-display-popup-frame)
3787 (same-window-p, split-window-sensibly)
3788 (display-buffer-overriding-action, display-buffer-alist)
3789 (display-buffer-base-action, display-buffer, switch-to-buffer)
3790 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3791 (fit-window-to-buffer, recenter-positions)
3792 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3793 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3794 and remove unneeded backslashes in docstrings.
3796 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3800 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3801 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3803 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3804 when reading the makefile (bug#10116).
3806 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3811 2011-12-06 Glenn Morris <rgm@gnu.org>
3813 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3815 2011-12-06 Chong Yidong <cyd@gnu.org>
3817 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3819 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3821 * textmodes/table.el (table-shorten-cell): Fix typo.
3823 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3825 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3827 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3829 * descr-text.el (describe-char): Fix display of strong
3830 right-to-left characters and directional embeddings and overrides.
3832 * simple.el (what-cursor-position): Fix display of codepoints of
3833 strong right-to-left characters.
3835 2011-12-05 Chong Yidong <cyd@gnu.org>
3837 * faces.el (read-color): Doc fix.
3839 2011-12-05 Glenn Morris <rgm@gnu.org>
3841 * align.el (align--set-marker): Add doc-string.
3842 Don't try to move something that is not a marker. (Bug#10216)
3844 2011-12-04 Glenn Morris <rgm@gnu.org>
3846 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3847 overly zealous deletion of trailing whitespace.
3849 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3851 * server.el (server-delete-client): On Windows, do not try to delete
3853 (server-process-filter): On Windows, treat requests for a tty frame as
3854 if they were for a GUI frame if the running server is in GUI mode.
3856 2011-12-03 Glenn Morris <rgm@gnu.org>
3858 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3860 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * electric.el: Streamline electric-indent's hook.
3863 (electric-indent-chars): Revert to simple list.
3864 (electric-indent-functions): New var.
3865 (electric-indent-post-self-insert-function): Use it.
3867 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3868 there's no inferior buffer (bug#10196).
3869 (prolog-consult-compile): Don't use toggle-read-only.
3871 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3873 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3874 interrupt. (Bug#10187)
3876 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3881 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3884 2011-12-02 Juri Linkov <juri@jurta.org>
3886 * info.el (Info-search): Display "end of manual" when Isearch
3887 reaches the end of single-file Info manual. (Bug#9918)
3889 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3891 * isearch.el (isearch-message-prefix): Run the input method part
3892 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3894 2011-12-02 Juri Linkov <juri@jurta.org>
3896 * isearch.el (isearch-occur): Use `word-search-regexp' for
3898 (isearch-search-and-update): Add condition for `isearch-word' and
3899 call `word-search-regexp'. (Bug#10145)
3901 2011-12-01 Glenn Morris <rgm@gnu.org>
3903 * eshell/em-hist.el (eshell-hist-initialize):
3904 Handle eshell-history-size nil and HISTSIZE set or unset.
3905 (eshell-history-file-name, eshell-history-size): Fix custom type.
3907 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3909 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3911 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3913 * progmodes/verilog-mode.el (verilog-pretty-expr):
3914 Rework verilog-pretty-expr to handle new assignment operators in system
3915 verilog, such as += *= and the like.
3916 (verilog-assignment-operator-re): Regular expression to find the
3917 assigment operator in a verilog assignment.
3918 (verilog-assignment-operation-re): Regular expression to find an
3919 assignment statement for pretty-expr.
3920 (verilog-in-attribute-p): Query returns true if point is in an
3921 attribute context; used to skip these for expression line up from
3923 (verilog-in-parameter-p): Query returns true if point is in an
3924 parameter definition context; used to skip these for expression
3925 line up from pretty-expr.
3926 (verilog-in-parenthesis-p): Query returns true if point is in a
3927 parenthetical expression, specifically ( ) but not [ ] or { };
3928 used by pretty-expr.
3929 (verilog-just-one-space): If there is no space, don't add one.
3930 (verilog-get-lineup-indent-2): Specifically skip just attribute
3931 contexts for expression lineup, rather than skipping all
3932 parenthetical expressions.
3933 (verilog-calculate-indent): Fix comment, and fix indent.
3934 (verilog-do-indent): Indent declarations in lists (suggested by
3936 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3938 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3941 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3943 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3944 parameters with embedded comments. Reported by Ray Stevens.
3945 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3946 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3947 Reported by Tim Holt.
3948 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3949 instantiated by upper module causing wrong expansion until AUTOed a
3950 second time. Reported by K C Buckenmaier.
3951 (verilog-diff-auto): Fix showing .* as a difference when
3952 `verilog-auto-star-save' off. Reported by Dan Dever.
3953 (verilog-auto-reset, verilog-read-always-signals)
3954 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3955 temporary signals in reset list if
3956 verilog-auto-reset-blocking-in-non is nil, and match assignment
3957 style to each signal's assignment type, bug381.
3958 Reported by Thomas Esposito.
3959 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3960 (verilog-uvm-statement-re): Support UVM indentation and
3961 highlighting, with old OVM keywords only.
3962 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3963 Support AUTOTIEOFF creating non-wire data types.
3964 Suggested by Jonathan Greenlaw.
3965 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3966 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3967 (verilog-inject-sense, verilog-read-inst-pins)
3968 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3969 Fix mismatching parenthesis inside commented out code when deleting
3970 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3971 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3972 non-numeric vector width. Reported by Alex Reed.
3973 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3974 detecting signals with parameter widths. Reported by Alex Reed.
3975 (verilog-auto-delete-trailing-whitespace):
3976 With `verilog-auto-delete-trailing-whitespace' remove trailing
3977 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3978 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3979 Fix verilog-scan-cache corruption when running user AUTO expansion
3980 hooks that call indentation routines.
3981 (verilog-simplify-range-expression): Fix typo ignoring lower case
3983 (verilog-delete-auto): Fix delete-autos to also remove user created
3984 automatics, as long as they start with AUTO.
3985 (verilog-batch-diff-auto, verilog-diff-auto)
3986 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3987 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3988 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3989 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3990 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3991 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3992 is disabled and its cache will get corrupt, causing AUTOS not to
3993 expand. Instead use only -quick functions.
3994 (verilog-scan-region): Fix scanning over escaped quotes.
3995 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3996 (verilog-re-search-backward-quick)
3997 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3998 related functions now ignore strings, to fix misparsing of strings
3999 with magic comments embedded in them.
4000 (verilog-read-auto-template):
4001 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4002 Reported by Brad Dobbie.
4003 (verilog-read-auto-template):
4004 Fix 'verilog-auto-inst-template-numbers' with comments.
4005 Reported by Brad Dobbie.
4006 (verilog-auto-inst, verilog-auto-inst-param)
4007 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4008 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4009 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4010 debugging templates without merge conflicts, bug357.
4011 Reported by Brad Dobbie.
4012 (verilog-read-auto-template):
4013 Fix verilog-auto-inst-template-numbers with multiple templates.
4014 Reported by Brad Dobbie.
4015 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4016 abbrevs so user won't be asked to save.
4017 (verilog-read-auto-lisp-present): Fix to start at beginning of
4018 buffer in case called outside of verilog-auto.
4019 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4020 to "X-2". Reported by Matthew Myers.
4021 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4022 all inputs from module templates. Reported by Leith Johnson.
4023 (verilog-module-inside-filename-p): Fix locating programs as with
4025 (verilog-auto-inst-port): Fix vl-width expressions when using
4026 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4027 (verilog-decls-get-regs, verilog-decls-get-signals,
4028 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4029 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4030 verilog-read-decls): Combine reg and wire structures into one var
4031 structure to represent SystemVerilog concepts.
4032 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4033 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4034 (verilog-auto-wire-type, verilog-insert-definition):
4035 Add verilog-auto-wire-type and AUTOLOGIC to support using
4036 SystemVerilog "logic" keyword instead of "wire"/"reg".
4037 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4038 to declares outputs that also have assignments (presumably in an
4039 ifdef or generate if so there's not a driver conflict).
4040 Reported by Matthew Myers.
4041 (verilog-auto-declare-nettype, verilog-insert-definition):
4042 Add verilog-auto-declare-nettype to fix declarations using
4043 `default_nettype none. Reported by Julian Gorfajn.
4044 (verilog-read-always-signals-recurse, verilog-read-decls)
4045 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4046 malformed end statement, bug325. Reported by Joshua Wise and
4048 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4049 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4050 when expanding .* in interfaces, bug320.
4051 Reported by Pierre-David Pfister.
4052 (verilog-read-module-name): Fix import statements between module
4053 name and open parenthesis, bug317.
4054 Reported by Pierre-David Pfister.
4055 (verilog-simplify-range-expression): Fix simplification of
4056 multiplications inside AUTOWIRE connections, bug303.
4057 (verilog-auto-inst-port): Support parameter expansion in
4058 multidimensional arrays.
4059 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4060 after "assert property". Reported by Julian Gorfajn.
4061 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4062 with multiplication, bug303.
4063 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4064 Reported by Jan Frode Lonnum.
4066 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4068 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4069 (hfy-shell-file-name, hfy-shell):
4070 * international/fontset.el (x-decompose-font-name): Fix typos.
4072 2011-11-29 Ken Brown <kbrown@cornell.edu>
4074 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4075 (gdb-version): Remove defvar.
4076 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4077 (gdb-gud-context-command, gdb-non-stop-handler)
4078 (gdb-current-context-command, gdb-stopped): Use it.
4079 (gdb-init-1): Enable pretty printing here.
4080 (gdb-non-stop-handler): Don't enable pretty-printing here.
4081 Check to see if the target supports non-stop mode; if not, turn off
4082 non-stop mode. Use the following.
4083 (gdb-check-target-async): New defun.
4084 (gud-watch, gdb-stopped): Fix whitespace.
4085 (gdb-get-source-file): Don't try to display the source file if
4086 `gdb-main-file' is nil.
4088 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * align.el: Try to generate fewer markers (bug#10047).
4091 (align--set-marker): New macro.
4092 (align-region): Use it.
4094 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4098 2011-11-29 Chong Yidong <cyd@gnu.org>
4100 * indent.el (indent-for-tab-command, indent-according-to-mode):
4102 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4104 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4106 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4107 aware of remote file names. (Bug#10124)
4109 2011-11-29 Chong Yidong <cyd@gnu.org>
4111 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4113 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * files.el (find-file): Don't use force-same-window (bug#10144).
4116 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4117 use pop-to-buffer if the selected window can't be used.
4118 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4120 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4122 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4125 2011-11-28 Chong Yidong <cyd@gnu.org>
4127 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4129 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4131 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4132 gdb-get-source-file-list on gdb-create-source-file-list.
4134 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4136 * whitespace.el (whitespace-newline): Use a different foreground
4137 color for 16-color light-background displays.
4139 2011-11-24 Chong Yidong <cyd@gnu.org>
4141 * window.el (display-buffer--special-action): Doc fix.
4143 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4145 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4146 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4147 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4148 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4149 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4150 (avl-tree-stack-first):
4151 * emacs-lisp/cconv.el (cconv--analyse-use):
4152 * net/gnutls.el (gnutls-negotiate): Fix typos.
4154 2011-11-24 Glenn Morris <rgm@gnu.org>
4156 * lpr.el (lpr-windows-system, lpr-lp-system):
4157 * mail/binhex.el (binhex-begin-line):
4158 * progmodes/grep.el (grep-history, grep-find-history):
4159 * textmodes/flyspell.el:
4160 * vc/pcvs-defs.el (cvs-global-menu):
4161 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4162 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4163 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4165 * net/tls.el: Fix case of "GnuTLS".
4167 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4169 * version.el (emacs-build-system): Give it a doc-string.
4171 2011-11-24 Juri Linkov <juri@jurta.org>
4173 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4175 2011-11-24 Glenn Morris <rgm@gnu.org>
4177 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4178 if called on a non-mime message just toggle the headers. (Bug#8006)
4180 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4182 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4183 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4184 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4185 (allout-rebullet-heading, allout-open-sibtopic)
4186 (allout-toggle-current-subtree-encryption)
4187 (allout-toggle-subtree-encryption, allout-encrypt-string)
4188 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4189 (allout-distinctive-bullets-string, allout-auto-activation):
4190 * window.el (window-normalize-buffer-to-display):
4191 * progmodes/verilog-mode.el (verilog-batch-indent):
4192 * textmodes/bibtex.el (bibtex-field-braces-opt)
4193 (bibtex-field-strings-opt):
4194 * vc/cvs-status.el (cvs-tree-merge):
4197 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4199 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4200 `non-essential' to t, in order to avoid remote connections.
4202 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4204 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4205 On MS-DOS and MS-Windows, compare with loaddefs.el
4208 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4210 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4212 2011-11-23 Glenn Morris <rgm@gnu.org>
4214 * paths.el (rmail-file-name): Reformat the doc-string so that it
4217 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4218 (rmail-auto-file): Ignore case in the "special" field names,
4219 as mail-fetch-field does for all others.
4221 * mail/rmail.el (rmail-forward):
4222 * mail/rmailkwd.el (rmail-set-label):
4223 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4224 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4226 * mail/rmail.el (rmail-current-message): Doc fix.
4228 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4230 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4232 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4234 2011-11-22 Glenn Morris <rgm@gnu.org>
4236 * mail/rmailmm.el (test-rmail-mime-handler)
4237 (test-rmail-mime-bulk-handler)
4238 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4240 2011-11-21 Juri Linkov <juri@jurta.org>
4242 * calc/calc.el (calc-read-key-sequence):
4243 Let-bind `input-method-function' to nil. (Bug#10018)
4245 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4248 Tell the caller that the next line needs recomputation, even
4249 though it doesn't start a sexp (bug#10094).
4251 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4255 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4258 Use force-same-window.
4260 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4262 * descr-text.el (describe-char-unicode-data):
4263 * json.el (json-string-escape):
4264 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4265 (Footnote-unicode, Footnote-style-p):
4266 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4268 2011-11-20 Chong Yidong <cyd@gnu.org>
4270 * window.el (replace-buffer-in-windows): Restore interactive spec.
4272 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4276 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4277 (byte-compile-global-not-obsolete-vars): New var.
4278 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4280 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4282 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4284 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4285 * progmodes/pascal.el (electric-pascal-equal):
4286 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4287 * xml.el (xml-substitute-special): Fix typos.
4289 2011-11-20 Glenn Morris <rgm@gnu.org>
4291 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4292 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4294 (rmail-decode-mime-charset): Mark as obsolete.
4296 * mail/rmailsum.el (rmail-message-regexp-p-1):
4297 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4298 Before using mime functions, check they are set. (Bug#10077)
4300 2011-11-19 Juri Linkov <juri@jurta.org>
4302 * info.el (Info-finder-find-node): Use `package--builtins' instead
4303 of `package-alist'. Use node names formed by the pattern "Keyword "
4304 and the keyword name.
4306 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4308 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4310 2011-11-19 Juri Linkov <juri@jurta.org>
4312 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4313 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4314 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4315 `old-history', `old-history-forward'. Add let-binding
4316 `window-selected'. Remove calls to `kill-buffer',
4317 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4318 before calling `Info-find-node', so `Info-find-node-2' will reread
4319 the Info file. Restore window positions only when `window-selected'
4322 2011-11-19 Juri Linkov <juri@jurta.org>
4324 * isearch.el (isearch-lazy-highlight-new-loop):
4325 Remove condition `(not isearch-error)'. (Bug#9918)
4327 * misearch.el (multi-isearch-search-fun): Add condition
4328 `(not bound)' to ignore lazy-highlighting search.
4329 Add the search-failed message "end of multi" when the end of
4330 multi-sequence is reached. Uncapitalize the search-failed
4331 message "Repeat for next buffer".
4333 * info.el (Info-search): Add the search-failed message
4334 "end of the manual" when the end of the manual is reached
4337 2011-11-19 Juri Linkov <juri@jurta.org>
4339 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4340 Use non-destructive `remove' instead of `delete' because
4341 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4342 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4344 2011-11-19 Juri Linkov <juri@jurta.org>
4346 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4347 to nil instead of binding `search-ring' and `regexp-search-ring'.
4350 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4352 * simple.el (line-move): Force movement by logical lines for any
4353 hscrolled window, not only when auto-hscroll-mode is on.
4354 (line-move-visual): Update doc string to that effect. (Bug#10076)
4356 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4358 * language/european.el (macintosh): Define as alias for mac-roman.
4360 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4362 * mail/rmailmm.el (rmail-mime-display-header)
4363 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4364 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4365 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4366 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4367 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4369 (rmail-mime-entity-segment): To get past the tagline, move forward
4370 2 more lines, to account for the 2 empty lines that precede and
4371 follow the line with the buttons.
4372 (rmail-mime-update-tagline): Move one more line, to get past the
4373 empty line that follows the buttons in the tagline. (Bug#9520)
4375 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4377 * window.el (window-max-delta-1, window-min-delta-1)
4378 (window-min-size-1, window-state-get-1, window-state-put-1)
4379 (window-state-put-2): Use "window--" prefix.
4381 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4383 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4384 (smie-warning-count): New var.
4385 (smie-set-prec2tab): Use it.
4386 (smie-bnf->prec2): Improve warnings. Add docstring.
4387 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4388 (smie-bnf--set-class): New function.
4389 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4392 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4393 (compilation-error-properties, compilation-move-to-column):
4394 Handle compilation-first-column while in the target buffer.
4396 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4397 Don't hardcode point-min==1.
4399 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4400 (eshell-rewrite-for-command): Remove workaround.
4401 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4402 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4403 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4405 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4407 2011-11-17 Glenn Morris <rgm@gnu.org>
4409 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4410 Ignore buffer-local generated-autoload-file if it is the same
4411 as the global value. (Bug#10049)
4413 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4415 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4416 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4417 (reftex-toc-previous-heading, reftex-toc-max-level)
4418 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4419 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4420 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4421 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4422 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4423 (reftex-toc-rename-label, reftex-toc-visit-location)
4424 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4425 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4426 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4427 leaving "*toc*" only for references to the buffer.
4429 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4431 * window.el (window-resize, delete-window, split-window):
4432 Replace window-splits by window-combination-resize.
4433 * cus-start.el (window-splits): Replace by window-combination-resize.
4435 2011-11-17 Glenn Morris <rgm@gnu.org>
4437 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4438 Make bash entry derive from sh entry, not shell entry.
4440 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4442 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4443 properties of linked files. (Bug#9879)
4445 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4448 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4450 * menu-bar.el (menu-bar-file-menu):
4451 * printing.el (pr-ps-utility):
4452 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4453 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4454 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4455 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4456 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4457 (icalendar--convert-cyclic-to-ical)
4458 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4459 (icalendar--convert-ical-to-diary)
4460 (icalendar--convert-recurring-to-diary)
4461 (icalendar--convert-non-recurring-all-day-to-diary)
4462 (icalendar-import-format-sample):
4463 * progmodes/idlw-shell.el (idlwave-shell-mode):
4464 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4465 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4466 (vhdl-ps-print-init): Fix typos.
4468 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4470 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4471 FSF and collapse date sequence, obscure author/maintainer email address
4472 better, remove extra version line, track relocation of author's webpage.
4474 * progmodes/python.el (python-pdbtrack-input-prompt)
4475 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4476 regular python pdb prompts. Adjustments shamelessly taken exactly as
4477 suggested in EmacsWiki page (tiny change):
4478 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4480 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4482 * expand.el (expand-pos, expand-index, expand-point):
4483 Remove redundant info from docstring.
4484 (expand-add-abbrevs): Doc fix.
4485 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4486 (expand-sample-perl-mode-expand-list): Fix typos.
4488 * net/dbus.el (dbus-event-member-name):
4489 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4490 * term/pc-win.el (msdos-create-frame-with-faces):
4491 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4493 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4495 * window.el (split-window, window-state-get-1)
4496 (window-state-put-1, window-state-put-2): Rename occurrences of
4497 window-nest to window-combination-limit.
4498 * cus-start.el (window-nest): Rename to window-combination-limit.
4500 2011-11-16 Chong Yidong <cyd@gnu.org>
4502 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4505 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4508 `completing-read' will remove *Completions* and will preserve
4509 current-buffer for us.
4510 (tmm-add-prompt): Users of *Completions* will always (re)set its
4512 (tmm-old-comp-map): Remove.
4514 2011-11-16 Glenn Morris <rgm@gnu.org>
4516 * mail/rmailedit.el: Require rmailmm when compiling.
4517 (rmail-old-mime-state): New declaration.
4518 (rmail-edit-current-message): If editing a mime message,
4519 edit the "raw" message from the mbox buffer.
4520 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4522 2011-11-15 Glenn Morris <rgm@gnu.org>
4524 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4525 which wasn't being used. Add optional arg to force given state.
4526 (rmail-mime): Add optional arg to force given state.
4528 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4530 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4531 * frame.el (display-mm-dimensions-alist):
4532 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4533 (outline-move-subtree-down):
4534 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4535 (newsticker--treeview-do-get-node):
4536 * net/quickurl.el (quickurl-list-buffer-name):
4537 * progmodes/dcl-mode.el (dcl-mode):
4538 * progmodes/gdb-mi.el (gdb-mapcar*):
4539 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4541 2011-11-15 Glenn Morris <rgm@gnu.org>
4543 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4544 in a boolean sense, so just make it a boolean, and fix the doc.
4545 (rmail-show-mime-function, rmail-mime-feature)
4546 (rmail-require-mime-maybe): Doc fixes.
4547 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4549 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4551 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4553 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4554 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4555 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4556 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4558 2011-11-15 Glenn Morris <rgm@gnu.org>
4560 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4561 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4562 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4563 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4564 (rmail-mime, rmail-show-mime): Doc fixes.
4566 * term/ns-win.el (mode-line-frame-identification):
4567 Leave it alone. (Bug#10051)
4569 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4571 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4572 Handle empty buffers. (Bug#9978)
4574 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4576 * international/mule.el (define-charset):
4577 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4578 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4579 * progmodes/verilog-mode.el (verilog-backward-token):
4580 * textmodes/ispell.el (lookup-words):
4581 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4583 2011-11-14 Glenn Morris <rgm@gnu.org>
4585 * progmodes/executable.el
4586 (executable-make-buffer-file-executable-if-script-p):
4587 Handle file-modes returning nil.
4589 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4590 message - not necessary, and causes problems. (Bug#9831)
4592 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4594 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4596 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4597 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4598 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4600 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4602 * window.el (window-resize, delete-window): Use window-splits
4603 variable instead of function.
4604 (window-state-get-1, window-state-put-2, window-state-put):
4605 Don't deal with windows' splits status.
4607 2011-11-12 Glenn Morris <rgm@gnu.org>
4609 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4610 (apropos-documentation): Doc fixes.
4612 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4614 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4615 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4617 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * electric.el (electric-indent-post-self-insert-function): Make it
4620 possible for a char to only indent in some circumstances.
4621 (electric-indent-mode): Simplify.
4623 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4625 * window.el (windows-with-parameter): Remove unused function.
4626 (windows-at-side): Rename to window-at-side-list.
4627 (window-check, window-atom-check, window-atom-check-1)
4628 (window-side-check, window-size-ignore, window-size-fixed-1)
4629 (window-in-direction-2): Prefix with "window--".
4630 (window-tree-1): Rename to window--subtree, fix doc-string.
4632 2011-11-11 Glenn Morris <rgm@gnu.org>
4634 * subr.el (eval-after-load): If FILE is already loaded,
4635 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4637 2011-11-10 Glenn Morris <rgm@gnu.org>
4639 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4640 Call svn via vc-svn-command rather than vc-do-command.
4641 (vc-svn-command): Add --non-interactive. (Bug#9993)
4642 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4644 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4645 Add toggle-read-only. (Bug#7292)
4646 * files.el (toggle-read-only): Mention that it should only
4647 be used interactively. (Bug#10006)
4649 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4652 Adjust regexp for OCaml warnings.
4654 * electric.el (electric-pair-post-self-insert-function): Let user
4655 turn it off buffer-locally (bug#9932).
4657 * progmodes/python.el (python-beginning-of-statement):
4660 * progmodes/compile.el: Better handle TABs (bug#9749).
4661 (compilation-internal-error-properties)
4662 (compilation-next-error-function): Obey the target buffer's
4663 compilation-error-screen-columns.
4665 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4667 * progmodes/meta-mode.el: Remove obsolete comments.
4668 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4669 Fix typos in docstrings.
4671 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4673 * window.el (window-size-fixed-p): Rewrite doc-string.
4674 (window-resizable-p): Rename to window--resizable-p. Update callers.
4675 (window--resizable): New function. Make all callers of
4676 window-resizable call window--resizable instead.
4677 (window-resizable): Rewrite in terms of window--resizable.
4679 2011-11-08 Glenn Morris <rgm@gnu.org>
4681 * progmodes/delphi.el (delphi-mode-syntax-table):
4682 Let define-derived-mode define a proper syntax table. (Bug#9994)
4684 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4686 * window.el: Stay away from defsubst.
4687 (window-list-no-nils): Remove.
4688 (window-state-get-1, window-state-get): Use backquote instead.
4690 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4692 * emacs-lisp/find-func.el (find-function-read):
4693 Fix incorrect use of default argument in `completing-read'.
4695 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4697 * window.el (display-buffer-function, special-display-function):
4698 Mention display-buffer-record-window but do not mention
4699 help-setup parameter in doc-strings.
4700 (window-min-delta): Fix doc-string typo.
4702 2011-11-08 Chong Yidong <cyd@gnu.org>
4704 * window.el (window-total-height, window-total-width): Doc fix.
4705 (window-body-size): Move from C.
4706 (window-body-height, window-body-width): Move to C.
4708 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4710 * window.el: Make special-display like display-buffer-alist (bug#9532).
4711 (display-buffer--special-action): New function, morphed
4712 from display-buffer--special.
4713 (display-buffer): Use it to handle special-display-buffers at higher
4714 priority (just after display-buffer-alist).
4715 (display-buffer-fallback-action, display-buffer--other-frame-action)
4716 (pop-to-buffer-same-window): Remove display-buffer--special.
4718 2011-11-07 Glenn Morris <rgm@gnu.org>
4720 * calendar/cal-menu.el (cal-menu-set-date-title):
4721 Do nothing if not in a calendar. (Bug#9976)
4723 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4725 * files.el (find-file): Always use selected-window.
4727 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4729 * window.el (window-combinations): Make WINDOW argument
4730 mandatory. Rewrite doc-string.
4731 (walk-window-subtree, window-atom-check, window-min-delta)
4732 (window-max-delta, window--resize-this-window)
4733 (window--resize-root-window-vertically, window-tree)
4734 (balance-windows, window-state-put): Rewrite doc-strings as to
4735 not mention the term "subwindow".
4736 (window--resize-subwindows-skip-p): Rename to
4737 window--resize-child-windows-skip-p.
4738 (window--resize-subwindows-normal): Rename to
4739 window--resize-child-windows-normal.
4740 (window--resize-subwindows): Rename to
4741 window--resize-child-windows.
4742 (window-or-subwindow-p): Rename to window--in-subtree-p.
4744 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4746 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4747 Ensure that mbox format messages end in two newlines (Bug#9974).
4749 2011-11-06 Chong Yidong <cyd@gnu.org>
4751 * window.el (window-combination-p): Function deleted; its
4752 side-effect is not used in any existing code.
4753 (window-combinations, window-combined-p): Call window-*-child
4756 2011-11-05 Chong Yidong <cyd@gnu.org>
4758 * window.el (window-valid-p): Rename from window-any-p.
4759 (window-size-ignore, window-state-get): Callers changed.
4760 (window-normalize-window): Rename from window-normalize-any-window.
4761 New arg LIVE-ONLY, replacing window-normalize-live-window.
4762 (window-normalize-live-window): Delete.
4763 (window-combination-p, window-combined-p, window-combinations)
4764 (walk-window-subtree, window-atom-root, window-min-size)
4765 (window-sizable, window-sizable-p, window-size-fixed-p)
4766 (window-min-delta, window-max-delta, window-resizable)
4767 (window-resizable-p, window-full-height-p, window-full-width-p)
4768 (window-current-scroll-bars, window-point-1, set-window-point-1)
4769 (window-at-side-p, window-in-direction, window-resize)
4770 (adjust-window-trailing-edge, maximize-window, minimize-window)
4771 (window-deletable-p, delete-window, delete-other-windows)
4772 (record-window-buffer, unrecord-window-buffer)
4773 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4774 (quit-window, split-window, window-state-put)
4775 (set-window-text-height, fit-window-to-buffer)
4776 (shrink-window-if-larger-than-buffer): Callers changed.
4778 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4780 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4781 rfc2047-decode-string.
4782 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4785 * window.el (window-body-height, window-body-width): Mention in
4786 the doc string that the return values are in frame's canonical
4789 2011-11-03 Alan Mackenzie <acm@muc.de>
4791 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4792 change in cc-engine.el.
4794 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4798 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4800 * window.el (quit-window): Call unrecord-window-buffer after
4801 showing another buffer in the window. (Bug#9937)
4802 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4804 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4806 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4807 Accept status with more than 9 shelves. (Bug#9935)
4808 Reported by Colin D Bennett <colin@gibibit.com>.
4810 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4812 * help.el (with-help-window): Don't reference
4813 temp-buffer-show-specifiers in doc-string.
4815 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4817 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4820 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4822 * whitespace.el: New version 13.2.2.
4823 (whitespace-newline-mode): Disable properly. Reported by Sarah
4826 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4828 * net/newst-treeview.el: Remove "Time-stamp".
4829 (newsticker--group-manage-orphan-feeds): Do not call
4830 newsticker--treeview-tree-update.
4831 (newsticker-treeview-update, newsticker-treeview):
4832 Call newsticker--treeview-tree-update if necessary.
4834 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4836 * window.el (window-iso-combination-p, window-iso-combined-p)
4837 (window-iso-combinations): Remove "iso-" infix.
4838 Suggested by Chong Yidong.
4839 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4840 (window-max-delta-1, window-resize, window--resize-siblings)
4841 (window--resize-this-window, adjust-window-trailing-edge)
4842 (split-window, balance-windows-1)
4843 (shrink-window-if-larger-than-buffer):
4844 * calendar/calendar.el (calendar-generate-window):
4845 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4847 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4850 in place (bug#9907).
4851 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4852 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4853 (eshell-structure-basic-command, eshell-rewrite-while-command)
4854 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4855 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4856 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4857 (eshell-do-pipelines-synchronously, eshell-eval-command):
4858 Use backquotes and prefer setq to set.
4859 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4860 (eshell-macrop): Use functionp.
4861 (eshell-do-eval): Handle multiple expressions in `while' body.
4863 2011-10-30 Chong Yidong <cyd@gnu.org>
4865 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4866 instead of set-mark (Bug#9810).
4868 2011-10-30 Chong Yidong <cyd@gnu.org>
4870 * window.el (split-window-below, split-window-right): Rename from
4871 split-window-above-each-other and split-window-side-by-side
4872 respectively. All callers changed.
4873 (split-window-sensibly, split-window-sensibly): Use them.
4874 (split-window-keep-point): Doc fix.
4876 * isearch.el: Add isearch-scroll property to split-window-below
4877 and split-window-right.
4879 * follow.el (follow-mode):
4880 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4881 * progmodes/ada-xref.el (ada-gdb-application):
4882 * emulation/vip.el (vip-buffer-in-two-windows):
4883 * image-dired.el (image-dired-dired-with-window-configuration):
4884 * dired-x.el (dired-do-find-marked-files):
4885 * dired.el (dired-pop-to-buffer):
4886 * bs.el (bs--show-with-configuration):
4887 * vc/emerge.el (emerge-setup-windows):
4888 * textmodes/two-column.el (2C-two-columns):
4889 * textmodes/reftex-toc.el (reftex-toc):
4890 * progmodes/gdb-mi.el (gdb-setup-windows):
4891 * progmodes/fortran.el (fortran-window-create):
4892 * net/newst-treeview.el (newsticker--treeview-window-init):
4893 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4894 * emulation/tpu-edt.el (tpu-gold-map):
4895 * emulation/crisp.el (crisp-mode-map):
4896 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4898 2011-10-29 Chong Yidong <cyd@gnu.org>
4900 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4902 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4904 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4905 forged Ispell output (Bug#7904).
4907 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4909 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * doc-view.el: Avoid ugly errors about not finding nil.
4912 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4913 (doc-view-dvipdf-program, doc-view-unoconv-program)
4914 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4915 Avoid nil or absolute file name as default value.
4916 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4918 2011-10-28 Alan Mackenzie <acm@muc.de>
4920 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4922 2011-10-28 Alan Mackenzie <acm@muc.de>
4924 Amend the handling of c-beginning/end-of-defun in nested declaration
4927 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4928 cc-langs.el. Change it to a defcustom.
4930 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4933 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4934 Prevent "class foo : bar" being spuriously recognized as a label.
4936 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4937 Add parameter `inclusive' (to include enclosing braces in the region).
4938 (c-widen-to-enclosing-decl-scope): New function.
4939 (c-while-widening-to-decl-block): New macro.
4940 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4941 outward for defun boundaries, and correspondingly change symbol
4942 `respect-enclosure' to `go-outward'.
4943 (c-declaration-limits): Change algorithm to report only the "innermost"
4946 2011-10-28 Deniz Dogan <deniz@dogan.se>
4948 * net/rcirc.el (rcirc-mode): Use hard newlines.
4950 2011-10-28 Alan Mackenzie <acm@muc.de>
4952 Amend to indent and fontify macros "which include their own semicolon"
4953 correctly, using the "virtual semicolon" mechanism.
4955 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4957 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4958 Recode to scan one line at a time rather than having \n and \r
4959 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4960 (c-forward-label): Amend for virtual semicolons.
4961 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4963 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4964 of the new C macros.
4966 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4967 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4968 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4969 (c-opt-cpp-macro-define): Make into a full language variable.
4970 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4971 AWK Mode (including \n, \r) removed, no longer needed.
4973 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4974 Invoke c-make-macro-with-semi-re.
4976 * progmodes/cc-vars.el (c-macro-with-semi-re):
4977 (c-macro-names-with-semicolon): New variables.
4978 (c-make-macro-with-semi-re): New function.
4980 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4982 * vc/log-edit.el: Fill empty field rather than adding new one.
4983 (log-edit-add-field): New function.
4984 (log-edit-insert-changelog): Use it.
4986 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4988 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4990 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4993 (gdb--check-interpreter): New function.
4996 2011-10-27 Glenn Morris <rgm@gnu.org>
4998 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4999 (least-positive-float, least-negative-float)
5000 (least-positive-normalized-float, least-negative-normalized-float)
5001 (float-epsilon, float-negative-epsilon):
5002 Remove unnecessary declarations.
5004 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5005 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5006 (least-positive-float, least-negative-float)
5007 (least-positive-normalized-float, least-negative-normalized-float)
5008 (float-epsilon, float-negative-epsilon): Add doc-strings,
5009 based on those in cl.texi.
5011 * files.el (set-visited-file-name): If the major-mode changed,
5012 reload the local variables. (Bug#9796)
5014 2011-10-27 Chong Yidong <cyd@gnu.org>
5016 * subr.el (change-major-mode-after-body-hook): New hook.
5017 (run-mode-hooks): Run it.
5019 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5020 Use change-major-mode-before-body-hook.
5022 * simple.el (fundamental-mode):
5023 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5024 change introducing fundamental-mode-hook.
5026 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5028 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5030 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5032 * ido.el (ido-file-name-all-completions-1): Do not require
5033 tramp.el explicitly. (Bug#7583)
5035 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * progmodes/octave-mod.el:
5038 * progmodes/octave-inf.el: Update maintainer.
5040 2011-10-26 Chong Yidong <cyd@gnu.org>
5042 * subr.el (with-wrapper-hook): Rewrite doc.
5044 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5046 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5047 filenames "/method:foo:". (Bug#9793)
5049 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5051 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5054 2011-10-24 Glenn Morris <rgm@gnu.org>
5056 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5058 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5060 * notifications.el: Add the requirement of a running D-Bus session
5061 bus to the Commentary.
5063 2011-10-24 Juri Linkov <juri@jurta.org>
5065 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5066 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5069 2011-10-24 Juri Linkov <juri@jurta.org>
5071 * info.el (Info-following-node-name-re): Add newline to the list
5072 of allowed characters for leading space. (Bug#9824)
5074 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * progmodes/octave-inf.el (inferior-octave-mode-map):
5077 Fix C-c C-h binding.
5078 * progmodes/octave-mod.el (octave-help): Remove.
5080 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5082 Sync with Tramp 2.2.3.
5084 * net/tramp-cache.el (top): Pacify byte-compiler using
5085 `init-file-user' and `site-run-file'.
5087 * net/trampver.el: Update release number.
5089 2011-10-23 Chong Yidong <cyd@gnu.org>
5091 * files.el (toggle-read-only): Remove obsolete comment about
5094 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5095 for toggle-read-only. Note that this hasn't called vc-next-action
5096 since 2008-05-02, though it wasn't documented at the time.
5098 * vc/ediff-init.el (ediff-toggle-read-only-function):
5099 Use toggle-read-only.
5101 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5103 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5106 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5107 correct faulty logical expression.
5108 (c-parse-state-state, c-record-parse-state-state):
5109 (c-replay-parse-state-state): New defvar/defuns.
5110 (c-debug-parse-state): Use new functions.
5112 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5114 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5115 last fix. Use window-in-direction correctly.
5117 2011-10-21 Chong Yidong <cyd@gnu.org>
5119 * progmodes/idlwave.el (idlwave-mode):
5120 * progmodes/vera-mode.el (vera-mode): No need to set
5121 require-final-newline; that's done in prog-mode.
5122 Suggested by Stefan Monnier.
5124 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5126 * mouse.el (mouse-drag-window-above)
5127 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5128 (mouse-drag-mode-line-1, mouse-drag-header-line)
5129 (mouse-drag-vertical-line-rightward-window): Remove.
5130 (mouse-drag-line): New function.
5131 (mouse-drag-mode-line, mouse-drag-header-line)
5132 (mouse-drag-vertical-line): Call mouse-drag-line.
5133 * window.el (window-at-side-p, windows-at-side): New functions.
5135 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5137 * tar-mode.el (tar-grind-file-mode):
5138 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5140 2011-10-21 Chong Yidong <cyd@gnu.org>
5142 * progmodes/idlwave.el (idlwave-mode):
5143 * progmodes/vera-mode.el (vera-mode):
5144 Use mode-require-final-newline.
5146 2011-10-20 Glenn Morris <rgm@gnu.org>
5148 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5150 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5152 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5154 2011-10-20 Chong Yidong <cyd@gnu.org>
5156 * emulation/cua-base.el (cua-mode):
5157 * mail/footnote.el (footnote-mode):
5158 * mail/mailabbrev.el (mail-abbrevs-mode):
5159 * net/xesam.el (xesam-minor-mode):
5160 * progmodes/bug-reference.el (bug-reference-mode):
5161 * progmodes/cap-words.el (capitalized-words-mode):
5162 * progmodes/compile.el (compilation-minor-mode)
5163 (compilation-shell-minor-mode):
5164 * progmodes/gud.el (gud-tooltip-mode):
5165 * progmodes/hideif.el (hide-ifdef-mode):
5166 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5167 * progmodes/subword.el (subword-mode):
5168 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5169 * progmodes/which-func.el (which-function-mode):
5170 * term/tvi970.el (tvi970-set-keypad-mode):
5171 * term/vt100.el (vt100-wide-mode):
5172 * textmodes/flyspell.el (flyspell-mode):
5173 * textmodes/ispell.el (ispell-minor-mode):
5174 * textmodes/nroff-mode.el (nroff-electric-mode):
5175 * textmodes/paragraphs.el (use-hard-newlines):
5176 * textmodes/refill.el (refill-mode):
5177 * textmodes/reftex.el (reftex-mode):
5178 * textmodes/rst.el (rst-minor-mode):
5179 * textmodes/sgml-mode.el (html-autoview-mode)
5180 (sgml-electric-tag-pair-mode):
5181 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5182 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5183 * emulation/crisp.el (crisp-mode):
5184 * emacs-lisp/eldoc.el (eldoc-mode):
5185 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5186 minor mode behavior.
5188 2011-10-19 Juri Linkov <juri@jurta.org>
5190 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5191 the list of hard-coded chars with escape-glyph face.
5193 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5195 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5197 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5199 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5202 2011-10-19 Glenn Morris <rgm@gnu.org>
5204 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5205 Ignore ignored files. (Bug#9726)
5207 2011-10-19 Chong Yidong <cyd@gnu.org>
5209 Doc fix for minor modes, stating that an omitted argument enables
5210 the mode unconditionally when called from Lisp.
5212 * abbrev.el (abbrev-mode):
5213 * allout.el (allout-mode):
5214 * autoinsert.el (auto-insert-mode):
5215 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5216 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5217 (global-auto-revert-mode):
5218 * battery.el (display-battery-mode):
5219 * composite.el (global-auto-composition-mode)
5220 (auto-composition-mode):
5221 * delsel.el (delete-selection-mode):
5222 * desktop.el (desktop-save-mode):
5223 * dired-x.el (dired-omit-mode):
5224 * dirtrack.el (dirtrack-mode):
5225 * doc-view.el (doc-view-minor-mode):
5226 * double.el (double-mode):
5227 * electric.el (electric-indent-mode, electric-pair-mode):
5228 * emacs-lock.el (emacs-lock-mode):
5229 * epa-hook.el (auto-encryption-mode):
5230 * follow.el (follow-mode):
5231 * font-core.el (font-lock-mode):
5232 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5233 * help.el (temp-buffer-resize-mode):
5234 * hilit-chg.el (highlight-changes-mode)
5235 (highlight-changes-visible-mode):
5236 * hi-lock.el (hi-lock-mode):
5237 * hl-line.el (hl-line-mode, global-hl-line-mode):
5238 * icomplete.el (icomplete-mode):
5239 * ido.el (ido-everywhere):
5240 * image-file.el (auto-image-file-mode):
5241 * image-mode.el (image-minor-mode):
5242 * iswitchb.el (iswitchb-mode):
5243 * jka-cmpr-hook.el (auto-compression-mode):
5244 * linum.el (linum-mode):
5245 * longlines.el (longlines-mode):
5246 * master.el (master-mode):
5247 * mb-depth.el (minibuffer-depth-indicate-mode):
5248 * menu-bar.el (menu-bar-mode):
5249 * minibuf-eldef.el (minibuffer-electric-default-mode):
5250 * mouse-sel.el (mouse-sel-mode):
5251 * msb.el (msb-mode):
5252 * mwheel.el (mouse-wheel-mode):
5253 * outline.el (outline-minor-mode):
5254 * paren.el (show-paren-mode):
5255 * recentf.el (recentf-mode):
5256 * reveal.el (reveal-mode, global-reveal-mode):
5257 * rfn-eshadow.el (file-name-shadow-mode):
5258 * ruler-mode.el (ruler-mode):
5259 * savehist.el (savehist-mode):
5260 * scroll-all.el (scroll-all-mode):
5261 * scroll-bar.el (scroll-bar-mode):
5262 * server.el (server-mode):
5263 * shell.el (shell-dirtrack-mode):
5264 * simple.el (auto-fill-mode, transient-mark-mode)
5265 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5266 (line-number-mode, column-number-mode, size-indication-mode)
5267 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5268 * strokes.el (strokes-mode):
5269 * time.el (display-time-mode):
5270 * t-mouse.el (gpm-mouse-mode):
5271 * tool-bar.el (tool-bar-mode):
5272 * tooltip.el (tooltip-mode):
5273 * type-break.el (type-break-mode-line-message-mode)
5274 (type-break-query-mode):
5275 * view.el (view-mode):
5276 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5277 (global-whitespace-mode, global-whitespace-newline-mode):
5278 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5280 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5281 Fix autogenerated docstring.
5283 2011-10-19 Juri Linkov <juri@jurta.org>
5285 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5286 by checking environment variables "DESKTOP_SESSION" and
5287 "XDG_CURRENT_DESKTOP". (Bug#9779)
5289 2011-10-19 Juri Linkov <juri@jurta.org>
5291 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5292 (browse-url-chromium-program, browse-url-chromium-arguments):
5294 (browse-url-default-browser): Check for `browse-url-chromium' and
5295 call `browse-url-chromium-program'.
5296 (browse-url-chromium): New command. (Bug#9779)
5298 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5300 * facemenu.el (list-colors-duplicates): On Windows, detect more
5301 duplicates by assuming that only colors matching "^System" are
5302 special "system colors". (Bug#9722)
5304 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5307 to distinguish the author from the committer.
5309 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5311 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5313 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5315 * international/mule.el (sgml-html-meta-auto-coding-function):
5316 Add support for detecting encoding in HTML5 specified only as
5317 <meta charset="UTF-8">. Implementation just makes http-equiv and
5318 content-type parts from HTML4 encoding string optional. (Bug#9716)
5320 2011-10-18 Glenn Morris <rgm@gnu.org>
5322 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5324 2011-10-18 Chong Yidong <cyd@gnu.org>
5326 * faces.el (cursor): Doc fix.
5328 2011-10-17 Chong Yidong <cyd@gnu.org>
5330 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5332 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5334 * dirtrack.el (dirtrack): Support shell buffers with path
5335 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5337 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5339 * json.el: Bump version to 1.3 and note change in History.
5340 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5342 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * comint.el (comint-insert-input, comint-send-input)
5345 (comint-get-old-input-default, comint-backward-matching-input)
5346 (comint-next-prompt): Use nil instead of `input' for field property of
5347 past user input (bug#114).
5349 * minibuffer.el (completion--replace): Inherit surrounding properties
5351 (minibuffer-complete-and-exit): Use it.
5353 * comint.el (comint--table-subvert): Quote the all-completions output
5356 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5358 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5360 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5361 window on right of selected. (Bug#9350) Reword other window
5362 entries and separate them from frame entries.
5364 2011-10-15 Glenn Morris <rgm@gnu.org>
5366 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5369 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5371 * net/network-stream.el (network-stream-open-starttls):
5372 Improve detection of failure due to lack of TLS support.
5374 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5375 putting the input text in front and in bold.
5377 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5379 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5381 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5384 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5385 unread-command-events rather than pushing yet-another event.
5387 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5389 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5390 the explanation of the possible choices. Make the options passed
5391 to completing-read shorter.
5393 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5395 * textmodes/flyspell.el (flyspell-large-region): Make sure
5396 extended character mode is used if defined (Bug#1339).
5398 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5400 * simple.el (what-cursor-position): Fix the display of the
5401 character info for LRE, LRO, RLE, and RLO characters by appending
5404 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5406 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5407 even in case of error; add debug spec; simplify data flow.
5408 (with-timeout-handler): Remove.
5410 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5412 Fix Bug#6019, Bug#9315.
5414 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5415 complete `buffer-file-name', the local file name part could look
5416 remotely (for example on VMS).
5418 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5419 `tramp-run-real-handler'.
5420 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5421 already quoted by '"'.
5423 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5424 Let `file-name-handler-alist' be nil, the local file name part
5425 could look remotely (for example on VMS).
5427 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5429 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5431 (flyspell-post-command-hook): ...to here.
5433 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5437 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5438 using completion. Protect against "slow" callers.
5439 Remove the "message hack".
5441 2011-10-11 Juri Linkov <juri@jurta.org>
5443 * isearch.el (isearch-lazy-highlight-word): New variable.
5444 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5447 2011-10-11 Glenn Morris <rgm@gnu.org>
5449 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5450 like f90-previous-statement does.
5452 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5454 * eshell/eshell.el (eshell-command): History should be saved
5455 only in interactive use, to avoid error.
5457 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5459 * minibuffer.el (completion-file-name-table): Fix last change,
5460 i.e. ignore normal errors but not the other ones.
5462 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5464 * window.el (special-display-buffer-names)
5465 (special-display-regexps): Remove some remnants of earlier
5466 changes from doc-strings.
5467 (quit-windows-on): New function.
5469 * vc/vc.el (vc-revert, vc-rollback):
5470 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5471 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5472 (Bug#6183) (Bug#7074) (Bug#7447)
5474 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5476 * window.el (frame-auto-hide-function): Add version tag.
5479 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5481 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5484 2011-10-09 Leo Liu <sdl.web@gmail.com>
5486 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5489 2011-10-08 Glenn Morris <rgm@gnu.org>
5491 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5492 before the first code statement zero indent. (Bug#9690)
5494 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5496 * simple.el (count-words-region): Always count in the region.
5497 Report the number of lines and characters too.
5498 (count-words): New command, which counts in the buffer if the
5499 region is inactive, as count-words-region used to.
5500 (count-words--message): New function. Handle plurals.
5501 (count-lines-region): Make it an alias for count-words-region.
5503 * bindings.el (esc-map): Replace count-lines-region with
5506 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5508 * window.el (window--delete): Delete dedicated frame
5509 unconditionally when argument KILL is non-nil. (Bug#9699)
5510 (switch-to-buffer): Fix doc-string typo.
5512 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5514 * eshell/eshell.el (eshell-command): Avoid using hooks.
5516 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5518 * bindings.el ([M-left],[M-right]): Bind to left-word and
5519 right-word respectively.
5521 2011-10-07 Glenn Morris <rgm@gnu.org>
5523 * cus-start.el (debug-on-quit): Fix custom type.
5525 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5527 * subr.el (define-key-after): Clarify that the function is not
5528 useful for non-menu keymaps.
5530 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5532 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5534 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5535 in current minibuffer (Fix bug with recursive minibuffers).
5537 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5539 * progmodes/gdb-mi.el (gdb): Doc fix.
5541 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5543 * window.el (frame-auto-hide-function): New option replacing
5544 frame-auto-delete. Suggested by Stefan Monnier.
5545 (window--delete): Call frame-auto-hide-function instead of
5546 investigating frame-auto-delete.
5547 (window-point-1, set-window-point-1): New functions.
5548 (window-in-direction, record-window-buffer, window-state-get-1)
5549 (display-buffer-record-window): Use window-point-1 instead of
5551 (set-window-buffer-start-and-point): Use set-window-point-1.
5553 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5557 2011-10-05 Glenn Morris <rgm@gnu.org>
5559 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5560 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5562 2011-10-05 Leo Liu <sdl.web@gmail.com>
5564 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5565 works with buffer object.
5567 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * mpc.el (mpc-tool-bar-map): Add labels.
5571 2011-10-04 Glenn Morris <rgm@gnu.org>
5573 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5575 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5577 * window.el (window--delete): New function.
5578 (frame-auto-delete): Resuscitate option.
5579 (bury-buffer, replace-buffer-in-windows)
5580 (quit-window): Rewrite using window--delete.
5581 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5582 Pass display-buffer-mark-dedicated to window--display-buffer-2
5585 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5587 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5588 returns a list (bug#9554). Add remote file name completion.
5589 * comint.el (comint--table-subvert): Curry and get quote&unquote
5590 functions as arguments.
5591 (comint--complete-file-name-data): Adjust call accordingly.
5592 * pcomplete.el (pcomplete--table-subvert): Remove.
5593 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5595 * minibuffer.el (completion-table-case-fold): Use currying.
5596 (completion--styles-type, completion--cycling-threshold-type):
5598 (completion-styles, completion-category-overrides)
5599 (completion-cycle-threshold): Use them.
5600 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5601 completion-table-case-fold.
5603 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5605 * minibuffer.el (completion-category-overrides): Fix type of styles
5606 and add more user friendly tags (bug#9660).
5608 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5611 (mule-input-method-string): New widget.
5612 (default-input-method, language-info-custom-alist): Use it.
5614 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5616 * pcomplete.el: Require comint.
5617 (pcomplete--common-suffix): Remove.
5618 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5619 (pcomplete--table-subvert): Sync with comint--table-subvert.
5620 (pcomplete--entries): Use comint-completion-file-name-table.
5621 * comint.el (comint-unquote-filename): Simplify.
5622 (comint-completion-file-name-table): New function (bug#9616).
5623 (comint--complete-file-name-data): Use it.
5625 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5626 (pcmpl-gnu-tar-buffer): Remove.
5627 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5628 around. Make sure pcomplete-suffix-list is only changed temporarily.
5629 Don't look inside the tar's file if it's too large.
5631 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5633 * cus-edit.el (custom-mode-map):
5634 * epa.el (epa-key-list-mode-map):
5635 * man.el (Man-mode-map):
5636 * startup.el (splash-screen-keymap):
5637 * simple.el (special-mode-map): Use scroll-up-command and
5638 scroll-down-command.
5640 * progmodes/idlw-help.el (idlwave-help-mode-map):
5641 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5642 * net/newst-plainview.el (newsticker-mode-map):
5643 * emulation/ws-mode.el (wordstar-mode-map):
5644 * emulation/vi.el (vi-com-map):
5645 * calc/calc-graph.el (calc-graph-show-dumb):
5646 * term/sun.el (terminal-init-sun):
5647 * term/ns-win.el (global-map):
5648 * progmodes/grep.el (grep-mode-map):
5649 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5650 * mail/rmail.el (rmail-mode-map):
5651 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5653 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5654 custom-safe-themes as special.
5656 2011-10-01 Julien Danjou <julien@danjou.info>
5658 * notifications.el (notifications-notify): Fix docstring.
5660 2011-10-01 Per Starbäck <per@starback.se>
5662 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5664 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5666 * startup.el (command-line-1): Fix last fix by inserting
5667 initial-scratch-message into *scratch* before displaying it.
5668 (Bug#9605) and (Bug#9636)
5670 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5672 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5673 window is hscrolled, move by logical lines. (Bug#9607)
5674 (line-move-visual): Update the doc string to the above effect.
5676 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5678 * window.el (display-buffer-record-window): When WINDOW is the
5679 selected window use `point' instead of `window-point'. (Bug#9626)
5681 * startup.el (command-line-1): Use insert-before-markers when
5682 inserting initial-scratch-message. (Bug#9605)
5684 * help.el (help-window): Remove variable.
5686 2011-09-29 Glenn Morris <rgm@gnu.org>
5688 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5690 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5692 * descr-text.el (describe-char-categories): Accept category
5693 descriptions more than one line long.
5695 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5697 * simple.el (delete-trailing-whitespace): Fix last change.
5699 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5700 Don't confuse "y => 3" as the beginning of a `y' operation.
5702 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5703 object has more than 4 slots (bug#9613).
5705 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5707 * subr.el (with-output-to-temp-buffer):
5708 * net/quickurl.el (quickurl, quickurl-browse-url):
5709 Fix typos in docstrings.
5711 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5713 * minibuffer.el (completion-styles)
5714 (completion-category-overrides): Cross reference each other in doc
5717 2011-09-27 Glenn Morris <rgm@gnu.org>
5719 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5720 to split-string. (Bug#9606)
5722 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5724 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5727 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5729 * emacs-lisp/package.el (list-packages): Fix echo area message.
5731 2011-09-27 Leo Liu <sdl.web@gmail.com>
5733 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5735 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5737 * net/dbus.el (dbus-unregister-object): Don't release services for
5738 registered signals. (Bug#9581)
5740 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5742 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5743 function that picks between cfengine 2 and 3 support
5744 automatically. Update docs accordingly.
5746 2011-09-22 Kenichi Handa <handa@m17n.org>
5748 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5750 (indian-itrans-v5-table-for-tamil): New variable.
5751 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5753 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5755 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5756 that's true if the current command involved collapsing of text.
5757 It's reset to false at the beginning of the next command.
5758 (allout-post-command-business): Move the cursor to the beginning
5759 of entry if the cursor is hidden and collapsing activity just
5762 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5764 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5765 tracking (Bug#9541).
5767 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5769 * net/newst-reader.el (newsticker-html-renderer)
5770 (newsticker-show-news): Automatically load html rendering package
5771 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5772 because w3m-fill-column is let-bound" and the error "Symbol's value
5773 as variable is void: w3m-fill-column".
5775 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5777 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5778 Release services only if they are defined. (Bug#9581)
5780 2011-09-23 Richard Stallman <rms@gnu.org>
5782 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5783 distinguish start of paragraph from start of its text.
5785 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5787 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5788 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5789 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5791 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5793 * international/mule-diag.el (mule-diag): Insert a newline after
5794 each fontset description.
5796 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * simple.el (delete-trailing-whitespace):
5799 Document last change; simplify.
5801 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5803 * simple.el (delete-trailing-whitespace): Also delete
5804 extra newlines at the end of the buffer.
5806 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5807 (picture-newline): Use forward-line so as to ignore fields.
5809 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * subr.el (with-wrapper-hook): Fix edebug spec.
5813 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5818 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5820 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5821 Fix nasty bug using wrong cached values.
5823 2011-09-23 Alan Mackenzie <acm@muc.de>
5825 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5827 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5829 * window.el (pop-to-buffer): Ensure right window is selected if we
5830 chose another frame.
5832 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5834 * simple.el (what-cursor-position): Use get-char-property-change
5835 and next-single-char-property-change, to be able to show display
5836 properties that come from overlays as well as text properties.
5838 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5840 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5842 * cmuscheme.el (run-scheme, switch-to-scheme):
5843 * cus-edit.el (customize-group, custom-buffer-create)
5847 * mail/sendmail.el (mail):
5848 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5850 2011-09-22 Richard Stallman <rms@gnu.org>
5852 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5853 move back only to line beg, don't move back over blank lines.
5855 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5857 * files.el (copy-directory): Set directory attributes only in case
5858 they could be retrieved from the source directory. (Bug#9565)
5860 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5862 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5863 (hs-find-block-beginning, hs-hide-level-recursive):
5864 Ignore strings as well as comments. (Bug#9502)
5866 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5868 * progmodes/sql.el (sql-comint-postgres):
5869 Convert port number to a string. (Bug#9566)
5871 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5873 * window.el (quit-window): Undedicate window when switching to
5874 previous buffer. Reported by Thierry Volpiatto
5875 <thierry.volpiatto@gmail.com>.
5876 (special-display-popup-frame): When popping up a new frame reset
5877 its previous buffers to nil. Simplify code.
5879 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5881 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5882 and process filter, as done also in `shell-command'.
5884 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5886 * window.el (set-window-buffer-start-and-point):
5887 Call set-window-start with NOFORCE argument t.
5888 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5889 (quit-window): Reword doc-string. Handle new format of
5890 quit-restore parameter. Don't delete window if it has a
5891 previous buffer we can show instead of the present one.
5892 (display-buffer-record-window): Rewrite using a new format for
5893 the quit-restore window parameter
5894 (special-display-popup-frame, display-buffer-same-window)
5895 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5896 (display-buffer-pop-up-window, display-buffer-use-some-window):
5897 Adapt symbol passed to display-buffer-record-window.
5898 * help.el (help-window-setup): Handle new format of quit-restore
5901 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * faces.el (face-list): Fix docstring (bug#9564).
5905 * window.el (display-buffer--action-function-custom-type):
5906 Don't include internal functions in the Custom interface.
5908 2011-09-20 Juri Linkov <juri@jurta.org>
5910 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5911 (Info-forward-node, Info-backward-node, Info-next-preorder)
5912 (Info-last-preorder): Use it. (Bug#9528)
5914 2011-09-20 Juri Linkov <juri@jurta.org>
5916 * info.el (Info-last-preorder): Visit last menu item only when
5917 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5919 2011-09-20 Julien Danjou <julien@danjou.info>
5921 * password-cache.el (password-cache-remove): Remove entries even if the
5922 value is nil, so that password with a nil value (negative caching) is
5923 possible to invalidate.
5925 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5927 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5928 all whitespace around breakpoint. (Bug#9553)
5929 (f90-find-breakpoint): Only break at whitespace inside a comment.
5931 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * minibuffer.el (completion-file-name-table): Keep track of errors.
5934 (completion-table-with-predicate): Handle the case where pred1 is nil.
5935 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5937 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5939 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5940 (debugger-return-value): Signal an error if the debugging context does
5941 not await any return value.
5943 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5944 * image-mode.el (image-toggle-display-text)
5945 (image-toggle-display-image): Stay away from evil `intangible'.
5947 2011-09-19 Leo Liu <sdl.web@gmail.com>
5949 * replace.el (occur-revert-arguments): Make it permanent-local.
5950 (occur-mode): Don't call font-lock-defontify.
5952 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5954 * net/ldap.el (ldap-search-internal): Don't push empty search
5957 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5961 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5963 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5964 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5966 2011-09-18 Juri Linkov <juri@jurta.org>
5968 * buff-menu.el (Buffer-menu-mode-map):
5969 * dired.el (dired-mode-map):
5970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5971 (lisp-interaction-mode-map):
5972 * emacs-lisp/package.el (package-menu-mode-map):
5973 * epa.el (epa-key-list-mode-map):
5974 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5975 (menu-bar-options-menu):
5976 * outline.el (outline-mode-menu-bar-map):
5977 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5978 * vc/vc-dir.el (vc-dir-menu-map):
5979 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5980 Capitalize non-function content words in menu item strings.
5982 * dired.el (dired-mode-map): Add menu item for
5983 `image-dired-dired-toggle-marked-thumbs'.
5985 2011-09-18 Juri Linkov <juri@jurta.org>
5987 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5988 to `isearch-case-fold-search' and restore its original value
5989 after the `isearch-mode' call.
5991 2011-09-18 Juri Linkov <juri@jurta.org>
5993 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5994 because `zgrep' returns 1 for successful matches (bug#9226).
5996 2011-09-18 Juri Linkov <juri@jurta.org>
5998 * info.el (Info-extract-menu-node-name): Check the second match
5999 for empty string (second test-case of bug#9528).
6000 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6001 intermediate nodes to the history (first test-case of bug#9528).
6003 2011-09-18 Juri Linkov <juri@jurta.org>
6005 * info.el (Info-mode-syntax-table): New variable.
6006 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6008 2011-09-18 Juri Linkov <juri@jurta.org>
6010 * info.el (Info-file-supports-index-cookies):
6011 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6012 outputs one more line for long file names (bug#4142).
6014 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6016 * newcomment.el (comment-normalize-vars): If prompting for
6017 comment-start, set comment-start-skip too (Bug#8424).
6019 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6021 * icomplete.el: Fix previous fix of Bug#5849.
6022 (icomplete-mode): Don't set completion-show-inline-help.
6023 (icomplete-minibuffer-setup): Set completion-show-inline-help
6024 locally during icompletion.
6026 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6028 * woman.el (woman2-process-escapes): Don't delete unrecognized
6031 * files.el (inhibit-first-line-modes-regexps): Add image files.
6032 (hack-local-variables-prop-line): Return nil for malformed
6033 prop-lines (Bug#9044).
6035 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6037 * net/tramp.el (top): Don't require 'shell.
6038 (tramp-methods): Fix docstring.
6039 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6040 Return complete remote file name. Handle "smb" case.
6041 Use `tramp-tmpdir', if defined for the respective method.
6042 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6044 * net/tramp-compat.el (top): Require 'shell.
6046 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6047 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6048 `tramp-current-host'.
6049 (tramp-get-remote-tmpdir): Remove.
6051 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6052 `tramp-tmpdir' entries.
6053 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6054 (tramp-smb-handle-file-attributes): Ignore errors.
6055 (tramp-smb-wait-for-output): Check also for process end.
6057 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6060 when sending QUIT (bug#9312).
6062 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6064 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6065 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6066 occur-mode-display-occurrence.
6067 (occur-edit-mode): Add usage message.
6068 (occur-cease-edit): New command.
6069 (occur-after-change-function): Use text properties to find the
6070 position of the prefix text.
6071 (occur-engine): Set stickiness of prefix text properties.
6073 2011-09-17 Glenn Morris <rgm@gnu.org>
6075 * progmodes/etags.el (complete-tag):
6076 Fix call to completion-in-region. (Bug#9526)
6078 2011-09-17 Juri Linkov <juri@jurta.org>
6080 * textmodes/ispell.el (ispell-word): Add to the error message
6081 the word, ispell program name and current dictionary (bug#9121).
6082 (ispell-tex-arg-end): Capitalize "error" in the error message.
6084 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6086 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6089 2011-09-17 Juri Linkov <juri@jurta.org>
6091 * window.el (window-safe-min-height, window-safe-min-width):
6092 Fix typos (followup to bug#9522).
6094 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6096 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6098 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6100 * simple.el (line-move): If goal-column is set, move by logical
6101 lines, not by display lines. (Bug#971)
6102 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6103 to reflect the above change.
6105 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * image.el (imagemagick-register-types): Use regexp-opt.
6109 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6111 * window.el (display-buffer-base-action): Rename from
6112 display-buffer-default-action. Make default value empty.
6113 (display-buffer-overriding-action): Convert to defvar.
6114 (display-buffer-fallback-action): New var.
6116 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6118 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6120 (package--add-to-archive-contents): If there is a duplicate entry
6121 with an older version, remove it.
6122 (package-menu-mark-delete, package-menu-mark-install)
6123 (package-menu-mark-unmark): Make unused args optional.
6124 (package-menu-mark-obsolete-for-deletion):
6125 Use package-menu-get-status instead of a regexp search.
6126 (package-menu-get-status): Use tabulated-list-entry.
6127 (package-menu-mark-upgrades): New command.
6128 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6129 (package-menu-execute): Do installation before deletion.
6130 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6131 instead of checking major-mode.
6132 (package-menu--find-upgrades): New function.
6134 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6136 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6137 passwords in the log buffer.
6138 (smtpmail-process-filter): Update the process marker so that the
6139 "broken by peer" status message is inserted in the right place.
6141 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6144 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6145 bibtex-completion-at-point-function.
6146 (bibtex-completion-at-point-function): Use them.
6148 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6150 * mpc.el (mpc-constraints-tag-lookup): New function.
6151 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6152 also to browser "album|playlist".
6154 2011-09-14 Juri Linkov <juri@jurta.org>
6156 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6157 (isearch-edit-string): Use length of `isearch-string' when
6158 `isearch-fail-pos' returns nil.
6159 (isearch-message): Remove duplicate code and call
6160 `isearch-fail-pos' with arg `t'.
6162 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6164 * replace.el (occur-mode-goto-occurrence): Don't force using other
6167 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6169 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6171 * window.el (display-buffer-window): Remove.
6172 (display-buffer-record-window): Use help-setup window parameter
6173 instead of variable display-buffer-window.
6174 (display-buffer-function, special-display-buffer-names)
6175 (special-display-function): Mention help-setup parameter instead
6176 of display-buffer-window in doc-string.
6177 * help.el (help-window-setup): New argument help-window.
6178 Use help-window-setup parameter instead of display-buffer-window.
6179 Reword some messages.
6180 (with-help-window): Pass window used for displaying the buffer
6181 to help-window-setup. Don't set display-buffer-window.
6183 2011-09-13 Glenn Morris <rgm@gnu.org>
6185 * emacs-lisp/debug.el (debugger-make-xrefs):
6186 Preserve point. (Bug#9462)
6188 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6190 * window.el (window-deletable-p): Use next-frame.
6192 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6194 * window.el (window-auto-delete): Remove.
6195 (window-deletable-p): Remove argument FORCE. Don't deal with
6196 dedication and previous buffers.
6197 (switch-to-prev-buffer): Don't delete window.
6198 (delete-windows-on): Delete a window's frame if and only if the
6199 window is dedicated.
6200 (replace-buffer-in-windows): Delete buffer's window or frame if
6201 and only if window is dedicated.
6202 (quit-window): Handle quit-restore as before last change.
6203 (bury-buffer): Delete window only if window-deletable-p returns t.
6205 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6207 * window.el (window-deletable-p): Never delete the last frame on a
6210 2011-09-13 Glenn Morris <rgm@gnu.org>
6212 * help.el (describe-key-briefly): Copy previous standard-output change.
6214 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6216 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6218 2011-09-13 Glenn Morris <rgm@gnu.org>
6220 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6221 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6223 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6225 * dired-aux.el (dired-mark-read-string): Don't return default
6226 value on empty input (Bug#9361).
6227 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6228 Omit initial minibuffer contents.
6229 (dired-do-chmod): Signal an error on empty input.
6230 (dired-mark-read-string): Don't return default on empty input.
6232 * files.el (file-modes-symbolic-to-number): Doc fix.
6234 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6236 * international/mule-cmds.el (ucs-completions): Remove.
6237 (read-char-by-name): Use complete-with-action instead; add metadata.
6239 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6241 * window.el (display-buffer--action-function-custom-type)
6242 (display-buffer--action-custom-type): New vars.
6243 (display-buffer-alist, display-buffer-default-action)
6244 (display-buffer-overriding-action): Add defcustom types.
6246 * frame.el (delete-other-frames): Doc fix (Bug#276).
6248 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6252 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6254 Change modes that used same-window-* vars to use switch-to-buffer.
6256 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6257 Use switch-to-buffer.
6259 * cus-edit.el (customize-group, custom-buffer-create)
6260 (customize-browse, custom-buffer-create-other-window):
6261 Use switch-to-buffer or switch-to-buffer-other-window.
6263 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6264 (Info-prev, Info-up, Info-speedbar-goto-node)
6265 (info-display-manual): Use switch-to-buffer.
6266 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6268 * mail/sendmail.el (mail): Use switch-to-buffer.
6269 (mail-recover): Use switch-to-buffer-other-window.
6271 * cmuscheme.el (run-scheme, switch-to-scheme):
6274 * net/rlogin.el (rlogin):
6275 * net/telnet.el (telnet, rsh):
6276 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6278 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6280 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6282 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6284 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6285 so don't mention it (bug#9301).
6286 (dired-sort-toggle-or-edit): Clarify string further.
6288 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6289 match `x', `w32' and `ns', like the manual says (bug#9029).
6291 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6292 (process-kill-buffer-query-function): Mention the buffer name in
6295 * image-mode.el (image-next-line): The line parameter is mandatory
6298 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6299 which can be useful (bug#9301).
6301 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6303 * subr.el (match-string): Mention that the current buffer should
6304 be the same as the search was done in (bug#9282).
6306 * facemenu.el: Disable the remove-* commands if the mark isn't
6309 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6311 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6313 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6315 * replace.el (occur-mode-goto-occurrence)
6316 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6319 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6322 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6323 special-display and same-window variables.
6324 (mail-other-window): Use switch-to-buffer-other-window.
6325 (mail-other-frame): USe switch-to-buffer-other-frame.
6327 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6328 Use display-buffer-other-frame.
6329 (gdb-display-gdb-buffer): Use pop-to-buffer.
6331 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6333 * progmodes/python.el: Don't set same-window-buffer-names.
6335 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6337 * window.el (display-buffer-alist): Add *Python*.
6339 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6341 * window.el (display-buffer-alist): Add entry for buffers
6342 previously handled same-window-*.
6343 (display-buffer-alist, display-buffer-default-action)
6344 (display-buffer-overriding-action): Mark as risky.
6345 (display-buffer-alist): Document action function changes.
6346 (display-buffer--same-window-action)
6347 (display-buffer--other-frame-action): New variables.
6348 (switch-to-buffer, display-buffer-other-frame): Use them.
6349 (display-buffer): Rename reuse-frame entry to reusable-frames.
6350 (display-buffer-reuse-selected-window): Function deleted.
6351 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6352 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6353 (display-buffer-special): New function.
6354 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6355 display-buffer-reuse-or-pop-window. Split off special-display
6356 part into display-buffer-special.
6357 (display-buffer-use-some-window): Don't perform any special
6358 pop-up-frames handling.
6359 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6360 (display-buffer--maybe-same-window): Rename from
6361 display-buffer-maybe-same-window.
6363 * info.el: Don't set same-window-regexps.
6364 (info-setup): New function.
6365 (info-other-window, info): Call it.
6367 * cus-edit.el: Don't set same-window-regexps.
6368 (customize-group): New argument.
6369 (customize-group-other-window): Use it.
6370 (customize-face, customize-face-other-window): Likewise.
6371 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6375 * progmodes/gud.el: Don't set same-window-regexps.
6381 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6383 2011-09-10 Juri Linkov <juri@jurta.org>
6385 * isearch.el (isearch-edit-string): Remove obsolete mention of
6386 `C-w' (`isearch-yank-word-or-char') from docstring.
6387 (isearch-query-replace): Fix typo in docstring (bug#9466).
6389 2011-09-10 Juri Linkov <juri@jurta.org>
6391 * paren.el (show-paren-function): Don't show escaped parens.
6392 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6394 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6396 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6397 (mm-default-file-encoding): Remove autoload forms, they are
6398 replaced with autoload cookies in mml.el and mm-encode.el.
6399 (mail-add-attachment): New command.
6400 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6401 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6403 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6405 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6407 * simple.el (count-words-region): Use buffer if there's no region
6410 2011-09-09 Juri Linkov <juri@jurta.org>
6412 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6413 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6414 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6416 2011-09-09 Alan Mackenzie <acm@muc.de>
6418 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6419 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6421 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6423 Fix for Savannah bug#9392.
6424 * simple.el (mail-encode-mml): New defvar.
6426 * mail/rmail.el (mail-encode-mml): Add a defvar.
6427 (rmail-enable-mime-composing): Default to t.
6428 (rmail-forward): Use MIME method of forwarding only if both
6429 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6430 Set mail-encode-mml non-nil if the MIME method was used.
6432 * mail/sendmail.el (mml-to-mime): Add autoload form.
6433 (mail-encode-mml): Add a defvar.
6434 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6436 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6437 message through mml-to-mime, and reset mail-encode-mml to nil.
6439 2011-09-09 Glenn Morris <rgm@gnu.org>
6441 * woman.el (woman-if-body): When processing an .el block,
6442 do not delete the next .el block as well. (Bug#9447)
6443 (woman-special-characters): Add oq, cq, and hy characters.
6445 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6447 * window.el (window-deletable-p): Make sure window is live before
6448 invoking window-prev-buffers.
6450 2011-09-08 Leo Liu <sdl.web@gmail.com>
6452 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6454 2011-09-08 Juri Linkov <juri@jurta.org>
6456 * progmodes/compile.el (compilation-environment): Make it
6457 a defcustom (bug#8340).
6459 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6461 * window.el (frame-auto-delete): Rename to window-auto-delete.
6462 Make it control auto-deletion of windows and/or frames.
6463 (window-deletable-p): New argument FORCE. Rewrite conditions
6464 for deleting window/frame. (Bug#9419)
6465 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6466 Rewrite handling of case when window/frame can be deleted.
6467 (delete-windows-on): Call window-deletable-p with new FORCE
6468 argument t. (Bug#9456)
6470 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6472 * help-mode.el (help-mode): Restore autoload.
6474 2011-09-07 Juri Linkov <juri@jurta.org>
6476 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6477 `compilation-environment'. Set buffer-local
6478 `compilation-environment' to `thisenv' later after (funcall mode).
6481 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6482 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6483 instead of replacing its value. (Bug#8340)
6485 2011-09-07 Juri Linkov <juri@jurta.org>
6487 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6488 based on text properties put by `grep-filter' instead of matching
6490 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6491 to the value of `grep-error-screen-columns' (bug#9438).
6493 2011-09-07 Juri Linkov <juri@jurta.org>
6495 * simple.el (next-error-highlight, next-error-highlight-no-select):
6498 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6500 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6501 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6503 2011-09-07 Leo Liu <sdl.web@gmail.com>
6505 * net/rcirc.el (rcirc-mode): Conditionally initialize
6508 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * emacs-lisp/find-func.el (find-function-C-source): Only set
6511 find-function-C-source-directory after checking that we found a source
6512 file there (bug#9440).
6514 2011-09-06 Alan Mackenzie <acm@muc.de>
6516 * isearch.el (isearch-other-meta-char): Wherever a key list is
6517 unread, "unread" the prefix arg, too. This fixes bug #8901.
6519 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6521 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6523 2011-09-05 Juri Linkov <juri@jurta.org>
6525 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6527 2011-09-05 Juri Linkov <juri@jurta.org>
6529 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6530 keeping point where processing of grep matches begins, and
6531 continue to delete remaining escape sequences from the same point.
6532 (grep-filter): Make leading zero optional in "0?1;31m" because
6533 git-grep emits "\033[1;31m" escape sequences unlike expected
6534 "\033[01;31m" as GNU Grep does (bug#9408).
6535 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6537 2011-09-05 Juri Linkov <juri@jurta.org>
6539 * subr.el (y-or-n-p): Capitalize "yes".
6541 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6543 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6544 `tramp-cache-unload-hook' where appropriate.
6545 (tramp-methods): Rename `tramp-remote-sh' to
6546 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6547 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6549 * net/tramp-sh.el (top): Don't require 'shell.
6550 (tramp-methods): Add `tramp-remote-shell' and
6551 `tramp-remote-shell-args' entries.
6552 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6553 (tramp-sh-handle-shell-command): Remove.
6554 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6555 Use `tramp-remote-shell'.
6557 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6559 * mail/sendmail.el (sendmail-query-once-function): Delete.
6560 (sendmail-query-once): Save directly to send-mail-function.
6561 Update message-send-mail-function too.
6563 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6565 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6567 * progmodes/python.el (python-mode-map): Use correct function to
6568 start python interpreter from menu-bar (as reported by Geert
6570 (inferior-python-mode-map): Fix typo.
6571 (python-shell-map): Remove.
6573 2011-09-03 Deniz Dogan <deniz@dogan.se>
6575 * net/rcirc.el (rcirc-print): Simplify code for
6576 rcirc-scroll-show-maximum-output. There is no need to walk
6577 through all windows to find the right one.
6579 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6581 * help.el (help-return-method): Doc fix.
6583 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6585 * window.el (window-deletable-p): Don't return a non-nil value
6586 when there's a buffer that was shown in the window before.
6588 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6589 Set window's previous buffers to nil.
6591 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6593 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6594 newline before and after the tag line, so it doesn't interfere
6595 with determining the paragraph direction of bidirectional text.
6597 2011-09-03 Leo Liu <sdl.web@gmail.com>
6599 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6601 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6603 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6604 (pop-to-buffer): Change interactive spec. Pass second argument
6605 directly to display-buffer.
6606 (display-buffer): Fix interactive spec. Use functionp to
6607 distinguish between a function and a list of functions.
6609 * abbrev.el (edit-abbrevs):
6610 * arc-mode.el (archive-extract):
6611 * autoinsert.el (auto-insert):
6612 * bookmark.el (bookmark-bmenu-list):
6613 * files.el (find-file):
6614 * view.el (view-buffer):
6615 * progmodes/compile.el (compilation-goto-locus):
6616 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6618 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6620 * window.el (display-buffer-alist): Doc fix.
6621 (display-buffer): Add docstring. Don't treat
6622 display-buffer-default specially.
6623 (display-buffer-reuse-selected-window)
6624 (display-buffer-same-window, display-buffer-maybe-same-window)
6625 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6626 (display-buffer-pop-up-window)
6627 (display-buffer-reuse-or-pop-window)
6628 (display-buffer-use-some-window): New functions.
6629 (display-buffer-default-action): Use them.
6630 (display-buffer-default): Delete.
6631 (pop-to-buffer-1): Fix choice of actions.
6633 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * minibuffer.el (completion--insert-strings): Don't get confused by
6636 completion entries that end with an LF char.
6638 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6640 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6642 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6644 * window.el (display-buffer): Restore interactive spec.
6645 (display-buffer-same-window, display-buffer-other-window):
6647 (pop-to-buffer-1): New function. Use the above.
6648 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6649 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6651 * view.el (view-buffer-other-window, view-buffer-other-frame):
6652 Just use pop-to-buffer.
6654 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6656 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6658 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6660 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6662 2011-08-31 Richard Stallman <rms@gnu.org>
6664 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6665 of the separation of rmail-view-buffer from rmail-buffer.
6666 If you say no to "replace original", the decrypt is in the
6667 view buffer. If you say yes, the decrypt goes into the
6670 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6672 * window.el (display-buffer-window): Rewrite doc-string.
6673 (display-buffer-record-window): New function.
6674 (display-buffer-macro-specifiers)
6675 (display-buffer-even-window-sizes, display-buffer-set-height)
6676 (display-buffer-set-width, display-buffer-in-window)
6677 (display-buffer-reuse-window, display-buffer-split-specifiers)
6678 (display-buffer-side-specifiers, display-buffer-split-window-1)
6679 (display-buffer-split-window, display-buffer-split-atom-window)
6680 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6681 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6682 (display-buffer-other-window-means-other-frame)
6683 (display-buffer-normalize-special)
6684 (display-buffer-normalize-default)
6685 (display-buffer-normalize-argument)
6686 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6687 (display-buffer-normalize-specifiers, display-buffer-frame)
6688 (display-buffer-same-window, display-buffer-same-frame)
6689 (display-buffer-other-window)
6690 (display-buffer-same-frame-other-window)
6691 (display-buffer-other-frame, pop-to-buffer-same-window)
6692 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6693 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6694 (switch-to-buffer-same-frame)
6695 (switch-to-buffer-other-window-same-frame)
6696 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6697 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6698 (display-buffer-alist-set): Remove.
6699 (display-buffer-function, special-display-buffer-names)
6700 (special-display-regexps, special-display-function):
6701 In doc-string refer to display-buffer-window and quit-restore
6703 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6704 (special-display-frame-alist, special-display-popup-frame)
6705 (same-window-buffer-names, same-window-regexps, same-window-p)
6706 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6707 (split-window-preferred-function, split-height-threshold)
6708 (split-width-threshold, window-splittable-p)
6709 (split-window-sensibly, window--try-to-split-window)
6710 (window--frame-usable-p, even-window-heights)
6711 (window--even-window-heights, window--display-buffer-1)
6712 (window--display-buffer-2, display-buffer-other-frame):
6713 Restore old Emacs 23 code, order and doc-strings where applicable.
6714 (display-buffer-default, display-buffer-assq-regexp): New functions.
6715 (display-buffer-alist): Rewrite doc-string.
6716 (display-buffer-default-action)
6717 (display-buffer-overriding-action): New variables.
6718 (display-buffer, switch-to-buffer): Rewrite.
6719 (pop-to-buffer): Restore Emacs 23 behavior but use
6720 window-normalize-buffer-to-display.
6721 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6722 Restore Emacs 23 behavior but use
6723 window-normalize-buffer-to-switch-to.
6724 (pop-to-buffer-same-window): Rewrite.
6725 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6726 Rewrite using Emacs 23 options.
6728 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6730 * net/tramp.el (tramp-root-regexp): Remove.
6731 (tramp-completion-file-name-regexp-unified)
6732 (tramp-completion-file-name-regexp-separate)
6733 (tramp-completion-file-name-regexp-url): Don't use leading volume
6734 letter on win32 systems. (Bug#5303, Bug#9311)
6735 (tramp-drop-volume-letter): Simplify definition.
6736 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6738 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6743 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6745 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6747 2011-08-29 Juri Linkov <juri@jurta.org>
6749 * isearch.el (isearch-done): Don't display message "Mark saved"
6750 when arg `edit' is non-nil to prevent its flicker in the echo area.
6752 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6754 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6755 obsolete packages for deletion.
6757 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6759 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6760 (help-mode): Derive help-mode from special-mode. Don't invoke
6761 view-mode from help-mode.
6762 (help-xref-override-view-map): Remove.
6763 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6764 view-mode is not used anymore.
6766 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6768 * server.el (server-port): Doc fix.
6770 * cus-theme.el (custom-theme-choose-mode): Inherit from
6771 special-mode (Bug#9124).
6772 (custom-theme-choose-mode-map): Add special-mode to parent.
6774 2011-08-28 Alan Mackenzie <acm@muc.de>
6776 * progmodes/cc-fonts.el
6777 (c-make-font-lock-BO-decl-search-function): New function.
6778 (c-basic-matchers-after - "Fontify the clauses after various
6779 keywords"): Extract the three keyword lists for the 3 erroneous
6780 constructs from the list of four, and use the new function above
6781 in place of an old one.
6783 2011-08-28 Deniz Dogan <deniz@dogan.se>
6785 * net/rcirc.el (rcirc-insert-prev-input)
6786 (rcirc-insert-next-input): Remove unused argument.
6788 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6792 2011-08-27 Alan Mackenzie <acm@muc.de>
6794 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6795 handle function pointer parameters properly.
6797 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6799 * window.el (display-buffer-reuse-window): Fix case where
6800 selected window was reused with non-nil OTHER-WINDOW argument.
6803 2011-08-27 Deniz Dogan <deniz@dogan.se>
6805 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6806 oftc's NickServ messages.
6808 2011-08-27 Glenn Morris <rgm@gnu.org>
6810 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6812 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6814 * emacs-lisp/package.el (package-install): Call package-initialize
6815 if called interactively.
6817 2011-08-26 Leo Liu <sdl.web@gmail.com>
6819 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6821 2011-08-25 Juri Linkov <juri@jurta.org>
6823 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6824 `search-whitespace-regexp' (bug#9364).
6826 2011-08-25 Juri Linkov <juri@jurta.org>
6828 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6829 `regexp-search-ring' to their global values to protect from
6830 updating by `read-from-minibuffer' (bug#9185).
6832 2011-08-25 Juri Linkov <juri@jurta.org>
6834 * textmodes/ispell.el (ispell-command-loop): Add newline
6835 at the end of the "Use option `i'..." line.
6837 2011-08-25 Juri Linkov <juri@jurta.org>
6839 * battery.el (display-battery-mode): If `battery-status-function'
6840 or `battery-mode-line-format' is nil, display the message and set
6841 `display-battery-mode' to nil (bug#9363).
6843 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6845 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6846 bidi-string-mark-left-to-right; they are unnecessary now.
6848 2011-08-25 Deniz Dogan <deniz@dogan.se>
6850 * net/quickurl.el: Documentation typo fixes.
6852 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6854 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6856 2011-08-25 Glenn Morris <rgm@gnu.org>
6858 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6860 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6861 (smtpmail-via-smtp): Handle nil response from smtp.
6863 2011-08-24 Juri Linkov <juri@jurta.org>
6865 * proced.el (proced-marked): Inherit from `error' instead of
6866 `font-lock-warning-face'.
6868 * ibuffer.el (ibuffer-marked-face): Change default face from
6869 `font-lock-warning-face' to `warning'.
6870 (ibuffer-deletion-face): Change default face from
6871 `font-lock-type-face' to `error'.
6873 * battery.el (battery-update): Use the face `error' instead of
6874 `font-lock-warning-face' (bug#6117).
6876 2011-08-24 Juri Linkov <juri@jurta.org>
6878 * faces.el (success): Change face color from "Green3" to
6879 "ForestGreen" on light background (bug#9353).
6881 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6883 * window.el (quit-window): Rename from quit-restore-window.
6884 Use same arglist as old quit-window.
6885 (frame-auto-delete): Doc fix.
6887 * view.el (view-mode-exit): Use quit-window.
6889 2011-08-24 Juri Linkov <juri@jurta.org>
6891 * isearch.el (isearch-ring-adjust1): Start visiting previous
6892 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6893 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6894 for empty search string (when the last search string is reused
6895 automatically) to adjust the isearch ring to the last element and
6896 prepare the correct index for further M-p commands (bug#9185).
6898 2011-08-24 Kenichi Handa <handa@m17n.org>
6900 * international/ucs-normalize.el: If decomposition property of
6901 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6903 (nfd, nfkd): Likewise.
6905 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6907 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6908 from process filters aren't reliably transmitted to the surrounding
6909 accept-process-output.
6910 (mpc-proc-check): New function.
6911 (mpc-proc-sync): Use it (bug#8293)
6913 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6916 Add compatibility functions (bug#9313).
6918 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6920 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6922 * international/uni-bidi.el: Regenerate.
6924 2011-08-23 Kenichi Handa <handa@m17n.org>
6926 * international/charprop.el:
6927 * international/uni-bidi.el:
6928 * international/uni-category.el:
6929 * international/uni-combining.el:
6930 * international/uni-comment.el:
6931 * international/uni-decimal.el:
6932 * international/uni-decomposition.el:
6933 * international/uni-digit.el:
6934 * international/uni-lowercase.el:
6935 * international/uni-mirrored.el:
6936 * international/uni-name.el:
6937 * international/uni-numeric.el:
6938 * international/uni-old-name.el:
6939 * international/uni-titlecase.el:
6940 * international/uni-uppercase.el: Regenerate.
6942 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6944 * help.el (help-window-setup): Fix message displayed when other
6945 window is reused. (Bug#9341)
6947 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6949 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6950 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6952 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6954 * shell.el (shell-parse-pcomplete-arguments): New function.
6955 (shell-completion-vars): Use it instead (bug#9160).
6957 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6960 strings and comments (bug#9333).
6962 * emacs-lisp/debug.el (debug-arglist): New function.
6963 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6964 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6966 2011-08-22 Juri Linkov <juri@jurta.org>
6968 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6969 Revert regexp that highlights output switches to its old
6970 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6972 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6973 to check for empty output (bug#9226).
6975 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6977 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6978 symbol-constituent as the default, as that stops font-lock from
6979 working properly (Bug#8843).
6981 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6984 `coding-system-for-*' around the process open call to avoid
6985 auth-source side effects.
6986 (smtpmail-try-auth-methods): Expand the secret password.
6987 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6990 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6992 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6994 * emacs-lisp/find-func.el (find-function-noselect): New arg
6997 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6998 signal an error for built-in functions (Bug#6664).
7000 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7002 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7003 (smtpmail-try-auth-methods): Use it.
7005 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7007 * font-lock.el (font-lock-fontify-region)
7008 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7009 (font-lock-default-unfontify-buffer)
7010 (font-lock-default-fontify-region)
7011 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7013 * progmodes/compile.el (compilation-error-properties):
7014 Fix confusion between file struct and message struct (Bug#9319).
7015 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7018 * net/browse-url.el (browse-url-firefox): Don't call
7019 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7021 2011-08-20 Glenn Morris <rgm@gnu.org>
7023 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7025 * tutorial.el (tutorial--default-keys): Update some default bindings.
7027 * files.el (hack-local-variables): Fully ignore case for "mode:".
7029 2011-08-20 Alan Mackenzie <acm@muc.de>
7031 Resolve invalid use of a regexp in regexp-opt.
7033 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7034 detection for a java annotation.
7036 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7037 detection for a java annotation.
7039 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7041 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7043 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7045 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7048 2011-08-20 Alan Mackenzie <acm@muc.de>
7050 Fontify CPP expressions correctly when starting in the middle of
7051 such a construct. Mainly for when jit-lock etc. starts a chunk
7054 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7056 (c-make-font-lock-search-form): New function, extracted from
7057 c-make-font-lock-search-function.
7058 (c-make-font-lock-search-function): Use the above function.
7059 (c-make-font-lock-context-search-function): New function.
7060 (c-cpp-matchers): Enhance the preprocessor expression case with
7062 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7063 which takes an expression.
7065 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7067 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7069 * window.el (display-buffer-reuse-window)
7070 (display-buffer-pop-up-window): Don't reuse or split a side
7073 2011-08-19 Glenn Morris <rgm@gnu.org>
7075 * files.el (hack-local-variables-prop-line, hack-local-variables):
7076 Downcase "Mode:". (Bug#9331)
7078 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7080 * international/characters.el: Add L and R categories.
7082 * subr.el (bidi-string-mark-left-to-right): Rename from
7083 string-mark-left-to-right. Use category search.
7085 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7087 2011-08-18 Juri Linkov <juri@jurta.org>
7089 * faces.el (error, warning, success): New faces with definitions
7090 copied from old default values of `font-lock-warning-face',
7091 `compilation-warning', `compilation-info' (bug#6117).
7093 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7095 * progmodes/compile.el (compilation-error): Inherit from `error'.
7096 (compilation-warning): Inherit from `warning'.
7097 (compilation-info): Inherit from `success'.
7099 * dired.el (dired-marked): Inherit from `warning'.
7100 (dired-flagged): Inherit from `error'.
7102 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7104 * mail/smtpmail.el (auth-source): Require to avoid problems with
7105 binding variables (bug#9298). Also clean up some unused
7108 * net/network-stream.el (network-stream-open-starttls):
7109 Support using starttls.el without using gnutls-cli.
7111 2011-08-17 Juri Linkov <juri@jurta.org>
7113 * progmodes/grep.el (rgrep): Handle the case when
7114 `grep-find-command' is a cons cell (bug#9278).
7116 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7118 * window.el (display-buffer-pop-up-frame): Run frame creation
7119 function with BUFFER current (as special-display-popup-frame
7120 does). Reported by Drew Adams.
7122 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7124 * epa-mail.el: Simplify GnuPG group expansion using
7126 (epa-mail-group-alist, epa-mail-group-modtime)
7127 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7128 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7129 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7132 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7134 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7136 2011-08-16 Alan Mackenzie <acm@muc.de>
7138 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7139 Correct, to avoid the inside of macros.
7141 2011-08-16 Richard Stallman <rms@gnu.org>
7143 * epa-mail.el: Handle GnuPG group definitions.
7144 (epa-mail-group-alist, epa-mail-group-modtime)
7145 (epa-mail-gnupg-conf-file): New variables.
7146 (epa-mail-parse-groups, epa-mail-sync-groups)
7147 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7148 (epa-mail-expand-recipients): New functions.
7149 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7151 * mail/rmail.el (rmail-epa-decrypt): New command.
7153 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7154 Don't bind buffer-read-only, just inhibit-read-only.
7155 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7156 (epa-decrypt-armor-in-region): Make error message clearer.
7158 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7161 and "a2b" to "ab" for `prefix'.
7163 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7165 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7167 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7168 Fourquet (Bug#8804).
7170 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7172 * startup.el (argi): Declare as global variable (bug#9275).
7174 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7176 * subr.el (string-mark-left-to-right): Search the entire string
7177 for RTL script, not just the terminating character. Doc fix.
7179 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7183 (js--regexp-literal, js-syntax-propertize-function): Remove.
7184 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7185 (js-mode-map): Don't rebind electric keys.
7186 (js-insert-and-indent): Remove.
7187 (js-mode): Setup electric-layout and electric-indent instead.
7189 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7191 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7193 * epa.el (epa-progress-callback-function): Fix the logic of
7194 displaying progress.
7195 * epa-file.el (epa-file-insert-file-contents): Make progress
7196 display more user-friendly.
7197 (epa-file-write-region): Ditto.
7199 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7201 * subr.el (string-mark-left-to-right): New function.
7203 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7204 Use string-mark-left-to-right.
7205 (list-buffers-noselect): Caller changed.
7207 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7208 Use string-mark-left-to-right.
7209 (tabulated-list-print): Recenter after moving point.
7211 2011-08-10 Juri Linkov <juri@jurta.org>
7213 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7214 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7215 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7217 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7219 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7222 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7224 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7225 character. (Bug#6594)
7227 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7229 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7230 (image-dired--with-db-file): New macro.
7231 (image-dired-write-tags, image-dired-remove-tag)
7232 (image-dired-create-gallery-lists, image-dired-write-comments)
7233 (image-dired-get-comment, image-dired-mark-tagged-files)
7234 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7235 (image-dired-gallery-generate): Use insert-file-contents.
7237 * time.el (display-time-world-list, display-time-world-display):
7238 * time-stamp.el (time-stamp-string):
7239 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7240 set-time-zone-rule (Bug#7337).
7242 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7244 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7245 (epg-error-to-string, epg-errors-to-string): New function.
7246 (epg-wait-for-completion): Reverse errors list.
7247 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7248 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7249 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7250 (epg-sign-keys, epg-generate-key-from-file)
7251 (epg-generate-key-from-string): Format errors by using
7252 epg-errors-to-string (bug#9255).
7253 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7255 2011-08-07 Juri Linkov <juri@jurta.org>
7257 * faces.el (list-faces-display): Remove extra angle bracket
7258 from `help-mode-map'.
7260 * info.el (Info-history-toc-nodes): Doc fix.
7262 * longlines.el (longlines-mode): Doc fix.
7264 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7267 of statements and in a few more cases (bug#9183).
7269 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7271 (cl-transform-lambda): Use them (bug#9239).
7273 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7275 * window.el (display-buffer-same-window)
7276 (display-buffer-same-frame, display-buffer-other-window)
7277 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7278 (pop-to-buffer-other-window)
7279 (pop-to-buffer-same-frame-other-window)
7280 (pop-to-buffer-other-frame): Make them defuns.
7281 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7283 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * subr.el (make-composed-keymap): Move from C. Change calling
7286 convention, and improve docstring to bring attention to a subtle point.
7287 * minibuffer.el (completing-read-default): Adjust accordingly.
7289 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7291 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7292 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7294 * net/trampver.el: Update release number.
7296 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7301 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7303 * mail/sendmail.el (sendmail-query-once): Restore the current
7304 buffer after querying (bug#9074).
7306 * dired.el (dired-flagged): Use different faces for marked and
7307 flagged files (bug#6117).
7309 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7312 * ido.el (ido-mode): Switch off the message if called
7315 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7316 before 587, since it appears that that's more likely to work for
7319 * cus-edit.el (custom-file): When running under emacs -q, always
7320 refuse to save the customizations, even if the .emacs file doesn't
7323 * info.el: Remove the `Info-beginning-of-buffer' function
7326 * net/network-stream.el (network-stream-open-starttls):
7327 Use `starttls-available-p' to see whether starttls.el can be used.
7329 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7331 * window.el (display-buffer-in-window): Don't set dedicated status
7332 of window here (Bug#9215).
7333 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7334 (display-buffer-pop-up-side-window)
7335 (display-buffer-in-side-window): Set dedicated status of window here.
7337 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7340 before binding generated-autoload-file.
7342 2011-08-01 Deniz Dogan <deniz@dogan.se>
7344 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7346 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7348 Sync with Tramp 2.2.2.
7350 * net/trampver.el: Update release number.
7352 2011-07-30 Juri Linkov <juri@jurta.org>
7354 * dired-aux.el (dired-touch-initial): Remove function.
7355 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7356 current time, and `default' to the last modification time of the
7357 current marked file (bug#6887).
7359 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7361 * simple.el (goto-line): Use string-to-number to provide a
7362 numeric argument to read-number (bug#9163).
7364 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7366 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7367 connection process, it could be nil.
7369 2011-07-27 Leo Liu <sdl.web@gmail.com>
7371 Simplify url handling in rcirc-mode.
7373 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7374 (rcirc-browse-url-at-mouse): Remove.
7375 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7377 2011-07-26 Alan Mackenzie <acm@muc.de>
7379 Fontify bitfield declarations properly.
7381 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7382 (c-symbol-chars): Now exported as a lang variable.
7383 (c-not-primitive-type-keywords): New lang variable.
7385 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7386 QT keyword "more" to prevent "more slots: ...." being spuriously
7387 parsed as a bitfield declaration.
7389 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7390 Refactor and enhance to handle bitfield declarations.
7391 (c-punctuation-in): New function.
7392 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7393 declarations properly.
7395 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7397 * calendar/icalendar.el (icalendar--all-events): Take care of
7398 multiple vcalendars in a single file.
7399 (icalendar--convert-float-to-ical): Checkdoc fixes.
7401 2011-07-25 Deniz Dogan <deniz@dogan.se>
7403 * image.el (insert-image): Clarifying docstring.
7405 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7407 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7408 `tramp-send-command-and-check' if there is no error.
7409 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7411 2011-07-22 Alan Mackenzie <acm@muc.de>
7413 Prevent cc-langs.elc being loaded at run time.
7415 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7418 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7419 "(require 'cc-langs)". Quote a form so it will evaluate at
7420 (cc-mode's) compilation time.
7422 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7424 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7427 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7429 * window.el (display-buffer-pop-up-window)
7430 (display-buffer-pop-up-side-window)
7431 (display-buffer-in-side-window): Call display-buffer-set-height
7432 and display-buffer-set-width after setting the new window's
7433 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7435 2011-07-20 Sam Steingold <sds@gnu.org>
7437 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7438 (etags-tags-included-tables): Call `convert-standard-filename' on
7439 the file names contained in TAGS so that windows Emacs can handle
7440 TAGS files created by cygwin ctags.
7442 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7444 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7445 which apparently didn't work.
7447 2011-07-19 Roland Winkler <winkler@gnu.org>
7449 * proced.el (proced-send-signal): For *Marked Processes* buffer
7450 put point at beginning of buffer.
7452 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7454 * proced.el (proced-format): Make header lines align with the text
7457 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459 * view.el (view-buffer): Allow running in `special' modes if we're
7460 visiting a file (bug#8615).
7462 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7464 * window.el (display-buffer-alist-of-strings-p)
7465 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7467 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7470 2011-07-18 Alan Mackenzie <acm@muc.de>
7472 Fontify declarators properly when, e.g., a jit-lock chunk begins
7473 inside a declaration.
7475 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7477 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7479 (c-complex-decl-matchers): Insert reference to
7480 c-font-lock-enclosing-decls.
7482 * progmodes/cc-engine.el (c-backward-single-comment):
7483 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7484 to nil around calls to (forward-comment -1).
7486 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7488 * image.el (put-image): Doc typo fix.
7490 * progmodes/etags.el (tags-search): Doc typo fix.
7492 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7493 password if we get errors 550 to 554.
7495 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497 * net/gnutls.el (gnutls-log-level): Remove.
7499 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7500 indentation character (bug#6380).
7502 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7504 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7505 to clarify what the problem is (bug#4291).
7507 * simple.el (current-kill): Clarify what
7508 `interprogram-paste-function' does (bug#7500).
7509 (auto-fill-mode): Document `auto-fill-function' in relation to
7510 `auto-fill-mode' (bug#2470).
7512 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7514 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7515 method if slot is read-only (bug#9035).
7517 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7519 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7520 * window.el (pop-to-buffer): Select window used even if it was
7521 selected before, see discussion of (Bug#8615), (Bug#6954).
7522 Pass argument NORECORD on to select-frame-set-input-focus.
7524 2011-07-15 Glenn Morris <rgm@gnu.org>
7526 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7529 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7531 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7532 (gnutls-negotiate): Use it.
7534 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536 * net/gnutls.el (gnutls-negotiate):
7537 Upcase `gnutls-algorithm-priority'.
7539 2011-07-15 Glenn Morris <rgm@gnu.org>
7541 * jka-compr.el (jka-compr-verbose): Move from here...
7542 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7543 Add missing :version tag.
7544 * info.el: No need to require jka-compr when compiling.
7546 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7548 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7549 (gnutls-negotiate): Use it.
7551 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7553 * info.el (Info-beginning-of-buffer): New command.
7554 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7555 announcing `b' as the key (bug#8325).
7556 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7558 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7560 * international/mule-cmds.el
7561 (describe-specified-language-support): Make the error message
7564 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7566 * isearch.el (isearch-barrier): Add a doc string, since it's
7567 mentioned in a function doc string (bug#8678).
7569 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7571 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7572 buffer argument (Bug#9083) and self-identifying label argument.
7574 2011-07-15 Glenn Morris <rgm@gnu.org>
7576 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7578 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7580 * man.el (Man-fontify-manpage): Fix message when formatting the
7581 man page (bug#7929).
7583 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7585 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7586 argument LRM; if non-nil, append an invisible LRM character to the
7588 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7589 last argument non-nil, when formatting buffer names.
7590 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7591 paragraph direction.
7593 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7595 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7596 the man page name (bug#7929).
7598 * image.el (put-image): Mention the `put-image' overlay property
7601 * scroll-bar.el (set-scroll-bar-mode): Mention that
7602 `scroll-bar-mode' lists the values (bug#7772).
7604 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7607 * rect.el (apply-on-rectangle): Return the point after the last
7609 (string-rectangle): Go to the point after the last operation
7612 * printing.el (pr-toggle-region): Clarify the documentation
7613 slightly (bug#7493).
7615 * time.el (display-time-update):
7616 Allow `display-time-mail-function' to return nil (bug#7158).
7617 Fix suggested by Detlev Zundel.
7619 * vc/diff.el (diff): Clarify the order the file names are read
7622 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7623 the doc string (bug#7015).
7625 * font-lock.el (font-lock-maximum-decoration): Mention what
7626 numeric levels mean (bug#6935).
7628 * startup.el (initial-buffer-choice): Don't mention the `none'
7629 selection, which is against policy.
7631 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7633 * window.el (display-buffer-normalize-special):
7634 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7636 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7638 * subr.el (version<, version<=, version=): Mention "-CVS" and
7639 "-12345" alpha version numbers.
7641 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7643 * bindings.el: Add advertised binding for set-mark-command
7646 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7648 * bindings.el (mode-line-other-buffer):
7649 * bookmark.el (bookmark-bmenu-2-window):
7650 * bs.el (bs-cycle-next, bs-cycle-previous):
7651 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7654 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7657 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7659 * follow.el (follow-debug-message, follow-redisplay):
7660 * jka-cmpr-hook.el (with-auto-compression-mode):
7661 Fix typos in docstrings.
7663 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665 * subr.el (with-silent-modifications): Clarify somewhat what the
7666 macro inhibits (bug#6525).
7668 * simple.el (eval-expression): Note what it does if called
7669 interactively (bug#6495).
7671 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7673 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7674 Use pop-to-buffer buffer-or-name if it is nil.
7676 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7677 Remove switch-to-buffer.
7679 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681 * files.el (make-directory): Clarify that an error will be raised
7682 if there's an error (bug#6397).
7684 * startup.el (initial-buffer-choice): Add `none' as a choice
7687 * subr.el (add-hook): Clarify section about buffer-local hooks
7690 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7692 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7694 * tabify.el (untabify): Preserve the current column so that point
7695 doesn't move (bug#6032).
7697 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7700 Rewrite to avoid awkward possessive "s" (bug#5986).
7702 2011-07-13 Glenn Morris <rgm@gnu.org>
7704 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7705 (dired-insert-directory): Give a message the first time
7706 if ls is found not to support --dired.
7708 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7710 * simple.el (toggle-truncate-lines): Clarify what is toggled
7711 (bug#5580). Text by Drew Adams.
7713 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7715 * simple.el (blink-matching-open): Make the error message from the
7716 last change less verbose.
7718 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7720 * font-lock.el (font-lock-comment-face): Use the high contrast
7721 "yellow" color for font-lock-comment-face on low color terminals
7722 using a dark background color (bug#4221).
7724 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726 * dired.el (dired-insert-set-properties): Make the doc string
7727 reflect what it does now (bug#5325).
7729 * simple.el (blink-matching-open): Say that we were unable to find
7730 the match within the limit, if we're limited (bug#5122).
7732 * international/mule-cmds.el (prefer-coding-system): Add an
7735 * progmodes/etags.el (tags-search): Document `file-list-form'
7738 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7740 * net/browse-url.el (browse-url-default-browser)
7741 (browse-url-browser-function): Make the default browser choice a
7742 bit more logical (bug#4300). Also clean up the doc string.
7744 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7746 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7747 binary endings (bug#4440).
7749 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7752 which can be pretty annoying (bug#8971).
7754 * jka-compr.el (jka-compr-verbose): New variable, and use
7755 throughout (bug#8971).
7757 * info.el (Info-find-file): Fall back on the installation
7758 directory if we can't find the info node anywhere else.
7760 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7762 * vc/vc.el (vc-revert-file):
7763 Don't set file time-stamp in the past. (Bug#5181)
7765 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7767 * files.el (after-find-file): Give a better error message when
7768 trying to find a symlink that points to a file that doesn't exist
7771 * progmodes/cc-vars.el: Remove (probably) misleading comment
7774 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7776 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7778 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7780 * mouse-sel.el: Hack restoring functionality, while keeping
7781 compatibility with 2010-07-03 changes to mouse selection.
7782 (mouse-sel-primary-overlay): New var.
7783 (mouse-sel-selection-alist): Use it.
7784 (mouse-sel-mode): Doc fix; remove points that are default features
7787 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7789 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7790 Fix previous fix (bug#2490).
7792 2011-07-12 Roland Winkler <winkler@gnu.org>
7794 * textmodes/bibtex.el (bibtex-initialize):
7795 Use pop-to-buffer-same-window.
7796 (bibtex-search-entries): Fix interactive call.
7798 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7801 Fontise bytecomp Error lines more correctly (bug#2490).
7802 Fix suggested by Johan Bockgård.
7804 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7806 * dired-x.el (dired-guess-default): Use `delete-dups'.
7808 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7810 * dired.el (dired-mark-prompt):
7811 * dired-aux.el (dired-read-shell-command): Doc fix.
7813 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815 * mail/sendmail.el (sendmail-query-once):
7816 Use `customize-save-variable' unconditionally, now that it works under
7819 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7821 * cus-edit.el (custom-file): Take an optional no-error variable.
7822 (customize-save-variable): Set the variable, and give a warning if
7823 running under "emacs -q".
7825 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7827 * loadhist.el (unload-feature-special-hooks):
7828 Add `auto-coding-functions', `fill-nobreak-predicate' and
7829 `find-directory-functions' (bug#5327).
7831 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7835 * cus-edit.el (custom-guess-name-alist): -alist variables should
7836 use the `alist' type (bug#3120). Suggested by Drew Adams.
7838 * printing.el: Add documentation to all the `pr-toggle-' commands.
7840 2011-07-11 Leo Liu <sdl.web@gmail.com>
7842 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7843 backends where it makes sense (bug#2623).
7845 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7847 * dired-x.el (dired-guess-default): Remove duplicate shell command
7849 (dired-guess-default): Fix grammar in doc string (bug#2028).
7850 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7852 * subr.el (remove-duplicates): New conveniency function.
7854 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7856 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7859 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7861 * window.el (display-buffer-normalize-default): Don't invert
7862 meaning of even-window-heights. Reported by Eli Zaretskii
7865 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7867 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7869 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7871 * window.el (display-buffer): Fix arguments to
7872 display-buffer-reuse-window in last change.
7874 * faces.el (link): Use a less saturated blue on light backgrounds.
7876 * startup.el (fancy-startup-text, fancy-about-text)
7877 (fancy-startup-tail): Use font-lock faces, for background safety.
7879 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7881 * emulation/viper-cmd.el (viper-change-state-to-vi):
7882 Limit triggering of abbrev expansion (Bug#9038).
7884 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7886 * window.el (display-buffer-default-specifiers): Remove.
7887 (display-buffer-macro-specifiers): Remove default specifiers.
7888 (display-buffer-alist): Default to nil.
7889 (display-buffer-reuse-window): New optional argument other-window.
7890 (display-buffer-pop-up-window): Allow splitting internal
7891 windows. Check whether a live window was created.
7892 (display-buffer-other-window-means-other-frame)
7893 (display-buffer-normalize-arguments): Rename to
7894 display-buffer-normalize-argument and rewrite. Set the
7895 other-window specifier.
7896 (display-buffer-normalize-special): New function.
7897 (display-buffer-normalize-options): Rename to
7898 display-buffer-normalize-default and rewrite.
7899 (display-buffer-normalize-options-inhibit): Remove.
7900 (display-buffer-normalize-specifiers): Rewrite.
7901 (display-buffer): Process other-window specifier and call
7902 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7904 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7905 (display-buffer-alist-set): Don't handle 'unset default values.
7906 (display-buffer-in-window, display-buffer-alist-set):
7907 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7908 <tassilo@member.fsf.org>.
7910 2011-07-09 Leo Liu <sdl.web@gmail.com>
7912 * register.el (insert-register): Restore accidental change on
7913 2011-06-26. (Bug#9028)
7915 2011-07-09 Glenn Morris <rgm@gnu.org>
7917 * subr.el (remq): Handle the empty list. (Bug#9024)
7919 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7921 * mail/sendmail.el (send-mail-function): No longer delay custom
7923 * custom.el (custom-initialize-delay): Doc fix.
7925 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7929 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7931 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7932 human-friendly prompt.
7934 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7936 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7937 provided by a particular plugin.
7939 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7941 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7942 save customizations (with "emacs -Q"), just set the variable
7943 instead of erroring out.
7945 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7947 2011-07-08 Juri Linkov <juri@jurta.org>
7949 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7950 (archive-zip-update-case): Use 7z if found by `executable-find'.
7951 The order of searching the available programs is the same as in
7952 `archive-zip-extract' (bug#8968).
7954 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7956 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7957 (menu-bar-options-menu): Tweak descriptions.
7959 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7961 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7962 menu items into verb phrases (bug#1421). Also refill to fit under
7965 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7967 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7968 (Info-read-node-name): Doc fix (Bug#1084).
7970 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7971 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7972 (end-of-sexp, beginning-of-sexp)
7973 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7974 (forward-symbol, forward-same-syntax, word-at-point)
7975 (sentence-at-point): Doc fix (Bug#1144).
7977 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7979 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7980 should cover it (bug#1281).
7982 * cus-edit.el (custom-show): Mark as obsolete.
7984 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7985 negotiation fails, then possibly try again with a non-encrypted
7986 connection (bug#9017).
7988 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7991 2011-07-07 Richard Stallman <rms@gnu.org>
7993 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7994 property, and handle its changed format.
7995 Look for the correct line number.
7996 Use file's line contents (but not past first =) to find
7997 correct line in message.
7999 2011-07-07 Kenichi Handa <handa@m17n.org>
8001 * international/characters.el (build-unicode-category-table):
8003 (unicode-category-table): Set it by unicode-property-table-internal.
8005 * international/mule-cmds.el (char-code-property-alist): Move to
8007 (get-char-code-property): Call unicode-property-table-internal to
8008 load a file. Call get-unicode-property-internal where necessary.
8009 (put-char-code-property): Call unicode-property-table-internal to
8010 load a file. Call put-unicode-property-internal where necessary.
8011 put-unicode-property-internal where necessary.
8012 (char-code-property-description):
8013 Call unicode-property-table-internal to load a file.
8015 * international/charprop.el:
8016 * international/uni-bidi.el:
8017 * international/uni-category.el:
8018 * international/uni-combining.el:
8019 * international/uni-comment.el:
8020 * international/uni-decimal.el:
8021 * international/uni-decomposition.el:
8022 * international/uni-digit.el:
8023 * international/uni-lowercase.el:
8024 * international/uni-mirrored.el:
8025 * international/uni-name.el:
8026 * international/uni-numeric.el:
8027 * international/uni-old-name.el:
8028 * international/uni-titlecase.el:
8029 * international/uni-uppercase.el: Regenerate.
8031 * loadup.el: Load international/charprop.el before
8032 international/characters.
8034 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8036 * window.el (next-buffer, previous-buffer): Signal an error if
8037 called from a minibuffer window.
8039 * bindings.el: Revert 2011-07-04 change.
8041 2011-07-06 Richard Stallman <rms@gnu.org>
8043 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8044 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8045 Treat markers like ints.
8046 (rmail-mime-entity): Doc fix.
8048 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8051 defcustom again for backwards compatibility.
8053 * simple.el (shell-command-on-region): Fill.
8055 * dired-aux.el (dired-kill-line): Add a doc string.
8057 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8058 to "\\sw\\|\\s_" (bug#358).
8060 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8061 (dired-unmark-backward): Ditto.
8062 (dired-flag-backup-files): Ditto.
8064 * dired-x.el (dired-mark-sexp): Ditto.
8066 2011-07-06 Richard Stallman <rms@gnu.org>
8068 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8069 (rmail-mime-entity): New arg TRUNCATED.
8070 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8072 (rmail-mime-save): Warn if entity is truncated.
8073 (rmail-mime-toggle-hidden): Likewise, for showing.
8074 (rmail-mime-process-multipart): Record when an entity is truncated.
8076 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8077 if ENTITY is a string.
8079 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8082 of faces when `M-C-x'-ing their definitions (bug#8378).
8083 Also clean up the code slightly.
8085 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8086 because that makes the colors go away.
8088 * mail/sendmail.el (send-mail-function): Change the default to
8089 `sendmail-query-once'.
8090 (sendmail-query-once): Add an autoload cookie.
8092 * net/network-stream.el (network-stream-open-starttls): Try using
8093 a plain connection even if the server offered STARTTLS, and we
8094 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8095 capability. This should make smtpmail.el work in slightly more
8098 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8100 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8102 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8104 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8106 * progmodes/sql.el: Version 3.0
8107 (sql-product-alist): Add product :completion-object,
8108 :completion-column, and :statement attributes.
8109 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8110 (sql-mode-syntax-table): Mark all punctuation.
8111 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8113 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8114 (sql-mode-oracle-font-lock-keywords): Improve.
8115 (sql-oracle-show-reserved-words): New function for development.
8116 (sql-product-font-lock): Simplify for source code buffers.
8117 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8119 (sql-highlight-product): Set product specific syntax table.
8120 (sql-mode-map): Add statement movement functions.
8121 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8123 (sql-statement-regexp, sql-beginning-of-statement)
8124 (sql-end-of-statement, sql-signum): New functions.
8125 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8126 (sql-show-sqli-buffer): Bug fix.
8127 (sql-interactive-mode): Store connection data as buffer local.
8128 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8129 with sql-interactive-mode.
8130 (sql-save-connection): Save buffer local settings.
8131 (sql-connection-menu-filter): Change menu entry name.
8132 (sql-product-interactive): Bug fix.
8133 (sql-preoutput-hold): New variable.
8134 (sql-interactive-remove-continuation-prompt): Bug fixes.
8135 (sql-debug-redirect): New variable.
8136 (sql-str-literal): New function.
8137 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8139 (sql-oracle-save-settings, sql-oracle-restore-settings)
8140 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8141 (sql-completion-object, sql-completion-column)
8142 (sql-completion-sqlbuf): New variables.
8143 (sql-build-completions-1, sql-build-completions)
8144 (sql-try-completion): New functions.
8145 (sql-read-table-name): Use them.
8146 (sql-contains-names): New buffer local variable.
8147 (sql-list-all, sql-list-table): Use it.
8148 (sql-oracle-completion-types): New variable.
8149 (sql-oracle-completion-object, sql-sqlite-completion-object)
8150 (sql-postgres-completion-object): New functions.
8152 2011-07-06 Glenn Morris <rgm@gnu.org>
8154 * window.el (pop-to-buffer): Doc fix.
8156 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8158 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8160 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8162 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8164 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8166 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8168 * button.el (button): Inherit from link face. Suggested by Dan
8171 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8173 * progmodes/gdb-mi.el: Fit in 80 columns.
8174 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8177 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8178 if imenu is simply not configured (bug#8941).
8180 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8182 * allout.el (allout-post-undo-hook): New allout outline-change
8183 event hook to signal undo activity.
8184 (allout-post-command-business): Run allout-post-undo-hook if an
8186 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8187 * allout-widgets.el (allout-widgets-after-undo-function):
8188 Ensure the integrity of the current item's decoration after it has been
8189 in the vicinity of an undo.
8190 (allout-widgets-mode): Include allout-widgets-after-undo-function
8191 on the new allout-post-undo-hook.
8193 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8196 Let define-derived-mode define it.
8197 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8198 cycles of abbrev-table inheritance (bug#8998).
8200 2011-07-05 Roland Winkler <winkler@gnu.org>
8202 * textmodes/bibtex.el: Add support for biblatex.
8203 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8204 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8205 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8206 (bibtex-entry-alist, bibtex-field-alist): New variables.
8207 (bibtex-entry-field-alist): Obsolete alias for
8208 bibtex-BibTeX-entry-alist.
8209 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8210 (bibtex-set-dialect): New command.
8211 (bibtex-entry-type, bibtex-entry-head)
8212 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8213 Bind via bibtex-set-dialect.
8214 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8215 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8216 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8217 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8218 Define via bibtex-set-dialect.
8219 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8220 Obey bibtex-no-opt-remove-re.
8221 (bibtex-vec-push, bibtex-vec-incr): New functions.
8222 (bibtex-format-entry, bibtex-field-list)
8223 (bibtex-print-help-message, bibtex-validate)
8224 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8226 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * progmodes/compile.el (compilation-goto-locus):
8229 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8230 * bs.el (bs-cycle-next, bs-cycle-previous):
8231 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8232 * bindings.el (mode-line-other-buffer):
8233 * autoinsert.el (auto-insert):
8234 * arc-mode.el (archive-extract):
8235 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8237 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8239 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8240 Fix check of `emacs-lock-unlockable-modes'.
8241 Coerce true values of `emacs-lock--try-unlocking' to t.
8243 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8245 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8246 * emacs-lock.el: New file.
8248 2011-07-05 Julien Danjou <julien@danjou.info>
8250 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8251 than `boundp' to check if face is set.
8253 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8255 * register.el (registerv-make):
8256 * window.el (window-min-height): Fix typos in docstrings.
8258 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8260 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8263 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8265 * server.el (server-execute): Catch quit and call
8266 `server-return-error' to pass the error back to emacsclient and
8267 close the connection (bug#8942).
8269 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8271 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8272 insecure exception for current topic. Also note that auto-saves
8273 are handled differently.
8275 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8276 State variables for tracking auto-save inhibition situation.
8278 (allout-write-contents-hook-handler): Rename from
8279 'allout-write-file-hook-handler', and describe how it depends on
8280 write-contents-functions sensitivity to non-nil value to prevent
8283 (allout-auto-save-hook-handler): Remove. auto-save does not check
8284 this in individual buffers, only in the starting buffer, so this
8285 is not the right way for us to inhibit auto-save in a buffer
8286 according to its condition.
8288 (allout-mode): Use new allout-write-contents-hook-handler, and
8289 only with write-contents-functions. Remove auto-save provisions -
8290 they're implemented elsewhere.
8292 (allout-before-change-handler): If undo is in progress, note that
8293 for attention of allout-post-command-business.
8295 (allout-post-command-business): If the command we're following was
8296 an undo, check for change in the status of encrypted items and
8297 adjust auto-save inhibitions accordingly.
8299 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8300 according to whether there are or aren't any plain-text topics
8303 (allout-inhibit-auto-save-info-for-decryption):
8304 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8305 if there are plain-text topics pending encryption.
8307 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8308 buffer-saved-size and some allout state to not inhibit auto-saves
8309 if there are no longer any plain-text topics pending encryption.
8311 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8312 No longer provide for exemption of the current topic.
8314 2011-07-04 Juri Linkov <juri@jurta.org>
8316 Add 7z operations to delete and save changed members (bug#8968).
8317 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8319 (archive-7z-write-file-member): New function.
8320 (archive-7z-summarize): Fix the number of dashes in the
8323 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8325 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8328 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8330 * bindings.el: Ignore next-buffer and previous-buffer in
8331 minibuffer-local-map.
8333 * font-lock.el (font-lock-builtin-face): Change light background
8334 color to dark slate blue (Bug#6693).
8336 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8338 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8340 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8342 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8344 Add switch-to-buffer.
8346 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8348 * isearch.el (isearch-search-fun-function): Clarify further the
8349 meaning of the function returned.
8351 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8353 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8355 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8356 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8358 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8359 `tramp-default-remote-path' does not exist.
8360 (tramp-send-command-and-read): New optional argument NOERROR.
8361 (tramp-open-connection-setup-interactive-shell)
8362 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8363 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8364 (tramp-process-sentinel): Flush also process' connection property.
8365 (tramp-sh-handle-start-file-process): Do not set process
8366 sentinel. It is done now ...
8367 (tramp-maybe-open-connection): ... here. (Bug#8929)
8369 2011-07-04 MON KEY <monkey@sandpframing.com>
8371 * play/animate.el (animate-string): Doc fixes and allow changing
8372 the buffer name (bug#5417).
8374 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8376 * play/animate.el (animation-buffer-name): Rename from *animate*.
8378 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8380 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8381 This is simpler and helps future-proof the code.
8382 (timer-until): Use time-subtract and float-time.
8383 (timer--time-less-p): Use time-less-p.
8385 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8387 * type-break.el (timep): Use the value of `float-time' to avoid a
8388 byte-compiler warning.
8390 * server.el (server-eval-and-print): Return any result, even nil.
8392 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8394 * type-break.el: Accept time formats that the builtins accept.
8395 (timep, type-break-time-difference): Accept any format that
8396 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8397 This is simpler and helps future-proof the code.
8398 (type-break-time-difference): Round rather than ignoring
8399 subseconds components.
8401 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403 * info.el (Info-apropos-matches): Make non-interactive, since it
8404 doesn't seem to do anything useful as a command (bug#8829).
8406 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8408 * frame.el (frame-background-mode, frame-set-background-mode):
8410 (frame-default-terminal-background): New function.
8412 * custom.el (custom-push-theme): Don't record faces in `changed'
8413 theme; this doesn't work correctly for per-frame face settings.
8414 (disable-theme): Use face-set-after-frame-default to reset faces.
8415 (custom--frame-color-default): New function.
8417 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8419 * dired.el (dired-flagging-regexp): Remove unused variable
8422 2011-03-29 Kevin Ryde <user42@zip.com.au>
8424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8425 `perl-Test2' extend to match possible "fail #N" rep count
8428 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8430 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8431 `smtpmail-via-smtp' now returns the error instead of nil.
8433 * isearch.el (isearch-search-fun-function): Clarify the doc string
8436 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8438 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8439 unnecessary spaces (bug#8987).
8441 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443 * net/network-stream.el (open-network-stream): Use the
8444 :end-of-capability command thoughout.
8446 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8448 * net/network-stream.el (open-network-stream): Add the
8449 :end-of-capability command parameter, used by pop3.el.
8451 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8453 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8455 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8456 for list)" (bug#6475).
8458 * files.el (file-expand-wildcards): Ignore non-readable
8459 sub-directories while trying to find matches instead of signaling
8460 an error (bug#6297).
8462 * man.el (Man-reference-regexp): Allow matching possible
8463 word-wrapped references (bug#6289).
8465 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8466 for consistency with the other vc buffers (bug#6197).
8467 (vc-checkin): Ditto.
8469 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8471 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8473 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475 * custom.el (defcustom): Clarify that :set is only used in the
8476 Customize user interface (bug#6089).
8478 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8479 associated with a file, refuse to run instead of erroring out
8482 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8483 the doc string, since it appears that using `fill-column' always
8484 controls the width (bug#7845).
8486 * simple.el (shell-command-on-region): Say where the error output
8487 went if `shell-command-default-error-buffer' is set (bug#6857).
8489 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8491 * allout.el (allout-yank-processing): Adjust cursor position for
8492 backwards-deleted space.
8494 (allout-rebullet-heading): Register changes with
8495 allout-exposure-changed-hook, so the modified topic is properly
8498 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8500 * minibuffer.el (completion-in-region): Document PREDICATE
8503 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8504 of keyword/argument pairs (bug#6904).
8506 * replace.el (multi-occur):
8507 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8509 2011-07-02 Drew Adams <drew.adams@oracle.com>
8511 * dired.el (dired-mark-if): Make the message about whether it's
8512 marking or unmarking clearer (bug#8523).
8514 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8516 * disp-table.el (display-table-print-array): New function.
8517 (describe-display-table): Use it to print the vectors more pretty
8520 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8522 * window.el (window-state-get-1): Don't assign clone numbers.
8523 Add clone-of item to list of window parameters.
8524 (window-state-put-2): Don't process clone numbers.
8525 (display-buffer-alist): Fix doc-string.
8527 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * subr.el (remq): Don't allocate if it's not needed.
8530 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8531 (keymap--merge-bindings): New functions.
8532 (keymap-canonicalize): Use them to refine the canonicalization.
8533 * minibuffer.el (minibuffer-local-completion-map)
8534 (minibuffer-local-must-match-map): Move initialization from C.
8535 (minibuffer-local-filename-completion-map): Move initialization from C;
8536 don't inherit from anything here.
8537 (minibuffer-local-filename-must-match-map): Make obsolete.
8538 (completing-read-default): Use make-composed-keymap to combine
8539 minibuffer-local-filename-completion-map with either
8540 minibuffer-local-must-match-map or
8541 minibuffer-local-filename-completion-map.
8543 2011-07-01 Glenn Morris <rgm@gnu.org>
8545 * type-break.el (type-break-time-sum): Use dolist.
8547 * textmodes/flyspell.el (flyspell-word-search-backward):
8548 Replace CL function.
8550 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8552 * mouse.el (mouse--strip-first-event): New function.
8553 (function-key-map): Use it to map fringe clicks to normal clicks
8556 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8557 (vc-bzr-revision-completion-table): Add support for annotate and date.
8559 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8560 inherit from parent.
8562 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8564 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8565 (dired-show-file-type): Doc fixup (bug#8818).
8567 * dired.el (dired-mode): Fix up the doc string as suggested by
8568 Drew Adams (bug#8817).
8570 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8571 cookie, since the manual says that it should be possible to add
8572 this function to `find-file-hook' (bug#8709).
8574 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8576 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8577 here. Noted Ted Zlatanov as the maintainer.
8578 (cfengine-common-settings, cfengine-common-syntax): New functions
8579 to set up common things between `cfengine-mode' and
8581 (cfengine3-mode): New mode.
8582 (cfengine3-defuns cfengine3-defuns-regex
8583 (cfengine3-class-selector-regex cfengine3-category-regex)
8584 (cfengine3-vartypes cfengine3-font-lock-keywords)
8585 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8586 (cfengine3-indent-line): Add from cfengine3.el.
8588 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8590 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8592 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8594 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8596 * window.el (same-window-buffer-names, same-window-regexps)
8597 (same-window-p, special-display-frame-alist)
8598 (special-display-popup-frame, special-display-function)
8599 (special-display-buffer-names, special-display-regexps)
8600 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8601 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8602 (split-window-preferred-function, split-height-threshold)
8603 (split-width-threshold, even-window-heights)
8604 (display-buffer-mark-dedicated, window-splittable-p)
8605 (split-window-sensibly, window-safely-shrinkable-p):
8607 (display-buffer): Don't spread args with function specifier
8608 because special-display-popup-frame won't like it.
8610 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8612 Time-stamp simplifications and fixes.
8613 These improve accuracy slightly, and future-proof the code
8614 against some potential changes to current-time format.
8616 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8617 by using time-since and float-time.
8619 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8620 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8621 + NNN microseconds".
8623 * type-break.el (type-break-time-sum): Rewrite using time-add.
8625 * play/hanoi.el (hanoi-current-time-float): Remove.
8626 All uses replaced by float-time.
8628 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8629 This yields a more-accurate answer.
8630 (rng-time-to-float): Remove; no longer needed.
8632 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8634 * calendar/timeclock.el (timeclock-seconds-to-time):
8635 Defalias to seconds-to-time, since they're the same thing.
8637 * emacs-lisp/elp.el (elp-elapsed-time):
8638 * emacs-lisp/benchmark.el (benchmark-elapse):
8639 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8641 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8643 * window.el (bury-buffer): Don't iconify the only frame.
8644 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8645 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8647 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8649 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8650 Add mouse-yank-primary.
8652 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8654 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8656 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8658 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8659 (find-library-name): Use it to find relative load names when provided
8660 absolute file name (bug#8803).
8662 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664 * textmodes/flyspell.el (flyspell-word): Consider words that
8665 differ only in case as potential doublons (bug#5687).
8667 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8668 Remove two rather uninteresting debugging-like messages to make
8669 debbugs.el more silent.
8671 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8672 a password-like phrase.
8674 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8676 * progmodes/cc-guess.el: New file.
8678 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8680 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8681 derived from `c-basic-common-init'.
8683 * progmodes/cc-mode.el (top-level): Require cc-guess.
8684 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8686 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8688 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8690 2011-06-30 Alan Mackenzie <acm@muc.de>
8692 * progmodes/cc-engine.el (c-guess-continued-construct):
8693 Correct the handling of template-args-cont, particularly for when font
8694 lock is disabled. Name this case as "CASE G".
8696 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8698 * allout.el (allout-yank-processing): Fix injection of extra space
8699 between bullet and non-whitespace character in first topic when
8700 pasting, ensuring that the actual spacing in the pasted topic
8701 following the bullet char is preserved. This extra space was
8702 causing pasted encrypted topics to get a decrypted status even
8703 when the content was actually still encrypted. Now the decryption
8704 status from before the paste is preserved.
8706 (allout-flag-region): Set all allout overlays so they evaporate
8707 when reduced to zero length (evanescent), to prevent overlay
8710 2011-06-30 Glenn Morris <rgm@gnu.org>
8712 * w32-fns.el (w32-charset-info-alist): Declare.
8714 * find-dired.el (find-grep-options): Simplify.
8716 * term/ns-win.el (ns-set-resource): Declare.
8718 * ses.el (row, col): Declare dynamic variables honestly.
8720 * textmodes/reftex-parse.el (index-tags): Declare.
8722 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8724 * cus-edit.el (customize-push-and-save): New function.
8726 * files.el (hack-local-variables-confirm): Use it.
8728 * custom.el (load-theme): New arg NO-CONFIRM.
8729 Use customize-push-and-save (Bug#8720).
8730 (custom-enabled-themes): Doc fix.
8732 * cus-theme.el (customize-create-theme)
8733 (custom-theme-merge-theme): Callers to load-theme changed.
8735 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8737 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8738 short URLs have at least one dot in them (bug #7614).
8740 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8741 nil, because using a pty is apparently too slow (bug #895).
8743 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8745 * mail/sendmail.el (sendmail-query-once): New function.
8746 (sendmail-query-once-function): New variable.
8748 2011-06-29 Glenn Morris <rgm@gnu.org>
8750 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8752 * ses.el (top-level): Require cl when compiling.
8753 (ses-set-localvars): Fix error statement.
8754 Call it at compile time to silence a storm of warnings.
8756 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8758 * window.el (normalize-live-buffer): Rename to
8759 window-normalize-buffer.
8760 (normalize-live-frame): Rename to window-normalize-frame.
8761 (normalize-any-window): Rename to window-normalize-any-window.
8762 (normalize-live-window): Rename to window-normalize-live-window.
8763 (make-window-atom): Rename to window-make-atom.
8764 (window-resize-reset): Rename to window--resize-reset.
8765 (window-resize-reset-1): Rename to window--resize-reset-1.
8766 (resize-mini-window): Rename to window--resize-mini-window.
8767 (resize-subwindows-skip-p): Rename to
8768 window--resize-subwindows-skip-p.
8769 (resize-subwindows-normal): Rename to
8770 window--resize-subwindows-normal.
8771 (resize-subwindows): Rename to window--resize-subwindows.
8772 (resize-other-windows): Rename to window--resize-siblings.
8773 (resize-this-window): Rename to window--resize-this-window.
8774 (resize-root-window): Rename to window--resize-root-window.
8775 (resize-root-window-vertically): Rename to
8776 window--resize-root-window-vertically.
8777 (normalize-buffer-to-display): Rename to
8778 window-normalize-buffer-to-display.
8779 (normalize-buffer-to-switch-to): Rename to
8780 window-normalize-buffer-to-switch-to.
8781 Correspondingly update all callers of the functions listed
8783 (display-buffer-alist, display-buffer-normalize-arguments)
8784 (display-buffer-normalize-options, display-buffer)
8785 (display-buffer-alist-set): Use "function" instead of
8788 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8790 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8791 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8792 debbugs.gnu.org. Mention acknowledgment email.
8794 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8796 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8797 buffer multibyteness, since it shouldn't matter.
8799 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8801 * window.el (display-buffer-in-side-window): Handle dedicated
8802 windows as in display-buffer-reuse-window.
8803 (display-buffer-normalize-alist): Use value of override
8805 (display-buffer-normalize-specifiers): Use value of
8806 other-window-means-other-frame specifier.
8807 (display-buffer-alist): Rewrite some texts in widgets.
8808 (display-buffer): Spread arguments when calling function
8809 specified by fun-with-args.
8811 2011-06-28 Deniz Dogan <deniz@dogan.se>
8813 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8816 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8817 selectors (Bug#5732).
8818 (css-proprietary-nmstart-re): Use `regexp-opt'.
8820 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8822 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8823 (eshell-ls-date-format): New defcustom.
8824 (eshell-ls-file): Use it.
8826 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8830 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8832 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8833 (ange-ftp-make-tmp-name): New arg.
8834 (ange-ftp-file-local-copy): Use it.
8836 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8838 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8839 no-conversion (Bug#8870).
8841 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8843 * window.el (window-right, window-left, window-child)
8844 (window-child-count, window-last-child)
8845 (window-iso-combination-p, walk-window-tree-1)
8846 (window-atom-check-1, window-tree-1, delete-window)
8847 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8848 new naming conventions - window-vchild, window-hchild,
8849 window-next and window-prev are now called window-top-child,
8850 window-left-child, window-next-sibling and window-prev-sibling
8852 (resize-window-reset): Rename to window-resize-reset.
8853 (resize-window-reset-1): Rename to window-resize-reset-1.
8854 (resize-window): Rename to window-resize.
8855 (window-min-height, window-min-width)
8856 (resize-mini-window, resize-this-window, resize-root-window)
8857 (resize-root-window-vertically, adjust-window-trailing-edge)
8858 (enlarge-window, shrink-window, maximize-window)
8859 (minimize-window, delete-window, quit-restore-window)
8860 (split-window, balance-windows, balance-windows-area-adjust)
8861 (balance-windows-area, window-state-put-2)
8862 (display-buffer-even-window-sizes, display-buffer-set-height)
8863 (display-buffer-set-width, set-window-text-height)
8864 (fit-window-to-buffer): Rename all "resize-window" prefixed
8865 calls to use the "window-resize" prefix convention.
8866 (display-buffer-alist): Fix symbol for label specifier.
8867 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8868 corresponding specifier.
8869 Reported by Juanma Barranquero <lekktu@gmail.com>.
8871 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8873 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8875 (ses-call-printer): Does not pass an empty string to formatter when the
8876 cell is empty to keep from barking printer Calc math-format-value.
8878 2011-06-27 Richard Stallman <rms@gnu.org>
8880 * battery.el (battery-mode-line-limit): New variable.
8881 (battery-update): Handle it.
8883 * mail/rmailmm.el (rmail-mime-process-multipart):
8884 Handle truncated messages.
8886 2011-06-27 Glenn Morris <rgm@gnu.org>
8888 * progmodes/flymake.el (flymake-err-line-patterns):
8889 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8891 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8893 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8894 (ses--clean-!, ses--clean-_): New functions.
8895 (ses-range): Add configurability of readout order, and conversion
8898 * ses.el (ses-repair-cell-reference-all): New function.
8899 (ses-cell-symbol): Set macro as safe, so that it can be used in
8902 * ses.el: Update cycle detection algorithm.
8903 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8904 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8905 (ses-set-localvars): New function.
8906 (ses-make-cell): Add property-list as a cell element.
8907 (ses-cell-property-get-fun, ses-cell-property-get)
8908 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8909 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8911 (ses-cell-property-set, ses-cell-property-pop)
8912 (ses-cell-property-get-handle): New macro.
8913 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8914 New aliases, used for code readability.
8915 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8917 (ses-self-reference-early-detection): New defcustom.
8918 (ses-formula-references): Robustify against self-referring cells.
8919 (ses-mode): Use ses-set-localvars.
8920 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8921 before lauching the update processing.
8922 (ses-initialize-Dijkstra-attempt): New function.
8923 (ses-recalculate-cell): Update for cycle detection based on
8926 * ses.el: Fix commenting and indenting convention.
8928 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * bs.el (bs-cycle-next): Complete last change.
8932 2011-06-27 Drew Adams <drew.adams@oracle.com>
8934 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8936 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8938 * net/network-stream.el (network-stream-open-starttls):
8939 Don't re-get capabilities unless we've reestablished connection.
8940 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8942 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8943 to binary to possibly avoid line encoding issues on Windows (among
8946 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8948 * net/network-stream.el (open-network-stream): Return an :error
8949 saying what the problem was, if possible.
8951 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8954 * net/network-stream.el (network-stream-open-starttls): If we
8955 wanted to use STARTTLS, and the server offered it, but we weren't
8956 able to because we had no STARTTLS support, then close the connection.
8957 (open-network-stream): Return an :error element, if present.
8959 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8961 * hl-line.el (hl-line-sticky-flag): Doc fix.
8962 (global-hl-line-sticky-flag): New option (Bug#8323).
8963 (global-hl-line-highlight): Obey it.
8965 * vc/vc.el (vc-revert-show-diff): Default to t.
8967 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8969 * allout-widgets.el (allout-widgets-post-command-business):
8970 Stop decorating intermediate isearch matches. They're not being
8971 undecorated when an isearch is continued past, and isearch
8972 automatically collapses them. This leads to "widget leaks", where
8973 decorated items accumulate in collapsed areas. Lines with lots of
8974 hidden widgets can slow down cursor travel, substantially.
8975 Too much complicated machinery would be needed to ensure undecoration,
8976 so we're doing without this nicety.
8978 (allout-widgets-tally-string): Don't try to do a hash-table-count
8979 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8980 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8981 *Messages* when allout-widgets-maintain-tally is t.
8983 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8985 * window.el (display-buffer-normalize-argument): Rename to
8986 display-buffer-normalize-arguments. Handle special meaning of
8987 LABEL argument. Respect special-display-function when popping up
8988 a new frame. Fix code searching for a window showing the buffer
8990 (display-buffer-normalize-specifiers):
8991 Call display-buffer-normalize-arguments.
8992 (display-buffer-in-window): Don't undedicate the window if its
8993 buffer remains the same.
8994 Reported by Drew Adams <drew.adams@oracle.com>.
8995 (display-buffer-alist): Add choice for same-window macro
8997 (display-buffer): Mention special meaning of LABEL argument in
8998 doc-string. Fix quoting. Don't pop up a new frame even as
9001 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9003 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9004 avoid deleting the current window in some cases (bug#8911).
9006 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9008 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9011 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9013 * net/network-stream.el (network-stream-open-starttls):
9014 Use built-in TLS support if `gnutls-available-p' is true.
9015 (network-stream-open-tls): Ditto.
9017 2011-06-26 Leo Liu <sdl.web@gmail.com>
9019 * register.el (registerv): New struct.
9020 (registerv-make): New function.
9021 (jump-to-register, describe-register-1, insert-register):
9022 Support the jump-func, print-func and insert-func slot of a registerv
9025 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9027 * vc/vc.el (vc-revert-show-diff): New defcustom.
9028 (vc-diff-internal): New arg specifying diff buffer.
9029 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9030 reuse an existing *vc-diff* buffer (Bug#8927).
9032 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9034 2011-06-26 Glenn Morris <rgm@gnu.org>
9036 * progmodes/f90.el (f90-critical-indent): New option.
9037 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9038 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9039 (f90-mode): Doc fix.
9040 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9041 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9042 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9043 (f90-match-end): Handle block, critical.
9045 2011-06-25 Glenn Morris <rgm@gnu.org>
9047 * calendar/diary-lib.el (diary-included-files): Doc fix.
9048 (diary-include-files): New function, extracted from
9049 diary-include-other-diary-files and diary-mark-included-diary-files.
9050 (diary-include-other-diary-files, diary-mark-included-diary-files):
9051 Just call diary-include-files.
9052 (diary-mark-entries): Reset diary-included-files on first call.
9054 * calendar/diary-lib.el (diary-mark-entries)
9055 (diary-mark-included-diary-files):
9056 Visit included diary-files in temp buffers.
9058 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9059 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9060 (f90-start-block-re, f90-imenu-generic-expression)
9061 (f90-looking-at-program-block-start, f90-no-block-limit):
9062 Add support for submodules.
9064 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9065 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9067 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9069 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9070 buffer-file-type before setting its value, to avoid disastrous
9071 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9073 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9075 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9077 * ses.el (ses-unload-function):
9078 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9080 * proced.el (proced-unload-function):
9081 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9083 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9085 * server.el (server-create-window-system-frame): Add parameters arg.
9086 (server-process-filter): Doc fix. Handle frame-parameters.
9088 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9090 Fix bug#8730, bug#8781.
9092 * loadhist.el (unload--set-major-mode): New function.
9093 (unload-feature): Use it.
9095 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9096 (python-unload-function): New function.
9098 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9102 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9104 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9105 the candidates list.
9107 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9109 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9111 2011-06-23 Richard Stallman <rms@gnu.org>
9113 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9114 (rmail-variables): Set next-error-move-function.
9115 (rmail-what-message): Take argument POS.
9116 (rmail-next-error-move): New function.
9118 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9120 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9121 messages for adjacent non-terminals.
9123 2011-06-23 Richard Stallman <rms@gnu.org>
9125 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9126 (rmail-show-message-1): Preserve buffer modified flag.
9127 (rmail-start-mail): Don't specify use of rmail-mail-return;
9128 that's done by mail-bury now.
9129 (rmail-mail-return): Handle arg NEWBUF.
9131 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9133 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9136 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9138 * window.el (get-lru-window, get-mru-window)
9139 (get-largest-window): Never return a minibuffer window.
9140 (display-buffer-pop-up-window): Fix a bug that could lead to
9141 reusing the minibuffer window.
9142 (display-buffer): Pass original specifier argument to
9143 display-buffer-function instead of the normalized one.
9144 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9146 2011-06-22 Leo Liu <sdl.web@gmail.com>
9148 * minibuffer.el (completing-read-function)
9149 (completing-read-default): Move from minibuf.c
9151 2011-06-22 Richard Stallman <rms@gnu.org>
9153 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9154 to Rmail even if not started by a special Rmail command.
9156 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9157 Copy the buffer currently showing just one message.
9159 2011-06-22 Roland Winkler <winkler@gnu.org>
9161 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9162 (bibtex-clean-entry): First delete the old key so that a
9163 customized algorithm for generating the new key does not get
9164 confused by the old key.
9165 (bibtex-url): Obey regexp of first step.
9166 (bibtex-search-entries): Do not use add-to-list with local
9169 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9171 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9172 stored a user name, then query for the password first, instead of
9173 waiting for SMTP to give an error message and the trying again.
9175 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9177 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9178 BUFFER in call-process.
9180 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9182 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9184 (smtpmail-try-auth-methods): Require user name and password from
9187 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9189 * window.el (display-buffer-default-specifiers)
9190 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9191 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9192 (split-window): Normalize SIDE argument (Bug#8916).
9194 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9195 (special-display-frame-alist, special-display-popup-frame):
9196 Remove duplicate declarations. These are now in window.el.
9198 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9200 * mail/smtpmail.el (smtpmail-via-smtp):
9201 Set :use-starttls-if-possible so that we always use STARTTLS if the
9202 server supports it. SMTP servers that support STARTTLS commonly
9205 * net/network-stream.el (network-stream-open-starttls): Support
9206 upgrading to STARTTLS always, even if we don't have built-in support.
9207 (open-network-stream): Add the :always-query-capabilities keyword.
9209 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9210 upgrades with `open-network-stream', and rely solely on
9211 auth-source for all credentials. Big changes throughout the file,
9213 (smtpmail-auth-credentials): Remove.
9214 (smtpmail-starttls-credentials): Remove.
9215 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9218 * net/network-stream.el (network-stream-open-starttls):
9219 Provide support for client certificates both for external and built-in
9221 (auth-source): Require.
9222 (open-network-stream): Document the :client-certificate keyword.
9223 (network-stream-certificate): Change cert-cert to cert and
9226 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9228 * net/tramp-cache.el (top): Don't load the persistency file when
9229 "emacs -Q" has been called.
9231 2011-06-21 Tim Harper <timcharper@gmail.com>
9233 * term/ns-win.el (ns-initialize-window-system):
9234 Set application-specific `ApplePressAndHoldEnabled' system
9235 resource to NO as it is not yet supported by the NS port.
9237 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9239 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9240 (list-dynamic-libraries): ...not here.
9242 2011-06-21 Leo Liu <sdl.web@gmail.com>
9244 * subr.el (sha1): Implement sha1 using secure-hash.
9246 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9248 * window.el (display-buffer-alist): In default value do not
9249 enforce searching a window on any but the selected frame.
9250 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9251 (display-buffer-select-window): Remove function.
9252 (display-buffer-in-window): When a window on another frame gets
9253 reused, do not select it any more but just raise its frame if
9254 necessary (Bug#8851) and (Bug#8856).
9255 (display-buffer-normalize-options): Handle pop-up-frames related
9256 options more faithfully.
9257 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9258 window if it is on another frame.
9259 (display-buffer-alist, display-buffer-default-specifiers):
9260 Don't make new frame unsplittable by default.
9261 (display-buffer-normalize-argument): Fix doc-string typo and use
9262 'same-frame-other-window instead of 'other-window when associating
9263 with display-buffer-macro-specifiers.
9265 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9267 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9269 (5x5-mode-map, 5x5-mode-menu): Bind them.
9270 (5x5-draw-grid): Tweak the solver's rendering.
9272 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9275 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9277 2011-06-21 Drew Adams <drew.adams@oracle.com>
9279 * menu-bar.el: Use function variable instead of switch-to-buffer.
9280 (menu-bar-select-buffer-function): New variable.
9281 (menu-bar-update-buffers): Use it (bug#8876).
9283 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9285 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9288 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9290 * x-dnd.el (x-dnd-version-from-flags)
9291 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9292 and long as number (Bug#8899).
9293 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9295 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9297 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9298 (completion-try-completion, completion-all-completions): Compute the
9299 metadata argument if it's missing; make it optional (bug#8795).
9301 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9302 (widget-complete): Use new :completion-function property.
9303 (widget-completions-at-point): New function.
9304 (default): Use :completion-function instead of :complete.
9305 (widget-default-completions): Rename from widget-default-complete;
9307 (widget-string-complete, widget-file-complete, widget-color-complete):
9309 (file, symbol, function, variable, coding-system, color):
9310 * international/mule-cmds.el (default-input-method, charset)
9311 (language-info-custom-alist):
9312 * cus-edit.el (face): Use new property :completions.
9314 * progmodes/pascal.el (pascal-completions-at-point): New function.
9315 (pascal-mode): Use it.
9316 (pascal-mode-map): Use completion-at-point.
9317 (pascal-toggle-completions): Make obsolete.
9318 (pascal-complete-word, pascal-show-completions):
9319 * progmodes/octave-mod.el (octave-complete-symbol):
9320 Redefine as obsolete alias.
9321 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9322 Signal absence of completion info for old Octave,
9323 (inferior-octave-complete): Redefine as obsolete alias.
9324 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9325 (meta-completions-at-point): Rename from meta-complete-symbol and
9326 adapt it for use on completion-at-point-functions.
9327 (meta-common-mode): Use it.
9328 (meta-looking-at-backward, meta-match-buffer): Remove.
9329 (meta-complete-symbol): Redefine as obsolete alias.
9330 (meta-common-mode-map): Use completion-at-point.
9331 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9332 (makefile-mode-map): Use completion-at-point.
9333 (makefile-completions-at-point): Rename from makefile-complete and
9334 adapt it for use on completion-at-point-functions.
9335 (makefile-mode): Use it.
9336 (makefile-complete): Redefine as obsolete alias.
9338 2011-06-20 Deniz Dogan <deniz@dogan.se>
9340 * net/rcirc.el: Delete trailing whitespaces once and for all.
9342 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9344 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9346 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9348 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9350 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9352 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9354 * window.el (display-buffer-other-window-means-other-frame):
9355 Call display-buffer-normalize-alist.
9356 (display-buffer-normalize-specifiers-1): Rename to
9357 display-buffer-normalize-argument. New argument other-frame.
9359 (display-buffer-normalize-specifiers-2): Rename to
9360 display-buffer-normalize-options.
9361 (display-buffer-normalize-alist-1): New function.
9362 (display-buffer-normalize-specifiers-3): Rename to
9363 display-buffer-normalize-alist.
9364 Call display-buffer-normalize-alist-1.
9365 (display-buffer-normalize-options-inhibit): New variable.
9366 (display-buffer-normalize-specifiers): Rewrite calling
9367 display-buffer-normalize-alist,
9368 display-buffer-normalize-argument, and
9369 display-buffer-normalize-options. Don't call the latter if
9370 display-buffer-normalize-options-inhibit is non-nil.
9371 (frame-auto-delete): New option.
9372 (window-deletable-p): Use frame-auto-delete.
9373 (window-list-no-nils, window-state-ignored-parameters)
9374 (window-state-get-1, window-state-get, window-state-put-list)
9375 (window-state-put-1, window-state-put-2, window-state-put):
9377 (display-buffer-normalize-options): Move special-display-p group
9378 after pop-up-frame group (Bug#8851) and (Bug#8856).
9380 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9382 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9384 (rx-submatch-n): New function.
9387 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9390 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9392 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9394 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9395 anytime existing face settings are present (Bug#8889).
9397 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9398 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9399 Remove unused argument.
9401 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9403 * window.el (display-buffer-default-specifiers):
9404 Remove pop-up-frame. Add pop-up-window-min-height,
9405 pop-up-window-min-width, and another reuse-window specifier
9406 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9407 (display-buffer-normalize-specifiers-2):
9408 Handle split-height-threshold and split-width-threshold also when
9409 pop-up-windows is unset. Add a reuse-window specifier for the
9410 case popping up a new window fails.
9411 (special-display-popup-frame): Remove double quoting.
9412 (display-buffer-normalize-specifiers-1): Fix thinko.
9414 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9417 according to comint-completion-addsuffix.
9419 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9420 (pcomplete-suffix-list): Mark as obsolete.
9421 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9422 pcomplete-seen in the closure.
9423 (pcomplete-comint-setup): Setup completion-at-point as well.
9424 (pcomplete--entries): New function.
9425 (pcomplete--env-regexp): New var.
9426 (pcomplete-entries): Rewrite to work with partial-completion and
9427 without relying on pcomplete-suffix-list.
9428 (pcomplete-pare-list): Remove, unused.
9430 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9432 * window.el (display-buffer-alist): Set pop-up-window-min-height
9433 and pop-up-window-min-width in default value. Reported by
9434 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9435 other-window-means-other-frame.
9436 (display-buffer-macro-specifiers): Comment out entry for
9437 other-window specifier.
9438 (display-buffer-other-window-means-other-frame): New function.
9439 (display-buffer-normalize-specifiers-1): New arguments
9440 buffer-name and label. Treat other-window case specially.
9441 (display-buffer-normalize-specifiers-2): Treat other-window case
9443 (display-buffer-normalize-specifiers-3): New function.
9444 (display-buffer-normalize-specifiers):
9445 Call display-buffer-normalize-specifiers-3.
9447 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9449 * window.el (same-window-p): Fix two typos introduced when
9450 adding with-no-warnings.
9451 (display-buffer-normalize-specifiers-1): Don't check
9452 pop-up-frames for 'unset initialization.
9453 (display-buffer-normalize-specifiers-2): Major rewrite using
9454 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9455 (pop-up-frames, display-buffer-reuse-frames)
9456 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9457 Suggested by David Engster <deng@randomsample.de>.
9458 (even-window-heights): Initialize to 'unset.
9459 (display-buffer-alist-set): Handle new 'unset initializations.
9460 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9463 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9465 * window.el (display-buffer-normalize-specifiers-1):
9466 Respect current value of pop-up-frames for most reasonable values of
9467 second argument of display-buffer (Bug#8865).
9468 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9469 (switch-to-buffer-other-window-same-frame)
9470 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9472 (display-buffer): Don't check noninteractive when calling
9473 display-buffer-pop-up-frame.
9474 (display-buffer-pop-up-frame): Never pop up a frame in
9475 noninteractive mode (Bug#8857).
9476 (enlarge-window, shrink-window): Don't report an error when the
9477 window can't be resized as requested (Bug#8862).
9479 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9483 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9485 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9487 2011-06-15 Alan Mackenzie <acm@muc.de>
9489 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9490 for declarators, disable knr checking to speed up for normal files.
9491 2: Refactor, replacing a sequence of nested if forms by a cond form.
9493 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9495 * net/network-stream.el (open-network-stream): Add the keyword
9496 :always-query-capabilities for the case where you want to force a
9497 `plain' network connection, but the protocol still requires the
9498 capabilitiy command (i.e., SMTP and EHLO).
9500 * subr.el (process-live-p): Rename from `process-alive-p' for
9501 consistency with other `-live-p' functions.
9503 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9505 * window.el (same-window-buffer-names, same-window-regexps)
9506 (special-display-frame-alist, special-display-popup-frame)
9507 (special-display-function, special-display-buffer-names)
9508 (special-display-regexps, pop-up-frame-alist)
9509 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9510 (pop-up-windows, split-window-preferred-function)
9511 (split-height-threshold, split-width-threshold, even-window-heights)
9512 (display-buffer-mark-dedicated): Don't encourage the use of
9513 display-buffer-alist from Elisp code.
9515 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9517 * progmodes/python.el (python-mode): Derive from prog-mode.
9518 * progmodes/ps-mode.el (ps-mode):
9519 * progmodes/mixal-mode.el (mixal-mode):
9520 * progmodes/cfengine.el (cfengine-mode):
9521 * progmodes/ld-script.el (ld-script-mode): Likewise.
9523 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9525 * window.el (display-buffer-alist): Trim default value to avoid
9526 popping up a new frame (Bug#8857) or reusing an arbitrary window
9528 (display-buffer): Do not fall back on popping up a new frame in
9529 batch mode (Bug#8857).
9531 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9533 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9534 (custom-theme-summary): New function.
9535 (customize-themes): Use it.
9537 2011-06-13 Glenn Morris <rgm@gnu.org>
9539 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9541 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9543 * help.el (help-window): Remove variable.
9544 (help-window-point-marker, temp-buffer-max-height)
9545 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9546 (help-print-return-message): Don't set help-window.
9547 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9548 (help-window-setup-finish): Remove.
9549 (help-window-display-message, help-window-setup)
9550 (with-help-window): Major rewrite based on new
9551 display-buffer-window variable.
9553 * help-mode.el (help-mode-finish): Remove help-window related
9556 * view.el (view-exits-all-viewing-windows): Remove reference to
9557 view-return-to-alist in doc-string.
9558 (view-return-to-alist): Make obsolete.
9559 (view-buffer): Call pop-to-buffer-same-window and remove
9561 (view-buffer-other-window): Call pop-to-buffer-other-window and
9562 simplify code. Ignore second argument.
9563 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9564 simplify code. Ignore second argument.
9565 (view-return-to-alist-update): Make obsolete.
9566 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9567 Rewrite using quit-restore window parameters.
9568 (view-mode-exit): Rename second argument to EXIT-ONLY.
9569 Rewrite using quit-restore-window.
9570 (View-exit, View-exit-and-edit, View-leave, View-quit)
9571 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9572 appropriate arguments.
9573 (view-end-message): Use quit-restore window parameter.
9575 * window.el (display-buffer-function): Rewrite doc-string.
9576 (display-buffer-window, display-buffer-alist): New variables.
9577 (display-buffer-split-specifiers)
9578 (display-buffer-side-specifiers)
9579 (display-buffer-macro-specifiers): New constants.
9580 (display-buffer-even-window-sizes, display-buffer-set-height)
9581 (display-buffer-set-width, display-buffer-select-window)
9582 (display-buffer-in-window, display-buffer-reuse-window)
9583 (display-buffer-split-window-1, display-buffer-split-window)
9584 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9585 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9586 (display-buffer-in-side-window, normalize-buffer-to-display)
9587 (display-buffer-normalize-specifiers-1)
9588 (display-buffer-normalize-specifiers-2)
9589 (display-buffer-normalize-specifiers, display-buffer-frame):
9591 (display-buffer): Major rewrite.
9592 (display-buffer-other-window, display-buffer-other-frame)
9593 (pop-to-buffer, switch-to-buffer-other-window)
9594 (switch-to-buffer-other-frame): Rewrite.
9595 (display-buffer-same-window, display-buffer-same-frame)
9596 (display-buffer-same-frame-other-window)
9597 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9598 (pop-to-buffer-other-window)
9599 (pop-to-buffer-same-frame-other-window)
9600 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9601 (switch-to-buffer-other-window-same-frame): New functions.
9602 (same-window-p, special-display-p): Rewrite disabling warnings.
9604 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9605 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9607 (same-window-buffer-names, same-window-regexps)
9608 (special-display-frame-alist, special-display-popup-frame)
9609 (special-display-function, special-display-buffer-names)
9610 (special-display-regexps, pop-up-frame-alist)
9611 (pop-up-frame-function, split-window-preferred-function)
9612 (split-height-threshold, split-width-threshold)
9613 (even-window-heights): Make obsolete.
9615 2011-06-12 Glenn Morris <rgm@gnu.org>
9617 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9618 Misc simplifications.
9620 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9622 * window.el (window-safely-shrinkable-p): Restore function which
9623 was inadvertently removed in change from 2011-06-11. Declare as
9626 * calendar/calendar.el (calendar-generate-window):
9627 Use window-iso-combined-p instead of combination of one-window-p and
9628 window-safely-shrinkable-p.
9630 2011-06-12 Glenn Morris <rgm@gnu.org>
9632 * progmodes/fortran.el (fortran-mode-syntax-table):
9633 * progmodes/f90.el (f90-mode-syntax-table):
9634 Set % to punctuation. (Bug#8820)
9635 (f90-find-tag-default): Remove, no longer needed.
9637 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9639 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9641 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9643 * image.el (image-animated-p): Return animation delay in seconds.
9644 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9645 (image-animate-timeout): Remove DELAY argument. Don't assume
9646 every subimage has the same delay; get it from image-animated-p.
9647 (image-animate): Caller changed.
9649 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9651 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9652 to ignored backtrace functions.
9654 2011-06-11 Glenn Morris <rgm@gnu.org>
9656 * calendar/appt.el (appt-disp-window-function): Doc fix.
9657 (appt-check): Handle overlapping appointments. (Bug#8337)
9659 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9661 * window.el (window-tree-1, window-tree): New functions, moving
9662 the latter to window.el.
9663 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9664 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9665 (bw-refresh-edges): Remove.
9666 (balance-windows-1, balance-windows-2): New functions.
9667 (balance-windows): Rewrite in terms of window tree functions,
9668 balance-windows-1 and balance-windows-2.
9669 (bw-adjust-window): Remove.
9670 (balance-windows-area-adjust): New function with functionality of
9671 bw-adjust-window but using resize-window.
9672 (set-window-text-height): Rewrite doc-string.
9673 Use normalize-live-window and resize-window.
9674 (enlarge-window-horizontally, shrink-window-horizontally):
9675 Rename argument to DELTA.
9676 (window-buffer-height): New function.
9677 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9678 Rewrite using new window resize routines.
9679 (kill-buffer-and-window, mouse-autoselect-window-select):
9680 Use ignore-errors instead of condition-case.
9681 (quit-window): Call delete-frame instead of delete-windows-on
9682 for the only buffer on frame.
9684 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9686 * loadup.el (top-level): Load window before files for the sake
9687 of replace-buffer-in-windows.
9689 * files.el (read-buffer-to-switch)
9690 (switch-to-buffer-other-window)
9691 (switch-to-buffer-other-frame, display-buffer-other-frame):
9694 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9695 (previous-buffer): Move to window.el.
9697 * bindings.el (unbury-buffer): Move to window.el.
9699 * window.el (delete-other-windows-vertically): Move after
9700 definition of delete-other-windows.
9701 (other-window, delete-windows-on, replace-buffer-in-windows):
9702 Move here from window.c.
9703 (record-window-buffer, unrecord-window-buffer)
9704 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9705 (switch-to-next-buffer): New functions.
9706 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9707 from simple.el. Call switch-to-next-buffer.
9708 (previous-buffer): Move here from simple.el.
9709 Call switch-to-prev-buffer.
9710 (bury-buffer): Move here from buffer.c. Switch to previous
9711 buffer when window cannot be deleted.
9712 (unbury-buffer): Move here from bindings.el.
9713 (ctl-x-map): Move binding for other-window from window.c to
9715 (read-buffer-to-switch, switch-to-buffer-other-window)
9716 (switch-to-buffer-other-frame): Move here from files.el.
9717 (normalize-buffer-to-switch-to): New functions.
9718 (switch-to-buffer): Move here from buffer.c.
9719 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9721 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9723 * window.el (window-min-height, window-min-width): Move here
9724 from window.c. Add defcustoms and rewrite doc-strings.
9725 (resize-mini-window, resize-window): New functions.
9726 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9727 Move here from window.c.
9728 (maximize-window, minimize-window): New functions.
9729 (delete-window, delete-other-windows, split-window): Move here
9731 (window-split-min-size): New function.
9732 (split-window-keep-point): Mention split-window-above-each-other
9733 instead of split-window-vertically.
9734 (split-window-above-each-other, split-window-vertically):
9735 Rename split-window-vertically to split-window-above-each-other
9736 and provide defalias for old definition.
9737 (split-window-side-by-side, split-window-horizontally):
9738 Rename split-window-horizontally to split-window-side-by-side
9739 and provide defalias for the old definition.
9740 (ctl-x-map): Move bindings for delete-window,
9741 delete-other-windows and enlarge-window here from window.c.
9742 Replace bindings for split-window-vertically and
9743 split-window-horizontally by bindings for
9744 split-window-above-each-other and split-window-side-by-side.
9746 * cus-start.el (all): Remove entries for window-min-height and
9747 window-min-width. Add entries for window-splits and
9750 2011-06-09 Glenn Morris <rgm@gnu.org>
9752 * calendar/appt.el (appt-mode-line): New function.
9753 (appt-check, appt-disp-window): Use it.
9755 * files.el (hack-one-local-variable-eval-safep):
9756 Allow minor-modes with explicit +/-1 arguments.
9758 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9760 * term/xterm.el (xterm): Add defgroup.
9761 (xterm-extra-capabilities): Add defcustom to supply known xterm
9762 capabilities, skip querying them, or query them (default).
9763 (terminal-init-xterm): Use it.
9764 (terminal-init-xterm-modify-other-keys): New function to set up
9765 modifyOtherKeys support to simplify `terminal-init-xterm'.
9767 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9769 * window.el (resize-window-reset, resize-window-reset-1)
9770 (resize-subwindows-skip-p, resize-subwindows-normal)
9771 (resize-subwindows, resize-other-windows, resize-this-window)
9772 (resize-root-window, resize-root-window-vertically)
9773 (window-deletable-p, window-or-subwindow-p)
9774 (frame-root-window-p): New functions.
9776 2011-06-09 Glenn Morris <rgm@gnu.org>
9778 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9779 (ange-ftp-get-files): Use it.
9781 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9783 * mail/sendmail.el (mail-recover-1, mail-recover):
9784 * files.el (recover-file, recover-session):
9785 Handle dired-listing-switches not being just a single short option.
9787 2011-06-09 Glenn Morris <rgm@gnu.org>
9789 * calendar/appt.el (appt-display-message, appt-disp-window):
9790 Handle lists of appointments.
9792 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9794 * window.el (one-window-p): Move down in code.
9796 (window-current-scroll-bars): Rewrite doc-string.
9797 Normalize live window argument.
9798 (walk-windows, get-window-with-predicate, count-windows):
9799 Rewrite doc-string. Use window-list-1.
9800 (window-in-direction-2, window-in-direction, get-mru-window):
9803 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9805 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9808 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9810 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9812 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9814 * loadhist.el (unload-feature-special-hooks):
9815 Add `comint-output-filter-functions'.
9817 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9819 * calendar/appt.el (appt-check): Move some initializations into the let.
9821 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9823 * window.el (window-height): Defalias to window-total-height.
9824 (window-width): Defalias to window-body-width.
9826 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9828 * image-mode.el (image-toggle-animation): New command.
9829 (image-mode-map): Bind it to RET.
9830 (image-mode): Update message.
9831 (image-toggle-display-image): Avoid a spurious cache flush.
9832 (image-transform-rotation): Doc fix.
9833 (image-transform-properties): Return quickly in the normal case.
9834 (image-animate-loop): Rename from image-animate-max-time.
9836 * image.el (image-animate-max-time): Move to image-mode.el.
9837 (create-animated-image): Remove unnecessary function.
9838 (image-animate): Rename from image-animate-start. New arg.
9839 (image-animate-stop): Remove; just use image-animate-timer.
9840 (image-animate-timer): Use car-safe.
9841 (image-animate-timeout): Rename argument.
9843 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9845 * window.el (get-lru-window, get-largest-window): Move here from
9846 window.c. Rename first argument to ALL-FRAMES.
9847 Rephrase doc-strings.
9848 (get-buffer-window-list): Rewrite using window-list-1.
9849 Rephrase doc-string.
9850 (window-safe-min-height, window-safe-min-width): New constants.
9851 (window-size-ignore, window-min-size, window-min-size-1)
9852 (window-sizable, window-sizable-p, window-size-fixed-1)
9853 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9854 (window-max-delta-1, window-max-delta, window-resizable)
9855 (window-resizable-p, window-total-height, window-total-width)
9856 (window-body-width): New functions.
9857 (window-full-height-p, window-full-width-p): Rewrite using
9859 (window-body-height): Rewrite using window-body-size.
9861 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9863 * window.el (window-right, window-left, window-child)
9864 (window-child-count, window-last-child, window-any-p)
9865 (normalize-live-buffer, normalize-live-frame)
9866 (normalize-any-window, normalize-live-window)
9867 (window-iso-combination-p, window-iso-combined-p)
9868 (window-iso-combinations)
9869 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9870 (windows-with-parameter, window-with-parameter)
9871 (window-atom-root, make-window-atom, window-atom-check-1)
9872 (window-atom-check, window-side-check, window-check):
9874 (ignore-window-parameters, window-sides, window-sides-vertical)
9875 (window-sides-slots): New variables.
9876 (window-size-fixed): Move down in code. Minor doc-string fix.
9878 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9880 * comint.el (comint-dynamic-complete-as-filename)
9881 (comint-dynamic-complete-filename): Correctly call
9882 completion-in-region.
9884 2011-06-05 Deniz Dogan <deniz@dogan.se>
9886 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9889 2011-06-05 Deniz Dogan <deniz@dogan.se>
9891 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9892 (rcirc): Use it to prompt for encryption.
9894 2011-06-05 Roland Winkler <winkler@gnu.org>
9896 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9897 (bibtex-search-entries): New command bound to C-c C-a.
9898 (bibtex-display-entries): New function.
9900 2011-06-05 Roland Winkler <winkler@gnu.org>
9902 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9903 (bibtex-insert-kill): After yanking insert newline if necessary.
9904 (bibtex-initialize): Call bibtex-string-files-init only once.
9905 (bibtex-mode): Do not call easy-menu-add.
9906 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9907 (bibtex-yank): Set arg properly if nil.
9909 2011-06-05 Roland Winkler <winkler@gnu.org>
9911 * textmodes/bibtex.el (bibtex-search-entry-globally):
9913 (bibtex-search-entry): Use it.
9915 2011-06-05 Roland Winkler <winkler@gnu.org>
9917 * textmodes/bibtex.el (bibtex-entry-format): New option
9919 (bibtex-format-entry, bibtex-reformat): Honor this option.
9920 (bibtex-parse-entry): Return fields in proper order.
9922 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9924 * doc-view.el (doc-view-remove-if): Move computation of result out
9925 of `dolist' to silence misleading lexical-binding warning.
9927 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9929 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9930 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9932 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9934 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9937 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9939 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9940 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9941 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9942 (tramp-parse-putty):
9943 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9944 (tramp-completion-function-alist-ssh)
9945 (tramp-completion-function-alist-telnet)
9946 (tramp-completion-function-alist-su)
9947 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9952 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9953 load "tramp.el" `tramp-set-completion-function'.
9955 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * shell.el: Require and use pcomplete.
9958 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9959 (shell-completion-vars): Set pcomplete-default-completion-function.
9961 2011-06-04 Deniz Dogan <deniz@dogan.se>
9963 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9966 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9970 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9972 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9973 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9974 * vc/log-view.el (log-view-beginning-of-defun):
9975 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9976 (smerge-refine-forward, smerge-refine-chopup-region):
9977 Silence warning for unused `dotimes' counter variables.
9979 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9981 * net/tramp.el (tramp-with-progress-reporter): Rename from
9982 with-progress-reporter. Use `declare'.
9985 * net/tramp-gvfs.el: Update all uses.
9987 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9989 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9990 buffer isn't killed before making it current.
9992 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9994 Silence various byte-compiler warnings.
9995 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9996 `access-type' and new obsolescence format.
9997 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9999 (byte-compile-check-variable): New `access-type' argument.
10000 Only warn if the access-type is obsolete.
10001 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10002 (byte-compile-variable-set): Adjust callers.
10003 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10004 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10005 setting it as obsolete.
10006 * simple.el (minibuffer-completing-symbol):
10007 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10008 access as obsolete.
10009 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10011 * international/quail.el (quail-mouse-choose-completion): Remove unused
10012 code referring to obsolete var.
10013 (quail-choose-completion-string): Remove.
10014 * server.el (server-clients-with, server-kill-buffer-query-function)
10015 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10016 * proced.el (proced-send-signal):
10017 * emacs-lisp/lisp.el (lisp-complete-symbol):
10018 Replace completion-annotate-function with completion-extra-properties.
10020 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10022 * simple.el (goto-line): Use read-number.
10023 (overriding-map-is-bound): Remove.
10024 (saved-overriding-map): Change default.
10025 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10026 Take the map as argument.
10027 (universal-argument, negative-argument, digit-argument): Use it.
10028 (restore-overriding-map): Adjust.
10029 (do-auto-fill): Use fill-forward-paragraph.
10030 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10032 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10033 (minibuffer-inactive-mode): New major mode.
10034 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10035 the *Messages* buffer" hack.
10036 (mouse-popup-menubar): Don't burp if the event is a normal key.
10038 Miscellaneous tweaks.
10039 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10040 lexical scoping as in subr.el's dolist and dotimes.
10041 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10042 Silence compiler warning.
10043 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10044 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10045 * international/ccl.el (ccl-compile): Trivial simplification.
10046 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10047 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10048 `printflag' argument.
10049 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10050 Purecopy the whole obsolescence data.
10052 2011-06-01 Leo Liu <sdl.web@gmail.com>
10054 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10055 improve doc-string as suggested by Marco Pessotto
10056 <melmothx@gmail.com>.
10057 (rcirc-print): Fix last change.
10059 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10061 * minibuffer.el (complete-with-action): Return nil for the metadata and
10062 boundaries of non-functional tables.
10063 (completion-table-dynamic): Return nil for the metadata.
10064 (completion-table-with-terminator): Add default case, using
10065 complete-with-action.
10066 (completion--metadata): New function.
10067 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10068 to try and avoid pathological performance problems.
10069 (completion--embedded-envvar-table): Return `category' metadata.
10071 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10073 * subr.el (process-alive-p): New tiny convenience function.
10075 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10077 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10078 content but also its previous major mode.
10080 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10082 * emacs-lisp/debug.el (debug): Restore the previous content of the
10083 *Backtrace* buffer when we exit with C-M-c.
10085 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * minibuffer.el: Add metadata method to completion tables.
10088 (completion-category-overrides): New defcustom.
10089 (completion-metadata, completion--field-metadata)
10090 (completion-metadata-get, completion--styles)
10091 (completion--cycle-threshold): New functions.
10092 (completion-try-completion, completion-all-completions):
10093 Add `metadata' argument to choose completion-styles.
10094 (completion--do-completion): Use metadata to choose cycling.
10095 (completion-all-sorted-completions): Use metadata for sorting.
10096 Remove :completion-cycle-penalty which is not needed any more.
10097 (completion--try-word-completion): Add `metadata' argument.
10098 (minibuffer-completion-help): Check metadata for annotation function
10100 (completion-file-name-table): Return `category' metadata.
10101 (minibuffer-completing-file-name): Make obsolete.
10102 * simple.el (minibuffer-completing-symbol): Make obsolete.
10103 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10104 completion-try-completion.
10106 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10110 2011-05-30 Leo Liu <sdl.web@gmail.com>
10112 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10113 (rcirc-print): Decode all incoming messages (bug#8744).
10114 (rcirc-decode-coding-system): Allow value nil for automatic coding
10117 2011-06-01 Glenn Morris <rgm@gnu.org>
10119 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10121 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10123 * image.el (image-animate-max-time): Allow nil and t values.
10125 (create-animated-image): Doc fix.
10126 (image-animate-start): Remove second arg; just use
10127 image-animate-max-time.
10128 (image-animate-timeout): Doc fix. Args changed.
10130 * image-mode.el (image-toggle-display-image): Ensure that the
10131 image spec passed to the animate timer is the same object as in
10132 the buffer's display property (Bug#6981).
10133 (image-transform-properties): Doc fix.
10135 * image.el (image-animate-max-time): Default to nil.
10137 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10139 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10140 entire buffer list (Bug#8184).
10142 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10144 * image.el (imagemagick-types-inhibit)
10145 (imagemagick-register-types): Doc fix.
10147 2011-05-29 Deniz Dogan <deniz@dogan.se>
10149 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10152 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10154 * select.el: Don't perform clipboard-manager saving in hooks;
10155 leave the hooks empty.
10157 2011-05-28 Leo Liu <sdl.web@gmail.com>
10159 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10160 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10161 (occur-edit-mode): New major mode (Bug#8463).
10162 (occur-after-change-function): New function.
10163 (occur-engine): Give Occur tags a read-only property.
10165 2011-05-28 Kevin Ryde <user42@zip.com.au>
10167 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10169 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10171 * bindings.el (help-echo): Make the initial non-indicator dash
10172 empty on graphical terminals (Bug#7295).
10174 * files.el (auto-mode-alist): Move config rule after the
10175 in-stripping one (Bug#8547).
10177 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10179 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10180 setting (Bug#8740).
10182 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10184 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10185 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10188 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10190 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10192 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10194 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10195 (hs-hide-block-at-point, hs-find-block-beginning)
10196 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10199 2011-05-28 Glenn Morris <rgm@gnu.org>
10201 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10203 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10205 * help-fns.el (describe-function-1): If the function is a derived
10206 major mode, print the parent mode.
10208 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10209 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10211 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10213 * minibuffer.el (completion--capf-wrapper): Check applicability before
10214 returning non-nil for non-exclusive completion data.
10215 * progmodes/etags.el (tags-completion-at-point-function):
10216 * info-look.el (info-lookup-completions-at-point): Mark as
10218 (info-complete): Adjust accordingly.
10220 * info-look.el: Convert to lexical-binding and completion-at-point.
10221 (info-lookup-completions-at-point): New function.
10222 (info-complete): Use it and completion-in-region.
10224 2011-05-28 Drew Adams <drew.adams@oracle.com>
10226 * isearch.el: Let M-e start with point at the first mismatched char.
10227 (isearch-fail-pos): New function.
10228 (isearch-edit-string): Use it.
10230 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10232 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10234 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10236 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10237 traversal functions for avl-trees.
10238 (avl-tree--stack): New struct.
10239 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10240 (avl-tree-enter): Add optional `updatefun' arg.
10241 (avl-tree--do-enter): Add optional `updatefun' arg.
10242 Change return value.
10243 (avl-tree-delete): Add optional `test' and `nilflag' args.
10244 (avl-tree--do-delete): Add `test' and `nilflag' args.
10245 Change return value.
10246 (avl-tree-member): Add optional `nilflag'
10247 (avl-tree-member-p): New function.
10248 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10249 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10250 (avl-tree-stack-empty-p): New functions.
10252 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10253 avl-tree--del-balance1 and make it work both ways.
10254 (avl-tree--del-balance2): Remove.
10255 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10256 make it work both ways.
10257 (avl-tree--enter-balance2): Remove.
10258 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10260 (avl-tree--mapc, avl-tree-map): Add direction argument.
10262 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10264 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10266 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10268 * select.el: Support clipboard managers with built-in function
10269 x-clipboard-manager-save, via delete-frame-functions and
10271 (xselect-convert-to-targets): Add MULTIPLE target to list.
10272 (xselect-convert-to-save-targets): New function.
10274 2011-05-27 Kenichi Handa <handa@m17n.org>
10276 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10277 let-binding rfc2047-encode-encoded-words to nil.
10279 2011-05-27 Glenn Morris <rgm@gnu.org>
10281 * mail/emacsbug.el: Don't require url-util.
10283 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10285 * files.el (set-auto-mode):
10286 Also respect mode: entries at the end of the file. (Bug#8586)
10288 2011-05-26 Glenn Morris <rgm@gnu.org>
10290 * files.el (hack-local-variables-prop-line, hack-local-variables):
10291 Downcase mode names, as seems to be traditional.
10292 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10294 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10295 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10297 2011-05-25 Julien Danjou <julien@danjou.info>
10299 * textmodes/rst.el (rst-define-level-faces): Do not define face
10300 symbol if it is already defined.
10302 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10304 * play/5x5.el (5x5-new-game, 5x5-randomize):
10305 Reset 5x5-solver-output to nil when a new grid is cast.
10306 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10307 these debugging traces, as defmacro breaks the compiled code.
10309 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10311 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10313 2011-05-24 Leo Liu <sdl.web@gmail.com>
10315 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10316 (vc-bzr-sha1): Adapt.
10318 * sha1.el: Remove. Function `sha1' is now builtin.
10320 * bindings.el: Provide sha1 feature.
10322 2011-05-24 Kenichi Handa <handa@m17n.org>
10324 * mail/sendmail.el: Require `rfc2047'.
10325 (mail-insert-from-field): Do not perform RFC2047 encoding.
10326 (mail-encode-header): New function.
10327 (sendmail-send-it): Set buffer-file-coding-system of the work
10328 buffer to the return value of select-message-coding-system.
10329 Call mail-encode-header.
10331 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10333 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10335 * mail/supercite.el (sc-default-cite-frame):
10336 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10338 2011-05-24 Glenn Morris <rgm@gnu.org>
10340 * progmodes/python.el (brm-menu): Declare.
10342 * emulation/viper.el (viper-set-hooks): Declare.
10344 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10345 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10346 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10347 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10348 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10349 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10351 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10353 Add an :exit-function for completion-at-point.
10355 * minibuffer.el (completion--done): New fun.
10356 (completion--do-completion): Use it. New arg `expect-exact'.
10357 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10358 since completion--do-completion does it for us now.
10359 (minibuffer-force-complete): Use completion--done and
10360 completion--replace. Handle sole-completion case with more care.
10361 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10362 (completion-extra-properties): New var.
10363 (completion-annotate-function): Make obsolete.
10364 (minibuffer-completion-help): Adjust accordingly.
10365 Use completion-list-insert-choice-function.
10366 (completion-at-point, completion-help-at-point):
10367 Bind completion-extra-properties.
10368 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10369 * simple.el (completion-list-insert-choice-function): New var.
10370 (completion-setup-function): Preserve it.
10371 (choose-completion): Pay attention to it, shuffle the code a bit.
10372 (choose-completion-string): New arg `insert-function'.
10374 * textmodes/bibtex.el: Convert to lexical binding.
10375 (bibtex-mode-map): Use completion-at-point.
10376 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10377 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10378 (bibtex-complete): Define as obsolete alias.
10379 (bibtex-complete-internal): Remove.
10380 (bibtex-format-entry): Remove unused sub-group in regexp.
10381 * shell.el (shell--command-completion-data)
10382 (shell-environment-variable-completion):
10383 * pcomplete.el (pcomplete-completions-at-point):
10384 * comint.el (comint--complete-file-name-data): Use :exit-function
10385 instead of completion-table-with-terminator so it also works for
10388 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10392 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10395 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10397 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10399 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10400 customization variable and implement: If non-nil, auto-fill will
10401 be inhibited while on topic's header line.
10403 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10405 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10406 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10407 always have a solution in grid size = 5 cases.
10408 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10409 (5x5-solver-output, 5x5-log-buffer): New vars.
10410 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10411 Make these variables buffer local to achieve 5x5 multi-session-ness.
10412 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10413 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10414 (5x5-solve-suggest): New funs.
10415 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10416 randomize a grid so that we ensure that there is always a solution.
10417 (5x5-make-random-grid): Allow other movement than flipping.
10419 2011-05-23 Kevin Ryde <user42@zip.com.au>
10421 * emacs-lisp/advice.el (ad-read-advised-function):
10422 Use `function-called-at-point' as the default, if it has
10423 advice and passes PREDICATE.
10425 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10428 byte-compile-lambda if it's actually a lambda.
10430 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10431 Fix function quoting. Use backquote better.
10433 2011-05-22 Yuanle Song <sylecn@gmail.com>
10435 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10436 matching (Bug#8516).
10438 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10440 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10441 different face (Bug#8178).
10443 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10445 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10446 defface (Bug#8144).
10448 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10451 funcall as well (bug#8712). Warn when performing those conversions.
10452 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10454 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10456 2011-05-22 Glenn Morris <rgm@gnu.org>
10458 * files.el (hack-local-variables-prop-line): Small simplifications.
10459 (hack-local-variables, hack-local-variables-prop-line):
10460 If MODE-ONLY, return the mode, rather than just `t'.
10462 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10464 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10466 2011-05-21 Glenn Morris <rgm@gnu.org>
10468 * files.el (hack-local-variables-prop-line, hack-local-variables):
10469 If only interested in the mode, don't bother doing the other stuff.
10471 * image-mode.el (image-after-revert-hook):
10472 Redraw all frames on which the image is visible. (Bug#8567)
10474 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10476 * wid-edit.el (widget-checklist-match-inline):
10477 Fix 2011-04-19 change. (Bug#8649)
10479 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10482 Also allow singlespace after single-letter capitals followed by a dot.
10484 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10485 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10487 2011-05-20 Nix <nix@esperi.org.uk>
10489 * files.el (basic-save-buffer-2):
10490 Fix handling of break-hardlink-on-save with non-existent files.
10492 2011-05-19 Deniz Dogan <deniz@dogan.se>
10494 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10495 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10497 2011-05-19 Glenn Morris <rgm@gnu.org>
10499 * progmodes/f90.el (f90-type-def-re):
10500 Handle "type, bind(c)". (Bug#8691)
10502 * emacs-lisp/autoload.el (batch-update-autoloads):
10503 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10505 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10507 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10508 property for the correct connection in case of multihops.
10510 2011-05-18 Glenn Morris <rgm@gnu.org>
10512 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10513 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10515 Rationalize calendar handling of day and month abbrev-arrays.
10516 * calendar/calendar.el (calendar-customized-p): New function.
10517 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10518 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10520 (calendar-abbrev-length, calendar-day-abbrev-array)
10521 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10522 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10523 Elements may no longer be nil.
10524 (calendar-day-name, calendar-month-name):
10525 Update for changed nature of abbrev arrays.
10526 * calendar/diary-lib.el (diary-name-pattern):
10527 Update for changed nature of abbrev arrays.
10528 (diary-mark-entries-1): Update calendar-make-alist calls.
10529 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10530 * calendar/cal-html.el (cal-html-day-abbrev-array):
10531 Simply inherit from calendar-day-abbrev-array.
10533 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * progmodes/grep.el (grep-mode): Disable default
10536 compilation-directory-matcher setting (bug#8684).
10538 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10540 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10541 instead of "head" and "tail". There were problems with SunOS 5.9,
10542 and it performs better.
10544 2011-05-17 Glenn Morris <rgm@gnu.org>
10546 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10548 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10549 Replace obsolete function.
10551 * shell.el (pcomplete-parse-arguments-function): Declare.
10553 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10554 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10555 (appt-check): Doc fixes.
10556 (appt-disp-window-function, appt-delete-window-function):
10557 Remove needless special case in custom :type.
10558 (appt-display-count): Default to 0, not nil.
10559 (appt-check): Reset appt-display-count to 0, not nil.
10561 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10563 * progmodes/python.el (python-font-lock-keywords):
10564 Add the Python 3.X keyword "nonlocal" (bug#8639).
10566 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10568 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10570 2011-05-16 Kevin Ryde <user42@zip.com.au>
10572 * info-look.el (makefile-automake-mode): New setups, looking in
10573 automake manual, then makefile-mode.
10574 (makefile-mode): Remove automake manual, have it just in
10575 makefile-automake-mode since there's various things different or
10576 not relevant to plain make.
10577 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10578 believe a hypothetical automake-mode would go to makefile-mode,
10579 not the other way around.
10581 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10583 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10584 hunk-end tags (Bug#8672).
10586 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10587 vc-annotate-show-diff-revision-at-line (Bug#8671).
10589 2011-05-14 Glenn Morris <rgm@gnu.org>
10591 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10592 in the middle of an existing one with multiple authors. (Bug#8645)
10593 (change-log-font-lock-keywords): Also handle multiple author lines
10594 with leading tabs. (Bug#8644)
10596 * calendar/appt.el (appt-check): Rename some local variables.
10597 Some simplification/reordering.
10599 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10600 (feedmail-sendmail-f-doesnt-sell-me-out)
10601 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10602 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10603 (feedmail-queue-runner-message-sender): Set :version.
10604 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10605 (bbdb-dwim-net-address, vm-mail): Declare.
10606 (feedmail-binmail-gnulinuxish-template):
10607 Rename from feedmail-binmail-linuxish-template.
10608 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10609 Use insert-buffer-substring.
10611 2011-05-14 Bill Carpenter <bill@carpenter.org>
10613 * mail/feedmail.el (feedmail-patch-level): Increase.
10614 (feedmail-debug): New custom group.
10615 (feedmail-confirm-outgoing-timeout)
10616 (feedmail-sendmail-f-doesnt-sell-me-out)
10617 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10618 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10619 (feedmail-sender-line, feedmail-from-line)
10620 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10621 (feedmail-spray-this-address)
10622 (feedmail-spray-address-fiddle-plex-list)
10623 (feedmail-queue-use-send-time-for-date)
10624 (feedmail-queue-use-send-time-for-message-id)
10625 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10626 (feedmail-buffer-eating-function):
10628 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10629 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10630 (feedmail-message-action-scroll-down): New functions.
10631 (feedmail-queue-directory, feedmail-queue-draft-directory):
10632 Use expand-file-name.
10633 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10634 Remove C-v help entry.
10635 (feedmail-queue-buffer-file-name): New variable.
10636 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10637 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10638 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10639 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10640 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10641 (feedmail-message-action-toggle-spray)
10642 (feedmail-run-the-queue-no-prompts)
10643 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10644 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10645 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10646 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10647 (feedmail-envelope-deducer, feedmail-fiddle-from)
10648 (feedmail-fiddle-sender, feedmail-default-date-generator)
10649 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10650 (feedmail-fiddle-spray-address)
10651 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10652 (feedmail-fiddle-list-of-fiddle-plexes)
10653 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10654 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10655 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10656 Change default. Doc fix.
10657 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10658 (feedmail-binmail-linuxish-template): New constant.
10659 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10660 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10661 (feedmail-send-it): Add debug call.
10662 Use feedmail-queue-buffer-file-name, and
10663 feedmail-send-it-immediately-wrapper.
10664 (feedmail-message-action-send): Add debug call.
10665 Use feedmail-send-it-immediately-wrapper.
10666 (feedmail-queue-express-to-queue): Add debug call.
10667 Run feedmail-queue-express-hook.
10668 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10669 (feedmail-message-action-help-blat):
10670 Rename from feedmail-queue-send-edit-prompt-help-first.
10671 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10672 Check line-endings. Handle errors better.
10673 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10674 Doc fix. Add debug call.
10675 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10676 Use feedmail-queue-send-edit-prompt-inner.
10677 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10678 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10679 from feedmail-queue-send-edit-prompt.
10680 (feedmail-queue-send-edit-prompt-help)
10681 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10682 (feedmail-tidy-up-slug): Add debug call.
10683 Respect feedmail-queue-slug-suspect-regexp.
10684 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10685 (feedmail-dump-message-to-queue): Add debug call.
10686 Expand queue-directory.
10687 (feedmail-dump-message-to-queue): Change message slightly.
10688 Use feedmail-say-chatter.
10689 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10690 (feedmail-send-it-immediately-wrapper): New function.
10691 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10692 Insert empty string rather than newline. Handle full-frame case.
10693 Use catch/throw. Use feedmail-say-chatter.
10694 (feedmail-fiddle-from): Try mail-host-address.
10695 (feedmail-default-message-id-generator): Doc fix.
10696 Bind system-time-locale. Handle missing end.
10697 (feedmail-fiddle-x-mailer): Add debug call.
10698 Handle feedmail-x-mailer-line being nil.
10699 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10700 Add debug call. Use buffer-substring-no-properties.
10701 (feedmail-say-debug, feedmail-say-chatter): New functions.
10702 (feedmail-find-eoh): Give an explicit error.
10704 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10706 * net/newst-treeview.el (newsticker-treeview-face): Change default
10707 family from helvetica to sans.
10708 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10709 etc/images/newsticker.
10711 * net/newst-reader.el (newsticker-feed-face): Change default
10712 family from helvetica to sans.
10714 * net/newst-plainview.el (newsticker-new-item-face)
10715 (newsticker-old-item-face, newsticker-immortal-item-face)
10716 (newsticker-obsolete-item-face, newsticker-date-face)
10717 (newsticker-statistics-face): Change default family from
10719 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10720 etc/images/newsticker.
10722 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10723 (newsticker--process-auto-mark-filter-match): Tell user about
10726 2011-05-13 Didier Verna <didier@xemacs.org>
10728 Common Lisp indentation improvements on defmethod and lambda-lists.
10729 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10731 (lisp-lambda-list-keyword-parameter-indentation)
10732 (lisp-lambda-list-keyword-parameter-alignment)
10733 (lisp-lambda-list-keyword-alignment): New customizable user options.
10734 (lisp-indent-defun-method): Improve docstring.
10735 (extended-loop-p): Fix comment.
10736 (lisp-indent-lambda-list-keywords-regexp): New variable.
10737 (lisp-indent-lambda-list): New function.
10738 (lisp-indent-259): Use it.
10739 (lisp-indent-defmethod): Support for more than one
10740 method qualifier and properly indent methods lambda-lists.
10741 (defgeneric): Provide a missing common-lisp-indent-function property.
10743 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10746 bounds for the empty string (bug#8667).
10748 2011-05-13 Glenn Morris <rgm@gnu.org>
10750 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10752 * mail/sendmail.el (sendmail-program): Try executable-find first.
10753 (sendmail-send-it): `sendmail-program' cannot be unbound.
10755 * calendar/appt.el (appt-make-list): Simplify.
10756 (appt-time-msg-list): Doc fix.
10757 (appt-check): Change mode-line message at the time of the appointment.
10759 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10761 * progmodes/ld-script.el (ld-script-keywords)
10762 (ld-script-builtins): Update keywords list.
10764 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10766 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10768 * shell.el (shell-completion-vars): New function.
10770 * simple.el (read-shell-command): Use it.
10771 (blink-matching-open): No need for " [...]" in minibuffer-message.
10773 2011-05-12 Glenn Morris <rgm@gnu.org>
10775 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10776 (appt-check): Simplify.
10778 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10780 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10781 literal "/dev/null".
10783 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10788 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10790 * progmodes/which-func.el (which-function):
10791 Use add-log-current-defun instead of add-log-current-defun-function,
10792 which might not be defined (Bug#8260).
10794 2011-05-12 Glenn Morris <rgm@gnu.org>
10796 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10797 Let byte-compile-initial-macro-environment always take precedence.
10799 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * net/rcirc.el: Add support for SSL/TLS connections.
10802 (rcirc-server-alist): New field `encryption'.
10803 (rcirc): Check `encryption' settings.
10804 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10805 Merge make-local-variable into `set'.
10806 (rcirc--connection-open-p): New function.
10807 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10808 the process is not a network process (e.g. running gnutls-cli).
10809 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10810 Make rcirc-(en|de)code-coding-system local here.
10811 (rcirc-mode): Merge make-local-variable into `set'.
10812 (rcirc-parent-buffer): Make permanent buffer-local.
10813 (rcirc-multiline-minor-mode): Don't do it here.
10814 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10815 there's no server buffer.
10817 2011-05-11 Glenn Morris <rgm@gnu.org>
10819 * newcomment.el (comment-kill): Prefix "unused" local.
10821 * term/w32console.el (get-screen-color): Declare.
10823 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10824 Handle symbol elements of byte-compile-initial-macro-environment.
10826 2011-05-10 Leo Liu <sdl.web@gmail.com>
10828 * bookmark.el (bookmark-bmenu-mode-map):
10829 Bind bookmark-bmenu-search to `/'.
10831 * mail/footnote.el: Convert to utf-8 encoding.
10832 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10833 (Footnote-unicode): New function.
10834 (footnote-style-alist): Add unicode style to the list.
10835 (footnote-style): Doc fix.
10837 2011-05-10 Jim Meyering <meyering@redhat.com>
10839 Fix doubled-word typos.
10840 * international/quail.el (quail-insert-kbd-layout): and and -> and
10841 * kermit.el: and and -> and
10842 * net/ldap.el (ldap-search-internal): to to -> to
10843 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10844 * progmodes/js.el (js-mode): and and -> and
10845 * textmodes/artist.el (artist-move-to-xy): at at -> at
10846 (artist-draw-region-trim-line-endings): if if -> if
10847 And Safetyc -> Safety.
10848 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10850 2011-05-10 Glenn Morris <rgm@gnu.org>
10851 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * files.el (hack-one-local-variable-eval-safep):
10854 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10856 2011-05-10 Glenn Morris <rgm@gnu.org>
10858 * calendar/diary-lib.el (diary-list-entries-hook)
10859 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10860 (diary-nongregorian-marking-hook, diary-list-entries)
10861 (diary-include-other-diary-files, diary-mark-entries)
10862 (diary-mark-included-diary-files): Doc fixes.
10864 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10866 * misc.el: Require tabulated-list.el during compilation.
10868 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10870 * progmodes/compile.el (compilation-start):
10871 Run compilation-filter-hook for the async case too.
10872 (compilation-filter-hook): Doc fix.
10874 2011-05-09 Deniz Dogan <deniz@dogan.se>
10876 * wdired.el: Remove outdated installation comment. Fix usage
10879 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10881 * misc.el: Implement new command `list-dynamic-libraries'.
10882 (list-dynamic-libraries--loaded-only-p): New variable.
10883 (list-dynamic-libraries--refresh): New function.
10884 (list-dynamic-libraries): New command.
10886 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10888 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10889 Fix the ant regexp to handle end-line and end-column info from jikes.
10890 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10891 higher priority to avoid clobbering by gnu.
10893 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10895 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10896 if the face has existing theme settings (Bug#8454).
10898 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10900 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10901 Only match variables declared via `my' or `our' (Bug#8261).
10903 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10904 special file names `.' and `..' (Bug#8259).
10906 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10908 * progmodes/grep.el (grep-mode-font-lock-keywords):
10909 Remove buffer-changing entries.
10910 (grep-filter): New function.
10911 (grep-mode): Add it to compilation-filter-hook.
10913 * progmodes/compile.el (compilation-filter-hook)
10914 (compilation-filter-start): New defvars.
10915 (compilation-filter): Call compilation-filter-hook prior to
10916 updating the process mark.
10918 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10922 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10924 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10925 mailclient-send-it even if window-system is nil. (Bug#8595)
10927 * term/w32console.el (terminal-init-w32console):
10928 Call get-screen-color and use its output to set the frame
10929 background-mode. (Bug#8597)
10931 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10933 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10934 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10936 (defgeneric, eieio--defmethod): Use them.
10937 (eieio-defgeneric): Remove.
10938 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10940 2011-05-07 Glenn Morris <rgm@gnu.org>
10942 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10943 Use let rather than let*.
10944 (timeclock-find-discrep): Remove unused local.
10946 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10948 * calendar/appt.el (appt-time-msg-list): Doc fix.
10950 2011-05-06 Noah Friedman <friedman@splode.com>
10952 * apropos.el (apropos-print-doc): Only use
10953 emacs-lisp-docstring-fill-column when it is bound to an integer,
10954 per that variable's documentation.
10956 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10959 and warnings are not silently discarded (e.g. use -d instead of -P).
10961 2011-05-06 Glenn Morris <rgm@gnu.org>
10963 * calendar/appt.el (appt-message-warning-time): Doc fix.
10964 (appt-warning-time-regexp): New option.
10965 (appt-make-list): Respect appt-message-warning-time.
10967 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10969 (diary-add-to-list): Strip comments from the displayed string.
10970 (diary-mode): Set comment-start and comment-end.
10972 * vc/diff-mode.el (smerge-refine-subst): Declare.
10973 (diff-refine-hunk): Don't require smerge-mode when compiling.
10975 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10977 * simple.el (list-processes): Return nil as the docstring says.
10979 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10981 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10983 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10984 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10985 determining of binary transfer. (Bug#7383)
10987 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10989 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10990 Fix port computation bug. (Bug#8618)
10992 2011-05-05 Glenn Morris <rgm@gnu.org>
10994 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10996 * simple.el (shell-dynamic-complete-functions)
10997 (comint-dynamic-complete-functions): Declare.
10999 * net/network-stream.el (gnutls-negotiate):
11000 * simple.el (tabulated-list-print): Fix declarations.
11002 * progmodes/gud.el (syntax-symbol, syntax-point):
11003 Remove unnecessary and incorrect declarations.
11005 * emacs-lisp/check-declare.el (check-declare-scan):
11006 Handle byte-compile-initial-macro-environment in bytecomp.el
11008 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11010 Fix earlier half-done eieio-defmethod change (bug#8338).
11011 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11012 Streamline and change calling convention.
11013 (defmethod): Adjust accordingly and simplify.
11014 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11015 new eieio--defmethod.
11016 (slot-boundp): Minor CSE simplification.
11018 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11020 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11021 (glasses-make-readable): Use glasses-separate-capital-groups.
11023 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11025 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11026 (warning-series): Doc fix.
11027 (display-warning): Don't try to create the buffer if we just found it.
11029 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11031 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11032 (autoload-find-generated-file): New function.
11033 (generate-file-autoloads): Bind generated-autoload-file to
11035 (update-file-autoloads, update-directory-autoloads):
11036 Use autoload-find-generated-file. If called interactively, prompt for
11037 output file (Bug#7989).
11038 (batch-update-autoloads): Doc fix.
11040 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11042 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11044 2011-05-04 Glenn Morris <rgm@gnu.org>
11046 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11047 function, so it follows changes in calendar-date-style.
11048 (diary-fancy-date-matcher): New function.
11049 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11050 (diary-fancy-font-lock-fontify-region-function):
11051 Use diary-fancy-date-pattern as a function.
11053 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11054 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11056 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11058 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11059 instead of positional arguments. Allow :keylist and :crlfiles
11061 (open-gnutls-stream): Call it.
11063 * net/network-stream.el (network-stream-open-starttls): Adjust to
11064 call `gnutls-negotiate' with :process and :hostname arguments.
11066 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11068 * minibuffer.el (completion--message): New function.
11069 (completion--do-completion, minibuffer-complete)
11070 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11071 (completion--do-completion): Don't ignore completion-auto-help when in
11074 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11075 internal encoding (e.g. tibetan zero is not whitespace).
11076 (global-whitespace-mode): Prefer save-current-buffer.
11077 (whitespace-trailing-regexp): Remove useless save-match-data.
11078 (whitespace-empty-at-bob-regexp): Minor simplification.
11080 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11082 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11084 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11086 * textmodes/ispell.el (ispell-add-per-file-word-list):
11087 Use `concat' to create string for insertion.
11089 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11091 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11092 Avoid open-line which runs post-self-insert-hook.
11093 (bibtex-fill-entry): Remove unused `end' var.
11095 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11097 * textmodes/ispell.el (ispell-add-per-file-word-list):
11098 Protect against `nil' value of `comment-start' (Bug#8579).
11100 2011-05-03 Leo Liu <sdl.web@gmail.com>
11102 * isearch.el (isearch-yank-pop): New command.
11103 (isearch-mode-map): Bind it to `M-y'.
11104 (isearch-forward): Mention it.
11106 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11108 * simple.el (minibuffer-complete-shell-command): Remove.
11109 (minibuffer-local-shell-command-map): Use completion-at-point.
11110 (read-shell-command): Setup completion vars here instead.
11111 (read-expression-map): Bind TAB to symbol completion.
11113 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11114 error directly rather via storing it into `results'.
11116 2011-05-02 Leo Liu <sdl.web@gmail.com>
11118 * vc/diff.el: Fix description.
11120 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11122 * server.el (server-eval-at): New function.
11124 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11126 * net/network-stream.el (open-network-stream): Take a :nowait
11127 parameter and pass it on to `make-network-process'.
11128 (network-stream-open-plain): Ditto.
11130 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11132 * faces.el (face-spec-set-match-display): Don't match toolkit
11133 options on terminal frames.
11135 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * progmodes/pascal.el: Use lexical binding.
11138 (pascal-mode-map): Remove author preferences.
11140 * pcomplete.el (pcomplete-std-complete): Don't abuse
11141 completion-at-point.
11143 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11145 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11146 removing code that has been dead since 1991 or so.
11148 * startup.el (command-line): When warning about "_emacs", use a
11149 delayed warning to allow the user to filter it out.
11151 2011-04-28 Deniz Dogan <deniz@dogan.se>
11153 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11154 user has not joined.
11156 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11159 aren't any completions at point.
11161 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11163 * subr.el (display-delayed-warnings): New function.
11164 (delayed-warnings-hook): New variable.
11166 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * minibuffer.el (completion-at-point, completion-help-at-point):
11169 Don't presume that a given completion-at-point-function will always
11170 use the same calling convention.
11172 * pcomplete.el (pcomplete-completions-at-point):
11173 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11174 pcomplete-seen is non-nil.
11175 (pcomplete-comint-setup): Also recognize the new comint/shell
11176 completion functions.
11177 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11178 pcomplete-seen is non-nil.
11180 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11182 * calendar/icalendar.el (diary-lib): Add require statement.
11183 (icalendar--create-uid): Read out a uid from a text-property on
11184 the first character in the entry. This allows for code to add its
11185 own uid to the entry.
11186 (icalendar--convert-float-to-ical): Add export of
11187 `diary-float'-entries save for those with the optional DAY
11190 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11192 * subr.el (shell-quote-argument): Use alternate escaping strategy
11193 when we spot a variable reference in a string.
11195 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11197 * cus-start.el (all): Define customization for debug-on-event.
11199 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11201 * subr.el (shell-quote-argument): Escape correctly under Windows.
11203 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11207 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11209 * net/tramp.el (tramp-process-actions): Add POS argument.
11210 Delete region between POS and (pos).
11212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11213 Use `nil' position in `tramp-process-actions' call.
11214 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11216 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11217 position in `tramp-process-actions' call.
11219 * net/trampver.el: Update release number.
11221 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11223 * custom.el (defcustom): Obey lexical-binding.
11225 Fix octave-inf completion problems reported by Alexander Klimov.
11226 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11227 Inherit from octave-mode-syntax-table.
11228 (inferior-octave-mode): Set info-lookup-mode.
11229 (inferior-octave-completion-at-point): New function.
11230 (inferior-octave-complete): Use it and completion-in-region.
11231 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11232 comint-filename-completion.
11233 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11234 symbol elements which shouldn't be word elements.
11235 (octave-font-lock-keywords, octave-beginning-of-defun)
11236 (octave-function-header-regexp): Adjust regexps accordingly.
11237 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11239 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11241 * net/gnutls.el (gnutls-errorp): Declare before first use.
11243 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11245 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11246 verify-error, and verify-hostname-error parameters. Check whether
11247 default trustfile exists before going to use it. Add missing
11248 argument to gnutls-message-maybe call. Return value.
11249 Reported by Claudio Bley <claudio.bley@gmail.com>.
11250 (open-gnutls-stream): Add usage example.
11252 * net/network-stream.el (network-stream-open-starttls): Give host
11253 parameter to `gnutls-negotiate'.
11254 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11255 * subr.el (shell-quote-argument): Escape correctly under Windows.
11257 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11259 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11260 Use correct match group (bug#8438).
11262 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11264 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11265 (package-menu--generate): New arg specifying packages to show.
11266 (package-menu-refresh, package-menu-execute, list-packages):
11268 (package-show-package-list): New function, replacing deleted
11269 package--list-packages (renamed because it is non-internal).
11271 * finder.el (finder-list-matches): Use package-show-package-list
11272 instead of deleted package--list-packages.
11274 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11275 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11276 (vc-annotate-mode-map): Bind it to RET.
11278 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11280 * progmodes/etags.el (next-file): Don't use set-buffer to change
11281 buffers (Bug#8478).
11283 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11285 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11287 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11288 (apropos-accumulator): Doc fix.
11289 (apropos-function, apropos-macro, apropos-command)
11290 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11291 (apropos-plist): Add face property.
11292 (apropos-symbols-internal): Fix indentation.
11293 (apropos-print): Simplify help, and recognize apropos-multi-type.
11294 (apropos-print-doc): Use button-type-get to extract the button's
11295 face property. Fill docstring (Bug#8352).
11297 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11299 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11301 * play/mpuz.el (mpuz-silent): Doc fix.
11302 (mpuz-mode-map): Use mapc.
11303 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11304 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11305 Fix typos in docstrings.
11307 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11308 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11310 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11312 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11314 * minibuffer.el (completion--do-completion): Avoid the "Next char
11315 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11317 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11318 mouse-2 into unread-command-events, it is interpreted correctly.
11320 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11321 (image-toggle-display): Doc fix.
11323 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11325 * textmodes/page.el (what-page): Use line-number-at-pos to
11326 calculate line number (Bug#6825).
11328 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11330 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11331 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11332 Pass argument NO-DEFAULT to `find-tag-interactive'.
11334 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11336 Lexical-binding cleanup.
11338 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11339 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11340 * progmodes/ada-prj.el (ada-prj-initialize-values)
11341 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11342 (ada-prj-show-value):
11343 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11344 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11345 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11346 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11347 * progmodes/bug-reference.el (bug-reference-push-button):
11348 * progmodes/fortran.el (fortran-line-length):
11349 * progmodes/glasses.el (glasses-change):
11350 * progmodes/octave-mod.el (octave-fill-paragraph):
11351 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11352 (python-pdbtrack-grub-for-buffer, python-sentinel):
11353 * progmodes/sql.el (sql-save-connection):
11354 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11355 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11356 Mark unused parameters.
11358 * progmodes/compile.el (compilation--flush-directory-cache)
11359 (compilation--flush-parse, compile-internal): Mark unused parameters.
11360 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11361 (compilation-next-error-function): Remove unused variable `timestamp'.
11363 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11364 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11366 * progmodes/dcl-mode.el (dcl-end-of-command):
11367 Remove unused variable `start'.
11368 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11369 (dcl-option-value-basic, dcl-option-value-offset)
11370 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11371 Mark unused parameters.
11372 (dcl-save-local-variable): Remove unused variable `val'.
11375 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11376 Mark unused parameters.
11377 (delphi-ignore-changes): Move before first use.
11378 (delphi-charset-token-at): Remove unused variable `start'.
11379 (delphi-else-start): Remove unused variable `if-count'.
11380 (delphi-comment-block-start, delphi-comment-block-end):
11381 Remove unused variable `kind'.
11382 (delphi-indent-line): Remove unused variable `new-point'.
11384 * progmodes/ebrowse.el (ebrowse-files-list)
11385 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11386 Mark unused parameters. Don't quote `lambda'.
11387 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11388 Don't quote `lambda'.
11389 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11390 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11391 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11392 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11393 Use `ignore-errors'.
11394 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11395 (ebrowse-view/find-file-and-search-pattern)
11396 (ebrowse-view/find-member-declaration/definition):
11397 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11398 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11399 Rename parameter PREFIX-ARG to PREFIX.
11400 (ebrowse-tags-read-name): Remove unused variables `start' and
11402 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11405 * progmodes/etags.el (local-find-tag-hook): Declare.
11406 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11407 Mark unused parameters.
11409 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11410 (executable-interpret): Mark unused parameter.
11412 * progmodes/flymake.el (flymake-process-sentinel)
11413 (flymake-after-change-function)
11414 (flymake-create-temp-with-folder-structure)
11415 (flymake-get-include-dirs-dot): Mark unused parameters.
11416 (flymake-safe-delete-directory): Remove unused variable `err'.
11418 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11419 (speedbar-timer-fn, speedbar-line-text)
11420 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11421 (speedbar-center-buffer-smartly): Declare functions.
11422 (gdb-find-watch-expression): Remove unused variable `array'.
11423 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11424 (gdb-starting): Mark unused parameters.
11425 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11426 (gdb-table-string): Remove unused variable `res'.
11427 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11428 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11429 (gdb-display-buffer): Remove unused variable `cur-size'.
11431 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11432 allow lexical-binding compilation.
11433 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11434 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11435 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11436 Mark unused parameters.
11437 (gud-gdb-marker-filter): Remove unused variable `match'.
11438 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11439 lambda expressions and funcall them, instead of using `fset'.
11441 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11442 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11444 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11445 variable `header-beg'; use `let'.
11447 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11448 `restart', `last-sexp' and `at-do'.
11450 * progmodes/js.el (js--debug): Mark unused parameter.
11451 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11452 (js--splice-into-items): Remove unused variable `item'.
11453 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11455 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11456 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11457 (makefile-complete): Remove unused variable `try'.
11458 (makefile-fill-paragraph, makefile-match-function-end):
11459 Mark unused parameters.
11461 * progmodes/octave-inf.el (inferior-octave-complete):
11462 Remove unused variable `proc'.
11463 (inferior-octave-output-digest): Mark unused parameter.
11465 * progmodes/perl-mode.el (perl-calculate-indent):
11466 Remove unused variable `err'.
11468 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11469 (prolog-indent-line): Mark unused parameters.
11470 (prolog-indent-line): Remove unused variable `beg'.
11472 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11473 (reporter-dont-compact-list): Declare.
11475 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11476 Remove unused variable `char'.
11477 (sh-debug): Mark unused parameter.
11478 (sh-get-indent-info): Remove unused variable `start'.
11479 (sh-calculate-indent): Remove unused variable `var'.
11481 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11482 (simula-electric-keyword): Remove unused variable `null'.
11483 (simula-search-backward, simula-search-forward): Remove unused
11484 variables `begin' and `end'.
11486 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11487 Remove unused variable `pos'.
11488 (vera-electric-tab, vera-comment-uncomment-region):
11489 Mark unused parameters.
11490 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11492 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11494 * emacs-lisp/package.el (package--builtins, package-alist)
11495 (package-load-descriptor, package-built-in-p, package-activate)
11496 (define-package, package-installed-p)
11497 (package-compute-transaction, package-buffer-info)
11498 (package--push): Doc fix. Distinguish more clearly between
11499 version strings and version lists.
11501 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11503 Lexical-binding cleanup.
11505 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11506 (5x5-make-mutate-best):
11507 * play/fortune.el (fortune-in-buffer):
11508 * play/gomoku.el (gomoku-init-display):
11509 * play/solitaire.el (solitaire, solitaire-do-check):
11510 * play/tetris.el (tetris-default-update-speed-function):
11511 Mark unused parameters.
11513 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11514 (bubbles--shift): Remove unused variable `char-org'.
11515 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11516 (bubbles--show-images): Remove unused variable `char'.
11518 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11519 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11520 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11521 (decipher-analyze-buffer): Use ?\s.
11522 (decipher-make-checkpoint): Remove unused variable `mapping'.
11524 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11526 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11527 Remove unused variable `result'; use `let'.
11529 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11530 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11531 (gametree-children-shown-p, gametree-compute-reduced-score):
11532 Use `ignore-errors'.
11534 * play/handwrite.el (ps-lpr-switches): Declare.
11535 (handwrite): Remove unused variables `pmin' and `lastp'.
11537 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11539 * play/landmark.el (landmark-init-display)
11540 (landmark-update-naught-weights): Mark unused parameters.
11541 (landmark-y): Remove unused variable `noise'. Simplify.
11542 (landmark-human-plays): Remove unused variable `score'.
11544 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11545 (mpuz-try-proposal): Remove unused variable `game'.
11547 * play/zone.el (life-patterns): Declare.
11549 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11551 * vc/vc.el (ediff-vc-internal): Declare function.
11553 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * shell.el: Use lexical-binding and std completion UI.
11556 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11557 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11558 comint-preoutput-filter-functions rather than on
11559 comint-output-filter-functions.
11560 (shell-command-completion, shell--command-completion-data)
11561 (shell-filename-completion, shell-environment-variable-completion)
11562 (shell-c-a-p-replace-by-expanded-directory): New functions.
11563 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11564 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11565 (shell-dynamic-complete-environment-variable): Use them.
11566 (shell-dynamic-complete-as-environment-variable)
11567 (shell-dynamic-complete-as-command): Remove.
11568 (shell-match-partial-variable): Match past point.
11569 * comint.el: Clean up use of completion-at-point-functions.
11570 (comint-completion-at-point): New function.
11571 (comint-mode): Use it completion-at-point-functions.
11572 (comint-dynamic-complete): Make it obsolete.
11573 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11574 (comint-c-a-p-replace-by-expanded-history): New function.
11575 (comint-dynamic-complete-functions)
11576 (comint-replace-by-expanded-history): Use it.
11577 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11578 termination strings. Try harder to avoid second try-completion.
11579 (completion-in-region-mode-map): Disable bindings that don't work yet.
11581 * comint.el: Use lexical-binding. Require CL.
11582 (comint-dynamic-complete-functions): Use comint-filename-completion.
11583 (comint-completion-addsuffix): Tweak custom type.
11584 (comint-filename-completion, comint--common-suffix)
11585 (comint--common-quoted-suffix, comint--table-subvert)
11586 (comint--complete-file-name-data): New functions.
11587 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11588 (comint-dynamic-list-filename-completions): Use them.
11589 (comint-dynamic-simple-complete): Make obsolete.
11591 * minibuffer.el (completion-in-region-mode):
11592 Keep completion-in-region-mode--predicate global.
11593 (completion-in-region--postch):
11594 Assume completion-in-region-mode--predicate is not null.
11596 * progmodes/flymake.el (flymake-start-syntax-check-process):
11597 Obey `dir'. Simplify.
11599 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11600 we're in VC after all.
11602 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11604 * vc/vc.el (vc-diff-build-argument-list-internal)
11605 (vc-version-ediff, vc-ediff): New commands.
11606 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11608 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11613 * obsolete/erc-hecomplete.el: Make obsolete.
11614 * obsolete/: Standardize obsolescence info in the header.
11616 2011-04-20 Glenn Morris <rgm@gnu.org>
11618 * calendar/solar.el (solar-horizontal-coordinates):
11619 Use the longitude argument rather than `calendar-longitude'.
11620 (solar-date-next-longitude): Remove unused locals.
11622 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11624 * whitespace.el: New version 13.2.1.
11626 2011-04-20 felix <EmacsWiki> (tiny change)
11628 * whitespace.el (global-whitespace-mode): Keep highlight when
11629 switching between major modes on a file.
11631 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11634 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11635 multi-line comments as well.
11637 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11639 Lexical-binding cleanup.
11641 * arc-mode.el (archive-mode-revert):
11642 * cmuscheme.el (scheme-interactively-start-process):
11643 * custom.el (custom-initialize-delay):
11644 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11645 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11646 * emacs-lock.el (emacs-lock-clear-sentinel):
11647 * ezimage.el (defezimage):
11648 * follow.el (follow-avoid-tail-recenter):
11649 * fringe.el (set-fringe-mode-1):
11650 * generic-x.el (bat-generic-mode-compile):
11651 * help-mode.el (help-info-variable, help-do-xref)
11652 (help-mode-revert-buffer):
11653 * help.el (view-emacs-todo):
11654 * iswitchb.el (iswitchb-completion-help):
11655 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11656 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11657 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11658 * locate.el (locate-update):
11659 * longlines.el (longlines-encode-region)
11660 (longlines-after-change-function):
11661 * outline.el (outline-isearch-open-invisible):
11662 * ps-def.el (declare-function, charset-dimension, char-width)
11664 * ps-mule.el (ps-mule-plot-string):
11665 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11666 (recentf-edit-list-select, recentf-edit-list-validate)
11667 (recentf-open-files-action):
11668 * rect.el (delete-whitespace-rectangle-line)
11669 (rectangle-number-line-callback):
11670 * register.el (window-configuration-to-register)
11671 (frame-configuration-to-register):
11672 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11673 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11674 (xselect-convert-to-targets, xselect-convert-to-delete)
11675 (xselect-convert-to-filename, xselect-convert-to-charpos)
11676 (xselect-convert-to-lineno, xselect-convert-to-colno)
11677 (xselect-convert-to-os, xselect-convert-to-host)
11678 (xselect-convert-to-user, xselect-convert-to-class)
11679 (xselect-convert-to-name, xselect-convert-to-integer)
11680 (xselect-convert-to-atom, xselect-convert-to-identity):
11681 * subr.el (declare, ignore, process-kill-without-query)
11682 (text-clone-maintain):
11683 * terminal.el (te-get-char, te-tic-sentinel):
11684 * tool-bar.el (tool-bar-make-keymap):
11685 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11686 * type-break.el (type-break-mode, type-break-noninteractive-query):
11687 * view.el (View-back-to-mark):
11688 * wid-browse.el (widget-browse-action, widget-browse-widget)
11689 (widget-browse-widgets, widget-browse-sexp):
11690 * widget.el (define-widget-keywords):
11691 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11692 Mark unused parameters.
11694 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11695 (align-areas): Remove unused variable `look'.
11696 (align-region): Remove unused variables `real-end' and `pos-list'.
11698 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11700 * bindings.el (mode-line-modified, mode-line-remote):
11701 Mark unused parameters.
11702 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11704 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11705 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11707 * comint.el (comint-history-isearch-pop-state)
11708 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11709 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11710 (comint-substitute-in-file-name): Doc fix.
11712 * completion.el (cmpl-statistics-block): Mark unused parameter.
11713 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11714 (save-completions-to-file, load-completions-from-file):
11715 Remove unused local variable `e'.
11717 * composite.el (compose-chars): Remove unused variable `len'.
11718 (lgstring-insert-glyph): Remove unused variable `g'.
11719 (compose-glyph-string): Remove unused variables `ascent',
11720 `descent', `lbearing' and `rbearing'.
11721 (compose-glyph-string-relative): Remove unused variables
11722 `lbearing', `rbearing' and `wadjust'.
11723 (compose-gstring-for-graphic): Remove unused variables `header',
11724 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11725 (compose-gstring-for-terminal): Remove unused variables `header'
11726 and `nchars'. Use `let', not `let*'.
11728 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11729 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11730 (Custom-buffer-done, custom-buffer-create-internal)
11731 (custom-browse-visibility-action, custom-browse-group-tag-action)
11732 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11733 (widget-magic-mouse-down-action, custom-toggle-parent)
11734 (custom-add-parent-links, custom-toggle-hide-variable)
11735 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11736 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11737 (custom-face-menu-create, custom-variable-menu-create, get)
11738 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11739 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11740 (customize-apropos): Remove unused variable `tests'.
11741 (custom-group-value-create): Remove unused variable `hidden-p'.
11742 (sort-fold-case): Declare.
11744 * cus-theme.el (custom-reset-standard-faces-list)
11745 (custom-reset-standard-variables-list): Declare.
11746 (customize-create-theme, custom-theme-revert, custom-theme-write)
11747 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11748 Mark unused parameters.
11750 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11752 * delim-col.el (delimit-columns-max): Move defvar before first use.
11754 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11755 (describe-char): Don't quote `lambda'. Mark unused parameter.
11757 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11758 (auto-insert): Declare.
11759 (desktop-restore-file-buffer): Rename desktop-* parameters;
11761 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11762 (desktop-buffer): Rename desktop-* parameters.
11764 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11765 (dframe-reposition-frame-xemacs, dframe-help-echo)
11766 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11767 Mark unused parameters.
11769 * dired-aux.el (backup-extract-version-start, overwrite-query)
11770 (overwrite-backup-query, rename-regexp-query)
11771 (rename-non-directory-query): Declare.
11772 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11773 (dired-add-entry): Remove unused variable `orig-file-name'.
11774 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11775 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11776 `dired-copy-preserve-time' directly.
11777 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11778 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11780 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11781 (dired-virtual-revert, dired-make-relative-symlink):
11782 Mark unused parameters.
11783 (manual-program): Declare.
11784 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11785 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11786 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11788 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11790 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11792 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11795 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11797 * electric.el (Electric-command-loop): Rename parameter
11798 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11800 * expand.el (expand-in-literal): Remove unused variable `here'.
11802 * facemenu.el (facemenu-add-new-color):
11803 Remove unused variable `docstring'.
11805 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11806 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11807 (face-attr-construct): Mark unused parameter. Doc fix.
11808 (read-color): Remove unused variable `hex-string'.
11810 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11811 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11812 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11813 (display-buffer-other-frame): Remove unused variable `old-window'.
11814 (kill-buffer-hook): Declare.
11815 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11816 Mark unused parameters.
11817 (after-find-file): Pass 1 to `auto-save-mode', not t.
11819 * files-x.el (auto-insert): Declare.
11820 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11822 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11823 variable `buf'. Mark unused parameter.
11824 (find-lisp-insert-directory): Mark unused parameter.
11826 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11827 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11828 (format-common-tail): Remove, unused.
11829 (format-deannotate-region): Remove unused variable `loc'.
11830 (format-annotate-region): Remove unused variable `p'.
11831 (format-annotate-single-property-change): Remove unused variables
11832 `default' and `tail'.
11834 * forms.el (read-file-filter): Declare.
11835 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11837 * frame.el (frame-creation-function-alist): Mark unused parameter.
11838 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11840 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11841 Remove unused parameters.
11842 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11843 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11845 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11846 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11847 (hfy-prepare-tag-map): Mark unused parameters.
11848 (htmlfontify-buffer): Use `called-interactively-p'.
11850 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11851 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11852 (ibuffer-do-occur): Mark unused parameters.
11853 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11854 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11856 * ibuffer.el: Don't quote `lambda'.
11857 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11858 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11859 Mark unused parameters.
11861 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11862 (ido-completing-read): Mark unused parameters.
11863 (ido-copy-current-word): Mark unused parameters;
11864 remove unused variable `name'.
11865 (ido-sort-merged-list): Remove unused parameter `dirs'.
11867 * ielm.el (ielm-input-sender): Mark unused parameter.
11868 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11869 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11870 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11871 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11872 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11874 * image-dired.el (image-dired-display-thumbs): Remove unused
11875 variables `curr-file' and `count'.
11876 (image-dired-remove-tag): Remove unused variable `start'.
11877 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11878 variable `curr-file'
11879 (image-dired-rotate-original): Remove unused variable `temp-file'.
11880 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11881 Remove unused variable `file'.
11882 (image-dired-gallery-generate): Remove unused variable `curr'.
11883 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11885 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11887 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11889 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11891 * isearch.el (minibuffer-history-symbol): Declare.
11892 (isearch-edit-string): Remove unused variable `err'.
11893 (isearch-message-prefix, isearch-message-suffix):
11894 Mark unused parameters.
11896 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11898 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11900 * makesum.el (double-column): Remove unused variable `cnt'.
11902 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11903 (ido-ignore-item-temp-list): Declare.
11905 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11906 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11907 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11908 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11911 * mouse-sel.el (mouse-extend-internal):
11912 Remove unused variable `orig-window-frame'.
11914 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11915 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11916 Move declarations before first use.
11917 (pcomplete-opt): Mark unused parameters; doc fix.
11919 * proced.el (proced-revert): Mark unused parameter.
11920 (proced-send-signal): Remove unused variable `err'.
11922 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11923 Rename parameter PREFIX-ARG to ARG.
11924 (ps-basic-plot-string, ps-basic-plot-whitespace):
11925 Mark unused parameters.
11927 * replace.el (replace-count): Define.
11928 (occur-revert-function): Mark unused parameters.
11929 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11930 (isearch-case-fold-search, isearch-string): Declare.
11931 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11932 bind `case-fold-search'. Remove unused variables `beg' and `end',
11934 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11935 COUNT and bind `replace-count'.
11936 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11939 * savehist.el (print-readably, print-string-length): Declare.
11941 * shadowfile.el (shadow-expand-cluster-in-file-name):
11942 Remove unused variable `cluster'.
11943 (shadow-copy-file): Remove unused variable `i'.
11944 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11945 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11946 (shadow-define-literal-group, shadow-define-regexp-group)
11947 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11949 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11950 (shell): Use `called-interactively-p'.
11951 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11953 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11954 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11955 (delete-backward-char): Remove unused variable `ocol'.
11956 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11957 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11958 (event-apply-hyper-modifier, event-apply-shift-modifier)
11959 (event-apply-control-modifier, event-apply-meta-modifier):
11960 Mark unused parameters.
11961 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11962 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11964 * speedbar.el (speedbar-ignored-directory-expressions)
11965 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11966 (speedbar-find-file, speedbar-dir-follow)
11967 (speedbar-directory-buttons-follow, speedbar-tag-find)
11968 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11969 (speedbar-buffers-line-directory, speedbar-buffer-click):
11970 Mark unused parameters.
11971 (speedbar-tag-file): Remove unused variable `mode'.
11972 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11974 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11976 * talk.el (talk): Remove unused variable `display'.
11978 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11979 (tar-write-region-annotate): Mark unused parameter.
11981 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11982 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11983 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11984 warning by another.
11986 * time-stamp.el (time-stamp-string-preprocess):
11987 Remove unused variable `require-padding'.
11989 * tree-widget.el (widget-glyph-enable): Declare.
11990 (tree-widget-action): Mark unused parameter.
11992 * w32-fns.el (x-get-selection): Mark unused parameter.
11993 (autoload-make-program, generated-autoload-file): Declare.
11995 * wdired.el (wdired-revert): Mark unused parameters.
11996 (wdired-xcase-word): Remove unused variable `err'.
11998 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11999 (whitespace-help-scroll): Remove unused variable `data-help'.
12001 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12002 (widget-image-insert, widget-after-change, default)
12003 (widget-default-format-handler, widget-default-notify)
12004 (widget-default-prompt-value, widget-info-link-action)
12005 (widget-url-link-action, widget-function-link-action)
12006 (widget-variable-link-action, widget-file-link-action)
12007 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12008 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12009 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12010 (widget-insert-button-action, widget-delete-button-action, visibility)
12011 (widget-documentation-link-action, widget-documentation-string-action)
12012 (widget-const-prompt-value, widget-regexp-match, symbol)
12013 (widget-coding-system-prompt-value)
12014 (widget-key-sequence-value-to-external, sexp)
12015 (widget-sexp-value-to-internal, character, vector, cons)
12016 (widget-choice-prompt-value, widget-boolean-prompt-value)
12017 (widget-color--choose-action): Mark unused parameters.
12018 (widget-item-match-inline, widget-choice-match-inline)
12019 (widget-checklist-match, widget-checklist-match-inline)
12020 (widget-group-match): Rename parameter VALUES to VALS.
12021 (widget-field-value-set): Remove unused variable `size'.
12022 (widget-color-action): Remove unused variables `value' and `start'.
12024 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12025 variable `dir'. Doc fix.
12026 (windmove-find-other-window): Don't pass it.
12028 * window.el (count-windows): Mark unused parameter.
12029 (bw-adjust-window): Remove unused variable `err'.
12031 * woman.el (woman-file-name): Remove unused variable `default'.
12032 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12033 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12034 (global-font-lock-mode): Declare.
12035 (woman-decode-region): Mark unused parameter.
12036 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12038 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12039 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12040 (x-dnd-handle-moz-url): Remove unused variable `title'.
12041 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12043 * xml.el (xml-parse-tag, xml-parse-attlist):
12044 Remove unused variable `pos'.
12046 2011-04-19 Glenn Morris <rgm@gnu.org>
12048 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12049 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12050 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12051 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12052 * calendar/cal-html.el (cal-html-insert-minical):
12053 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12054 (calendar-mark-date-pattern):
12055 Prefix "unused" locals.
12057 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12058 optional argument `style'.
12060 * calendar/appt.el (appt-make-list):
12061 * calendar/cal-china.el (calendar-chinese-date-string):
12062 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12063 (diary-hebrew-yahrzeit):
12064 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12065 * calendar/calendar.el (calendar-generate-window):
12066 * calendar/time-date.el (time-to-days):
12067 Remove unused local variables.
12069 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12071 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12072 glyphless-char-display table.
12073 (tabulated-list-glyphless-char-display): New var.
12075 2011-04-18 Sam Steingold <sds@gnu.org>
12077 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12078 to acknowledgments.
12080 2011-04-17 Glenn Morris <rgm@gnu.org>
12082 * calendar/diary-lib.el (diary-sexp-entry):
12083 * calendar/holidays.el (holiday-sexp):
12084 Set debug-on-error rather than the removed stack-trace-on-error.
12086 2011-04-16 Glenn Morris <rgm@gnu.org>
12088 * progmodes/f90.el: Use lexical-binding.
12089 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12091 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12093 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12094 (mail-mode): Setup mailalias completion here instead.
12095 * mail/mailalias.el: Use lexical-binding.
12096 (pattern, mailalias-done): Declare dynamic.
12097 (mail-completion-at-point-function): New function, from mail-complete.
12098 (mail-complete): Use it.
12099 (mail-completion-expand): New function.
12100 (mail-get-names): Use it.
12101 (mail-directory, mail-directory-process, mail-directory-stream):
12102 Don't use `pattern' for lexically bound arg.
12104 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12106 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12107 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12108 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12110 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12111 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12112 (byte-interactive-p): Define them again, for use when inlining
12115 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12117 * loadup.el: Use `string-to-number', not `string-to-int'.
12119 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12121 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12122 gud-gdb-complete-command.
12123 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12124 (gud-gdb-completion-at-point): New function.
12125 (gud-gdb-completions): Remove.
12127 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12129 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12130 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12131 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12132 whether `executable-find' is bound.
12134 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12136 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12138 * minibuffer.el (completion-in-region-mode-predicate)
12139 (completion-in-region-mode--predicate): New vars.
12140 (completion-in-region, completion-in-region--postch)
12141 (completion-in-region-mode): Use them.
12142 (completion--capf-wrapper): Also return the hook function.
12143 (completion-at-point, completion-help-at-point):
12144 Adjust and provide a predicate.
12146 Preserve arg names for advice of subr and lexical functions (bug#8457).
12147 * help-fns.el (help-function-arglist): Consolidate the subr and
12148 new-byte-code cases. Add argument `preserve-names' to extract names
12149 from the docstring when needed.
12150 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12151 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12152 (ad-arglist): Use help-function-arglist's new arg.
12153 (ad-definition-type): Use cond.
12155 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12157 * autorevert.el (auto-revert-handler):
12158 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12159 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12160 Don't quote lambda.
12162 * image-mode.el (image-transform-set-scale):
12163 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12165 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12167 * net/network-stream.el (network-stream-open-starttls): Only do
12168 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12169 Upgrades via gnutls-cli are too slow to be done opportunistically.
12171 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12173 * dframe.el (dframe-current-frame): Remove spurious quote.
12175 2011-04-12 Glenn Morris <rgm@gnu.org>
12177 * calendar/cal-tex.el (cal-tex-end-document):
12178 Try to automatically use latin1 input if needed.
12180 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12181 Don't try to cons a mark onto an empty element.
12183 2011-04-11 Leo Liu <sdl.web@gmail.com>
12185 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12187 (ido-kill-buffer-at-head): Support killing virtual buffers.
12189 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12191 * minibuffer.el (completion-show-inline-help): New var.
12192 (completion--do-completion, minibuffer-complete)
12193 (minibuffer-force-complete, minibuffer-complete-word):
12194 Inhibit minibuffer messages if completion-show-inline-help is nil.
12196 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12197 to avoid interference from inline help (Bug#5849).
12199 2011-04-10 Leo Liu <sdl.web@gmail.com>
12201 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12204 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12206 * image-mode.el (image-toggle-display-image): Signal an error if
12208 (image-transform-mode, image-transform-resize)
12209 (image-transform-set-rotation): Doc fix.
12210 (image-transform-set-resize): Delete.
12211 (image-transform-set-scale, image-transform-fit-to-height)
12212 (image-transform-fit-to-width): Handle image-toggle-display-image
12213 and image-transform-resize directly.
12215 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12217 * doc-view.el (doc-view-fit-width-to-window)
12218 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12219 New functions for fitting the shown image to the Emacs window size.
12220 (doc-view-mode-map): Add bindings for the new functions.
12222 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12224 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12225 Fix typo in docstring.
12227 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12229 * files.el (file-size-human-readable): Produce one digit after
12230 decimal, like "ls -lh" does.
12232 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12233 the file size representation.
12235 * simple.el (list-processes): If async subprocesses are not
12236 available, error out with a clear error message.
12238 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12240 * help.el (help-form-show): New function, to be called from C.
12241 Put help-form output in a buffer named differently than *Help*.
12243 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12245 * files.el (file-size-human-readable): New function.
12247 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12248 computing the representation inline. Don't require `cl'.
12250 2011-04-08 Glenn Morris <rgm@gnu.org>
12252 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12254 * net/browse-url.el (browse-url-firefox):
12255 Test system-type, not system-configuration.
12257 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12258 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12259 Use log-edit-empty-buffer-p. (Bug#7598)
12261 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12262 (rlogin-mode-map): Initialize in the defvar.
12263 (rlogin): Use ignore-errors.
12265 * replace.el (occur-mode-map): Some fixes for menu items.
12267 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12269 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12271 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12273 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12274 issuing unused warnings.
12276 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12279 * simple.el: Lisp reimplement of list-processes. Based on an
12280 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12281 (process-menu-mode): New major mode.
12282 (list-processes--refresh, list-processes):
12283 (process-menu-visit-buffer): New functions.
12285 * files.el (save-buffers-kill-emacs): Don't assume any return
12286 value of list-processes, which is undocumented anyway.
12288 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12290 * emacs-lisp/tabulated-list.el: New file.
12292 * emacs-lisp/package.el: Use Tabulated List mode.
12293 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12294 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12295 table format using Tabulated List mode variables.
12296 (package--push): New macro, replacing package-list-maybe-add.
12297 (package-menu--generate): Use package--push. Renamed from
12298 package--generate-package-list.
12299 (package-menu-refresh, list-packages): Use it.
12300 (package-menu--print-info): Rename from package-print-package.
12301 Return insertion data instead of inserting it directly.
12302 (package-menu-describe-package, package-menu-execute):
12303 Use tabulated-list-get-id.
12304 (package-menu-mark-delete, package-menu-mark-install)
12305 (package-menu-mark-unmark, package-menu-backup-unmark)
12306 (package-menu-mark-obsolete-for-deletion):
12307 Use tabulated-list-put-tag.
12308 (package--list-packages, package-menu-revert)
12309 (package-menu-get-package, package-menu-get-version)
12310 (package-menu-sort-by-column): Functions deleted.
12311 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12312 (package-menu--status-predicate, package-menu--version-predicate)
12313 (package-menu--name-predicate)
12314 (package-menu--description-predicate): Handle arguments in the
12315 Tabulated List format.
12316 (package-list-packages-no-fetch): Call list-packages.
12318 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12320 * files.el (after-find-file-from-revert-buffer): Remove variable.
12321 (after-find-file): Don't bind it.
12322 (revert-buffer-in-progress-p): New variable.
12323 (revert-buffer): Bind it.
12324 Pass nil for `after-find-file-from-revert-buffer'.
12326 * saveplace.el (save-place-find-file-hook): Use new variable
12327 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12329 2011-04-06 Glenn Morris <rgm@gnu.org>
12331 * Makefile.in (AUTOGEN_VCS): New variable.
12332 (autoloads): Use $AUTOGEN_VCS.
12334 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12335 * calendar/calendar.el (calendar-mode-map):
12336 Check for toolkit scroll bars. (Bug#8305)
12338 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12340 * minibuffer.el (completion-in-region--postch)
12341 (completion-in-region-mode): Remove unnecessary messages.
12343 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12345 * font-lock.el (font-lock-refresh-defaults):
12346 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12347 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12349 * info.el (Info-directory-list, Info-read-node-name-2)
12350 (Info-split-parameter-string): Doc fixes.
12351 (Info-virtual-nodes): Reflow docstring.
12352 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12353 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12354 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12355 Fix typos in docstrings.
12356 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12357 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12358 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12359 (Info-restore-desktop-buffer): Mark unused parameters.
12360 (Info-directory-find-file, Info-directory-find-node)
12361 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12362 (Info-virtual-index-find-node, Info-apropos-find-file)
12363 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12364 Mark unused parameters; fix typos in docstrings.
12365 (Info-virtual-index): Remove unused local variable `nodename'.
12367 2011-04-05 Deniz Dogan <deniz@dogan.se>
12369 * net/rcirc.el: Update my e-mail address.
12370 (rcirc-mode-map): Remove M-o binding.
12372 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12374 * startup.el (command-line): Save the cursor's theme-face
12375 directly, instead of using face-override-spec.
12377 * custom.el (load-theme): Minor optimization in assigning faces.
12379 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12381 * help-fns.el (describe-variable): Complete all variables having
12382 documentation, including keywords.
12383 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12385 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12387 Convert to lexical-binding.
12389 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12390 (bs--get-marked-string, bs--get-modified-string)
12391 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12392 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12393 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12395 * ehelp.el (electric-help-execute-extended)
12396 (electric-help-ctrl-x-prefix):
12397 * hexl.el (hexl-revert-buffer-function):
12398 * linum.el (linum-after-change, linum-after-scroll):
12399 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12401 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12403 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12410 * epg.el: Use lexical binding.
12412 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12414 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12416 * textmodes/flyspell.el (flyspell-word): Recognize default
12417 dictionary case for flyspell-mark-duplications-exceptions.
12418 Use regexp matching for languages.
12419 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12420 default dictionary (Bug#7926).
12422 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12424 * emacs-lisp/package.el (package--with-work-buffer):
12425 Recognize https URLs.
12427 * net/network-stream.el: Move from gnus/proto-stream.el.
12428 Change prefix to network-stream throughout.
12429 (open-protocol-stream): Merge into open-network-stream, leaving
12430 open-protocol-stream as an alias. Handle nil BUFFER args.
12432 * subr.el (open-network-stream): Move to net/network-stream.el.
12434 2011-04-02 Glenn Morris <rgm@gnu.org>
12436 * find-dired.el (find-exec-terminator): New option.
12437 (find-ls-option): Test for -ls support.
12438 (find-ls-subdir-switches): Test for -b in find-ls-option.
12439 (find-dired, find-grep-dired): Doc fixes.
12440 (find-dired): Use find-exec-terminator.
12442 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12443 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12444 (find-name-arg): Remove purecopy.
12446 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12447 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12448 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12449 accordingly. Don't add the null-device if not needed.
12451 * files.el (save-some-buffers): Doc fix.
12453 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12455 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12457 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12459 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12460 Use `dolist' rather than `mapcar'.
12462 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12464 Add lexical binding.
12466 * subr.el (apply-partially): Use new closures rather than CL.
12467 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12468 (dolist, dotimes): Use slightly different expansion for lexical code.
12469 (functionp): Move to C.
12470 (letrec): New macro.
12471 (with-wrapper-hook): Use it and apply-partially instead of CL.
12472 (eval-after-load): Preserve lexical-binding.
12473 (save-window-excursion, with-output-to-temp-buffer): Turn them
12476 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12478 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12480 (help-add-fundoc-usage): Don't add `Not documented'.
12481 (help-function-arglist): Handle closures, subroutines, and new
12482 byte-code-functions.
12483 (help-make-usage): Remove leading underscores.
12484 (describe-function-1): Handle closures.
12485 (describe-variable): Use special-variable-p for completion.
12487 * files.el (lexical-binding): Declare safe.
12489 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12490 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12491 (pcase): Add `let' pattern.
12492 Change memoization so it actually works.
12493 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12494 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12497 * emacs-lisp/macroexp.el: Use lexical binding.
12498 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12499 Don't convert ' to #' without checking that it's indeed quoting
12502 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12503 Use eval-sexp-add-defvars.
12504 (eval-sexp-add-defvars): New fun.
12506 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12508 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12510 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12511 than the internal `byte-compile-lambda'.
12512 (defmethod): Don't hide code under quotes.
12513 (eieio-defmethod): New `code' argument.
12515 * emacs-lisp/eieio-comp.el: Remove.
12517 * emacs-lisp/edebug.el (edebug-eval-defun)
12518 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12519 (edebug-toggle): Avoid `eval'.
12521 * emacs-lisp/disass.el (disassemble-internal): Handle new
12523 (disassemble-1): Handle new byte codes.
12525 * emacs-lisp/cl.el (pushnew): Silence warning.
12527 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12528 (cl-byte-compile-throw): Remove.
12529 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12531 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12534 * emacs-lisp/cconv.el: New file.
12536 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12537 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12538 (byte-compile-initial-macro-environment):
12539 Handle declare-function here.
12540 (byte-compile--lexical-environment): New var.
12541 (byte-stack-ref, byte-stack-set, byte-discardN)
12542 (byte-discardN-preserve-tos): New lap codes.
12543 (byte-interactive-p): Don't use any more.
12544 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12546 (byte-compile-lapcode): Use them and handle new lap codes.
12547 (byte-compile-obsolete): Remove.
12548 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12549 (byte-compile-arglist-warn): Check late def of inlinable funs.
12550 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12551 since they should have been expanded by now.
12552 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12553 (byte-compile-from-buffer): Remove unused second arg.
12554 (byte-compile-preprocess): New function.
12555 (byte-compile-toplevel-file-form): New function to distinguish
12556 file-form calls from outside from file-form calls from hunk-handlers.
12557 (byte-compile-file-form): Simplify.
12558 (byte-compile-file-form-defsubst): Remove.
12559 (byte-compile-file-form-defmumble): Simplify now that
12560 byte-compile-lambda always returns a byte-code-function.
12561 (byte-compile): Preprocess.
12562 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12563 Remove, not used any more.
12564 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12565 (byte-compile-make-args-desc): New funs.
12566 (byte-compile-lambda): Handle lexical functions. Always return
12567 a byte-code-function.
12568 (byte-compile-reserved-constants): New var, to make up room for
12569 closed-over variables.
12570 (byte-compile-constants-vector): Obey it.
12571 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12572 (byte-compile-macroexpand-declare-function): New function.
12573 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12574 byte-code-functions.
12575 (byte-compile-form): Check obsolescence here.
12576 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12577 (byte-compile-variable-ref): Remove.
12578 (byte-compile-dynamic-variable-op): New fun.
12579 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12580 (byte-compile-variable-set): New funs.
12581 (byte-compile-discard): Add 2 args.
12582 (byte-compile-stack-ref, byte-compile-stack-set)
12583 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12584 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12585 macroexpand-all instead.
12586 (byte-compile-quote-form): Remove.
12587 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12588 (byte-compile-bind, byte-compile-unbind): New funs.
12589 (byte-compile-let): Handle let* and lexical binding.
12590 (byte-compile-let*): Remove.
12591 (byte-compile-catch, byte-compile-unwind-protect)
12592 (byte-compile-track-mouse, byte-compile-condition-case):
12593 Handle a new :fun-body form, used for lexical scoping.
12594 (byte-compile-save-window-excursion)
12595 (byte-compile-with-output-to-temp-buffer): Remove.
12596 (byte-compile-defun): Simplify.
12597 (byte-compile-stack-adjustment): New fun.
12598 (byte-compile-out): Use it.
12599 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12601 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12604 * emacs-lisp/byte-opt.el: Use lexical binding.
12605 (byte-inline-lapcode): Remove (to bytecomp).
12606 (byte-compile-inline-expand): Pay attention to inlining to/from
12607 lexically bound code.
12608 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12610 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12611 any more and don't call compiler-macros.
12612 (byte-compile-splice-in-already-compiled-code): Remove.
12613 (byte-code): Don't inline any more.
12614 (disassemble-offset): Receive `bytes' as argument rather than via
12616 (byte-compile-tag-number): Declare before first use.
12617 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12618 `return' even if make-spliceable.
12619 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12620 obsolete interactive-p.
12621 (byte-optimize-lapcode): Optimize new lap-codes.
12622 Don't trip up on new form of `byte-constant' lap code.
12624 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12626 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12628 * custom.el (custom-initialize-default, custom-declare-variable):
12631 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12633 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12634 (COMPILE_FIRST): Add macroexp and cconv.
12635 * makefile.w32-in: Mirror changes in Makefile.in.
12637 * vc/cvs-status.el:
12641 * vc/smerge-mode.el:
12642 * textmodes/bibtex-style.el:
12643 * textmodes/css.el:
12651 * emacs-lisp/smie.el:
12654 * abbrev.el: Use lexical binding.
12656 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12658 * info.el (info-display-manual): New function.
12660 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12664 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12666 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12667 an entry for that server in rcirc-authinfo. (Bug#8385)
12669 2011-03-31 Glenn Morris <rgm@gnu.org>
12671 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12673 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12675 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12677 * progmodes/python.el (python-default-interpreter)
12678 (python-python-command-args, python-jython-command-args)
12679 (python-which-shell, python-which-args, python-which-bufname)
12680 (python-file-queue, python-comint-output-filter-function)
12681 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12682 variables and functions.
12684 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12686 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12687 (completion-in-region-mode): New minor mode.
12688 (completion-in-region): Use it.
12689 (completion-in-region--data, completion-in-region-mode-map): New vars.
12690 (completion-in-region--postch): New function.
12691 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12693 (completion--capf-wrapper): New function.
12694 (completion-at-point): Use it to track well-behavedness of
12696 (completion-help-at-point): New command.
12698 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12700 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12701 syntax class to search for whitespace on a single line
12702 (Message-ID: <4D938140.4030905@redhat.com>).
12704 2011-03-30 Leo Liu <sdl.web@gmail.com>
12706 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12708 (edit-abbrevs-map): Bind them here.
12709 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12711 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12713 * allout.el (allout-hide-by-annotation, allout-flag-region):
12714 Reduce possibility of overlay leakage by making them volatile.
12716 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12717 hash is not shared between buffers. Mode initialization is
12718 responsible for giving it a useful starting value.
12719 (allout-item-span): Reduce possibility of overlay leakage by
12720 making them volatile.
12721 (allout-widgets-count-buttons-in-region): Add diagnostic function
12722 for tracking down button overlay leaks.
12724 2011-03-29 Leo Liu <sdl.web@gmail.com>
12726 * ido.el (ido-read-internal): Use the default history var
12727 minibuffer-history if no HISTORY is specified.
12729 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12731 * net/imap.el (imap-shell-open, imap-process-connection-type):
12732 Use imap-process-connection-type for 'shell' streams as well as
12733 Kerberos, SSL, other subprocesses.
12735 2011-03-28 Leo Liu <sdl.web@gmail.com>
12737 * abbrev.el (abbrev-table-empty-p): New function.
12738 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12739 nonempty ones. (Bug#5937)
12741 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12743 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12745 2011-03-27 Leo Liu <sdl.web@gmail.com>
12747 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12748 for foreground and background colors.
12749 (ansi-color-make-color-map): Adapt.
12751 2011-03-25 Leo Liu <sdl.web@gmail.com>
12753 * midnight.el (midnight-time-float): Remove. Note it calculates
12754 the microsecond component incorrectly and seconds-to-time does the
12756 Remove redundant (require 'timer).
12758 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12759 (ido-completions): Remove unused arguments. (Bug#8329)
12761 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12763 * minibuffer.el (completion--flush-all-sorted-completions):
12764 Remove itself from hook.
12765 (completion-at-point): Let the functions perform the completion
12766 immediately and return nil or t.
12767 * comint.el (comint-dynamic-complete-functions): Now identical to
12768 completion-at-point-functions.
12769 (comint-dynamic-list-input-ring): Remove unused var `index'.
12770 (comint--match-partial-filename, comint--unquote&expand-filename):
12771 New funs, split from comint-match-partial-filename.
12772 (comint-dynamic-complete): Use completion-at-point.
12773 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12775 2011-03-24 Drew Adams <drew.adams@oracle.com>
12777 * thingatpt.el: Support `defun'.
12779 2011-03-23 Leo Liu <sdl.web@gmail.com>
12781 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12783 * help-mode.el (help-mode-finish): Tweak regexp.
12785 2011-03-23 Glenn Morris <rgm@gnu.org>
12787 * eshell/esh-opt.el (eshell-eval-using-options):
12788 Do not bind unused local variable `eshell-option-stub'.
12790 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12792 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12794 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12795 keymap variable in `with-no-warnings' to avoid a warning when the
12796 keymap has been already `defconst'ed.
12798 2011-03-22 Leo Liu <sdl.web@gmail.com>
12800 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12801 encode all chars in abbrevs; otherwise use emacs-mule or
12802 utf-8-emacs. (Bug#8308)
12804 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12806 * simple.el (backward-delete-char-untabify):
12807 Avoid warning about using `delete-backward-char'.
12809 * image.el (image-type-file-name-regexps): Make it variable.
12810 `imagemagick-register-types' modifies it, and the user may want
12811 to add new extensions for known image types.
12812 (imagemagick-register-types): Throw error if not using ImageMagick.
12814 2011-03-22 Leo Liu <sdl.web@gmail.com>
12816 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12817 located before rcirc-prompt-end-marker.
12818 (rcirc-complete): Error if point is not after rcirc prompt.
12819 Handle the case when table is nil.
12820 (rcirc-user-authenticated): Define to fix compiler warning.
12822 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12824 * custom.el (custom--inhibit-theme-enable): Make it affect only
12825 custom-theme-set-variables and custom-theme-set-faces.
12826 (provide-theme): Ignore custom--inhibit-theme-enable.
12827 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12828 (custom-enabling-themes): Delete variable.
12829 (enable-theme): Accept only loaded themes as arguments.
12830 Ignore the special custom-enabled-themes variable.
12831 (custom-enabled-themes): Forbid themes from setting this.
12832 Eliminate use of custom-enabling-themes.
12833 (custom-push-theme): Quote "changed" custom var entry.
12835 2011-03-21 Leo Liu <sdl.web@gmail.com>
12837 * ido.el (ido-read-internal): Add ido-selected to history instead
12840 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12842 * subr.el (deferred-action-list, deferred-action-function):
12845 2011-03-21 Leo Liu <sdl.web@gmail.com>
12847 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12848 change on 2011-02-13 (bug#8309).
12850 * minibuffer.el (read-file-name-function): Change default value.
12851 (read-file-name--defaults): Rename from read-file-name-defaults.
12852 (read-file-name-default): Rename from read-file-name.
12853 (read-file-name): Call read-file-name-function.
12855 2011-03-21 Glenn Morris <rgm@gnu.org>
12857 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12860 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12862 * cus-theme.el: Add missing provide statement.
12863 (customize-create-theme): Extract theme value correctly.
12864 (custom-theme-visit-theme): Autoload.
12865 (customize-create-theme): Prompt before inserting default faces.
12867 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12869 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12870 units and musical notes.
12872 2011-03-20 Leo Liu <sdl.web@gmail.com>
12874 * ido.el (ido-read-internal): Use completing-read-default.
12875 (ido-completing-read): Fix compatibility with completing-read.
12877 2011-03-20 Christian Ohler <ohler@gnu.org>
12879 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12880 (ert-delete-all-tests): Use `called-interactively-p' rather than
12882 (ert--make-xrefs-region): Respect END.
12884 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12886 * dired-aux.el (dired-create-directory): Signal an error if the
12887 directory already exists (Bug#8246).
12889 * facemenu.el (list-colors-display): Call list-faces-display
12890 inside with-help-window.
12891 (list-colors-print): Use display property to align the final
12892 column, instead of checking window-width.
12894 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12896 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12897 windows-nt systems.
12898 (emerge-protect-metachars): Quote correctly for ms-dos and
12899 windows-nt systems.
12901 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12903 * info.el (info-initialize): Replace all uses of `:' with
12904 path-separator for compatibility with non-Unix systems.
12905 Cache quoting of path-separator. (Bug#8258)
12907 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12909 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12910 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12911 (mouse-avoidance-mode): Fix typos in docstrings.
12913 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12915 * startup.el (package-subdirectory-regexp): Move from package.el.
12916 Omit \\` and \\', and let callers add them.
12918 * emacs-lisp/package.el (package-strip-version)
12919 (package-load-all-descriptors): Add \\` and \\' to
12920 package-subdirectory-regexp before using it.
12921 (package-untar-buffer): New arg DIR; ensure that file untars only
12922 into this expected directory. Remove superfluous delete-region.
12923 (package-unpack): Caller changed.
12924 (package-tar-file-info): Use package-subdirectory-regexp.
12926 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12929 diff-mode-shared-map (bug#8284).
12930 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12932 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934 * calendar/time-date.el (format-seconds): Use assoc instead of
12935 assoc-string, since assoc-string doesn't exist in XEmacs.
12937 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12939 * custom.el (custom-known-themes): Reflow docstring.
12940 (custom-theme-load-path): Fix typo in docstring.
12941 (load-theme): Fix typo in error message.
12942 (custom-available-themes, custom-variable-theme-value):
12943 Use `let', not `let*'.
12945 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12947 * calc/README: Mention inclusion of musical notes.
12949 * calc/calc-units.el (calc-lu-quant): Rename from
12950 `calc-logunits-quantity'.
12951 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12952 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12953 (calc-db): Rename from `calc-dblevel'.
12954 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12955 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12956 (calc-np): Rename from `calc-nplevel'.
12957 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12958 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12959 (calc-lu-plus): Rename from `calc-logunits-add'.
12960 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12961 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12962 (calc-lu-minus): Rename from `calc-logunits-sub'.
12963 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12964 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12965 (calc-lu-times): Rename from `calc-logunits-mul'.
12966 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12967 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12968 (calc-lu-divide): Rename from `calc-logunits-div'.
12969 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12970 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12972 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12973 functions being autoloaded.
12975 * calc/calc.el (calc-lu-power-reference): Rename from
12976 `calc-logunits-power-reference'.
12977 (calc-lu-field-reference): Rename from
12978 `calc-logunits-field-reference'.
12980 * calc/calc-help.el (calc-l-prefix-help):
12981 Mention musical note functions.
12983 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12985 * minibuffer.el (completion-all-sorted-completions):
12986 Use :completion-cycle-penalty text property if present.
12988 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12990 * allout.el (allout-yank-processing): Adjust for new rebulleting
12991 regime so bullet being yanked is used without prompting the user
12994 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12996 * startup.el (command-line): Warn the user that _emacs is deprecated.
12998 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13000 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13001 (delphi-verbose, delphi-comment-face, delphi-string-face)
13002 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13003 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13004 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13005 (delphi-new-comment-line, delphi-font-lock-defaults)
13006 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13007 Fix typos in docstrings.
13009 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13011 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13012 Invert the roles of character and string values for INSTEAD, so a
13013 string is used for the more common case of a defaulting prompt.
13015 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13017 * progmodes/ruby-mode.el (ruby-backward-sexp):
13018 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13019 * play/gamegrid.el (gamegrid-make-face):
13020 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13021 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13022 * notifications.el (notifications-notify):
13023 * net/xesam.el (xesam-search-engines):
13024 * net/quickurl.el (quickurl-list-insert):
13025 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13027 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13029 * startup.el (command-line): Update package subdirectory regexp.
13031 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13033 * allout.el (allout-abbreviate-flattened-numbering)
13034 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13036 * subr.el (read-char-choice): Only show the cursor after the prompt,
13037 not after the answer.
13039 2011-03-15 Kevin Ryde <user42@zip.com.au>
13041 * help-fns.el (variable-at-point): Skip leading quotes, if any
13044 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13049 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13051 * shell.el (shell): When called interactively, offer to change the
13052 shell file name on remote hosts.
13054 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13056 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13057 integration for LDAP parameters. The host, base, user or binddn,
13058 and secret tokens can be specified in a netrc file, for instance.
13059 This is optional because an `auth-source' parameter must be
13060 specified in the search attributes.
13062 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13064 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13066 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13068 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13069 into declaration. Remove redundant and harmful binding.
13071 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13073 * files.el (file-ownership-preserved-p): Pass `integer' as an
13074 explicit 2nd argument to `file-attributes'. If the file's owner
13075 is the Administrators group on Windows, and the current user is
13076 Administrator, consider that a match.
13078 * server.el (server-ensure-safe-dir): Consider server directory
13079 safe on MS-Windows if its owner is the Administrators group while
13080 the current Emacs user is Administrator. Use `=' to compare
13081 numerical UIDs, since they could be integers or floats.
13083 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13085 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13087 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13089 Sync with Tramp 2.2.1.
13091 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13093 * net/trampver.el: Update release number.
13095 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13097 * progmodes/compile.el (compilation--previous-directory): Fix up
13098 various nil/dead-marker mismatches (bug#8014).
13099 (compilation-directory-properties, compilation-error-properties):
13100 Don't call it at a position past the one we're about to change.
13102 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13103 Disable obsolescence warnings in the file that declares it.
13105 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13107 * allout-widgets.el (allout-widgets-tally):
13108 Initialize allout-widgets-tally as a hash table rather than nil to
13109 prevent mode-line redisplay warnings. Also, clarify the module
13110 description and fix a comment typo.
13112 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13114 * help-fns.el (describe-variable): Don't complete keywords.
13115 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13117 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13119 * emacs-lisp/package.el (package-version-join): Impose a standard
13120 string representation for pre/alpha/beta version lists.
13121 (package-unpack-single): Standardize the directory name by passing
13122 it through package-version-join.
13123 (package-strip-rcs-id): Accept any version string that does not
13124 signal an error in version-to-list.
13126 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13128 * simple.el (delete-trailing-whitespace): Return nil for the
13129 benefit of `write-file-functions'.
13131 2011-03-10 Glenn Morris <rgm@gnu.org>
13133 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13135 * vc/vc-git.el (vc-git-program): New option.
13136 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13137 (vc-git--call): Use it.
13139 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13141 * cus-edit.el (Custom-newline): If no button at point, look
13142 for a subgroup button at start-of-line. (Bug#2298)
13144 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13146 2011-03-10 Julien Danjou <julien@danjou.info>
13148 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13149 `cursor-type' is nil.
13151 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13153 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13155 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13157 * allout.el: Change so yank of distinctive-bullet items
13158 preserves the existing header prefix, rebulleting it if necessary,
13159 rather than replacing it. This is necessary for proper operation
13160 of cooperative addons like allout-widgets.
13161 (allout-make-topic-prefix, allout-rebullet-heading):
13162 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13163 value as alternate bullet to be used, instead of prompting the user
13164 for a bullet character.
13166 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13168 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13169 Do not use `tramp-file-name-port', because this returns also
13170 `tramp-default-port'.
13172 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13174 * net/rcirc.el (rcirc-handler-001): Remove useless
13175 with-rcirc-process-buffer.
13176 (rcirc-check-auth-status): Swap arguments to string-match.
13178 2011-03-09 Glenn Morris <rgm@gnu.org>
13180 * shell.el (shell-mode):
13181 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13183 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13184 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13186 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13188 * emacs-lisp/package.el (package-refresh-contents)
13189 (package-menu-execute): Use condition-case-no-debug.
13191 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13193 * simple.el (shell-command-to-string): Use `process-file'.
13195 * emacs-lisp/package.el (package-tar-file-info): Handle also
13198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13199 Use `equal' for upload base check.
13201 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13203 * textmodes/texinfo.el (texinfo-environments):
13204 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13206 2011-03-08 Glenn Morris <rgm@gnu.org>
13208 * cus-start.el (cursor-in-non-selected-windows):
13209 Fix :set quoting oddness. (Bug#8192)
13211 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13212 in some setf expressions. (Bug#2159)
13214 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13216 * custom.el (custom-available-themes): Return themes in
13217 alphabetical order.
13219 See ChangeLog.15 for earlier changes.
13221 ;; Local Variables:
13225 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13227 This file is part of GNU Emacs.
13229 GNU Emacs is free software: you can redistribute it and/or modify
13230 it under the terms of the GNU General Public License as published by
13231 the Free Software Foundation, either version 3 of the License, or
13232 (at your option) any later version.
13234 GNU Emacs is distributed in the hope that it will be useful,
13235 but WITHOUT ANY WARRANTY; without even the implied warranty of
13236 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13237 GNU General Public License for more details.
13239 You should have received a copy of the GNU General Public License
13240 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.