1 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7 * progmodes/verilog-mode.el (font-lock-keywords):
8 Fix mis-highligting auto. Reported by Craig Barner.
9 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10 defines from global name space. Reported by Dan Dever.
11 (verilog-auto-reset, verilog-auto-reset-widths)
12 (verilog-auto-tieoff): Support using unbased numbers for
13 AUTORESET and AUTOTIEOFF.
14 (verilog-submit-bug-report): Update variable list.
15 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
16 parenthesis from not matching. Reported by Michael Rytting.
17 (verilog-auto-template-lint): Fix hash error when linting modules
18 with no used templates.
19 (verilog-warn, verilog-warn-error)
20 (verilog-warn-fatal): When non-interactive report multiple
21 warnings before exiting. Suggested by Brad Dobbie.
22 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
23 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
24 to report unused template errors. Reported by Brad Dobbie.
25 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
26 nets, bug438. Reported by Vns Blore.
27 (verilog-auto-inout-module, verilog-auto-reg)
28 (verilog-read-decls, verilog-read-sub-decls-sig)
29 (verilog-signals-edit-wire-reg, verilog-signals-with):
30 Fix passing of Verilog data types in ANSI input/output ports
31 such as "output logic" into the AUTOs. Special case "wire" and
32 "reg" for backwards compatibility presuming Verilog 2001.
33 (verilog-auto-ascii-enum): Add "auto enum" as alias.
34 (verilog-preprocess): Fix replication of preprocess output.
35 Reported by Brad Dobbie.
36 (verilog-auto-inst-interfaced-ports):
37 Create verilog-auto-inst-interfaced-ports, bug429.
38 Reported by Julian Gorfajn.
39 (verilog-after-save-font-hook)
40 (verilog-before-save-font-hook): New variable.
41 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
42 (verilog-save-font-mods): Wrap disabling fontification, reported
44 (verilog-do-indent, verilog-pretty-declarations-auto)
45 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
46 Reported by Pierre-David Pfister.
47 (verilog-set-auto-endcomments): Fix endtask auto comments outside
48 of class declarations, bug292. Reported by Kevin Heilman.
49 (verilog-read-decls): Fix 'parameter type' not appearing in
50 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
51 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
52 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
53 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
54 Reported by David Kravitz.
56 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
58 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
59 assignment with tests in ifs and for loops.
60 (verilog-extended-complete-re, verilog-complete-reg): Change so
61 that DPI inport functions don't look like fuction declarations.
62 (verilog-pretty-expr): Don't line up assignment
63 operations to the test and increment in if and for loops
64 (verilog-extended-complete-re, verilog-complete-reg): Change so
65 that DPI inport functions don't look like fuction declarations
67 2012-05-03 Kenichi Handa <handa@m17n.org>
69 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
70 decoding, and show a warning message without signalling an error
73 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
75 * emacs-lisp/bytecomp.el
76 (byte-compile-file-form-custom-declare-variable): Compile all elements,
77 since cconv.el might have introduced :fun-body, internal-make-closure,
78 and friends for bytecomp to handle (bug#11391).
79 * custom.el (defcustom): Avoid ((λ ..) ..).
81 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
83 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
85 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
87 * notifications.el (dbus-debug):
88 * term/linux.el (gpm-mouse-enable):
89 * term/screen.el (xterm-register-default-colors): Declare.
91 2012-05-02 Chong Yidong <cyd@gnu.org>
93 * cus-start.el (gc-cons-percentage, exec-suffixes)
94 (dos-display-scancodes, dos-hyper-key, dos-super-key)
95 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
96 (make-cursor-line-fully-visible, void-text-area-pointer)
97 (font-list-limit): Add customization data.
99 * allout.el (allout-exposure-change-functions)
100 (allout-structure-added-functions)
101 (allout-structure-deleted-functions)
102 (allout-structure-shifted-functions): Rename abnormal hooks from
103 *-hook, and convert to defcustoms.
104 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
105 Convert to defcustoms.
106 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
108 * allout-widgets.el: Hook callers changed.
110 2012-05-02 Eli Zaretskii <eliz@gnu.org>
112 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
113 the yanked message in preference to the default value of
114 buffer-file-coding-system.
116 2012-05-02 Martin Rudalics <rudalics@gmx.at>
118 * window.el (display-buffer--action-function-custom-type):
121 2012-05-02 Alan Mackenzie <acm@muc.de>
123 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
125 2012-05-01 Glenn Morris <rgm@gnu.org>
127 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
129 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
131 * cus-edit.el (custom-variable-documentation): Simplify with format.
133 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
134 Stefan Monnier <monnier@iro.umontreal.ca>
136 * simple.el (suggest-key-bindings, execute-extended-command):
137 Move from keyboard.c.
139 2012-05-01 Chong Yidong <cyd@gnu.org>
141 * follow.el: Eliminate advice.
142 (set-process-filter, process-filter, sit-for): Advice deleted.
143 (follow-mode-off-hook): Obsolete hook removed.
144 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
146 (follow-auto): Use a :set function.
147 (follow-mode): Rewritten. Don't advise process filters.
148 (follow-switch-to-current-buffer-all, follow-scroll-up)
149 (follow-scroll-down): Assume follow-mode is bound.
150 (follow-comint-scroll-to-bottom)
151 (follow-align-compilation-windows): New functions.
152 (follow--window-sorter): New function.
153 (follow-all-followers): Use it to explicitly sort windows by their
154 positions; don't make assumptions about next-window order.
155 (follow-windows-start-end, follow-delete-other-windows-and-split)
156 (follow-calc-win-start): Doc fix.
157 (follow-windows-aligned-p, follow-select-if-visible): Don't call
158 vertical-motion unnecessarily.
159 (follow-adjust-window): New function.
160 (follow-post-command-hook): Use it.
161 (follow-call-set-process-filter, follow-call-process-filter)
162 (follow-intercept-process-output, follow-tidy-process-filter-alist)
163 (follow-stop-intercept-process-output, follow-generic-filter):
165 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
166 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
167 New functions, replacing advice on scroll-bar-* commands.
168 (follow-mwheel-scroll): New function (Bug#4112).
170 * comint.el (comint-adjust-point): New function.
171 (comint-postoutput-scroll-to-bottom): Use it.
172 Call follow-comint-scroll-to-bottom for Follow mode buffers.
174 2012-05-01 Glenn Morris <rgm@gnu.org>
176 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
177 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
178 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
179 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
180 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
181 Remove no-byte-compile setting.
183 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
185 * minibuffer.el (completion-table-with-quoting): Fix compatibility
186 all-completions code to not return a number in the last cdr.
188 2012-04-30 Leo Liu <sdl.web@gmail.com>
190 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
193 2012-04-29 Chong Yidong <cyd@gnu.org>
195 * follow.el (follow-calc-win-end): Rewrite to handle partial
196 screen lines correctly (Bug#8390).
197 (follow-avoid-tail-recenter): Minor cleanup.
199 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
201 Avoid the obsolete `assoc' package.
202 * speedbar.el (speedbar-refresh): Avoid adelete.
203 (speedbar-file-lists): Simplify and avoid aput.
204 * man.el (Man--sections, Man--refpages): New vars, replacing
205 Man-sections-alist and Man-refpages-alist.
206 (Man-build-section-alist, Man-build-references-alist):
207 Use them; avoid aput.
208 (Man--last-section, Man--last-refpage): New vars.
209 (Man-follow-manual-reference): Use them.
210 Use the `default' arg of completing-read.
211 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
213 2012-04-27 Chong Yidong <cyd@gnu.org>
215 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
217 * startup.el (x-apply-session-resources): New function.
219 * term/ns-win.el (ns-initialize-window-system):
220 * term/w32-win.el (w32-initialize-window-system):
221 * term/x-win.el (x-initialize-window-system): Use it to properly
222 set menu-bar-mode and other vars from X resources, even if the
223 initial frame is not a window-system frame (Bug#2299).
225 * subr.el (read-key): Avoid running filter function when setting
226 up temporary tool bar entries (Bug#9922).
228 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
230 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
233 2012-04-27 Chong Yidong <cyd@gnu.org>
235 * select.el (xselect--encode-string): New function, split from
236 xselect-convert-to-string.
237 (xselect-convert-to-string): Use it.
238 (xselect-convert-to-filename, xselect-convert-to-os)
239 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
240 returned strings are properly encoded (Bug#11315).
242 2012-04-27 Chong Yidong <cyd@gnu.org>
244 * simple.el (delete-active-region): Move to killing custom group.
246 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
248 * progmodes/which-func.el (which-func-current): Quote %
249 characters for mode-line processing.
251 2012-04-27 Chong Yidong <cyd@gnu.org>
253 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
254 reaching eob (Bug#11286).
256 2012-04-27 Eli Zaretskii <eliz@gnu.org>
258 * progmodes/gdb-mi.el (gdb-control-level): New variable.
259 (gdb): Make it buffer-local and init to zero.
260 (gdb-control-commands-regexp): New variable.
261 (gdb-send): Don't wrap in "-interpreter-exec console" if
262 gdb-control-level is positive. Increment gdb-control-level
263 whenever the command matches gdb-control-commands-regexp, and
264 decrement it each time the command is "end". (Bug#11279)
266 2012-04-27 Martin Rudalics <rudalics@gmx.at>
268 * window.el (adjust-window-trailing-edge, enlarge-window)
269 (shrink-window, window-resize):
270 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
273 2012-04-27 Chong Yidong <cyd@gnu.org>
275 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
276 fix "missing prefix" warning. All callers changed.
278 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
280 * emacs-lisp/assoc.el: Move to obsolete/.
282 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
284 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
286 * term/ns-win.el (ns-define-service):
287 * progmodes/pascal.el (pascal-goto-defun):
288 * progmodes/js.el (js--read-tab):
289 * progmodes/etags.el (tags-lazy-completion-table):
290 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
291 * emacs-lisp/ewoc.el (ewoc--wrap):
292 * emacs-lisp/assoc.el (aput, adelete, amake):
293 * doc-view.el (doc-view-convert-current-doc):
294 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
296 2012-04-26 Chong Yidong <cyd@gnu.org>
298 * image.el (image-type-from-buffer): Only return supported image
301 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
302 value, for symmetry with diff-end-of-hunk.
303 (diff-split-hunk, diff-find-source-location)
304 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
305 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
306 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
307 compute the relevant hunk or file properly (Bug#6005).
308 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
310 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
319 * vc/vc.el: Replace lexical-let by lexical-binding.
320 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
321 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
322 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
324 2012-04-26 Chong Yidong <cyd@gnu.org>
326 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
327 (diff-mode-shared-map): Bind it to / and [remap undo].
329 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
330 (ediff-window-setup-function): Use it as the default, to set up
331 windows based on whether the current frame is graphical (Bug#2138).
332 (ediff-choose-window-setup-function-automatically): Make obsolete.
334 * vc/ediff-init.el: Always define ediff-pixel-width/height.
336 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
338 * ffap.el: Remove old code for obsolete package.
339 (ffap-complete-as-file-p): Remove.
341 Use completion-table-with-quoting for comint and pcomplete.
342 * comint.el (comint--unquote&requote-argument)
343 (comint--unquote-argument, comint--requote-argument): New functions.
344 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
345 (comint-quote-filename): Use regexp-opt-charset.
346 (comint--common-suffix, comint--common-quoted-suffix)
347 (comint--table-subvert): Remove.
348 (comint-unquote-function, comint-requote-function): New vars.
349 (comint--complete-file-name-data): Use them with
350 completion-table-with-quoting.
351 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
352 * pcomplete.el (pcomplete-arg-quote-list)
353 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
354 (pcomplete-unquote-argument-function): Default to non-nil.
355 (pcomplete-unquote-argument): Simplify.
356 (pcomplete--common-quoted-suffix): Remove.
357 (pcomplete-requote-argument-function): New var.
358 (pcomplete--common-suffix): New function.
359 (pcomplete-completions-at-point): Use completion-table-with-quoting
360 and completion-table-subvert.
362 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
363 (minibuffer--double-dollars): Preserve properties.
364 (completion--sifn-requote): New function.
365 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
367 * minibuffer.el: Add support for completion of quoted/escaped data.
368 (completion-table-with-quoting, completion-table-subvert): New funs.
369 (completion--twq-try, completion--twq-all): New functions.
370 (completion--nth-completion): New function.
371 (completion-try-completion, completion-all-completions): Use it.
373 2012-04-25 Leo Liu <sdl.web@gmail.com>
375 * progmodes/python.el (python-pdbtrack-get-source-buffer):
376 Use compilation-message if available to find real filename.
378 2012-04-25 Chong Yidong <cyd@gnu.org>
380 * vc/diff-mode.el (diff-setup-whitespace): New function.
383 * vc/diff.el (diff-sentinel):
384 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
385 Whitespace mode variables based on diff style (Bug#8612).
387 2012-04-25 Leo Liu <sdl.web@gmail.com>
389 * progmodes/python.el (python-send-region): Add suffix .py to the
392 * files.el (auto-mode-alist): Use javascript-mode instead.
394 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
396 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
398 * soap-client.el (soap-resolve-references-for-sequence-type)
399 (soap-resolve-references-for-array-type): Hack to prevent self
400 references, see Bug#9.
401 (soap-parse-envelope): Report the contents of the 'detail' node
402 when receiving a fault reply.
403 (soap-parse-envelope): Report the contents of the entire 'detail' node.
405 * soap-inspect.el (soap-sample-value-for-simple-type)
406 (soap-inspect-simple-type): New function.
408 * soap-client.el (soap-simple-type): New struct.
409 (soap-default-xsd-types, soap-default-soapenc-types)
410 (soap-decode-basic-type, soap-encode-basic-type):
411 support unsignedInt and double basic types.
412 (soap-resolve-references-for-simple-type)
413 (soap-parse-simple-type, soap-encode-simple-type): New function.
414 (soap-parse-schema): Parse xsd:simpleType declarations.
416 * soap-client.el (soap-default-xsd-types)
417 (soap-default-soapenc-types): Add integer, byte and anyURI types.
418 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
419 the local name of "soapenc:Array".
420 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
421 decoding integer, byte and anyURI xsd types.
423 2012-04-25 Chong Yidong <cyd@gnu.org>
425 * cus-edit.el (custom-buffer-create-internal): Update header text.
427 2012-04-25 Eli Zaretskii <eliz@gnu.org>
429 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
430 settings on 'system-type', not on 'window-system'. On MS-Windows,
431 set interactive-mode on in GDB.
433 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
435 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
436 (ruby-syntax-propertize-regexp): Remove.
437 (ruby-syntax-propertize-function): Split regexp into chunks.
438 Match following code directly.
440 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
442 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
443 (ruby-syntax-propertize-regexp): New function.
444 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
445 by a special keyword.
447 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
448 (ruby-syntax-general-delimiters-goto-beg)
449 (ruby-syntax-propertize-general-delimiters): New functions.
450 (ruby-syntax-propertize-function): Use them to handle GDL.
451 (ruby-font-lock-keywords): Move old handling of GDL...
452 (ruby-font-lock-syntactic-keywords): .. to here.
453 (ruby-calculate-indent): Adjust indentation for GDL.
455 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
457 * notifications.el (top): Remove unneeded declarations.
458 (notifications-specification-version): Change to "1.2".
459 (notifications-interface, notifications-notify-method)
460 (notifications-close-notification-method): Fix docstring.
461 (notifications-get-capabilities-method): New defconst.
462 (notifications-notify): Add :action-items, :resident and
463 :transient hints. Change "image_data" to "image-data" and
464 "image_path" to "image-path".
465 (notifications-get-capabilities): New defun.
467 2012-04-24 Leo Liu <sdl.web@gmail.com>
469 * progmodes/python.el: Move hideshow setup to the end.
471 2012-04-24 Martin Rudalics <rudalics@gmx.at>
473 * window.el (handle-select-window): Clear echo area since this is
474 no more done by read_char (Bug#11304).
476 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
478 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
479 and `/ M' to filter-derived-mode.
480 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
481 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
482 (ibuffer-mark-by-mode): Use default rather than initial-input.
483 (ibuffer-filter-by-derived-mode): Autoload and require-match.
485 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
487 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
488 (ibuffer-filter-by-derived-mode): New filter.
489 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
491 2012-04-23 Andreas Politz <politza@fh-trier.de>
493 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
495 2012-04-23 Chong Yidong <cyd@gnu.org>
497 * cus-edit.el (customize-apropos, customize-apropos-options):
498 Disable matching of non-option variables (Bug#11176).
499 (customize-option, customize-option-other-window)
500 (customize-changed-options): Doc fix.
501 (customize-apropos-options, customize-apropos-faces)
502 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
504 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
505 Fix word list splitting (Bug#11132).
506 (apropos-symbol, apropos-keybinding, apropos-label)
507 (apropos-property, apropos-function-button)
508 (apropos-variable-button, apropos-misc-button): New faces.
509 (apropos-symbol-face, apropos-keybinding-face)
510 (apropos-label-face, apropos-property-face, apropos-match-face):
511 Variables removed (Bug#8396).
512 (apropos-library-button, apropos-format-plist, apropos-print)
513 (apropos-print-doc, apropos-describe-plist): Callers changed.
515 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
517 * net/xesam.el (xesam-mode-map): Use let-bound map in
518 initialization. (Bug#11292)
520 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
522 Preserve ispell session localwords when switching back to
525 * ispell.el (ispell-buffer-session-localwords): New buffer-local
526 variable to hold buffer session localwords.
527 (ispell-kill-ispell): add option 'clear to delete session
529 (ispell-command-loop, ispell-change-dictionary)
530 (ispell-buffer-local-words): Preserve session localwords when
533 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
534 Preserve session localwords when needed.
536 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
538 * ispell.el (ispell-insert-word) Remove unneeded function using
539 obsolete `translation-table-for-input'.
540 (ispell-word, ispell-process-line, ispell-complete-word):
541 Use plain `insert' instead of removed `ispell-insert-word'.
543 2012-04-22 Chong Yidong <cyd@gnu.org>
545 * cus-edit.el (custom-variable-menu)
546 (custom-variable-reset-saved, custom-face-menu)
547 (custom-face-reset-saved): If there is no saved value, make the
548 "reset-saved" operation bring back the default (Bug#9509).
549 (custom-face-state): Properly detect themed faces.
551 * faces.el (face-spec-set): Stop supporting deprecated form of
554 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
556 Move functions from C to Lisp. Make non-blocking method calls
557 the default. Implement further D-Bus standard interfaces.
559 * net/dbus.el (dbus-message-internal): Declare function.
560 Remove unneeded function declarations.
561 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
562 (dbus-message-type-method-return, dbus-message-type-error)
563 (dbus-message-type-signal): Declare variables. Remove local
565 (dbus-interface-dbus, dbus-interface-peer)
566 (dbus-interface-introspectable, dbus-interface-properties)
567 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
569 (dbus-interface-objectmanager): New defconst.
570 (dbus-call-method, dbus-call-method-asynchronously)
571 (dbus-send-signal, dbus-method-return-internal)
572 (dbus-method-error-internal, dbus-register-service)
573 (dbus-register-signal, dbus-register-method): New defuns, moved
575 (dbus-call-method-handler, dbus-setenv)
576 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
578 (dbus-call-method-non-blocking): Make it an obsolete function.
579 (dbus-unregister-object, dbus-unregister-service)
580 (dbus-handle-event, dbus-register-property)
581 (dbus-property-handler): Obey the new structure of
582 `bus-registered-objects'.
583 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
584 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
585 Use `dbus-call-method'.
587 2012-04-22 Chong Yidong <cyd@gnu.org>
589 * cus-edit.el (custom-commands, custom-reset-menu)
590 (Custom-reset-standard): Tweak labels.
591 (custom-reset-button-menu): Change default to t.
592 (custom-buffer-create-internal): For the custom-reset-button-menu
593 case, put the revert button first.
594 (custom-group-subtitle): New face.
595 (custom-group-value-create): Align docstring to a specific column.
597 * wid-edit.el (widget-documentation-link-add): Don't handle
598 indentation in this function.
599 (widget-documentation-string-indent-to): New function.
600 (widget-documentation-string-value-create): Use it.
602 * autorevert.el (auto-revert):
603 * epg-config.el (epg):
604 * ibuffer.el (ibuffer):
607 * eshell/eshell.el (eshell):
608 * net/ange-ftp.el (ange-ftp):
609 * progmodes/ebnf2ps.el (postscript):
610 * progmodes/flymake.el (flymake):
611 * progmodes/prolog.el (prolog):
612 * progmodes/verilog-mode.el (verilog-mode):
613 * progmodes/which-func.el (which-func):
614 * term/xterm.el (xterm):
615 * textmodes/picture.el (picture):
616 * textmodes/tildify.el (tildify):
617 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
618 customization buffers.
620 2012-04-22 Alan Mackenzie <acm@muc.de>
622 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
623 Adding a ) can hide the resulting (..) from searches. Fix it.
624 Bound the backward search to the position of the existing (.
626 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
628 * progmodes/verilog-mode.el (verilog-mode): Check whether
629 which-func-modes is t before adding verilog-mode.
630 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
632 2012-04-21 Leo Liu <sdl.web@gmail.com>
634 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
636 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
638 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
639 filling of the last column of a table (Bug#5635).
640 (woman-find-next-control-line): New arg, specifying an additional
641 regexp component for the control line.
642 (woman2-roff-buffer): Use it.
643 (woman-break-table): New function.
646 2012-04-21 Chong Yidong <cyd@gnu.org>
648 * woman.el (woman-set-buffer-display-table, woman-decode-region)
649 (woman-horizontal-escapes, woman-negative-vertical-space)
650 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
651 (WoMan-warn-ignored): Use ?\s instead of ?\ .
653 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
655 * minibuffer.el (completion-file-name-table): Complete user names.
657 2012-04-20 Leo Liu <sdl.web@gmail.com>
659 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
662 2012-04-20 Chong Yidong <cyd@gnu.org>
664 * server.el (server-execute): Respect initial-buffer-choice if it
665 is a string and there are no files to open (Bug#2825).
666 (server-create-window-system-frame, server-create-tty-frame):
667 Don't switch buffers here.
668 (server-process-filter): Only try to open a window system frame if
669 compiled with graphical support (Bug#8314).
671 2012-04-20 Dan Nicolaescu <dann@gnu.org>
673 * battery.el (battery-echo-area-format): Display remaining time
674 for sysfs backend too (Bug#11269).
675 (battery-linux-sysfs): Fix conditional for the charge.
677 2012-04-20 Chong Yidong <cyd@gnu.org>
679 * progmodes/gdb-mi.el (gdb): Revert previous change.
680 (gdb-inferior-io--init-proc): New function.
681 (gdb-init-1): Use it.
682 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
683 responsible for allocating a new pty and hooking it to gdb when
684 the old pty gets an EIO due to process exit.
685 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
686 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
687 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
689 2012-04-20 Eli Zaretskii <eliz@gnu.org>
691 * window.el (window-min-size, window-sizable, window-min-delta)
692 (window-max-delta, window--resizable, window-resizable)
693 (window-total-size, window-full-height-p, window-full-width-p)
694 (window-in-direction, window--resize-mini-window, window-resize)
695 (window--resize-child-windows-normal)
696 (window--resize-child-windows, window--resize-siblings)
697 (window--resize-this-window, adjust-window-trailing-edge)
698 (enlarge-window, shrink-window): Doc fixes.
700 2012-04-20 Chong Yidong <cyd@gnu.org>
702 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
703 New function to call delete-process on the gdb-inferior buffer's pty.
704 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
705 pty process (Bug#11273).
706 (gdb-update): New arg to suppress talking to the gdb process.
707 (gdb-done-or-error): Use it.
708 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
709 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
710 sentinel not being called.
712 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
714 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
716 2012-04-20 Glenn Morris <rgm@gnu.org>
718 * net/network-stream.el (open-network-stream): Doc fix.
720 2012-04-20 Chong Yidong <cyd@gnu.org>
722 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
724 2012-04-20 Alan Mackenzie <acm@muc.de>
726 Ensure searching for keywords is case sensitive.
728 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
729 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
730 (c-defun-name, c-mark-function, c-cpp-define-name)
731 (c-comment-indent, c-scan-conditionals, c-indent-defun)
732 (c-context-line-break): Bind case-fold-search to nil.
734 * progmodes/cc-mode.el (c-font-lock-fontify-region):
735 Bind case-fold-search to nil.
737 2012-04-20 Chong Yidong <cyd@gnu.org>
739 * mail/sendmail.el (mail-bury): Call return action with the right
740 Rmail buffer (Bug#11242).
742 * server.el (server-process-filter): Handle corner case where both
743 tty and nowait options are present (Bug#11102).
745 2012-04-20 Eli Zaretskii <eliz@gnu.org>
747 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
748 (top level): Put into the executable the ident-style '$Id:' tag on
751 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
753 * electric.el (electric-indent-post-self-insert-function): Check that
754 electric-indent-mode is enabled in current buffer.
756 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
758 * imenu.el (imenu-progress-message): Restore; it is "used" in
759 erc/erc-imenu.el and net/snmp-mode.el.
761 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
763 * avoid.el (mouse-avoidance-mode): Mark unused arg.
764 (mouse-avoidance-nudge-mouse): Remove unused binding.
766 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
768 * descr-text.el (describe-char):
769 * progmodes/python.el (python-describe-symbol):
770 Don't call `toggle-read-only', set `buffer-read-only'.
772 * imenu.el (imenu-default-goto-function): Mark unused args.
773 (imenu-progress-message): Remove obsolete macro; all callers changed.
775 * subr.el (keymap-canonicalize): Remove unused binding.
776 (read-passwd): Mark unused arg.
778 * tutorial.el (tutorial--display-changes): Remove unused binding.
779 (tutorial--save-tutorial-to): Remove unused variable.
781 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
782 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
783 (package-generate-autoloads, package-menu--generate)
784 (package-menu--find-upgrades): Remove unused bindings.
786 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
787 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
788 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
789 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
790 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
791 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
792 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
793 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
794 (cua-delete-char-rectangle): Mark unused args.
795 (cua-align-rectangle): Remove unused binding.
797 * mail/rmail.el (compilation--message->loc)
798 (epa--find-coding-system-for-mime-charset): Declare.
800 * net/dbus.el (dbus-register-service): Declare.
801 (dbus-name-owner-changed-handler): Remove unused binding.
803 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
804 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
805 (nxml-scan-backward-within): Mark unused arg.
806 (nxml-dynamic-markup-word): Remove unused binding.
808 * mouse.el (mouse-menu-major-mode-map):
809 * emacs-lisp/authors.el (authors-scan-change-log)
810 (authors-add-to-author-list):
811 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
812 * emacs-lisp/smie.el (smie-auto-fill):
813 * mail/sendmail.el (mail-bury):
814 * mail/unrmail.el (unrmail):
815 * net/tls.el (open-tls-stream):
816 * textmodes/picture.el (picture-mouse-set-point):
817 Remove unused bindings.
819 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
821 * net/tramp.el (tramp-action-password): Let-bind
822 `enable-recursive-minibuffers' to t.
824 2012-04-18 Sam Steingold <sds@gnu.org>
826 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
827 instead of 'string to accommodate values like [f11].
828 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
829 * progmodes/gdb-mi.el: Likewise.
831 2012-04-18 Leo Liu <sdl.web@gmail.com>
833 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
835 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
838 2012-04-18 Chong Yidong <cyd@gnu.org>
840 * simple.el (line-move): Use forward-line if in batch mode
843 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
845 * files.el (after-find-file): Do not try to add a final newline if
846 the buffer is read-only (Bug#11156).
848 2012-04-17 Richard Stallman <rms@gnu.org>
850 * mail/rmail.el (rmail-start-mail):
851 Pass (rmail-mail-return...) for the return-action.
852 Pass (rmail-yank-current-message...) for the yank-action.
853 (rmail-yank-current-message): New function.
854 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
855 (rmail-reply): Likewise.
856 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
858 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
859 buffer, not the last. Reject temp buffers. Use the rmail-mode
862 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
864 * server.el (server-ensure-safe-dir): Simplify.
866 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
868 * emacs-lisp/smie.el: Provide smarter auto-filling.
869 (smie-auto-fill): New function.
870 (smie-setup): Use it.
872 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
874 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
876 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
877 (comment-indent): Use it.
879 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
881 * ses.el: The overall change is to add cell renaming, that is
882 setting fancy names for cell symbols other than name matching
883 "\\`[A-Z]+[0-9]+\\'" regexp .
884 (ses-localvars): Add ses--renamed-cell-symb-list.
885 (ses-create-cell-variable): New defun.
886 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
887 (ses-relocate-formula): Relocate formulas only for cells the
888 symbols of which are not renamed, i.e. symbols whose names do not
889 match regexp "\\`[A-Z]+[0-9]+\\'".
890 (ses-relocate-all): Relocate values only for cells the symbols of
891 which are not renamed.
892 (ses-load): Create cells variables as the (ses-cell ...) are read,
893 in order to check row col consistency with cell symbol name only
894 for cells that are not renamed.
895 (ses-replace-name-in-formula): New defun.
896 (ses-rename-cell): New defun.
898 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
900 * progmodes/perl-mode.el (perl-indent-parens-as-block):
901 New option (bug#11118).
902 (perl-calculate-indent): Respect it.
904 2012-04-17 Glenn Morris <rgm@gnu.org>
906 * dired-aux.el (dired-mark-read-string): Doc fix.
908 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
910 * dired-aux.el (dired-mark-read-string): Offer optional completion.
911 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
913 2012-04-17 Glenn Morris <rgm@gnu.org>
915 * mouse.el (mouse-drag-track):
916 * speedbar.el (speedbar-frame-mode):
917 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
919 2012-04-16 Leo Liu <sdl.web@gmail.com>
921 * progmodes/python.el: Trivial cleanup.
923 2012-04-16 Glenn Morris <rgm@gnu.org>
925 * vc/vc.el (vc-string-prefix-p):
926 * vc/pcvs-util.el (cvs-string-prefix-p):
927 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
928 * mpc.el (mpc-string-prefix-p):
929 Make all of these into obsolete aliases for string-prefix-p.
931 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
933 * textmodes/two-column.el: Move custom options to the start.
934 (frame-width): Remove compat definition.
935 (2C-associate-buffer, 2C-dissociate):
936 Use with-current-buffer rather than save-excursion.
937 (2C-dissociate): Force a mode-line update.
938 (2C-autoscroll): Use ignore-errors.
940 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
943 * emacs-lisp/cl-extra.el (*random-state*):
944 Remove unnecessary declaration.
946 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
948 * play/cookie1.el (cookie-snarf):
949 Give an explicit error if input file cannot be read.
951 * play/yow.el (yow-file): Use expand-file-name rather than concat.
953 * progmodes/perl-mode.el (c-macro-expand):
954 Remove unnecessary autoload (it is in loaddefs.el).
956 * textmodes/picture.el (picture-desired-column)
957 (picture-update-desired-column): Convert comments to doc-strings.
958 (picture-substitute): Remove function.
959 (picture-mode-map): Initialize in the defvar.
961 * woman.el: Remove eval-after-load for tar-mode.
962 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
963 (woman-tar-extract-file): Autoload it.
965 * frame.el (automatic-hscrolling): Make this alias obsolete.
967 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
969 * ispell.el (ispell-set-spellchecker-params): Post-process
970 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
971 (ispell-dictionary-base-alist): Revert to original XEmacs
972 friendly version for default. [:alpha:] will be added in
973 `ispell-set-spellchecker-params' if needed
975 2012-04-16 Chong Yidong <cyd@gnu.org>
977 * image.el (imagemagick--extension-regexp): New variable.
978 (imagemagick-register-types): Use it.
979 (imagemagick-types-inhibit): Add :set function. Allow new value
980 of t to inhibit all types.
982 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
983 so we can preload it.
985 * loadup.el (fboundp): Preload regexp-opt, needed by
986 imagemagick-register-types.
988 2012-04-15 Chong Yidong <cyd@gnu.org>
990 * frame.el (scrolling): Remove nearly unused customization group.
992 * scroll-all.el (scroll-all-mode): Move to windows group.
994 2012-04-15 Chong Yidong <cyd@gnu.org>
996 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
998 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1000 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1001 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1003 2012-04-15 Glenn Morris <rgm@gnu.org>
1005 * simple.el (process-file-side-effects): Doc fix.
1007 2012-04-15 Glenn Morris <rgm@gnu.org>
1009 * international/mule-cmds.el (set-language-environment): Doc fix.
1011 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1013 * server.el (server-auth-key, server-generate-key): Doc fixes.
1014 (server-get-auth-key): Doc fix. Use `string-match-p'.
1015 (server-start): Reflow docstring.
1017 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1019 * server.el (server-generate-key): `called-interactively-p'
1020 requires a parameter.
1022 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1024 * server.el (server-auth-key): New variable.
1025 (server-generate-key, server-get-auth-key): New function.
1026 (server-start): Use the new variable and functions to allow
1027 setting a permanent server key (bug#9423).
1029 2012-04-14 Leo Liu <sdl.web@gmail.com>
1031 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1033 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1036 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1037 Emacs uses American spelling.
1039 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1041 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1042 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1043 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1044 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1046 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * progmodes/which-func.el (which-func-modes): Change default.
1050 2012-04-14 Kim F. Storm <storm@cua.dk>
1052 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1053 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1055 2012-04-14 Chong Yidong <cyd@gnu.org>
1057 * custom.el (custom-theme-set-variables): Doc fix.
1059 2012-04-14 Glenn Morris <rgm@gnu.org>
1061 * international/mule.el (set-auto-coding-for-load): Doc fix.
1063 2012-04-14 Alan Mackenzie <acm@muc.de>
1065 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1066 imenu work again for Objective C Mode. Correct the *-index values,
1067 these having been disturbed by a previous change in 2011-08.
1069 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1070 Correct two search limits.
1072 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1076 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1078 * international/characters.el: Fix sorting.
1080 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1082 * international/characters.el: Add more missing Latin case pairs.
1084 2012-04-14 Glenn Morris <rgm@gnu.org>
1086 * files.el (dir-locals-set-class-variables): Doc fix.
1088 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1090 * international/characters.el: Add set-case-syntax-pair call for
1091 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1092 counterpart. (Bug#11209)
1094 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1096 2012-04-14 Glenn Morris <rgm@gnu.org>
1098 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1100 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1102 * textmodes/ispell.el (ispell-dictionary-base-alist):
1103 Add data for Hebrew.
1105 2012-04-14 Chong Yidong <cyd@gnu.org>
1107 * net/rcirc.el (rcirc-cmd-quit):
1108 Revert 2012-03-18 change (Bug#11192).
1110 2012-04-14 Glenn Morris <rgm@gnu.org>
1112 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1114 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1116 * minibuffer.el (completion-in-region-mode-map):
1117 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1119 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1121 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1123 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1125 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1126 to allow `C-M-f' and `C-M-b' to move to the nearest path
1127 separator (bug#9511).
1129 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1131 * avoid.el: Require cl when compiling. And also move the
1132 `provide' to the end.
1134 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1136 * avoid.el (mouse-avoidance-banish-position): New variable.
1137 (mouse-avoidance-banish-destination): Use it (bug#10165).
1139 2012-04-13 Leo Liu <sdl.web@gmail.com>
1141 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1143 2012-04-13 Ken Brown <kbrown@cornell.edu>
1145 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1146 this is no longer needed now that cygstart understands file:// URLs.
1147 (browse-url-filename-alist): For the same reason, don't modify
1148 file:// URLs on Cygwin.
1150 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1153 the region on shift if the binding is already shifted (bug#11221).
1155 2012-04-12 Glenn Morris <rgm@gnu.org>
1157 * mail/mailpost.el: Move to obsolete/.
1159 2012-04-12 Drew Adams <drew.adams@oracle.com>
1161 * imenu.el (imenu--generic-function): Ignore invisible definitions
1164 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1166 * hexl.el (hexl-bits): New variable.
1167 (hexl-options): Mention the variable in the doc string.
1168 (hexl-rulerise, hexl-line-displen): New functions.
1169 (hexl-mode): Mention the new variable.
1170 (hexl-mode, hexl-current-address, hexl-current-address):
1172 (hexl-ascii-start-column): New function.
1173 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1174 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1176 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1178 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1179 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1180 the encoding, as expected by hunspell.
1182 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * battery.el (battery--linux-sysfs-regexp): New const.
1185 (battery-status-function): Use it. Remove yeeloong special case.
1186 (battery-yeeloong-sysfs): Remove.
1187 (battery-echo-area-format): Remove yeeloong special case.
1189 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1192 Reported by Noah Friedman.
1194 * subr.el (read-passwd): Use read-string.
1196 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1198 * vcursor.el (vcursor-move): Increase the priority of the overlay
1201 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1203 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1204 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1206 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1208 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1209 define-minor-mode (bug#10760).
1211 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1213 * progmodes/grep.el (rgrep): Tweak the find command line so
1214 that directories matching `grep-find-ignored-files' won't be
1217 2012-04-11 Chong Yidong <cyd@gnu.org>
1219 * startup.el (command-line): Remove support for long-obsolete
1220 variable font-lock-face-attributes.
1222 2012-04-11 Glenn Morris <rgm@gnu.org>
1224 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1226 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * window.el (window--state-get-1): Obey window-point-insertion-type.
1230 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1232 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1233 to previous function when point is on the first character of a
1234 function. Take care of that in `narrow-to-defun' (bug#6157).
1236 2012-04-11 Glenn Morris <rgm@gnu.org>
1238 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1239 not just file-errors.
1241 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1242 (vc-bzr-sha1): Use internal sha1.
1244 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1248 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1250 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1251 that start in the middle of the line (bug#10496).
1253 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1255 * battery.el (battery-linux-proc-acpi): Only one battery is
1256 discharged at a time, but that seems to confuse battery.el when
1257 computing `rate-type' for the battery not being discharged
1260 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1264 * international/quail.el: Use dolist and simplify.
1265 (quail-define-package, quail-update-keyboard-layout)
1266 (quail-define-rules): Use dolist.
1267 (quail-insert-kbd-layout, quail-get-translation): CSE.
1269 * tmm.el: Use dolist, remove left over hook.
1270 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1272 (calendar-load-hook): Don't mess with it.
1274 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1275 Use derived-mode-p. Run the diff asynchronously.
1277 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1279 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1281 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1283 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1284 (list-dynamic-libraries--loaded): New function.
1285 (list-dynamic-libraries--refresh): Use it.
1287 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1289 * progmodes/python.el (python-fill-paragraph):
1290 Make python-fill-region in a multiline string work when font-lock is
1291 disabled (bug#7018).
1293 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1295 * language/european.el (cp775): Add oem/legacy (en)coding on
1296 DOS/MS Windows for the Baltic languages. There are still plenty
1297 of texts written in this encoding/codepage (bug#6519).
1299 2012-04-10 Glenn Morris <rgm@gnu.org>
1301 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1302 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1304 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1306 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1307 next-line "n" and previous-line "p" in order to make recentf more
1308 consistent with ibuffer, dired or org-mode (bug#9387).
1310 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1312 * image.el (put-image): Return the overlay created instead of the
1313 optional input string (bug#7834). Note that this may break code
1314 that is (for some reason or other) depending on `put-image'
1315 returning the string.
1317 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1319 * simple.el (zap-to-char): Allow zapping using input methods
1322 * textmodes/fill.el (fill-region): Leave point and mark where they
1323 were before filling (bug#5399).
1325 2012-04-09 Glenn Morris <rgm@gnu.org>
1327 * version.el (emacs-bzr-get-version):
1328 Handle lightweight checkouts of local branches.
1330 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1332 * international/characters.el: Recover lost case pairs. (Bug#11209)
1334 2012-04-09 Chong Yidong <cyd@gnu.org>
1336 * custom.el (custom-variable-p): Return nil for non-symbol
1337 arguments instead of signaling an error.
1338 (user-variable-p): Obsolete alias for custom-variable-p.
1340 * apropos.el (apropos-variable):
1341 * files-x.el (read-file-local-variable):
1342 * simple.el (set-variable):
1343 * woman.el (woman-mini-help):
1344 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1346 2012-04-09 Glenn Morris <rgm@gnu.org>
1348 * startup.el (normal-top-level): Don't look for leim-list.el
1349 in places where it will not be found. (Bug#910)
1351 * international/mule-cmds.el (set-default-coding-systems):
1352 * files.el (normal-mode):
1353 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1354 This function was removed with ucs-tables.el in 2008.
1356 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1358 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1359 ispell-encoding8-command to "-i", without a trailing space.
1360 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1361 separate command-line arguments, to specify the encoding, since
1362 that's how hunspell expects it.
1364 2012-04-08 Glenn Morris <rgm@gnu.org>
1366 * loadup.el: Load bindings before cus-start.
1367 This reduces somewhat the number of "rogue" settings in emacs -Q.
1369 2012-04-07 Glenn Morris <rgm@gnu.org>
1371 * version.el (emacs-bzr-get-version): New function.
1372 (emacs-bzr-version): New variable.
1373 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1374 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1376 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1378 * international/uni-bidi.el, international/uni-category.el:
1379 * international/uni-combining.el, international/uni-decimal.el:
1380 * international/uni-decomposition.el, international/uni-digit.el:
1381 * international/uni-lowercase.el, international/uni-mirrored.el:
1382 * international/uni-name.el, international/uni-numeric.el:
1383 * international/uni-titlecase.el, international/uni-uppercase.el:
1384 Update for Unicode 6.1.
1386 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1388 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1390 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1392 * window.el (shrink-window): Mention the `window-min-height'
1393 variable in the doc string.
1395 2012-04-05 Bastien Guerry <bzg@altern.org>
1397 * color.el (color-lighten-name): Fix typo.
1399 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1401 * server.el (server--on-display-p): New function.
1402 (server--on-display-p): Use it.
1404 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1406 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1409 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * comint.el (comint--common-quoted-suffix): Check string boundary
1412 before comparing (bug#11158).
1413 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1415 2012-04-04 Chong Yidong <cyd@gnu.org>
1417 * minibuffer.el (completion-extra-properties): Doc fix.
1419 * subr.el (delayed-warnings-hook): Doc fix.
1421 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1423 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1424 selection (Bug#11159).
1425 (epa-insert-keys): Inform that the default public key will be
1426 exported if no key is selected.
1428 2012-04-04 Richard Stallman <rms@gnu.org>
1430 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1432 2012-04-03 Chong Yidong <cyd@gnu.org>
1434 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1435 mail-insert-file, not its obsolete alias mail-attach-file.
1437 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1439 * notifications.el (notifications-notify): Fix docstring.
1441 2012-04-02 Glenn Morris <rgm@gnu.org>
1443 * emacs-lisp/authors.el (authors-aliases): Another addition.
1445 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1447 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1448 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1449 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1451 2012-04-01 Chong Yidong <cyd@gnu.org>
1453 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1454 Handle root directory properly.
1455 (copy-directory): Caller changed.
1457 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1458 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1460 2012-03-31 Glenn Morris <rgm@gnu.org>
1462 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1464 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1466 * calendar/calendar.el (calendar-window-list)
1467 (calendar-hide-window): Restore. (Bug#11140)
1468 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1470 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1472 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1474 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1475 Check if file is a symlink (Bug#10489).
1477 * files.el (copy-directory): Likewise.
1479 2012-03-30 Chong Yidong <cyd@gnu.org>
1481 * image.el (imagemagick-types-inhibit)
1482 (imagemagick-register-types): Doc fix.
1484 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1486 * ispell.el (ispell-get-extended-character-mode):
1487 Disable extended-char-mode for hunspell. hunspell does not support it
1488 and treats ~word as ordinary words in pipe mode.
1490 2012-03-30 Glenn Morris <rgm@gnu.org>
1492 * tutorial.el (help-with-tutorial): Ensure local variables don't
1493 happen to make the buffer read-only. (Bug#11127)
1495 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1498 (perl-calculate-indent): Return `noindent' in strings.
1500 2012-03-28 Sam Steingold <sds@gnu.org>
1502 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1503 instead of the broken adhockery which does not prevent calendar
1504 buffers from being displayed at random after exit.
1505 (calendar-window-list, calendar-hide-window): Remove the broken
1508 2012-03-28 Glenn Morris <rgm@gnu.org>
1510 * replace.el (query-replace-map): Doc fix.
1512 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1514 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1515 contents. (Bug#11109)
1517 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1521 (avl-tree--check, avl-tree--check-node): New funs.
1523 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1525 * window.el (switch-to-visible-buffer): New option.
1526 (switch-to-prev-buffer, switch-to-next-buffer):
1527 Observe switch-to-visible-buffer. Make sure that checking for a window
1528 showing a buffer already is done on the same frame.
1530 2012-03-27 Glenn Morris <rgm@gnu.org>
1532 * startup.el (mail-host-address): Doc fix.
1534 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1539 2012-03-26 Ami Fischman <ami@fischman.org>
1541 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1543 2012-03-26 Glenn Morris <rgm@gnu.org>
1545 * files.el (save-buffers-kill-emacs): Doc fix.
1547 * startup.el (normal-top-level, command-line, command-line-1):
1548 Give them doc strings.
1550 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1552 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1553 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1555 2012-03-25 Chong Yidong <cyd@gnu.org>
1557 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1558 theme if it was previously enabled before (Bug#11031).
1560 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1561 spec with custom-face-get-current-spec if its :shown-value is not
1562 determined yet (Bug#9337).
1563 (customize-create-theme, custom-theme-revert): Doc fixes.
1565 * button.el (button-at): Minor addition to docstring.
1567 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1569 * vc/vc.el (vc-merge): Fix a prompt.
1571 2012-03-24 Chong Yidong <cyd@gnu.org>
1573 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1576 * button.el (button-at): Minor addition to docstring.
1578 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * newcomment.el (comment-choose-indent): No space after BOL.
1582 2012-03-22 Sam Steingold <sds@gnu.org>
1584 * window.el (switch-to-prev-buffer): Revert last patch because the
1585 bug turned out to be an advertised feature (Elisp manual 28.14).
1587 2012-03-22 Glenn Morris <rgm@gnu.org>
1589 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1590 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1592 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1594 * net/network-stream.el (network-stream-open-starttls): Make error
1595 message under Windows be less misleading.
1597 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1599 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1600 understands (bug#9942).
1602 2012-03-22 Chong Yidong <cyd@gnu.org>
1604 * simple.el (end-of-visible-line): Handle return value of
1605 next-single-property-change properly (Bug#9371).
1607 2012-03-22 Kenichi Handa <handa@m17n.org>
1609 * international/quail.el (quail-insert-kbd-layout): Fix previous
1610 change. To avoid unwanted bidi reordering, use
1611 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1613 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1615 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1616 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1617 (ruby-beginning-of-indent): Be more careful with the difference
1618 between word-boundary and symbol boundary.
1619 (ruby-mode-syntax-table): Make : a symbol constituent.
1621 2012-03-21 Andreas Politz <politza@fh-trier.de>
1623 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1625 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * progmodes/etags.el (tags-completion-at-point-function):
1630 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1632 2012-03-21 Sam Steingold <sds@gnu.org>
1634 * progmodes/etags.el (tags-completion-at-point-function):
1635 Avoid the error when point is inside the pattern.
1637 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1639 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1642 2012-03-21 Drew Adams <drew.adams@oracle.com>
1644 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1646 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1648 * ido.el (ido-set-current-directory, ido-read-internal)
1649 (ido-choose-completion-string, ido-completion-help): Handle nil
1650 value of ido-completion-buffer (Bug#11008).
1652 2012-03-21 Sam Steingold <sds@gnu.org>
1654 * window.el (switch-to-prev-buffer): Do not switch to a visible
1655 window previous buffer, just like with the frame previous buffers.
1657 2012-03-21 Chong Yidong <cyd@gnu.org>
1659 * faces.el (make-face, make-empty-face, copy-face):
1660 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1663 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1665 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1666 (widget-complete): Remove broken use of it.
1668 2012-03-20 Chong Yidong <cyd@gnu.org>
1670 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1671 Use string-width and truncate-string-width to handle arbitrary
1674 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1676 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1677 to draw rectangles, not squares. (Regression introduced by revno
1678 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1680 2012-03-18 Chong Yidong <cyd@gnu.org>
1682 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1683 it is not yet defined (for temacs).
1685 2012-03-18 Leo Liu <sdl.web@gmail.com>
1687 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1689 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1691 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1692 (ispell-choices-win-default-height, ispell-silently-savep)
1693 (ispell-dictionary-alist, ispell-encoding8-command)
1694 (ispell-check-version, ispell-aspell-find-dictionary)
1695 (ispell-valid-dictionary-list, ispell-words-keyword)
1696 (ispell-get-word, ispell-internal-change-dictionary)
1697 (ispell-region, ispell-skip-region-list)
1698 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1699 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1700 (ispell-message-text-end, ispell-message)
1701 (ispell-buffer-local-parsing): Doc fix.
1703 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1705 * htmlfontify.el: Add support for code block fontification for ODT
1707 (hfy-optimisations): Define new option
1709 (hfy-fontify-buffer): Honor above setting.
1710 (hfy-begin-span, hfy-end-span): New routines factored out form
1711 `hfy-fontify-buffer'.
1712 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1713 that permit insertion of custom tags.
1714 (hfy-fontify-buffer): Use above handlers.
1715 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1716 (hfy-face-to-css): Re-defined to be a variable.
1717 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1718 over multiple runs. This is made possible by having the caller let
1719 bind a special variable `hfy-user-sheet-assoc'.
1720 (htmlfontify-string): New defun.
1721 (hfy-compile-face-map): Make sure that the last char in the
1722 buffer is correctly fontified.
1723 (hfy-face-resolve-face): Whitespace only change.
1725 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1727 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1730 2012-03-16 Leo Liu <sdl.web@gmail.com>
1732 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1734 2012-03-16 Alan Mackenzie <acm@muc.de>
1736 Further optimise the handling of large macros.
1738 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1739 limit to a call of `c-literal-limits'.
1740 (c-determine-+ve-limit): New function.
1741 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1742 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1743 In CASE 5B, restrict a search limit to 500.
1744 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1746 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1747 Restrict macro bounds to +-500 from after-change's BEG END.
1749 2012-03-16 Leo Liu <sdl.web@gmail.com>
1751 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1753 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1755 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1756 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1758 2012-03-16 Glenn Morris <rgm@gnu.org>
1760 * view.el (view-buffer, view-buffer-other-window)
1761 (view-buffer-other-frame): Doc fixes re special mode-class.
1763 * subr.el (eval-after-load): If named feature is provided not from
1764 a file, run after-load forms. (Bug#10946)
1766 * calendar/calendar.el (calendar-insert-at-column):
1767 Handle non-unit-width characters a bit better. (Bug#10978)
1769 2012-03-15 Chong Yidong <cyd@gnu.org>
1771 * emacs-lisp/ring.el (ring-extend): New function.
1772 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1774 * comint.el (comint-read-input-ring)
1775 (comint-add-to-input-history): Grow comint-input-ring lazily.
1777 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1780 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1782 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1783 (imenu-add-to-menubar): Don't add a redundant index.
1784 (imenu-update-menubar): Handle a dynamically composed keymap.
1786 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1788 * mail/sendmail.el (mail-encode-header):
1789 Bind rfc2047-encode-encoded-words to nil.
1791 2012-03-13 Glenn Morris <rgm@gnu.org>
1793 * calendar/calendar.el (calendar-string-spread):
1794 Handle non-unit-width characters a bit better. (Bug#10978)
1796 2012-03-13 Leo Liu <sdl.web@gmail.com>
1798 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1799 directory and file as argument (Bug#10822).
1801 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1803 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1804 For dynamically generated code, follow $PC.
1805 (gdb-disassembly-handler-custom): Handle no function name case.
1807 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1809 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1810 * emulation/ws-mode.el (ws-query-replace):
1811 * sort.el (sort-regexp-fields):
1812 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1814 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * dabbrev.el: Fix cycle completion order (bug#10963).
1817 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1818 (dabbrev-completion): Don't use an obarray; provide
1819 a cycle-sort-function.
1821 2012-03-12 Leo Liu <sdl.web@gmail.com>
1823 * simple.el (kill-new): Use equal-including-properties for comparison.
1824 (kill-do-not-save-duplicates): Doc fix.
1826 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * dabbrev.el: Fix cycle completion (bug#10963).
1829 Use lexical binding and wrap to 80 columns.
1830 (dabbrev-completion): Delay computing the list of completions.
1832 2012-03-12 Kenichi Handa <handa@m17n.org>
1834 * international/quail.el (quail-insert-kbd-layout): Surround each
1835 row by LRO and PDF instead of inserting many LRMs. Pad the left
1836 and right of each non-spacing marks. Insert invisible space
1837 between lower and upper characters to prevent composition.
1839 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * minibuffer.el (minibuffer-complete): Don't get confused when the
1842 function is run twice via different commands (bug#10958).
1843 (complete-with-action): Fix docstring.
1845 2012-03-12 Chong Yidong <cyd@gnu.org>
1847 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1848 (nxml-completion-at-point-function): New function.
1849 (nxml-mode): Use it.
1850 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1852 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1853 Load generated autoloads file before byte compiling (Bug#10970).
1854 (package--make-autoloads-and-compile): New helper fun.
1856 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1858 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1860 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1862 * autorevert.el (auto-revert-handler): Ensure, that
1863 file-readable-p is applied only for local files or in
1864 auto-revert-tail-mode.
1866 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1868 * server.el (server-eval-at): Handle non-tcp connections.
1869 Decode result string.
1871 * server.el (server-msg-size): New constant.
1872 (server-reply-print): New function.
1873 (server-eval-and-print): Use it.
1874 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1877 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1879 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1882 2012-03-11 Chong Yidong <cyd@gnu.org>
1884 * simple.el (goto-line): Doc fix (Bug#9938).
1886 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1888 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1889 when finished (Bug#10963).
1891 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1893 * window.el (split-window-below): Fix bug in case where
1894 split-window-keep-point is nil (Bug#10971).
1896 2012-03-11 Juri Linkov <juri@jurta.org>
1898 * replace.el (replace-highlight): Set isearch-word to nil
1899 unconditionally. (Bug#10887)
1901 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1903 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1904 mairix-replace-illegal-chars; all callers changed. Don't remove
1905 ^, ~, and = characters: they are meaningful in mairix search specs.
1906 (mairix-widget-create-query): Add usage information about mairix
1907 search forms: negating words, searching for substrings, etc.
1909 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1911 * international/fontset.el (font-encoding-alist): Add an entry for
1914 2012-03-10 Richard Stallman <rms@gnu.org>
1916 * mail/sendmail.el (mail-encode-header):
1917 Set rfc2047-encode-encoded-words.
1919 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1921 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1922 view buffer means not swapped.
1923 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1924 (rmail-write-region-annotate): Error if real text has disappeared.
1926 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1928 2012-03-10 Chong Yidong <cyd@gnu.org>
1930 * emulation/cua-rect.el (cua--init-rectangles):
1931 * emulation/cua-base.el (cua--init-keymaps):
1932 Add delete-forward-char to remappings (Bug#9666).
1934 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1936 * speedbar.el (speedbar-unhighlight-one-tag-line):
1937 Avoid unhighlighting due to frame switching (Bug#10275).
1939 2012-03-10 Chong Yidong <cyd@gnu.org>
1941 * minibuffer.el (completion-in-region, completion-help-at-point):
1942 Give the completion field overlay a high priority (Bug#6830).
1944 * dired.el (dired-goto-file): Recognize absolute file name
1945 listings (Bug#7126).
1946 (dired-goto-file-1): New helper function.
1947 (dired-toggle-read-only): Inhibit warnings.
1949 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1951 * net/dbus.el (dbus-property-handler): Return empty array if
1952 there are no properties.
1954 2012-03-09 Leo Liu <sdl.web@gmail.com>
1956 * savehist.el (savehist-printable): Stricter check for string
1959 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1961 * mail/smtpmail.el (smtpmail-send-it):
1962 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1965 2012-03-09 Glenn Morris <rgm@gnu.org>
1967 * files.el (dir-locals-find-file):
1968 Don't check result is regular, readable.
1969 (dir-locals-read-from-file): Demote errors.
1971 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1973 * international/quail.el (quail-insert-kbd-layout):
1974 Insert invisible LRM characters before each character in a keyboard
1975 layout cell, to prevent their reordering by bidi display engine.
1976 For details, see the discussion in
1977 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1979 2012-03-08 Alan Mackenzie <acm@muc.de>
1981 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1982 the starting position; make it extend the marked region when
1983 invoked repeatedly - all under appropriate circumstances.
1984 Fixes bugs #5525, #10906.
1986 2012-03-08 Glenn Morris <rgm@gnu.org>
1988 * files.el (locate-dominating-file, dir-locals-find-file):
1989 Undo 2012-03-06 change.
1991 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1993 * international/quail.el (quail-help):
1994 Force bidi-paragraph-direction be left-to-right. See discussion in
1995 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1998 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2000 Avoid superfluous registering of signals. (Bug#10807)
2002 * notifications.el (notifications-on-action-object)
2003 (notifications-on-close-object): New defvars.
2004 (notifications-on-action-signal, notifications-on-closed-signal):
2005 Unregister the signal if not needed any longer.
2006 (notifications-notify): Register `notifications-action-signal' or
2007 `notifications-closed-signal', if :on-action or :on-close has been
2010 2012-03-07 Chong Yidong <cyd@gnu.org>
2012 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2015 2012-03-06 Glenn Morris <rgm@gnu.org>
2017 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2018 (x-disown-selection-internal, x-get-selection-internal):
2019 Doc fix (add arglist signatures). (Bug#10783)
2021 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2023 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2024 Handle breakpoints with no "type".
2026 2012-03-06 Glenn Morris <rgm@gnu.org>
2028 * files.el (locate-dominating-file): Add optional predicate argument.
2029 (dir-locals-find-file): Make use of above change.
2031 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2033 * info.el (Info-insert-dir): Also try "dir.gz".
2035 2012-03-06 Glenn Morris <rgm@gnu.org>
2037 * files.el (dir-locals-find-file):
2038 Ignore non-readable or non-regular files. (Bug#10928)
2040 * files.el (locate-dominating-file): Doc fix.
2042 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2044 * calendar/calendar.el (calendar-set-mode-line):
2045 `getenv' returns a string. (Bug#10951)
2047 2012-03-05 Leo Liu <sdl.web@gmail.com>
2049 * simple.el (backward-delete-char-untabify): Constrain point to
2052 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2054 2012-03-05 Chong Yidong <cyd@gnu.org>
2056 * simple.el (count-words): If called from Lisp, return the word
2057 count, for symmetry with `count-lines'. Arglist changed.
2058 (count-words--message): Args changed. Consolidate counting code
2059 from count-words and count-words-region.
2060 (count-words-region): Caller changed.
2061 (count-lines-region): Make it an obsolete alias.
2063 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2065 * saveplace.el (save-place-to-alist)
2066 (save-place-ignore-files-regexp): Allow value nil to disable this
2069 2012-03-04 Chong Yidong <cyd@gnu.org>
2071 * faces.el (face-spec-reset-face): For the default face, reset the
2072 attributes to default values (Bug#10748).
2074 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2076 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2077 previous patch: Check `message-send-mail-function', and not the
2078 default function (bug#10897).
2080 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2082 * notifications.el (notifications-on-action-signal)
2083 (notifications-on-closed-signal): Check for unique service name of
2084 incoming event. Fix error in removing entry.
2085 (top): Register for signals with wildcard service name.
2086 (notifications-notify): Use daemon unique service name for map entries.
2088 2012-03-04 Chong Yidong <cyd@gnu.org>
2090 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2092 2012-03-04 Glenn Morris <rgm@gnu.org>
2094 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2095 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2096 (expand-abbrev, define-abbrev-table): Doc fixes.
2098 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2100 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2101 `message-default-send-mail-function' and not `send-mail-function'
2102 when doing the prompting for `sendmail-query-once' before sending
2103 in Message buffers (bug#10897).
2105 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2106 This is inconsistent with all the other stream functions, which leave
2107 the setting up to the higher levels (if so wanted) (bug#10931).
2109 2012-03-02 Alan Mackenzie <acm@muc.de>
2111 Depessimize the handling of very large macros.
2113 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2114 (c-macro-cache-syntactic): New variables to implement a one
2115 element macro cache.
2116 (c-invalidate-macro-cache): New function.
2117 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2118 Adapt to use the new cache.
2119 (c-state-safe-place): Use better the cache of safe positions.
2120 (c-state-semi-nonlit-pos-cache)
2121 (c-state-semi-nonlit-pos-cache-limit):
2122 New variables for...
2123 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2124 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2125 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2126 Use c-state-semi-safe-place.
2128 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2129 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2131 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2133 * jka-compr.el (jka-compr-call-process):
2134 Apply `file-accessible-directory-p' only when the default directory is
2137 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2139 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2140 access of FILE2, if FILE1 does not exist.
2142 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2143 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2145 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2146 Add "PAGER=" to `process-environment'.
2148 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2150 * progmodes/sql.el: Bug fix
2151 (sql-get-login-ext): Save login values in globals.
2152 (sql-get-login): Use new version of `sql-get-login-ext'.
2153 (sql-interactive-mode): Set global `sql-connection' to nil.
2154 (sql-connect): Set global values for connection.
2155 (sql-product-interactive): Save global values as buffer local.
2157 2012-02-29 Leo Liu <sdl.web@gmail.com>
2159 * abbrev.el (define-abbrevs): Reset sys to nil.
2161 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2163 * files.el (file-equal-p): Rename from `files-equal-p'.
2164 Return nil when one or both files don't exist.
2165 (file-subdir-of-p): Now only top directory must exists,
2166 return nil if it doesn't.
2167 (copy-directory): No need to test with `file-subdir-of-p' after
2169 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2172 2012-02-28 Glenn Morris <rgm@gnu.org>
2174 * shell.el (shell-mode):
2175 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2176 * play/landmark.el (landmark-font-lock-face-O):
2177 * play/handwrite.el (handwrite):
2178 * play/gomoku.el (gomoku-O):
2179 * net/browse-url.el (browse-url-browser-display):
2180 * international/mule.el (define-charset):
2181 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2182 * filesets.el (filesets-find-file-delay):
2183 * eshell/em-xtra.el (eshell-xtra):
2184 * eshell/em-unix.el (eshell-grep):
2185 * emulation/viper.el (viper-mode):
2186 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2187 * emacs-lisp/easymenu.el (easy-menu-define):
2188 * calendar/timeclock.el (timeclock-use-display-time):
2190 * bookmark.el (bookmark-save-flag):
2191 Doc fix (standardize possessive apostrophe usage).
2193 2012-02-27 Chong Yidong <cyd@gnu.org>
2195 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2196 Fix key-binding lookup for ESC key (Bug#9146).
2198 * font-lock.el (font-lock-specified-p): Rename from
2199 font-lock-spec-present. Callers changed.
2201 2012-02-27 Daniel Hackney <dan@haxney.org>
2203 * emacs-lisp/package.el (package-compute-transaction):
2204 Handle holding a package version to t in package-load-list.
2206 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2208 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2209 (tramp-get-inode, tramp-get-device): Use cached values.
2211 2012-02-26 Alan Mackenzie <acm@muc.de>
2213 Check there is a font-lock specification before doing initial
2216 * font-core.el (font-lock-mode): Move the conditional from
2217 :after-hook to font-lock-initial-fontify.
2218 (font-lock-default-function): Move the check for a specification
2219 to font-lock-spec-present.
2221 * font-lock.el (font-lock-initial-fontify): Call ...
2222 (font-lock-spec-present): New function.
2224 2012-02-26 Jim Blandy <jimb@red-bean.com>
2226 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2227 (gdb-send): Apply it to the operand of the '-interpreter-exec
2228 console' command, so that we can pass arguments with (say) quotes
2229 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2231 2012-02-26 Chong Yidong <cyd@gnu.org>
2233 * help-fns.el (describe-function-1): Clarify description of
2234 remapping (Bug#10844).
2236 * files.el (files-equal-p): Doc fix.
2237 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2238 and quit the loop once a mismatch is found.
2240 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2242 * bs.el (bs--show-with-configuration): Don't throw an error
2243 if the window cannot be split; otherwise, subsequent calls to
2244 bs-show fail, restoring a stale window config. (Bug#10882)
2246 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2248 * term/ns-win.el (global-map): Bind ns-drag-file to
2249 ns-find-file (Bug#5855, Bug#10050).
2251 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2253 * calendar/parse-time.el (parse-time-string): Allow extractor to
2256 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2258 * net/tramp.el (tramp-file-name-for-operation):
2259 Add `files-equal-p' and `file-subdir-of-p'.
2261 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2262 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2263 Add COPY-CONTENTS argument.
2265 2012-02-25 Chong Yidong <cyd@gnu.org>
2267 Add custom groups for VC backends, for consistency with vc-bzr.
2269 * vc/vc-arch.el (vc-arch):
2270 * vc/vc-cvs.el (vc-cvs):
2271 * vc/vc-git.el (vc-git):
2272 * vc/vc-hg.el (vc-hg):
2273 * vc/vc-mtn.el (vc-mtn):
2274 * vc/vc-rcs.el (vc-rcs):
2275 * vc/vc-sccs.el (vc-sccs):
2276 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2277 All relevant defcustoms reassigned.
2279 2012-02-25 Chong Yidong <cyd@gnu.org>
2281 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2283 * term/x-win.el (x-initialize-window-system): Reduce default for
2284 x-selection-timeout to 5 seconds (Bug#8869).
2286 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2288 * files.el (files-equal-p, file-subdir-of-p): New functions.
2289 (copy-directory): Error when trying to copy a directory on itself.
2290 Add missing copy-contents arg to tramp handler.
2291 * dired-aux.el (dired-copy-file-recursive): Same.
2292 (dired-create-files): Modify destination when source is equal to
2293 dest when copying files.
2294 Return also when dest is a subdir of source. (Bug#10489)
2296 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2298 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2301 2012-02-23 Alan Mackenzie <acm@muc.de>
2303 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2304 parameter "after-hook:" to allow the expansion to run code after
2305 the execution of the mode hooks.
2307 * font-lock.el (font-lock-initial-fontify): New function extracted
2308 from font-lock-mode-internal.
2310 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2313 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2316 (completion--cache-all-sorted-completions): New function.
2317 (completion-all-sorted-completions): Use it.
2318 (completion--do-completion, minibuffer-force-complete):
2319 Use it to re-instate the flush hook.
2321 * icomplete.el (icomplete-completions): Replace last fix with a better
2324 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2326 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2327 when it might call us back infinitely (bug#10797).
2329 2012-02-23 Glenn Morris <rgm@gnu.org>
2331 * minibuffer.el (completion-category-overrides): Doc fix.
2333 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2336 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2338 2012-02-23 Glenn Morris <rgm@gnu.org>
2340 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2341 (authors-obsolete-files-regexps, authors-ignored-files)
2342 (authors-ambiguous-files, authors-renamed-files-alist):
2345 2012-02-23 Juri Linkov <juri@jurta.org>
2347 * isearch.el (isearch-occur): Sync interactive spec with occur's
2348 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2350 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2352 2012-02-22 Juri Linkov <juri@jurta.org>
2354 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2355 (ucs-insert): Doc fix. Check for hex digits in the string.
2356 Don't display `nil' in the error message. (Bug#10857)
2358 2012-02-22 Alan Mackenzie <acm@muc.de>
2360 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2362 2012-02-22 Glenn Morris <rgm@gnu.org>
2364 * ffap.el (ffap-c-path):
2365 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2367 2012-02-22 Chong Yidong <cyd@gnu.org>
2369 * custom.el (load-theme): Doc fix.
2371 2012-02-22 Glenn Morris <rgm@gnu.org>
2373 * dired-x.el (dired-guess-shell-alist-default):
2374 Remove escape sequences from nroff output. (Bug#172)
2376 2012-02-21 Glenn Morris <rgm@gnu.org>
2378 * vc/emerge.el (emerge-defvar-local):
2379 Set `permanent-local' property rather than unused `preserved'.
2381 * textmodes/picture.el (picture-delete-char): New alias.
2382 (picture-mode-map): Use it. (Bug#10860)
2383 (picture-mode): Doc fix.
2385 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2387 * newcomment.el (uncomment-region-default): Remove unused binding.
2389 2012-02-21 Glenn Morris <rgm@gnu.org>
2391 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2392 (picture-self-insert, picture-tab-chars): Doc fix.
2393 (picture-mode-map): Fix C-a, C-e.
2395 2012-02-20 Glenn Morris <rgm@gnu.org>
2397 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2399 2012-02-20 Leo Liu <sdl.web@gmail.com>
2401 * icomplete.el (icomplete-completions): Check FROM arg before
2402 passing to substring (Bug#10850).
2404 2012-02-19 Chong Yidong <cyd@gnu.org>
2406 * comint.el: Require ansi-color.
2407 (comint-output-filter-functions): Add ansi-color-process-output.
2409 * ansi-color.el: Don't set comint-output-filter-functions; it is
2410 now in the initial value defined in comint.el.
2411 (ansi-color-apply-face-function): New variable.
2412 (ansi-color-apply-on-region): Use it.
2413 (ansi-color-apply-overlay-face): New function.
2415 * shell.el (shell): No need to require ansi-color.
2416 (shell-mode): Use ansi-color-apply-face-function to highlight
2417 color escapes using font-lock-face property (Bug#10835).
2419 2012-02-19 Chong Yidong <cyd@gnu.org>
2421 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2422 mode-line formats (Bug#10839).
2424 2012-02-18 Glenn Morris <rgm@gnu.org>
2426 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2428 * mail/undigest.el (unforward-rmail-message): Doc fix.
2430 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2432 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2434 * international/characters.el (script-list): Sync with the latest
2435 Unicode Character Database.
2437 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2439 * international/titdic-cnv.el: Remove duplicate coding tag.
2440 * language/cham.el: Likewise.
2441 * language/tai-viet.el: Likewise.
2443 2012-02-18 Glenn Morris <rgm@gnu.org>
2445 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2446 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2447 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2448 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2449 * calendar/holidays.el (holiday-bahai-holidays)
2450 (calendar-holidays, list-holidays):
2451 Use utf-8 Bahá'í in doc-strings, menus, etc.
2453 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2455 * saveplace.el (save-place-ignore-files-regexp): New variable
2456 allowing for excluding files from saving their location of point.
2457 The default value matches the temporary commit message editing
2458 files from Git, SVN, Bazaar, and Mercurial.
2459 (save-place-to-alist): Use it.
2461 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2462 Stefan Monnier <monnier@iro.umontreal.ca>
2464 * newcomment.el (uncomment-region-default): Don't leave extra space
2465 when an arg is provided (bug#8150).
2467 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2469 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2471 2012-02-17 Glenn Morris <rgm@gnu.org>
2473 * net/socks.el: Require network-stream. (Bug#10599)
2475 2012-02-17 Kenichi Handa <handa@m17n.org>
2477 * international/charprop.el:
2478 * international/uni-name.el:
2479 * international/uni-old-name.el:
2480 * international/uni-comment.el: Regenerate.
2482 2012-02-16 Glenn Morris <rgm@gnu.org>
2484 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2485 Interactively in calendar buffer, give an error if not on a date.
2487 2012-02-15 Glenn Morris <rgm@gnu.org>
2489 * shell.el (shell-delimiter-argument-list):
2490 Revert 2011-02-17 change. (Bug#8027)
2492 2012-02-15 Chong Yidong <cyd@gnu.org>
2494 * minibuffer.el (completion-at-point-functions): Doc fix.
2496 * custom.el (defcustom): Doc fix; note use of defvar.
2498 2012-02-15 Glenn Morris <rgm@gnu.org>
2500 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2503 2012-02-14 Glenn Morris <rgm@gnu.org>
2505 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2507 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2509 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2510 way the ports list is computed.
2511 (smtpmail-query-smtp-server): Prompt the user for a port number if
2512 we can't connect to any of the standard ports (bug#10810).
2514 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2516 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2518 2012-02-13 Glenn Morris <rgm@gnu.org>
2520 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2522 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2524 * net/gnutls.el (gnutls-trustfiles): New variable.
2525 (gnutls-negotiate): Use it.
2527 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2529 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2530 does its stuff if Gnus is running.
2532 2012-02-13 Alan Mackenzie <acm@muc.de>
2534 Fix a loop in c-set-fl-decl-start.
2536 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2537 c-backward-syntactic-ws actually moves backwards.
2539 2012-02-13 Leo Liu <sdl.web@gmail.com>
2541 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2542 beginning so that all \C-o chars are removed.
2544 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2546 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2548 2012-02-12 Alan Mackenzie <acm@muc.de>
2550 Fix infinite loop with long macros.
2551 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2553 2012-02-12 Chong Yidong <cyd@gnu.org>
2555 * window.el (display-buffer): Doc fix (Bug#10785).
2557 2012-02-12 Glenn Morris <rgm@gnu.org>
2559 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2560 (x-disown-selection-internal, x-get-selection-internal):
2561 Sync docs with the xselect.c versions.
2563 * allout-widgets.el: Add missing license notice.
2565 2012-02-11 Glenn Morris <rgm@gnu.org>
2567 * select.el (x-get-selection-internal, x-own-selection-internal)
2568 (x-disown-selection-internal):
2569 * x-dnd.el (x-get-selection-internal): Update declarations.
2571 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2573 * window.el (window-sides-slots):
2574 * tool-bar.el (tool-bar-position):
2575 * term/xterm.el (xterm-extra-capabilities):
2576 * ses.el (ses-self-reference-early-detection):
2577 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2578 (verilog-auto-wire-type)
2579 (verilog-auto-delete-trailing-whitespace)
2580 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2581 (verilog-auto-tieoff-declaration):
2582 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2583 (sql-oracle-statement-starters, sql-oracle-scan-on):
2584 * progmodes/prolog.el (prolog-align-comments-flag)
2585 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2586 (prolog-left-indent-regexp, prolog-paren-indent-p)
2587 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2588 (prolog-types, prolog-mode-specificators)
2589 (prolog-determinism-specificators, prolog-directives)
2590 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2591 (prolog-electric-dot-flag)
2592 (prolog-electric-dot-full-predicate-template)
2593 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2594 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2595 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2596 (prolog-program-switches, prolog-prompt-regexp)
2597 (prolog-debug-on-string, prolog-debug-off-string)
2598 (prolog-trace-on-string, prolog-trace-off-string)
2599 (prolog-zip-on-string, prolog-zip-off-string)
2600 (prolog-use-standard-consult-compile-method-flag)
2601 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2602 (prolog-imenu-max-lines, prolog-info-predicate-index)
2603 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2604 (prolog-char-quote-workaround):
2605 * progmodes/cc-vars.el (c-defun-tactic):
2606 * net/tramp.el (tramp-encoding-command-interactive)
2607 (tramp-local-end-of-line):
2608 * net/soap-client.el (soap-client):
2609 * net/netrc.el (netrc-file):
2610 * net/gnutls.el (gnutls):
2611 * minibuffer.el (completion-category-overrides)
2612 (completion-cycle-threshold)
2613 (completion-pcm-complete-word-inserts-delimiters):
2614 * man.el (Man-name-local-regexp):
2615 * mail/feedmail.el (feedmail-display-full-frame):
2616 * international/characters.el (glyphless-char-display-control):
2617 * eshell/em-ls.el (eshell-ls-date-format):
2618 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2619 (lisp-lambda-list-keyword-parameter-indentation)
2620 (lisp-lambda-list-keyword-parameter-alignment):
2621 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2622 * dired-x.el (dired-omit-verbose):
2623 * cus-theme.el (custom-theme-allow-multiple-selections):
2624 * calc/calc.el (calc-highlight-selections-with-faces)
2625 (calc-lu-field-reference, calc-lu-power-reference)
2626 (calc-note-threshold):
2627 * battery.el (battery-mode-line-limit):
2628 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2629 (archive-7z-update):
2630 * allout.el (allout-prefixed-keybindings)
2631 (allout-unprefixed-keybindings)
2632 (allout-inhibit-auto-fill-on-headline)
2633 (allout-flattened-numbering-abbreviation):
2634 * allout-widgets.el (allout-widgets-auto-activation)
2635 (allout-widgets-icons-dark-subdir)
2636 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2637 (allout-widgets-theme-dark-background)
2638 (allout-widgets-theme-light-background)
2639 (allout-widgets-item-image-properties-emacs)
2640 (allout-widgets-item-image-properties-xemacs)
2641 (allout-widgets-run-unit-tests-on-load)
2642 (allout-widgets-time-decoration-activity)
2643 (allout-widgets-hook-error-post-time)
2644 (allout-widgets-track-decoration):
2645 Add missing :version tags to new defcustoms and defgroups.
2647 * progmodes/sql.el (sql-ansi-statement-starters)
2648 (sql-oracle-statement-starters): Add custom type.
2650 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2651 (prolog-system-version): Give it a type.
2653 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2655 * term/pc-win.el (x-select-text, x-selection-owner-p)
2656 (x-own-selection-internal, x-disown-selection-internal)
2657 (x-get-selection-internal): Sync doc strings and argument lists
2658 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2660 2012-02-11 Leo Liu <sdl.web@gmail.com>
2662 * progmodes/python.el (python-end-of-statement): Fix infinite
2665 2012-02-10 Glenn Morris <rgm@gnu.org>
2667 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2668 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2670 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2672 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2673 about SMTP before checking the From header.
2675 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2676 into own function for reuse by emacsbug.el.
2678 2012-02-10 Leo Liu <sdl.web@gmail.com>
2680 * subr.el (condition-case-unless-debug): Rename from
2681 condition-case-no-debug. All callers changed.
2682 (with-demoted-errors): Fix caller.
2684 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2685 * nxml/rng-valid.el (rng-do-some-validation):
2686 * emacs-lisp/package.el (package-refresh-contents)
2687 (package-menu-execute):
2688 * desktop.el (desktop-create-buffer):
2689 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2691 2012-02-10 Glenn Morris <rgm@gnu.org>
2693 * textmodes/bibtex.el:
2694 Add missing :version tags for new/changed defcustoms.
2696 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2698 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2700 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2701 (smtpmail-via-smtp): Use it, or fall back on the From address.
2702 (smtpmail-send-it): Ditto.
2704 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2707 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2708 (byte-compile-tmp-var): New const.
2709 (byte-compile-defvar): Use it to minimize .elc size.
2710 Just use `defvar' rather than simulate it (bug#10761).
2712 2012-02-09 Glenn Morris <rgm@gnu.org>
2714 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2716 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2719 * progmodes/compile.el (compilation-error-screen-columns)
2720 (compilation-first-column, compilation-filter-start): Doc fixes.
2722 * vc/log-view.el (log-view-toggle-entry-display):
2723 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2725 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2726 (report-emacs-bug-can-use-xdg-email):
2727 (report-emacs-bug-insert-to-mailer): Doc fixes.
2728 (report-emacs-bug): Message fix.
2730 * net/browse-url.el (browse-url-can-use-xdg-open)
2731 (browse-url-xdg-open): Doc fixes.
2733 * electric.el (electric-indent-mode, electric-pair-mode)
2734 (electric-layout-rules, electric-layout-mode): Doc fixes.
2735 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2737 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2739 * server.el (server-unselect-display): Don't inadvertently kill
2740 the current buffer. (Bug#10729)
2742 2012-02-08 Glenn Morris <rgm@gnu.org>
2744 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2745 (sql-list-table): Doc fixes.
2747 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2748 Comment out (does nothing).
2750 * completion.el (dynamic-completion-mode):
2751 * dirtrack.el (dirtrack-debug-mode):
2752 * electric.el (electric-layout-mode):
2753 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2754 * face-remap.el (text-scale-mode, buffer-face-mode):
2755 * iimage.el (iimage-mode):
2756 * image-mode.el (image-transform-mode):
2757 * minibuffer.el (completion-in-region-mode):
2758 * scroll-lock.el (scroll-lock-mode):
2759 * simple.el (next-error-follow-minor-mode):
2760 * tar-mode.el (tar-subfile-mode):
2761 * tooltip.el (tooltip-mode):
2762 * vcursor.el (vcursor-use-vcursor-map):
2763 * wid-browse.el (widget-minor-mode):
2764 * emulation/tpu-edt.el (tpu-edt-mode):
2765 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2766 * international/iso-ascii.el (iso-ascii-mode):
2767 * language/thai-util.el (thai-word-mode):
2768 * mail/supercite.el (sc-minor-mode):
2769 * net/goto-addr.el (goto-address-mode):
2770 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2771 * progmodes/cwarn.el (cwarn-mode):
2772 * progmodes/flymake.el (flymake-mode):
2773 * progmodes/glasses.el (glasses-mode):
2774 * progmodes/hideshow.el (hs-minor-mode):
2775 * progmodes/pascal.el (pascal-outline-mode):
2776 * textmodes/enriched.el (enriched-mode):
2777 * vc/smerge-mode.el (smerge-mode):
2778 Doc fixes (minor mode argument).
2780 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2782 * ls-lisp.el (ls-lisp-sanitize): New function.
2783 (ls-lisp-insert-directory): Use it to fix or remove any elements
2784 in file-alist with missing attributes. (Bug#4673)
2786 2012-02-07 Alan Mackenzie <acm@muc.de>
2788 Fix spurious recognition of c-in-knr-argdecl.
2790 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2791 putative K&R region.
2793 2012-02-07 Alan Mackenzie <acm@muc.de>
2795 * progmodes/cc-engine.el (c-forward-objc-directive):
2796 Prevent looping in "#pragma mark @implementation".
2798 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2800 * notifications.el (notifications-on-closed-signal): Make `reason'
2801 optional. (Bug#10744)
2803 2012-02-07 Glenn Morris <rgm@gnu.org>
2805 * emacs-lisp/easy-mmode.el (define-minor-mode):
2806 Doc fixes for the macro and the mode it defines.
2808 * image.el (imagemagick-types-inhibit): Doc fix.
2810 * cus-start.el (imagemagick-render-type): Add it.
2812 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2814 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2815 Set the default at load time, too, so that `font-lock-fontify-buffer'
2816 can be called without setting up the entire mode first. This fixes
2817 a bug in `mm-inline-text' with C MIME parts.
2819 2012-02-06 Chong Yidong <cyd@gnu.org>
2821 * simple.el (list-processes--refresh): Delete exited processes
2824 * comint.el (comint-next-prompt): next-single-char-property-change
2825 and prev-single-char-property-change never return nil (Bug#8657).
2827 * custom.el (defcustom): Doc fix (Bug#9711).
2829 2012-02-05 Chong Yidong <cyd@gnu.org>
2831 * cus-edit.el (custom-variable-reset-backup): Quote the value
2832 before storing it in the customized-value property (Bug#6712).
2833 (custom-display): Add a customization type tag.
2834 (custom-buffer-create-internal): Improve tooltip message.
2836 * wid-edit.el (widget-field-value-get): New optional arg to
2837 suppress trailing whitespace truncation.
2838 (character): Use it (Bug#2689).
2840 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2842 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2843 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2845 2012-02-05 Chong Yidong <cyd@gnu.org>
2847 * cus-edit.el (custom-variable-value-create): For mismatched
2848 types, show the current value (Bug#7600).
2850 * custom.el (defcustom): Doc fix.
2852 2012-02-05 Glenn Morris <rgm@gnu.org>
2854 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2856 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2858 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2859 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2860 (pp-last-sexp): Use `looking-at-p'.
2862 2012-02-04 Glenn Morris <rgm@gnu.org>
2864 * files.el (revert-buffer):
2865 Doc fix (mention revert-buffer-in-progress-p).
2867 * emacs-lisp/ert-x.el (ert-simulate-command):
2868 Check deferred-action-list (which is obsolete) is bound.
2870 * subr.el (with-wrapper-hook): Doc fixes.
2872 * simple.el (filter-buffer-substring-functions)
2873 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2875 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2877 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2878 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2880 2012-02-04 Leo Liu <sdl.web@gmail.com>
2882 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2884 2012-02-04 Glenn Morris <rgm@gnu.org>
2886 * image.el (image-extension-data): Add obsolete alias.
2888 * isearch.el (isearch-update): Doc fix.
2890 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2892 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2894 2012-02-03 Glenn Morris <rgm@gnu.org>
2896 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2897 (image-animate-timeout): Doc fix.
2899 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2901 2012-02-02 Glenn Morris <rgm@gnu.org>
2903 * server.el (server-auth-dir): Doc fix.
2904 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2906 * subr.el (run-mode-hooks): Doc fix.
2908 2012-02-02 Juri Linkov <juri@jurta.org>
2910 * image-mode.el (image-toggle-display-image): Remove tautological
2911 `major-mode' from the `derived-mode-p' test.
2913 2012-02-02 Kenichi Handa <handa@m17n.org>
2915 * composite.el (compose-region): Cancel previous change.
2917 2012-02-02 Kenichi Handa <handa@m17n.org>
2919 * composite.el (compose-region, compose-string): Signal error for
2920 a null string component (Bug#6988).
2922 2012-02-01 Chong Yidong <cyd@gnu.org>
2924 * view.el (view-buffer-other-window, view-buffer-other-frame):
2925 Handle special modes like view-buffer (Bug#10650).
2926 (view-buffer): Simplify.
2928 * frame.el (set-frame-font): Tweak meaning of third argument.
2930 * dynamic-setting.el (font-setting-change-default-font):
2931 Use set-frame-font (Bug#9982).
2933 2012-02-01 Glenn Morris <rgm@gnu.org>
2935 * progmodes/compile.el (compilation-internal-error-properties):
2936 Respect compilation-first-column in the "*compilation*" buffer.
2938 * emacs-lisp/easy-mmode.el (define-minor-mode):
2939 Relax :variable's test for a named function.
2941 2012-01-31 Alan Mackenzie <acm@muc.de>
2943 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2946 2012-01-31 Chong Yidong <cyd@gnu.org>
2948 * frame.el (set-frame-font): New arg ALL-FRAMES.
2950 * menu-bar.el (menu-set-font): Use set-frame-font.
2952 * faces.el (face-spec-reset-face): Don't apply unspecified
2953 attribute values to the default face.
2955 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2957 * progmodes/cwarn.el (cwarn): Remove dead link.
2958 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2959 Remove * from defcustom docstrings.
2960 (turn-on-cwarn-mode): Make obsolete.
2961 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2962 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2964 2012-01-31 Glenn Morris <rgm@gnu.org>
2966 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2967 Fix :variable handling of mode a symbol not equal to modefun.
2968 Allow named functions to be used as the cdr of :variable.
2970 2012-01-30 Glenn Morris <rgm@gnu.org>
2972 * emacs-lisp/authors.el (authors-fixed-entries):
2973 Remove reference to deleted file rnewspost.el.
2975 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2977 * window.el (window-with-parameter): Remove unused variable `windows'.
2978 (window--side-check): Remove unused variable `code'.
2979 (window--resize-siblings): Remove unused variable `first'.
2980 (adjust-window-trailing-edge): Remove unused variable `failed'.
2981 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2982 Use `let', not `let*'.
2983 (balance-windows-2): Remove unused variable `found'.
2984 (window--state-put-2): Remove unused variable `splits'.
2985 (window-state-put): Remove unused variable `selected'.
2986 (same-window-p): Use `string-match-p'.
2987 (display-buffer-assq-regexp): Remove unused variable `value'.
2988 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2989 Mark argument ALIST as ignored.
2990 (pop-to-buffer): Remove unused variable `old-window'.
2992 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2994 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2995 and .lzma compressed files.
2997 2012-01-29 Chong Yidong <cyd@gnu.org>
2999 * frame.el (window-system-default-frame-alist): Doc fix.
3001 * dynamic-setting.el (font-setting-change-default-font): Don't
3002 change the default face if SET-FONT argument is non-nil (Bug#9982).
3004 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3006 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3008 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3010 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3011 breakpoints in files outside current directory (Bug#6098).
3013 2012-01-29 Chong Yidong <cyd@gnu.org>
3015 * progmodes/python.el: Require ansi-color at top-level.
3017 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3018 Define and use in Emacs Lisp mode (Bug#9360).
3019 (lisp-mode-abbrev-table): Add doc.
3020 (lisp-mode-variables): Don't set local-abbrev-table.
3021 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3023 2012-01-28 Roland Winkler <winkler@gnu.org>
3025 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3027 2012-01-28 Roland Winkler <winkler@gnu.org>
3029 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3030 (bibtex-set-dialect): Use it. Either set global values of
3031 dialect-dependent variables or bind these variables buffer-locally
3033 (bibtex-mode): Call bibtex-set-dialect via
3034 hack-local-variables-hook.
3035 (bibtex-dialect): Update docstring.
3036 Add safe-local-variable predicate.
3037 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3039 (bibtex-mode-map): Define menu for each dialect.
3040 (bibtex-entry): Fix docstring.
3042 2012-01-28 Chong Yidong <cyd@gnu.org>
3044 * eshell/esh-arg.el (eshell-quote-argument): New function.
3046 * eshell/esh-ext.el (eshell-invoke-batch-file):
3047 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3048 first arg to eshell-parse-command (Bug#10523).
3050 2012-01-28 Drew Adams <drew.adams@oracle.com>
3052 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3053 `default-directory' is non-nil.
3055 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3057 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3058 line that displays system-configuration-options. (Bug#9924)
3060 2012-01-28 Drew Adams <drew.adams@oracle.com>
3062 * descr-text.el (describe-char): Show information about POS, in
3063 addition to information about the character at POS. Improve and
3064 update the doc string. Change "code point" to "code point in
3065 charset", to avoid confusion with the character's Unicode code
3066 point shown above that. (Bug#10129)
3068 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3070 * descr-text.el (describe-char): Show the raw character, not only
3071 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3072 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3075 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3077 * emacs-lisp/package.el (package-install):
3078 Run package-refresh-contents if there is no archive yet (Bug#9798).
3080 2012-01-28 Chong Yidong <cyd@gnu.org>
3082 * emacs-lisp/package.el (package-maybe-load-descriptor):
3083 New function, split from package-maybe-load-descriptor.
3084 (package-maybe-load-descriptor): Use it.
3085 (package-download-transaction): Fully load required packages
3086 inside the loop, so that `require' calls work (Bug#10593).
3087 (package-install): No need to call package-initialize now.
3089 2012-01-28 Chong Yidong <cyd@gnu.org>
3091 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3093 * tooltip.el (tooltip-mode): Doc fix.
3094 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3096 * frame.el (set-cursor-color): Doc fix (Bug#352).
3098 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3099 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3101 * cus-edit.el (custom-buffer-create-internal): Fix search button
3103 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3105 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3107 * dired.el (dired-mark-files-regexp):
3108 Include any subdirectory components. (Bug#10445)
3110 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3112 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3113 Handle [host]:port syntax. (Bug#10533)
3115 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3117 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3119 2012-01-26 Glenn Morris <rgm@gnu.org>
3121 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3122 * term.el (term-raw-escape-map): Use Control-X-prefix.
3123 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3125 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3127 * window.el (window-state-get, window--state-get-1): Don't deal
3128 with fixed-sizeness of windows. Simplify code.
3130 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3132 * window.el (window--state-get-1, window--state-put-2):
3133 Don't save and restore the mark.
3135 2012-01-25 Chong Yidong <cyd@gnu.org>
3137 * custom.el (custom-variable-p): Doc fix.
3139 2012-01-25 Glenn Morris <rgm@gnu.org>
3141 * dired.el (dired-goto-file): Handle some of the more common
3142 characters that `ls -b' escapes. (Bug#10596)
3144 * progmodes/compile.el (compilation-next-error-function):
3145 Respect compilation-first-column in the "*compilation*" buffer.
3146 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3148 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3150 2012-01-24 Glenn Morris <rgm@gnu.org>
3152 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3154 2012-01-24 Julien Danjou <julien@danjou.info>
3156 * color.el (color-rgb-to-hsl): Fix value computing.
3157 (color-hue-to-rgb): New function.
3158 (color-hsl-to-rgb): New function.
3159 (color-clamp, color-saturate-hsl, color-saturate-name)
3160 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3161 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3163 2012-01-24 Glenn Morris <rgm@gnu.org>
3165 * vc/vc-rcs.el (vc-rcs-create-tag):
3166 * vc/vc-sccs.el (vc-sccs-create-tag):
3167 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3169 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3171 * eshell/esh-util.el (eshell-read-hosts-file):
3172 Skip comment lines. (Bug#10549)
3174 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3176 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3178 * subr.el (display-delayed-warnings): Doc fix.
3179 (collapse-delayed-warnings): New function to collapse identical
3181 (delayed-warnings-hook): Add it.
3183 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3185 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3187 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3188 properties, when "login-as" is set.
3190 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3191 (tramp-default-user-alist): Don't add "pscp".
3192 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3193 property "login-as", if set. (Bug#10530)
3195 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3197 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3198 "plink1" and "psftp". (Bug#10530)
3200 2012-01-21 Kenichi Handa <handa@m17n.org>
3202 * international/mule-cmds.el (prefer-coding-system): Show a
3203 warning message if the default value of file-name-coding-system
3206 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3208 * windmove.el (windmove-reference-loc):
3209 Fix windmove-reference-loc miscalculation.
3211 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3213 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3216 2012-01-21 Glenn Morris <rgm@gnu.org>
3218 * international/mule.el (auto-coding-alist): Add .tbz.
3220 * files.el (local-enable-local-variables): Doc fix.
3221 (inhibit-local-variables-regexps): Rename from
3222 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3223 Doc fix. Add some extensions from auto-coding-alist.
3224 (inhibit-local-variables-suffixes):
3225 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3226 (inhibit-local-variables-p):
3227 New function, extracted from set-auto-mode-1.
3228 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3229 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3230 (hack-local-variables): Doc fix. Make the mode-only case
3231 respect enable-local-variables and friends.
3232 Respect inhibit-local-variables-regexps for file-locals, but
3233 not for directory-locals.
3234 (set-visited-file-name):
3235 Take account of inhibit-local-variables-regexps.
3236 Whether it applies may change as the file name is changed.
3237 * jka-cmpr-hook.el (jka-compr-install):
3238 * jka-compr.el (jka-compr-uninstall):
3239 Update for inhibit-first-line-modes-suffixes name change.
3241 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3243 * help-macro.el (make-help-screen): Temporarily restore original
3244 binding for minor-mode-map-alist (Bug#10454).
3246 2012-01-19 Julien Danjou <julien@danjou.info>
3248 * color.el (color-name-to-rgb): Use the white color to find the max
3249 color component value and return correctly computed values.
3250 (color-name-to-rgb): Add missing float conversion for max value.
3252 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3254 * window.el (window--state-get-1, window-state-get): Do not use
3255 special state value for window-persistent-parameters.
3256 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3257 (window--state-put-2): Reset all window parameters to nil before
3258 assigning values of persistent parameters.
3260 2012-01-18 Alan Mackenzie <acm@muc.de>
3262 Eliminate sluggishness and hangs in fontification of "semicolon
3265 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3266 Change value 10000 -> 3000.
3267 (c-state-safe-place): Reformulate so it doesn't stack up an
3268 infinite number of wrong entries in c-state-nonlit-pos-cache.
3269 (c-determine-limit-get-base, c-determine-limit): New functions to
3270 determine backward search limits disregarding literals.
3271 (c-find-decl-spots): Amend commenting.
3272 (c-cheap-inside-bracelist-p): New function which detects "={".
3274 * progmodes/cc-fonts.el
3275 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3277 (c-font-lock-declarations): Fix an occurrence of point being
3278 undefined. Check additionally for point being in a bracelist or
3279 near a macro invocation without a semicolon so as to avoid a
3280 fruitless time consuming search for a declarator. Give a more
3281 precise search limit for declarators using the new
3284 2012-01-18 Glenn Morris <rgm@gnu.org>
3286 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3287 (set-auto-mode): Doc fixes.
3289 2012-01-17 Glenn Morris <rgm@gnu.org>
3291 * isearch.el (search-nonincremental-instead): Fix doc typo.
3293 * dired.el (dired-insert-directory): Handle newlines in directory name.
3294 (dired-build-subdir-alist): Unescape newlines in directory name.
3296 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3298 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3299 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3300 (tramp-action-terminal): Use it. (Bug#10530)
3302 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3306 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3308 * window.el (window-state-ignored-parameters): Remove variable.
3309 (window--state-get-1): Rename argument MARKERS to IGNORE.
3310 Handle persistent window parameters. Make copy of clone-of
3311 parameter only if requested. (Bug#10348)
3312 (window--state-put-2): Install a window parameter only if it has
3313 a non-nil value or an existing parameter shall be overwritten.
3315 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3317 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3319 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3321 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3322 don't pass the (nil) value of `upnode' to string-match.
3324 2012-01-14 Chong Yidong <cyd@gnu.org>
3326 * startup.el (command-line): Fix X resource class for cursorColor.
3327 Fix values recognized by the cursorBlink resource.
3329 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3331 * epg.el (epg--make-temp-file): Avoid permission race condition
3332 when running on old Emacs versions (bug#10403).
3334 2012-01-14 Glenn Morris <rgm@gnu.org>
3336 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3338 2012-01-13 Alan Mackenzie <acm@muc.de>
3340 Fix filling for when filladapt mode is enabled.
3342 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3343 c-mask-paragraph, pass in `fill-paragraph' rather than
3344 `fill-region-as-paragraph'. (This is a reversion of a previous
3346 * progmodes/cc-mode.el (c-basic-common-init):
3347 Make fill-paragraph-handle-comment buffer local and set it to nil.
3349 2012-01-13 Glenn Morris <rgm@gnu.org>
3351 * dired.el (dired-switches-escape-p): New function.
3352 (dired-insert-directory): Use dired-switches-escape-p.
3353 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3355 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3357 2012-01-12 Glenn Morris <rgm@gnu.org>
3359 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3360 changes in adaptive-fill-regexp. (Bug#10276)
3362 2012-01-11 Alan Mackenzie <acm@muc.de>
3364 Fix Emacs bug #10463 - put `widen's around the critical spots.
3366 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3367 widen around each invocation of c-state-pp-to-literal. Remove an
3368 unused let variable.
3370 2012-01-11 Glenn Morris <rgm@gnu.org>
3372 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3375 2012-01-10 Chong Yidong <cyd@gnu.org>
3377 * net/network-stream.el (network-stream-open-starttls):
3378 Avoid emitting a confusing error message when the server gives a bad
3379 response to the capability command.
3381 2012-01-10 Glenn Morris <rgm@gnu.org>
3383 * mail/unrmail.el (unrmail): Tweak previous change.
3385 2012-01-09 Chong Yidong <cyd@gnu.org>
3387 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3389 2012-01-08 Alan Mackenzie <acm@muc.de>
3391 Optimise font locking in long enum definitions.
3393 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3394 arm to a cond form to handle enums.
3395 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3396 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3398 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3400 * files.el (move-file-to-trash): Preserve default file modes on error.
3403 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3405 * faces.el (set-face-attribute): Clarify the meaning of the nil
3408 * subr.el (with-selected-frame): Mention that the selected frame
3409 is restored (bug#9980).
3411 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3414 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3415 (password-read): Don't autoload unused function.
3417 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3419 * progmodes/which-func.el (which-func-mode): Turn into a
3420 non-interactive function and mark as obsolete (bug#10428).
3422 2012-01-06 Chong Yidong <cyd@gnu.org>
3424 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3425 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3426 functions, along with 1 and -1.
3428 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3430 * time.el (display-time-load-average)
3431 (display-time-default-load-average): Doc fixes. See the thread
3433 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3436 2012-01-06 Glenn Morris <rgm@gnu.org>
3438 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3439 has no messages. (Bug#10377)
3441 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3442 than Info-edit. (Bug#10385)
3444 * time.el (display-time-load-average, display-time-next-load-average):
3447 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3448 local setting of buffer-read-only to the input buffer. (Bug#10419)
3450 * calendar/calendar.el (calendar-mode):
3451 Locally set scroll-margin to 0. (Bug#10379)
3453 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3455 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3457 2012-01-05 Glenn Morris <rgm@gnu.org>
3459 * eshell/em-unix.el (diff-no-select): Autoload it.
3460 (eshell/diff): Use diff-no-select. (Bug#10420)
3462 2012-01-05 Chong Yidong <cyd@gnu.org>
3464 * shell.el (shell-dynamic-complete-functions): Revert last change.
3465 (shell-command-completion-function): New function.
3466 (shell-completion-vars): Use it to implement
3467 shell-completion-execonly (Bug#10417).
3469 * custom.el (enable-theme): Don't set custom-safe-themes.
3471 * cus-theme.el (custom-theme-merge-theme):
3472 Ignore custom-enabled-themes and custom-safe-themes.
3474 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3476 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3477 first prompt in `sql-interacive-mode'.
3478 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3480 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3481 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3482 context of original buffer. Invoke `sql-login-hook'.
3484 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3486 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3487 letters in cite-prefix.
3489 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3491 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3493 2012-01-03 Chong Yidong <cyd@gnu.org>
3495 * shell.el (shell-dynamic-complete-functions):
3496 Put pcomplete-completions-at-point, so as to try
3497 comint-filename-completion first (Bug#10417).
3499 2012-01-02 Richard Stallman <rms@gnu.org>
3501 * battery.el (battery-status-function):
3502 Detect when to use battery-yeeloong-sysfs.
3503 (battery-echo-area-format): Add string for Yeeloong.
3504 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3505 (battery-yeeloong-sysfs): New function.
3507 2012-01-02 Chong Yidong <cyd@gnu.org>
3509 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3510 (dirtrack): Merge code for handling relative filenames in prompt
3511 from shell-dir-cookie-watcher.
3512 (dirtrack-debug-message): New arg to avoid excess format calls.
3514 * shell.el (shell-dir-cookie-re): Variable deleted.
3515 (shell-dir-cookie-watcher): Function deleted.
3516 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3519 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3521 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3522 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3525 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3527 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3529 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3531 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3532 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3534 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3536 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3537 also for alternative shells.
3538 (tramp-open-connection-setup-interactive-shell): Check, whether
3539 the shell is a busybox.
3540 (tramp-send-command): Don't suppress multiple prompts for
3541 busyboxes, it hurts.
3543 2011-12-28 Chong Yidong <cyd@gnu.org>
3545 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3546 (gdb-get-source-file): Move mode line update to
3547 gdb-get-source-file (Bug#10087).
3549 2011-12-25 Chong Yidong <cyd@gnu.org>
3551 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3552 gud-gdb-marker-filter without taking it as an argument.
3553 (gud-gdb-run-command-fetch-lines): Caller changed.
3554 (gud-gdb-completion-function): New variable.
3555 (gud-gdb-completion-at-point): Use it.
3556 (gud-gdb-completions-1): Split from gud-gdb-completions.
3558 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3559 function as separate arguments.
3560 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3561 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3562 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3563 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3564 (gdb-stopped, def-gdb-auto-update-trigger)
3565 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3566 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3568 (gud-gdbmi-completions): New function.
3569 (gdb): Use it for generating the completion table.
3571 2011-12-24 Alan Mackenzie <acm@muc.de>
3573 Introduce a mechanism to widen the region used in context font
3574 locking. Use this to protect declarations from losing their contexts.
3576 * progmodes/cc-langs.el (c-before-font-lock-functions):
3577 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3578 (c-before-context-fontification-functions): New defvar, a list of
3579 functions to be run just before context (etc.) font locking.
3581 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3582 New, functionality extracted from
3583 c-neutralize-syntax-in-and-mark-CPP.
3584 (c-in-after-change-fontification): New variable.
3585 (c-after-change): Set c-in-after-change-fontification.
3586 (c-set-fl-decl-start): Rejig its interface, so it can be called
3587 from both after-change and context fontifying.
3588 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3590 (c-standard-font-lock-fontify-region-function): New variable.
3591 (c-font-lock-fontify-region): New function.
3593 2011-12-24 Juri Linkov <juri@jurta.org>
3595 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3598 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3600 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3601 existence of source file. (Bug#10325)
3603 2011-12-23 Alan Mackenzie <acm@muc.de>
3605 Fix unstable fontification inside templates.
3607 * progmodes/cc-langs.el (c-before-font-lock-functions):
3608 Newly created from the singular version. The (c c++ objc) entry now
3609 additionally has c-set-fl-decl-start. The other languages (apart
3610 from AWK) have that as a single entry.
3612 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3613 The functionality for "local" declarations has been extracted to
3614 c-set-fl-decl-start.
3616 * progmodes/cc-mode.el (c-common-init, c-after-change):
3617 Changes due to pluralisation of c-before-font-lock-functions.
3618 (c-set-fl-decl-start): New function, extracted from
3619 c-font-lock-enclosing-decls and enhanced.
3621 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3623 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3625 2011-12-22 Juri Linkov <juri@jurta.org>
3627 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3629 2011-12-22 Chong Yidong <cyd@gnu.org>
3631 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3633 2011-12-21 Drew Adams <drew.adams@oracle.com>
3635 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3637 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3639 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3641 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3643 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3644 highlighting and support. Fix up comments for capitalization.
3645 (cfengine-mode-debug): New var.
3646 (cfengine3-mode): Change the modeline indicator to "CFE3".
3647 (cfengine3-font-lock-keywords): Improve defun highlighting.
3648 (cfengine2-actions): Rename from `cfengine-actions'.
3649 (cfengine2-font-lock-keywords): Rename from
3650 `cfengine-font-lock-keywords'.
3651 (cfengine2-imenu-expression): Rename from
3652 `cfengine-imenu-expression'.
3653 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3654 (cfengine2-beginning-of-defun): Rename from
3655 `cfengine-beginning-of-defun'.
3656 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3657 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3658 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3659 modeline indicator to "CFE2".
3660 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3661 (cfengine-mode-abbrevs): Mark obsolete.
3663 2011-12-21 Chong Yidong <cyd@gnu.org>
3665 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3668 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3670 * window.el (window-normalize-buffer-to-display): Remove.
3671 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3673 2011-12-19 Chong Yidong <cyd@gnu.org>
3675 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3676 Don't signal an error in a predicate function; return non-nil.
3677 (vc-dir-mark-file): Move the error here.
3678 (vc-dir-mark-unmark): If acting on the region, keep going if one
3679 of the entries cannot be marked/unmarked.
3680 (vc-dir-mark-all-files): If current entry is a directory, mark
3681 only child files, as documented.
3683 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3685 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3686 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3689 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3691 * term/ns-win.el (ns-get-selection-internal)
3692 (ns-store-selection-internal): Declare.
3693 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3694 Declare as obsolete.
3695 (ns-get-pasteboard, ns-paste-secondary):
3696 Use ns-get-selection-internal.
3697 (ns-set-pasteboard, ns-copy-including-secondary):
3698 Use ns-store-selection-internal.
3700 2011-12-17 Chong Yidong <cyd@gnu.org>
3702 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3703 (vc-deduce-fileset): Doc fix.
3705 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3707 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3709 2011-12-13 Sam Steingold <sds@gnu.org>
3711 * man.el (Man-getpage-in-background): When running under a
3712 window-system, ignore $MANWIDTH and $COLUMNS.
3714 2011-12-15 Kenichi Handa <handa@m17n.org>
3716 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3717 (setup-ethiopic-environment-internal): Comment out key-binding for
3718 ethio-toggle-punctuation.
3720 2011-12-13 Alan Mackenzie <acm@muc.de>
3722 Add the switch statement to AWK Mode.
3724 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3725 "default" to the keywords regexp.
3727 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3728 expression as the rest.
3729 (c-nonlabel-token-key): Allow string literals for AWK.
3730 Refactor for the other modes.
3732 Large brace-block initialisation makes CC Mode slow: Fix.
3733 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3734 routines. Limit backward searching in c-font-lock-enclosing.decl.
3736 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3737 pp-state and literal type in addition to the limits.
3738 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3739 (c-state-literal-at): Use the above new defun.
3740 (c-slow-in-literal, c-fast-in-literal): Remove.
3741 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3743 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3744 being in a literal. Add a limit for backward searching.
3746 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3749 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3753 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3755 * window.el (delete-other-windows): Use correct frame in call to
3756 window-with-parameter.
3758 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3760 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3761 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3762 (makefile-gmake-statements, makefile-makepp-statements):
3763 Use it and add new makepp keywords.
3764 (makefile-makepp-font-lock-keywords): Add new patterns.
3765 (makefile-match-function-end): Match new [...] and [[...]].
3767 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3769 * ses.el (ses-call-printer-return, ses-cell-property-get)
3770 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3771 (ses-create-cell-variable, ses-reset-header-string)
3772 (ses-cell-set-formula, ses-repair-cell-reference-all)
3773 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3774 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3775 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3776 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3777 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3778 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3779 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3780 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3781 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3782 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3783 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3784 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3786 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3788 * ses.el: The overall change is to add cell renaming, that is
3789 setting fancy names for cell symbols other than name matching
3790 "\\`[A-Z]+[0-9]+\\'" regexp .
3791 (ses-create-cell-variable): New defun.
3792 (ses-relocate-formula): Relocate formulas only for cells the
3793 symbols of which are not renamed, i.e. symbols whose names do not
3794 match regexp "\\`[A-Z]+[0-9]+\\'".
3795 (ses-relocate-all): Relocate values only for cells the symbols of
3796 which are not renamed.
3797 (ses-load): Create cells variables as the (ses-cell ...) are read,
3798 in order to check row col consistency with cell symbol name only
3799 for cells that are not renamed.
3800 (ses-replace-name-in-formula): New defun.
3801 (ses-rename-cell): New defun.
3803 2011-12-11 Chong Yidong <cyd@gnu.org>
3805 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3806 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3808 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3810 * window.el (other-window): Fix docstring.
3812 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3814 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3815 `from' or `to' address before taking its substring.
3816 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3817 encoded name is chopped in the middle of the encoded string, and
3818 thus displayed encoded.
3820 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3822 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3824 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3826 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3827 to use texinfo-update-node and commands that call it if the
3828 Texinfo file uses @node lines without next/prev/up pointers.
3829 Correct outdated description about texinfo-master-menu.
3830 (texinfo-all-menus-update, texinfo-master-menu)
3831 (texinfo-update-node, texinfo-every-node-update)
3832 (texinfo-multiple-files-update): Doc fix. Warn against updating
3833 all the @node lines.
3834 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3835 argument is numeric. Explain better in the doc string what the
3836 function really does.
3837 (texinfo-insert-master-menu-list): Improve the error message
3838 displayed if there's no menu in the Top node.
3839 (Bug#2975) See also this thread:
3840 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3842 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3844 * speedbar.el (speedbar-supported-extension-expressions):
3845 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3847 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3849 * printing.el (pr-mode-alist):
3850 * simple.el (filter-buffer-substring-functions)
3851 (completion-list-insert-choice-function):
3852 * window.el (window-with-parameter, window-atom-root)
3853 (window-sides-slots, window-size-fixed, window-min-delta)
3854 (window-max-delta, window--resize-mini-window)
3855 (window--resize-child-windows-normal, window-tree)
3856 (delete-other-windows, quit-window, split-window)
3857 (display-buffer-record-window, special-display-buffer-names)
3858 (special-display-regexps, special-display-popup-frame)
3859 (same-window-p, split-window-sensibly)
3860 (display-buffer-overriding-action, display-buffer-alist)
3861 (display-buffer-base-action, display-buffer, switch-to-buffer)
3862 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3863 (fit-window-to-buffer, recenter-positions)
3864 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3865 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3866 and remove unneeded backslashes in docstrings.
3868 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3872 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3873 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3875 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3876 when reading the makefile (bug#10116).
3878 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3883 2011-12-06 Glenn Morris <rgm@gnu.org>
3885 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3887 2011-12-06 Chong Yidong <cyd@gnu.org>
3889 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3891 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3893 * textmodes/table.el (table-shorten-cell): Fix typo.
3895 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3897 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3899 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3901 * descr-text.el (describe-char): Fix display of strong
3902 right-to-left characters and directional embeddings and overrides.
3904 * simple.el (what-cursor-position): Fix display of codepoints of
3905 strong right-to-left characters.
3907 2011-12-05 Chong Yidong <cyd@gnu.org>
3909 * faces.el (read-color): Doc fix.
3911 2011-12-05 Glenn Morris <rgm@gnu.org>
3913 * align.el (align--set-marker): Add doc-string.
3914 Don't try to move something that is not a marker. (Bug#10216)
3916 2011-12-04 Glenn Morris <rgm@gnu.org>
3918 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3919 overly zealous deletion of trailing whitespace.
3921 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3923 * server.el (server-delete-client): On Windows, do not try to delete
3925 (server-process-filter): On Windows, treat requests for a tty frame as
3926 if they were for a GUI frame if the running server is in GUI mode.
3928 2011-12-03 Glenn Morris <rgm@gnu.org>
3930 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3932 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * electric.el: Streamline electric-indent's hook.
3935 (electric-indent-chars): Revert to simple list.
3936 (electric-indent-functions): New var.
3937 (electric-indent-post-self-insert-function): Use it.
3939 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3940 there's no inferior buffer (bug#10196).
3941 (prolog-consult-compile): Don't use toggle-read-only.
3943 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3945 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3946 interrupt. (Bug#10187)
3948 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3953 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3956 2011-12-02 Juri Linkov <juri@jurta.org>
3958 * info.el (Info-search): Display "end of manual" when Isearch
3959 reaches the end of single-file Info manual. (Bug#9918)
3961 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3963 * isearch.el (isearch-message-prefix): Run the input method part
3964 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3966 2011-12-02 Juri Linkov <juri@jurta.org>
3968 * isearch.el (isearch-occur): Use `word-search-regexp' for
3970 (isearch-search-and-update): Add condition for `isearch-word' and
3971 call `word-search-regexp'. (Bug#10145)
3973 2011-12-01 Glenn Morris <rgm@gnu.org>
3975 * eshell/em-hist.el (eshell-hist-initialize):
3976 Handle eshell-history-size nil and HISTSIZE set or unset.
3977 (eshell-history-file-name, eshell-history-size): Fix custom type.
3979 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3981 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3983 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3985 * progmodes/verilog-mode.el (verilog-pretty-expr):
3986 Rework verilog-pretty-expr to handle new assignment operators in system
3987 verilog, such as += *= and the like.
3988 (verilog-assignment-operator-re): Regular expression to find the
3989 assigment operator in a verilog assignment.
3990 (verilog-assignment-operation-re): Regular expression to find an
3991 assignment statement for pretty-expr.
3992 (verilog-in-attribute-p): Query returns true if point is in an
3993 attribute context; used to skip these for expression line up from
3995 (verilog-in-parameter-p): Query returns true if point is in an
3996 parameter definition context; used to skip these for expression
3997 line up from pretty-expr.
3998 (verilog-in-parenthesis-p): Query returns true if point is in a
3999 parenthetical expression, specifically ( ) but not [ ] or { };
4000 used by pretty-expr.
4001 (verilog-just-one-space): If there is no space, don't add one.
4002 (verilog-get-lineup-indent-2): Specifically skip just attribute
4003 contexts for expression lineup, rather than skipping all
4004 parenthetical expressions.
4005 (verilog-calculate-indent): Fix comment, and fix indent.
4006 (verilog-do-indent): Indent declarations in lists (suggested by
4008 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4010 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4013 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4015 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4016 parameters with embedded comments. Reported by Ray Stevens.
4017 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4018 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4019 Reported by Tim Holt.
4020 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4021 instantiated by upper module causing wrong expansion until AUTOed a
4022 second time. Reported by K C Buckenmaier.
4023 (verilog-diff-auto): Fix showing .* as a difference when
4024 `verilog-auto-star-save' off. Reported by Dan Dever.
4025 (verilog-auto-reset, verilog-read-always-signals)
4026 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4027 temporary signals in reset list if
4028 verilog-auto-reset-blocking-in-non is nil, and match assignment
4029 style to each signal's assignment type, bug381.
4030 Reported by Thomas Esposito.
4031 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4032 (verilog-uvm-statement-re): Support UVM indentation and
4033 highlighting, with old OVM keywords only.
4034 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4035 Support AUTOTIEOFF creating non-wire data types.
4036 Suggested by Jonathan Greenlaw.
4037 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4038 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4039 (verilog-inject-sense, verilog-read-inst-pins)
4040 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4041 Fix mismatching parenthesis inside commented out code when deleting
4042 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4043 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4044 non-numeric vector width. Reported by Alex Reed.
4045 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4046 detecting signals with parameter widths. Reported by Alex Reed.
4047 (verilog-auto-delete-trailing-whitespace):
4048 With `verilog-auto-delete-trailing-whitespace' remove trailing
4049 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4050 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4051 Fix verilog-scan-cache corruption when running user AUTO expansion
4052 hooks that call indentation routines.
4053 (verilog-simplify-range-expression): Fix typo ignoring lower case
4055 (verilog-delete-auto): Fix delete-autos to also remove user created
4056 automatics, as long as they start with AUTO.
4057 (verilog-batch-diff-auto, verilog-diff-auto)
4058 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4059 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4060 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4061 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4062 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4063 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4064 is disabled and its cache will get corrupt, causing AUTOS not to
4065 expand. Instead use only -quick functions.
4066 (verilog-scan-region): Fix scanning over escaped quotes.
4067 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4068 (verilog-re-search-backward-quick)
4069 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4070 related functions now ignore strings, to fix misparsing of strings
4071 with magic comments embedded in them.
4072 (verilog-read-auto-template):
4073 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4074 Reported by Brad Dobbie.
4075 (verilog-read-auto-template):
4076 Fix 'verilog-auto-inst-template-numbers' with comments.
4077 Reported by Brad Dobbie.
4078 (verilog-auto-inst, verilog-auto-inst-param)
4079 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4080 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4081 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4082 debugging templates without merge conflicts, bug357.
4083 Reported by Brad Dobbie.
4084 (verilog-read-auto-template):
4085 Fix verilog-auto-inst-template-numbers with multiple templates.
4086 Reported by Brad Dobbie.
4087 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4088 abbrevs so user won't be asked to save.
4089 (verilog-read-auto-lisp-present): Fix to start at beginning of
4090 buffer in case called outside of verilog-auto.
4091 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4092 to "X-2". Reported by Matthew Myers.
4093 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4094 all inputs from module templates. Reported by Leith Johnson.
4095 (verilog-module-inside-filename-p): Fix locating programs as with
4097 (verilog-auto-inst-port): Fix vl-width expressions when using
4098 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4099 (verilog-decls-get-regs, verilog-decls-get-signals,
4100 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4101 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4102 verilog-read-decls): Combine reg and wire structures into one var
4103 structure to represent SystemVerilog concepts.
4104 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4105 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4106 (verilog-auto-wire-type, verilog-insert-definition):
4107 Add verilog-auto-wire-type and AUTOLOGIC to support using
4108 SystemVerilog "logic" keyword instead of "wire"/"reg".
4109 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4110 to declares outputs that also have assignments (presumably in an
4111 ifdef or generate if so there's not a driver conflict).
4112 Reported by Matthew Myers.
4113 (verilog-auto-declare-nettype, verilog-insert-definition):
4114 Add verilog-auto-declare-nettype to fix declarations using
4115 `default_nettype none. Reported by Julian Gorfajn.
4116 (verilog-read-always-signals-recurse, verilog-read-decls)
4117 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4118 malformed end statement, bug325. Reported by Joshua Wise and
4120 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4121 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4122 when expanding .* in interfaces, bug320.
4123 Reported by Pierre-David Pfister.
4124 (verilog-read-module-name): Fix import statements between module
4125 name and open parenthesis, bug317.
4126 Reported by Pierre-David Pfister.
4127 (verilog-simplify-range-expression): Fix simplification of
4128 multiplications inside AUTOWIRE connections, bug303.
4129 (verilog-auto-inst-port): Support parameter expansion in
4130 multidimensional arrays.
4131 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4132 after "assert property". Reported by Julian Gorfajn.
4133 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4134 with multiplication, bug303.
4135 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4136 Reported by Jan Frode Lonnum.
4138 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4140 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4141 (hfy-shell-file-name, hfy-shell):
4142 * international/fontset.el (x-decompose-font-name): Fix typos.
4144 2011-11-29 Ken Brown <kbrown@cornell.edu>
4146 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4147 (gdb-version): Remove defvar.
4148 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4149 (gdb-gud-context-command, gdb-non-stop-handler)
4150 (gdb-current-context-command, gdb-stopped): Use it.
4151 (gdb-init-1): Enable pretty printing here.
4152 (gdb-non-stop-handler): Don't enable pretty-printing here.
4153 Check to see if the target supports non-stop mode; if not, turn off
4154 non-stop mode. Use the following.
4155 (gdb-check-target-async): New defun.
4156 (gud-watch, gdb-stopped): Fix whitespace.
4157 (gdb-get-source-file): Don't try to display the source file if
4158 `gdb-main-file' is nil.
4160 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * align.el: Try to generate fewer markers (bug#10047).
4163 (align--set-marker): New macro.
4164 (align-region): Use it.
4166 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4170 2011-11-29 Chong Yidong <cyd@gnu.org>
4172 * indent.el (indent-for-tab-command, indent-according-to-mode):
4174 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4176 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4178 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4179 aware of remote file names. (Bug#10124)
4181 2011-11-29 Chong Yidong <cyd@gnu.org>
4183 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4185 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * files.el (find-file): Don't use force-same-window (bug#10144).
4188 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4189 use pop-to-buffer if the selected window can't be used.
4190 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4192 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4194 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4197 2011-11-28 Chong Yidong <cyd@gnu.org>
4199 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4201 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4203 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4204 gdb-get-source-file-list on gdb-create-source-file-list.
4206 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4208 * whitespace.el (whitespace-newline): Use a different foreground
4209 color for 16-color light-background displays.
4211 2011-11-24 Chong Yidong <cyd@gnu.org>
4213 * window.el (display-buffer--special-action): Doc fix.
4215 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4217 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4218 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4219 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4220 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4221 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4222 (avl-tree-stack-first):
4223 * emacs-lisp/cconv.el (cconv--analyse-use):
4224 * net/gnutls.el (gnutls-negotiate): Fix typos.
4226 2011-11-24 Glenn Morris <rgm@gnu.org>
4228 * lpr.el (lpr-windows-system, lpr-lp-system):
4229 * mail/binhex.el (binhex-begin-line):
4230 * progmodes/grep.el (grep-history, grep-find-history):
4231 * textmodes/flyspell.el:
4232 * vc/pcvs-defs.el (cvs-global-menu):
4233 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4234 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4235 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4237 * net/tls.el: Fix case of "GnuTLS".
4239 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4241 * version.el (emacs-build-system): Give it a doc-string.
4243 2011-11-24 Juri Linkov <juri@jurta.org>
4245 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4247 2011-11-24 Glenn Morris <rgm@gnu.org>
4249 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4250 if called on a non-mime message just toggle the headers. (Bug#8006)
4252 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4254 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4255 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4256 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4257 (allout-rebullet-heading, allout-open-sibtopic)
4258 (allout-toggle-current-subtree-encryption)
4259 (allout-toggle-subtree-encryption, allout-encrypt-string)
4260 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4261 (allout-distinctive-bullets-string, allout-auto-activation):
4262 * window.el (window-normalize-buffer-to-display):
4263 * progmodes/verilog-mode.el (verilog-batch-indent):
4264 * textmodes/bibtex.el (bibtex-field-braces-opt)
4265 (bibtex-field-strings-opt):
4266 * vc/cvs-status.el (cvs-tree-merge):
4269 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4271 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4272 `non-essential' to t, in order to avoid remote connections.
4274 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4276 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4277 On MS-DOS and MS-Windows, compare with loaddefs.el
4280 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4282 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4284 2011-11-23 Glenn Morris <rgm@gnu.org>
4286 * paths.el (rmail-file-name): Reformat the doc-string so that it
4289 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4290 (rmail-auto-file): Ignore case in the "special" field names,
4291 as mail-fetch-field does for all others.
4293 * mail/rmail.el (rmail-forward):
4294 * mail/rmailkwd.el (rmail-set-label):
4295 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4296 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4298 * mail/rmail.el (rmail-current-message): Doc fix.
4300 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4302 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4306 2011-11-22 Glenn Morris <rgm@gnu.org>
4308 * mail/rmailmm.el (test-rmail-mime-handler)
4309 (test-rmail-mime-bulk-handler)
4310 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4312 2011-11-21 Juri Linkov <juri@jurta.org>
4314 * calc/calc.el (calc-read-key-sequence):
4315 Let-bind `input-method-function' to nil. (Bug#10018)
4317 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4319 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4320 Tell the caller that the next line needs recomputation, even
4321 though it doesn't start a sexp (bug#10094).
4323 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4325 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4327 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4329 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4330 Use force-same-window.
4332 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4334 * descr-text.el (describe-char-unicode-data):
4335 * json.el (json-string-escape):
4336 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4337 (Footnote-unicode, Footnote-style-p):
4338 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4340 2011-11-20 Chong Yidong <cyd@gnu.org>
4342 * window.el (replace-buffer-in-windows): Restore interactive spec.
4344 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4348 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4349 (byte-compile-global-not-obsolete-vars): New var.
4350 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4352 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4354 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4356 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4357 * progmodes/pascal.el (electric-pascal-equal):
4358 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4359 * xml.el (xml-substitute-special): Fix typos.
4361 2011-11-20 Glenn Morris <rgm@gnu.org>
4363 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4364 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4366 (rmail-decode-mime-charset): Mark as obsolete.
4368 * mail/rmailsum.el (rmail-message-regexp-p-1):
4369 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4370 Before using mime functions, check they are set. (Bug#10077)
4372 2011-11-19 Juri Linkov <juri@jurta.org>
4374 * info.el (Info-finder-find-node): Use `package--builtins' instead
4375 of `package-alist'. Use node names formed by the pattern "Keyword "
4376 and the keyword name.
4378 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4380 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4382 2011-11-19 Juri Linkov <juri@jurta.org>
4384 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4385 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4386 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4387 `old-history', `old-history-forward'. Add let-binding
4388 `window-selected'. Remove calls to `kill-buffer',
4389 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4390 before calling `Info-find-node', so `Info-find-node-2' will reread
4391 the Info file. Restore window positions only when `window-selected'
4394 2011-11-19 Juri Linkov <juri@jurta.org>
4396 * isearch.el (isearch-lazy-highlight-new-loop):
4397 Remove condition `(not isearch-error)'. (Bug#9918)
4399 * misearch.el (multi-isearch-search-fun): Add condition
4400 `(not bound)' to ignore lazy-highlighting search.
4401 Add the search-failed message "end of multi" when the end of
4402 multi-sequence is reached. Uncapitalize the search-failed
4403 message "Repeat for next buffer".
4405 * info.el (Info-search): Add the search-failed message
4406 "end of the manual" when the end of the manual is reached
4409 2011-11-19 Juri Linkov <juri@jurta.org>
4411 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4412 Use non-destructive `remove' instead of `delete' because
4413 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4414 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4416 2011-11-19 Juri Linkov <juri@jurta.org>
4418 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4419 to nil instead of binding `search-ring' and `regexp-search-ring'.
4422 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4424 * simple.el (line-move): Force movement by logical lines for any
4425 hscrolled window, not only when auto-hscroll-mode is on.
4426 (line-move-visual): Update doc string to that effect. (Bug#10076)
4428 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4430 * language/european.el (macintosh): Define as alias for mac-roman.
4432 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4434 * mail/rmailmm.el (rmail-mime-display-header)
4435 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4436 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4437 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4438 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4439 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4441 (rmail-mime-entity-segment): To get past the tagline, move forward
4442 2 more lines, to account for the 2 empty lines that precede and
4443 follow the line with the buttons.
4444 (rmail-mime-update-tagline): Move one more line, to get past the
4445 empty line that follows the buttons in the tagline. (Bug#9520)
4447 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4449 * window.el (window-max-delta-1, window-min-delta-1)
4450 (window-min-size-1, window-state-get-1, window-state-put-1)
4451 (window-state-put-2): Use "window--" prefix.
4453 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4455 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4456 (smie-warning-count): New var.
4457 (smie-set-prec2tab): Use it.
4458 (smie-bnf->prec2): Improve warnings. Add docstring.
4459 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4460 (smie-bnf--set-class): New function.
4461 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4464 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4465 (compilation-error-properties, compilation-move-to-column):
4466 Handle compilation-first-column while in the target buffer.
4468 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4469 Don't hardcode point-min==1.
4471 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4472 (eshell-rewrite-for-command): Remove workaround.
4473 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4474 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4475 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4477 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4479 2011-11-17 Glenn Morris <rgm@gnu.org>
4481 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4482 Ignore buffer-local generated-autoload-file if it is the same
4483 as the global value. (Bug#10049)
4485 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4487 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4488 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4489 (reftex-toc-previous-heading, reftex-toc-max-level)
4490 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4491 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4492 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4493 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4494 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4495 (reftex-toc-rename-label, reftex-toc-visit-location)
4496 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4497 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4498 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4499 leaving "*toc*" only for references to the buffer.
4501 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4503 * window.el (window-resize, delete-window, split-window):
4504 Replace window-splits by window-combination-resize.
4505 * cus-start.el (window-splits): Replace by window-combination-resize.
4507 2011-11-17 Glenn Morris <rgm@gnu.org>
4509 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4510 Make bash entry derive from sh entry, not shell entry.
4512 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4514 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4515 properties of linked files. (Bug#9879)
4517 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4520 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4522 * menu-bar.el (menu-bar-file-menu):
4523 * printing.el (pr-ps-utility):
4524 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4525 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4526 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4527 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4528 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4529 (icalendar--convert-cyclic-to-ical)
4530 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4531 (icalendar--convert-ical-to-diary)
4532 (icalendar--convert-recurring-to-diary)
4533 (icalendar--convert-non-recurring-all-day-to-diary)
4534 (icalendar-import-format-sample):
4535 * progmodes/idlw-shell.el (idlwave-shell-mode):
4536 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4537 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4538 (vhdl-ps-print-init): Fix typos.
4540 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4542 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4543 FSF and collapse date sequence, obscure author/maintainer email address
4544 better, remove extra version line, track relocation of author's webpage.
4546 * progmodes/python.el (python-pdbtrack-input-prompt)
4547 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4548 regular python pdb prompts. Adjustments shamelessly taken exactly as
4549 suggested in EmacsWiki page (tiny change):
4550 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4552 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4554 * expand.el (expand-pos, expand-index, expand-point):
4555 Remove redundant info from docstring.
4556 (expand-add-abbrevs): Doc fix.
4557 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4558 (expand-sample-perl-mode-expand-list): Fix typos.
4560 * net/dbus.el (dbus-event-member-name):
4561 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4562 * term/pc-win.el (msdos-create-frame-with-faces):
4563 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4565 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4567 * window.el (split-window, window-state-get-1)
4568 (window-state-put-1, window-state-put-2): Rename occurrences of
4569 window-nest to window-combination-limit.
4570 * cus-start.el (window-nest): Rename to window-combination-limit.
4572 2011-11-16 Chong Yidong <cyd@gnu.org>
4574 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4577 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4580 `completing-read' will remove *Completions* and will preserve
4581 current-buffer for us.
4582 (tmm-add-prompt): Users of *Completions* will always (re)set its
4584 (tmm-old-comp-map): Remove.
4586 2011-11-16 Glenn Morris <rgm@gnu.org>
4588 * mail/rmailedit.el: Require rmailmm when compiling.
4589 (rmail-old-mime-state): New declaration.
4590 (rmail-edit-current-message): If editing a mime message,
4591 edit the "raw" message from the mbox buffer.
4592 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4594 2011-11-15 Glenn Morris <rgm@gnu.org>
4596 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4597 which wasn't being used. Add optional arg to force given state.
4598 (rmail-mime): Add optional arg to force given state.
4600 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4602 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4603 * frame.el (display-mm-dimensions-alist):
4604 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4605 (outline-move-subtree-down):
4606 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4607 (newsticker--treeview-do-get-node):
4608 * net/quickurl.el (quickurl-list-buffer-name):
4609 * progmodes/dcl-mode.el (dcl-mode):
4610 * progmodes/gdb-mi.el (gdb-mapcar*):
4611 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4613 2011-11-15 Glenn Morris <rgm@gnu.org>
4615 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4616 in a boolean sense, so just make it a boolean, and fix the doc.
4617 (rmail-show-mime-function, rmail-mime-feature)
4618 (rmail-require-mime-maybe): Doc fixes.
4619 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4621 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4623 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4625 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4626 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4627 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4628 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4630 2011-11-15 Glenn Morris <rgm@gnu.org>
4632 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4633 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4634 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4635 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4636 (rmail-mime, rmail-show-mime): Doc fixes.
4638 * term/ns-win.el (mode-line-frame-identification):
4639 Leave it alone. (Bug#10051)
4641 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4643 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4644 Handle empty buffers. (Bug#9978)
4646 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4648 * international/mule.el (define-charset):
4649 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4650 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4651 * progmodes/verilog-mode.el (verilog-backward-token):
4652 * textmodes/ispell.el (lookup-words):
4653 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4655 2011-11-14 Glenn Morris <rgm@gnu.org>
4657 * progmodes/executable.el
4658 (executable-make-buffer-file-executable-if-script-p):
4659 Handle file-modes returning nil.
4661 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4662 message - not necessary, and causes problems. (Bug#9831)
4664 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4666 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4668 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4669 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4670 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4672 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4674 * window.el (window-resize, delete-window): Use window-splits
4675 variable instead of function.
4676 (window-state-get-1, window-state-put-2, window-state-put):
4677 Don't deal with windows' splits status.
4679 2011-11-12 Glenn Morris <rgm@gnu.org>
4681 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4682 (apropos-documentation): Doc fixes.
4684 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4686 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4687 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4689 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4691 * electric.el (electric-indent-post-self-insert-function): Make it
4692 possible for a char to only indent in some circumstances.
4693 (electric-indent-mode): Simplify.
4695 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4697 * window.el (windows-with-parameter): Remove unused function.
4698 (windows-at-side): Rename to window-at-side-list.
4699 (window-check, window-atom-check, window-atom-check-1)
4700 (window-side-check, window-size-ignore, window-size-fixed-1)
4701 (window-in-direction-2): Prefix with "window--".
4702 (window-tree-1): Rename to window--subtree, fix doc-string.
4704 2011-11-11 Glenn Morris <rgm@gnu.org>
4706 * subr.el (eval-after-load): If FILE is already loaded,
4707 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4709 2011-11-10 Glenn Morris <rgm@gnu.org>
4711 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4712 Call svn via vc-svn-command rather than vc-do-command.
4713 (vc-svn-command): Add --non-interactive. (Bug#9993)
4714 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4716 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4717 Add toggle-read-only. (Bug#7292)
4718 * files.el (toggle-read-only): Mention that it should only
4719 be used interactively. (Bug#10006)
4721 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4724 Adjust regexp for OCaml warnings.
4726 * electric.el (electric-pair-post-self-insert-function): Let user
4727 turn it off buffer-locally (bug#9932).
4729 * progmodes/python.el (python-beginning-of-statement):
4732 * progmodes/compile.el: Better handle TABs (bug#9749).
4733 (compilation-internal-error-properties)
4734 (compilation-next-error-function): Obey the target buffer's
4735 compilation-error-screen-columns.
4737 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4739 * progmodes/meta-mode.el: Remove obsolete comments.
4740 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4741 Fix typos in docstrings.
4743 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4745 * window.el (window-size-fixed-p): Rewrite doc-string.
4746 (window-resizable-p): Rename to window--resizable-p. Update callers.
4747 (window--resizable): New function. Make all callers of
4748 window-resizable call window--resizable instead.
4749 (window-resizable): Rewrite in terms of window--resizable.
4751 2011-11-08 Glenn Morris <rgm@gnu.org>
4753 * progmodes/delphi.el (delphi-mode-syntax-table):
4754 Let define-derived-mode define a proper syntax table. (Bug#9994)
4756 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * window.el: Stay away from defsubst.
4759 (window-list-no-nils): Remove.
4760 (window-state-get-1, window-state-get): Use backquote instead.
4762 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4764 * emacs-lisp/find-func.el (find-function-read):
4765 Fix incorrect use of default argument in `completing-read'.
4767 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4769 * window.el (display-buffer-function, special-display-function):
4770 Mention display-buffer-record-window but do not mention
4771 help-setup parameter in doc-strings.
4772 (window-min-delta): Fix doc-string typo.
4774 2011-11-08 Chong Yidong <cyd@gnu.org>
4776 * window.el (window-total-height, window-total-width): Doc fix.
4777 (window-body-size): Move from C.
4778 (window-body-height, window-body-width): Move to C.
4780 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * window.el: Make special-display like display-buffer-alist (bug#9532).
4783 (display-buffer--special-action): New function, morphed
4784 from display-buffer--special.
4785 (display-buffer): Use it to handle special-display-buffers at higher
4786 priority (just after display-buffer-alist).
4787 (display-buffer-fallback-action, display-buffer--other-frame-action)
4788 (pop-to-buffer-same-window): Remove display-buffer--special.
4790 2011-11-07 Glenn Morris <rgm@gnu.org>
4792 * calendar/cal-menu.el (cal-menu-set-date-title):
4793 Do nothing if not in a calendar. (Bug#9976)
4795 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4797 * files.el (find-file): Always use selected-window.
4799 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4801 * window.el (window-combinations): Make WINDOW argument
4802 mandatory. Rewrite doc-string.
4803 (walk-window-subtree, window-atom-check, window-min-delta)
4804 (window-max-delta, window--resize-this-window)
4805 (window--resize-root-window-vertically, window-tree)
4806 (balance-windows, window-state-put): Rewrite doc-strings as to
4807 not mention the term "subwindow".
4808 (window--resize-subwindows-skip-p): Rename to
4809 window--resize-child-windows-skip-p.
4810 (window--resize-subwindows-normal): Rename to
4811 window--resize-child-windows-normal.
4812 (window--resize-subwindows): Rename to
4813 window--resize-child-windows.
4814 (window-or-subwindow-p): Rename to window--in-subtree-p.
4816 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4818 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4819 Ensure that mbox format messages end in two newlines (Bug#9974).
4821 2011-11-06 Chong Yidong <cyd@gnu.org>
4823 * window.el (window-combination-p): Function deleted; its
4824 side-effect is not used in any existing code.
4825 (window-combinations, window-combined-p): Call window-*-child
4828 2011-11-05 Chong Yidong <cyd@gnu.org>
4830 * window.el (window-valid-p): Rename from window-any-p.
4831 (window-size-ignore, window-state-get): Callers changed.
4832 (window-normalize-window): Rename from window-normalize-any-window.
4833 New arg LIVE-ONLY, replacing window-normalize-live-window.
4834 (window-normalize-live-window): Delete.
4835 (window-combination-p, window-combined-p, window-combinations)
4836 (walk-window-subtree, window-atom-root, window-min-size)
4837 (window-sizable, window-sizable-p, window-size-fixed-p)
4838 (window-min-delta, window-max-delta, window-resizable)
4839 (window-resizable-p, window-full-height-p, window-full-width-p)
4840 (window-current-scroll-bars, window-point-1, set-window-point-1)
4841 (window-at-side-p, window-in-direction, window-resize)
4842 (adjust-window-trailing-edge, maximize-window, minimize-window)
4843 (window-deletable-p, delete-window, delete-other-windows)
4844 (record-window-buffer, unrecord-window-buffer)
4845 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4846 (quit-window, split-window, window-state-put)
4847 (set-window-text-height, fit-window-to-buffer)
4848 (shrink-window-if-larger-than-buffer): Callers changed.
4850 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4852 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4853 rfc2047-decode-string.
4854 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4857 * window.el (window-body-height, window-body-width): Mention in
4858 the doc string that the return values are in frame's canonical
4861 2011-11-03 Alan Mackenzie <acm@muc.de>
4863 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4864 change in cc-engine.el.
4866 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4868 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4870 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4872 * window.el (quit-window): Call unrecord-window-buffer after
4873 showing another buffer in the window. (Bug#9937)
4874 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4876 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4878 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4879 Accept status with more than 9 shelves. (Bug#9935)
4880 Reported by Colin D Bennett <colin@gibibit.com>.
4882 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4884 * help.el (with-help-window): Don't reference
4885 temp-buffer-show-specifiers in doc-string.
4887 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4889 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4892 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4894 * whitespace.el: New version 13.2.2.
4895 (whitespace-newline-mode): Disable properly. Reported by Sarah
4898 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4900 * net/newst-treeview.el: Remove "Time-stamp".
4901 (newsticker--group-manage-orphan-feeds): Do not call
4902 newsticker--treeview-tree-update.
4903 (newsticker-treeview-update, newsticker-treeview):
4904 Call newsticker--treeview-tree-update if necessary.
4906 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4908 * window.el (window-iso-combination-p, window-iso-combined-p)
4909 (window-iso-combinations): Remove "iso-" infix.
4910 Suggested by Chong Yidong.
4911 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4912 (window-max-delta-1, window-resize, window--resize-siblings)
4913 (window--resize-this-window, adjust-window-trailing-edge)
4914 (split-window, balance-windows-1)
4915 (shrink-window-if-larger-than-buffer):
4916 * calendar/calendar.el (calendar-generate-window):
4917 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4919 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4921 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4922 in place (bug#9907).
4923 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4924 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4925 (eshell-structure-basic-command, eshell-rewrite-while-command)
4926 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4927 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4928 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4929 (eshell-do-pipelines-synchronously, eshell-eval-command):
4930 Use backquotes and prefer setq to set.
4931 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4932 (eshell-macrop): Use functionp.
4933 (eshell-do-eval): Handle multiple expressions in `while' body.
4935 2011-10-30 Chong Yidong <cyd@gnu.org>
4937 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4938 instead of set-mark (Bug#9810).
4940 2011-10-30 Chong Yidong <cyd@gnu.org>
4942 * window.el (split-window-below, split-window-right): Rename from
4943 split-window-above-each-other and split-window-side-by-side
4944 respectively. All callers changed.
4945 (split-window-sensibly, split-window-sensibly): Use them.
4946 (split-window-keep-point): Doc fix.
4948 * isearch.el: Add isearch-scroll property to split-window-below
4949 and split-window-right.
4951 * follow.el (follow-mode):
4952 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4953 * progmodes/ada-xref.el (ada-gdb-application):
4954 * emulation/vip.el (vip-buffer-in-two-windows):
4955 * image-dired.el (image-dired-dired-with-window-configuration):
4956 * dired-x.el (dired-do-find-marked-files):
4957 * dired.el (dired-pop-to-buffer):
4958 * bs.el (bs--show-with-configuration):
4959 * vc/emerge.el (emerge-setup-windows):
4960 * textmodes/two-column.el (2C-two-columns):
4961 * textmodes/reftex-toc.el (reftex-toc):
4962 * progmodes/gdb-mi.el (gdb-setup-windows):
4963 * progmodes/fortran.el (fortran-window-create):
4964 * net/newst-treeview.el (newsticker--treeview-window-init):
4965 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4966 * emulation/tpu-edt.el (tpu-gold-map):
4967 * emulation/crisp.el (crisp-mode-map):
4968 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4970 2011-10-29 Chong Yidong <cyd@gnu.org>
4972 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4974 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4976 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4977 forged Ispell output (Bug#7904).
4979 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4981 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * doc-view.el: Avoid ugly errors about not finding nil.
4984 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4985 (doc-view-dvipdf-program, doc-view-unoconv-program)
4986 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4987 Avoid nil or absolute file name as default value.
4988 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4990 2011-10-28 Alan Mackenzie <acm@muc.de>
4992 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4994 2011-10-28 Alan Mackenzie <acm@muc.de>
4996 Amend the handling of c-beginning/end-of-defun in nested declaration
4999 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5000 cc-langs.el. Change it to a defcustom.
5002 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5005 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5006 Prevent "class foo : bar" being spuriously recognized as a label.
5008 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5009 Add parameter `inclusive' (to include enclosing braces in the region).
5010 (c-widen-to-enclosing-decl-scope): New function.
5011 (c-while-widening-to-decl-block): New macro.
5012 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5013 outward for defun boundaries, and correspondingly change symbol
5014 `respect-enclosure' to `go-outward'.
5015 (c-declaration-limits): Change algorithm to report only the "innermost"
5018 2011-10-28 Deniz Dogan <deniz@dogan.se>
5020 * net/rcirc.el (rcirc-mode): Use hard newlines.
5022 2011-10-28 Alan Mackenzie <acm@muc.de>
5024 Amend to indent and fontify macros "which include their own semicolon"
5025 correctly, using the "virtual semicolon" mechanism.
5027 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5029 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5030 Recode to scan one line at a time rather than having \n and \r
5031 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5032 (c-forward-label): Amend for virtual semicolons.
5033 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5035 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5036 of the new C macros.
5038 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5039 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5040 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5041 (c-opt-cpp-macro-define): Make into a full language variable.
5042 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5043 AWK Mode (including \n, \r) removed, no longer needed.
5045 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5046 Invoke c-make-macro-with-semi-re.
5048 * progmodes/cc-vars.el (c-macro-with-semi-re):
5049 (c-macro-names-with-semicolon): New variables.
5050 (c-make-macro-with-semi-re): New function.
5052 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * vc/log-edit.el: Fill empty field rather than adding new one.
5055 (log-edit-add-field): New function.
5056 (log-edit-insert-changelog): Use it.
5058 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5060 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5062 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5065 (gdb--check-interpreter): New function.
5068 2011-10-27 Glenn Morris <rgm@gnu.org>
5070 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5071 (least-positive-float, least-negative-float)
5072 (least-positive-normalized-float, least-negative-normalized-float)
5073 (float-epsilon, float-negative-epsilon):
5074 Remove unnecessary declarations.
5076 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5077 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5078 (least-positive-float, least-negative-float)
5079 (least-positive-normalized-float, least-negative-normalized-float)
5080 (float-epsilon, float-negative-epsilon): Add doc-strings,
5081 based on those in cl.texi.
5083 * files.el (set-visited-file-name): If the major-mode changed,
5084 reload the local variables. (Bug#9796)
5086 2011-10-27 Chong Yidong <cyd@gnu.org>
5088 * subr.el (change-major-mode-after-body-hook): New hook.
5089 (run-mode-hooks): Run it.
5091 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5092 Use change-major-mode-before-body-hook.
5094 * simple.el (fundamental-mode):
5095 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5096 change introducing fundamental-mode-hook.
5098 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5100 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5102 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5104 * ido.el (ido-file-name-all-completions-1): Do not require
5105 tramp.el explicitly. (Bug#7583)
5107 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * progmodes/octave-mod.el:
5110 * progmodes/octave-inf.el: Update maintainer.
5112 2011-10-26 Chong Yidong <cyd@gnu.org>
5114 * subr.el (with-wrapper-hook): Rewrite doc.
5116 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5118 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5119 filenames "/method:foo:". (Bug#9793)
5121 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5123 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5126 2011-10-24 Glenn Morris <rgm@gnu.org>
5128 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5130 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5132 * notifications.el: Add the requirement of a running D-Bus session
5133 bus to the Commentary.
5135 2011-10-24 Juri Linkov <juri@jurta.org>
5137 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5138 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5141 2011-10-24 Juri Linkov <juri@jurta.org>
5143 * info.el (Info-following-node-name-re): Add newline to the list
5144 of allowed characters for leading space. (Bug#9824)
5146 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5148 * progmodes/octave-inf.el (inferior-octave-mode-map):
5149 Fix C-c C-h binding.
5150 * progmodes/octave-mod.el (octave-help): Remove.
5152 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5154 Sync with Tramp 2.2.3.
5156 * net/tramp-cache.el (top): Pacify byte-compiler using
5157 `init-file-user' and `site-run-file'.
5159 * net/trampver.el: Update release number.
5161 2011-10-23 Chong Yidong <cyd@gnu.org>
5163 * files.el (toggle-read-only): Remove obsolete comment about
5166 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5167 for toggle-read-only. Note that this hasn't called vc-next-action
5168 since 2008-05-02, though it wasn't documented at the time.
5170 * vc/ediff-init.el (ediff-toggle-read-only-function):
5171 Use toggle-read-only.
5173 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5175 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5178 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5179 correct faulty logical expression.
5180 (c-parse-state-state, c-record-parse-state-state):
5181 (c-replay-parse-state-state): New defvar/defuns.
5182 (c-debug-parse-state): Use new functions.
5184 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5186 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5187 last fix. Use window-in-direction correctly.
5189 2011-10-21 Chong Yidong <cyd@gnu.org>
5191 * progmodes/idlwave.el (idlwave-mode):
5192 * progmodes/vera-mode.el (vera-mode): No need to set
5193 require-final-newline; that's done in prog-mode.
5194 Suggested by Stefan Monnier.
5196 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5198 * mouse.el (mouse-drag-window-above)
5199 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5200 (mouse-drag-mode-line-1, mouse-drag-header-line)
5201 (mouse-drag-vertical-line-rightward-window): Remove.
5202 (mouse-drag-line): New function.
5203 (mouse-drag-mode-line, mouse-drag-header-line)
5204 (mouse-drag-vertical-line): Call mouse-drag-line.
5205 * window.el (window-at-side-p, windows-at-side): New functions.
5207 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5209 * tar-mode.el (tar-grind-file-mode):
5210 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5212 2011-10-21 Chong Yidong <cyd@gnu.org>
5214 * progmodes/idlwave.el (idlwave-mode):
5215 * progmodes/vera-mode.el (vera-mode):
5216 Use mode-require-final-newline.
5218 2011-10-20 Glenn Morris <rgm@gnu.org>
5220 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5222 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5224 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5226 2011-10-20 Chong Yidong <cyd@gnu.org>
5228 * emulation/cua-base.el (cua-mode):
5229 * mail/footnote.el (footnote-mode):
5230 * mail/mailabbrev.el (mail-abbrevs-mode):
5231 * net/xesam.el (xesam-minor-mode):
5232 * progmodes/bug-reference.el (bug-reference-mode):
5233 * progmodes/cap-words.el (capitalized-words-mode):
5234 * progmodes/compile.el (compilation-minor-mode)
5235 (compilation-shell-minor-mode):
5236 * progmodes/gud.el (gud-tooltip-mode):
5237 * progmodes/hideif.el (hide-ifdef-mode):
5238 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5239 * progmodes/subword.el (subword-mode):
5240 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5241 * progmodes/which-func.el (which-function-mode):
5242 * term/tvi970.el (tvi970-set-keypad-mode):
5243 * term/vt100.el (vt100-wide-mode):
5244 * textmodes/flyspell.el (flyspell-mode):
5245 * textmodes/ispell.el (ispell-minor-mode):
5246 * textmodes/nroff-mode.el (nroff-electric-mode):
5247 * textmodes/paragraphs.el (use-hard-newlines):
5248 * textmodes/refill.el (refill-mode):
5249 * textmodes/reftex.el (reftex-mode):
5250 * textmodes/rst.el (rst-minor-mode):
5251 * textmodes/sgml-mode.el (html-autoview-mode)
5252 (sgml-electric-tag-pair-mode):
5253 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5254 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5255 * emulation/crisp.el (crisp-mode):
5256 * emacs-lisp/eldoc.el (eldoc-mode):
5257 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5258 minor mode behavior.
5260 2011-10-19 Juri Linkov <juri@jurta.org>
5262 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5263 the list of hard-coded chars with escape-glyph face.
5265 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5269 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5271 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5274 2011-10-19 Glenn Morris <rgm@gnu.org>
5276 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5277 Ignore ignored files. (Bug#9726)
5279 2011-10-19 Chong Yidong <cyd@gnu.org>
5281 Doc fix for minor modes, stating that an omitted argument enables
5282 the mode unconditionally when called from Lisp.
5284 * abbrev.el (abbrev-mode):
5285 * allout.el (allout-mode):
5286 * autoinsert.el (auto-insert-mode):
5287 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5288 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5289 (global-auto-revert-mode):
5290 * battery.el (display-battery-mode):
5291 * composite.el (global-auto-composition-mode)
5292 (auto-composition-mode):
5293 * delsel.el (delete-selection-mode):
5294 * desktop.el (desktop-save-mode):
5295 * dired-x.el (dired-omit-mode):
5296 * dirtrack.el (dirtrack-mode):
5297 * doc-view.el (doc-view-minor-mode):
5298 * double.el (double-mode):
5299 * electric.el (electric-indent-mode, electric-pair-mode):
5300 * emacs-lock.el (emacs-lock-mode):
5301 * epa-hook.el (auto-encryption-mode):
5302 * follow.el (follow-mode):
5303 * font-core.el (font-lock-mode):
5304 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5305 * help.el (temp-buffer-resize-mode):
5306 * hilit-chg.el (highlight-changes-mode)
5307 (highlight-changes-visible-mode):
5308 * hi-lock.el (hi-lock-mode):
5309 * hl-line.el (hl-line-mode, global-hl-line-mode):
5310 * icomplete.el (icomplete-mode):
5311 * ido.el (ido-everywhere):
5312 * image-file.el (auto-image-file-mode):
5313 * image-mode.el (image-minor-mode):
5314 * iswitchb.el (iswitchb-mode):
5315 * jka-cmpr-hook.el (auto-compression-mode):
5316 * linum.el (linum-mode):
5317 * longlines.el (longlines-mode):
5318 * master.el (master-mode):
5319 * mb-depth.el (minibuffer-depth-indicate-mode):
5320 * menu-bar.el (menu-bar-mode):
5321 * minibuf-eldef.el (minibuffer-electric-default-mode):
5322 * mouse-sel.el (mouse-sel-mode):
5323 * msb.el (msb-mode):
5324 * mwheel.el (mouse-wheel-mode):
5325 * outline.el (outline-minor-mode):
5326 * paren.el (show-paren-mode):
5327 * recentf.el (recentf-mode):
5328 * reveal.el (reveal-mode, global-reveal-mode):
5329 * rfn-eshadow.el (file-name-shadow-mode):
5330 * ruler-mode.el (ruler-mode):
5331 * savehist.el (savehist-mode):
5332 * scroll-all.el (scroll-all-mode):
5333 * scroll-bar.el (scroll-bar-mode):
5334 * server.el (server-mode):
5335 * shell.el (shell-dirtrack-mode):
5336 * simple.el (auto-fill-mode, transient-mark-mode)
5337 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5338 (line-number-mode, column-number-mode, size-indication-mode)
5339 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5340 * strokes.el (strokes-mode):
5341 * time.el (display-time-mode):
5342 * t-mouse.el (gpm-mouse-mode):
5343 * tool-bar.el (tool-bar-mode):
5344 * tooltip.el (tooltip-mode):
5345 * type-break.el (type-break-mode-line-message-mode)
5346 (type-break-query-mode):
5347 * view.el (view-mode):
5348 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5349 (global-whitespace-mode, global-whitespace-newline-mode):
5350 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5352 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5353 Fix autogenerated docstring.
5355 2011-10-19 Juri Linkov <juri@jurta.org>
5357 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5358 by checking environment variables "DESKTOP_SESSION" and
5359 "XDG_CURRENT_DESKTOP". (Bug#9779)
5361 2011-10-19 Juri Linkov <juri@jurta.org>
5363 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5364 (browse-url-chromium-program, browse-url-chromium-arguments):
5366 (browse-url-default-browser): Check for `browse-url-chromium' and
5367 call `browse-url-chromium-program'.
5368 (browse-url-chromium): New command. (Bug#9779)
5370 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5372 * facemenu.el (list-colors-duplicates): On Windows, detect more
5373 duplicates by assuming that only colors matching "^System" are
5374 special "system colors". (Bug#9722)
5376 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5379 to distinguish the author from the committer.
5381 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5383 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5385 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5387 * international/mule.el (sgml-html-meta-auto-coding-function):
5388 Add support for detecting encoding in HTML5 specified only as
5389 <meta charset="UTF-8">. Implementation just makes http-equiv and
5390 content-type parts from HTML4 encoding string optional. (Bug#9716)
5392 2011-10-18 Glenn Morris <rgm@gnu.org>
5394 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5396 2011-10-18 Chong Yidong <cyd@gnu.org>
5398 * faces.el (cursor): Doc fix.
5400 2011-10-17 Chong Yidong <cyd@gnu.org>
5402 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5404 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5406 * dirtrack.el (dirtrack): Support shell buffers with path
5407 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5409 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5411 * json.el: Bump version to 1.3 and note change in History.
5412 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5414 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * comint.el (comint-insert-input, comint-send-input)
5417 (comint-get-old-input-default, comint-backward-matching-input)
5418 (comint-next-prompt): Use nil instead of `input' for field property of
5419 past user input (bug#114).
5421 * minibuffer.el (completion--replace): Inherit surrounding properties
5423 (minibuffer-complete-and-exit): Use it.
5425 * comint.el (comint--table-subvert): Quote the all-completions output
5428 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5430 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5432 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5433 window on right of selected. (Bug#9350) Reword other window
5434 entries and separate them from frame entries.
5436 2011-10-15 Glenn Morris <rgm@gnu.org>
5438 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5441 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5443 * net/network-stream.el (network-stream-open-starttls):
5444 Improve detection of failure due to lack of TLS support.
5446 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5447 putting the input text in front and in bold.
5449 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5451 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5453 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5456 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5457 unread-command-events rather than pushing yet-another event.
5459 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5461 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5462 the explanation of the possible choices. Make the options passed
5463 to completing-read shorter.
5465 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5467 * textmodes/flyspell.el (flyspell-large-region): Make sure
5468 extended character mode is used if defined (Bug#1339).
5470 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5472 * simple.el (what-cursor-position): Fix the display of the
5473 character info for LRE, LRO, RLE, and RLO characters by appending
5476 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5479 even in case of error; add debug spec; simplify data flow.
5480 (with-timeout-handler): Remove.
5482 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5484 Fix Bug#6019, Bug#9315.
5486 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5487 complete `buffer-file-name', the local file name part could look
5488 remotely (for example on VMS).
5490 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5491 `tramp-run-real-handler'.
5492 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5493 already quoted by '"'.
5495 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5496 Let `file-name-handler-alist' be nil, the local file name part
5497 could look remotely (for example on VMS).
5499 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5503 (flyspell-post-command-hook): ...to here.
5505 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5509 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5510 using completion. Protect against "slow" callers.
5511 Remove the "message hack".
5513 2011-10-11 Juri Linkov <juri@jurta.org>
5515 * isearch.el (isearch-lazy-highlight-word): New variable.
5516 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5519 2011-10-11 Glenn Morris <rgm@gnu.org>
5521 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5522 like f90-previous-statement does.
5524 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5526 * eshell/eshell.el (eshell-command): History should be saved
5527 only in interactive use, to avoid error.
5529 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * minibuffer.el (completion-file-name-table): Fix last change,
5532 i.e. ignore normal errors but not the other ones.
5534 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5536 * window.el (special-display-buffer-names)
5537 (special-display-regexps): Remove some remnants of earlier
5538 changes from doc-strings.
5539 (quit-windows-on): New function.
5541 * vc/vc.el (vc-revert, vc-rollback):
5542 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5543 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5544 (Bug#6183) (Bug#7074) (Bug#7447)
5546 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5548 * window.el (frame-auto-hide-function): Add version tag.
5551 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5553 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5556 2011-10-09 Leo Liu <sdl.web@gmail.com>
5558 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5561 2011-10-08 Glenn Morris <rgm@gnu.org>
5563 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5564 before the first code statement zero indent. (Bug#9690)
5566 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5568 * simple.el (count-words-region): Always count in the region.
5569 Report the number of lines and characters too.
5570 (count-words): New command, which counts in the buffer if the
5571 region is inactive, as count-words-region used to.
5572 (count-words--message): New function. Handle plurals.
5573 (count-lines-region): Make it an alias for count-words-region.
5575 * bindings.el (esc-map): Replace count-lines-region with
5578 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5580 * window.el (window--delete): Delete dedicated frame
5581 unconditionally when argument KILL is non-nil. (Bug#9699)
5582 (switch-to-buffer): Fix doc-string typo.
5584 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5586 * eshell/eshell.el (eshell-command): Avoid using hooks.
5588 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5590 * bindings.el ([M-left],[M-right]): Bind to left-word and
5591 right-word respectively.
5593 2011-10-07 Glenn Morris <rgm@gnu.org>
5595 * cus-start.el (debug-on-quit): Fix custom type.
5597 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599 * subr.el (define-key-after): Clarify that the function is not
5600 useful for non-menu keymaps.
5602 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5604 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5606 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5607 in current minibuffer (Fix bug with recursive minibuffers).
5609 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5611 * progmodes/gdb-mi.el (gdb): Doc fix.
5613 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5615 * window.el (frame-auto-hide-function): New option replacing
5616 frame-auto-delete. Suggested by Stefan Monnier.
5617 (window--delete): Call frame-auto-hide-function instead of
5618 investigating frame-auto-delete.
5619 (window-point-1, set-window-point-1): New functions.
5620 (window-in-direction, record-window-buffer, window-state-get-1)
5621 (display-buffer-record-window): Use window-point-1 instead of
5623 (set-window-buffer-start-and-point): Use set-window-point-1.
5625 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5627 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5629 2011-10-05 Glenn Morris <rgm@gnu.org>
5631 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5632 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5634 2011-10-05 Leo Liu <sdl.web@gmail.com>
5636 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5637 works with buffer object.
5639 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * mpc.el (mpc-tool-bar-map): Add labels.
5643 2011-10-04 Glenn Morris <rgm@gnu.org>
5645 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5647 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5649 * window.el (window--delete): New function.
5650 (frame-auto-delete): Resuscitate option.
5651 (bury-buffer, replace-buffer-in-windows)
5652 (quit-window): Rewrite using window--delete.
5653 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5654 Pass display-buffer-mark-dedicated to window--display-buffer-2
5657 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5660 returns a list (bug#9554). Add remote file name completion.
5661 * comint.el (comint--table-subvert): Curry and get quote&unquote
5662 functions as arguments.
5663 (comint--complete-file-name-data): Adjust call accordingly.
5664 * pcomplete.el (pcomplete--table-subvert): Remove.
5665 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5667 * minibuffer.el (completion-table-case-fold): Use currying.
5668 (completion--styles-type, completion--cycling-threshold-type):
5670 (completion-styles, completion-category-overrides)
5671 (completion-cycle-threshold): Use them.
5672 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5673 completion-table-case-fold.
5675 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5677 * minibuffer.el (completion-category-overrides): Fix type of styles
5678 and add more user friendly tags (bug#9660).
5680 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5683 (mule-input-method-string): New widget.
5684 (default-input-method, language-info-custom-alist): Use it.
5686 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5688 * pcomplete.el: Require comint.
5689 (pcomplete--common-suffix): Remove.
5690 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5691 (pcomplete--table-subvert): Sync with comint--table-subvert.
5692 (pcomplete--entries): Use comint-completion-file-name-table.
5693 * comint.el (comint-unquote-filename): Simplify.
5694 (comint-completion-file-name-table): New function (bug#9616).
5695 (comint--complete-file-name-data): Use it.
5697 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5698 (pcmpl-gnu-tar-buffer): Remove.
5699 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5700 around. Make sure pcomplete-suffix-list is only changed temporarily.
5701 Don't look inside the tar's file if it's too large.
5703 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5705 * cus-edit.el (custom-mode-map):
5706 * epa.el (epa-key-list-mode-map):
5707 * man.el (Man-mode-map):
5708 * startup.el (splash-screen-keymap):
5709 * simple.el (special-mode-map): Use scroll-up-command and
5710 scroll-down-command.
5712 * progmodes/idlw-help.el (idlwave-help-mode-map):
5713 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5714 * net/newst-plainview.el (newsticker-mode-map):
5715 * emulation/ws-mode.el (wordstar-mode-map):
5716 * emulation/vi.el (vi-com-map):
5717 * calc/calc-graph.el (calc-graph-show-dumb):
5718 * term/sun.el (terminal-init-sun):
5719 * term/ns-win.el (global-map):
5720 * progmodes/grep.el (grep-mode-map):
5721 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5722 * mail/rmail.el (rmail-mode-map):
5723 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5725 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5726 custom-safe-themes as special.
5728 2011-10-01 Julien Danjou <julien@danjou.info>
5730 * notifications.el (notifications-notify): Fix docstring.
5732 2011-10-01 Per Starbäck <per@starback.se>
5734 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5736 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5738 * startup.el (command-line-1): Fix last fix by inserting
5739 initial-scratch-message into *scratch* before displaying it.
5740 (Bug#9605) and (Bug#9636)
5742 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5744 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5745 window is hscrolled, move by logical lines. (Bug#9607)
5746 (line-move-visual): Update the doc string to the above effect.
5748 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5750 * window.el (display-buffer-record-window): When WINDOW is the
5751 selected window use `point' instead of `window-point'. (Bug#9626)
5753 * startup.el (command-line-1): Use insert-before-markers when
5754 inserting initial-scratch-message. (Bug#9605)
5756 * help.el (help-window): Remove variable.
5758 2011-09-29 Glenn Morris <rgm@gnu.org>
5760 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5762 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5764 * descr-text.el (describe-char-categories): Accept category
5765 descriptions more than one line long.
5767 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5769 * simple.el (delete-trailing-whitespace): Fix last change.
5771 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5772 Don't confuse "y => 3" as the beginning of a `y' operation.
5774 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5775 object has more than 4 slots (bug#9613).
5777 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5779 * subr.el (with-output-to-temp-buffer):
5780 * net/quickurl.el (quickurl, quickurl-browse-url):
5781 Fix typos in docstrings.
5783 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5785 * minibuffer.el (completion-styles)
5786 (completion-category-overrides): Cross reference each other in doc
5789 2011-09-27 Glenn Morris <rgm@gnu.org>
5791 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5792 to split-string. (Bug#9606)
5794 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5799 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5801 * emacs-lisp/package.el (list-packages): Fix echo area message.
5803 2011-09-27 Leo Liu <sdl.web@gmail.com>
5805 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5807 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5809 * net/dbus.el (dbus-unregister-object): Don't release services for
5810 registered signals. (Bug#9581)
5812 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5814 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5815 function that picks between cfengine 2 and 3 support
5816 automatically. Update docs accordingly.
5818 2011-09-22 Kenichi Handa <handa@m17n.org>
5820 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5822 (indian-itrans-v5-table-for-tamil): New variable.
5823 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5825 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5827 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5828 that's true if the current command involved collapsing of text.
5829 It's reset to false at the beginning of the next command.
5830 (allout-post-command-business): Move the cursor to the beginning
5831 of entry if the cursor is hidden and collapsing activity just
5834 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5836 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5837 tracking (Bug#9541).
5839 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5841 * net/newst-reader.el (newsticker-html-renderer)
5842 (newsticker-show-news): Automatically load html rendering package
5843 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5844 because w3m-fill-column is let-bound" and the error "Symbol's value
5845 as variable is void: w3m-fill-column".
5847 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5849 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5850 Release services only if they are defined. (Bug#9581)
5852 2011-09-23 Richard Stallman <rms@gnu.org>
5854 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5855 distinguish start of paragraph from start of its text.
5857 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5859 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5860 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5861 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5863 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5865 * international/mule-diag.el (mule-diag): Insert a newline after
5866 each fontset description.
5868 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * simple.el (delete-trailing-whitespace):
5871 Document last change; simplify.
5873 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5875 * simple.el (delete-trailing-whitespace): Also delete
5876 extra newlines at the end of the buffer.
5878 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5879 (picture-newline): Use forward-line so as to ignore fields.
5881 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * subr.el (with-wrapper-hook): Fix edebug spec.
5885 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5887 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5890 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5892 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5893 Fix nasty bug using wrong cached values.
5895 2011-09-23 Alan Mackenzie <acm@muc.de>
5897 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5899 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5901 * window.el (pop-to-buffer): Ensure right window is selected if we
5902 chose another frame.
5904 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5906 * simple.el (what-cursor-position): Use get-char-property-change
5907 and next-single-char-property-change, to be able to show display
5908 properties that come from overlays as well as text properties.
5910 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5912 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5914 * cmuscheme.el (run-scheme, switch-to-scheme):
5915 * cus-edit.el (customize-group, custom-buffer-create)
5919 * mail/sendmail.el (mail):
5920 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5922 2011-09-22 Richard Stallman <rms@gnu.org>
5924 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5925 move back only to line beg, don't move back over blank lines.
5927 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5929 * files.el (copy-directory): Set directory attributes only in case
5930 they could be retrieved from the source directory. (Bug#9565)
5932 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5934 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5935 (hs-find-block-beginning, hs-hide-level-recursive):
5936 Ignore strings as well as comments. (Bug#9502)
5938 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5940 * progmodes/sql.el (sql-comint-postgres):
5941 Convert port number to a string. (Bug#9566)
5943 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5945 * window.el (quit-window): Undedicate window when switching to
5946 previous buffer. Reported by Thierry Volpiatto
5947 <thierry.volpiatto@gmail.com>.
5948 (special-display-popup-frame): When popping up a new frame reset
5949 its previous buffers to nil. Simplify code.
5951 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5953 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5954 and process filter, as done also in `shell-command'.
5956 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5958 * window.el (set-window-buffer-start-and-point):
5959 Call set-window-start with NOFORCE argument t.
5960 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5961 (quit-window): Reword doc-string. Handle new format of
5962 quit-restore parameter. Don't delete window if it has a
5963 previous buffer we can show instead of the present one.
5964 (display-buffer-record-window): Rewrite using a new format for
5965 the quit-restore window parameter
5966 (special-display-popup-frame, display-buffer-same-window)
5967 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5968 (display-buffer-pop-up-window, display-buffer-use-some-window):
5969 Adapt symbol passed to display-buffer-record-window.
5970 * help.el (help-window-setup): Handle new format of quit-restore
5973 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5975 * faces.el (face-list): Fix docstring (bug#9564).
5977 * window.el (display-buffer--action-function-custom-type):
5978 Don't include internal functions in the Custom interface.
5980 2011-09-20 Juri Linkov <juri@jurta.org>
5982 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5983 (Info-forward-node, Info-backward-node, Info-next-preorder)
5984 (Info-last-preorder): Use it. (Bug#9528)
5986 2011-09-20 Juri Linkov <juri@jurta.org>
5988 * info.el (Info-last-preorder): Visit last menu item only when
5989 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5991 2011-09-20 Julien Danjou <julien@danjou.info>
5993 * password-cache.el (password-cache-remove): Remove entries even if the
5994 value is nil, so that password with a nil value (negative caching) is
5995 possible to invalidate.
5997 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5999 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6000 all whitespace around breakpoint. (Bug#9553)
6001 (f90-find-breakpoint): Only break at whitespace inside a comment.
6003 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6005 * minibuffer.el (completion-file-name-table): Keep track of errors.
6006 (completion-table-with-predicate): Handle the case where pred1 is nil.
6007 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6009 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6012 (debugger-return-value): Signal an error if the debugging context does
6013 not await any return value.
6015 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6016 * image-mode.el (image-toggle-display-text)
6017 (image-toggle-display-image): Stay away from evil `intangible'.
6019 2011-09-19 Leo Liu <sdl.web@gmail.com>
6021 * replace.el (occur-revert-arguments): Make it permanent-local.
6022 (occur-mode): Don't call font-lock-defontify.
6024 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6026 * net/ldap.el (ldap-search-internal): Don't push empty search
6029 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6033 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6035 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6036 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6038 2011-09-18 Juri Linkov <juri@jurta.org>
6040 * buff-menu.el (Buffer-menu-mode-map):
6041 * dired.el (dired-mode-map):
6042 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6043 (lisp-interaction-mode-map):
6044 * emacs-lisp/package.el (package-menu-mode-map):
6045 * epa.el (epa-key-list-mode-map):
6046 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6047 (menu-bar-options-menu):
6048 * outline.el (outline-mode-menu-bar-map):
6049 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6050 * vc/vc-dir.el (vc-dir-menu-map):
6051 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6052 Capitalize non-function content words in menu item strings.
6054 * dired.el (dired-mode-map): Add menu item for
6055 `image-dired-dired-toggle-marked-thumbs'.
6057 2011-09-18 Juri Linkov <juri@jurta.org>
6059 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6060 to `isearch-case-fold-search' and restore its original value
6061 after the `isearch-mode' call.
6063 2011-09-18 Juri Linkov <juri@jurta.org>
6065 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6066 because `zgrep' returns 1 for successful matches (bug#9226).
6068 2011-09-18 Juri Linkov <juri@jurta.org>
6070 * info.el (Info-extract-menu-node-name): Check the second match
6071 for empty string (second test-case of bug#9528).
6072 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6073 intermediate nodes to the history (first test-case of bug#9528).
6075 2011-09-18 Juri Linkov <juri@jurta.org>
6077 * info.el (Info-mode-syntax-table): New variable.
6078 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6080 2011-09-18 Juri Linkov <juri@jurta.org>
6082 * info.el (Info-file-supports-index-cookies):
6083 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6084 outputs one more line for long file names (bug#4142).
6086 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6088 * newcomment.el (comment-normalize-vars): If prompting for
6089 comment-start, set comment-start-skip too (Bug#8424).
6091 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6093 * icomplete.el: Fix previous fix of Bug#5849.
6094 (icomplete-mode): Don't set completion-show-inline-help.
6095 (icomplete-minibuffer-setup): Set completion-show-inline-help
6096 locally during icompletion.
6098 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6100 * woman.el (woman2-process-escapes): Don't delete unrecognized
6103 * files.el (inhibit-first-line-modes-regexps): Add image files.
6104 (hack-local-variables-prop-line): Return nil for malformed
6105 prop-lines (Bug#9044).
6107 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6109 * net/tramp.el (top): Don't require 'shell.
6110 (tramp-methods): Fix docstring.
6111 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6112 Return complete remote file name. Handle "smb" case.
6113 Use `tramp-tmpdir', if defined for the respective method.
6114 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6116 * net/tramp-compat.el (top): Require 'shell.
6118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6119 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6120 `tramp-current-host'.
6121 (tramp-get-remote-tmpdir): Remove.
6123 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6124 `tramp-tmpdir' entries.
6125 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6126 (tramp-smb-handle-file-attributes): Ignore errors.
6127 (tramp-smb-wait-for-output): Check also for process end.
6129 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6131 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6132 when sending QUIT (bug#9312).
6134 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6136 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6137 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6138 occur-mode-display-occurrence.
6139 (occur-edit-mode): Add usage message.
6140 (occur-cease-edit): New command.
6141 (occur-after-change-function): Use text properties to find the
6142 position of the prefix text.
6143 (occur-engine): Set stickiness of prefix text properties.
6145 2011-09-17 Glenn Morris <rgm@gnu.org>
6147 * progmodes/etags.el (complete-tag):
6148 Fix call to completion-in-region. (Bug#9526)
6150 2011-09-17 Juri Linkov <juri@jurta.org>
6152 * textmodes/ispell.el (ispell-word): Add to the error message
6153 the word, ispell program name and current dictionary (bug#9121).
6154 (ispell-tex-arg-end): Capitalize "error" in the error message.
6156 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6158 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6161 2011-09-17 Juri Linkov <juri@jurta.org>
6163 * window.el (window-safe-min-height, window-safe-min-width):
6164 Fix typos (followup to bug#9522).
6166 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6168 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6170 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6172 * simple.el (line-move): If goal-column is set, move by logical
6173 lines, not by display lines. (Bug#971)
6174 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6175 to reflect the above change.
6177 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * image.el (imagemagick-register-types): Use regexp-opt.
6181 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6183 * window.el (display-buffer-base-action): Rename from
6184 display-buffer-default-action. Make default value empty.
6185 (display-buffer-overriding-action): Convert to defvar.
6186 (display-buffer-fallback-action): New var.
6188 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6190 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6192 (package--add-to-archive-contents): If there is a duplicate entry
6193 with an older version, remove it.
6194 (package-menu-mark-delete, package-menu-mark-install)
6195 (package-menu-mark-unmark): Make unused args optional.
6196 (package-menu-mark-obsolete-for-deletion):
6197 Use package-menu-get-status instead of a regexp search.
6198 (package-menu-get-status): Use tabulated-list-entry.
6199 (package-menu-mark-upgrades): New command.
6200 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6201 (package-menu-execute): Do installation before deletion.
6202 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6203 instead of checking major-mode.
6204 (package-menu--find-upgrades): New function.
6206 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6208 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6209 passwords in the log buffer.
6210 (smtpmail-process-filter): Update the process marker so that the
6211 "broken by peer" status message is inserted in the right place.
6213 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6216 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6217 bibtex-completion-at-point-function.
6218 (bibtex-completion-at-point-function): Use them.
6220 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6222 * mpc.el (mpc-constraints-tag-lookup): New function.
6223 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6224 also to browser "album|playlist".
6226 2011-09-14 Juri Linkov <juri@jurta.org>
6228 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6229 (isearch-edit-string): Use length of `isearch-string' when
6230 `isearch-fail-pos' returns nil.
6231 (isearch-message): Remove duplicate code and call
6232 `isearch-fail-pos' with arg `t'.
6234 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6236 * replace.el (occur-mode-goto-occurrence): Don't force using other
6239 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6241 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6243 * window.el (display-buffer-window): Remove.
6244 (display-buffer-record-window): Use help-setup window parameter
6245 instead of variable display-buffer-window.
6246 (display-buffer-function, special-display-buffer-names)
6247 (special-display-function): Mention help-setup parameter instead
6248 of display-buffer-window in doc-string.
6249 * help.el (help-window-setup): New argument help-window.
6250 Use help-window-setup parameter instead of display-buffer-window.
6251 Reword some messages.
6252 (with-help-window): Pass window used for displaying the buffer
6253 to help-window-setup. Don't set display-buffer-window.
6255 2011-09-13 Glenn Morris <rgm@gnu.org>
6257 * emacs-lisp/debug.el (debugger-make-xrefs):
6258 Preserve point. (Bug#9462)
6260 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6262 * window.el (window-deletable-p): Use next-frame.
6264 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6266 * window.el (window-auto-delete): Remove.
6267 (window-deletable-p): Remove argument FORCE. Don't deal with
6268 dedication and previous buffers.
6269 (switch-to-prev-buffer): Don't delete window.
6270 (delete-windows-on): Delete a window's frame if and only if the
6271 window is dedicated.
6272 (replace-buffer-in-windows): Delete buffer's window or frame if
6273 and only if window is dedicated.
6274 (quit-window): Handle quit-restore as before last change.
6275 (bury-buffer): Delete window only if window-deletable-p returns t.
6277 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6279 * window.el (window-deletable-p): Never delete the last frame on a
6282 2011-09-13 Glenn Morris <rgm@gnu.org>
6284 * help.el (describe-key-briefly): Copy previous standard-output change.
6286 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6288 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6290 2011-09-13 Glenn Morris <rgm@gnu.org>
6292 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6293 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6295 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6297 * dired-aux.el (dired-mark-read-string): Don't return default
6298 value on empty input (Bug#9361).
6299 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6300 Omit initial minibuffer contents.
6301 (dired-do-chmod): Signal an error on empty input.
6302 (dired-mark-read-string): Don't return default on empty input.
6304 * files.el (file-modes-symbolic-to-number): Doc fix.
6306 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * international/mule-cmds.el (ucs-completions): Remove.
6309 (read-char-by-name): Use complete-with-action instead; add metadata.
6311 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6313 * window.el (display-buffer--action-function-custom-type)
6314 (display-buffer--action-custom-type): New vars.
6315 (display-buffer-alist, display-buffer-default-action)
6316 (display-buffer-overriding-action): Add defcustom types.
6318 * frame.el (delete-other-frames): Doc fix (Bug#276).
6320 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6322 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6324 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6326 Change modes that used same-window-* vars to use switch-to-buffer.
6328 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6329 Use switch-to-buffer.
6331 * cus-edit.el (customize-group, custom-buffer-create)
6332 (customize-browse, custom-buffer-create-other-window):
6333 Use switch-to-buffer or switch-to-buffer-other-window.
6335 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6336 (Info-prev, Info-up, Info-speedbar-goto-node)
6337 (info-display-manual): Use switch-to-buffer.
6338 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6340 * mail/sendmail.el (mail): Use switch-to-buffer.
6341 (mail-recover): Use switch-to-buffer-other-window.
6343 * cmuscheme.el (run-scheme, switch-to-scheme):
6346 * net/rlogin.el (rlogin):
6347 * net/telnet.el (telnet, rsh):
6348 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6350 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6352 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6354 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6356 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6357 so don't mention it (bug#9301).
6358 (dired-sort-toggle-or-edit): Clarify string further.
6360 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6361 match `x', `w32' and `ns', like the manual says (bug#9029).
6363 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6364 (process-kill-buffer-query-function): Mention the buffer name in
6367 * image-mode.el (image-next-line): The line parameter is mandatory
6370 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6371 which can be useful (bug#9301).
6373 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6375 * subr.el (match-string): Mention that the current buffer should
6376 be the same as the search was done in (bug#9282).
6378 * facemenu.el: Disable the remove-* commands if the mark isn't
6381 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6383 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6385 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6387 * replace.el (occur-mode-goto-occurrence)
6388 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6391 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6394 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6395 special-display and same-window variables.
6396 (mail-other-window): Use switch-to-buffer-other-window.
6397 (mail-other-frame): USe switch-to-buffer-other-frame.
6399 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6400 Use display-buffer-other-frame.
6401 (gdb-display-gdb-buffer): Use pop-to-buffer.
6403 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6405 * progmodes/python.el: Don't set same-window-buffer-names.
6407 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6409 * window.el (display-buffer-alist): Add *Python*.
6411 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6413 * window.el (display-buffer-alist): Add entry for buffers
6414 previously handled same-window-*.
6415 (display-buffer-alist, display-buffer-default-action)
6416 (display-buffer-overriding-action): Mark as risky.
6417 (display-buffer-alist): Document action function changes.
6418 (display-buffer--same-window-action)
6419 (display-buffer--other-frame-action): New variables.
6420 (switch-to-buffer, display-buffer-other-frame): Use them.
6421 (display-buffer): Rename reuse-frame entry to reusable-frames.
6422 (display-buffer-reuse-selected-window): Function deleted.
6423 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6424 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6425 (display-buffer-special): New function.
6426 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6427 display-buffer-reuse-or-pop-window. Split off special-display
6428 part into display-buffer-special.
6429 (display-buffer-use-some-window): Don't perform any special
6430 pop-up-frames handling.
6431 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6432 (display-buffer--maybe-same-window): Rename from
6433 display-buffer-maybe-same-window.
6435 * info.el: Don't set same-window-regexps.
6436 (info-setup): New function.
6437 (info-other-window, info): Call it.
6439 * cus-edit.el: Don't set same-window-regexps.
6440 (customize-group): New argument.
6441 (customize-group-other-window): Use it.
6442 (customize-face, customize-face-other-window): Likewise.
6443 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6447 * progmodes/gud.el: Don't set same-window-regexps.
6453 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6455 2011-09-10 Juri Linkov <juri@jurta.org>
6457 * isearch.el (isearch-edit-string): Remove obsolete mention of
6458 `C-w' (`isearch-yank-word-or-char') from docstring.
6459 (isearch-query-replace): Fix typo in docstring (bug#9466).
6461 2011-09-10 Juri Linkov <juri@jurta.org>
6463 * paren.el (show-paren-function): Don't show escaped parens.
6464 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6466 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6468 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6469 (mm-default-file-encoding): Remove autoload forms, they are
6470 replaced with autoload cookies in mml.el and mm-encode.el.
6471 (mail-add-attachment): New command.
6472 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6473 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6475 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6477 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6479 * simple.el (count-words-region): Use buffer if there's no region
6482 2011-09-09 Juri Linkov <juri@jurta.org>
6484 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6485 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6486 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6488 2011-09-09 Alan Mackenzie <acm@muc.de>
6490 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6491 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6493 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6495 Fix for Savannah bug#9392.
6496 * simple.el (mail-encode-mml): New defvar.
6498 * mail/rmail.el (mail-encode-mml): Add a defvar.
6499 (rmail-enable-mime-composing): Default to t.
6500 (rmail-forward): Use MIME method of forwarding only if both
6501 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6502 Set mail-encode-mml non-nil if the MIME method was used.
6504 * mail/sendmail.el (mml-to-mime): Add autoload form.
6505 (mail-encode-mml): Add a defvar.
6506 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6508 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6509 message through mml-to-mime, and reset mail-encode-mml to nil.
6511 2011-09-09 Glenn Morris <rgm@gnu.org>
6513 * woman.el (woman-if-body): When processing an .el block,
6514 do not delete the next .el block as well. (Bug#9447)
6515 (woman-special-characters): Add oq, cq, and hy characters.
6517 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6519 * window.el (window-deletable-p): Make sure window is live before
6520 invoking window-prev-buffers.
6522 2011-09-08 Leo Liu <sdl.web@gmail.com>
6524 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6526 2011-09-08 Juri Linkov <juri@jurta.org>
6528 * progmodes/compile.el (compilation-environment): Make it
6529 a defcustom (bug#8340).
6531 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6533 * window.el (frame-auto-delete): Rename to window-auto-delete.
6534 Make it control auto-deletion of windows and/or frames.
6535 (window-deletable-p): New argument FORCE. Rewrite conditions
6536 for deleting window/frame. (Bug#9419)
6537 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6538 Rewrite handling of case when window/frame can be deleted.
6539 (delete-windows-on): Call window-deletable-p with new FORCE
6540 argument t. (Bug#9456)
6542 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6544 * help-mode.el (help-mode): Restore autoload.
6546 2011-09-07 Juri Linkov <juri@jurta.org>
6548 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6549 `compilation-environment'. Set buffer-local
6550 `compilation-environment' to `thisenv' later after (funcall mode).
6553 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6554 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6555 instead of replacing its value. (Bug#8340)
6557 2011-09-07 Juri Linkov <juri@jurta.org>
6559 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6560 based on text properties put by `grep-filter' instead of matching
6562 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6563 to the value of `grep-error-screen-columns' (bug#9438).
6565 2011-09-07 Juri Linkov <juri@jurta.org>
6567 * simple.el (next-error-highlight, next-error-highlight-no-select):
6570 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6572 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6573 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6575 2011-09-07 Leo Liu <sdl.web@gmail.com>
6577 * net/rcirc.el (rcirc-mode): Conditionally initialize
6580 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6582 * emacs-lisp/find-func.el (find-function-C-source): Only set
6583 find-function-C-source-directory after checking that we found a source
6584 file there (bug#9440).
6586 2011-09-06 Alan Mackenzie <acm@muc.de>
6588 * isearch.el (isearch-other-meta-char): Wherever a key list is
6589 unread, "unread" the prefix arg, too. This fixes bug #8901.
6591 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6593 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6595 2011-09-05 Juri Linkov <juri@jurta.org>
6597 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6599 2011-09-05 Juri Linkov <juri@jurta.org>
6601 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6602 keeping point where processing of grep matches begins, and
6603 continue to delete remaining escape sequences from the same point.
6604 (grep-filter): Make leading zero optional in "0?1;31m" because
6605 git-grep emits "\033[1;31m" escape sequences unlike expected
6606 "\033[01;31m" as GNU Grep does (bug#9408).
6607 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6609 2011-09-05 Juri Linkov <juri@jurta.org>
6611 * subr.el (y-or-n-p): Capitalize "yes".
6613 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6615 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6616 `tramp-cache-unload-hook' where appropriate.
6617 (tramp-methods): Rename `tramp-remote-sh' to
6618 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6619 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6621 * net/tramp-sh.el (top): Don't require 'shell.
6622 (tramp-methods): Add `tramp-remote-shell' and
6623 `tramp-remote-shell-args' entries.
6624 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6625 (tramp-sh-handle-shell-command): Remove.
6626 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6627 Use `tramp-remote-shell'.
6629 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6631 * mail/sendmail.el (sendmail-query-once-function): Delete.
6632 (sendmail-query-once): Save directly to send-mail-function.
6633 Update message-send-mail-function too.
6635 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6637 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6639 * progmodes/python.el (python-mode-map): Use correct function to
6640 start python interpreter from menu-bar (as reported by Geert
6642 (inferior-python-mode-map): Fix typo.
6643 (python-shell-map): Remove.
6645 2011-09-03 Deniz Dogan <deniz@dogan.se>
6647 * net/rcirc.el (rcirc-print): Simplify code for
6648 rcirc-scroll-show-maximum-output. There is no need to walk
6649 through all windows to find the right one.
6651 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6653 * help.el (help-return-method): Doc fix.
6655 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6657 * window.el (window-deletable-p): Don't return a non-nil value
6658 when there's a buffer that was shown in the window before.
6660 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6661 Set window's previous buffers to nil.
6663 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6665 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6666 newline before and after the tag line, so it doesn't interfere
6667 with determining the paragraph direction of bidirectional text.
6669 2011-09-03 Leo Liu <sdl.web@gmail.com>
6671 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6673 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6675 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6676 (pop-to-buffer): Change interactive spec. Pass second argument
6677 directly to display-buffer.
6678 (display-buffer): Fix interactive spec. Use functionp to
6679 distinguish between a function and a list of functions.
6681 * abbrev.el (edit-abbrevs):
6682 * arc-mode.el (archive-extract):
6683 * autoinsert.el (auto-insert):
6684 * bookmark.el (bookmark-bmenu-list):
6685 * files.el (find-file):
6686 * view.el (view-buffer):
6687 * progmodes/compile.el (compilation-goto-locus):
6688 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6690 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6692 * window.el (display-buffer-alist): Doc fix.
6693 (display-buffer): Add docstring. Don't treat
6694 display-buffer-default specially.
6695 (display-buffer-reuse-selected-window)
6696 (display-buffer-same-window, display-buffer-maybe-same-window)
6697 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6698 (display-buffer-pop-up-window)
6699 (display-buffer-reuse-or-pop-window)
6700 (display-buffer-use-some-window): New functions.
6701 (display-buffer-default-action): Use them.
6702 (display-buffer-default): Delete.
6703 (pop-to-buffer-1): Fix choice of actions.
6705 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6707 * minibuffer.el (completion--insert-strings): Don't get confused by
6708 completion entries that end with an LF char.
6710 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6712 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6714 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6716 * window.el (display-buffer): Restore interactive spec.
6717 (display-buffer-same-window, display-buffer-other-window):
6719 (pop-to-buffer-1): New function. Use the above.
6720 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6721 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6723 * view.el (view-buffer-other-window, view-buffer-other-frame):
6724 Just use pop-to-buffer.
6726 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6728 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6730 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6732 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6734 2011-08-31 Richard Stallman <rms@gnu.org>
6736 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6737 of the separation of rmail-view-buffer from rmail-buffer.
6738 If you say no to "replace original", the decrypt is in the
6739 view buffer. If you say yes, the decrypt goes into the
6742 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6744 * window.el (display-buffer-window): Rewrite doc-string.
6745 (display-buffer-record-window): New function.
6746 (display-buffer-macro-specifiers)
6747 (display-buffer-even-window-sizes, display-buffer-set-height)
6748 (display-buffer-set-width, display-buffer-in-window)
6749 (display-buffer-reuse-window, display-buffer-split-specifiers)
6750 (display-buffer-side-specifiers, display-buffer-split-window-1)
6751 (display-buffer-split-window, display-buffer-split-atom-window)
6752 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6753 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6754 (display-buffer-other-window-means-other-frame)
6755 (display-buffer-normalize-special)
6756 (display-buffer-normalize-default)
6757 (display-buffer-normalize-argument)
6758 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6759 (display-buffer-normalize-specifiers, display-buffer-frame)
6760 (display-buffer-same-window, display-buffer-same-frame)
6761 (display-buffer-other-window)
6762 (display-buffer-same-frame-other-window)
6763 (display-buffer-other-frame, pop-to-buffer-same-window)
6764 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6765 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6766 (switch-to-buffer-same-frame)
6767 (switch-to-buffer-other-window-same-frame)
6768 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6769 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6770 (display-buffer-alist-set): Remove.
6771 (display-buffer-function, special-display-buffer-names)
6772 (special-display-regexps, special-display-function):
6773 In doc-string refer to display-buffer-window and quit-restore
6775 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6776 (special-display-frame-alist, special-display-popup-frame)
6777 (same-window-buffer-names, same-window-regexps, same-window-p)
6778 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6779 (split-window-preferred-function, split-height-threshold)
6780 (split-width-threshold, window-splittable-p)
6781 (split-window-sensibly, window--try-to-split-window)
6782 (window--frame-usable-p, even-window-heights)
6783 (window--even-window-heights, window--display-buffer-1)
6784 (window--display-buffer-2, display-buffer-other-frame):
6785 Restore old Emacs 23 code, order and doc-strings where applicable.
6786 (display-buffer-default, display-buffer-assq-regexp): New functions.
6787 (display-buffer-alist): Rewrite doc-string.
6788 (display-buffer-default-action)
6789 (display-buffer-overriding-action): New variables.
6790 (display-buffer, switch-to-buffer): Rewrite.
6791 (pop-to-buffer): Restore Emacs 23 behavior but use
6792 window-normalize-buffer-to-display.
6793 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6794 Restore Emacs 23 behavior but use
6795 window-normalize-buffer-to-switch-to.
6796 (pop-to-buffer-same-window): Rewrite.
6797 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6798 Rewrite using Emacs 23 options.
6800 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6802 * net/tramp.el (tramp-root-regexp): Remove.
6803 (tramp-completion-file-name-regexp-unified)
6804 (tramp-completion-file-name-regexp-separate)
6805 (tramp-completion-file-name-regexp-url): Don't use leading volume
6806 letter on win32 systems. (Bug#5303, Bug#9311)
6807 (tramp-drop-volume-letter): Simplify definition.
6808 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6810 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6815 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6817 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6819 2011-08-29 Juri Linkov <juri@jurta.org>
6821 * isearch.el (isearch-done): Don't display message "Mark saved"
6822 when arg `edit' is non-nil to prevent its flicker in the echo area.
6824 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6826 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6827 obsolete packages for deletion.
6829 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6831 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6832 (help-mode): Derive help-mode from special-mode. Don't invoke
6833 view-mode from help-mode.
6834 (help-xref-override-view-map): Remove.
6835 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6836 view-mode is not used anymore.
6838 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6840 * server.el (server-port): Doc fix.
6842 * cus-theme.el (custom-theme-choose-mode): Inherit from
6843 special-mode (Bug#9124).
6844 (custom-theme-choose-mode-map): Add special-mode to parent.
6846 2011-08-28 Alan Mackenzie <acm@muc.de>
6848 * progmodes/cc-fonts.el
6849 (c-make-font-lock-BO-decl-search-function): New function.
6850 (c-basic-matchers-after - "Fontify the clauses after various
6851 keywords"): Extract the three keyword lists for the 3 erroneous
6852 constructs from the list of four, and use the new function above
6853 in place of an old one.
6855 2011-08-28 Deniz Dogan <deniz@dogan.se>
6857 * net/rcirc.el (rcirc-insert-prev-input)
6858 (rcirc-insert-next-input): Remove unused argument.
6860 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6862 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6864 2011-08-27 Alan Mackenzie <acm@muc.de>
6866 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6867 handle function pointer parameters properly.
6869 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6871 * window.el (display-buffer-reuse-window): Fix case where
6872 selected window was reused with non-nil OTHER-WINDOW argument.
6875 2011-08-27 Deniz Dogan <deniz@dogan.se>
6877 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6878 oftc's NickServ messages.
6880 2011-08-27 Glenn Morris <rgm@gnu.org>
6882 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6884 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6886 * emacs-lisp/package.el (package-install): Call package-initialize
6887 if called interactively.
6889 2011-08-26 Leo Liu <sdl.web@gmail.com>
6891 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6893 2011-08-25 Juri Linkov <juri@jurta.org>
6895 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6896 `search-whitespace-regexp' (bug#9364).
6898 2011-08-25 Juri Linkov <juri@jurta.org>
6900 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6901 `regexp-search-ring' to their global values to protect from
6902 updating by `read-from-minibuffer' (bug#9185).
6904 2011-08-25 Juri Linkov <juri@jurta.org>
6906 * textmodes/ispell.el (ispell-command-loop): Add newline
6907 at the end of the "Use option `i'..." line.
6909 2011-08-25 Juri Linkov <juri@jurta.org>
6911 * battery.el (display-battery-mode): If `battery-status-function'
6912 or `battery-mode-line-format' is nil, display the message and set
6913 `display-battery-mode' to nil (bug#9363).
6915 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6917 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6918 bidi-string-mark-left-to-right; they are unnecessary now.
6920 2011-08-25 Deniz Dogan <deniz@dogan.se>
6922 * net/quickurl.el: Documentation typo fixes.
6924 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6926 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6928 2011-08-25 Glenn Morris <rgm@gnu.org>
6930 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6932 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6933 (smtpmail-via-smtp): Handle nil response from smtp.
6935 2011-08-24 Juri Linkov <juri@jurta.org>
6937 * proced.el (proced-marked): Inherit from `error' instead of
6938 `font-lock-warning-face'.
6940 * ibuffer.el (ibuffer-marked-face): Change default face from
6941 `font-lock-warning-face' to `warning'.
6942 (ibuffer-deletion-face): Change default face from
6943 `font-lock-type-face' to `error'.
6945 * battery.el (battery-update): Use the face `error' instead of
6946 `font-lock-warning-face' (bug#6117).
6948 2011-08-24 Juri Linkov <juri@jurta.org>
6950 * faces.el (success): Change face color from "Green3" to
6951 "ForestGreen" on light background (bug#9353).
6953 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6955 * window.el (quit-window): Rename from quit-restore-window.
6956 Use same arglist as old quit-window.
6957 (frame-auto-delete): Doc fix.
6959 * view.el (view-mode-exit): Use quit-window.
6961 2011-08-24 Juri Linkov <juri@jurta.org>
6963 * isearch.el (isearch-ring-adjust1): Start visiting previous
6964 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6965 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6966 for empty search string (when the last search string is reused
6967 automatically) to adjust the isearch ring to the last element and
6968 prepare the correct index for further M-p commands (bug#9185).
6970 2011-08-24 Kenichi Handa <handa@m17n.org>
6972 * international/ucs-normalize.el: If decomposition property of
6973 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6975 (nfd, nfkd): Likewise.
6977 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6980 from process filters aren't reliably transmitted to the surrounding
6981 accept-process-output.
6982 (mpc-proc-check): New function.
6983 (mpc-proc-sync): Use it (bug#8293)
6985 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6987 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6988 Add compatibility functions (bug#9313).
6990 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6992 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6994 * international/uni-bidi.el: Regenerate.
6996 2011-08-23 Kenichi Handa <handa@m17n.org>
6998 * international/charprop.el:
6999 * international/uni-bidi.el:
7000 * international/uni-category.el:
7001 * international/uni-combining.el:
7002 * international/uni-comment.el:
7003 * international/uni-decimal.el:
7004 * international/uni-decomposition.el:
7005 * international/uni-digit.el:
7006 * international/uni-lowercase.el:
7007 * international/uni-mirrored.el:
7008 * international/uni-name.el:
7009 * international/uni-numeric.el:
7010 * international/uni-old-name.el:
7011 * international/uni-titlecase.el:
7012 * international/uni-uppercase.el: Regenerate.
7014 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7016 * help.el (help-window-setup): Fix message displayed when other
7017 window is reused. (Bug#9341)
7019 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7022 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7024 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7026 * shell.el (shell-parse-pcomplete-arguments): New function.
7027 (shell-completion-vars): Use it instead (bug#9160).
7029 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7032 strings and comments (bug#9333).
7034 * emacs-lisp/debug.el (debug-arglist): New function.
7035 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7036 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7038 2011-08-22 Juri Linkov <juri@jurta.org>
7040 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7041 Revert regexp that highlights output switches to its old
7042 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7044 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7045 to check for empty output (bug#9226).
7047 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7049 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7050 symbol-constituent as the default, as that stops font-lock from
7051 working properly (Bug#8843).
7053 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7056 `coding-system-for-*' around the process open call to avoid
7057 auth-source side effects.
7058 (smtpmail-try-auth-methods): Expand the secret password.
7059 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7062 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7064 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7066 * emacs-lisp/find-func.el (find-function-noselect): New arg
7069 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7070 signal an error for built-in functions (Bug#6664).
7072 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7075 (smtpmail-try-auth-methods): Use it.
7077 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7079 * font-lock.el (font-lock-fontify-region)
7080 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7081 (font-lock-default-unfontify-buffer)
7082 (font-lock-default-fontify-region)
7083 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7085 * progmodes/compile.el (compilation-error-properties):
7086 Fix confusion between file struct and message struct (Bug#9319).
7087 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7090 * net/browse-url.el (browse-url-firefox): Don't call
7091 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7093 2011-08-20 Glenn Morris <rgm@gnu.org>
7095 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7097 * tutorial.el (tutorial--default-keys): Update some default bindings.
7099 * files.el (hack-local-variables): Fully ignore case for "mode:".
7101 2011-08-20 Alan Mackenzie <acm@muc.de>
7103 Resolve invalid use of a regexp in regexp-opt.
7105 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7106 detection for a java annotation.
7108 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7109 detection for a java annotation.
7111 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7113 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7115 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7117 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7120 2011-08-20 Alan Mackenzie <acm@muc.de>
7122 Fontify CPP expressions correctly when starting in the middle of
7123 such a construct. Mainly for when jit-lock etc. starts a chunk
7126 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7128 (c-make-font-lock-search-form): New function, extracted from
7129 c-make-font-lock-search-function.
7130 (c-make-font-lock-search-function): Use the above function.
7131 (c-make-font-lock-context-search-function): New function.
7132 (c-cpp-matchers): Enhance the preprocessor expression case with
7134 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7135 which takes an expression.
7137 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7139 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7141 * window.el (display-buffer-reuse-window)
7142 (display-buffer-pop-up-window): Don't reuse or split a side
7145 2011-08-19 Glenn Morris <rgm@gnu.org>
7147 * files.el (hack-local-variables-prop-line, hack-local-variables):
7148 Downcase "Mode:". (Bug#9331)
7150 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7152 * international/characters.el: Add L and R categories.
7154 * subr.el (bidi-string-mark-left-to-right): Rename from
7155 string-mark-left-to-right. Use category search.
7157 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7159 2011-08-18 Juri Linkov <juri@jurta.org>
7161 * faces.el (error, warning, success): New faces with definitions
7162 copied from old default values of `font-lock-warning-face',
7163 `compilation-warning', `compilation-info' (bug#6117).
7165 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7167 * progmodes/compile.el (compilation-error): Inherit from `error'.
7168 (compilation-warning): Inherit from `warning'.
7169 (compilation-info): Inherit from `success'.
7171 * dired.el (dired-marked): Inherit from `warning'.
7172 (dired-flagged): Inherit from `error'.
7174 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7176 * mail/smtpmail.el (auth-source): Require to avoid problems with
7177 binding variables (bug#9298). Also clean up some unused
7180 * net/network-stream.el (network-stream-open-starttls):
7181 Support using starttls.el without using gnutls-cli.
7183 2011-08-17 Juri Linkov <juri@jurta.org>
7185 * progmodes/grep.el (rgrep): Handle the case when
7186 `grep-find-command' is a cons cell (bug#9278).
7188 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7190 * window.el (display-buffer-pop-up-frame): Run frame creation
7191 function with BUFFER current (as special-display-popup-frame
7192 does). Reported by Drew Adams.
7194 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7196 * epa-mail.el: Simplify GnuPG group expansion using
7198 (epa-mail-group-alist, epa-mail-group-modtime)
7199 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7200 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7201 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7204 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7206 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7208 2011-08-16 Alan Mackenzie <acm@muc.de>
7210 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7211 Correct, to avoid the inside of macros.
7213 2011-08-16 Richard Stallman <rms@gnu.org>
7215 * epa-mail.el: Handle GnuPG group definitions.
7216 (epa-mail-group-alist, epa-mail-group-modtime)
7217 (epa-mail-gnupg-conf-file): New variables.
7218 (epa-mail-parse-groups, epa-mail-sync-groups)
7219 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7220 (epa-mail-expand-recipients): New functions.
7221 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7223 * mail/rmail.el (rmail-epa-decrypt): New command.
7225 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7226 Don't bind buffer-read-only, just inhibit-read-only.
7227 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7228 (epa-decrypt-armor-in-region): Make error message clearer.
7230 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7233 and "a2b" to "ab" for `prefix'.
7235 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7237 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7239 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7240 Fourquet (Bug#8804).
7242 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7244 * startup.el (argi): Declare as global variable (bug#9275).
7246 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7248 * subr.el (string-mark-left-to-right): Search the entire string
7249 for RTL script, not just the terminating character. Doc fix.
7251 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7255 (js--regexp-literal, js-syntax-propertize-function): Remove.
7256 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7257 (js-mode-map): Don't rebind electric keys.
7258 (js-insert-and-indent): Remove.
7259 (js-mode): Setup electric-layout and electric-indent instead.
7261 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7263 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7265 * epa.el (epa-progress-callback-function): Fix the logic of
7266 displaying progress.
7267 * epa-file.el (epa-file-insert-file-contents): Make progress
7268 display more user-friendly.
7269 (epa-file-write-region): Ditto.
7271 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7273 * subr.el (string-mark-left-to-right): New function.
7275 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7276 Use string-mark-left-to-right.
7277 (list-buffers-noselect): Caller changed.
7279 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7280 Use string-mark-left-to-right.
7281 (tabulated-list-print): Recenter after moving point.
7283 2011-08-10 Juri Linkov <juri@jurta.org>
7285 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7286 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7287 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7289 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7291 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7294 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7296 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7297 character. (Bug#6594)
7299 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7301 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7302 (image-dired--with-db-file): New macro.
7303 (image-dired-write-tags, image-dired-remove-tag)
7304 (image-dired-create-gallery-lists, image-dired-write-comments)
7305 (image-dired-get-comment, image-dired-mark-tagged-files)
7306 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7307 (image-dired-gallery-generate): Use insert-file-contents.
7309 * time.el (display-time-world-list, display-time-world-display):
7310 * time-stamp.el (time-stamp-string):
7311 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7312 set-time-zone-rule (Bug#7337).
7314 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7316 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7317 (epg-error-to-string, epg-errors-to-string): New function.
7318 (epg-wait-for-completion): Reverse errors list.
7319 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7320 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7321 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7322 (epg-sign-keys, epg-generate-key-from-file)
7323 (epg-generate-key-from-string): Format errors by using
7324 epg-errors-to-string (bug#9255).
7325 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7327 2011-08-07 Juri Linkov <juri@jurta.org>
7329 * faces.el (list-faces-display): Remove extra angle bracket
7330 from `help-mode-map'.
7332 * info.el (Info-history-toc-nodes): Doc fix.
7334 * longlines.el (longlines-mode): Doc fix.
7336 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7339 of statements and in a few more cases (bug#9183).
7341 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7343 (cl-transform-lambda): Use them (bug#9239).
7345 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7347 * window.el (display-buffer-same-window)
7348 (display-buffer-same-frame, display-buffer-other-window)
7349 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7350 (pop-to-buffer-other-window)
7351 (pop-to-buffer-same-frame-other-window)
7352 (pop-to-buffer-other-frame): Make them defuns.
7353 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7355 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * subr.el (make-composed-keymap): Move from C. Change calling
7358 convention, and improve docstring to bring attention to a subtle point.
7359 * minibuffer.el (completing-read-default): Adjust accordingly.
7361 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7363 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7364 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7366 * net/trampver.el: Update release number.
7368 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7373 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375 * mail/sendmail.el (sendmail-query-once): Restore the current
7376 buffer after querying (bug#9074).
7378 * dired.el (dired-flagged): Use different faces for marked and
7379 flagged files (bug#6117).
7381 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7384 * ido.el (ido-mode): Switch off the message if called
7387 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7388 before 587, since it appears that that's more likely to work for
7391 * cus-edit.el (custom-file): When running under emacs -q, always
7392 refuse to save the customizations, even if the .emacs file doesn't
7395 * info.el: Remove the `Info-beginning-of-buffer' function
7398 * net/network-stream.el (network-stream-open-starttls):
7399 Use `starttls-available-p' to see whether starttls.el can be used.
7401 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7403 * window.el (display-buffer-in-window): Don't set dedicated status
7404 of window here (Bug#9215).
7405 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7406 (display-buffer-pop-up-side-window)
7407 (display-buffer-in-side-window): Set dedicated status of window here.
7409 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7411 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7412 before binding generated-autoload-file.
7414 2011-08-01 Deniz Dogan <deniz@dogan.se>
7416 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7418 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7420 Sync with Tramp 2.2.2.
7422 * net/trampver.el: Update release number.
7424 2011-07-30 Juri Linkov <juri@jurta.org>
7426 * dired-aux.el (dired-touch-initial): Remove function.
7427 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7428 current time, and `default' to the last modification time of the
7429 current marked file (bug#6887).
7431 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7433 * simple.el (goto-line): Use string-to-number to provide a
7434 numeric argument to read-number (bug#9163).
7436 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7438 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7439 connection process, it could be nil.
7441 2011-07-27 Leo Liu <sdl.web@gmail.com>
7443 Simplify url handling in rcirc-mode.
7445 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7446 (rcirc-browse-url-at-mouse): Remove.
7447 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7449 2011-07-26 Alan Mackenzie <acm@muc.de>
7451 Fontify bitfield declarations properly.
7453 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7454 (c-symbol-chars): Now exported as a lang variable.
7455 (c-not-primitive-type-keywords): New lang variable.
7457 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7458 QT keyword "more" to prevent "more slots: ...." being spuriously
7459 parsed as a bitfield declaration.
7461 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7462 Refactor and enhance to handle bitfield declarations.
7463 (c-punctuation-in): New function.
7464 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7465 declarations properly.
7467 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7469 * calendar/icalendar.el (icalendar--all-events): Take care of
7470 multiple vcalendars in a single file.
7471 (icalendar--convert-float-to-ical): Checkdoc fixes.
7473 2011-07-25 Deniz Dogan <deniz@dogan.se>
7475 * image.el (insert-image): Clarifying docstring.
7477 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7479 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7480 `tramp-send-command-and-check' if there is no error.
7481 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7483 2011-07-22 Alan Mackenzie <acm@muc.de>
7485 Prevent cc-langs.elc being loaded at run time.
7487 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7490 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7491 "(require 'cc-langs)". Quote a form so it will evaluate at
7492 (cc-mode's) compilation time.
7494 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7496 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7499 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7501 * window.el (display-buffer-pop-up-window)
7502 (display-buffer-pop-up-side-window)
7503 (display-buffer-in-side-window): Call display-buffer-set-height
7504 and display-buffer-set-width after setting the new window's
7505 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7507 2011-07-20 Sam Steingold <sds@gnu.org>
7509 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7510 (etags-tags-included-tables): Call `convert-standard-filename' on
7511 the file names contained in TAGS so that windows Emacs can handle
7512 TAGS files created by cygwin ctags.
7514 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7516 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7517 which apparently didn't work.
7519 2011-07-19 Roland Winkler <winkler@gnu.org>
7521 * proced.el (proced-send-signal): For *Marked Processes* buffer
7522 put point at beginning of buffer.
7524 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7526 * proced.el (proced-format): Make header lines align with the text
7529 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7531 * view.el (view-buffer): Allow running in `special' modes if we're
7532 visiting a file (bug#8615).
7534 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7536 * window.el (display-buffer-alist-of-strings-p)
7537 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7539 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7542 2011-07-18 Alan Mackenzie <acm@muc.de>
7544 Fontify declarators properly when, e.g., a jit-lock chunk begins
7545 inside a declaration.
7547 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7549 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7551 (c-complex-decl-matchers): Insert reference to
7552 c-font-lock-enclosing-decls.
7554 * progmodes/cc-engine.el (c-backward-single-comment):
7555 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7556 to nil around calls to (forward-comment -1).
7558 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560 * image.el (put-image): Doc typo fix.
7562 * progmodes/etags.el (tags-search): Doc typo fix.
7564 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7565 password if we get errors 550 to 554.
7567 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7569 * net/gnutls.el (gnutls-log-level): Remove.
7571 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7572 indentation character (bug#6380).
7574 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7576 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7577 to clarify what the problem is (bug#4291).
7579 * simple.el (current-kill): Clarify what
7580 `interprogram-paste-function' does (bug#7500).
7581 (auto-fill-mode): Document `auto-fill-function' in relation to
7582 `auto-fill-mode' (bug#2470).
7584 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7586 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7587 method if slot is read-only (bug#9035).
7589 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7591 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7592 * window.el (pop-to-buffer): Select window used even if it was
7593 selected before, see discussion of (Bug#8615), (Bug#6954).
7594 Pass argument NORECORD on to select-frame-set-input-focus.
7596 2011-07-15 Glenn Morris <rgm@gnu.org>
7598 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7601 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7603 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7604 (gnutls-negotiate): Use it.
7606 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7608 * net/gnutls.el (gnutls-negotiate):
7609 Upcase `gnutls-algorithm-priority'.
7611 2011-07-15 Glenn Morris <rgm@gnu.org>
7613 * jka-compr.el (jka-compr-verbose): Move from here...
7614 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7615 Add missing :version tag.
7616 * info.el: No need to require jka-compr when compiling.
7618 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7621 (gnutls-negotiate): Use it.
7623 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7625 * info.el (Info-beginning-of-buffer): New command.
7626 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7627 announcing `b' as the key (bug#8325).
7628 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7630 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7632 * international/mule-cmds.el
7633 (describe-specified-language-support): Make the error message
7636 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7638 * isearch.el (isearch-barrier): Add a doc string, since it's
7639 mentioned in a function doc string (bug#8678).
7641 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7643 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7644 buffer argument (Bug#9083) and self-identifying label argument.
7646 2011-07-15 Glenn Morris <rgm@gnu.org>
7648 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7650 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7652 * man.el (Man-fontify-manpage): Fix message when formatting the
7653 man page (bug#7929).
7655 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7657 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7658 argument LRM; if non-nil, append an invisible LRM character to the
7660 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7661 last argument non-nil, when formatting buffer names.
7662 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7663 paragraph direction.
7665 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7667 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7668 the man page name (bug#7929).
7670 * image.el (put-image): Mention the `put-image' overlay property
7673 * scroll-bar.el (set-scroll-bar-mode): Mention that
7674 `scroll-bar-mode' lists the values (bug#7772).
7676 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7679 * rect.el (apply-on-rectangle): Return the point after the last
7681 (string-rectangle): Go to the point after the last operation
7684 * printing.el (pr-toggle-region): Clarify the documentation
7685 slightly (bug#7493).
7687 * time.el (display-time-update):
7688 Allow `display-time-mail-function' to return nil (bug#7158).
7689 Fix suggested by Detlev Zundel.
7691 * vc/diff.el (diff): Clarify the order the file names are read
7694 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7695 the doc string (bug#7015).
7697 * font-lock.el (font-lock-maximum-decoration): Mention what
7698 numeric levels mean (bug#6935).
7700 * startup.el (initial-buffer-choice): Don't mention the `none'
7701 selection, which is against policy.
7703 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7705 * window.el (display-buffer-normalize-special):
7706 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7708 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7710 * subr.el (version<, version<=, version=): Mention "-CVS" and
7711 "-12345" alpha version numbers.
7713 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7715 * bindings.el: Add advertised binding for set-mark-command
7718 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7720 * bindings.el (mode-line-other-buffer):
7721 * bookmark.el (bookmark-bmenu-2-window):
7722 * bs.el (bs-cycle-next, bs-cycle-previous):
7723 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7726 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7729 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7731 * follow.el (follow-debug-message, follow-redisplay):
7732 * jka-cmpr-hook.el (with-auto-compression-mode):
7733 Fix typos in docstrings.
7735 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7737 * subr.el (with-silent-modifications): Clarify somewhat what the
7738 macro inhibits (bug#6525).
7740 * simple.el (eval-expression): Note what it does if called
7741 interactively (bug#6495).
7743 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7745 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7746 Use pop-to-buffer buffer-or-name if it is nil.
7748 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7749 Remove switch-to-buffer.
7751 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7753 * files.el (make-directory): Clarify that an error will be raised
7754 if there's an error (bug#6397).
7756 * startup.el (initial-buffer-choice): Add `none' as a choice
7759 * subr.el (add-hook): Clarify section about buffer-local hooks
7762 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7764 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7766 * tabify.el (untabify): Preserve the current column so that point
7767 doesn't move (bug#6032).
7769 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7771 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7772 Rewrite to avoid awkward possessive "s" (bug#5986).
7774 2011-07-13 Glenn Morris <rgm@gnu.org>
7776 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7777 (dired-insert-directory): Give a message the first time
7778 if ls is found not to support --dired.
7780 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7782 * simple.el (toggle-truncate-lines): Clarify what is toggled
7783 (bug#5580). Text by Drew Adams.
7785 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7787 * simple.el (blink-matching-open): Make the error message from the
7788 last change less verbose.
7790 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7792 * font-lock.el (font-lock-comment-face): Use the high contrast
7793 "yellow" color for font-lock-comment-face on low color terminals
7794 using a dark background color (bug#4221).
7796 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7798 * dired.el (dired-insert-set-properties): Make the doc string
7799 reflect what it does now (bug#5325).
7801 * simple.el (blink-matching-open): Say that we were unable to find
7802 the match within the limit, if we're limited (bug#5122).
7804 * international/mule-cmds.el (prefer-coding-system): Add an
7807 * progmodes/etags.el (tags-search): Document `file-list-form'
7810 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7812 * net/browse-url.el (browse-url-default-browser)
7813 (browse-url-browser-function): Make the default browser choice a
7814 bit more logical (bug#4300). Also clean up the doc string.
7816 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7818 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7819 binary endings (bug#4440).
7821 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7824 which can be pretty annoying (bug#8971).
7826 * jka-compr.el (jka-compr-verbose): New variable, and use
7827 throughout (bug#8971).
7829 * info.el (Info-find-file): Fall back on the installation
7830 directory if we can't find the info node anywhere else.
7832 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7834 * vc/vc.el (vc-revert-file):
7835 Don't set file time-stamp in the past. (Bug#5181)
7837 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7839 * files.el (after-find-file): Give a better error message when
7840 trying to find a symlink that points to a file that doesn't exist
7843 * progmodes/cc-vars.el: Remove (probably) misleading comment
7846 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7848 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7850 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7852 * mouse-sel.el: Hack restoring functionality, while keeping
7853 compatibility with 2010-07-03 changes to mouse selection.
7854 (mouse-sel-primary-overlay): New var.
7855 (mouse-sel-selection-alist): Use it.
7856 (mouse-sel-mode): Doc fix; remove points that are default features
7859 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7861 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7862 Fix previous fix (bug#2490).
7864 2011-07-12 Roland Winkler <winkler@gnu.org>
7866 * textmodes/bibtex.el (bibtex-initialize):
7867 Use pop-to-buffer-same-window.
7868 (bibtex-search-entries): Fix interactive call.
7870 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7872 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7873 Fontise bytecomp Error lines more correctly (bug#2490).
7874 Fix suggested by Johan Bockgård.
7876 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7878 * dired-x.el (dired-guess-default): Use `delete-dups'.
7880 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7882 * dired.el (dired-mark-prompt):
7883 * dired-aux.el (dired-read-shell-command): Doc fix.
7885 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7887 * mail/sendmail.el (sendmail-query-once):
7888 Use `customize-save-variable' unconditionally, now that it works under
7891 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7893 * cus-edit.el (custom-file): Take an optional no-error variable.
7894 (customize-save-variable): Set the variable, and give a warning if
7895 running under "emacs -q".
7897 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7899 * loadhist.el (unload-feature-special-hooks):
7900 Add `auto-coding-functions', `fill-nobreak-predicate' and
7901 `find-directory-functions' (bug#5327).
7903 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7907 * cus-edit.el (custom-guess-name-alist): -alist variables should
7908 use the `alist' type (bug#3120). Suggested by Drew Adams.
7910 * printing.el: Add documentation to all the `pr-toggle-' commands.
7912 2011-07-11 Leo Liu <sdl.web@gmail.com>
7914 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7915 backends where it makes sense (bug#2623).
7917 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7919 * dired-x.el (dired-guess-default): Remove duplicate shell command
7921 (dired-guess-default): Fix grammar in doc string (bug#2028).
7922 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7924 * subr.el (remove-duplicates): New conveniency function.
7926 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7931 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7933 * window.el (display-buffer-normalize-default): Don't invert
7934 meaning of even-window-heights. Reported by Eli Zaretskii
7937 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7939 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7941 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7943 * window.el (display-buffer): Fix arguments to
7944 display-buffer-reuse-window in last change.
7946 * faces.el (link): Use a less saturated blue on light backgrounds.
7948 * startup.el (fancy-startup-text, fancy-about-text)
7949 (fancy-startup-tail): Use font-lock faces, for background safety.
7951 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7953 * emulation/viper-cmd.el (viper-change-state-to-vi):
7954 Limit triggering of abbrev expansion (Bug#9038).
7956 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7958 * window.el (display-buffer-default-specifiers): Remove.
7959 (display-buffer-macro-specifiers): Remove default specifiers.
7960 (display-buffer-alist): Default to nil.
7961 (display-buffer-reuse-window): New optional argument other-window.
7962 (display-buffer-pop-up-window): Allow splitting internal
7963 windows. Check whether a live window was created.
7964 (display-buffer-other-window-means-other-frame)
7965 (display-buffer-normalize-arguments): Rename to
7966 display-buffer-normalize-argument and rewrite. Set the
7967 other-window specifier.
7968 (display-buffer-normalize-special): New function.
7969 (display-buffer-normalize-options): Rename to
7970 display-buffer-normalize-default and rewrite.
7971 (display-buffer-normalize-options-inhibit): Remove.
7972 (display-buffer-normalize-specifiers): Rewrite.
7973 (display-buffer): Process other-window specifier and call
7974 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7976 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7977 (display-buffer-alist-set): Don't handle 'unset default values.
7978 (display-buffer-in-window, display-buffer-alist-set):
7979 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7980 <tassilo@member.fsf.org>.
7982 2011-07-09 Leo Liu <sdl.web@gmail.com>
7984 * register.el (insert-register): Restore accidental change on
7985 2011-06-26. (Bug#9028)
7987 2011-07-09 Glenn Morris <rgm@gnu.org>
7989 * subr.el (remq): Handle the empty list. (Bug#9024)
7991 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7993 * mail/sendmail.el (send-mail-function): No longer delay custom
7995 * custom.el (custom-initialize-delay): Doc fix.
7997 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7999 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8001 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8003 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8004 human-friendly prompt.
8006 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8009 provided by a particular plugin.
8011 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8013 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8014 save customizations (with "emacs -Q"), just set the variable
8015 instead of erroring out.
8017 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8019 2011-07-08 Juri Linkov <juri@jurta.org>
8021 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8022 (archive-zip-update-case): Use 7z if found by `executable-find'.
8023 The order of searching the available programs is the same as in
8024 `archive-zip-extract' (bug#8968).
8026 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8028 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8029 (menu-bar-options-menu): Tweak descriptions.
8031 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8033 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8034 menu items into verb phrases (bug#1421). Also refill to fit under
8037 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8039 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8040 (Info-read-node-name): Doc fix (Bug#1084).
8042 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8043 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8044 (end-of-sexp, beginning-of-sexp)
8045 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8046 (forward-symbol, forward-same-syntax, word-at-point)
8047 (sentence-at-point): Doc fix (Bug#1144).
8049 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8051 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8052 should cover it (bug#1281).
8054 * cus-edit.el (custom-show): Mark as obsolete.
8056 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8057 negotiation fails, then possibly try again with a non-encrypted
8058 connection (bug#9017).
8060 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8063 2011-07-07 Richard Stallman <rms@gnu.org>
8065 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8066 property, and handle its changed format.
8067 Look for the correct line number.
8068 Use file's line contents (but not past first =) to find
8069 correct line in message.
8071 2011-07-07 Kenichi Handa <handa@m17n.org>
8073 * international/characters.el (build-unicode-category-table):
8075 (unicode-category-table): Set it by unicode-property-table-internal.
8077 * international/mule-cmds.el (char-code-property-alist): Move to
8079 (get-char-code-property): Call unicode-property-table-internal to
8080 load a file. Call get-unicode-property-internal where necessary.
8081 (put-char-code-property): Call unicode-property-table-internal to
8082 load a file. Call put-unicode-property-internal where necessary.
8083 put-unicode-property-internal where necessary.
8084 (char-code-property-description):
8085 Call unicode-property-table-internal to load a file.
8087 * international/charprop.el:
8088 * international/uni-bidi.el:
8089 * international/uni-category.el:
8090 * international/uni-combining.el:
8091 * international/uni-comment.el:
8092 * international/uni-decimal.el:
8093 * international/uni-decomposition.el:
8094 * international/uni-digit.el:
8095 * international/uni-lowercase.el:
8096 * international/uni-mirrored.el:
8097 * international/uni-name.el:
8098 * international/uni-numeric.el:
8099 * international/uni-old-name.el:
8100 * international/uni-titlecase.el:
8101 * international/uni-uppercase.el: Regenerate.
8103 * loadup.el: Load international/charprop.el before
8104 international/characters.
8106 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8108 * window.el (next-buffer, previous-buffer): Signal an error if
8109 called from a minibuffer window.
8111 * bindings.el: Revert 2011-07-04 change.
8113 2011-07-06 Richard Stallman <rms@gnu.org>
8115 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8116 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8117 Treat markers like ints.
8118 (rmail-mime-entity): Doc fix.
8120 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8122 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8123 defcustom again for backwards compatibility.
8125 * simple.el (shell-command-on-region): Fill.
8127 * dired-aux.el (dired-kill-line): Add a doc string.
8129 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8130 to "\\sw\\|\\s_" (bug#358).
8132 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8133 (dired-unmark-backward): Ditto.
8134 (dired-flag-backup-files): Ditto.
8136 * dired-x.el (dired-mark-sexp): Ditto.
8138 2011-07-06 Richard Stallman <rms@gnu.org>
8140 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8141 (rmail-mime-entity): New arg TRUNCATED.
8142 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8144 (rmail-mime-save): Warn if entity is truncated.
8145 (rmail-mime-toggle-hidden): Likewise, for showing.
8146 (rmail-mime-process-multipart): Record when an entity is truncated.
8148 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8149 if ENTITY is a string.
8151 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8154 of faces when `M-C-x'-ing their definitions (bug#8378).
8155 Also clean up the code slightly.
8157 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8158 because that makes the colors go away.
8160 * mail/sendmail.el (send-mail-function): Change the default to
8161 `sendmail-query-once'.
8162 (sendmail-query-once): Add an autoload cookie.
8164 * net/network-stream.el (network-stream-open-starttls): Try using
8165 a plain connection even if the server offered STARTTLS, and we
8166 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8167 capability. This should make smtpmail.el work in slightly more
8170 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8172 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8174 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8176 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8178 * progmodes/sql.el: Version 3.0
8179 (sql-product-alist): Add product :completion-object,
8180 :completion-column, and :statement attributes.
8181 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8182 (sql-mode-syntax-table): Mark all punctuation.
8183 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8185 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8186 (sql-mode-oracle-font-lock-keywords): Improve.
8187 (sql-oracle-show-reserved-words): New function for development.
8188 (sql-product-font-lock): Simplify for source code buffers.
8189 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8191 (sql-highlight-product): Set product specific syntax table.
8192 (sql-mode-map): Add statement movement functions.
8193 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8195 (sql-statement-regexp, sql-beginning-of-statement)
8196 (sql-end-of-statement, sql-signum): New functions.
8197 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8198 (sql-show-sqli-buffer): Bug fix.
8199 (sql-interactive-mode): Store connection data as buffer local.
8200 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8201 with sql-interactive-mode.
8202 (sql-save-connection): Save buffer local settings.
8203 (sql-connection-menu-filter): Change menu entry name.
8204 (sql-product-interactive): Bug fix.
8205 (sql-preoutput-hold): New variable.
8206 (sql-interactive-remove-continuation-prompt): Bug fixes.
8207 (sql-debug-redirect): New variable.
8208 (sql-str-literal): New function.
8209 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8211 (sql-oracle-save-settings, sql-oracle-restore-settings)
8212 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8213 (sql-completion-object, sql-completion-column)
8214 (sql-completion-sqlbuf): New variables.
8215 (sql-build-completions-1, sql-build-completions)
8216 (sql-try-completion): New functions.
8217 (sql-read-table-name): Use them.
8218 (sql-contains-names): New buffer local variable.
8219 (sql-list-all, sql-list-table): Use it.
8220 (sql-oracle-completion-types): New variable.
8221 (sql-oracle-completion-object, sql-sqlite-completion-object)
8222 (sql-postgres-completion-object): New functions.
8224 2011-07-06 Glenn Morris <rgm@gnu.org>
8226 * window.el (pop-to-buffer): Doc fix.
8228 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8230 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8232 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8234 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8236 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8238 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8240 * button.el (button): Inherit from link face. Suggested by Dan
8243 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8245 * progmodes/gdb-mi.el: Fit in 80 columns.
8246 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8249 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8250 if imenu is simply not configured (bug#8941).
8252 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8254 * allout.el (allout-post-undo-hook): New allout outline-change
8255 event hook to signal undo activity.
8256 (allout-post-command-business): Run allout-post-undo-hook if an
8258 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8259 * allout-widgets.el (allout-widgets-after-undo-function):
8260 Ensure the integrity of the current item's decoration after it has been
8261 in the vicinity of an undo.
8262 (allout-widgets-mode): Include allout-widgets-after-undo-function
8263 on the new allout-post-undo-hook.
8265 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8268 Let define-derived-mode define it.
8269 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8270 cycles of abbrev-table inheritance (bug#8998).
8272 2011-07-05 Roland Winkler <winkler@gnu.org>
8274 * textmodes/bibtex.el: Add support for biblatex.
8275 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8276 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8277 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8278 (bibtex-entry-alist, bibtex-field-alist): New variables.
8279 (bibtex-entry-field-alist): Obsolete alias for
8280 bibtex-BibTeX-entry-alist.
8281 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8282 (bibtex-set-dialect): New command.
8283 (bibtex-entry-type, bibtex-entry-head)
8284 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8285 Bind via bibtex-set-dialect.
8286 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8287 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8288 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8289 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8290 Define via bibtex-set-dialect.
8291 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8292 Obey bibtex-no-opt-remove-re.
8293 (bibtex-vec-push, bibtex-vec-incr): New functions.
8294 (bibtex-format-entry, bibtex-field-list)
8295 (bibtex-print-help-message, bibtex-validate)
8296 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8298 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * progmodes/compile.el (compilation-goto-locus):
8301 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8302 * bs.el (bs-cycle-next, bs-cycle-previous):
8303 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8304 * bindings.el (mode-line-other-buffer):
8305 * autoinsert.el (auto-insert):
8306 * arc-mode.el (archive-extract):
8307 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8309 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8311 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8312 Fix check of `emacs-lock-unlockable-modes'.
8313 Coerce true values of `emacs-lock--try-unlocking' to t.
8315 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8317 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8318 * emacs-lock.el: New file.
8320 2011-07-05 Julien Danjou <julien@danjou.info>
8322 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8323 than `boundp' to check if face is set.
8325 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8327 * register.el (registerv-make):
8328 * window.el (window-min-height): Fix typos in docstrings.
8330 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8332 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8335 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8337 * server.el (server-execute): Catch quit and call
8338 `server-return-error' to pass the error back to emacsclient and
8339 close the connection (bug#8942).
8341 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8343 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8344 insecure exception for current topic. Also note that auto-saves
8345 are handled differently.
8347 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8348 State variables for tracking auto-save inhibition situation.
8350 (allout-write-contents-hook-handler): Rename from
8351 'allout-write-file-hook-handler', and describe how it depends on
8352 write-contents-functions sensitivity to non-nil value to prevent
8355 (allout-auto-save-hook-handler): Remove. auto-save does not check
8356 this in individual buffers, only in the starting buffer, so this
8357 is not the right way for us to inhibit auto-save in a buffer
8358 according to its condition.
8360 (allout-mode): Use new allout-write-contents-hook-handler, and
8361 only with write-contents-functions. Remove auto-save provisions -
8362 they're implemented elsewhere.
8364 (allout-before-change-handler): If undo is in progress, note that
8365 for attention of allout-post-command-business.
8367 (allout-post-command-business): If the command we're following was
8368 an undo, check for change in the status of encrypted items and
8369 adjust auto-save inhibitions accordingly.
8371 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8372 according to whether there are or aren't any plain-text topics
8375 (allout-inhibit-auto-save-info-for-decryption):
8376 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8377 if there are plain-text topics pending encryption.
8379 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8380 buffer-saved-size and some allout state to not inhibit auto-saves
8381 if there are no longer any plain-text topics pending encryption.
8383 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8384 No longer provide for exemption of the current topic.
8386 2011-07-04 Juri Linkov <juri@jurta.org>
8388 Add 7z operations to delete and save changed members (bug#8968).
8389 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8391 (archive-7z-write-file-member): New function.
8392 (archive-7z-summarize): Fix the number of dashes in the
8395 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8400 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8402 * bindings.el: Ignore next-buffer and previous-buffer in
8403 minibuffer-local-map.
8405 * font-lock.el (font-lock-builtin-face): Change light background
8406 color to dark slate blue (Bug#6693).
8408 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8410 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8412 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8415 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8416 Add switch-to-buffer.
8418 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8420 * isearch.el (isearch-search-fun-function): Clarify further the
8421 meaning of the function returned.
8423 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8425 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8427 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8428 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8430 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8431 `tramp-default-remote-path' does not exist.
8432 (tramp-send-command-and-read): New optional argument NOERROR.
8433 (tramp-open-connection-setup-interactive-shell)
8434 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8435 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8436 (tramp-process-sentinel): Flush also process' connection property.
8437 (tramp-sh-handle-start-file-process): Do not set process
8438 sentinel. It is done now ...
8439 (tramp-maybe-open-connection): ... here. (Bug#8929)
8441 2011-07-04 MON KEY <monkey@sandpframing.com>
8443 * play/animate.el (animate-string): Doc fixes and allow changing
8444 the buffer name (bug#5417).
8446 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448 * play/animate.el (animation-buffer-name): Rename from *animate*.
8450 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8452 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8453 This is simpler and helps future-proof the code.
8454 (timer-until): Use time-subtract and float-time.
8455 (timer--time-less-p): Use time-less-p.
8457 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8459 * type-break.el (timep): Use the value of `float-time' to avoid a
8460 byte-compiler warning.
8462 * server.el (server-eval-and-print): Return any result, even nil.
8464 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8466 * type-break.el: Accept time formats that the builtins accept.
8467 (timep, type-break-time-difference): Accept any format that
8468 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8469 This is simpler and helps future-proof the code.
8470 (type-break-time-difference): Round rather than ignoring
8471 subseconds components.
8473 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475 * info.el (Info-apropos-matches): Make non-interactive, since it
8476 doesn't seem to do anything useful as a command (bug#8829).
8478 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8480 * frame.el (frame-background-mode, frame-set-background-mode):
8482 (frame-default-terminal-background): New function.
8484 * custom.el (custom-push-theme): Don't record faces in `changed'
8485 theme; this doesn't work correctly for per-frame face settings.
8486 (disable-theme): Use face-set-after-frame-default to reset faces.
8487 (custom--frame-color-default): New function.
8489 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8491 * dired.el (dired-flagging-regexp): Remove unused variable
8494 2011-03-29 Kevin Ryde <user42@zip.com.au>
8496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8497 `perl-Test2' extend to match possible "fail #N" rep count
8500 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8502 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8503 `smtpmail-via-smtp' now returns the error instead of nil.
8505 * isearch.el (isearch-search-fun-function): Clarify the doc string
8508 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8510 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8511 unnecessary spaces (bug#8987).
8513 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8515 * net/network-stream.el (open-network-stream): Use the
8516 :end-of-capability command thoughout.
8518 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8520 * net/network-stream.el (open-network-stream): Add the
8521 :end-of-capability command parameter, used by pop3.el.
8523 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8525 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8527 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8528 for list)" (bug#6475).
8530 * files.el (file-expand-wildcards): Ignore non-readable
8531 sub-directories while trying to find matches instead of signaling
8532 an error (bug#6297).
8534 * man.el (Man-reference-regexp): Allow matching possible
8535 word-wrapped references (bug#6289).
8537 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8538 for consistency with the other vc buffers (bug#6197).
8539 (vc-checkin): Ditto.
8541 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8543 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8545 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547 * custom.el (defcustom): Clarify that :set is only used in the
8548 Customize user interface (bug#6089).
8550 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8551 associated with a file, refuse to run instead of erroring out
8554 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8555 the doc string, since it appears that using `fill-column' always
8556 controls the width (bug#7845).
8558 * simple.el (shell-command-on-region): Say where the error output
8559 went if `shell-command-default-error-buffer' is set (bug#6857).
8561 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8563 * allout.el (allout-yank-processing): Adjust cursor position for
8564 backwards-deleted space.
8566 (allout-rebullet-heading): Register changes with
8567 allout-exposure-changed-hook, so the modified topic is properly
8570 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572 * minibuffer.el (completion-in-region): Document PREDICATE
8575 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8576 of keyword/argument pairs (bug#6904).
8578 * replace.el (multi-occur):
8579 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8581 2011-07-02 Drew Adams <drew.adams@oracle.com>
8583 * dired.el (dired-mark-if): Make the message about whether it's
8584 marking or unmarking clearer (bug#8523).
8586 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8588 * disp-table.el (display-table-print-array): New function.
8589 (describe-display-table): Use it to print the vectors more pretty
8592 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8594 * window.el (window-state-get-1): Don't assign clone numbers.
8595 Add clone-of item to list of window parameters.
8596 (window-state-put-2): Don't process clone numbers.
8597 (display-buffer-alist): Fix doc-string.
8599 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * subr.el (remq): Don't allocate if it's not needed.
8602 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8603 (keymap--merge-bindings): New functions.
8604 (keymap-canonicalize): Use them to refine the canonicalization.
8605 * minibuffer.el (minibuffer-local-completion-map)
8606 (minibuffer-local-must-match-map): Move initialization from C.
8607 (minibuffer-local-filename-completion-map): Move initialization from C;
8608 don't inherit from anything here.
8609 (minibuffer-local-filename-must-match-map): Make obsolete.
8610 (completing-read-default): Use make-composed-keymap to combine
8611 minibuffer-local-filename-completion-map with either
8612 minibuffer-local-must-match-map or
8613 minibuffer-local-filename-completion-map.
8615 2011-07-01 Glenn Morris <rgm@gnu.org>
8617 * type-break.el (type-break-time-sum): Use dolist.
8619 * textmodes/flyspell.el (flyspell-word-search-backward):
8620 Replace CL function.
8622 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * mouse.el (mouse--strip-first-event): New function.
8625 (function-key-map): Use it to map fringe clicks to normal clicks
8628 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8629 (vc-bzr-revision-completion-table): Add support for annotate and date.
8631 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8632 inherit from parent.
8634 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8637 (dired-show-file-type): Doc fixup (bug#8818).
8639 * dired.el (dired-mode): Fix up the doc string as suggested by
8640 Drew Adams (bug#8817).
8642 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8643 cookie, since the manual says that it should be possible to add
8644 this function to `find-file-hook' (bug#8709).
8646 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8648 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8649 here. Noted Ted Zlatanov as the maintainer.
8650 (cfengine-common-settings, cfengine-common-syntax): New functions
8651 to set up common things between `cfengine-mode' and
8653 (cfengine3-mode): New mode.
8654 (cfengine3-defuns cfengine3-defuns-regex
8655 (cfengine3-class-selector-regex cfengine3-category-regex)
8656 (cfengine3-vartypes cfengine3-font-lock-keywords)
8657 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8658 (cfengine3-indent-line): Add from cfengine3.el.
8660 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8662 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8664 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8666 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8668 * window.el (same-window-buffer-names, same-window-regexps)
8669 (same-window-p, special-display-frame-alist)
8670 (special-display-popup-frame, special-display-function)
8671 (special-display-buffer-names, special-display-regexps)
8672 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8673 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8674 (split-window-preferred-function, split-height-threshold)
8675 (split-width-threshold, even-window-heights)
8676 (display-buffer-mark-dedicated, window-splittable-p)
8677 (split-window-sensibly, window-safely-shrinkable-p):
8679 (display-buffer): Don't spread args with function specifier
8680 because special-display-popup-frame won't like it.
8682 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8684 Time-stamp simplifications and fixes.
8685 These improve accuracy slightly, and future-proof the code
8686 against some potential changes to current-time format.
8688 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8689 by using time-since and float-time.
8691 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8692 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8693 + NNN microseconds".
8695 * type-break.el (type-break-time-sum): Rewrite using time-add.
8697 * play/hanoi.el (hanoi-current-time-float): Remove.
8698 All uses replaced by float-time.
8700 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8701 This yields a more-accurate answer.
8702 (rng-time-to-float): Remove; no longer needed.
8704 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8706 * calendar/timeclock.el (timeclock-seconds-to-time):
8707 Defalias to seconds-to-time, since they're the same thing.
8709 * emacs-lisp/elp.el (elp-elapsed-time):
8710 * emacs-lisp/benchmark.el (benchmark-elapse):
8711 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8713 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8715 * window.el (bury-buffer): Don't iconify the only frame.
8716 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8717 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8719 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8721 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8722 Add mouse-yank-primary.
8724 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8726 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8728 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8731 (find-library-name): Use it to find relative load names when provided
8732 absolute file name (bug#8803).
8734 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736 * textmodes/flyspell.el (flyspell-word): Consider words that
8737 differ only in case as potential doublons (bug#5687).
8739 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8740 Remove two rather uninteresting debugging-like messages to make
8741 debbugs.el more silent.
8743 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8744 a password-like phrase.
8746 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8748 * progmodes/cc-guess.el: New file.
8750 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8752 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8753 derived from `c-basic-common-init'.
8755 * progmodes/cc-mode.el (top-level): Require cc-guess.
8756 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8758 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8760 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8762 2011-06-30 Alan Mackenzie <acm@muc.de>
8764 * progmodes/cc-engine.el (c-guess-continued-construct):
8765 Correct the handling of template-args-cont, particularly for when font
8766 lock is disabled. Name this case as "CASE G".
8768 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8770 * allout.el (allout-yank-processing): Fix injection of extra space
8771 between bullet and non-whitespace character in first topic when
8772 pasting, ensuring that the actual spacing in the pasted topic
8773 following the bullet char is preserved. This extra space was
8774 causing pasted encrypted topics to get a decrypted status even
8775 when the content was actually still encrypted. Now the decryption
8776 status from before the paste is preserved.
8778 (allout-flag-region): Set all allout overlays so they evaporate
8779 when reduced to zero length (evanescent), to prevent overlay
8782 2011-06-30 Glenn Morris <rgm@gnu.org>
8784 * w32-fns.el (w32-charset-info-alist): Declare.
8786 * find-dired.el (find-grep-options): Simplify.
8788 * term/ns-win.el (ns-set-resource): Declare.
8790 * ses.el (row, col): Declare dynamic variables honestly.
8792 * textmodes/reftex-parse.el (index-tags): Declare.
8794 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8796 * cus-edit.el (customize-push-and-save): New function.
8798 * files.el (hack-local-variables-confirm): Use it.
8800 * custom.el (load-theme): New arg NO-CONFIRM.
8801 Use customize-push-and-save (Bug#8720).
8802 (custom-enabled-themes): Doc fix.
8804 * cus-theme.el (customize-create-theme)
8805 (custom-theme-merge-theme): Callers to load-theme changed.
8807 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8809 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8810 short URLs have at least one dot in them (bug #7614).
8812 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8813 nil, because using a pty is apparently too slow (bug #895).
8815 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8817 * mail/sendmail.el (sendmail-query-once): New function.
8818 (sendmail-query-once-function): New variable.
8820 2011-06-29 Glenn Morris <rgm@gnu.org>
8822 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8824 * ses.el (top-level): Require cl when compiling.
8825 (ses-set-localvars): Fix error statement.
8826 Call it at compile time to silence a storm of warnings.
8828 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8830 * window.el (normalize-live-buffer): Rename to
8831 window-normalize-buffer.
8832 (normalize-live-frame): Rename to window-normalize-frame.
8833 (normalize-any-window): Rename to window-normalize-any-window.
8834 (normalize-live-window): Rename to window-normalize-live-window.
8835 (make-window-atom): Rename to window-make-atom.
8836 (window-resize-reset): Rename to window--resize-reset.
8837 (window-resize-reset-1): Rename to window--resize-reset-1.
8838 (resize-mini-window): Rename to window--resize-mini-window.
8839 (resize-subwindows-skip-p): Rename to
8840 window--resize-subwindows-skip-p.
8841 (resize-subwindows-normal): Rename to
8842 window--resize-subwindows-normal.
8843 (resize-subwindows): Rename to window--resize-subwindows.
8844 (resize-other-windows): Rename to window--resize-siblings.
8845 (resize-this-window): Rename to window--resize-this-window.
8846 (resize-root-window): Rename to window--resize-root-window.
8847 (resize-root-window-vertically): Rename to
8848 window--resize-root-window-vertically.
8849 (normalize-buffer-to-display): Rename to
8850 window-normalize-buffer-to-display.
8851 (normalize-buffer-to-switch-to): Rename to
8852 window-normalize-buffer-to-switch-to.
8853 Correspondingly update all callers of the functions listed
8855 (display-buffer-alist, display-buffer-normalize-arguments)
8856 (display-buffer-normalize-options, display-buffer)
8857 (display-buffer-alist-set): Use "function" instead of
8860 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8862 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8863 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8864 debbugs.gnu.org. Mention acknowledgment email.
8866 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8868 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8869 buffer multibyteness, since it shouldn't matter.
8871 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8873 * window.el (display-buffer-in-side-window): Handle dedicated
8874 windows as in display-buffer-reuse-window.
8875 (display-buffer-normalize-alist): Use value of override
8877 (display-buffer-normalize-specifiers): Use value of
8878 other-window-means-other-frame specifier.
8879 (display-buffer-alist): Rewrite some texts in widgets.
8880 (display-buffer): Spread arguments when calling function
8881 specified by fun-with-args.
8883 2011-06-28 Deniz Dogan <deniz@dogan.se>
8885 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8888 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8889 selectors (Bug#5732).
8890 (css-proprietary-nmstart-re): Use `regexp-opt'.
8892 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8894 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8895 (eshell-ls-date-format): New defcustom.
8896 (eshell-ls-file): Use it.
8898 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8900 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8902 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8904 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8905 (ange-ftp-make-tmp-name): New arg.
8906 (ange-ftp-file-local-copy): Use it.
8908 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8910 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8911 no-conversion (Bug#8870).
8913 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8915 * window.el (window-right, window-left, window-child)
8916 (window-child-count, window-last-child)
8917 (window-iso-combination-p, walk-window-tree-1)
8918 (window-atom-check-1, window-tree-1, delete-window)
8919 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8920 new naming conventions - window-vchild, window-hchild,
8921 window-next and window-prev are now called window-top-child,
8922 window-left-child, window-next-sibling and window-prev-sibling
8924 (resize-window-reset): Rename to window-resize-reset.
8925 (resize-window-reset-1): Rename to window-resize-reset-1.
8926 (resize-window): Rename to window-resize.
8927 (window-min-height, window-min-width)
8928 (resize-mini-window, resize-this-window, resize-root-window)
8929 (resize-root-window-vertically, adjust-window-trailing-edge)
8930 (enlarge-window, shrink-window, maximize-window)
8931 (minimize-window, delete-window, quit-restore-window)
8932 (split-window, balance-windows, balance-windows-area-adjust)
8933 (balance-windows-area, window-state-put-2)
8934 (display-buffer-even-window-sizes, display-buffer-set-height)
8935 (display-buffer-set-width, set-window-text-height)
8936 (fit-window-to-buffer): Rename all "resize-window" prefixed
8937 calls to use the "window-resize" prefix convention.
8938 (display-buffer-alist): Fix symbol for label specifier.
8939 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8940 corresponding specifier.
8941 Reported by Juanma Barranquero <lekktu@gmail.com>.
8943 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8945 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8947 (ses-call-printer): Does not pass an empty string to formatter when the
8948 cell is empty to keep from barking printer Calc math-format-value.
8950 2011-06-27 Richard Stallman <rms@gnu.org>
8952 * battery.el (battery-mode-line-limit): New variable.
8953 (battery-update): Handle it.
8955 * mail/rmailmm.el (rmail-mime-process-multipart):
8956 Handle truncated messages.
8958 2011-06-27 Glenn Morris <rgm@gnu.org>
8960 * progmodes/flymake.el (flymake-err-line-patterns):
8961 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8963 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8965 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8966 (ses--clean-!, ses--clean-_): New functions.
8967 (ses-range): Add configurability of readout order, and conversion
8970 * ses.el (ses-repair-cell-reference-all): New function.
8971 (ses-cell-symbol): Set macro as safe, so that it can be used in
8974 * ses.el: Update cycle detection algorithm.
8975 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8976 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8977 (ses-set-localvars): New function.
8978 (ses-make-cell): Add property-list as a cell element.
8979 (ses-cell-property-get-fun, ses-cell-property-get)
8980 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8981 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8983 (ses-cell-property-set, ses-cell-property-pop)
8984 (ses-cell-property-get-handle): New macro.
8985 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8986 New aliases, used for code readability.
8987 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8989 (ses-self-reference-early-detection): New defcustom.
8990 (ses-formula-references): Robustify against self-referring cells.
8991 (ses-mode): Use ses-set-localvars.
8992 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8993 before lauching the update processing.
8994 (ses-initialize-Dijkstra-attempt): New function.
8995 (ses-recalculate-cell): Update for cycle detection based on
8998 * ses.el: Fix commenting and indenting convention.
9000 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9002 * bs.el (bs-cycle-next): Complete last change.
9004 2011-06-27 Drew Adams <drew.adams@oracle.com>
9006 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9008 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9010 * net/network-stream.el (network-stream-open-starttls):
9011 Don't re-get capabilities unless we've reestablished connection.
9012 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9014 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9015 to binary to possibly avoid line encoding issues on Windows (among
9018 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020 * net/network-stream.el (open-network-stream): Return an :error
9021 saying what the problem was, if possible.
9023 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9026 * net/network-stream.el (network-stream-open-starttls): If we
9027 wanted to use STARTTLS, and the server offered it, but we weren't
9028 able to because we had no STARTTLS support, then close the connection.
9029 (open-network-stream): Return an :error element, if present.
9031 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9033 * hl-line.el (hl-line-sticky-flag): Doc fix.
9034 (global-hl-line-sticky-flag): New option (Bug#8323).
9035 (global-hl-line-highlight): Obey it.
9037 * vc/vc.el (vc-revert-show-diff): Default to t.
9039 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9041 * allout-widgets.el (allout-widgets-post-command-business):
9042 Stop decorating intermediate isearch matches. They're not being
9043 undecorated when an isearch is continued past, and isearch
9044 automatically collapses them. This leads to "widget leaks", where
9045 decorated items accumulate in collapsed areas. Lines with lots of
9046 hidden widgets can slow down cursor travel, substantially.
9047 Too much complicated machinery would be needed to ensure undecoration,
9048 so we're doing without this nicety.
9050 (allout-widgets-tally-string): Don't try to do a hash-table-count
9051 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9052 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9053 *Messages* when allout-widgets-maintain-tally is t.
9055 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9057 * window.el (display-buffer-normalize-argument): Rename to
9058 display-buffer-normalize-arguments. Handle special meaning of
9059 LABEL argument. Respect special-display-function when popping up
9060 a new frame. Fix code searching for a window showing the buffer
9062 (display-buffer-normalize-specifiers):
9063 Call display-buffer-normalize-arguments.
9064 (display-buffer-in-window): Don't undedicate the window if its
9065 buffer remains the same.
9066 Reported by Drew Adams <drew.adams@oracle.com>.
9067 (display-buffer-alist): Add choice for same-window macro
9069 (display-buffer): Mention special meaning of LABEL argument in
9070 doc-string. Fix quoting. Don't pop up a new frame even as
9073 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9075 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9076 avoid deleting the current window in some cases (bug#8911).
9078 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9080 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9083 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9085 * net/network-stream.el (network-stream-open-starttls):
9086 Use built-in TLS support if `gnutls-available-p' is true.
9087 (network-stream-open-tls): Ditto.
9089 2011-06-26 Leo Liu <sdl.web@gmail.com>
9091 * register.el (registerv): New struct.
9092 (registerv-make): New function.
9093 (jump-to-register, describe-register-1, insert-register):
9094 Support the jump-func, print-func and insert-func slot of a registerv
9097 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9099 * vc/vc.el (vc-revert-show-diff): New defcustom.
9100 (vc-diff-internal): New arg specifying diff buffer.
9101 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9102 reuse an existing *vc-diff* buffer (Bug#8927).
9104 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9106 2011-06-26 Glenn Morris <rgm@gnu.org>
9108 * progmodes/f90.el (f90-critical-indent): New option.
9109 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9110 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9111 (f90-mode): Doc fix.
9112 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9113 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9114 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9115 (f90-match-end): Handle block, critical.
9117 2011-06-25 Glenn Morris <rgm@gnu.org>
9119 * calendar/diary-lib.el (diary-included-files): Doc fix.
9120 (diary-include-files): New function, extracted from
9121 diary-include-other-diary-files and diary-mark-included-diary-files.
9122 (diary-include-other-diary-files, diary-mark-included-diary-files):
9123 Just call diary-include-files.
9124 (diary-mark-entries): Reset diary-included-files on first call.
9126 * calendar/diary-lib.el (diary-mark-entries)
9127 (diary-mark-included-diary-files):
9128 Visit included diary-files in temp buffers.
9130 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9131 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9132 (f90-start-block-re, f90-imenu-generic-expression)
9133 (f90-looking-at-program-block-start, f90-no-block-limit):
9134 Add support for submodules.
9136 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9137 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9139 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9141 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9142 buffer-file-type before setting its value, to avoid disastrous
9143 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9145 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9147 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9149 * ses.el (ses-unload-function):
9150 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9152 * proced.el (proced-unload-function):
9153 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9155 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9157 * server.el (server-create-window-system-frame): Add parameters arg.
9158 (server-process-filter): Doc fix. Handle frame-parameters.
9160 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9162 Fix bug#8730, bug#8781.
9164 * loadhist.el (unload--set-major-mode): New function.
9165 (unload-feature): Use it.
9167 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9168 (python-unload-function): New function.
9170 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9174 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9176 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9177 the candidates list.
9179 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9181 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9183 2011-06-23 Richard Stallman <rms@gnu.org>
9185 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9186 (rmail-variables): Set next-error-move-function.
9187 (rmail-what-message): Take argument POS.
9188 (rmail-next-error-move): New function.
9190 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9192 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9193 messages for adjacent non-terminals.
9195 2011-06-23 Richard Stallman <rms@gnu.org>
9197 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9198 (rmail-show-message-1): Preserve buffer modified flag.
9199 (rmail-start-mail): Don't specify use of rmail-mail-return;
9200 that's done by mail-bury now.
9201 (rmail-mail-return): Handle arg NEWBUF.
9203 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9205 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9208 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9210 * window.el (get-lru-window, get-mru-window)
9211 (get-largest-window): Never return a minibuffer window.
9212 (display-buffer-pop-up-window): Fix a bug that could lead to
9213 reusing the minibuffer window.
9214 (display-buffer): Pass original specifier argument to
9215 display-buffer-function instead of the normalized one.
9216 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9218 2011-06-22 Leo Liu <sdl.web@gmail.com>
9220 * minibuffer.el (completing-read-function)
9221 (completing-read-default): Move from minibuf.c
9223 2011-06-22 Richard Stallman <rms@gnu.org>
9225 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9226 to Rmail even if not started by a special Rmail command.
9228 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9229 Copy the buffer currently showing just one message.
9231 2011-06-22 Roland Winkler <winkler@gnu.org>
9233 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9234 (bibtex-clean-entry): First delete the old key so that a
9235 customized algorithm for generating the new key does not get
9236 confused by the old key.
9237 (bibtex-url): Obey regexp of first step.
9238 (bibtex-search-entries): Do not use add-to-list with local
9241 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9243 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9244 stored a user name, then query for the password first, instead of
9245 waiting for SMTP to give an error message and the trying again.
9247 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9249 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9250 BUFFER in call-process.
9252 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9256 (smtpmail-try-auth-methods): Require user name and password from
9259 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9261 * window.el (display-buffer-default-specifiers)
9262 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9263 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9264 (split-window): Normalize SIDE argument (Bug#8916).
9266 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9267 (special-display-frame-alist, special-display-popup-frame):
9268 Remove duplicate declarations. These are now in window.el.
9270 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9272 * mail/smtpmail.el (smtpmail-via-smtp):
9273 Set :use-starttls-if-possible so that we always use STARTTLS if the
9274 server supports it. SMTP servers that support STARTTLS commonly
9277 * net/network-stream.el (network-stream-open-starttls): Support
9278 upgrading to STARTTLS always, even if we don't have built-in support.
9279 (open-network-stream): Add the :always-query-capabilities keyword.
9281 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9282 upgrades with `open-network-stream', and rely solely on
9283 auth-source for all credentials. Big changes throughout the file,
9285 (smtpmail-auth-credentials): Remove.
9286 (smtpmail-starttls-credentials): Remove.
9287 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9290 * net/network-stream.el (network-stream-open-starttls):
9291 Provide support for client certificates both for external and built-in
9293 (auth-source): Require.
9294 (open-network-stream): Document the :client-certificate keyword.
9295 (network-stream-certificate): Change cert-cert to cert and
9298 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9300 * net/tramp-cache.el (top): Don't load the persistency file when
9301 "emacs -Q" has been called.
9303 2011-06-21 Tim Harper <timcharper@gmail.com>
9305 * term/ns-win.el (ns-initialize-window-system):
9306 Set application-specific `ApplePressAndHoldEnabled' system
9307 resource to NO as it is not yet supported by the NS port.
9309 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9311 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9312 (list-dynamic-libraries): ...not here.
9314 2011-06-21 Leo Liu <sdl.web@gmail.com>
9316 * subr.el (sha1): Implement sha1 using secure-hash.
9318 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9320 * window.el (display-buffer-alist): In default value do not
9321 enforce searching a window on any but the selected frame.
9322 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9323 (display-buffer-select-window): Remove function.
9324 (display-buffer-in-window): When a window on another frame gets
9325 reused, do not select it any more but just raise its frame if
9326 necessary (Bug#8851) and (Bug#8856).
9327 (display-buffer-normalize-options): Handle pop-up-frames related
9328 options more faithfully.
9329 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9330 window if it is on another frame.
9331 (display-buffer-alist, display-buffer-default-specifiers):
9332 Don't make new frame unsplittable by default.
9333 (display-buffer-normalize-argument): Fix doc-string typo and use
9334 'same-frame-other-window instead of 'other-window when associating
9335 with display-buffer-macro-specifiers.
9337 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9339 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9341 (5x5-mode-map, 5x5-mode-menu): Bind them.
9342 (5x5-draw-grid): Tweak the solver's rendering.
9344 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9346 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9347 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9349 2011-06-21 Drew Adams <drew.adams@oracle.com>
9351 * menu-bar.el: Use function variable instead of switch-to-buffer.
9352 (menu-bar-select-buffer-function): New variable.
9353 (menu-bar-update-buffers): Use it (bug#8876).
9355 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9360 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9362 * x-dnd.el (x-dnd-version-from-flags)
9363 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9364 and long as number (Bug#8899).
9365 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9367 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9370 (completion-try-completion, completion-all-completions): Compute the
9371 metadata argument if it's missing; make it optional (bug#8795).
9373 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9374 (widget-complete): Use new :completion-function property.
9375 (widget-completions-at-point): New function.
9376 (default): Use :completion-function instead of :complete.
9377 (widget-default-completions): Rename from widget-default-complete;
9379 (widget-string-complete, widget-file-complete, widget-color-complete):
9381 (file, symbol, function, variable, coding-system, color):
9382 * international/mule-cmds.el (default-input-method, charset)
9383 (language-info-custom-alist):
9384 * cus-edit.el (face): Use new property :completions.
9386 * progmodes/pascal.el (pascal-completions-at-point): New function.
9387 (pascal-mode): Use it.
9388 (pascal-mode-map): Use completion-at-point.
9389 (pascal-toggle-completions): Make obsolete.
9390 (pascal-complete-word, pascal-show-completions):
9391 * progmodes/octave-mod.el (octave-complete-symbol):
9392 Redefine as obsolete alias.
9393 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9394 Signal absence of completion info for old Octave,
9395 (inferior-octave-complete): Redefine as obsolete alias.
9396 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9397 (meta-completions-at-point): Rename from meta-complete-symbol and
9398 adapt it for use on completion-at-point-functions.
9399 (meta-common-mode): Use it.
9400 (meta-looking-at-backward, meta-match-buffer): Remove.
9401 (meta-complete-symbol): Redefine as obsolete alias.
9402 (meta-common-mode-map): Use completion-at-point.
9403 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9404 (makefile-mode-map): Use completion-at-point.
9405 (makefile-completions-at-point): Rename from makefile-complete and
9406 adapt it for use on completion-at-point-functions.
9407 (makefile-mode): Use it.
9408 (makefile-complete): Redefine as obsolete alias.
9410 2011-06-20 Deniz Dogan <deniz@dogan.se>
9412 * net/rcirc.el: Delete trailing whitespaces once and for all.
9414 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9416 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9418 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9420 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9422 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9424 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9426 * window.el (display-buffer-other-window-means-other-frame):
9427 Call display-buffer-normalize-alist.
9428 (display-buffer-normalize-specifiers-1): Rename to
9429 display-buffer-normalize-argument. New argument other-frame.
9431 (display-buffer-normalize-specifiers-2): Rename to
9432 display-buffer-normalize-options.
9433 (display-buffer-normalize-alist-1): New function.
9434 (display-buffer-normalize-specifiers-3): Rename to
9435 display-buffer-normalize-alist.
9436 Call display-buffer-normalize-alist-1.
9437 (display-buffer-normalize-options-inhibit): New variable.
9438 (display-buffer-normalize-specifiers): Rewrite calling
9439 display-buffer-normalize-alist,
9440 display-buffer-normalize-argument, and
9441 display-buffer-normalize-options. Don't call the latter if
9442 display-buffer-normalize-options-inhibit is non-nil.
9443 (frame-auto-delete): New option.
9444 (window-deletable-p): Use frame-auto-delete.
9445 (window-list-no-nils, window-state-ignored-parameters)
9446 (window-state-get-1, window-state-get, window-state-put-list)
9447 (window-state-put-1, window-state-put-2, window-state-put):
9449 (display-buffer-normalize-options): Move special-display-p group
9450 after pop-up-frame group (Bug#8851) and (Bug#8856).
9452 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9454 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9456 (rx-submatch-n): New function.
9459 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9462 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9464 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9466 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9467 anytime existing face settings are present (Bug#8889).
9469 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9470 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9471 Remove unused argument.
9473 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9475 * window.el (display-buffer-default-specifiers):
9476 Remove pop-up-frame. Add pop-up-window-min-height,
9477 pop-up-window-min-width, and another reuse-window specifier
9478 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9479 (display-buffer-normalize-specifiers-2):
9480 Handle split-height-threshold and split-width-threshold also when
9481 pop-up-windows is unset. Add a reuse-window specifier for the
9482 case popping up a new window fails.
9483 (special-display-popup-frame): Remove double quoting.
9484 (display-buffer-normalize-specifiers-1): Fix thinko.
9486 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9488 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9489 according to comint-completion-addsuffix.
9491 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9492 (pcomplete-suffix-list): Mark as obsolete.
9493 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9494 pcomplete-seen in the closure.
9495 (pcomplete-comint-setup): Setup completion-at-point as well.
9496 (pcomplete--entries): New function.
9497 (pcomplete--env-regexp): New var.
9498 (pcomplete-entries): Rewrite to work with partial-completion and
9499 without relying on pcomplete-suffix-list.
9500 (pcomplete-pare-list): Remove, unused.
9502 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9504 * window.el (display-buffer-alist): Set pop-up-window-min-height
9505 and pop-up-window-min-width in default value. Reported by
9506 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9507 other-window-means-other-frame.
9508 (display-buffer-macro-specifiers): Comment out entry for
9509 other-window specifier.
9510 (display-buffer-other-window-means-other-frame): New function.
9511 (display-buffer-normalize-specifiers-1): New arguments
9512 buffer-name and label. Treat other-window case specially.
9513 (display-buffer-normalize-specifiers-2): Treat other-window case
9515 (display-buffer-normalize-specifiers-3): New function.
9516 (display-buffer-normalize-specifiers):
9517 Call display-buffer-normalize-specifiers-3.
9519 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9521 * window.el (same-window-p): Fix two typos introduced when
9522 adding with-no-warnings.
9523 (display-buffer-normalize-specifiers-1): Don't check
9524 pop-up-frames for 'unset initialization.
9525 (display-buffer-normalize-specifiers-2): Major rewrite using
9526 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9527 (pop-up-frames, display-buffer-reuse-frames)
9528 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9529 Suggested by David Engster <deng@randomsample.de>.
9530 (even-window-heights): Initialize to 'unset.
9531 (display-buffer-alist-set): Handle new 'unset initializations.
9532 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9535 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9537 * window.el (display-buffer-normalize-specifiers-1):
9538 Respect current value of pop-up-frames for most reasonable values of
9539 second argument of display-buffer (Bug#8865).
9540 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9541 (switch-to-buffer-other-window-same-frame)
9542 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9544 (display-buffer): Don't check noninteractive when calling
9545 display-buffer-pop-up-frame.
9546 (display-buffer-pop-up-frame): Never pop up a frame in
9547 noninteractive mode (Bug#8857).
9548 (enlarge-window, shrink-window): Don't report an error when the
9549 window can't be resized as requested (Bug#8862).
9551 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9555 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9557 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9559 2011-06-15 Alan Mackenzie <acm@muc.de>
9561 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9562 for declarators, disable knr checking to speed up for normal files.
9563 2: Refactor, replacing a sequence of nested if forms by a cond form.
9565 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9567 * net/network-stream.el (open-network-stream): Add the keyword
9568 :always-query-capabilities for the case where you want to force a
9569 `plain' network connection, but the protocol still requires the
9570 capabilitiy command (i.e., SMTP and EHLO).
9572 * subr.el (process-live-p): Rename from `process-alive-p' for
9573 consistency with other `-live-p' functions.
9575 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9577 * window.el (same-window-buffer-names, same-window-regexps)
9578 (special-display-frame-alist, special-display-popup-frame)
9579 (special-display-function, special-display-buffer-names)
9580 (special-display-regexps, pop-up-frame-alist)
9581 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9582 (pop-up-windows, split-window-preferred-function)
9583 (split-height-threshold, split-width-threshold, even-window-heights)
9584 (display-buffer-mark-dedicated): Don't encourage the use of
9585 display-buffer-alist from Elisp code.
9587 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9589 * progmodes/python.el (python-mode): Derive from prog-mode.
9590 * progmodes/ps-mode.el (ps-mode):
9591 * progmodes/mixal-mode.el (mixal-mode):
9592 * progmodes/cfengine.el (cfengine-mode):
9593 * progmodes/ld-script.el (ld-script-mode): Likewise.
9595 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (display-buffer-alist): Trim default value to avoid
9598 popping up a new frame (Bug#8857) or reusing an arbitrary window
9600 (display-buffer): Do not fall back on popping up a new frame in
9601 batch mode (Bug#8857).
9603 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9605 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9606 (custom-theme-summary): New function.
9607 (customize-themes): Use it.
9609 2011-06-13 Glenn Morris <rgm@gnu.org>
9611 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9613 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9615 * help.el (help-window): Remove variable.
9616 (help-window-point-marker, temp-buffer-max-height)
9617 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9618 (help-print-return-message): Don't set help-window.
9619 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9620 (help-window-setup-finish): Remove.
9621 (help-window-display-message, help-window-setup)
9622 (with-help-window): Major rewrite based on new
9623 display-buffer-window variable.
9625 * help-mode.el (help-mode-finish): Remove help-window related
9628 * view.el (view-exits-all-viewing-windows): Remove reference to
9629 view-return-to-alist in doc-string.
9630 (view-return-to-alist): Make obsolete.
9631 (view-buffer): Call pop-to-buffer-same-window and remove
9633 (view-buffer-other-window): Call pop-to-buffer-other-window and
9634 simplify code. Ignore second argument.
9635 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9636 simplify code. Ignore second argument.
9637 (view-return-to-alist-update): Make obsolete.
9638 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9639 Rewrite using quit-restore window parameters.
9640 (view-mode-exit): Rename second argument to EXIT-ONLY.
9641 Rewrite using quit-restore-window.
9642 (View-exit, View-exit-and-edit, View-leave, View-quit)
9643 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9644 appropriate arguments.
9645 (view-end-message): Use quit-restore window parameter.
9647 * window.el (display-buffer-function): Rewrite doc-string.
9648 (display-buffer-window, display-buffer-alist): New variables.
9649 (display-buffer-split-specifiers)
9650 (display-buffer-side-specifiers)
9651 (display-buffer-macro-specifiers): New constants.
9652 (display-buffer-even-window-sizes, display-buffer-set-height)
9653 (display-buffer-set-width, display-buffer-select-window)
9654 (display-buffer-in-window, display-buffer-reuse-window)
9655 (display-buffer-split-window-1, display-buffer-split-window)
9656 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9657 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9658 (display-buffer-in-side-window, normalize-buffer-to-display)
9659 (display-buffer-normalize-specifiers-1)
9660 (display-buffer-normalize-specifiers-2)
9661 (display-buffer-normalize-specifiers, display-buffer-frame):
9663 (display-buffer): Major rewrite.
9664 (display-buffer-other-window, display-buffer-other-frame)
9665 (pop-to-buffer, switch-to-buffer-other-window)
9666 (switch-to-buffer-other-frame): Rewrite.
9667 (display-buffer-same-window, display-buffer-same-frame)
9668 (display-buffer-same-frame-other-window)
9669 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9670 (pop-to-buffer-other-window)
9671 (pop-to-buffer-same-frame-other-window)
9672 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9673 (switch-to-buffer-other-window-same-frame): New functions.
9674 (same-window-p, special-display-p): Rewrite disabling warnings.
9676 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9677 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9679 (same-window-buffer-names, same-window-regexps)
9680 (special-display-frame-alist, special-display-popup-frame)
9681 (special-display-function, special-display-buffer-names)
9682 (special-display-regexps, pop-up-frame-alist)
9683 (pop-up-frame-function, split-window-preferred-function)
9684 (split-height-threshold, split-width-threshold)
9685 (even-window-heights): Make obsolete.
9687 2011-06-12 Glenn Morris <rgm@gnu.org>
9689 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9690 Misc simplifications.
9692 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9694 * window.el (window-safely-shrinkable-p): Restore function which
9695 was inadvertently removed in change from 2011-06-11. Declare as
9698 * calendar/calendar.el (calendar-generate-window):
9699 Use window-iso-combined-p instead of combination of one-window-p and
9700 window-safely-shrinkable-p.
9702 2011-06-12 Glenn Morris <rgm@gnu.org>
9704 * progmodes/fortran.el (fortran-mode-syntax-table):
9705 * progmodes/f90.el (f90-mode-syntax-table):
9706 Set % to punctuation. (Bug#8820)
9707 (f90-find-tag-default): Remove, no longer needed.
9709 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9711 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9713 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9715 * image.el (image-animated-p): Return animation delay in seconds.
9716 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9717 (image-animate-timeout): Remove DELAY argument. Don't assume
9718 every subimage has the same delay; get it from image-animated-p.
9719 (image-animate): Caller changed.
9721 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9723 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9724 to ignored backtrace functions.
9726 2011-06-11 Glenn Morris <rgm@gnu.org>
9728 * calendar/appt.el (appt-disp-window-function): Doc fix.
9729 (appt-check): Handle overlapping appointments. (Bug#8337)
9731 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9733 * window.el (window-tree-1, window-tree): New functions, moving
9734 the latter to window.el.
9735 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9736 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9737 (bw-refresh-edges): Remove.
9738 (balance-windows-1, balance-windows-2): New functions.
9739 (balance-windows): Rewrite in terms of window tree functions,
9740 balance-windows-1 and balance-windows-2.
9741 (bw-adjust-window): Remove.
9742 (balance-windows-area-adjust): New function with functionality of
9743 bw-adjust-window but using resize-window.
9744 (set-window-text-height): Rewrite doc-string.
9745 Use normalize-live-window and resize-window.
9746 (enlarge-window-horizontally, shrink-window-horizontally):
9747 Rename argument to DELTA.
9748 (window-buffer-height): New function.
9749 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9750 Rewrite using new window resize routines.
9751 (kill-buffer-and-window, mouse-autoselect-window-select):
9752 Use ignore-errors instead of condition-case.
9753 (quit-window): Call delete-frame instead of delete-windows-on
9754 for the only buffer on frame.
9756 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9758 * loadup.el (top-level): Load window before files for the sake
9759 of replace-buffer-in-windows.
9761 * files.el (read-buffer-to-switch)
9762 (switch-to-buffer-other-window)
9763 (switch-to-buffer-other-frame, display-buffer-other-frame):
9766 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9767 (previous-buffer): Move to window.el.
9769 * bindings.el (unbury-buffer): Move to window.el.
9771 * window.el (delete-other-windows-vertically): Move after
9772 definition of delete-other-windows.
9773 (other-window, delete-windows-on, replace-buffer-in-windows):
9774 Move here from window.c.
9775 (record-window-buffer, unrecord-window-buffer)
9776 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9777 (switch-to-next-buffer): New functions.
9778 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9779 from simple.el. Call switch-to-next-buffer.
9780 (previous-buffer): Move here from simple.el.
9781 Call switch-to-prev-buffer.
9782 (bury-buffer): Move here from buffer.c. Switch to previous
9783 buffer when window cannot be deleted.
9784 (unbury-buffer): Move here from bindings.el.
9785 (ctl-x-map): Move binding for other-window from window.c to
9787 (read-buffer-to-switch, switch-to-buffer-other-window)
9788 (switch-to-buffer-other-frame): Move here from files.el.
9789 (normalize-buffer-to-switch-to): New functions.
9790 (switch-to-buffer): Move here from buffer.c.
9791 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9793 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9795 * window.el (window-min-height, window-min-width): Move here
9796 from window.c. Add defcustoms and rewrite doc-strings.
9797 (resize-mini-window, resize-window): New functions.
9798 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9799 Move here from window.c.
9800 (maximize-window, minimize-window): New functions.
9801 (delete-window, delete-other-windows, split-window): Move here
9803 (window-split-min-size): New function.
9804 (split-window-keep-point): Mention split-window-above-each-other
9805 instead of split-window-vertically.
9806 (split-window-above-each-other, split-window-vertically):
9807 Rename split-window-vertically to split-window-above-each-other
9808 and provide defalias for old definition.
9809 (split-window-side-by-side, split-window-horizontally):
9810 Rename split-window-horizontally to split-window-side-by-side
9811 and provide defalias for the old definition.
9812 (ctl-x-map): Move bindings for delete-window,
9813 delete-other-windows and enlarge-window here from window.c.
9814 Replace bindings for split-window-vertically and
9815 split-window-horizontally by bindings for
9816 split-window-above-each-other and split-window-side-by-side.
9818 * cus-start.el (all): Remove entries for window-min-height and
9819 window-min-width. Add entries for window-splits and
9822 2011-06-09 Glenn Morris <rgm@gnu.org>
9824 * calendar/appt.el (appt-mode-line): New function.
9825 (appt-check, appt-disp-window): Use it.
9827 * files.el (hack-one-local-variable-eval-safep):
9828 Allow minor-modes with explicit +/-1 arguments.
9830 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9832 * term/xterm.el (xterm): Add defgroup.
9833 (xterm-extra-capabilities): Add defcustom to supply known xterm
9834 capabilities, skip querying them, or query them (default).
9835 (terminal-init-xterm): Use it.
9836 (terminal-init-xterm-modify-other-keys): New function to set up
9837 modifyOtherKeys support to simplify `terminal-init-xterm'.
9839 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9841 * window.el (resize-window-reset, resize-window-reset-1)
9842 (resize-subwindows-skip-p, resize-subwindows-normal)
9843 (resize-subwindows, resize-other-windows, resize-this-window)
9844 (resize-root-window, resize-root-window-vertically)
9845 (window-deletable-p, window-or-subwindow-p)
9846 (frame-root-window-p): New functions.
9848 2011-06-09 Glenn Morris <rgm@gnu.org>
9850 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9851 (ange-ftp-get-files): Use it.
9853 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9855 * mail/sendmail.el (mail-recover-1, mail-recover):
9856 * files.el (recover-file, recover-session):
9857 Handle dired-listing-switches not being just a single short option.
9859 2011-06-09 Glenn Morris <rgm@gnu.org>
9861 * calendar/appt.el (appt-display-message, appt-disp-window):
9862 Handle lists of appointments.
9864 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9866 * window.el (one-window-p): Move down in code.
9868 (window-current-scroll-bars): Rewrite doc-string.
9869 Normalize live window argument.
9870 (walk-windows, get-window-with-predicate, count-windows):
9871 Rewrite doc-string. Use window-list-1.
9872 (window-in-direction-2, window-in-direction, get-mru-window):
9875 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9877 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9880 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9882 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9884 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9886 * loadhist.el (unload-feature-special-hooks):
9887 Add `comint-output-filter-functions'.
9889 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9891 * calendar/appt.el (appt-check): Move some initializations into the let.
9893 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9895 * window.el (window-height): Defalias to window-total-height.
9896 (window-width): Defalias to window-body-width.
9898 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9900 * image-mode.el (image-toggle-animation): New command.
9901 (image-mode-map): Bind it to RET.
9902 (image-mode): Update message.
9903 (image-toggle-display-image): Avoid a spurious cache flush.
9904 (image-transform-rotation): Doc fix.
9905 (image-transform-properties): Return quickly in the normal case.
9906 (image-animate-loop): Rename from image-animate-max-time.
9908 * image.el (image-animate-max-time): Move to image-mode.el.
9909 (create-animated-image): Remove unnecessary function.
9910 (image-animate): Rename from image-animate-start. New arg.
9911 (image-animate-stop): Remove; just use image-animate-timer.
9912 (image-animate-timer): Use car-safe.
9913 (image-animate-timeout): Rename argument.
9915 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9917 * window.el (get-lru-window, get-largest-window): Move here from
9918 window.c. Rename first argument to ALL-FRAMES.
9919 Rephrase doc-strings.
9920 (get-buffer-window-list): Rewrite using window-list-1.
9921 Rephrase doc-string.
9922 (window-safe-min-height, window-safe-min-width): New constants.
9923 (window-size-ignore, window-min-size, window-min-size-1)
9924 (window-sizable, window-sizable-p, window-size-fixed-1)
9925 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9926 (window-max-delta-1, window-max-delta, window-resizable)
9927 (window-resizable-p, window-total-height, window-total-width)
9928 (window-body-width): New functions.
9929 (window-full-height-p, window-full-width-p): Rewrite using
9931 (window-body-height): Rewrite using window-body-size.
9933 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9935 * window.el (window-right, window-left, window-child)
9936 (window-child-count, window-last-child, window-any-p)
9937 (normalize-live-buffer, normalize-live-frame)
9938 (normalize-any-window, normalize-live-window)
9939 (window-iso-combination-p, window-iso-combined-p)
9940 (window-iso-combinations)
9941 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9942 (windows-with-parameter, window-with-parameter)
9943 (window-atom-root, make-window-atom, window-atom-check-1)
9944 (window-atom-check, window-side-check, window-check):
9946 (ignore-window-parameters, window-sides, window-sides-vertical)
9947 (window-sides-slots): New variables.
9948 (window-size-fixed): Move down in code. Minor doc-string fix.
9950 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9952 * comint.el (comint-dynamic-complete-as-filename)
9953 (comint-dynamic-complete-filename): Correctly call
9954 completion-in-region.
9956 2011-06-05 Deniz Dogan <deniz@dogan.se>
9958 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9961 2011-06-05 Deniz Dogan <deniz@dogan.se>
9963 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9964 (rcirc): Use it to prompt for encryption.
9966 2011-06-05 Roland Winkler <winkler@gnu.org>
9968 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9969 (bibtex-search-entries): New command bound to C-c C-a.
9970 (bibtex-display-entries): New function.
9972 2011-06-05 Roland Winkler <winkler@gnu.org>
9974 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9975 (bibtex-insert-kill): After yanking insert newline if necessary.
9976 (bibtex-initialize): Call bibtex-string-files-init only once.
9977 (bibtex-mode): Do not call easy-menu-add.
9978 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9979 (bibtex-yank): Set arg properly if nil.
9981 2011-06-05 Roland Winkler <winkler@gnu.org>
9983 * textmodes/bibtex.el (bibtex-search-entry-globally):
9985 (bibtex-search-entry): Use it.
9987 2011-06-05 Roland Winkler <winkler@gnu.org>
9989 * textmodes/bibtex.el (bibtex-entry-format): New option
9991 (bibtex-format-entry, bibtex-reformat): Honor this option.
9992 (bibtex-parse-entry): Return fields in proper order.
9994 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9996 * doc-view.el (doc-view-remove-if): Move computation of result out
9997 of `dolist' to silence misleading lexical-binding warning.
9999 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10001 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10002 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10004 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10006 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10009 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10011 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10012 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10013 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10014 (tramp-parse-putty):
10015 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10016 (tramp-completion-function-alist-ssh)
10017 (tramp-completion-function-alist-telnet)
10018 (tramp-completion-function-alist-su)
10019 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10022 * net/tramp-ftp.el:
10024 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10025 load "tramp.el" `tramp-set-completion-function'.
10027 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10029 * shell.el: Require and use pcomplete.
10030 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10031 (shell-completion-vars): Set pcomplete-default-completion-function.
10033 2011-06-04 Deniz Dogan <deniz@dogan.se>
10035 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10038 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10042 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10044 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10045 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10046 * vc/log-view.el (log-view-beginning-of-defun):
10047 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10048 (smerge-refine-forward, smerge-refine-chopup-region):
10049 Silence warning for unused `dotimes' counter variables.
10051 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * net/tramp.el (tramp-with-progress-reporter): Rename from
10054 with-progress-reporter. Use `declare'.
10055 * net/tramp-smb.el:
10057 * net/tramp-gvfs.el: Update all uses.
10059 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10061 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10062 buffer isn't killed before making it current.
10064 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10066 Silence various byte-compiler warnings.
10067 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10068 `access-type' and new obsolescence format.
10069 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10071 (byte-compile-check-variable): New `access-type' argument.
10072 Only warn if the access-type is obsolete.
10073 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10074 (byte-compile-variable-set): Adjust callers.
10075 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10076 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10077 setting it as obsolete.
10078 * simple.el (minibuffer-completing-symbol):
10079 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10080 access as obsolete.
10081 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10083 * international/quail.el (quail-mouse-choose-completion): Remove unused
10084 code referring to obsolete var.
10085 (quail-choose-completion-string): Remove.
10086 * server.el (server-clients-with, server-kill-buffer-query-function)
10087 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10088 * proced.el (proced-send-signal):
10089 * emacs-lisp/lisp.el (lisp-complete-symbol):
10090 Replace completion-annotate-function with completion-extra-properties.
10092 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10094 * simple.el (goto-line): Use read-number.
10095 (overriding-map-is-bound): Remove.
10096 (saved-overriding-map): Change default.
10097 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10098 Take the map as argument.
10099 (universal-argument, negative-argument, digit-argument): Use it.
10100 (restore-overriding-map): Adjust.
10101 (do-auto-fill): Use fill-forward-paragraph.
10102 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10104 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10105 (minibuffer-inactive-mode): New major mode.
10106 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10107 the *Messages* buffer" hack.
10108 (mouse-popup-menubar): Don't burp if the event is a normal key.
10110 Miscellaneous tweaks.
10111 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10112 lexical scoping as in subr.el's dolist and dotimes.
10113 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10114 Silence compiler warning.
10115 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10116 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10117 * international/ccl.el (ccl-compile): Trivial simplification.
10118 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10119 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10120 `printflag' argument.
10121 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10122 Purecopy the whole obsolescence data.
10124 2011-06-01 Leo Liu <sdl.web@gmail.com>
10126 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10127 improve doc-string as suggested by Marco Pessotto
10128 <melmothx@gmail.com>.
10129 (rcirc-print): Fix last change.
10131 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10133 * minibuffer.el (complete-with-action): Return nil for the metadata and
10134 boundaries of non-functional tables.
10135 (completion-table-dynamic): Return nil for the metadata.
10136 (completion-table-with-terminator): Add default case, using
10137 complete-with-action.
10138 (completion--metadata): New function.
10139 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10140 to try and avoid pathological performance problems.
10141 (completion--embedded-envvar-table): Return `category' metadata.
10143 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10145 * subr.el (process-alive-p): New tiny convenience function.
10147 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10150 content but also its previous major mode.
10152 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10154 * emacs-lisp/debug.el (debug): Restore the previous content of the
10155 *Backtrace* buffer when we exit with C-M-c.
10157 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * minibuffer.el: Add metadata method to completion tables.
10160 (completion-category-overrides): New defcustom.
10161 (completion-metadata, completion--field-metadata)
10162 (completion-metadata-get, completion--styles)
10163 (completion--cycle-threshold): New functions.
10164 (completion-try-completion, completion-all-completions):
10165 Add `metadata' argument to choose completion-styles.
10166 (completion--do-completion): Use metadata to choose cycling.
10167 (completion-all-sorted-completions): Use metadata for sorting.
10168 Remove :completion-cycle-penalty which is not needed any more.
10169 (completion--try-word-completion): Add `metadata' argument.
10170 (minibuffer-completion-help): Check metadata for annotation function
10172 (completion-file-name-table): Return `category' metadata.
10173 (minibuffer-completing-file-name): Make obsolete.
10174 * simple.el (minibuffer-completing-symbol): Make obsolete.
10175 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10176 completion-try-completion.
10178 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10182 2011-05-30 Leo Liu <sdl.web@gmail.com>
10184 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10185 (rcirc-print): Decode all incoming messages (bug#8744).
10186 (rcirc-decode-coding-system): Allow value nil for automatic coding
10189 2011-06-01 Glenn Morris <rgm@gnu.org>
10191 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10193 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10195 * image.el (image-animate-max-time): Allow nil and t values.
10197 (create-animated-image): Doc fix.
10198 (image-animate-start): Remove second arg; just use
10199 image-animate-max-time.
10200 (image-animate-timeout): Doc fix. Args changed.
10202 * image-mode.el (image-toggle-display-image): Ensure that the
10203 image spec passed to the animate timer is the same object as in
10204 the buffer's display property (Bug#6981).
10205 (image-transform-properties): Doc fix.
10207 * image.el (image-animate-max-time): Default to nil.
10209 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10211 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10212 entire buffer list (Bug#8184).
10214 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10216 * image.el (imagemagick-types-inhibit)
10217 (imagemagick-register-types): Doc fix.
10219 2011-05-29 Deniz Dogan <deniz@dogan.se>
10221 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10224 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10226 * select.el: Don't perform clipboard-manager saving in hooks;
10227 leave the hooks empty.
10229 2011-05-28 Leo Liu <sdl.web@gmail.com>
10231 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10232 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10233 (occur-edit-mode): New major mode (Bug#8463).
10234 (occur-after-change-function): New function.
10235 (occur-engine): Give Occur tags a read-only property.
10237 2011-05-28 Kevin Ryde <user42@zip.com.au>
10239 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10241 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10243 * bindings.el (help-echo): Make the initial non-indicator dash
10244 empty on graphical terminals (Bug#7295).
10246 * files.el (auto-mode-alist): Move config rule after the
10247 in-stripping one (Bug#8547).
10249 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10251 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10252 setting (Bug#8740).
10254 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10256 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10257 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10260 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10262 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10264 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10266 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10267 (hs-hide-block-at-point, hs-find-block-beginning)
10268 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10271 2011-05-28 Glenn Morris <rgm@gnu.org>
10273 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10275 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10277 * help-fns.el (describe-function-1): If the function is a derived
10278 major mode, print the parent mode.
10280 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10281 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10283 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10285 * minibuffer.el (completion--capf-wrapper): Check applicability before
10286 returning non-nil for non-exclusive completion data.
10287 * progmodes/etags.el (tags-completion-at-point-function):
10288 * info-look.el (info-lookup-completions-at-point): Mark as
10290 (info-complete): Adjust accordingly.
10292 * info-look.el: Convert to lexical-binding and completion-at-point.
10293 (info-lookup-completions-at-point): New function.
10294 (info-complete): Use it and completion-in-region.
10296 2011-05-28 Drew Adams <drew.adams@oracle.com>
10298 * isearch.el: Let M-e start with point at the first mismatched char.
10299 (isearch-fail-pos): New function.
10300 (isearch-edit-string): Use it.
10302 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10304 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10306 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10308 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10309 traversal functions for avl-trees.
10310 (avl-tree--stack): New struct.
10311 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10312 (avl-tree-enter): Add optional `updatefun' arg.
10313 (avl-tree--do-enter): Add optional `updatefun' arg.
10314 Change return value.
10315 (avl-tree-delete): Add optional `test' and `nilflag' args.
10316 (avl-tree--do-delete): Add `test' and `nilflag' args.
10317 Change return value.
10318 (avl-tree-member): Add optional `nilflag'
10319 (avl-tree-member-p): New function.
10320 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10321 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10322 (avl-tree-stack-empty-p): New functions.
10324 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10325 avl-tree--del-balance1 and make it work both ways.
10326 (avl-tree--del-balance2): Remove.
10327 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10328 make it work both ways.
10329 (avl-tree--enter-balance2): Remove.
10330 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10332 (avl-tree--mapc, avl-tree-map): Add direction argument.
10334 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10336 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10338 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10340 * select.el: Support clipboard managers with built-in function
10341 x-clipboard-manager-save, via delete-frame-functions and
10343 (xselect-convert-to-targets): Add MULTIPLE target to list.
10344 (xselect-convert-to-save-targets): New function.
10346 2011-05-27 Kenichi Handa <handa@m17n.org>
10348 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10349 let-binding rfc2047-encode-encoded-words to nil.
10351 2011-05-27 Glenn Morris <rgm@gnu.org>
10353 * mail/emacsbug.el: Don't require url-util.
10355 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10357 * files.el (set-auto-mode):
10358 Also respect mode: entries at the end of the file. (Bug#8586)
10360 2011-05-26 Glenn Morris <rgm@gnu.org>
10362 * files.el (hack-local-variables-prop-line, hack-local-variables):
10363 Downcase mode names, as seems to be traditional.
10364 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10366 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10367 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10369 2011-05-25 Julien Danjou <julien@danjou.info>
10371 * textmodes/rst.el (rst-define-level-faces): Do not define face
10372 symbol if it is already defined.
10374 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10376 * play/5x5.el (5x5-new-game, 5x5-randomize):
10377 Reset 5x5-solver-output to nil when a new grid is cast.
10378 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10379 these debugging traces, as defmacro breaks the compiled code.
10381 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10383 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10385 2011-05-24 Leo Liu <sdl.web@gmail.com>
10387 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10388 (vc-bzr-sha1): Adapt.
10390 * sha1.el: Remove. Function `sha1' is now builtin.
10392 * bindings.el: Provide sha1 feature.
10394 2011-05-24 Kenichi Handa <handa@m17n.org>
10396 * mail/sendmail.el: Require `rfc2047'.
10397 (mail-insert-from-field): Do not perform RFC2047 encoding.
10398 (mail-encode-header): New function.
10399 (sendmail-send-it): Set buffer-file-coding-system of the work
10400 buffer to the return value of select-message-coding-system.
10401 Call mail-encode-header.
10403 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10405 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10407 * mail/supercite.el (sc-default-cite-frame):
10408 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10410 2011-05-24 Glenn Morris <rgm@gnu.org>
10412 * progmodes/python.el (brm-menu): Declare.
10414 * emulation/viper.el (viper-set-hooks): Declare.
10416 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10417 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10418 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10419 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10420 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10421 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10423 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10425 Add an :exit-function for completion-at-point.
10427 * minibuffer.el (completion--done): New fun.
10428 (completion--do-completion): Use it. New arg `expect-exact'.
10429 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10430 since completion--do-completion does it for us now.
10431 (minibuffer-force-complete): Use completion--done and
10432 completion--replace. Handle sole-completion case with more care.
10433 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10434 (completion-extra-properties): New var.
10435 (completion-annotate-function): Make obsolete.
10436 (minibuffer-completion-help): Adjust accordingly.
10437 Use completion-list-insert-choice-function.
10438 (completion-at-point, completion-help-at-point):
10439 Bind completion-extra-properties.
10440 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10441 * simple.el (completion-list-insert-choice-function): New var.
10442 (completion-setup-function): Preserve it.
10443 (choose-completion): Pay attention to it, shuffle the code a bit.
10444 (choose-completion-string): New arg `insert-function'.
10446 * textmodes/bibtex.el: Convert to lexical binding.
10447 (bibtex-mode-map): Use completion-at-point.
10448 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10449 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10450 (bibtex-complete): Define as obsolete alias.
10451 (bibtex-complete-internal): Remove.
10452 (bibtex-format-entry): Remove unused sub-group in regexp.
10453 * shell.el (shell--command-completion-data)
10454 (shell-environment-variable-completion):
10455 * pcomplete.el (pcomplete-completions-at-point):
10456 * comint.el (comint--complete-file-name-data): Use :exit-function
10457 instead of completion-table-with-terminator so it also works for
10460 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10464 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10467 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10469 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10471 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10472 customization variable and implement: If non-nil, auto-fill will
10473 be inhibited while on topic's header line.
10475 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10477 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10478 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10479 always have a solution in grid size = 5 cases.
10480 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10481 (5x5-solver-output, 5x5-log-buffer): New vars.
10482 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10483 Make these variables buffer local to achieve 5x5 multi-session-ness.
10484 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10485 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10486 (5x5-solve-suggest): New funs.
10487 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10488 randomize a grid so that we ensure that there is always a solution.
10489 (5x5-make-random-grid): Allow other movement than flipping.
10491 2011-05-23 Kevin Ryde <user42@zip.com.au>
10493 * emacs-lisp/advice.el (ad-read-advised-function):
10494 Use `function-called-at-point' as the default, if it has
10495 advice and passes PREDICATE.
10497 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10500 byte-compile-lambda if it's actually a lambda.
10502 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10503 Fix function quoting. Use backquote better.
10505 2011-05-22 Yuanle Song <sylecn@gmail.com>
10507 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10508 matching (Bug#8516).
10510 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10512 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10513 different face (Bug#8178).
10515 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10517 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10518 defface (Bug#8144).
10520 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10523 funcall as well (bug#8712). Warn when performing those conversions.
10524 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10526 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10528 2011-05-22 Glenn Morris <rgm@gnu.org>
10530 * files.el (hack-local-variables-prop-line): Small simplifications.
10531 (hack-local-variables, hack-local-variables-prop-line):
10532 If MODE-ONLY, return the mode, rather than just `t'.
10534 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10538 2011-05-21 Glenn Morris <rgm@gnu.org>
10540 * files.el (hack-local-variables-prop-line, hack-local-variables):
10541 If only interested in the mode, don't bother doing the other stuff.
10543 * image-mode.el (image-after-revert-hook):
10544 Redraw all frames on which the image is visible. (Bug#8567)
10546 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10548 * wid-edit.el (widget-checklist-match-inline):
10549 Fix 2011-04-19 change. (Bug#8649)
10551 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10553 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10554 Also allow singlespace after single-letter capitals followed by a dot.
10556 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10557 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10559 2011-05-20 Nix <nix@esperi.org.uk>
10561 * files.el (basic-save-buffer-2):
10562 Fix handling of break-hardlink-on-save with non-existent files.
10564 2011-05-19 Deniz Dogan <deniz@dogan.se>
10566 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10567 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10569 2011-05-19 Glenn Morris <rgm@gnu.org>
10571 * progmodes/f90.el (f90-type-def-re):
10572 Handle "type, bind(c)". (Bug#8691)
10574 * emacs-lisp/autoload.el (batch-update-autoloads):
10575 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10577 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10579 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10580 property for the correct connection in case of multihops.
10582 2011-05-18 Glenn Morris <rgm@gnu.org>
10584 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10585 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10587 Rationalize calendar handling of day and month abbrev-arrays.
10588 * calendar/calendar.el (calendar-customized-p): New function.
10589 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10590 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10592 (calendar-abbrev-length, calendar-day-abbrev-array)
10593 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10594 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10595 Elements may no longer be nil.
10596 (calendar-day-name, calendar-month-name):
10597 Update for changed nature of abbrev arrays.
10598 * calendar/diary-lib.el (diary-name-pattern):
10599 Update for changed nature of abbrev arrays.
10600 (diary-mark-entries-1): Update calendar-make-alist calls.
10601 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10602 * calendar/cal-html.el (cal-html-day-abbrev-array):
10603 Simply inherit from calendar-day-abbrev-array.
10605 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10607 * progmodes/grep.el (grep-mode): Disable default
10608 compilation-directory-matcher setting (bug#8684).
10610 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10612 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10613 instead of "head" and "tail". There were problems with SunOS 5.9,
10614 and it performs better.
10616 2011-05-17 Glenn Morris <rgm@gnu.org>
10618 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10620 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10621 Replace obsolete function.
10623 * shell.el (pcomplete-parse-arguments-function): Declare.
10625 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10626 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10627 (appt-check): Doc fixes.
10628 (appt-disp-window-function, appt-delete-window-function):
10629 Remove needless special case in custom :type.
10630 (appt-display-count): Default to 0, not nil.
10631 (appt-check): Reset appt-display-count to 0, not nil.
10633 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10635 * progmodes/python.el (python-font-lock-keywords):
10636 Add the Python 3.X keyword "nonlocal" (bug#8639).
10638 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10642 2011-05-16 Kevin Ryde <user42@zip.com.au>
10644 * info-look.el (makefile-automake-mode): New setups, looking in
10645 automake manual, then makefile-mode.
10646 (makefile-mode): Remove automake manual, have it just in
10647 makefile-automake-mode since there's various things different or
10648 not relevant to plain make.
10649 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10650 believe a hypothetical automake-mode would go to makefile-mode,
10651 not the other way around.
10653 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10655 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10656 hunk-end tags (Bug#8672).
10658 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10659 vc-annotate-show-diff-revision-at-line (Bug#8671).
10661 2011-05-14 Glenn Morris <rgm@gnu.org>
10663 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10664 in the middle of an existing one with multiple authors. (Bug#8645)
10665 (change-log-font-lock-keywords): Also handle multiple author lines
10666 with leading tabs. (Bug#8644)
10668 * calendar/appt.el (appt-check): Rename some local variables.
10669 Some simplification/reordering.
10671 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10672 (feedmail-sendmail-f-doesnt-sell-me-out)
10673 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10674 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10675 (feedmail-queue-runner-message-sender): Set :version.
10676 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10677 (bbdb-dwim-net-address, vm-mail): Declare.
10678 (feedmail-binmail-gnulinuxish-template):
10679 Rename from feedmail-binmail-linuxish-template.
10680 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10681 Use insert-buffer-substring.
10683 2011-05-14 Bill Carpenter <bill@carpenter.org>
10685 * mail/feedmail.el (feedmail-patch-level): Increase.
10686 (feedmail-debug): New custom group.
10687 (feedmail-confirm-outgoing-timeout)
10688 (feedmail-sendmail-f-doesnt-sell-me-out)
10689 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10690 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10691 (feedmail-sender-line, feedmail-from-line)
10692 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10693 (feedmail-spray-this-address)
10694 (feedmail-spray-address-fiddle-plex-list)
10695 (feedmail-queue-use-send-time-for-date)
10696 (feedmail-queue-use-send-time-for-message-id)
10697 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10698 (feedmail-buffer-eating-function):
10700 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10701 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10702 (feedmail-message-action-scroll-down): New functions.
10703 (feedmail-queue-directory, feedmail-queue-draft-directory):
10704 Use expand-file-name.
10705 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10706 Remove C-v help entry.
10707 (feedmail-queue-buffer-file-name): New variable.
10708 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10709 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10710 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10711 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10712 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10713 (feedmail-message-action-toggle-spray)
10714 (feedmail-run-the-queue-no-prompts)
10715 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10716 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10717 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10718 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10719 (feedmail-envelope-deducer, feedmail-fiddle-from)
10720 (feedmail-fiddle-sender, feedmail-default-date-generator)
10721 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10722 (feedmail-fiddle-spray-address)
10723 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10724 (feedmail-fiddle-list-of-fiddle-plexes)
10725 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10726 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10727 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10728 Change default. Doc fix.
10729 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10730 (feedmail-binmail-linuxish-template): New constant.
10731 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10732 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10733 (feedmail-send-it): Add debug call.
10734 Use feedmail-queue-buffer-file-name, and
10735 feedmail-send-it-immediately-wrapper.
10736 (feedmail-message-action-send): Add debug call.
10737 Use feedmail-send-it-immediately-wrapper.
10738 (feedmail-queue-express-to-queue): Add debug call.
10739 Run feedmail-queue-express-hook.
10740 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10741 (feedmail-message-action-help-blat):
10742 Rename from feedmail-queue-send-edit-prompt-help-first.
10743 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10744 Check line-endings. Handle errors better.
10745 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10746 Doc fix. Add debug call.
10747 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10748 Use feedmail-queue-send-edit-prompt-inner.
10749 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10750 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10751 from feedmail-queue-send-edit-prompt.
10752 (feedmail-queue-send-edit-prompt-help)
10753 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10754 (feedmail-tidy-up-slug): Add debug call.
10755 Respect feedmail-queue-slug-suspect-regexp.
10756 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10757 (feedmail-dump-message-to-queue): Add debug call.
10758 Expand queue-directory.
10759 (feedmail-dump-message-to-queue): Change message slightly.
10760 Use feedmail-say-chatter.
10761 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10762 (feedmail-send-it-immediately-wrapper): New function.
10763 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10764 Insert empty string rather than newline. Handle full-frame case.
10765 Use catch/throw. Use feedmail-say-chatter.
10766 (feedmail-fiddle-from): Try mail-host-address.
10767 (feedmail-default-message-id-generator): Doc fix.
10768 Bind system-time-locale. Handle missing end.
10769 (feedmail-fiddle-x-mailer): Add debug call.
10770 Handle feedmail-x-mailer-line being nil.
10771 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10772 Add debug call. Use buffer-substring-no-properties.
10773 (feedmail-say-debug, feedmail-say-chatter): New functions.
10774 (feedmail-find-eoh): Give an explicit error.
10776 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10778 * net/newst-treeview.el (newsticker-treeview-face): Change default
10779 family from helvetica to sans.
10780 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10781 etc/images/newsticker.
10783 * net/newst-reader.el (newsticker-feed-face): Change default
10784 family from helvetica to sans.
10786 * net/newst-plainview.el (newsticker-new-item-face)
10787 (newsticker-old-item-face, newsticker-immortal-item-face)
10788 (newsticker-obsolete-item-face, newsticker-date-face)
10789 (newsticker-statistics-face): Change default family from
10791 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10792 etc/images/newsticker.
10794 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10795 (newsticker--process-auto-mark-filter-match): Tell user about
10798 2011-05-13 Didier Verna <didier@xemacs.org>
10800 Common Lisp indentation improvements on defmethod and lambda-lists.
10801 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10803 (lisp-lambda-list-keyword-parameter-indentation)
10804 (lisp-lambda-list-keyword-parameter-alignment)
10805 (lisp-lambda-list-keyword-alignment): New customizable user options.
10806 (lisp-indent-defun-method): Improve docstring.
10807 (extended-loop-p): Fix comment.
10808 (lisp-indent-lambda-list-keywords-regexp): New variable.
10809 (lisp-indent-lambda-list): New function.
10810 (lisp-indent-259): Use it.
10811 (lisp-indent-defmethod): Support for more than one
10812 method qualifier and properly indent methods lambda-lists.
10813 (defgeneric): Provide a missing common-lisp-indent-function property.
10815 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10818 bounds for the empty string (bug#8667).
10820 2011-05-13 Glenn Morris <rgm@gnu.org>
10822 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10824 * mail/sendmail.el (sendmail-program): Try executable-find first.
10825 (sendmail-send-it): `sendmail-program' cannot be unbound.
10827 * calendar/appt.el (appt-make-list): Simplify.
10828 (appt-time-msg-list): Doc fix.
10829 (appt-check): Change mode-line message at the time of the appointment.
10831 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10833 * progmodes/ld-script.el (ld-script-keywords)
10834 (ld-script-builtins): Update keywords list.
10836 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10840 * shell.el (shell-completion-vars): New function.
10842 * simple.el (read-shell-command): Use it.
10843 (blink-matching-open): No need for " [...]" in minibuffer-message.
10845 2011-05-12 Glenn Morris <rgm@gnu.org>
10847 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10848 (appt-check): Simplify.
10850 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10852 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10853 literal "/dev/null".
10855 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10860 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10862 * progmodes/which-func.el (which-function):
10863 Use add-log-current-defun instead of add-log-current-defun-function,
10864 which might not be defined (Bug#8260).
10866 2011-05-12 Glenn Morris <rgm@gnu.org>
10868 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10869 Let byte-compile-initial-macro-environment always take precedence.
10871 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * net/rcirc.el: Add support for SSL/TLS connections.
10874 (rcirc-server-alist): New field `encryption'.
10875 (rcirc): Check `encryption' settings.
10876 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10877 Merge make-local-variable into `set'.
10878 (rcirc--connection-open-p): New function.
10879 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10880 the process is not a network process (e.g. running gnutls-cli).
10881 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10882 Make rcirc-(en|de)code-coding-system local here.
10883 (rcirc-mode): Merge make-local-variable into `set'.
10884 (rcirc-parent-buffer): Make permanent buffer-local.
10885 (rcirc-multiline-minor-mode): Don't do it here.
10886 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10887 there's no server buffer.
10889 2011-05-11 Glenn Morris <rgm@gnu.org>
10891 * newcomment.el (comment-kill): Prefix "unused" local.
10893 * term/w32console.el (get-screen-color): Declare.
10895 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10896 Handle symbol elements of byte-compile-initial-macro-environment.
10898 2011-05-10 Leo Liu <sdl.web@gmail.com>
10900 * bookmark.el (bookmark-bmenu-mode-map):
10901 Bind bookmark-bmenu-search to `/'.
10903 * mail/footnote.el: Convert to utf-8 encoding.
10904 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10905 (Footnote-unicode): New function.
10906 (footnote-style-alist): Add unicode style to the list.
10907 (footnote-style): Doc fix.
10909 2011-05-10 Jim Meyering <meyering@redhat.com>
10911 Fix doubled-word typos.
10912 * international/quail.el (quail-insert-kbd-layout): and and -> and
10913 * kermit.el: and and -> and
10914 * net/ldap.el (ldap-search-internal): to to -> to
10915 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10916 * progmodes/js.el (js-mode): and and -> and
10917 * textmodes/artist.el (artist-move-to-xy): at at -> at
10918 (artist-draw-region-trim-line-endings): if if -> if
10919 And Safetyc -> Safety.
10920 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10922 2011-05-10 Glenn Morris <rgm@gnu.org>
10923 Stefan Monnier <monnier@iro.umontreal.ca>
10925 * files.el (hack-one-local-variable-eval-safep):
10926 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10928 2011-05-10 Glenn Morris <rgm@gnu.org>
10930 * calendar/diary-lib.el (diary-list-entries-hook)
10931 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10932 (diary-nongregorian-marking-hook, diary-list-entries)
10933 (diary-include-other-diary-files, diary-mark-entries)
10934 (diary-mark-included-diary-files): Doc fixes.
10936 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10938 * misc.el: Require tabulated-list.el during compilation.
10940 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10942 * progmodes/compile.el (compilation-start):
10943 Run compilation-filter-hook for the async case too.
10944 (compilation-filter-hook): Doc fix.
10946 2011-05-09 Deniz Dogan <deniz@dogan.se>
10948 * wdired.el: Remove outdated installation comment. Fix usage
10951 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10953 * misc.el: Implement new command `list-dynamic-libraries'.
10954 (list-dynamic-libraries--loaded-only-p): New variable.
10955 (list-dynamic-libraries--refresh): New function.
10956 (list-dynamic-libraries): New command.
10958 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10960 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10961 Fix the ant regexp to handle end-line and end-column info from jikes.
10962 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10963 higher priority to avoid clobbering by gnu.
10965 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10967 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10968 if the face has existing theme settings (Bug#8454).
10970 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10972 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10973 Only match variables declared via `my' or `our' (Bug#8261).
10975 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10976 special file names `.' and `..' (Bug#8259).
10978 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10980 * progmodes/grep.el (grep-mode-font-lock-keywords):
10981 Remove buffer-changing entries.
10982 (grep-filter): New function.
10983 (grep-mode): Add it to compilation-filter-hook.
10985 * progmodes/compile.el (compilation-filter-hook)
10986 (compilation-filter-start): New defvars.
10987 (compilation-filter): Call compilation-filter-hook prior to
10988 updating the process mark.
10990 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10992 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10994 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10996 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10997 mailclient-send-it even if window-system is nil. (Bug#8595)
10999 * term/w32console.el (terminal-init-w32console):
11000 Call get-screen-color and use its output to set the frame
11001 background-mode. (Bug#8597)
11003 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11005 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11006 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11008 (defgeneric, eieio--defmethod): Use them.
11009 (eieio-defgeneric): Remove.
11010 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11012 2011-05-07 Glenn Morris <rgm@gnu.org>
11014 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11015 Use let rather than let*.
11016 (timeclock-find-discrep): Remove unused local.
11018 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11020 * calendar/appt.el (appt-time-msg-list): Doc fix.
11022 2011-05-06 Noah Friedman <friedman@splode.com>
11024 * apropos.el (apropos-print-doc): Only use
11025 emacs-lisp-docstring-fill-column when it is bound to an integer,
11026 per that variable's documentation.
11028 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11030 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11031 and warnings are not silently discarded (e.g. use -d instead of -P).
11033 2011-05-06 Glenn Morris <rgm@gnu.org>
11035 * calendar/appt.el (appt-message-warning-time): Doc fix.
11036 (appt-warning-time-regexp): New option.
11037 (appt-make-list): Respect appt-message-warning-time.
11039 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11041 (diary-add-to-list): Strip comments from the displayed string.
11042 (diary-mode): Set comment-start and comment-end.
11044 * vc/diff-mode.el (smerge-refine-subst): Declare.
11045 (diff-refine-hunk): Don't require smerge-mode when compiling.
11047 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11049 * simple.el (list-processes): Return nil as the docstring says.
11051 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11053 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11055 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11056 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11057 determining of binary transfer. (Bug#7383)
11059 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11061 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11062 Fix port computation bug. (Bug#8618)
11064 2011-05-05 Glenn Morris <rgm@gnu.org>
11066 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11068 * simple.el (shell-dynamic-complete-functions)
11069 (comint-dynamic-complete-functions): Declare.
11071 * net/network-stream.el (gnutls-negotiate):
11072 * simple.el (tabulated-list-print): Fix declarations.
11074 * progmodes/gud.el (syntax-symbol, syntax-point):
11075 Remove unnecessary and incorrect declarations.
11077 * emacs-lisp/check-declare.el (check-declare-scan):
11078 Handle byte-compile-initial-macro-environment in bytecomp.el
11080 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11082 Fix earlier half-done eieio-defmethod change (bug#8338).
11083 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11084 Streamline and change calling convention.
11085 (defmethod): Adjust accordingly and simplify.
11086 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11087 new eieio--defmethod.
11088 (slot-boundp): Minor CSE simplification.
11090 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11092 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11093 (glasses-make-readable): Use glasses-separate-capital-groups.
11095 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11097 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11098 (warning-series): Doc fix.
11099 (display-warning): Don't try to create the buffer if we just found it.
11101 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11103 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11104 (autoload-find-generated-file): New function.
11105 (generate-file-autoloads): Bind generated-autoload-file to
11107 (update-file-autoloads, update-directory-autoloads):
11108 Use autoload-find-generated-file. If called interactively, prompt for
11109 output file (Bug#7989).
11110 (batch-update-autoloads): Doc fix.
11112 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11114 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11116 2011-05-04 Glenn Morris <rgm@gnu.org>
11118 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11119 function, so it follows changes in calendar-date-style.
11120 (diary-fancy-date-matcher): New function.
11121 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11122 (diary-fancy-font-lock-fontify-region-function):
11123 Use diary-fancy-date-pattern as a function.
11125 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11126 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11128 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11130 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11131 instead of positional arguments. Allow :keylist and :crlfiles
11133 (open-gnutls-stream): Call it.
11135 * net/network-stream.el (network-stream-open-starttls): Adjust to
11136 call `gnutls-negotiate' with :process and :hostname arguments.
11138 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * minibuffer.el (completion--message): New function.
11141 (completion--do-completion, minibuffer-complete)
11142 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11143 (completion--do-completion): Don't ignore completion-auto-help when in
11146 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11147 internal encoding (e.g. tibetan zero is not whitespace).
11148 (global-whitespace-mode): Prefer save-current-buffer.
11149 (whitespace-trailing-regexp): Remove useless save-match-data.
11150 (whitespace-empty-at-bob-regexp): Minor simplification.
11152 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11154 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11156 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11158 * textmodes/ispell.el (ispell-add-per-file-word-list):
11159 Use `concat' to create string for insertion.
11161 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11163 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11164 Avoid open-line which runs post-self-insert-hook.
11165 (bibtex-fill-entry): Remove unused `end' var.
11167 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11169 * textmodes/ispell.el (ispell-add-per-file-word-list):
11170 Protect against `nil' value of `comment-start' (Bug#8579).
11172 2011-05-03 Leo Liu <sdl.web@gmail.com>
11174 * isearch.el (isearch-yank-pop): New command.
11175 (isearch-mode-map): Bind it to `M-y'.
11176 (isearch-forward): Mention it.
11178 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * simple.el (minibuffer-complete-shell-command): Remove.
11181 (minibuffer-local-shell-command-map): Use completion-at-point.
11182 (read-shell-command): Setup completion vars here instead.
11183 (read-expression-map): Bind TAB to symbol completion.
11185 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11186 error directly rather via storing it into `results'.
11188 2011-05-02 Leo Liu <sdl.web@gmail.com>
11190 * vc/diff.el: Fix description.
11192 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194 * server.el (server-eval-at): New function.
11196 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11198 * net/network-stream.el (open-network-stream): Take a :nowait
11199 parameter and pass it on to `make-network-process'.
11200 (network-stream-open-plain): Ditto.
11202 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11204 * faces.el (face-spec-set-match-display): Don't match toolkit
11205 options on terminal frames.
11207 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * progmodes/pascal.el: Use lexical binding.
11210 (pascal-mode-map): Remove author preferences.
11212 * pcomplete.el (pcomplete-std-complete): Don't abuse
11213 completion-at-point.
11215 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11217 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11218 removing code that has been dead since 1991 or so.
11220 * startup.el (command-line): When warning about "_emacs", use a
11221 delayed warning to allow the user to filter it out.
11223 2011-04-28 Deniz Dogan <deniz@dogan.se>
11225 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11226 user has not joined.
11228 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11231 aren't any completions at point.
11233 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11235 * subr.el (display-delayed-warnings): New function.
11236 (delayed-warnings-hook): New variable.
11238 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11240 * minibuffer.el (completion-at-point, completion-help-at-point):
11241 Don't presume that a given completion-at-point-function will always
11242 use the same calling convention.
11244 * pcomplete.el (pcomplete-completions-at-point):
11245 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11246 pcomplete-seen is non-nil.
11247 (pcomplete-comint-setup): Also recognize the new comint/shell
11248 completion functions.
11249 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11250 pcomplete-seen is non-nil.
11252 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11254 * calendar/icalendar.el (diary-lib): Add require statement.
11255 (icalendar--create-uid): Read out a uid from a text-property on
11256 the first character in the entry. This allows for code to add its
11257 own uid to the entry.
11258 (icalendar--convert-float-to-ical): Add export of
11259 `diary-float'-entries save for those with the optional DAY
11262 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11264 * subr.el (shell-quote-argument): Use alternate escaping strategy
11265 when we spot a variable reference in a string.
11267 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11269 * cus-start.el (all): Define customization for debug-on-event.
11271 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11273 * subr.el (shell-quote-argument): Escape correctly under Windows.
11275 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11279 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11281 * net/tramp.el (tramp-process-actions): Add POS argument.
11282 Delete region between POS and (pos).
11284 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11285 Use `nil' position in `tramp-process-actions' call.
11286 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11288 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11289 position in `tramp-process-actions' call.
11291 * net/trampver.el: Update release number.
11293 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11295 * custom.el (defcustom): Obey lexical-binding.
11297 Fix octave-inf completion problems reported by Alexander Klimov.
11298 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11299 Inherit from octave-mode-syntax-table.
11300 (inferior-octave-mode): Set info-lookup-mode.
11301 (inferior-octave-completion-at-point): New function.
11302 (inferior-octave-complete): Use it and completion-in-region.
11303 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11304 comint-filename-completion.
11305 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11306 symbol elements which shouldn't be word elements.
11307 (octave-font-lock-keywords, octave-beginning-of-defun)
11308 (octave-function-header-regexp): Adjust regexps accordingly.
11309 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11311 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11313 * net/gnutls.el (gnutls-errorp): Declare before first use.
11315 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11317 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11318 verify-error, and verify-hostname-error parameters. Check whether
11319 default trustfile exists before going to use it. Add missing
11320 argument to gnutls-message-maybe call. Return value.
11321 Reported by Claudio Bley <claudio.bley@gmail.com>.
11322 (open-gnutls-stream): Add usage example.
11324 * net/network-stream.el (network-stream-open-starttls): Give host
11325 parameter to `gnutls-negotiate'.
11326 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11327 * subr.el (shell-quote-argument): Escape correctly under Windows.
11329 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11331 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11332 Use correct match group (bug#8438).
11334 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11336 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11337 (package-menu--generate): New arg specifying packages to show.
11338 (package-menu-refresh, package-menu-execute, list-packages):
11340 (package-show-package-list): New function, replacing deleted
11341 package--list-packages (renamed because it is non-internal).
11343 * finder.el (finder-list-matches): Use package-show-package-list
11344 instead of deleted package--list-packages.
11346 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11347 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11348 (vc-annotate-mode-map): Bind it to RET.
11350 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11352 * progmodes/etags.el (next-file): Don't use set-buffer to change
11353 buffers (Bug#8478).
11355 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11357 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11359 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11360 (apropos-accumulator): Doc fix.
11361 (apropos-function, apropos-macro, apropos-command)
11362 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11363 (apropos-plist): Add face property.
11364 (apropos-symbols-internal): Fix indentation.
11365 (apropos-print): Simplify help, and recognize apropos-multi-type.
11366 (apropos-print-doc): Use button-type-get to extract the button's
11367 face property. Fill docstring (Bug#8352).
11369 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11371 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11373 * play/mpuz.el (mpuz-silent): Doc fix.
11374 (mpuz-mode-map): Use mapc.
11375 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11376 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11377 Fix typos in docstrings.
11379 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11380 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11382 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11384 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11386 * minibuffer.el (completion--do-completion): Avoid the "Next char
11387 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11389 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11390 mouse-2 into unread-command-events, it is interpreted correctly.
11392 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11393 (image-toggle-display): Doc fix.
11395 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11397 * textmodes/page.el (what-page): Use line-number-at-pos to
11398 calculate line number (Bug#6825).
11400 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11402 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11403 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11404 Pass argument NO-DEFAULT to `find-tag-interactive'.
11406 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11408 Lexical-binding cleanup.
11410 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11411 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11412 * progmodes/ada-prj.el (ada-prj-initialize-values)
11413 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11414 (ada-prj-show-value):
11415 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11416 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11417 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11418 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11419 * progmodes/bug-reference.el (bug-reference-push-button):
11420 * progmodes/fortran.el (fortran-line-length):
11421 * progmodes/glasses.el (glasses-change):
11422 * progmodes/octave-mod.el (octave-fill-paragraph):
11423 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11424 (python-pdbtrack-grub-for-buffer, python-sentinel):
11425 * progmodes/sql.el (sql-save-connection):
11426 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11427 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11428 Mark unused parameters.
11430 * progmodes/compile.el (compilation--flush-directory-cache)
11431 (compilation--flush-parse, compile-internal): Mark unused parameters.
11432 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11433 (compilation-next-error-function): Remove unused variable `timestamp'.
11435 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11436 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11438 * progmodes/dcl-mode.el (dcl-end-of-command):
11439 Remove unused variable `start'.
11440 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11441 (dcl-option-value-basic, dcl-option-value-offset)
11442 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11443 Mark unused parameters.
11444 (dcl-save-local-variable): Remove unused variable `val'.
11447 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11448 Mark unused parameters.
11449 (delphi-ignore-changes): Move before first use.
11450 (delphi-charset-token-at): Remove unused variable `start'.
11451 (delphi-else-start): Remove unused variable `if-count'.
11452 (delphi-comment-block-start, delphi-comment-block-end):
11453 Remove unused variable `kind'.
11454 (delphi-indent-line): Remove unused variable `new-point'.
11456 * progmodes/ebrowse.el (ebrowse-files-list)
11457 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11458 Mark unused parameters. Don't quote `lambda'.
11459 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11460 Don't quote `lambda'.
11461 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11462 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11463 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11464 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11465 Use `ignore-errors'.
11466 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11467 (ebrowse-view/find-file-and-search-pattern)
11468 (ebrowse-view/find-member-declaration/definition):
11469 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11470 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11471 Rename parameter PREFIX-ARG to PREFIX.
11472 (ebrowse-tags-read-name): Remove unused variables `start' and
11474 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11477 * progmodes/etags.el (local-find-tag-hook): Declare.
11478 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11479 Mark unused parameters.
11481 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11482 (executable-interpret): Mark unused parameter.
11484 * progmodes/flymake.el (flymake-process-sentinel)
11485 (flymake-after-change-function)
11486 (flymake-create-temp-with-folder-structure)
11487 (flymake-get-include-dirs-dot): Mark unused parameters.
11488 (flymake-safe-delete-directory): Remove unused variable `err'.
11490 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11491 (speedbar-timer-fn, speedbar-line-text)
11492 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11493 (speedbar-center-buffer-smartly): Declare functions.
11494 (gdb-find-watch-expression): Remove unused variable `array'.
11495 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11496 (gdb-starting): Mark unused parameters.
11497 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11498 (gdb-table-string): Remove unused variable `res'.
11499 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11500 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11501 (gdb-display-buffer): Remove unused variable `cur-size'.
11503 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11504 allow lexical-binding compilation.
11505 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11506 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11507 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11508 Mark unused parameters.
11509 (gud-gdb-marker-filter): Remove unused variable `match'.
11510 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11511 lambda expressions and funcall them, instead of using `fset'.
11513 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11514 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11516 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11517 variable `header-beg'; use `let'.
11519 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11520 `restart', `last-sexp' and `at-do'.
11522 * progmodes/js.el (js--debug): Mark unused parameter.
11523 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11524 (js--splice-into-items): Remove unused variable `item'.
11525 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11527 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11528 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11529 (makefile-complete): Remove unused variable `try'.
11530 (makefile-fill-paragraph, makefile-match-function-end):
11531 Mark unused parameters.
11533 * progmodes/octave-inf.el (inferior-octave-complete):
11534 Remove unused variable `proc'.
11535 (inferior-octave-output-digest): Mark unused parameter.
11537 * progmodes/perl-mode.el (perl-calculate-indent):
11538 Remove unused variable `err'.
11540 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11541 (prolog-indent-line): Mark unused parameters.
11542 (prolog-indent-line): Remove unused variable `beg'.
11544 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11545 (reporter-dont-compact-list): Declare.
11547 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11548 Remove unused variable `char'.
11549 (sh-debug): Mark unused parameter.
11550 (sh-get-indent-info): Remove unused variable `start'.
11551 (sh-calculate-indent): Remove unused variable `var'.
11553 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11554 (simula-electric-keyword): Remove unused variable `null'.
11555 (simula-search-backward, simula-search-forward): Remove unused
11556 variables `begin' and `end'.
11558 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11559 Remove unused variable `pos'.
11560 (vera-electric-tab, vera-comment-uncomment-region):
11561 Mark unused parameters.
11562 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11564 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11566 * emacs-lisp/package.el (package--builtins, package-alist)
11567 (package-load-descriptor, package-built-in-p, package-activate)
11568 (define-package, package-installed-p)
11569 (package-compute-transaction, package-buffer-info)
11570 (package--push): Doc fix. Distinguish more clearly between
11571 version strings and version lists.
11573 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11575 Lexical-binding cleanup.
11577 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11578 (5x5-make-mutate-best):
11579 * play/fortune.el (fortune-in-buffer):
11580 * play/gomoku.el (gomoku-init-display):
11581 * play/solitaire.el (solitaire, solitaire-do-check):
11582 * play/tetris.el (tetris-default-update-speed-function):
11583 Mark unused parameters.
11585 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11586 (bubbles--shift): Remove unused variable `char-org'.
11587 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11588 (bubbles--show-images): Remove unused variable `char'.
11590 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11591 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11592 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11593 (decipher-analyze-buffer): Use ?\s.
11594 (decipher-make-checkpoint): Remove unused variable `mapping'.
11596 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11598 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11599 Remove unused variable `result'; use `let'.
11601 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11602 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11603 (gametree-children-shown-p, gametree-compute-reduced-score):
11604 Use `ignore-errors'.
11606 * play/handwrite.el (ps-lpr-switches): Declare.
11607 (handwrite): Remove unused variables `pmin' and `lastp'.
11609 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11611 * play/landmark.el (landmark-init-display)
11612 (landmark-update-naught-weights): Mark unused parameters.
11613 (landmark-y): Remove unused variable `noise'. Simplify.
11614 (landmark-human-plays): Remove unused variable `score'.
11616 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11617 (mpuz-try-proposal): Remove unused variable `game'.
11619 * play/zone.el (life-patterns): Declare.
11621 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11623 * vc/vc.el (ediff-vc-internal): Declare function.
11625 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11627 * shell.el: Use lexical-binding and std completion UI.
11628 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11629 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11630 comint-preoutput-filter-functions rather than on
11631 comint-output-filter-functions.
11632 (shell-command-completion, shell--command-completion-data)
11633 (shell-filename-completion, shell-environment-variable-completion)
11634 (shell-c-a-p-replace-by-expanded-directory): New functions.
11635 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11636 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11637 (shell-dynamic-complete-environment-variable): Use them.
11638 (shell-dynamic-complete-as-environment-variable)
11639 (shell-dynamic-complete-as-command): Remove.
11640 (shell-match-partial-variable): Match past point.
11641 * comint.el: Clean up use of completion-at-point-functions.
11642 (comint-completion-at-point): New function.
11643 (comint-mode): Use it completion-at-point-functions.
11644 (comint-dynamic-complete): Make it obsolete.
11645 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11646 (comint-c-a-p-replace-by-expanded-history): New function.
11647 (comint-dynamic-complete-functions)
11648 (comint-replace-by-expanded-history): Use it.
11649 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11650 termination strings. Try harder to avoid second try-completion.
11651 (completion-in-region-mode-map): Disable bindings that don't work yet.
11653 * comint.el: Use lexical-binding. Require CL.
11654 (comint-dynamic-complete-functions): Use comint-filename-completion.
11655 (comint-completion-addsuffix): Tweak custom type.
11656 (comint-filename-completion, comint--common-suffix)
11657 (comint--common-quoted-suffix, comint--table-subvert)
11658 (comint--complete-file-name-data): New functions.
11659 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11660 (comint-dynamic-list-filename-completions): Use them.
11661 (comint-dynamic-simple-complete): Make obsolete.
11663 * minibuffer.el (completion-in-region-mode):
11664 Keep completion-in-region-mode--predicate global.
11665 (completion-in-region--postch):
11666 Assume completion-in-region-mode--predicate is not null.
11668 * progmodes/flymake.el (flymake-start-syntax-check-process):
11669 Obey `dir'. Simplify.
11671 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11672 we're in VC after all.
11674 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11676 * vc/vc.el (vc-diff-build-argument-list-internal)
11677 (vc-version-ediff, vc-ediff): New commands.
11678 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11680 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11685 * obsolete/erc-hecomplete.el: Make obsolete.
11686 * obsolete/: Standardize obsolescence info in the header.
11688 2011-04-20 Glenn Morris <rgm@gnu.org>
11690 * calendar/solar.el (solar-horizontal-coordinates):
11691 Use the longitude argument rather than `calendar-longitude'.
11692 (solar-date-next-longitude): Remove unused locals.
11694 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11696 * whitespace.el: New version 13.2.1.
11698 2011-04-20 felix <EmacsWiki> (tiny change)
11700 * whitespace.el (global-whitespace-mode): Keep highlight when
11701 switching between major modes on a file.
11703 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11706 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11707 multi-line comments as well.
11709 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11711 Lexical-binding cleanup.
11713 * arc-mode.el (archive-mode-revert):
11714 * cmuscheme.el (scheme-interactively-start-process):
11715 * custom.el (custom-initialize-delay):
11716 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11717 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11718 * emacs-lock.el (emacs-lock-clear-sentinel):
11719 * ezimage.el (defezimage):
11720 * follow.el (follow-avoid-tail-recenter):
11721 * fringe.el (set-fringe-mode-1):
11722 * generic-x.el (bat-generic-mode-compile):
11723 * help-mode.el (help-info-variable, help-do-xref)
11724 (help-mode-revert-buffer):
11725 * help.el (view-emacs-todo):
11726 * iswitchb.el (iswitchb-completion-help):
11727 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11728 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11729 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11730 * locate.el (locate-update):
11731 * longlines.el (longlines-encode-region)
11732 (longlines-after-change-function):
11733 * outline.el (outline-isearch-open-invisible):
11734 * ps-def.el (declare-function, charset-dimension, char-width)
11736 * ps-mule.el (ps-mule-plot-string):
11737 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11738 (recentf-edit-list-select, recentf-edit-list-validate)
11739 (recentf-open-files-action):
11740 * rect.el (delete-whitespace-rectangle-line)
11741 (rectangle-number-line-callback):
11742 * register.el (window-configuration-to-register)
11743 (frame-configuration-to-register):
11744 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11745 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11746 (xselect-convert-to-targets, xselect-convert-to-delete)
11747 (xselect-convert-to-filename, xselect-convert-to-charpos)
11748 (xselect-convert-to-lineno, xselect-convert-to-colno)
11749 (xselect-convert-to-os, xselect-convert-to-host)
11750 (xselect-convert-to-user, xselect-convert-to-class)
11751 (xselect-convert-to-name, xselect-convert-to-integer)
11752 (xselect-convert-to-atom, xselect-convert-to-identity):
11753 * subr.el (declare, ignore, process-kill-without-query)
11754 (text-clone-maintain):
11755 * terminal.el (te-get-char, te-tic-sentinel):
11756 * tool-bar.el (tool-bar-make-keymap):
11757 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11758 * type-break.el (type-break-mode, type-break-noninteractive-query):
11759 * view.el (View-back-to-mark):
11760 * wid-browse.el (widget-browse-action, widget-browse-widget)
11761 (widget-browse-widgets, widget-browse-sexp):
11762 * widget.el (define-widget-keywords):
11763 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11764 Mark unused parameters.
11766 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11767 (align-areas): Remove unused variable `look'.
11768 (align-region): Remove unused variables `real-end' and `pos-list'.
11770 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11772 * bindings.el (mode-line-modified, mode-line-remote):
11773 Mark unused parameters.
11774 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11776 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11777 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11779 * comint.el (comint-history-isearch-pop-state)
11780 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11781 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11782 (comint-substitute-in-file-name): Doc fix.
11784 * completion.el (cmpl-statistics-block): Mark unused parameter.
11785 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11786 (save-completions-to-file, load-completions-from-file):
11787 Remove unused local variable `e'.
11789 * composite.el (compose-chars): Remove unused variable `len'.
11790 (lgstring-insert-glyph): Remove unused variable `g'.
11791 (compose-glyph-string): Remove unused variables `ascent',
11792 `descent', `lbearing' and `rbearing'.
11793 (compose-glyph-string-relative): Remove unused variables
11794 `lbearing', `rbearing' and `wadjust'.
11795 (compose-gstring-for-graphic): Remove unused variables `header',
11796 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11797 (compose-gstring-for-terminal): Remove unused variables `header'
11798 and `nchars'. Use `let', not `let*'.
11800 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11801 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11802 (Custom-buffer-done, custom-buffer-create-internal)
11803 (custom-browse-visibility-action, custom-browse-group-tag-action)
11804 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11805 (widget-magic-mouse-down-action, custom-toggle-parent)
11806 (custom-add-parent-links, custom-toggle-hide-variable)
11807 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11808 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11809 (custom-face-menu-create, custom-variable-menu-create, get)
11810 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11811 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11812 (customize-apropos): Remove unused variable `tests'.
11813 (custom-group-value-create): Remove unused variable `hidden-p'.
11814 (sort-fold-case): Declare.
11816 * cus-theme.el (custom-reset-standard-faces-list)
11817 (custom-reset-standard-variables-list): Declare.
11818 (customize-create-theme, custom-theme-revert, custom-theme-write)
11819 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11820 Mark unused parameters.
11822 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11824 * delim-col.el (delimit-columns-max): Move defvar before first use.
11826 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11827 (describe-char): Don't quote `lambda'. Mark unused parameter.
11829 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11830 (auto-insert): Declare.
11831 (desktop-restore-file-buffer): Rename desktop-* parameters;
11833 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11834 (desktop-buffer): Rename desktop-* parameters.
11836 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11837 (dframe-reposition-frame-xemacs, dframe-help-echo)
11838 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11839 Mark unused parameters.
11841 * dired-aux.el (backup-extract-version-start, overwrite-query)
11842 (overwrite-backup-query, rename-regexp-query)
11843 (rename-non-directory-query): Declare.
11844 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11845 (dired-add-entry): Remove unused variable `orig-file-name'.
11846 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11847 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11848 `dired-copy-preserve-time' directly.
11849 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11850 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11852 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11853 (dired-virtual-revert, dired-make-relative-symlink):
11854 Mark unused parameters.
11855 (manual-program): Declare.
11856 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11857 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11858 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11860 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11862 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11864 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11867 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11869 * electric.el (Electric-command-loop): Rename parameter
11870 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11872 * expand.el (expand-in-literal): Remove unused variable `here'.
11874 * facemenu.el (facemenu-add-new-color):
11875 Remove unused variable `docstring'.
11877 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11878 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11879 (face-attr-construct): Mark unused parameter. Doc fix.
11880 (read-color): Remove unused variable `hex-string'.
11882 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11883 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11884 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11885 (display-buffer-other-frame): Remove unused variable `old-window'.
11886 (kill-buffer-hook): Declare.
11887 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11888 Mark unused parameters.
11889 (after-find-file): Pass 1 to `auto-save-mode', not t.
11891 * files-x.el (auto-insert): Declare.
11892 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11894 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11895 variable `buf'. Mark unused parameter.
11896 (find-lisp-insert-directory): Mark unused parameter.
11898 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11899 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11900 (format-common-tail): Remove, unused.
11901 (format-deannotate-region): Remove unused variable `loc'.
11902 (format-annotate-region): Remove unused variable `p'.
11903 (format-annotate-single-property-change): Remove unused variables
11904 `default' and `tail'.
11906 * forms.el (read-file-filter): Declare.
11907 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11909 * frame.el (frame-creation-function-alist): Mark unused parameter.
11910 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11912 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11913 Remove unused parameters.
11914 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11915 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11917 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11918 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11919 (hfy-prepare-tag-map): Mark unused parameters.
11920 (htmlfontify-buffer): Use `called-interactively-p'.
11922 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11923 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11924 (ibuffer-do-occur): Mark unused parameters.
11925 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11926 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11928 * ibuffer.el: Don't quote `lambda'.
11929 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11930 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11931 Mark unused parameters.
11933 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11934 (ido-completing-read): Mark unused parameters.
11935 (ido-copy-current-word): Mark unused parameters;
11936 remove unused variable `name'.
11937 (ido-sort-merged-list): Remove unused parameter `dirs'.
11939 * ielm.el (ielm-input-sender): Mark unused parameter.
11940 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11941 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11942 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11943 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11944 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11946 * image-dired.el (image-dired-display-thumbs): Remove unused
11947 variables `curr-file' and `count'.
11948 (image-dired-remove-tag): Remove unused variable `start'.
11949 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11950 variable `curr-file'
11951 (image-dired-rotate-original): Remove unused variable `temp-file'.
11952 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11953 Remove unused variable `file'.
11954 (image-dired-gallery-generate): Remove unused variable `curr'.
11955 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11957 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11959 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11961 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11963 * isearch.el (minibuffer-history-symbol): Declare.
11964 (isearch-edit-string): Remove unused variable `err'.
11965 (isearch-message-prefix, isearch-message-suffix):
11966 Mark unused parameters.
11968 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11970 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11972 * makesum.el (double-column): Remove unused variable `cnt'.
11974 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11975 (ido-ignore-item-temp-list): Declare.
11977 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11978 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11979 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11980 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11983 * mouse-sel.el (mouse-extend-internal):
11984 Remove unused variable `orig-window-frame'.
11986 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11987 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11988 Move declarations before first use.
11989 (pcomplete-opt): Mark unused parameters; doc fix.
11991 * proced.el (proced-revert): Mark unused parameter.
11992 (proced-send-signal): Remove unused variable `err'.
11994 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11995 Rename parameter PREFIX-ARG to ARG.
11996 (ps-basic-plot-string, ps-basic-plot-whitespace):
11997 Mark unused parameters.
11999 * replace.el (replace-count): Define.
12000 (occur-revert-function): Mark unused parameters.
12001 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12002 (isearch-case-fold-search, isearch-string): Declare.
12003 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12004 bind `case-fold-search'. Remove unused variables `beg' and `end',
12006 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12007 COUNT and bind `replace-count'.
12008 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12011 * savehist.el (print-readably, print-string-length): Declare.
12013 * shadowfile.el (shadow-expand-cluster-in-file-name):
12014 Remove unused variable `cluster'.
12015 (shadow-copy-file): Remove unused variable `i'.
12016 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12017 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12018 (shadow-define-literal-group, shadow-define-regexp-group)
12019 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12021 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12022 (shell): Use `called-interactively-p'.
12023 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12025 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12026 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12027 (delete-backward-char): Remove unused variable `ocol'.
12028 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12029 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12030 (event-apply-hyper-modifier, event-apply-shift-modifier)
12031 (event-apply-control-modifier, event-apply-meta-modifier):
12032 Mark unused parameters.
12033 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12034 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12036 * speedbar.el (speedbar-ignored-directory-expressions)
12037 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12038 (speedbar-find-file, speedbar-dir-follow)
12039 (speedbar-directory-buttons-follow, speedbar-tag-find)
12040 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12041 (speedbar-buffers-line-directory, speedbar-buffer-click):
12042 Mark unused parameters.
12043 (speedbar-tag-file): Remove unused variable `mode'.
12044 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12046 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12048 * talk.el (talk): Remove unused variable `display'.
12050 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12051 (tar-write-region-annotate): Mark unused parameter.
12053 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12054 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12055 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12056 warning by another.
12058 * time-stamp.el (time-stamp-string-preprocess):
12059 Remove unused variable `require-padding'.
12061 * tree-widget.el (widget-glyph-enable): Declare.
12062 (tree-widget-action): Mark unused parameter.
12064 * w32-fns.el (x-get-selection): Mark unused parameter.
12065 (autoload-make-program, generated-autoload-file): Declare.
12067 * wdired.el (wdired-revert): Mark unused parameters.
12068 (wdired-xcase-word): Remove unused variable `err'.
12070 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12071 (whitespace-help-scroll): Remove unused variable `data-help'.
12073 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12074 (widget-image-insert, widget-after-change, default)
12075 (widget-default-format-handler, widget-default-notify)
12076 (widget-default-prompt-value, widget-info-link-action)
12077 (widget-url-link-action, widget-function-link-action)
12078 (widget-variable-link-action, widget-file-link-action)
12079 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12080 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12081 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12082 (widget-insert-button-action, widget-delete-button-action, visibility)
12083 (widget-documentation-link-action, widget-documentation-string-action)
12084 (widget-const-prompt-value, widget-regexp-match, symbol)
12085 (widget-coding-system-prompt-value)
12086 (widget-key-sequence-value-to-external, sexp)
12087 (widget-sexp-value-to-internal, character, vector, cons)
12088 (widget-choice-prompt-value, widget-boolean-prompt-value)
12089 (widget-color--choose-action): Mark unused parameters.
12090 (widget-item-match-inline, widget-choice-match-inline)
12091 (widget-checklist-match, widget-checklist-match-inline)
12092 (widget-group-match): Rename parameter VALUES to VALS.
12093 (widget-field-value-set): Remove unused variable `size'.
12094 (widget-color-action): Remove unused variables `value' and `start'.
12096 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12097 variable `dir'. Doc fix.
12098 (windmove-find-other-window): Don't pass it.
12100 * window.el (count-windows): Mark unused parameter.
12101 (bw-adjust-window): Remove unused variable `err'.
12103 * woman.el (woman-file-name): Remove unused variable `default'.
12104 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12105 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12106 (global-font-lock-mode): Declare.
12107 (woman-decode-region): Mark unused parameter.
12108 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12110 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12111 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12112 (x-dnd-handle-moz-url): Remove unused variable `title'.
12113 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12115 * xml.el (xml-parse-tag, xml-parse-attlist):
12116 Remove unused variable `pos'.
12118 2011-04-19 Glenn Morris <rgm@gnu.org>
12120 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12121 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12122 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12123 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12124 * calendar/cal-html.el (cal-html-insert-minical):
12125 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12126 (calendar-mark-date-pattern):
12127 Prefix "unused" locals.
12129 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12130 optional argument `style'.
12132 * calendar/appt.el (appt-make-list):
12133 * calendar/cal-china.el (calendar-chinese-date-string):
12134 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12135 (diary-hebrew-yahrzeit):
12136 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12137 * calendar/calendar.el (calendar-generate-window):
12138 * calendar/time-date.el (time-to-days):
12139 Remove unused local variables.
12141 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12143 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12144 glyphless-char-display table.
12145 (tabulated-list-glyphless-char-display): New var.
12147 2011-04-18 Sam Steingold <sds@gnu.org>
12149 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12150 to acknowledgments.
12152 2011-04-17 Glenn Morris <rgm@gnu.org>
12154 * calendar/diary-lib.el (diary-sexp-entry):
12155 * calendar/holidays.el (holiday-sexp):
12156 Set debug-on-error rather than the removed stack-trace-on-error.
12158 2011-04-16 Glenn Morris <rgm@gnu.org>
12160 * progmodes/f90.el: Use lexical-binding.
12161 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12163 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12166 (mail-mode): Setup mailalias completion here instead.
12167 * mail/mailalias.el: Use lexical-binding.
12168 (pattern, mailalias-done): Declare dynamic.
12169 (mail-completion-at-point-function): New function, from mail-complete.
12170 (mail-complete): Use it.
12171 (mail-completion-expand): New function.
12172 (mail-get-names): Use it.
12173 (mail-directory, mail-directory-process, mail-directory-stream):
12174 Don't use `pattern' for lexically bound arg.
12176 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12178 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12179 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12180 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12182 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12183 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12184 (byte-interactive-p): Define them again, for use when inlining
12187 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12189 * loadup.el: Use `string-to-number', not `string-to-int'.
12191 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12193 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12194 gud-gdb-complete-command.
12195 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12196 (gud-gdb-completion-at-point): New function.
12197 (gud-gdb-completions): Remove.
12199 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12201 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12202 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12203 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12204 whether `executable-find' is bound.
12206 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12208 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12210 * minibuffer.el (completion-in-region-mode-predicate)
12211 (completion-in-region-mode--predicate): New vars.
12212 (completion-in-region, completion-in-region--postch)
12213 (completion-in-region-mode): Use them.
12214 (completion--capf-wrapper): Also return the hook function.
12215 (completion-at-point, completion-help-at-point):
12216 Adjust and provide a predicate.
12218 Preserve arg names for advice of subr and lexical functions (bug#8457).
12219 * help-fns.el (help-function-arglist): Consolidate the subr and
12220 new-byte-code cases. Add argument `preserve-names' to extract names
12221 from the docstring when needed.
12222 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12223 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12224 (ad-arglist): Use help-function-arglist's new arg.
12225 (ad-definition-type): Use cond.
12227 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12229 * autorevert.el (auto-revert-handler):
12230 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12231 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12232 Don't quote lambda.
12234 * image-mode.el (image-transform-set-scale):
12235 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12237 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12239 * net/network-stream.el (network-stream-open-starttls): Only do
12240 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12241 Upgrades via gnutls-cli are too slow to be done opportunistically.
12243 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12245 * dframe.el (dframe-current-frame): Remove spurious quote.
12247 2011-04-12 Glenn Morris <rgm@gnu.org>
12249 * calendar/cal-tex.el (cal-tex-end-document):
12250 Try to automatically use latin1 input if needed.
12252 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12253 Don't try to cons a mark onto an empty element.
12255 2011-04-11 Leo Liu <sdl.web@gmail.com>
12257 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12259 (ido-kill-buffer-at-head): Support killing virtual buffers.
12261 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12263 * minibuffer.el (completion-show-inline-help): New var.
12264 (completion--do-completion, minibuffer-complete)
12265 (minibuffer-force-complete, minibuffer-complete-word):
12266 Inhibit minibuffer messages if completion-show-inline-help is nil.
12268 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12269 to avoid interference from inline help (Bug#5849).
12271 2011-04-10 Leo Liu <sdl.web@gmail.com>
12273 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12276 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12278 * image-mode.el (image-toggle-display-image): Signal an error if
12280 (image-transform-mode, image-transform-resize)
12281 (image-transform-set-rotation): Doc fix.
12282 (image-transform-set-resize): Delete.
12283 (image-transform-set-scale, image-transform-fit-to-height)
12284 (image-transform-fit-to-width): Handle image-toggle-display-image
12285 and image-transform-resize directly.
12287 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12289 * doc-view.el (doc-view-fit-width-to-window)
12290 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12291 New functions for fitting the shown image to the Emacs window size.
12292 (doc-view-mode-map): Add bindings for the new functions.
12294 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12296 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12297 Fix typo in docstring.
12299 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12301 * files.el (file-size-human-readable): Produce one digit after
12302 decimal, like "ls -lh" does.
12304 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12305 the file size representation.
12307 * simple.el (list-processes): If async subprocesses are not
12308 available, error out with a clear error message.
12310 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12312 * help.el (help-form-show): New function, to be called from C.
12313 Put help-form output in a buffer named differently than *Help*.
12315 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12317 * files.el (file-size-human-readable): New function.
12319 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12320 computing the representation inline. Don't require `cl'.
12322 2011-04-08 Glenn Morris <rgm@gnu.org>
12324 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12326 * net/browse-url.el (browse-url-firefox):
12327 Test system-type, not system-configuration.
12329 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12330 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12331 Use log-edit-empty-buffer-p. (Bug#7598)
12333 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12334 (rlogin-mode-map): Initialize in the defvar.
12335 (rlogin): Use ignore-errors.
12337 * replace.el (occur-mode-map): Some fixes for menu items.
12339 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12341 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12343 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12345 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12346 issuing unused warnings.
12348 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12351 * simple.el: Lisp reimplement of list-processes. Based on an
12352 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12353 (process-menu-mode): New major mode.
12354 (list-processes--refresh, list-processes):
12355 (process-menu-visit-buffer): New functions.
12357 * files.el (save-buffers-kill-emacs): Don't assume any return
12358 value of list-processes, which is undocumented anyway.
12360 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12362 * emacs-lisp/tabulated-list.el: New file.
12364 * emacs-lisp/package.el: Use Tabulated List mode.
12365 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12366 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12367 table format using Tabulated List mode variables.
12368 (package--push): New macro, replacing package-list-maybe-add.
12369 (package-menu--generate): Use package--push. Renamed from
12370 package--generate-package-list.
12371 (package-menu-refresh, list-packages): Use it.
12372 (package-menu--print-info): Rename from package-print-package.
12373 Return insertion data instead of inserting it directly.
12374 (package-menu-describe-package, package-menu-execute):
12375 Use tabulated-list-get-id.
12376 (package-menu-mark-delete, package-menu-mark-install)
12377 (package-menu-mark-unmark, package-menu-backup-unmark)
12378 (package-menu-mark-obsolete-for-deletion):
12379 Use tabulated-list-put-tag.
12380 (package--list-packages, package-menu-revert)
12381 (package-menu-get-package, package-menu-get-version)
12382 (package-menu-sort-by-column): Functions deleted.
12383 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12384 (package-menu--status-predicate, package-menu--version-predicate)
12385 (package-menu--name-predicate)
12386 (package-menu--description-predicate): Handle arguments in the
12387 Tabulated List format.
12388 (package-list-packages-no-fetch): Call list-packages.
12390 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12392 * files.el (after-find-file-from-revert-buffer): Remove variable.
12393 (after-find-file): Don't bind it.
12394 (revert-buffer-in-progress-p): New variable.
12395 (revert-buffer): Bind it.
12396 Pass nil for `after-find-file-from-revert-buffer'.
12398 * saveplace.el (save-place-find-file-hook): Use new variable
12399 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12401 2011-04-06 Glenn Morris <rgm@gnu.org>
12403 * Makefile.in (AUTOGEN_VCS): New variable.
12404 (autoloads): Use $AUTOGEN_VCS.
12406 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12407 * calendar/calendar.el (calendar-mode-map):
12408 Check for toolkit scroll bars. (Bug#8305)
12410 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12412 * minibuffer.el (completion-in-region--postch)
12413 (completion-in-region-mode): Remove unnecessary messages.
12415 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12417 * font-lock.el (font-lock-refresh-defaults):
12418 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12419 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12421 * info.el (Info-directory-list, Info-read-node-name-2)
12422 (Info-split-parameter-string): Doc fixes.
12423 (Info-virtual-nodes): Reflow docstring.
12424 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12425 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12426 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12427 Fix typos in docstrings.
12428 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12429 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12430 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12431 (Info-restore-desktop-buffer): Mark unused parameters.
12432 (Info-directory-find-file, Info-directory-find-node)
12433 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12434 (Info-virtual-index-find-node, Info-apropos-find-file)
12435 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12436 Mark unused parameters; fix typos in docstrings.
12437 (Info-virtual-index): Remove unused local variable `nodename'.
12439 2011-04-05 Deniz Dogan <deniz@dogan.se>
12441 * net/rcirc.el: Update my e-mail address.
12442 (rcirc-mode-map): Remove M-o binding.
12444 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12446 * startup.el (command-line): Save the cursor's theme-face
12447 directly, instead of using face-override-spec.
12449 * custom.el (load-theme): Minor optimization in assigning faces.
12451 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12453 * help-fns.el (describe-variable): Complete all variables having
12454 documentation, including keywords.
12455 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12457 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12459 Convert to lexical-binding.
12461 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12462 (bs--get-marked-string, bs--get-modified-string)
12463 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12464 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12465 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12467 * ehelp.el (electric-help-execute-extended)
12468 (electric-help-ctrl-x-prefix):
12469 * hexl.el (hexl-revert-buffer-function):
12470 * linum.el (linum-after-change, linum-after-scroll):
12471 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12473 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12475 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12482 * epg.el: Use lexical binding.
12484 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12486 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12488 * textmodes/flyspell.el (flyspell-word): Recognize default
12489 dictionary case for flyspell-mark-duplications-exceptions.
12490 Use regexp matching for languages.
12491 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12492 default dictionary (Bug#7926).
12494 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12496 * emacs-lisp/package.el (package--with-work-buffer):
12497 Recognize https URLs.
12499 * net/network-stream.el: Move from gnus/proto-stream.el.
12500 Change prefix to network-stream throughout.
12501 (open-protocol-stream): Merge into open-network-stream, leaving
12502 open-protocol-stream as an alias. Handle nil BUFFER args.
12504 * subr.el (open-network-stream): Move to net/network-stream.el.
12506 2011-04-02 Glenn Morris <rgm@gnu.org>
12508 * find-dired.el (find-exec-terminator): New option.
12509 (find-ls-option): Test for -ls support.
12510 (find-ls-subdir-switches): Test for -b in find-ls-option.
12511 (find-dired, find-grep-dired): Doc fixes.
12512 (find-dired): Use find-exec-terminator.
12514 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12515 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12516 (find-name-arg): Remove purecopy.
12518 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12519 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12520 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12521 accordingly. Don't add the null-device if not needed.
12523 * files.el (save-some-buffers): Doc fix.
12525 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12527 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12529 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12531 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12532 Use `dolist' rather than `mapcar'.
12534 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12536 Add lexical binding.
12538 * subr.el (apply-partially): Use new closures rather than CL.
12539 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12540 (dolist, dotimes): Use slightly different expansion for lexical code.
12541 (functionp): Move to C.
12542 (letrec): New macro.
12543 (with-wrapper-hook): Use it and apply-partially instead of CL.
12544 (eval-after-load): Preserve lexical-binding.
12545 (save-window-excursion, with-output-to-temp-buffer): Turn them
12548 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12550 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12552 (help-add-fundoc-usage): Don't add `Not documented'.
12553 (help-function-arglist): Handle closures, subroutines, and new
12554 byte-code-functions.
12555 (help-make-usage): Remove leading underscores.
12556 (describe-function-1): Handle closures.
12557 (describe-variable): Use special-variable-p for completion.
12559 * files.el (lexical-binding): Declare safe.
12561 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12562 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12563 (pcase): Add `let' pattern.
12564 Change memoization so it actually works.
12565 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12566 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12569 * emacs-lisp/macroexp.el: Use lexical binding.
12570 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12571 Don't convert ' to #' without checking that it's indeed quoting
12574 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12575 Use eval-sexp-add-defvars.
12576 (eval-sexp-add-defvars): New fun.
12578 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12580 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12582 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12583 than the internal `byte-compile-lambda'.
12584 (defmethod): Don't hide code under quotes.
12585 (eieio-defmethod): New `code' argument.
12587 * emacs-lisp/eieio-comp.el: Remove.
12589 * emacs-lisp/edebug.el (edebug-eval-defun)
12590 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12591 (edebug-toggle): Avoid `eval'.
12593 * emacs-lisp/disass.el (disassemble-internal): Handle new
12595 (disassemble-1): Handle new byte codes.
12597 * emacs-lisp/cl.el (pushnew): Silence warning.
12599 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12600 (cl-byte-compile-throw): Remove.
12601 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12603 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12606 * emacs-lisp/cconv.el: New file.
12608 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12609 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12610 (byte-compile-initial-macro-environment):
12611 Handle declare-function here.
12612 (byte-compile--lexical-environment): New var.
12613 (byte-stack-ref, byte-stack-set, byte-discardN)
12614 (byte-discardN-preserve-tos): New lap codes.
12615 (byte-interactive-p): Don't use any more.
12616 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12618 (byte-compile-lapcode): Use them and handle new lap codes.
12619 (byte-compile-obsolete): Remove.
12620 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12621 (byte-compile-arglist-warn): Check late def of inlinable funs.
12622 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12623 since they should have been expanded by now.
12624 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12625 (byte-compile-from-buffer): Remove unused second arg.
12626 (byte-compile-preprocess): New function.
12627 (byte-compile-toplevel-file-form): New function to distinguish
12628 file-form calls from outside from file-form calls from hunk-handlers.
12629 (byte-compile-file-form): Simplify.
12630 (byte-compile-file-form-defsubst): Remove.
12631 (byte-compile-file-form-defmumble): Simplify now that
12632 byte-compile-lambda always returns a byte-code-function.
12633 (byte-compile): Preprocess.
12634 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12635 Remove, not used any more.
12636 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12637 (byte-compile-make-args-desc): New funs.
12638 (byte-compile-lambda): Handle lexical functions. Always return
12639 a byte-code-function.
12640 (byte-compile-reserved-constants): New var, to make up room for
12641 closed-over variables.
12642 (byte-compile-constants-vector): Obey it.
12643 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12644 (byte-compile-macroexpand-declare-function): New function.
12645 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12646 byte-code-functions.
12647 (byte-compile-form): Check obsolescence here.
12648 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12649 (byte-compile-variable-ref): Remove.
12650 (byte-compile-dynamic-variable-op): New fun.
12651 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12652 (byte-compile-variable-set): New funs.
12653 (byte-compile-discard): Add 2 args.
12654 (byte-compile-stack-ref, byte-compile-stack-set)
12655 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12656 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12657 macroexpand-all instead.
12658 (byte-compile-quote-form): Remove.
12659 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12660 (byte-compile-bind, byte-compile-unbind): New funs.
12661 (byte-compile-let): Handle let* and lexical binding.
12662 (byte-compile-let*): Remove.
12663 (byte-compile-catch, byte-compile-unwind-protect)
12664 (byte-compile-track-mouse, byte-compile-condition-case):
12665 Handle a new :fun-body form, used for lexical scoping.
12666 (byte-compile-save-window-excursion)
12667 (byte-compile-with-output-to-temp-buffer): Remove.
12668 (byte-compile-defun): Simplify.
12669 (byte-compile-stack-adjustment): New fun.
12670 (byte-compile-out): Use it.
12671 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12673 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12676 * emacs-lisp/byte-opt.el: Use lexical binding.
12677 (byte-inline-lapcode): Remove (to bytecomp).
12678 (byte-compile-inline-expand): Pay attention to inlining to/from
12679 lexically bound code.
12680 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12682 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12683 any more and don't call compiler-macros.
12684 (byte-compile-splice-in-already-compiled-code): Remove.
12685 (byte-code): Don't inline any more.
12686 (disassemble-offset): Receive `bytes' as argument rather than via
12688 (byte-compile-tag-number): Declare before first use.
12689 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12690 `return' even if make-spliceable.
12691 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12692 obsolete interactive-p.
12693 (byte-optimize-lapcode): Optimize new lap-codes.
12694 Don't trip up on new form of `byte-constant' lap code.
12696 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12698 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12700 * custom.el (custom-initialize-default, custom-declare-variable):
12703 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12705 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12706 (COMPILE_FIRST): Add macroexp and cconv.
12707 * makefile.w32-in: Mirror changes in Makefile.in.
12709 * vc/cvs-status.el:
12713 * vc/smerge-mode.el:
12714 * textmodes/bibtex-style.el:
12715 * textmodes/css.el:
12723 * emacs-lisp/smie.el:
12726 * abbrev.el: Use lexical binding.
12728 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12730 * info.el (info-display-manual): New function.
12732 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12734 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12736 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12738 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12739 an entry for that server in rcirc-authinfo. (Bug#8385)
12741 2011-03-31 Glenn Morris <rgm@gnu.org>
12743 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12745 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12747 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12749 * progmodes/python.el (python-default-interpreter)
12750 (python-python-command-args, python-jython-command-args)
12751 (python-which-shell, python-which-args, python-which-bufname)
12752 (python-file-queue, python-comint-output-filter-function)
12753 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12754 variables and functions.
12756 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12759 (completion-in-region-mode): New minor mode.
12760 (completion-in-region): Use it.
12761 (completion-in-region--data, completion-in-region-mode-map): New vars.
12762 (completion-in-region--postch): New function.
12763 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12765 (completion--capf-wrapper): New function.
12766 (completion-at-point): Use it to track well-behavedness of
12768 (completion-help-at-point): New command.
12770 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12772 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12773 syntax class to search for whitespace on a single line
12774 (Message-ID: <4D938140.4030905@redhat.com>).
12776 2011-03-30 Leo Liu <sdl.web@gmail.com>
12778 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12780 (edit-abbrevs-map): Bind them here.
12781 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12783 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12785 * allout.el (allout-hide-by-annotation, allout-flag-region):
12786 Reduce possibility of overlay leakage by making them volatile.
12788 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12789 hash is not shared between buffers. Mode initialization is
12790 responsible for giving it a useful starting value.
12791 (allout-item-span): Reduce possibility of overlay leakage by
12792 making them volatile.
12793 (allout-widgets-count-buttons-in-region): Add diagnostic function
12794 for tracking down button overlay leaks.
12796 2011-03-29 Leo Liu <sdl.web@gmail.com>
12798 * ido.el (ido-read-internal): Use the default history var
12799 minibuffer-history if no HISTORY is specified.
12801 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12803 * net/imap.el (imap-shell-open, imap-process-connection-type):
12804 Use imap-process-connection-type for 'shell' streams as well as
12805 Kerberos, SSL, other subprocesses.
12807 2011-03-28 Leo Liu <sdl.web@gmail.com>
12809 * abbrev.el (abbrev-table-empty-p): New function.
12810 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12811 nonempty ones. (Bug#5937)
12813 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12815 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12817 2011-03-27 Leo Liu <sdl.web@gmail.com>
12819 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12820 for foreground and background colors.
12821 (ansi-color-make-color-map): Adapt.
12823 2011-03-25 Leo Liu <sdl.web@gmail.com>
12825 * midnight.el (midnight-time-float): Remove. Note it calculates
12826 the microsecond component incorrectly and seconds-to-time does the
12828 Remove redundant (require 'timer).
12830 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12831 (ido-completions): Remove unused arguments. (Bug#8329)
12833 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12835 * minibuffer.el (completion--flush-all-sorted-completions):
12836 Remove itself from hook.
12837 (completion-at-point): Let the functions perform the completion
12838 immediately and return nil or t.
12839 * comint.el (comint-dynamic-complete-functions): Now identical to
12840 completion-at-point-functions.
12841 (comint-dynamic-list-input-ring): Remove unused var `index'.
12842 (comint--match-partial-filename, comint--unquote&expand-filename):
12843 New funs, split from comint-match-partial-filename.
12844 (comint-dynamic-complete): Use completion-at-point.
12845 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12847 2011-03-24 Drew Adams <drew.adams@oracle.com>
12849 * thingatpt.el: Support `defun'.
12851 2011-03-23 Leo Liu <sdl.web@gmail.com>
12853 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12855 * help-mode.el (help-mode-finish): Tweak regexp.
12857 2011-03-23 Glenn Morris <rgm@gnu.org>
12859 * eshell/esh-opt.el (eshell-eval-using-options):
12860 Do not bind unused local variable `eshell-option-stub'.
12862 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12864 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12866 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12867 keymap variable in `with-no-warnings' to avoid a warning when the
12868 keymap has been already `defconst'ed.
12870 2011-03-22 Leo Liu <sdl.web@gmail.com>
12872 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12873 encode all chars in abbrevs; otherwise use emacs-mule or
12874 utf-8-emacs. (Bug#8308)
12876 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12878 * simple.el (backward-delete-char-untabify):
12879 Avoid warning about using `delete-backward-char'.
12881 * image.el (image-type-file-name-regexps): Make it variable.
12882 `imagemagick-register-types' modifies it, and the user may want
12883 to add new extensions for known image types.
12884 (imagemagick-register-types): Throw error if not using ImageMagick.
12886 2011-03-22 Leo Liu <sdl.web@gmail.com>
12888 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12889 located before rcirc-prompt-end-marker.
12890 (rcirc-complete): Error if point is not after rcirc prompt.
12891 Handle the case when table is nil.
12892 (rcirc-user-authenticated): Define to fix compiler warning.
12894 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12896 * custom.el (custom--inhibit-theme-enable): Make it affect only
12897 custom-theme-set-variables and custom-theme-set-faces.
12898 (provide-theme): Ignore custom--inhibit-theme-enable.
12899 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12900 (custom-enabling-themes): Delete variable.
12901 (enable-theme): Accept only loaded themes as arguments.
12902 Ignore the special custom-enabled-themes variable.
12903 (custom-enabled-themes): Forbid themes from setting this.
12904 Eliminate use of custom-enabling-themes.
12905 (custom-push-theme): Quote "changed" custom var entry.
12907 2011-03-21 Leo Liu <sdl.web@gmail.com>
12909 * ido.el (ido-read-internal): Add ido-selected to history instead
12912 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * subr.el (deferred-action-list, deferred-action-function):
12917 2011-03-21 Leo Liu <sdl.web@gmail.com>
12919 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12920 change on 2011-02-13 (bug#8309).
12922 * minibuffer.el (read-file-name-function): Change default value.
12923 (read-file-name--defaults): Rename from read-file-name-defaults.
12924 (read-file-name-default): Rename from read-file-name.
12925 (read-file-name): Call read-file-name-function.
12927 2011-03-21 Glenn Morris <rgm@gnu.org>
12929 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12932 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12934 * cus-theme.el: Add missing provide statement.
12935 (customize-create-theme): Extract theme value correctly.
12936 (custom-theme-visit-theme): Autoload.
12937 (customize-create-theme): Prompt before inserting default faces.
12939 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12941 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12942 units and musical notes.
12944 2011-03-20 Leo Liu <sdl.web@gmail.com>
12946 * ido.el (ido-read-internal): Use completing-read-default.
12947 (ido-completing-read): Fix compatibility with completing-read.
12949 2011-03-20 Christian Ohler <ohler@gnu.org>
12951 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12952 (ert-delete-all-tests): Use `called-interactively-p' rather than
12954 (ert--make-xrefs-region): Respect END.
12956 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12958 * dired-aux.el (dired-create-directory): Signal an error if the
12959 directory already exists (Bug#8246).
12961 * facemenu.el (list-colors-display): Call list-faces-display
12962 inside with-help-window.
12963 (list-colors-print): Use display property to align the final
12964 column, instead of checking window-width.
12966 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12968 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12969 windows-nt systems.
12970 (emerge-protect-metachars): Quote correctly for ms-dos and
12971 windows-nt systems.
12973 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12975 * info.el (info-initialize): Replace all uses of `:' with
12976 path-separator for compatibility with non-Unix systems.
12977 Cache quoting of path-separator. (Bug#8258)
12979 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12981 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12982 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12983 (mouse-avoidance-mode): Fix typos in docstrings.
12985 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12987 * startup.el (package-subdirectory-regexp): Move from package.el.
12988 Omit \\` and \\', and let callers add them.
12990 * emacs-lisp/package.el (package-strip-version)
12991 (package-load-all-descriptors): Add \\` and \\' to
12992 package-subdirectory-regexp before using it.
12993 (package-untar-buffer): New arg DIR; ensure that file untars only
12994 into this expected directory. Remove superfluous delete-region.
12995 (package-unpack): Caller changed.
12996 (package-tar-file-info): Use package-subdirectory-regexp.
12998 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13000 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13001 diff-mode-shared-map (bug#8284).
13002 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13004 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13006 * calendar/time-date.el (format-seconds): Use assoc instead of
13007 assoc-string, since assoc-string doesn't exist in XEmacs.
13009 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13011 * custom.el (custom-known-themes): Reflow docstring.
13012 (custom-theme-load-path): Fix typo in docstring.
13013 (load-theme): Fix typo in error message.
13014 (custom-available-themes, custom-variable-theme-value):
13015 Use `let', not `let*'.
13017 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13019 * calc/README: Mention inclusion of musical notes.
13021 * calc/calc-units.el (calc-lu-quant): Rename from
13022 `calc-logunits-quantity'.
13023 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13024 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13025 (calc-db): Rename from `calc-dblevel'.
13026 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13027 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13028 (calc-np): Rename from `calc-nplevel'.
13029 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13030 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13031 (calc-lu-plus): Rename from `calc-logunits-add'.
13032 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13033 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13034 (calc-lu-minus): Rename from `calc-logunits-sub'.
13035 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13036 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13037 (calc-lu-times): Rename from `calc-logunits-mul'.
13038 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13039 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13040 (calc-lu-divide): Rename from `calc-logunits-div'.
13041 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13042 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13044 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13045 functions being autoloaded.
13047 * calc/calc.el (calc-lu-power-reference): Rename from
13048 `calc-logunits-power-reference'.
13049 (calc-lu-field-reference): Rename from
13050 `calc-logunits-field-reference'.
13052 * calc/calc-help.el (calc-l-prefix-help):
13053 Mention musical note functions.
13055 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13057 * minibuffer.el (completion-all-sorted-completions):
13058 Use :completion-cycle-penalty text property if present.
13060 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13062 * allout.el (allout-yank-processing): Adjust for new rebulleting
13063 regime so bullet being yanked is used without prompting the user
13066 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13068 * startup.el (command-line): Warn the user that _emacs is deprecated.
13070 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13072 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13073 (delphi-verbose, delphi-comment-face, delphi-string-face)
13074 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13075 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13076 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13077 (delphi-new-comment-line, delphi-font-lock-defaults)
13078 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13079 Fix typos in docstrings.
13081 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13083 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13084 Invert the roles of character and string values for INSTEAD, so a
13085 string is used for the more common case of a defaulting prompt.
13087 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * progmodes/ruby-mode.el (ruby-backward-sexp):
13090 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13091 * play/gamegrid.el (gamegrid-make-face):
13092 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13093 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13094 * notifications.el (notifications-notify):
13095 * net/xesam.el (xesam-search-engines):
13096 * net/quickurl.el (quickurl-list-insert):
13097 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13099 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13101 * startup.el (command-line): Update package subdirectory regexp.
13103 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * allout.el (allout-abbreviate-flattened-numbering)
13106 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13108 * subr.el (read-char-choice): Only show the cursor after the prompt,
13109 not after the answer.
13111 2011-03-15 Kevin Ryde <user42@zip.com.au>
13113 * help-fns.el (variable-at-point): Skip leading quotes, if any
13116 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13118 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13121 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13123 * shell.el (shell): When called interactively, offer to change the
13124 shell file name on remote hosts.
13126 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13128 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13129 integration for LDAP parameters. The host, base, user or binddn,
13130 and secret tokens can be specified in a netrc file, for instance.
13131 This is optional because an `auth-source' parameter must be
13132 specified in the search attributes.
13134 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13136 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13138 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13140 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13141 into declaration. Remove redundant and harmful binding.
13143 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13145 * files.el (file-ownership-preserved-p): Pass `integer' as an
13146 explicit 2nd argument to `file-attributes'. If the file's owner
13147 is the Administrators group on Windows, and the current user is
13148 Administrator, consider that a match.
13150 * server.el (server-ensure-safe-dir): Consider server directory
13151 safe on MS-Windows if its owner is the Administrators group while
13152 the current Emacs user is Administrator. Use `=' to compare
13153 numerical UIDs, since they could be integers or floats.
13155 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13157 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13159 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13161 Sync with Tramp 2.2.1.
13163 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13165 * net/trampver.el: Update release number.
13167 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * progmodes/compile.el (compilation--previous-directory): Fix up
13170 various nil/dead-marker mismatches (bug#8014).
13171 (compilation-directory-properties, compilation-error-properties):
13172 Don't call it at a position past the one we're about to change.
13174 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13175 Disable obsolescence warnings in the file that declares it.
13177 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13179 * allout-widgets.el (allout-widgets-tally):
13180 Initialize allout-widgets-tally as a hash table rather than nil to
13181 prevent mode-line redisplay warnings. Also, clarify the module
13182 description and fix a comment typo.
13184 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13186 * help-fns.el (describe-variable): Don't complete keywords.
13187 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13189 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13191 * emacs-lisp/package.el (package-version-join): Impose a standard
13192 string representation for pre/alpha/beta version lists.
13193 (package-unpack-single): Standardize the directory name by passing
13194 it through package-version-join.
13195 (package-strip-rcs-id): Accept any version string that does not
13196 signal an error in version-to-list.
13198 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13200 * simple.el (delete-trailing-whitespace): Return nil for the
13201 benefit of `write-file-functions'.
13203 2011-03-10 Glenn Morris <rgm@gnu.org>
13205 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13207 * vc/vc-git.el (vc-git-program): New option.
13208 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13209 (vc-git--call): Use it.
13211 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13213 * cus-edit.el (Custom-newline): If no button at point, look
13214 for a subgroup button at start-of-line. (Bug#2298)
13216 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13218 2011-03-10 Julien Danjou <julien@danjou.info>
13220 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13221 `cursor-type' is nil.
13223 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13225 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13227 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13229 * allout.el: Change so yank of distinctive-bullet items
13230 preserves the existing header prefix, rebulleting it if necessary,
13231 rather than replacing it. This is necessary for proper operation
13232 of cooperative addons like allout-widgets.
13233 (allout-make-topic-prefix, allout-rebullet-heading):
13234 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13235 value as alternate bullet to be used, instead of prompting the user
13236 for a bullet character.
13238 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13240 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13241 Do not use `tramp-file-name-port', because this returns also
13242 `tramp-default-port'.
13244 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13246 * net/rcirc.el (rcirc-handler-001): Remove useless
13247 with-rcirc-process-buffer.
13248 (rcirc-check-auth-status): Swap arguments to string-match.
13250 2011-03-09 Glenn Morris <rgm@gnu.org>
13252 * shell.el (shell-mode):
13253 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13255 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13256 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13258 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13260 * emacs-lisp/package.el (package-refresh-contents)
13261 (package-menu-execute): Use condition-case-no-debug.
13263 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13265 * simple.el (shell-command-to-string): Use `process-file'.
13267 * emacs-lisp/package.el (package-tar-file-info): Handle also
13270 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13271 Use `equal' for upload base check.
13273 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13275 * textmodes/texinfo.el (texinfo-environments):
13276 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13278 2011-03-08 Glenn Morris <rgm@gnu.org>
13280 * cus-start.el (cursor-in-non-selected-windows):
13281 Fix :set quoting oddness. (Bug#8192)
13283 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13284 in some setf expressions. (Bug#2159)
13286 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13288 * custom.el (custom-available-themes): Return themes in
13289 alphabetical order.
13291 See ChangeLog.15 for earlier changes.
13293 ;; Local Variables:
13297 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13299 This file is part of GNU Emacs.
13301 GNU Emacs is free software: you can redistribute it and/or modify
13302 it under the terms of the GNU General Public License as published by
13303 the Free Software Foundation, either version 3 of the License, or
13304 (at your option) any later version.
13306 GNU Emacs is distributed in the hope that it will be useful,
13307 but WITHOUT ANY WARRANTY; without even the implied warranty of
13308 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13309 GNU General Public License for more details.
13311 You should have received a copy of the GNU General Public License
13312 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.