1 2012-11-03 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7 * term/pc-win.el: Don't load term/internal from here.
9 * loadup.el: Load term/internal from here.
11 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
13 * progmodes/python.el (inferior-python-mode): Fix hang in
16 2012-11-03 Martin Rudalics <rudalics@gmx.at>
18 * window.el (switch-to-visible-buffer)
19 (switch-to-buffer-preserve-window-point): Fix doc-strings.
21 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
23 * play/gomoku.el (gomoku-display-statistics): Update mode line
24 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
26 2012-10-31 Martin Rudalics <rudalics@gmx.at>
28 * window.el (quit-restore-window): If the window has been
29 created on an existing frame and ended up as the sole window on
30 that frame, do not delete it (Bug#12764).
32 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
34 * progmodes/sh-script.el (sh--inside-noncommand-expression):
35 Rename from sh--inside-arithmetic-expression, handle more cases
38 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
39 (sh-font-lock-open-heredoc): Use it (bug#12770).
41 2012-10-30 Glenn Morris <rgm@gnu.org>
43 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
45 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
47 2012-10-29 Chong Yidong <cyd@gnu.org>
49 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
50 function key is stored in a keyboard macro (Bug#4894).
52 * thingatpt.el (number-at-point): Apply a thing-at-point property.
54 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
56 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
58 (diff-unified->context, diff-context->unified)
59 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
61 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
63 * files.el (find-alternate-file): Only ask one question (bug#12487).
65 2012-10-29 Chong Yidong <cyd@gnu.org>
67 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
68 Suggested by Dan Nicolaescu (Bug#6326).
70 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
72 * startup.el (fancy-about-screen): Don't message (Bug#12680).
74 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
76 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
78 * face-remap.el (face-remap-add-relative): Handle the case where a
79 face-remapping-alist entry is a cons cell (Bug#12762).
81 2012-10-29 Kevin Ryde <user42@zip.com.au>
83 * woman.el (woman-parse-numeric-value): Handle picas correctly
86 2012-10-29 Glenn Morris <rgm@gnu.org>
88 * emacs-lisp/cl.el (defsetf): Doc fix.
90 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
92 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
93 syntax to the matching opener, if any (bug#12547).
94 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
95 matching open as a "case-(".
96 (sh-smie-rc-grammar): Add a corresponding rule for it.
98 2012-10-28 Daniel Hackney <dan@haxney.org>
100 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
101 "PKGNAME-autoloads.el" in case we created it.
103 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
105 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
106 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
107 (completion--twq-all): Disable too-strict assertions.
109 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
111 2012-10-27 Eli Zaretskii <eliz@gnu.org>
113 * profiler.el (profiler-report-make-entry-part): Fix help-echo
114 text to match the real keybindings.
116 2012-10-27 Juri Linkov <juri@jurta.org>
118 * wdired.el (wdired-keep-marker-rename): New defcustom.
119 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
122 * dired.el (dired-keep-marker-rename): Add reference to
123 `wdired-keep-marker-rename' in the docstring.
124 Add default character value ?R to display initially in
125 Customization UI instead of ?@.
127 2012-10-27 Martin Rudalics <rudalics@gmx.at>
129 * window.el (display-buffer): In doc-string describe
130 window-height and window-width alist entries.
132 * time.el (display-time-world): Restore fit-window-to-buffer
135 2012-10-27 Chong Yidong <cyd@gnu.org>
137 * subr.el (insert-buffer-substring-as-yank): Doc fix.
139 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
141 * minibuffer.el (completion-category-overrides): New completion
142 category `bookmark' (bug#11131).
144 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
146 * emacs-lisp/advice.el (ad-assemble-advised-definition):
147 Silence bogus compiler warnings for ad-do-it.
149 * bookmark.el (bookmark-completing-read): Set the completion category
150 to `bookmark' (bug#11131).
152 2012-10-26 Bastien <bzg@altern.org>
153 Stefan Monnier <monnier@iro.umontreal.ca>
155 * face-remap.el: Use lexical-binding.
156 (text-scale-adjust): Improve docstring. Use itself for the temporary
157 overlay-map bindings, so as to repeat the "Use..." message each time.
159 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
161 * emacs-lisp/macroexp.el (macroexp--expand-all):
162 Obey byte-compile-warning-enabled-p (bug#12486).
164 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
165 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
167 2012-10-26 Martin Rudalics <rudalics@gmx.at>
169 * mouse.el (mouse-drag-line): Move last form into preceding when
172 * help.el (resize-temp-buffer-window): Fix doc-string.
174 2012-10-25 David Engster <deng@randomsample.de>
176 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
177 Remove. This feature is already integrated in imenu.
179 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
180 always loaded. Require `speedbar' unconditionally.
182 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
184 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
186 * minibuffer.el (minibuffer-force-complete): Fix thinko.
188 * net/ldap.el (ldap-search-internal): The official ldif format starts
189 with a "version: 1" header (bug#12724).
191 * emacs-lisp/package.el (package-installed-p): Warn if not ready
194 2012-10-25 Glenn Morris <rgm@gnu.org>
196 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
198 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
200 * minibuffer.el (minibuffer-force-complete): Use one more marker
201 for the temporary-overlay-map command (bug#12619).
203 2012-10-24 Chong Yidong <cyd@gnu.org>
205 * time.el (display-time-world-mode): Derive from special-mode.
206 (display-time-world): Use display-buffer (Bug#12708).
207 (display-time-world-mode-map): Variable deleted.
208 (display-time-world-display): Wrap the final delete-char inside
211 2012-10-24 Chong Yidong <cyd@gnu.org>
213 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
216 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
218 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
220 * minibuffer.el (completion--all-sorted-completions-location): New var.
221 (completion--cache-all-sorted-completions)
222 (completion--flush-all-sorted-completions): Use it.
223 (completion-in-region, completion-in-region--postch)
224 (completion-at-point, completion-help-at-point): Use markers in
225 completion-in-region--data (bug#12619).
227 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
229 * progmodes/compile.el (compilation-start): Try to handle common
230 quoting of `cd' argument (bug#12640).
232 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
235 2012-10-23 Glenn Morris <rgm@gnu.org>
237 * progmodes/gud.el (gud-menu-map):
238 Check gdb-active-process is bound. (Bug#12358)
240 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
242 * repeat.el (repeat): Set real-this-command (bug#12232).
244 * htmlfontify.el (hfy-post-html-hook):
245 * filesets.el (filesets-cache-fill-content-hook):
246 * arc-mode.el (archive-extract-hook):
247 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
248 * net/rcirc.el (rcirc-sentinel-functions)
249 (rcirc-receive-message-functions, rcirc-activity-functions)
250 (rcirc-print-functions):
251 * net/dbus.el (dbus-event-error-functions):
252 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
253 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
254 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
255 * term/sun.el (sun-raw-prefix-hooks):
256 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
258 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
260 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
261 Set `tramp-chunksize' to 1. This improves the performance.
262 (tramp-smb-wait-for-output): Add timeout to
263 `tramp-accept-process-output' calls.
265 2012-10-23 Chong Yidong <cyd@gnu.org>
267 * faces.el (font-list-limit): Define as an obsolete variable.
269 * startup.el (command-line):
270 * cus-start.el: Don't refer to font-list-limit.
272 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
274 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
276 * subr.el (internal-temp-output-buffer-show): Rename from
277 temp-output-buffer-show, since previously compiled files expect this name.
279 2012-10-23 Glenn Morris <rgm@gnu.org>
281 * image.el (image-type-from-file-name): If multiple types match,
282 return the first one that is supported. (Bug#9045)
284 2012-10-22 Glenn Morris <rgm@gnu.org>
286 * image.el (imagemagick-enabled-types): Doc fix.
288 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
290 * progmodes/which-func.el (which-func-current): The hash-table may have
291 an explicit nil (bug#12338).
293 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
295 * electric.el (electric-pair-delete-selection-self-insert-function):
296 Rename to electric-pair-will-use-region, return a boolean.
297 (electric-pair-mode): Adjust accordingly. Don't require delsel.
299 * delsel.el (delete-selection-helper): Use a function instead of a hook.
300 (delete-selection-pre-hook): Use use-region-p.
301 (delete-selection-self-insert-function): Remove.
302 (self-insert-command): Obey self-insert-uses-region-functions.
303 (self-insert-iso): Revert to previous setting, since we don't actually
304 know what that command does.
305 (delete-selection-self-insert-hooks): Remove.
307 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
309 * delsel.el (delete-selection-helper): New function, extracted from
310 delete-selection-pre-hook.
311 (delete-selection-pre-hook): Use it.
312 (delete-selection-self-insert-function): New function.
313 (delete-selection-self-insert-hooks): New hook.
314 (self-insert-command, self-insert-iso): Use it.
315 * electric.el (electric-pair-syntax): New function, extracted from
316 electric-pair-post-self-insert-function.
317 (electric-pair-post-self-insert-function): Use it.
318 (electric-pair-delete-selection-self-insert-function): New function.
319 (electric-pair-mode): Require delsel and setup
320 delete-selection-self-insert-hooks (bug#11520).
322 2012-10-20 Chong Yidong <cyd@gnu.org>
324 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
325 no changes to show (Bug#12586).
327 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
328 list explicitly (Bug#12571).
330 2012-10-20 Arne Jørgensen <arne@arnested.dk>
332 * progmodes/flymake.el (flymake-create-temp-inplace):
335 2012-10-20 Eli Zaretskii <eliz@gnu.org>
337 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
339 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
341 * calc/calc-units.el (math-extract-units): Properly extract powers
344 2012-10-20 Daniel Colascione <dancol@dancol.org>
346 * frame.el (make-frame): Set x-display-name as we used to in order
347 to unbreak creating an X11 frame from an Emacs daemon started
350 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
352 * minibuffer.el (minibuffer-force-complete): Make the next completion use
353 the same completion-field (bug@12221).
355 2012-10-19 Martin Rudalics <rudalics@gmx.at>
357 * emacs-lisp/debug.el (debug): Record height of debugger window
358 also when debugger will be back (Bug#8789).
360 2012-10-18 Chong Yidong <cyd@gnu.org>
362 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
363 Convert to defcustom.
364 (gdb-get-source-file): Don't bind pop-up-windows.
366 * progmodes/gud.el (gud-display-line): Don't specially re-use
367 other frames for the gdb-mi case (Bug#12648).
369 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
371 * emacs-lisp/advice.el: Clean up commentary a bit.
372 (ad-do-advised-functions, ad-with-originals): Use `declare'.
373 (byte-code-function-p): Never redefine.
375 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
377 2012-10-18 Glenn Morris <rgm@gnu.org>
379 * dired.el (dired-sort-toggle): Some ls implementations only allow
380 a single option string. (Bug#12666)
382 * minibuffer.el (completion-cycle-threshold): Doc fix.
384 2012-10-17 Kenichi Handa <handa@gnu.org>
386 * international/mule.el (set-keyboard-coding-system):
387 Recover input meta mode when the new coding system doesn not use 8-bit.
388 Supply TERMINAL arg to set-input-meta-mode.
390 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
392 * wdired.el (wdired-old-marks): New variable.
393 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
394 (wdired-do-renames): Move point with renamed file and don't lose
395 mark status (Bug#11795).
397 2012-10-16 Juri Linkov <juri@jurta.org>
399 * replace.el (query-replace-help): Mention multi-buffer replacement
400 keys in the Help message. (Bug#12655)
402 2012-10-15 Chong Yidong <cyd@gnu.org>
404 * emacs-lisp/byte-run.el (defsubst): Doc fix.
406 2012-10-14 Eli Zaretskii <eliz@gnu.org>
408 * window.el (display-buffer): Doc fix.
410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
411 Adjust the msft regexp to the output of Studio 2010, and move msft
412 before edg-1. See the discussion on emacs-devel,
413 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
416 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
418 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
419 (oset): Move uses of object-class-fast macro after its definition.
421 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
423 2012-10-13 Chong Yidong <cyd@gnu.org>
425 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
426 enabled, re-enable it (Bug#11963).
428 2012-10-13 Martin Rudalics <rudalics@gmx.at>
430 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
431 non-nil, restore window configuration (Bug#12623).
433 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
435 * help-fns.el (describe-variable, describe-function-1):
436 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
438 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
440 2012-10-12 Glenn Morris <rgm@gnu.org>
442 * mail/rmailsum.el (rmail-header-summary):
443 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
445 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
447 * progmodes/python.el (python-mode-map):
448 Replace subtitute-key-definition with proper command remapping.
449 (python-nav--up-list): Fix behavior for blocks on the same level.
451 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
453 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
455 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
456 changes to the format of load-history.
458 * international/mule-cmds.el (read-char-by-name): Move let-binding of
459 completion-ignore-case in case that var is buffer-local (bug#12615).
461 2012-10-11 Kenichi Handa <handa@gnu.org>
463 * international/eucjp-ms.el: Re-generated.
465 2012-10-10 Kenichi Handa <handa@gnu.org>
467 * select.el (xselect--encode-string): If a coding is specified for
468 selection, and that is compatible with COMPOUND_TEXT, use it.
470 2012-10-10 Martin Rudalics <rudalics@gmx.at>
472 * window.el (switch-to-buffer-preserve-window-point): New option.
474 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
476 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
478 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
479 Don't document nil as a useful value (bug#12583).
481 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
483 * net/tramp.el (tramp-debug-message):
484 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
485 (with-tramp-progress-reporter): Rename from
486 `tramp-with-progress-reporter'.
487 (with-tramp-file-property, with-tramp-connection-property):
488 Move from tramp-cache.el, rename from `with-file-property' and
489 `with-connection-property', respectively.
491 * net/tramp-cache.el: Remove `with-file-property' and
492 `with-connection-property'.
497 * net/tramp-smb.el: Adapt callees.
499 * net/trampver.el: Update release number.
501 2012-10-09 Glenn Morris <rgm@gnu.org>
503 * w32-fns.el (set-message-beep):
504 * term/w32-win.el (set-message-beep): Update declarations.
506 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
508 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
509 (mode-line-widen, mode-line-input-method-map)
510 (mode-line-coding-system-map, mode-line-remote)
511 (mode-line-unbury-buffer, mode-line-bury-buffer)
512 (mode-line-next-buffer, mode-line-previous-buffer):
513 Replace save-selected-window+select-window => with-selected-window.
515 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
516 * progmodes/cc-vars.el (bq-process): Remove, unused.
518 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
520 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
522 Implemented `backward-up-list'-like navigation.
523 * progmodes/python.el (python-nav-up-list)
524 (python-nav-backward-up-list): New functions.
525 (python-mode-map): Define substitute key for backward-up-list to
526 python-nav-backward-up-list.
528 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
530 * progmodes/python.el (python-fill-paragraph): Rename from
531 python-fill-paragraph-function. Fixed fill-paragraph for
532 decorators (Bug#12605).
534 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
536 * progmodes/python.el (python-shell-output-filter): Handle extra
537 carriage return in OSX (Bug#12409).
539 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
541 Fix shell handling of unbalanced quotes and parens in output.
542 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
543 (python-syntax-propertize-function): Use it.
544 (python-shell-output-syntax-table): New var.
545 (inferior-python-mode): Prevent unbalanced parens/quotes from
546 previous output mess with current input context.
548 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
550 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
551 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
553 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
555 * ffap.el (ffap-replace-file-component): Support Tramp file name
556 syntax, not only ange-ftp's one.
558 2012-10-08 Glenn Morris <rgm@gnu.org>
560 * cus-start.el (message-log-max): Set :version.
562 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
564 2012-10-08 Martin Rudalics <rudalics@gmx.at>
566 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
567 the minibuffer window (Bug#10851).
569 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
571 Enhancements on forward-sexp movement.
572 * progmodes/python.el (python-nav-beginning-of-statement)
573 (python-nav-end-of-statement): Return point-marker.
574 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
575 (python-info-current-symbol)
576 (python-info-statement-starts-block-p): Rename from
577 python-info-beginning-of-block-p.
578 (python-info-statement-ends-block-p): Rename from
579 python-info-end-of-block-p.
580 (python-info-beginning-of-statement-p)
581 (python-info-end-of-statement-p)
582 (python-info-beginning-of-block-p, python-info-end-of-block-p):
585 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
587 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
588 frame-selected-windows.
590 2012-10-08 Daniel Colascione <dancol@dancol.org>
592 * battery.el (battery-status-function): Check for
593 w32-battery-status itself, not system-time windows-nt.
595 * frame.el: Require cl-lib.
596 (display-format-alist): New variable mapping frame types to
597 functions that initialize them.
598 (window-system-for-display): New function: interprets
599 display-format-alist.
600 (make-frame-on-display): Remove existing display-selection logic
601 and just forward to make-frame, which will now DTRT.
602 (make-frame): Restructure to use window-system-for-display to
603 figure out how to create a frame on a given display.
604 (display-mouse-p): Look for frame-type w32, not a particular
607 * loadup.el: Load w32 lisp code when we have the w32 feature.
609 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
610 system-type windows-nt.
612 * server.el (server-create-window-system-frame): Look for window
614 (server-proces-filter): Only force a window system when windows-nt
615 _and_ w32. Explain why.
617 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
618 of window systems we configure for the mode.
620 * startup.el (command-line): Mark window system is initialized
623 * common-win.el (x-select-text): Look for w32, not windows-nt.
625 * ns-win.el: Require cl-lib. Add ourselves to
626 display-format-alist.
627 (ns-initialize-window-system): Assert we're not initialized twice.
629 * w32-win.el: Enable lexical binding; require cl-lib; add
630 ourselves to display-format-alist.
631 (w32-handle-dropped-file): Convert incoming dropped files from
632 Windows paths to Cygwin ones before passing them on to the rest of
634 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
635 (w32-initialize-window-system): Assert we're not initialized twice.
637 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
638 (x-initialize-window-system): Assert we're not initialized twice.
640 * w32-common-fns.el: New File.
641 (w32-version, w32-using-nt, w32-get-clipboard-data)
642 (w32-set-clipboard-data, x-set-selection, x-get-selection)
643 (w32-charset-info-alist, x-last-selected, text)
644 (x-get-selection-value, x-selection-value): Move here.
646 * w32-fns.el: Require w32-common-fns.
647 (w32-version, w32-using-nt, w32-get-clipboard-data)
648 (w32-set-clipboard-data, x-set-selection, x-get-selection)
649 (w32-charset-info-alist, x-last-selected, text)
650 (x-get-selection-value, x-selection-value): Move to
654 (w32-allow-system-shell, w32-system-shells): Define only in
657 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
659 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
660 (read-passwd): Remove a few more potential sources of leaks.
662 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
664 * progmodes/python.el (inferior-python-mode)
665 (python-shell-make-comint): Fix initialization of local
666 variables copied from parent buffer.
668 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
670 * term/ns-win.el (ns-read-file-name): Update declaration to match
672 (ns-respond-to-change-font): Change fontsize separatly so we are sure
673 it is set when font is acted upon.
675 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
677 Enhancements to indentation.
678 * progmodes/python.el (python-indent-context): Give priority to
679 inside-string context. Make comments indentation markers.
680 (python-indent-region): Do not mess with strings, unless it's the
681 enclosing set of quotes.
683 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
685 * window.el (internal--before-save-selected-window)
686 (internal--after-save-selected-window): New functions extracted from
687 save-selected-window. Make sure we return the `alist' we construct.
688 (save-selected-window): Use them.
690 * textmodes/tex-mode.el (tex-recenter-output-buffer):
691 Use with-selected-window.
693 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
694 forms that define macros (bug#12593).
696 2012-10-07 Kenichi Handa <handa@gnu.org>
698 * international/mule-conf.el (compound-text-with-extensions):
699 Add :mime-charset property as x-ctext.
701 2012-10-07 Stefan Merten <smerten@oekonux.de>
703 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
704 (rst-indent-literal-normal, rst-indent-literal-minimized)
705 (rst-indent-comment): Correct :version tag.
706 (rst-official-cvs-rev): Correct version string.
708 2012-10-07 Glenn Morris <rgm@gnu.org>
710 * mail/rmailmm.el (rmail-mime-process-multipart):
711 Do not confuse a multipart message with an epilogue
712 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
714 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
716 Fix shell output retrieval and comint-prompt-regexp init.
717 * progmodes/python.el (inferior-python-mode):
718 (python-shell-make-comint): Fix initialization of
719 comint-prompt-regexp from copied file local variables.
720 (python-shell-fetched-lines): Remove var.
721 (python-shell-output-filter-in-progress): Rename from
722 python-shell-fetch-lines-in-progress.
723 (python-shell-output-filter-buffer): Rename from
724 python-shell-fetch-lines-string.
725 (python-shell-fetch-lines-filter): Delete function.
726 (python-shell-output-filter): New function.
727 (python-shell-send-string-no-output): Use them.
729 2012-10-07 Glenn Morris <rgm@gnu.org>
731 * hi-lock.el (hi-lock-process-phrase):
732 Try to make it less fragile. (Bug#7161)
734 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
736 2012-10-06 Glenn Morris <rgm@gnu.org>
738 * ehelp.el (electric-help-mode): Use help-mode rather than
739 non-existent mode `help'.
740 (electric-help-map): Use button-buffer-map. (Bug#10917)
742 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
743 (reftex-create-bibtex-footer): Fix custom types.
745 * progmodes/sh-script.el (sh-indent-after-continuation):
748 * textmodes/rst.el (rst-preferred-decorations)
749 (rst-shift-basic-offset): Clarify obsolescence versions.
751 * profiler.el (profiler): Add missing group :version tag.
752 * avoid.el (mouse-avoidance-banish-position):
753 * proced.el (proced-renice-command):
754 * calc/calc.el (calc-ensure-consistent-units):
755 * calendar/icalendar.el (icalendar-import-format-uid):
756 * net/tramp.el (tramp-save-ad-hoc-proxies):
757 * progmodes/bug-reference.el (bug-reference-bug-regexp):
758 * progmodes/flymake.el (flymake-error-bitmap)
759 (flymake-warning-bitmap, flymake-fringe-indicator-position):
760 * progmodes/sh-script.el (sh-indent-after-continuation):
761 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
762 (verilog-before-save-font-hook, verilog-after-save-font-hook):
763 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
764 (vhdl-array-index-record-field-in-sensitivity-list)
765 (vhdl-indent-comment-like-next-code-line):
766 * textmodes/reftex-vars.el (reftex-ref-style-alist)
767 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
768 (reftex-cite-key-separator, reftex-create-bibtex-header)
769 (reftex-create-bibtex-footer):
770 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
771 (rst-indent-literal-normal, rst-indent-literal-minimized)
772 (rst-indent-comment): Add missing custom :version tags.
774 * calendar/timeclock.el (timeclock-modeline-display):
775 Add missing obsolete alias for renamed user option.
777 * strokes.el (strokes-modeline-string):
778 * emulation/crisp.el (crisp-mode-modeline-string):
779 * eshell/esh-mode.el (eshell-status-in-modeline):
780 Aliases to defcustoms must come before the defcustom.
782 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
783 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
784 (cal-tex-cursor-week-monday): Doc fixes.
785 (cal-tex-cursor-week2-summary): Doc fix.
786 Rename from cal-tex-cursor-week-at-a-glance.
788 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
789 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
791 * calendar/calendar.el (calendar-mode-map):
792 Add cal-tex-cursor-week2-summary.
794 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
796 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
798 * subr.el (read-passwd-map): New var.
799 (read-passwd): Use `read-string' again.
800 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
802 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
804 * register.el (append-to-register, prepend-to-register):
805 Deactivate mark, as does `copy-to-register' (bug#12389).
807 2012-10-06 Chong Yidong <cyd@gnu.org>
809 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
811 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
813 * international/characters.el: Fix simple mistake ((car chars) ->
814 elt), delete duplicated code.
816 2012-10-06 Glenn Morris <rgm@gnu.org>
818 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
820 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
822 * color.el (color-hsl-to-rgb): Fix incorrect results for
823 small and large hue values. (Bug#12559)
825 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
827 Enhancements to docstring formatting when filling paragraphs.
828 * progmodes/python.el (python-fill-docstring-style): Rename from
829 python-fill-string-style. Added new style.
830 (python-fill-string): Use new style. Better checks for
833 2012-10-05 Glenn Morris <rgm@gnu.org>
835 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
837 * color.el (color-name-to-rgb, color-rgb-to-hex)
838 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
839 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
840 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
841 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
843 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
845 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
847 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
848 to get the correct size across symlinks.
850 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
852 2012-10-04 Juri Linkov <juri@jurta.org>
854 * replace.el (query-replace-interactive): Declare obsolete.
855 (query-replace-read-from): Add the last incremental search string
856 to the list of default values accessible via M-n.
857 (map-query-replace-regexp): Use `read-regexp'.
858 (query-replace, query-replace-regexp, query-replace-regexp-eval)
859 (map-query-replace-regexp, replace-string, replace-regexp):
860 Fix docstrings to replace mentions of `query-replace-interactive'
861 with alternatives. (Bug#12526)
863 2012-10-04 Juri Linkov <juri@jurta.org>
865 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
866 (dired-pop-to-buffer): Declare obsolete.
867 (dired-mark-pop-up): Doc fix.
869 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
871 Allow user to set docstring style for fill-paragraph.
872 * progmodes/python.el
873 (python-fill-comment-function, python-fill-string-function)
874 (python-fill-decorator-function, python-fill-paren-function):
875 Remove :safe for defcustoms.
876 (python-fill-string-style): New defcustom
877 (python-fill-paragraph-function): Enhance context detection.
878 (python-fill-string): Honor python-fill-string-style settings.
880 2012-10-04 Martin Rudalics <rudalics@gmx.at>
882 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
883 after setting its buffer (Bug#10805).
885 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
887 Fix cornercase for string syntax.
888 * progmodes/python.el (python-syntax-propertize-function):
889 Simplify and enhance the regexp for unescaped quotes. Now it also
890 matches quotes in weird situations like the single quote in
892 (python-syntax-stringify): Simplify num-quotes detecting code.
894 2012-10-03 Glenn Morris <rgm@gnu.org>
896 * help-macro.el (three-step-help):
897 Revert 2012-09-29 change. (Bug#12567)
899 2012-10-03 Martin Rudalics <rudalics@gmx.at>
901 * menu-bar.el (kill-this-buffer): Don't do anything when
902 `menu-frame' is not alive or visible (Bug#8184).
904 * emacs-lisp/debug.el (debug): When quitting the debugger window
905 restore current buffer (Bug#12502).
907 2012-10-02 Chong Yidong <cyd@gnu.org>
909 * progmodes/hideif.el (hif-lookup, hif-defined):
910 Handle semantic-c-takeover-hideif.
912 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
914 Change sampling interval units from ms to ns.
915 * profiler.el (profiler-sampling-interval): Change units
916 from ms to ns, multiplying the default by 1000000 so that
918 (profiler-report-cpu-line-format): Give enough room for
919 the maximum counters on 64-bit hosts.
920 (profiler-report-render-calltree-1): Call them "CPU samples",
921 not "Time (ms)", since they are not milliseconds now (and
924 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
926 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
927 Fix querying BBDB for entries without a last name (Bug#11580).
929 2012-10-02 Chong Yidong <cyd@gnu.org>
931 * emacs-lisp/eieio.el: Restore Version header.
933 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
935 * vc/diff-mode.el (diff--auto-refine-data): New var.
936 (diff-hunk): Use it to delay refinement.
937 (diff-mode): Remove overlays when we turn off font-lock.
939 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
940 (table-initialize-table-fixed-width-mode)
941 (table-set-table-fixed-width-mode): Remove functions.
942 (table-command-list): Move initialization into declaration.
943 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
944 (table-with-cache-buffer): Use `declare'.
945 (table-span-cell): Simplify via CSE.
946 (table-fixed-width-mode): Use define-minor-mode.
947 (table-call-interactively, table-funcall, table-apply): Remove.
948 (table-function): New function, to replace them.
950 * bookmark.el (bookmark-search-pattern): Remove var.
951 (bookmark-read-search-input): Remove function.
952 (bookmark-bmenu-search): Reimplement using a minibuffer.
954 * faces.el (modeline): Remove obsolete face name.
956 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
957 and give a non-nil default value.
958 (add-change-log-entry): Simplify accordingly.
960 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
962 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
963 (vc-git-log-edit-toggle-amend): New function.
964 (vc-git-log-edit-toggle-signoff): New function.
965 (vc-git-log-edit-mode): New major mode.
966 (vc-git-log-edit-mode-map): Keymap for it.
967 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
969 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
971 (log-edit-toggle-header): New function.
972 (log-edit-extract-headers): Accept function values in HEADERS alist.
974 2012-10-01 David Engster <deng@randomsample.de>
976 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
977 from symbol property and change message to be more consistent with
979 (eieio-describe-generic): Add filename for each implementation.
980 Fix indices for generic and normal methods.
981 (eieio-method-def, eieio-class-def): New buttons.
982 (eieio-help-find-method-definition)
983 (eieio-help-find-class-definition): New functions.
984 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
985 class, constructor and method definitions.
987 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
988 information in symbol property.
989 (scoped-class): Remove.
990 (eieio-slot-name-index, call-next-method): Check if it is bound.
992 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
994 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
995 (eieio-custom-mode): New major mode.
996 (eieio-customize-object): Use it.
998 2012-10-01 Eric Ludlam <zappo@gnu.org>
1000 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1001 specifying the expected class, and whether subclassing is allowed.
1002 (eieio-persistent-convert-list-to-object):
1003 (eieio-persistent-validate/fix-slot-value)
1004 (eieio-persistent-slot-type-is-class-p): New functions.
1005 (eieio-named::slot-missing): Doc fix.
1007 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1008 Stop using unused publd variable.
1010 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1011 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1012 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1013 (eieio-speedbar-handle-click): Do not specify a class for the
1014 method. Fixes method invocation order problems with EDE.
1016 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1019 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1021 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1023 * bookmark.el (bookmark-version-control): Give tags in the
1024 :type choices (Bug#12309), and improve doc string.
1025 (bookmark-write-file): Bind `print-circle' to `t' to allow
1026 circular custom bookmark types. (Bug#12503)
1028 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1030 Revert the FOLLOW-SYMLINKS change for file-attributes.
1031 * files.el (remote-file-name-inhibit-cache, after-find-file):
1032 * time.el (display-time-file-nonempty-p): Undo last change.
1034 * profiler.el (profiler-sampling-interval): Change default back to 1.
1035 See Stefan Monnier in
1036 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1038 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1040 Shell output catching a la gud-gdb.
1041 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1042 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1044 (python-shell-fetch-lines-filter): New function.
1045 (python-shell-send-string-no-output): Use them.
1047 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1049 * profiler.el (profiler-sampling-interval): Rename from
1050 profiler-sample-interval.
1051 (profiler-sampling-interval): Default to 10.
1052 (profiler-find-profile): New command (was profiler-find-log).
1053 (profiler-find-profile-other-window): New command.
1054 (profiler-find-profile-other-frame): New command.
1055 (profiler-profile): Introduce API-level data structure.
1057 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1059 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1060 * files.el (remote-file-name-inhibit-cache):
1061 * time.el (display-time-file-nonempty-p): Use it.
1062 * files.el (after-find-file): Don't chase links before calling
1063 file-exists-p, as file-exists-p already does the right thing.
1065 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1067 Merge from standalone RefTeX repository.
1069 The following ChangeLog entries are shortened versions of the
1070 original ones with file paths adapted. A not so strongly edited
1071 version of the original ChangeLog can be found in the commit log.
1073 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1074 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1075 Correctly handle new value type returned by `reftex-citation'.
1077 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1078 that entries with whitespace at various places are found.
1079 Doc fix. Include entries that are cross-referenced from cited entries.
1080 Include @String definitions in the resulting bib file. Add header
1081 and footer defined in `reftex-create-bibtex-header' and
1082 `reftex-create-bibtex-footer'.
1083 (reftex-do-citation): Make it possible again to insert
1084 non-existent entries. Save match data when asking for optional
1085 arguments. Return all keys, not just the first one.
1086 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1087 all citations in the same line.
1088 (reftex-parse-bibtex-entry): Accept additional optional argument
1089 `raw' and keep quotes or braces if it is non-nil. Match fields
1090 containing hyphens besides word constituents.
1091 (reftex-get-string-refs): New function.
1092 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1093 and ask if it should be reread in case it did.
1094 (reftex-pop-to-bibtex-entry)
1095 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1096 entries with spaces or tabs in front of arguments.
1097 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1098 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1099 Match entries containing numbers and symbol constituents.
1100 (reftex-do-citation, reftex-figure-out-cite-format):
1101 Use `reftex-cite-key-separator'.
1103 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1104 (reftex-mouse-view-crossref): Explain why point is set.
1106 * textmodes/reftex-global.el: Whitespace changes.
1108 * textmodes/reftex-index.el: Move provide statement to end of
1110 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1111 (reftex-index-visit-phrases-buffer): Set marker when visiting
1112 buffer. This allows for returning from the phrases file to the
1113 file one was just editing instead of the file where the last
1114 phrases was added from.
1115 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1116 punctuation syntax as it usually is not used as string quote in
1117 TeX-related modes and may occur unmatched. The change also
1118 prevents fontification of quoted content.
1119 (reftex-index-phrases-mode): Use it.
1121 * textmodes/reftex-parse.el (reftex-parse-from-file):
1122 Move backward one char if a `\' was matched after a section macro.
1123 (reftex-parse-from-file): Use beginning of match instead of end as
1126 * textmodes/reftex-ref.el: Adapt creation of
1127 `reftex-<package>-<macro>' functions to new structure of
1128 `reftex-ref-style-alist'.
1129 (reftex-reference): Use `reftex-ref-style-list' function.
1130 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1131 reference macro if `reftex-ref-macro-prompt' is non-nil.
1132 (reftex-reference): Pass refstyle to `reftex-format-special'.
1133 Determine reference macro by looking at
1134 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1135 Use only one special format function.
1136 (reftex-varioref-vref, reftex-fancyref-fref)
1137 (reftex-fancyref-Fref): Remove definitions. The functions are now
1138 generated from `reftex-ref-style-alist'.
1139 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1141 (reftex-format-special): New function.
1143 * textmodes/reftex-sel.el
1144 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1145 of `reftex-ref-style-alist'. Remove code for testing macro type.
1146 (reftex-select-toggle-varioref)
1147 (reftex-select-toggle-fancyref): Remove.
1148 (reftex-select-cycle-ref-style-internal)
1149 (reftex-select-cycle-ref-style-forward)
1150 (reftex-select-cycle-ref-style-backward): New functions.
1151 (reftex-select-label-map): Use `v' and `V' for general cycling
1152 through reference styles. Add `p' for switching between number
1153 and page reference types.
1155 * textmodes/reftex-toc.el (reftex-re-enlarge):
1156 Call `enlarge-window' only if there is something to do because in Emacs
1157 the horizontal version throws an error even if the parameter is 0.
1159 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1160 (reftex-plug-into-AUCTeX): Doc fix.
1161 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1162 string. Adapt to new name.
1163 (reftex-ref-style-alist): Change structure so that it is not
1164 possible to use multiple different package names within a style.
1165 Remove the symbols for symbols for macro type distinction.
1166 Add characters for macro selection.
1167 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1168 (reftex-create-bibtex-footer): New variables.
1169 (reftex-format-ref-function): Mention third argument of special
1171 (reftex-ref-style-alist, reftex-ref-style-default-list):
1173 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1174 to new implementation. Mark as obsolete. Add compatibility code
1175 for honoring the variable values in case they are set.
1176 (reftex-cite-format-builtin, reftex-bibliography-commands):
1177 Add support for ConTeXt.
1178 (reftex-format-ref-function, reftex-format-cite-function):
1180 (reftex-cite-key-separator): New variable.
1182 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1183 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1184 `reftex-syntax-table' because parens have to retain their paren
1185 syntax in order for parsing of BibTeX entries like @book(...) to
1187 (reftex-in-comment): Do not error out if `comment-start-skip' is
1188 not set. Deal correctly with escaped comment characters.
1189 (reftex-tie-multifile-symbols): Add doc string.
1190 Initialize `reftex-ref-style-list'.
1191 (reftex-untie-multifile-symbols): Add doc string.
1192 (reftex-add-index-macros): Doc fix.
1193 (reftex-ref-style-activate, reftex-ref-style-toggle)
1194 (reftex-ref-style-list): New functions.
1195 (reftex-mode-menu): Use them. Adapt to new structure of
1196 `reftex-ref-style-alist'.
1197 (reftex-select-with-char): Kill the RefTeX Select buffer when
1199 (reftex-remove-if): New function.
1200 (reftex-erase-all-selection-and-index-buffers)
1201 (reftex-mode-menu): Reference styles are now computed from
1202 `reftex-ref-style-alist'. Fix typo.
1203 (reftex-report-bug): New function.
1204 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1205 algorithms with O(n log n). Introduce optional argument SORT (not
1208 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1210 Enhancements for triple-quote string syntax.
1211 * progmodes/python.el (python-syntax-propertize-function):
1212 Match both quote cases in one regexp.
1213 (python-syntax-stringify): Handle matches properly.
1215 2012-09-30 Juri Linkov <juri@jurta.org>
1217 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1218 to nil around the call to `insert' to prevent
1219 directory time modification by lock_file. (Bug#2295)
1220 * tar-mode.el (tar-summarize-buffer): Idem.
1222 2012-09-30 Juri Linkov <juri@jurta.org>
1224 * facemenu.el (list-colors-sort): Add option "Luminance".
1225 (list-colors-sort-key): Implement it.
1227 * vc/diff-mode.el (diff-refine-removed):
1228 * vc/ediff-init.el (ediff-fine-diff-A):
1229 * vc/smerge-mode.el (smerge-refined-removed):
1230 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1232 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1234 * term/ns-win.el (x-file-dialog): New function.
1236 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1238 * ido.el (ido-max-directory-size): Default to nil; the current
1239 default is small for POSIX systems, and impractical on Windows 7
1240 now that lstat returns directory sizes for NTFS.
1242 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1244 In buffer display functions handle window-height/window-width
1245 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1246 * window.el (window--display-buffer): New argument ALIST.
1247 Obey window-height and window-width alist entries.
1248 (window--try-to-split-window): New argument ALIST.
1249 Bind window-combination-limit to t when the window's size shall be
1250 changed and window-combination-limit equals `window-size'.
1251 (display-buffer-in-atom-window)
1252 (display-buffer-in-major-side-window)
1253 (display-buffer-in-side-window, display-buffer-same-window)
1254 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1255 (display-buffer-pop-up-window, display-buffer-below-selected)
1256 (display-buffer-at-bottom, display-buffer-in-previous-window)
1257 (display-buffer-use-some-window): Adjust all callers of
1258 window--display-buffer and window--try-to-split-window.
1259 (fit-frame-to-buffer): New option.
1260 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1262 (display-buffer-in-major-side-window): Evaluate window-height /
1263 window-width alist entries.
1265 * help.el (temp-buffer-resize-frames)
1266 (temp-buffer-resize-regexps): Remove options.
1267 (temp-buffer-resize-mode): Adjust doc-string.
1268 (resize-temp-buffer-window): Don't consult
1269 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1270 temp-buffer-resize-frames.
1272 * dired.el (dired-mark-pop-up):
1273 Call display-buffer-below-selected with a fit-window-to-buffer alist
1276 2012-09-30 Chong Yidong <cyd@gnu.org>
1278 * server.el (server-host): Document the security implications.
1279 (server-auth-key): Doc fix.
1281 * startup.el (initial-buffer-choice): Doc fix.
1283 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1285 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1288 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1290 * help-fns.el (help-fns--obsolete): Fix last change.
1292 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1295 (minor-mode-map-alist): Remove redundant code.
1297 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1298 visited in a buffer.
1299 (cvs-insert-visited-file): New function.
1300 (find-file-hook): Use it.
1302 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1304 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1306 (log-edit-empty-buffer-p): Don't require a space after a header.
1308 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1310 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1312 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1313 a proper minor-mode.
1315 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1317 2012-09-29 Glenn Morris <rgm@gnu.org>
1319 * winner.el (winner-mode): Remove variable (let define-minor-mode
1321 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1323 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1324 (winner-mode): Use define-minor-mode.
1326 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1327 the full definition in loaddefs, rather than duplicating it.
1329 * help-macro.el (three-step-help): No need to autoload defcustom.
1331 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1332 (inferior-lisp-program, inferior-lisp-load-command)
1333 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1334 No need to autoload defcustoms.
1336 * hippie-exp.el (hippie-expand-try-functions-list)
1337 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1338 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1339 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1340 (hippie-expand-only-buffers): No need to autoload defcustoms.
1341 * progmodes/vhdl-mode.el (vhdl-line-expand):
1342 Explicitly load hippie-exp, so it does not get autoloaded
1343 while hippie-expand-try-functions-list is let-bound.
1345 2012-09-28 Glenn Morris <rgm@gnu.org>
1347 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1349 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1350 Only "cl.el" counts as cl these days.
1352 2012-09-28 Juri Linkov <juri@jurta.org>
1354 Display archive errors in the echo area instead of inserting
1357 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1358 to STDERR-TEST that can be a regexp matching a successful output.
1359 Create a temporary file and redirect stderr to it. Search for
1360 STDERR-TEST in the stderr output and display it in the echo area
1361 if no match is found.
1362 (archive-extract-by-file): New function like
1363 `archive-extract-by-stdout' but extracting archives to files
1364 and looking for successful matches in stdout. Function body is
1365 mostly copied from `archive-rar-extract'.
1366 (archive-rar-extract): Use `archive-extract-by-file'.
1367 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1369 2012-09-28 Leo Liu <sdl.web@gmail.com>
1371 * pcomplete.el (pcomplete-show-completions):
1372 Use minibuffer-message to make pcomplete usable in minibuffer.
1374 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1376 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * type-break.el: Use lexical-binding.
1379 (type-break-mode): Use define-minor-mode.
1381 * emacs-lisp/pcase.el (pcase--mark-used): New.
1382 (pcase--u1): Use it (bug#12512).
1384 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1385 in load-history with the right file name.
1387 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1389 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1390 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1391 (doc-view-get-bounding-box): Make bounding box slicing work for
1392 ODF and DVI documents.
1394 2012-09-28 Glenn Morris <rgm@gnu.org>
1396 * type-break.el (type-break-mode, type-break-interval)
1397 (type-break-good-rest-interval, type-break-keystroke-threshold):
1398 No need to autoload.
1399 (type-break-good-rest-interval, type-break-keystroke-threshold):
1402 2012-09-28 Chong Yidong <cyd@gnu.org>
1404 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1407 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1411 2012-09-27 Glenn Morris <rgm@gnu.org>
1413 * faces.el (x-display-name): Declare (for without-x builds).
1415 * linum.el (linum-format): Don't autoload it. Improve :type.
1417 * progmodes/tcl.el: Don't require outline when compiling.
1418 (outline-regexp, outline-level): Declare.
1419 * textmodes/sgml-mode.el: Don't require outline when compiling.
1420 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1422 * term.el (term-ansi-reset):
1423 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1425 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1426 files for RCS and SCCS. (Bug#9781)
1428 2012-09-27 Chong Yidong <cyd@gnu.org>
1430 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1431 change; value should be t.
1433 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1435 * image-mode.el: Use lexical-binding.
1436 (image-mode-winprops): Use t to stand for the window of
1437 a buffer that's not displayed.
1438 * doc-view.el (doc-view-new-window-function): Handle the new
1440 (doc-view-enlarge): Make it a real nop if the size is not changed.
1441 (doc-view-display): Handle the case where the buffer is not (yet?)
1442 displayed in any window.
1443 (doc-view-saved-settings): New var.
1444 (doc-view-mode): Use it.
1445 (doc-view-fallback-mode): Set it.
1447 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1448 Set lexical-binding.
1449 (minibuffer-eldef-shorten-default): New var.
1450 (minibuffer-default-in-prompt-regexps): Use it for new default.
1451 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1453 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1455 * international/uni-bidi.el:
1456 * international/uni-category.el:
1457 * international/uni-name.el:
1458 * international/uni-numeric.el: Regenerate.
1460 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1461 Stefan Monnier <monnier@iro.umontreal.ca>
1463 * profiler.el: New file.
1465 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1468 (testcover-reinstrument): Simplify with CSE.
1470 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1472 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1474 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1476 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1477 (verilog-auto-input, verilog-auto-insert-lisp)
1478 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1479 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1480 (verilog-auto-unused, verilog-auto-wire)
1481 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1482 newline. Reported by Andrew Jones.
1483 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1484 Reported by Brad Dobbie.
1485 (verilog-batch-delete-trailing-whitespace):
1486 Create verilog-batch-delete-trailing-whitespace.
1487 Reported by Brad Dobbie.
1488 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1489 parameters from another module. Reported by Dan Katz.
1490 (verilog-auto, verilog-auto-assign-modport)
1491 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1492 AUTOINOUTMODPORT for UVM interface module shell generation.
1493 Reported by Brad Dobbie.
1494 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1496 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1497 Reported by Matt Martin.
1499 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1501 * window.el (window--resize-child-windows): When resizing child
1502 windows proportionally, process them in reverse order to
1503 preserve the "when splitting a window the new one gets the odd
1505 (window--resize-root-window-vertically): When resizing the
1506 minibuffer window try to affect only windows at the bottom of the
1509 2012-09-25 Chong Yidong <cyd@gnu.org>
1511 * subr.el (declare): Doc fix.
1513 * help-fns.el (help-fns--obsolete): Handle macros properly.
1515 2012-09-25 Chong Yidong <cyd@gnu.org>
1517 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1518 this function obsolete.
1520 * calendar/cal-x.el (calendar-two-frame-setup)
1521 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1522 * calendar/calendar.el (american-calendar, european-calendar)
1523 (calendar-for-loop):
1524 * comint.el (comint-dynamic-simple-complete)
1525 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1526 * desktop.el (desktop-load-default):
1527 * dired-x.el (dired-omit-here-always)
1528 (dired-hack-local-variables, dired-default-directory):
1529 * emacs-lisp/derived.el (derived-mode-class):
1530 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1531 * emacs-lock.el (toggle-emacs-lock):
1532 * epa.el (epa-display-verify-result):
1533 * epg.el (epg-sign-keys, epg-start-sign-keys)
1534 (epg-passphrase-callback-function):
1535 * eshell/esh-util.el (eshell-for):
1536 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1537 (eshell-add-to-window-buffer-names):
1538 * files.el (locate-file-completion):
1539 * imenu.el (imenu-example--create-c-index)
1540 (imenu-example--create-lisp-index)
1541 (imenu-example--lisp-extract-index-name)
1542 (imenu-example--name-and-position):
1543 * international/mule-cmds.el (princ-list):
1544 * international/mule-diag.el (decode-codepage-char):
1545 * international/mule-util.el (detect-coding-with-priority):
1546 * iswitchb.el (iswitchb-read-buffer):
1547 * mail/mailalias.el (mail-complete):
1548 * mail/sendmail.el (mail-sent-via):
1549 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1550 (mouse-major-mode-menu):
1551 * password-cache.el (password-read-and-add):
1552 * pcomplete.el (pcomplete-parse-comint-arguments):
1553 * progmodes/sh-script.el (sh-maybe-here-document):
1554 * replace.el (query-replace-regexp-eval):
1555 * savehist.el (savehist-load):
1556 * simple.el (choose-completion-delete-max-match):
1557 * term.el (term-dynamic-simple-complete):
1558 * vc/ediff-init.el (ediff-check-version):
1559 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1560 * vc/vc.el (vc-diff-switches-list):
1561 * view.el (view-return-to-alist-update): Likewise.
1563 * subr.el (eval-next-after-load, makehash, insert-string)
1564 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1566 (mode-line-inverse-video): Variable deleted.
1568 * international/mule-util.el (string-to-sequence): Remove.
1570 * calendar/calendar.el (calendar-version):
1571 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1572 (icalendar-convert-diary-to-ical):
1573 * cus-edit.el (custom-mode):
1574 * ansi-color.el (ansi-color-unfontify-region):
1575 * international/latin1-disp.el (latin1-char-displayable-p):
1576 * progmodes/cwarn.el (turn-on-cwarn-mode):
1577 * progmodes/which-func.el (which-func-update-1):
1578 Use define-obsolete-function-alias.
1580 * net/newst-backend.el (newsticker-cache-filename):
1581 * net/newst-treeview.el (newsticker-groups-filename):
1582 Fix incorrect obsolescence declaration.
1584 * allout.el (allout-passphrase-hint-string): Likewise.
1585 (allout-init): Use a declare form to mark obsolete.
1587 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1588 this applies to functions.
1590 * iswitchb.el (iswitchb-read-buffer): Move code of
1591 iswitchb-define-mode-map here, and delete that obsolete function.
1593 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1594 font-lock-reference-face.
1596 2012-09-25 Glenn Morris <rgm@gnu.org>
1598 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1601 * eshell/em-term.el (eshell-term-name):
1602 Default to term-term-name. (Bug#12485)
1604 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1606 * progmodes/python.el (python-shell-send-buffer): Better handling
1607 of "if __name__ == '__main__':" conditionals when sending the buffer.
1609 2012-09-24 Glenn Morris <rgm@gnu.org>
1611 * eshell/esh-cmd.el (eshell-find-alias-function):
1612 Tighten up file-name regexp. (Bug#12499)
1614 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1616 Enhancements for triple-quote string syntax.
1617 * progmodes/python.el (python-quote-syntax): Remove.
1618 (python-syntax-propertize-function): New value.
1619 (python-syntax-count-quotes, python-syntax-stringify):
1622 2012-09-24 Chong Yidong <cyd@gnu.org>
1624 * mail/supercite.el (sc-version): Remove obsolete function.
1625 (sc-describe): Don't mark as obsolete, since it is bound.
1626 (sc-submit-bug-report): Remove.
1628 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1629 (cvs-commit-buffer-require-final-newline): Remove.
1630 (log-edit-require-final-newline)
1631 (log-edit-changelog-full-paragraphs): Default to t.
1633 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1634 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1635 * vc/vc.el (vc-checkout-carefully): Likewise.
1637 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1638 (emerge-version): Remove.
1640 * progmodes/compile.el (compile-internal): Remove.
1641 (compilation-parse-errors-function): Fix typo.
1643 * international/mule.el (set-char-table-default): Remove.
1644 (set-coding-priority, make-coding-system, generic-char-p)
1645 (charset-list, charset-bytes, charset-id): Use declare to mark
1646 functions as obsolete.
1648 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1649 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1650 * vc/vc-hooks.el (vc-default-registered): Don't use
1651 vc-master-templates.
1653 * font-lock.el (font-lock-reference-face):
1654 Use define-obsolete-variable-alias.
1656 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1657 * calendar/calendar.el (calendar-font-lock-keywords):
1658 * calendar/diary-lib.el (diary-font-lock-keywords)
1659 (diary-fancy-font-lock-keywords):
1660 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1661 * textmodes/reftex-index.el (reftex-insert-index):
1662 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1663 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1664 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1665 * progmodes/prolog.el (prolog-font-lock-keywords):
1666 * progmodes/idlwave.el (idlwave-idl-keywords):
1667 * progmodes/ada-mode.el (ada-font-lock-keywords):
1668 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1670 2012-09-24 Glenn Morris <rgm@gnu.org>
1672 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1674 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1676 * progmodes/python.el (python-indent-line): More consistent cursor
1679 2012-09-23 Stefan Merten <smerten@oekonux.de>
1681 * textmodes/rst.el: Fix compiler warning.
1683 2012-09-23 Roland Winkler <winkler@gnu.org>
1685 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1686 Transcribe also LaTeX hyphenation.
1687 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1688 bibtex-reformat-previous-options.
1690 2012-09-23 Roland Winkler <winkler@gnu.org>
1692 * proced.el (proced-renice-command): New variable.
1693 (proced-marked-processes): New function.
1694 (proced-with-processes-buffer): New macro.
1695 (proced-send-signal): Use them.
1696 (proced-renice): New command bound to r.
1698 2012-09-23 Roland Winkler <winkler@gnu.org>
1700 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1701 ibuffer-saved-filter-groups has one element, shortcut the call of
1702 completing-read. (Bug#12331)
1704 2012-09-23 Chong Yidong <cyd@gnu.org>
1706 * bindings.el (mode-line-toggle-read-only):
1707 * bs.el (bs-toggle-readonly):
1708 * buff-menu.el (Buffer-menu-toggle-read-only):
1709 * dired.el (dired-toggle-read-only):
1710 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1712 2012-09-23 Chong Yidong <cyd@gnu.org>
1714 * image.el (image-type-available-p): Adapt to init-image-library
1717 2012-09-22 Juri Linkov <juri@jurta.org>
1719 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1720 `dired-toggle-read-only'. (Bug#12462)
1722 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1724 * subr.el (temp-output-buffer-show): New function.
1725 (with-output-to-temp-buffer): Call temp-output-buffer-show
1726 instead of internal-temp-output-buffer-show.
1728 2012-09-22 Chong Yidong <cyd@gnu.org>
1730 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1733 * repeat.el (repeat): Doc fix (Bug#12348).
1735 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1738 * simple.el (shell-command-on-region): Doc fix.
1739 (read-only-mode): Doc fix.
1741 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1743 * emacs-lisp/timer.el (run-with-idle-timer)
1744 (timer-activate-when-idle): Warn against reinvoking an idle timer
1745 from within its own timer action. (Bug#12447)
1747 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1749 * cus-start.el (window-combination-limit): Add new optional
1751 * window.el (temp-buffer-window-show)
1752 (window--try-to-split-window): Handle new values of
1753 window-combination-limit (Bug#1806).
1754 (split-window): Test window-combination-limit for t instead of
1756 (display-buffer-at-bottom): New buffer display action function.
1757 * help.el (temp-buffer-resize-regexps): New option.
1758 (temp-buffer-resize-mode): Rewrite doc-string.
1759 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1760 Don't resize reused window. Suggested by Glenn Morris.
1762 2012-09-22 Stefan Merten <smerten@oekonux.de>
1764 * textmodes/rst.el: Revamp section title faces.
1765 (rst-official-version)
1766 (rst-package-emacs-version-alist): Sync with official version
1768 (rst-faces-defaults, rst-set-level-default)
1769 (rst-level-face-max, rst-level-face-base-color)
1770 (rst-level-face-base-light, rst-level-face-format-light)
1771 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1772 (rst-adornment-faces-alist): Match new setup.
1773 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1774 (rst-level-5, rst-level-6): New faces.
1776 2012-09-22 Chong Yidong <cyd@gnu.org>
1778 * simple.el (undo): Handle indirect buffers (Bug#8207).
1780 2012-09-21 Leo Liu <sdl.web@gmail.com>
1782 IDO: Disable match re-ordering for buffer switching.
1783 * ido.el (ido-buffer-disable-smart-matches): New variable.
1784 (ido-set-matches-1): Use it. (Bug#2042)
1786 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1788 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1789 Fix 2011-05-17 change. (Bug#12418)
1791 2012-09-21 Leo Liu <sdl.web@gmail.com>
1793 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1795 2012-09-21 Glenn Morris <rgm@gnu.org>
1797 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1798 Be more robust about locating simple.el.
1800 2012-09-21 Glenn Morris <rgm@gnu.org>
1802 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1804 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1806 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1808 2012-09-20 Juri Linkov <juri@jurta.org>
1810 * replace.el (query-replace-read-from): Use `read-regexp' instead
1811 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1812 (occur-read-primary-args): Use `read-regexp' instead of
1814 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1815 `read-from-minibuffer'.
1816 * isearch.el (isearch-occur): Use `read-regexp' instead of
1818 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1819 `read-from-minibuffer'.
1820 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1821 of `read-string'. (Bug#7567)
1823 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1824 and allow accepting a list of strings prepended to a list of
1825 standard default values. Doc fix. (Bug#12321)
1827 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1829 * replace.el (read-regexp): Don't add ": " when PROMPT already
1830 ends with a colon and space. (Bug#12321)
1832 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1834 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1837 2012-09-20 Stefan Merten <smerten@oekonux.de>
1839 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1840 Fixes feature request bug#11711.
1841 (rst-mode): Create `imenu-create-index-function'.
1842 (rst-get-stripped-line): Delete after refactoring.
1843 (rst-section-tree, rst-section-tree-rec)
1844 (rst-section-tree-point): Refactor and document properly.
1845 (rst-imenu-find-adornments-for-position)
1846 (rst-imenu-convert-cell, rst-imenu-create-index):
1849 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1852 (macroexp--expand-all): Use it.
1853 (macroexp--funcall-and-return): Remove by folding it into its sole
1854 caller (macroexp--warn-and-return).
1855 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1856 Use macroexp--obsolete-warning.
1858 * calc/calc.el: Fix last change by removing the whole chunk, since it
1859 was only needed back when Calc was not bundled.
1861 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1863 * emacs-lisp/debug.el (debug): Restore assignment to
1864 debugger-old-buffer removed on 2012-09-08.
1866 2012-09-20 Juri Linkov <juri@jurta.org>
1868 * dired-aux.el (dired-diff): Remove (require 'diff) since
1869 `diff-latest-backup-file' is now autoloaded.
1871 2012-09-20 Chong Yidong <cyd@gnu.org>
1873 * vc/diff.el (diff-latest-backup-file): Autoload.
1875 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * calc/calc.el: Remove redundant autoload shape check.
1878 (sel-mode): Don't defvar.
1879 (calc-get-stack-element): Add `sel-mode' arg instead.
1880 (calc-top, calc-top-list): Pass it this additional argument.
1881 * calc/calc-store.el (calc-store-map):
1882 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1883 (calc-map-equation, calc-outer-product, calc-inner-product):
1884 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1886 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1888 2012-09-19 Juri Linkov <juri@jurta.org>
1890 * dired-aux.el (dired-diff): Add (require 'diff) because
1891 `diff-latest-backup-file' is not autoloaded.
1892 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1893 of `dired-get-filename' to t to not report error when there is
1894 no default file on the current line.
1896 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1899 macroexp--eval-if-compile.
1900 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1901 (macroexp--expand-all): Use them (bug#12371).
1903 * doc-view.el (doc-view-guess-paper-size)
1904 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1906 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1908 New feature: set optimal slice from BoundingBox information.
1909 * doc-view.el (doc-view-mode-map): Add keybinding.
1910 (doc-view-menu): Add menu entry.
1911 (doc-view-set-slice): Adapt docstring.
1912 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1913 (doc-view-scale-bounding-box)
1914 (doc-view-set-slice-from-bounding-box): New functions.
1915 (doc-view-paper-sizes): New defvar.
1917 2012-09-19 Glenn Morris <rgm@gnu.org>
1919 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1920 (byte-compile-log-warning): Autoload. (Bug#12371)
1922 * calendar/calendar.el (calendar-american-month-header)
1923 (calendar-european-month-header, calendar-iso-month-header)
1924 (calendar-month-header): New options.
1925 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1926 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1928 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1930 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1932 2012-09-18 Juri Linkov <juri@jurta.org>
1934 * dired-aux.el (dired-diff): Restore original functionality of
1935 getting the default value, but keep new feature of using the
1936 latest existing backup file (`diff-latest-backup-file').
1938 2012-09-18 Juri Linkov <juri@jurta.org>
1940 * dired.el (dired-mark): If the region is active in Transient Mark
1941 mode, mark all files in the active region. Doc fix.
1942 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1943 Doc fix. (Bug#10624)
1945 2012-09-18 Juri Linkov <juri@jurta.org>
1947 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1948 attributes for M-n are pulled from the file at point.
1949 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1950 Suggested by Drew Adams. (Bug#10624)
1952 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1954 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1955 whitespace after "end".
1956 (ruby-do-end-to-brace): Collapse block to one line if it fits
1959 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1961 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1963 (debug): Don't remove debugger window when debugger is expected
1966 2012-09-18 Chong Yidong <cyd@gnu.org>
1968 * custom.el (defface): Doc fix.
1970 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1972 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1974 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1975 to initialize query-on-exit; then test that instead (bug#12288).
1977 2012-09-17 Stefan Merten <smerten@oekonux.de>
1979 * textmodes/rst.el: Add support for `testcover'.
1980 (rst-defcustom-testcover, rst-testcover-add-compose)
1981 (rst-testcover-add-1value): New functions.
1982 (rst-portable-mark-active-p): Replace by `use-region-p'.
1983 (rst-update-section, rst-classify-adornment)
1984 (rst-find-title-line): Mark `1value' forms.
1985 (rst-classify-adornment): Remove superfluous form.
1986 (rst-update-section, rst-get-adornments-around)
1987 (rst-adornment-complete-p, rst-get-next-adornment)
1988 (rst-adjust, rst-promote-region)
1989 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1990 (rst-find-pfx-in-region, rst-section-tree-rec)
1991 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1992 (rst-toc-node, rst-toc, rst-forward-section)
1993 (rst-iterate-leftmost-paragraphs)
1994 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1995 (rst-bullet-list-region)
1996 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1997 (rst-compile-find-conf, rst-compile)
1998 (rst-repeat-last-character): Fix style.
2000 2012-09-17 Chong Yidong <cyd@gnu.org>
2002 * comint.el (comint--complete-file-name-data): Don't add a space
2003 if the status is `sole'; that adds a gratuitous space in the
2004 completion-cycling case (Bug#12092).
2006 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2008 2012-09-17 Richard Stallman <rms@gnu.org>
2010 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2011 only in the mime-shown mode, not in raw mode.
2012 (rmail-mime): Toggle off mime by displaying the message without
2013 mime processing. (Bug#12305)
2015 * mail/rmail.el (rmail-retry-failure):
2016 Turn off mime processing first. (Bug#12037)
2018 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2020 2012-09-17 Chong Yidong <cyd@gnu.org>
2022 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2023 (shell-dynamic-complete-functions): Convert to defcustom.
2024 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2026 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2027 * comint.el (comint-prompt-read-only):
2028 * custom.el (defcustom):
2029 * hi-lock.el (hi-lock-mode):
2030 * ibuffer.el (ibuffer-formats):
2031 * ielm.el (ielm-prompt-read-only):
2032 * novice.el (disable-command):
2033 * saveplace.el (toggle-save-place):
2034 * speedbar.el (speedbar-supported-extension-expressions):
2035 * startup.el (auto-save-list-file-prefix, init-file-user)
2036 (after-init-hook, inhibit-startup-echo-area-message):
2037 * strokes.el (strokes-help):
2038 * time-stamp.el (time-stamp):
2039 * calendar/calendar.el (calendar, diary-file):
2040 * calendar/diary-lib.el (diary-mail-entries, diary)
2041 (diary-list-entries-hook):
2042 * calendar/holidays.el (holidays, calendar-holidays):
2043 * calendar/lunar.el (lunar-phases):
2044 * calendar/solar.el (sunrise-sunset):
2045 * emulation/edt.el (edt-load-keys):
2046 * emulation/viper.el (viper-mode):
2047 * eshell/em-alias.el (eshell-command-aliases-list):
2048 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2049 * international/ogonek.el (ogonek-information):
2050 * net/tramp-cmds.el (tramp-bug):
2051 * net/quickurl.el (quickurl-reread-hook-postfix):
2052 * play/decipher.el (decipher-font-lock-keywords):
2053 * progmodes/cc-styles.el (c-set-style):
2054 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2055 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2056 * progmodes/octave-mod.el (octave-mode):
2057 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2058 * progmodes/verilog-mode.el (verilog-read-defines):
2059 * textmodes/two-column.el (2C-mode): Likewise.
2061 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2063 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2064 that holds many addresses.
2066 2012-09-16 Chong Yidong <cyd@gnu.org>
2068 * align.el (align-areas): Call the indication function with
2069 positions instead of markers for arguments (Bug#12343).
2071 * files.el (parse-colon-path): Use split-string (Bug#12351).
2073 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2074 (display-buffer-function): Mark as obsolete.
2076 * progmodes/compile.el (compilation-parse-errors): Accept list
2077 values similar to font-lock-keywords (Bug#12136).
2078 Suggested by Oleksandr Manzyuk.
2079 (compilation-error-regexp-alist): Doc fix.
2081 2012-09-15 Glenn Morris <rgm@gnu.org>
2083 * version.el (emacs-bzr-version-bzr): New function.
2084 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2086 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2087 checkouts, check the parent dirstate matches the branch.
2088 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2091 * version.el (emacs-bzr-version): Doc fix.
2092 (emacs-bzr-version-dirstate): New function.
2093 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2094 is local try and check that it matches the branch. If not, just
2095 use dirstate information. (Bug#12441)
2097 2012-09-14 Juri Linkov <juri@jurta.org>
2099 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2102 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2104 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2106 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2107 Remove obsolete byte-compiler hack that tried to silence some warnings.
2108 (edebug-submit-bug-report): Remove.
2109 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2110 Remove aliases, use the un-prefixed name instead.
2111 (edebug-pop-to-buffer): Consider other frames.
2112 (edebug-original-read):: Make it more obvious that it's always defined.
2113 (edebug--make-form-data-entry, edebug--form-data-name)
2114 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2115 single-dashed name, and implement with cl-defstruct.
2116 (edebug-set-form-data-entry): Use the standard accessors.
2117 (edebug-make-top-form-data-entry): Use push.
2118 (edebug-no-match): Drop useless `funcall'.
2119 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2121 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2122 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2123 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2124 (easy-menu-define, with-custom-print): Remove redundant specs.
2125 (edebug-outside-overriding-local-map)
2126 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2127 (edebug--display): Bind unread-command-events directly to nil rather
2128 than binding it to unread-command-events and later setting it to nil.
2129 (edebug--display): Kill edebug-eval-buffer here...
2130 (edebug--recursive-edit): ...rather than here.
2131 Bind standard-output and standard-input.
2132 (edebug-eval): Check cl-macroexpand-all is fboundp.
2133 (edebug-temp-display-freq-count): Fix last change.
2135 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2136 * subr.el (noreturn, 1value): Add `debug' spec.
2137 * emacs-lisp/advice.el: Require cl-lib.
2138 (ad-copy-tree): Remove, use copy-tree instead.
2139 (ad-dolist): Remove use dolist or cl-dolist instead.
2140 (ad-do-return): Remove, use cl-return instead.
2141 (defadvice): Add `debug' spec.
2143 2012-09-13 Juri Linkov <juri@jurta.org>
2145 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2148 2012-09-13 Glenn Morris <rgm@gnu.org>
2150 * calc/calc.el (math-compose-expr):
2151 * calc/calc-ext.el (math-compose-expr):
2152 * progmodes/cc-defs.el (cl-macroexpand-all):
2153 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2154 (cl-macroexpand-all): Update declarations.
2156 * vc/vc.el: No need to require ediff.
2157 (ediff-load-version-control): Declare.
2158 (ediff-vc-internal): Fix declaration.
2159 (vc-version-ediff): Require ediff.
2161 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2163 Use a more backwards-compatible timer format (Bug#12430).
2164 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2165 being right after USECS, as that better supports old code that
2166 inadvisedly looked directly at the timer vector.
2168 2012-09-13 Kenichi Handa <handa@gnu.org>
2170 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2171 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2172 `coding-priority' property of these language environment.
2174 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2176 Fix glitches caused by addition of psec to timers (Bug#12430).
2177 * image.el (image-animate-timer):
2178 * time.el (display-time-world-timer):
2179 Use timer--function and timer--args rather than raw access to
2182 2012-09-13 Glenn Morris <rgm@gnu.org>
2184 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2185 If not compiling a file, try using load-file-name.
2187 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2191 (edebug-update-eval-list): Use `push'.
2193 * emacs-lisp/edebug.el: Use lexical-binding.
2194 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2195 Mark unused args with underscore.
2196 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2197 (edebug-form-data): Use defvar-local.
2198 (edebug-make-before-and-after-form, edebug-make-after-form):
2200 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2201 Not dynamically scoped any more.
2202 (edebug--enter-trace): Add arguments `function' and `args'.
2203 Rename from edebug-enter-trace.
2204 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2205 (edebug--update-coverage): Add `after-index' and `value' args.
2206 Rename from edebug-update-coverage.
2207 (edebug-slow-after): Call it accordingly.
2208 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2209 edebug-recursive-edit.
2210 (edebug--display): Call it accordingly. Add args `value',
2211 `offset-index', and `arg-mode'. Rename from edebug-display.
2212 (edebug-debugger, edebug): Call it accordingly.
2213 (edebug-eval-display-list): Use dolist.
2215 2012-09-12 Juri Linkov <juri@jurta.org>
2217 * info.el (Info-search): Don't check for isearch-mode and
2218 isearch-regexp before let-binding search-spaces-regexp to
2219 Info-search-whitespace-regexp.
2220 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2221 search-whitespace-regexp if isearch-lax-whitespace or
2222 isearch-regexp-lax-whitespace is non-nil.
2223 (Info-mode): Don't set local variable search-whitespace-regexp.
2224 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2226 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2229 (debugger-env-macro): Remove support for unread-command-char.
2231 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2232 the temporary map re-appearing on emulation-mode-map-alists.
2234 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2237 * ehelp.el (with-electric-help): Accept functions in
2238 electric-help-form-to-execute.
2239 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2240 And replace unread-command-char -> unread-command-events.
2242 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2244 Sync with Tramp 2.2.6.
2246 * net/tramp.el (tramp-accept-process-output): Don't use
2247 JUST-THIS-ONE in the XEmacs case.
2249 * net/trampver.el: Update release number.
2251 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2253 * emacs-lisp/debug.el (debugger-previous-window-height):
2255 (debug): When debugger-jumping-flag is non-nil try to restore
2256 height of debugger window. (Bug#8789)
2258 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2261 overriding-local-map and pre/post-command-hook here.
2262 (edebug-recursive-edit): Do it here instead (bug#12345).
2263 (edebug-outside-unread-command-char): Remove all uses of
2264 unread-command-char.
2266 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2267 inhibit-debugger is bound instead.
2269 2012-09-11 Bastien Guerry <bzg@gnu.org>
2271 * subr.el (set-temporary-overlay-map): Add a docstring.
2274 2012-09-11 Bastien Guerry <bzg@gnu.org>
2276 * minibuffer.el (completion-table-subvert): Fix docstring.
2279 2012-09-11 Bastien Guerry <bzg@gnu.org>
2281 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2283 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2285 * progmodes/sql.el: Version 3.1
2286 (sql-db2-escape-newlines): New variable.
2287 (sql-escape-newlines-filter): Use it.
2289 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2291 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2293 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2295 * vc/diff-mode.el (diff-mode-menu):
2296 Bind diff-remove-trailing-whitespace.
2298 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2301 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2302 (emacs-lisp-byte-code-mode): New functions.
2303 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2304 (eval-defun-2): Remove bogus interactive spec.
2305 (lisp-indent-line): Remove redundant whole-exp code, now done in
2306 indent-according-to-mode.
2307 (save-match-data): Remove redundant indent data.
2309 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2312 2012-09-09 Juri Linkov <juri@jurta.org>
2314 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2315 (replace-lax-whitespace, query-replace-regexp)
2316 (query-replace-regexp-eval, replace-regexp): Doc fix.
2317 (perform-replace, replace-highlight): Let-bind
2318 isearch-lax-whitespace to replace-lax-whitespace and
2319 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2321 * isearch.el (isearch-query-replace): Let-bind
2322 replace-lax-whitespace to isearch-lax-whitespace and
2323 replace-regexp-lax-whitespace to
2324 isearch-regexp-lax-whitespace. (Bug#10885)
2326 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2330 2012-09-09 Alan Mackenzie <acm@muc.de>
2332 * progmodes/cc-engine.el (c-state-cache-init):
2333 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2334 (c-record-parse-state-state):
2335 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2337 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2339 * register.el (register-separator): Rename from
2340 separator-register. All uses changed. Doc fix.
2341 (register): Fix version.
2343 2012-09-09 Chong Yidong <cyd@gnu.org>
2345 * replace.el (query-replace-map): Bind four new symbols for
2346 requesting window scrolling.
2348 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2349 query-replace-map (Bug#8948).
2351 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2353 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2354 since they are now in query-replace-map.
2356 * window.el (scroll-other-window-down): Make the arg optional.
2358 2012-09-09 Chong Yidong <cyd@gnu.org>
2360 * files.el (hack-local-variables-confirm): Use quit-window to kill
2361 the *Local Variables* buffer.
2363 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2365 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2366 not just expect to be at its beginning. Adjust callees.
2367 Succeed when do-end block has no space before the pipe character.
2368 (ruby-brace-to-do-end): When the original block is one-liner,
2369 convert to multiline. Reindent the result.
2371 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2373 * register.el (register): New group.
2374 (separator-register): New user option.
2375 (increment-register): Route it to `append-to-register', if
2376 register contains text. Implication is that `C-x r +' can now be
2377 used for appending to a text register (bug#12217).
2378 (append-to-register, prepend-to-register): Add separator based on
2379 `separator-register'.
2381 2012-09-08 Alan Mackenzie <acm@muc.de>
2383 AWK Mode: make auto-newline work when there's "==" in the pattern.
2384 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2386 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2387 Test more rigorously for "=" token.
2389 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2391 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2392 Only fail when reached LIMIT.
2394 2012-09-08 Chong Yidong <cyd@gnu.org>
2396 * dired.el (dired-mode-map): Don't bind M-=.
2398 * dired-aux.el (dired-diff): Use backup file as default.
2400 2012-09-08 Drew Adams <drew.adams@oracle.com>
2402 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2404 2012-09-08 Chong Yidong <cyd@gnu.org>
2406 * subr.el (syntax-after, syntax-class): Doc fix.
2408 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2410 * window.el (display-buffer-in-previous-window): New buffer
2411 display action function.
2413 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2414 (debugger-previous-window): New variable.
2415 (debug): Rewrite using display-buffer-in-previous-window,
2416 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2418 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2422 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2424 * progmodes/python.el (python-shell-send-string):
2425 When default-directory is remote, create temp file on remote
2427 (python-shell-send-file): When file is remote, pass local view of
2428 file paths to remote Python interpreter. (Bug#12340)
2430 2012-09-07 Chong Yidong <cyd@gnu.org>
2432 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2434 * files.el (after-find-file): Don't fail on a read-only buffer if
2435 require-final-newline is `visit' or `visit-save' (Bug#11156).
2437 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2439 * userlock.el (ask-user-about-supersession-threat):
2440 Use read-char-choice (Bug#12093).
2442 2012-09-07 Chong Yidong <cyd@gnu.org>
2444 * subr.el (buffer-narrowed-p): New function.
2446 * ses.el (ses-widen):
2447 * simple.el (count-words--buffer-message):
2448 * net/browse-url.el (browse-url-of-buffer): Use it.
2450 * simple.el (count-words-region): Don't signal an error if there
2451 is a non-nil prefix arg and the mark is not set.
2453 * help.el (describe-key-briefly): Allow the message to be seen
2454 when invoked from the minibuffer (Bug#7014).
2456 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2458 * progmodes/ruby-mode.el (ruby-end-of-defun)
2459 (ruby-beginning-of-defun): Simplify, allow indentation before
2460 block beginning and end keywords.
2461 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2462 (ruby-end-of-defun): Expect that the point is at the beginning of
2465 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2469 (cl--make-usage-args): Strip _ from argument names.
2471 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2473 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2474 obsolete alias speedbar-key-map.
2475 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2476 (vhdl-index-menu-init): Don't use obsolete variable
2477 font-lock-maximum-size.
2479 2012-09-06 Chong Yidong <cyd@gnu.org>
2481 * frame.el (window-system-version): Mark as obsolete.
2483 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2484 of obsolete variable speedbar-key-map.
2486 2012-09-06 Juri Linkov <juri@jurta.org>
2488 * replace.el (replace-lax-whitespace): New defcustom.
2489 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2490 (replace-string, replace-regexp): Mention it in docstrings.
2491 (perform-replace, replace-highlight): Let-bind
2492 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2493 to the values of replace-lax-whitespace and regexp-flag.
2494 Don't let-bind search-whitespace-regexp. (Bug#10885)
2496 * isearch.el (isearch-query-replace): Let-bind
2497 replace-lax-whitespace instead of let-binding
2498 replace-search-function and replace-re-search-function.
2499 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2500 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2501 (isearch-toggle-symbol): Set isearch-regexp to nil
2502 in isearch-word mode (like in isearch-toggle-word).
2504 2012-09-06 Juri Linkov <juri@jurta.org>
2506 * replace.el (replace-search-function)
2507 (replace-re-search-function): Set default values to nil.
2508 (perform-replace): Let-bind isearch-related variables based on
2509 replace-related values, call `isearch-search-fun' and let-bind
2510 the result to `search-function'. Remove code that sets
2511 `search-function' and `search-string' separately for
2513 (replace-highlight): Add new argument `delimited-flag' and
2514 rename other arguments to the names used in `perform-replace'.
2515 Let-bind `isearch-word' to the argument `delimited-flag'.
2516 (Bug#10885, bug#10887)
2518 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2520 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2521 ruby-beginning-of-indent, simplify, allow all keywords to have
2522 indentation before them.
2523 (ruby-beginning-of-indent): Adjust for above. Search until the
2524 found point is not inside a string or comment.
2525 (ruby-font-lock-keywords): Allow symbols to start with "@"
2526 character, give them higher priority than variables.
2527 (ruby-syntax-propertize-function)
2528 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2529 matchers. Expression expansions are not comments when inside a
2530 string, and there comment syntax status is irrelevant.
2531 (ruby-match-expression-expansion): New function. Check that
2532 expression expansion is inside a string, and it's not escaped.
2533 (ruby-font-lock-keywords): Use it.
2535 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2537 * help.el (temp-buffer-max-height): New default value.
2538 (temp-buffer-resize-frames): New option.
2539 (resize-temp-buffer-window): Optionally resize frame.
2541 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2542 (fit-frame-to-buffer): New function.
2544 2012-09-05 Glenn Morris <rgm@gnu.org>
2546 * emulation/cua-rect.el (cua--init-rectangles):
2547 * textmodes/picture.el (picture-mode-map):
2548 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2549 like forward-char and backward-char. (Bug#12317)
2551 2012-09-05 Leo Liu <sdl.web@gmail.com>
2553 * progmodes/flymake.el (flymake-warning-re): New variable.
2554 (flymake-parse-line): Use it.
2556 2012-09-05 Glenn Morris <rgm@gnu.org>
2558 * calendar/holidays.el (holiday-christian-holidays):
2559 Rename an entry. (Bug#12289)
2561 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2566 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2568 * loadup.el: Load macroexp. Remove hack.
2569 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2570 (macroexp--expand-all): Use it to get better warnings.
2571 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2572 (internal-macroexpand-for-load): New functions.
2573 (macroexp--pending-eager-loads): New var.
2574 (emacs-startup-hook): New hack to replace one in loadup.el.
2575 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2576 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2577 (cl-psetf): Simplify.
2578 (cl-defstruct): Add indent rule.
2580 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2582 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2583 over `user-mail-address' for the SMTP MAIL FROM envelope.
2584 (smtpmail-via-smtp): Ditto.
2586 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2588 * progmodes/ruby-mode.el: Clean up keybindings.
2589 (ruby-mode-map): Don't bind ruby-electric-brace,
2590 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2591 backward-kill-word, reindent-then-newline-and-indent.
2592 (ruby-mark-defun): Remove.
2593 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2594 (ruby-mode): Set local beginning-of-defun-function and
2595 end-of-defun-function values.
2597 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2599 * window.el (temp-buffer-window-setup-hook)
2600 (temp-buffer-window-show-hook): New hooks.
2601 (temp-buffer-window-setup, temp-buffer-window-show)
2602 (with-temp-buffer-window): New functions.
2603 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2604 (special-display-popup-frame): Make sure the window used shows BUFFER.
2606 * help.el (temp-buffer-resize-mode): Fix doc-string.
2607 (resize-temp-buffer-window): New optional argument WINDOW.
2609 * files.el (recover-file, save-buffers-kill-emacs):
2610 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2612 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2614 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2615 remote definition of `default-directory', ensure we can connect.
2617 2012-09-02 Juri Linkov <juri@jurta.org>
2619 Toggle whitespace matching mode with M-s SPC.
2620 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2622 * isearch.el (search-whitespace-regexp): Doc fix.
2623 Remove cons cell customization.
2624 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2625 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2627 (isearch-forward, isearch-forward-regexp): Doc fix.
2628 (isearch-toggle-lax-whitespace): New command.
2629 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2630 (re-search-forward-lax-whitespace)
2631 (re-search-backward-lax-whitespace): New functions.
2632 (isearch-whitespace-regexp): Remove function.
2633 (isearch-query-replace): Let-bind replace-search-function and
2634 replace-re-search-function.
2635 (isearch-occur): Let-bind search-spaces-regexp according to the
2636 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2637 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2638 condition for C-q SPC.
2639 (isearch-search-fun-default): Use new functions mentioned above.
2640 (isearch-search-forward, isearch-search-backward): Remove functions.
2641 (isearch-search): Don't let-bind search-spaces-regexp.
2642 (isearch-lazy-highlight-space-regexp): Remove variable.
2643 (isearch-lazy-highlight-lax-whitespace)
2644 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2645 (isearch-lazy-highlight-new-loop): Use them.
2646 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2648 2012-09-02 Chong Yidong <cyd@gnu.org>
2650 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2652 2012-09-02 Glenn Morris <rgm@gnu.org>
2654 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2656 2012-09-01 Glenn Morris <rgm@gnu.org>
2658 * term.el: Tidy up menu definitions.
2659 (term-mode-map): Use easymenu for In/Out, Complete menus.
2660 (term-pager-break-map): Initialize in the defvar.
2661 (term-terminal-menu, term-signals-menu): Define with easymenu.
2662 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2663 (term-pager-menu): New, extracted from term-process-pager.
2664 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2665 (term-update-mode-line): Propertize line/char and page items.
2666 (term-process-pager): Move keymap initialization elsewhere.
2668 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2670 * window.el (switch-to-prev-buffer): Handle additional values of
2671 BURY-OR-KILL argument. Don't switch in minibuffer window.
2672 (switch-to-next-buffer): Don't switch in minibuffer window.
2673 (quit-restore-window): New function based on quit-window.
2674 Handle additional values of former KILL argument.
2675 (quit-window): Call quit-restore-window with appropriate
2676 interpretation of KILL argument.
2677 (display-buffer-below-selected): New buffer display action
2680 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * minibuffer.el (completion-at-point-functions): Complete docstring
2685 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2687 Better seed support for (random).
2688 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2689 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2690 * play/mpuz.el, play/tetris.el, play/zone.el:
2691 * calc/calc-comb.el (math-init-random-base):
2692 * play/blackbox.el (bb-init-board):
2693 * play/life.el (life):
2694 * server.el (server-use-tcp):
2695 * type-break.el (type-break):
2696 Remove unnecessary call to (random t).
2697 * net/sasl.el (sasl-unique-id-function):
2698 Change (random t) to (random), now that the latter is more random.
2699 * play/life.el (life-initialized): Remove no-longer-needed var.
2701 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2703 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2704 Consider frame's buffer predicate when choosing the buffer.
2707 2012-08-30 Richard Stallman <rms@gnu.org>
2709 * simple.el (special-mode-map): Delete binding for `z'.
2711 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2713 * progmodes/compile.el (compilation-always-kill): Doc fix.
2715 2012-08-30 Chong Yidong <cyd@gnu.org>
2717 * window.el (display-buffer-reuse-frames): Make the obsolescence
2718 message more informative.
2720 2012-08-30 Glenn Morris <rgm@gnu.org>
2722 * paren.el (show-paren-delay):
2723 Add a :set function. Doc fix. (Bug#12297)
2725 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2727 * progmodes/compile.el (compilation-always-kill): New var.
2728 (compilation-start): Use it.
2730 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2733 * files.el (read-only-mode): Move to simple.el.
2735 * files.el (read-only-mode): New minor mode.
2736 (toggle-read-only): Use it and mark obsolete.
2737 (find-file--read-only):
2738 * vc/vc.el (vc-next-action, vc-checkout):
2739 * vc/vc-cvs.el (vc-cvs-checkout):
2740 * obsolete/vc-mcvs.el (vc-mcvs-update):
2741 * ffap.el (ffap--toggle-read-only): Update callers.
2743 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2745 * eshell/esh-ext.el (eshell-external-command): Do not examine
2746 remote shell scripts.
2747 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2749 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2752 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2756 2012-08-28 Leo Liu <sdl.web@gmail.com>
2758 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2759 completion-at-point. (Bug#12220)
2761 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2763 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2765 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2768 be buffer-local; add delete-trailing-whitespace (bug#12259).
2770 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2772 * progmodes/hideif.el (hif-compress-define-list):
2773 Fix typo. (Bug#11951)
2775 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2777 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2778 buffer local setting.
2780 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2781 rcirc-encode-coding-system.
2783 2012-08-28 Leo Liu <sdl.web@gmail.com>
2785 * net/rcirc.el (rcirc-split-message): New function.
2786 (rcirc-send-message): Use it. (Bug#12051)
2788 2012-08-28 Juri Linkov <juri@jurta.org>
2790 * info.el (Info-fontify-node): Hide empty lines at the end of
2791 the node. (Bug#12272)
2793 2012-08-27 Drew Adams <drew.adams@oracle.com>
2795 * dired.el (dired-pop-to-buffer): Make window start at beginning
2796 of buffer (Bug#12281).
2798 2012-08-26 Chong Yidong <cyd@gnu.org>
2800 * window.el (special-display-regexps, special-display-frame-alist)
2801 (special-display-buffer-names, special-display-function)
2802 (display-buffer-reuse-frames): Mark as obsolete.
2804 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2806 * help.el (help-print-return-message): Don't treat
2807 display-buffer-reuse-frames specially.
2809 2012-08-26 Chong Yidong <cyd@gnu.org>
2811 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2812 New variable, replacing gdb-frame-parameters.
2813 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2814 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2815 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2816 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2817 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2818 the functions directly with gdb-display-buffer-other-frame-action.
2819 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2820 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2821 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2822 (gdb-display-registers-buffer): Define directly.
2823 (def-gdb-display-buffer): Macro deleted.
2824 (gdb-display-buffer): Remove second and third args, callers don't
2825 use them. Defer to the default display-buffer behavior, apart
2826 from making windows dedicated.
2827 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2829 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2831 * window.el (display-buffer-pop-up-frame): Handle a
2832 pop-up-frame-parameters alist entry.
2833 (display-buffer): Document it.
2835 2012-08-26 Chong Yidong <cyd@gnu.org>
2837 * isearch.el (search-whitespace-regexp): Make string and nil
2838 values apply to both ordinary and regexp search. Allow a cons
2839 cell value to distinguish between the two.
2840 (isearch-whitespace-regexp, isearch-search-forward)
2841 (isearch-search-backward): New functions.
2842 (isearch-occur, isearch-search-fun-default, isearch-search)
2843 (isearch-lazy-highlight-new-loop): Use them.
2844 (isearch-forward, isearch-forward-regexp): Doc fix.
2846 2012-08-26 Chong Yidong <cyd@gnu.org>
2848 * faces.el (help-argument-name): Always inherit from italic
2851 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2853 * window.el (window--even-window-heights): Even heights when
2854 WINDOW and the selected window form a vertical combination.
2855 (display-buffer-use-some-window): Provide that window used gets
2856 sized back by quit-window. (Bug#11880) and (Bug#12091)
2858 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2860 Fix file time stamp problem with bzr and CVS (Bug#12001).
2861 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2862 in the file's time stamp, since the version control system loses
2865 2012-08-22 Juri Linkov <juri@jurta.org>
2867 * info.el (Info-fontify-node): Hide the suffix of the
2868 Info file name in the header line. (Bug#12187)
2870 2012-08-22 Glenn Morris <rgm@gnu.org>
2872 * calendar/cal-tex.el (cal-tex-weekly-common):
2873 Restore leading blank page.
2875 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2877 * misc.el (forward-to-word, backward-to-word): Activate or extend
2878 the region under `shift-select-mode'. (Bug#12231)
2880 2012-08-22 Bastien Guerry <bzg@gnu.org>
2882 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2883 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2884 gives details on why the space is never needed.
2886 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2888 * window.el (walk-window-tree, window-with-parameter):
2889 New optional argument MINIBUF to control whether these functions
2890 should run on the minibuffer window.
2891 (window-at-side-list): Don't operate on minibuffer window.
2892 (window-in-direction): Simplify and rewrite doc-string.
2893 (window--size-ignore): Rename to window--size-ignore-p.
2895 (display-buffer-in-atom-window, window--major-non-side-window)
2896 (window--major-side-window, display-buffer-in-major-side-window)
2897 (delete-side-window, display-buffer-in-side-window):
2899 (window--side-check, window-deletable-p, delete-window)
2900 (delete-other-windows, split-window): Handle side windows and
2901 atomic windows appropriately.
2902 (window--display-buffer): Call display-buffer-record-window also
2903 when the window buffer did not change.
2905 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2907 * help-fns.el (help-fns--key-bindings):
2908 Abbreviate non-symbol remap targets. (Bug#12174)
2910 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2912 * dired.el (dired-mark-remembered): Don't clobber point.
2915 2012-08-22 Glenn Morris <rgm@gnu.org>
2917 * progmodes/bug-reference.el (bug-reference): New custom group.
2918 (bug-reference-bug-regexp): Make it a defcustom.
2920 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2922 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2923 (js-paren-indent-offset, js-square-indent-offset)
2924 (js-curly-indent-offset): Add :safe (Bug#12257).
2926 2012-08-22 Edward O'Connor <hober0@gmail.com>
2928 * json.el (json-key-format): Add error properties.
2929 (json-encode-key): New function.
2930 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2931 Use json-encode-key.
2933 2012-08-22 Glenn Morris <rgm@gnu.org>
2935 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2936 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2937 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2938 Update for above change.
2940 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2942 * cus-face.el (custom-face-attributes): Fix customize type for the
2943 :underline attribute. (Bug#11805)
2945 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2947 * window.el (window-point-1, set-window-point-1): Remove.
2948 (window-in-direction, record-window-buffer)
2949 (set-window-buffer-start-and-point, split-window-below)
2950 (window--state-get-1, display-buffer-record-window):
2951 Replace calls to window-point-1 and set-window-point-1 by calls to
2952 window-point and set-window-point respectively.
2954 2012-08-21 Glenn Morris <rgm@gnu.org>
2956 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2957 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2960 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2961 (cal-tex-shortday): New function.
2962 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2963 (cal-tex-cursor-filofax-daily): Use the above.
2965 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2967 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2968 (cal-tex-cursor-filofax-week): Use them.
2970 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2972 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2973 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2975 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2976 (cal-tex-end-document): Don't rely on buffer name.
2978 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2980 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2981 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2982 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2985 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2986 (cal-tex-cursor-week, cal-tex-cursor-week2)
2987 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2988 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2989 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2990 (cal-tex-insert-preamble, cal-tex-b-document)
2991 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2992 Improve cal-tex-cmd usage.
2994 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2995 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2996 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2997 (cal-tex-weekly-paper): New function.
2998 (cal-tex-cursor-week, cal-tex-cursor-week2)
2999 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3000 (cal-tex-cursor-day): Use it.
3002 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3003 (cal-tex-cursor-filofax-week): Remove leading blank page.
3005 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3006 Add autoload cookie. For now at least, don't use color, since
3007 no other cal-tex function does.
3009 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3010 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3011 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3013 2012-08-21 Juri Linkov <juri@jurta.org>
3015 * info.el (Info-file-attributes): New variable.
3016 (info-insert-file-contents): Add file attributes to
3017 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3018 `Info-toc-nodes' when previous modtime of the Info file is less
3020 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3021 of info.el. (Bug#12230)
3023 2012-08-20 Glenn Morris <rgm@gnu.org>
3025 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3026 * calendar/holidays.el (calendar-holiday-list):
3027 Report errors with display-warning rather than beep'n'sleep.
3029 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3031 * net/tramp.el (tramp-accept-process-output): Accept only output
3032 from PROC. Otherwise, process filters and sentinels might be
3033 confused. (Bug#12145)
3035 2012-08-20 Chong Yidong <cyd@gnu.org>
3037 * descr-text.el (describe-text-properties-1): Use overlays-in to
3038 report on empty overlays (Bug#3322).
3040 2012-08-20 Glenn Morris <rgm@gnu.org>
3042 * mail/rmailout.el (rmail-output-read-file-name):
3043 Trap and report errors in rmail-output-file-alist elements.
3045 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3046 since most non-font-lock faces are not also variables).
3048 2012-08-20 Edward Reingold <reingold@iit.edu>
3050 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3051 New function. (Bug12160)
3053 2012-08-19 Glenn Morris <rgm@gnu.org>
3055 * mail/rmailout.el (rmail-output-read-file-name):
3056 Fix previous change (when the alist is nil or does not match).
3058 2012-08-19 Chong Yidong <cyd@gnu.org>
3060 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3063 2012-08-18 Chong Yidong <cyd@gnu.org>
3065 * simple.el (yank-handled-properties): New defcustom.
3066 (yank-excluded-properties): Add font-lock-face and category.
3069 * subr.el (remove-yank-excluded-properties):
3070 Obey yank-handled-properties. The special handling of font-lock-face
3071 and category is now done this way, instead of being hard-coded.
3072 (insert-for-yank-1): Remove font-lock-face handling.
3073 (yank-handle-font-lock-face-property)
3074 (yank-handle-category-property): New function.
3076 2012-08-17 Glenn Morris <rgm@gnu.org>
3078 * mail/rmailout.el (rmail-output-read-file-name):
3079 Check rmail-output-file-alist against the full message body
3080 in the correct rmail buffer. (Bug#12214)
3082 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3085 Eliminate superfluous prompt. (Bug#12203)
3087 2012-08-17 Chong Yidong <cyd@gnu.org>
3089 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3090 font spec, set the font directly (Bug#3228).
3092 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3094 * window.el (delete-window): Fix last fix.
3096 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3098 * window.el (window-valid-p): Move to window.c.
3099 (window-child, window-child-count, window-last-child)
3100 (window-normalize-window, window-combined-p)
3101 (window-combinations, window-atom-root, window-min-size)
3102 (window-sizable, window-sizable-p, window-size-fixed-p)
3103 (window-min-delta, window-max-delta, window--resizable)
3104 (window--resizable-p, window-resizable, window-total-size)
3105 (window-full-height-p, window-full-width-p, window-body-size)
3106 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3107 (minimize-window, window-deletable-p, delete-window)
3108 (delete-other-windows, set-window-buffer-start-and-point)
3109 (next-buffer, previous-buffer, split-window, balance-windows-2)
3110 (set-window-text-height, window-buffer-height)
3111 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3112 (truncated-partial-width-window-p): Minor code adjustments.
3113 In doc-strings state whether the argument window has to denote a
3114 live, valid or any window.
3116 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3118 * progmodes/subword.el (subword-forward-function)
3119 (subword-backward-function, subword-forward-regexp)
3120 (subword-backward-regexp): New variables.
3121 (subword-forward, subword-forward-internal, subword-backward-internal):
3122 Use new variables, eg so that different "word" definitions
3123 can be easily used. (Bug#11411)
3125 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3128 for composite selectors.
3129 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3130 operation just because we can't find a previous revision.
3132 2012-08-15 Chong Yidong <cyd@gnu.org>
3134 * frame.el (set-frame-font): Accept font objects.
3136 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3140 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3142 * man.el (Man-overstrike-face, Man-underline-face)
3143 (Man-reverse-face): Remove variables.
3144 (Man-overstrike, Man-underline, Man-reverse): New faces.
3145 (Man-fontify-manpage): Use them instead of the variables.
3146 (Man-cleanup-manpage): Comment change.
3147 (Man-ansi-color-map): New variable.
3148 (Man-fontify-manpage): Use it.
3149 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3151 Implement ANSI SGR parameters 22-27 (bug#12146).
3152 * ansi-color.el (ansi-colors): Doc fix.
3153 (ansi-color-context, ansi-color-context-region): Doc fix.
3154 (ansi-color--find-face): New function.
3155 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3156 Rename the local variable `face' to `codes' since it is now a list of
3157 ansi codes. Doc fix.
3158 (ansi-color-get-face): Remove.
3159 (ansi-color-parse-sequence): New function, derived from
3160 ansi-color-get-face.
3161 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3164 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * subr.el (read-passwd): Allow use from a minibuffer.
3168 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3170 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3171 inside comments and strings as identifiers.
3173 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3174 expression to evaluate. This allows to evaluate expressions with
3175 embedded whitespace.
3176 (gud-tooltip-tips): Add a blank before the newline in the
3177 message-box text, for the benefit of message-box emulation on
3180 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3181 messages from GDB, pop them up in a tooltip to give feedback to
3183 (gdb-tooltip-print-1): Quote the expression to evaluate.
3184 This allows to evaluate expressions with embedded whitespace.
3185 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3186 if the TTY name is nil or empty (which happens when communicating
3187 with the inferior via pipes, e.g. on MS-Windows).
3188 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3189 don't send that to the GUD buffer.
3191 2012-08-14 Glenn Morris <rgm@gnu.org>
3193 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3194 Optimize away setq-default with no args, as for setq. (Bug#12195)
3196 2012-08-14 Chong Yidong <cyd@gnu.org>
3198 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3200 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3203 2012-08-14 Glenn Morris <rgm@gnu.org>
3205 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3207 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3209 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3210 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3211 Use cached shell name.
3213 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3215 * progmodes/python.el (python-shell-send-string):
3216 (python-shell-send-setup-code): Do not use `format' with `message'.
3218 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3220 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3221 (ruby-percent-literal-beg-re): New constant.
3222 (ruby-syntax-general-delimiters-goto-beg): Rename to
3223 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3224 (ruby-syntax-propertize-general-delimiters): Rename to
3225 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3226 popular term. Adjust comments everywhere.
3227 (ruby-syntax-propertize-percent-literal): Only propertize when not
3228 inside a simple string or comment. When the literal is unclosed,
3229 leave the text after it unpropertized.
3230 (ruby-syntax-methods-before-regexp): New constant.
3231 (ruby-syntax-propertize-function): Use it to recognize regexps.
3232 Don't look at the text after regexp, just use the whitelist.
3234 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3236 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3237 non-nil always load the compiled file if it exists. (Bug#12197)
3239 2012-08-14 Chong Yidong <cyd@gnu.org>
3241 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3242 (hi-lock-set-pattern): When deciding whether to use font lock or
3243 overlays, look at font-lock-mode instead of font-lock-fontified
3245 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3246 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3248 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3250 * subr.el (internal--after-with-selected-window): Fix typo
3253 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3255 Use `completion-table-dynamic' for completion functions.
3256 * progmodes/python.el
3257 (python-shell-completion--do-completion-at-point)
3258 (python-shell-completion--get-completions):
3260 (python-shell-completion-complete-at-point): New function.
3261 (python-completion-complete-at-point): Use it.
3263 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3265 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3266 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3268 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3270 * subr.el (function-get): Refine `autoload' arg so it can also
3271 autoload functions for gv.el (bug#12191).
3272 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3275 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3276 Prefer pcase-let over destructuring-bind.
3277 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3278 Also, remove whitespace as we go, rather than after accumulating the
3281 * subr.el (internal--before-with-selected-window)
3282 (internal--after-with-selected-window): Fix typo seleted->selected.
3283 (with-selected-window): Adjust callers.
3284 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3286 2012-08-13 Bastien Guerry <bzg@gnu.org>
3288 * window.el (special-display-popup-frame): Minor docstring
3289 enhancement. (Bug#12172)
3291 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3293 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3295 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3298 * files.el (hack-local-variables-filter): Remove useless eval.
3300 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3302 * subr.el (with-selected-window): Fix last change.
3304 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * subr.el (internal--before-with-seleted-window)
3307 (internal--after-with-seleted-window): New functions.
3308 (with-selected-window): Use them, to replace dependency on
3311 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3313 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3314 binding for `newline'.
3315 (ruby-move-to-block): When moving backward, stop at block opening,
3317 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3318 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3319 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3320 `ruby-toggle-block'.
3322 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * ibuffer.el (ibuffer-do-toggle-read-only):
3325 * dired.el (dired-toggle-read-only):
3326 * buff-menu.el (Buffer-menu-toggle-read-only):
3327 * bindings.el (mode-line-toggle-read-only):
3328 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3330 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3332 * descr-text.el (describe-char): Put the overlays over the
3333 "displayed as" character.
3335 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3337 * calc/calc-units.el (math-default-units-table): Give an
3339 (math-put-default-units): Add options to put composite units and
3340 unit systems in the default units table.
3341 (calc-convert-units): Send composite units to
3342 `math-put-default-units' when appropriate.
3344 2012-08-11 Glenn Morris <rgm@gnu.org>
3346 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3348 * tutorial.el (help-with-tutorial):
3349 * emacs-lisp/copyright.el (copyright-update-directory):
3350 * emacs-lisp/autoload.el (autoload-find-generated-file)
3351 (autoload-find-file): Disable local eval: (for insurance).
3353 * files.el (hack-local-variables-filter): If an eval: form is not
3354 known to be safe, and enable-local-variables is :safe, then ignore
3355 the form totally, as is done for non-eval forms. (Bug#12155)
3356 This is CVE-2012-3479.
3358 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3361 (rx-form): Simplify.
3363 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3365 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3366 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3367 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3368 (ruby-syntax-propertize-function): Adjust for changes in
3369 `ruby-syntax-propertize-heredoc'.
3371 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3373 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3374 binding (use `M-;' instead).
3375 (ruby-singleton-class-p): New function.
3376 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3378 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3380 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3382 2012-08-10 Chong Yidong <cyd@gnu.org>
3384 * progmodes/python.el (python-shell-get-process-name): Don't mess
3385 with same-window-buffer-names.
3387 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3388 (eshell-remove-from-window-buffer-names): Make obsolete.
3389 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3390 (eshell): Just use pop-to-buffer-same-window instead.
3392 2012-08-10 Chong Yidong <cyd@gnu.org>
3394 * bindings.el: Bind M-= back to count-words-region.
3396 * simple.el (count-words-region): Accept a prefix arg for acting
3397 on the entire buffer.
3398 (count-words--buffer-message): New helper function.
3400 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3402 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3403 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3404 (event-start, event-end): Use posn-at-point to return a more
3406 (posnp): New function.
3407 * mouse.el (popup-menu-normalize-position): Use it.
3409 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3411 * mouse.el (popup-menu-normalize-position): New function.
3412 (popup-menu): Use `popup-menu-normalize-position' to normalize
3413 the form for POSITION argument.
3415 * term/x-win.el (x-menu-bar-open):
3416 Use the value returend from (posn-at-point) as position
3417 passed to `popup-menu'.
3419 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3421 * calc/calccomp.el (math-compose-expr): Add extra argument
3422 indicating that parentheses should be put around products in
3423 denominators. Give multiplication precedence over division during
3426 2012-08-09 Chong Yidong <cyd@gnu.org>
3428 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3429 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3430 (Man-untabify-command, manual-program): Convert to defcustom
3433 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3435 * descr-text.el (describe-char): Don't insert extra newlines
3438 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3439 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3441 * align.el (align-region): Delete temporary markers (Bug#10047).
3442 Plus some code cleanups.
3444 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3446 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3447 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3448 (python-shell-internal-last-output): Use make-local-variable
3449 instead of make-variable-buffer-local.
3451 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3453 * progmodes/python.el: Enhancements to forward-sexp.
3454 (python-nav-forward-sexp): Rename from
3455 python-nav-forward-sexp-function.
3456 (python-nav--forward-sexp, python-nav--backward-sexp):
3459 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3461 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3462 modes and simplification modes.
3464 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3466 * delsel.el (delete-selection-pre-hook): Don't propagate the
3467 file-supersession signals (bug#12161).
3469 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3472 (cl-map-extents): Add compatibility aliases (bug#12135).
3474 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3476 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3477 tests by `ignore-error'.
3478 (tramp-find-shell): Open also a new shell, when cache is already
3479 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3481 2012-08-08 Juri Linkov <juri@jurta.org>
3483 * bookmark.el: Add `defaults' property to the bookmark record.
3484 (bookmark-current-buffer): Doc fix.
3485 (bookmark-make-record): Add `defaults' property with default values
3486 to the bookmark record.
3487 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3488 with `bookmark-insert-current-bookmark'.
3489 (bookmark-set): Get `defaults' property from the bookmark record
3490 and use it in `read-from-minibuffer'.
3491 (bookmark-insert-current-bookmark): Remove function.
3493 * info.el (Info-bookmark-make-record): Add `defaults' property
3494 with values of canonical Info node name, the current Info file
3495 name and the current Info node name. (Bug#12107)
3497 2012-08-08 Juri Linkov <juri@jurta.org>
3499 * files.el (basic-save-buffer): Use `buffer-name' as the default
3500 of `read-file-name' when buffer is not visiting a file (bug#12128).
3502 2012-08-08 Juri Linkov <juri@jurta.org>
3504 * info.el (Info-isearch-search): Doc fix.
3505 (Info-search): Change search-failed message from "initial node" to
3506 "end of node" (bug#12078).
3507 (Info-isearch-search): Change `isearch-string-state' to
3508 `isearch--state-string'.
3510 2012-08-08 Glenn Morris <rgm@gnu.org>
3512 * language/persian.el: Remove file.
3513 * language/misc-lang.el: Move unique part of persian.el here.
3514 * loadup.el: Remove language/persian.
3516 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3518 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3520 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3522 * progmodes/python.el Fixed defsubst warning.
3523 (python-syntax-context) Rename from python-info-ppss-context.
3524 (python-syntax-context-type): Rename from
3525 python-info-ppss-context-type.
3526 (python-syntax-comment-or-string-p): Rename from
3527 python-info-ppss-comment-or-string-p.
3529 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3531 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3533 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3535 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3536 a defcustom that is quoted with backquote.
3538 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3539 Fix handling of interactive spec when the body uses return.
3540 (math-do-arg-check, math-define-function-body): Use backquote forms.
3541 * calc/calc-ext.el (math-defcache): Likewise.
3542 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3543 * allout.el (allout-new-exposure): Likewise.
3544 * calc/calcalg2.el (math-tracing-integral): Likewise.
3545 * info.el (Info-last-menu-item): Likewise.
3546 * emulation/vip.el (vip-loop): Likewise.
3547 * textmodes/artist.el (artist-funcall): Likewise.
3548 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3549 Construct menu-item directly.
3551 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3554 2012-08-07 Chong Yidong <cyd@gnu.org>
3556 * simple.el (deactivate-mark): Preserve text properties when
3557 saving the primary selection (Bug#8384).
3559 2012-08-07 Kevin Ryde <user42@zip.com.au>
3561 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3562 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3563 and continue processing (Bug#12110).
3565 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3568 syntax-propertize-function (bug#10095).
3570 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3573 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3574 describe-function-1.
3575 (describe-function-1): Use them. Move compiler macro after sig.
3576 (help-fns--compiler-macro): Use function-get. Assume we're already in
3577 standard-output. Adjust layout to new call order.
3579 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3580 re-binding a symbol that has a symbol-macro (bug#12119).
3582 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3584 * language/persian.el: New file. (Bug#11812)
3585 * loadup.el: Add language/persian.el.
3587 2012-08-06 Chong Yidong <cyd@gnu.org>
3589 * window.el (window--maybe-raise-frame): New function.
3590 (window--display-buffer): Split off from here.
3591 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3592 (display-buffer-pop-up-window, display-buffer-use-some-window):
3593 Obey an inhibit-switch-frame action alist entry.
3594 (display-buffer): Update doc.
3596 * replace.el (occur-after-change-function): Avoid losing focus by
3597 using the inhibit-switch-frame display parameter (Bug#12139).
3599 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3601 Make internal shell process buffer names start with space.
3602 * progmodes/python.el (python-shell-make-comint): Add optional
3604 (run-python-internal): Use it.
3605 (python-shell-internal-get-or-create-process): Check for new
3606 internal buffer names.
3608 2012-08-06 Glenn Morris <rgm@gnu.org>
3610 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3611 Do less getting and setting of environment variables.
3613 2012-08-05 Chong Yidong <cyd@gnu.org>
3615 * proced.el (proced): Add substitution string to docstring to
3616 trigger autoloading of the proced library on C-h f (Bug#1768).
3618 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3619 Don't show defvars which have no second argument (Bug#8638).
3621 * imenu.el (imenu-generic-expression): Move documentation here
3622 from imenu--generic-function.
3623 (imenu--generic-function): Refer to imenu-generic-expression.
3625 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3627 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3628 indentation declaration.
3629 (viper-loop): Add indentation declaration (Bug#7025).
3631 2012-08-05 Chong Yidong <cyd@gnu.org>
3633 * help-fns.el (describe-variable): Add hyperlink for
3634 directory-local variables files. Improve buffer-local and
3635 permanent-local reporting; suggested by MON KEY (Bug#6644).
3637 * help-mode.el (help-dir-local-var-def): New button type.
3639 * files.el (kill-buffer-hook): Provide a defvar.
3641 2012-08-05 Glenn Morris <rgm@gnu.org>
3643 * eshell/esh-ext.el (eshell/addpath):
3644 Also update eshell-path-env. (Bug#12013)
3646 2012-08-05 Chong Yidong <cyd@gnu.org>
3648 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3650 * fringe.el (fringe-styles): Add docstring.
3651 (fringe--check-mode): New function.
3652 (set-fringe-mode, set-fringe-style): Use it.
3653 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3655 * files.el (set-auto-mode): Fix invalid setq call.
3657 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * isearch.el: Misc simplification; use defstruct.
3660 (isearch-mode-map): Dense maps now work like sparse ones.
3661 (isearch--state): New defstruct.
3662 (isearch-string-state, isearch-message-state, isearch-point-state)
3663 (isearch-success-state, isearch-forward-state)
3664 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3665 (isearch-wrapped-state, isearch-barrier-state)
3666 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3667 replaced by defstruct's accessors.
3668 (isearch--set-state): Rename from isearch-top-state and change
3670 (isearch-push-state): Use new isearch--get-state.
3671 (isearch-toggle-word): Disable regexp when enabling word.
3672 (isearch-message-prefix): Remove unused arg _c-q-hack.
3673 (isearch-message-suffix): Remove unused arg _ellipsis.
3675 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3677 * simple.el (list-processes--refresh): For a server use :host or
3678 :local as the address.
3679 (list-processes): Doc fix.
3681 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3683 * lisp/mpc.el: Support password in host argument.
3684 (mpc--proc-connect): Parse and use new password element.
3685 Set mpc-proc variable instead of returning process.
3686 (mpc-proc): Adjust accordingly.
3688 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3690 * whitespace.el (whitespace-display-mappings): Use Unicode
3691 codepoints, instead of emacs-mule codepoints. See
3692 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3695 * files.el (file-truename): Don't skip symlink-chasing part on
3696 windows-nt. Incorporate the resolution of 8+3 short aliases on
3697 Windows into the loop that recursively chases symlinks.
3698 Compare directory and its parent case-insensitively on MS-Windows and
3701 2012-08-03 Chong Yidong <cyd@gnu.org>
3703 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3705 * sort.el (sort-regexp-fields): Doc fix.
3707 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3709 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3710 labels regex position point at the expected place.
3712 2012-08-03 MON KEY <monkey@sandpframing.com>
3714 * net/imap.el (imap-interactive-login, imap-authenticate)
3715 (imap-mailbox-lsub, imap-mailbox-list)
3716 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3717 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3718 (imap-parse-response): Doc fix.
3720 2012-08-03 João Távora <joaotavora@gmail.com>
3722 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3723 if sexp scanning does not move point (Bug#5734).
3725 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3727 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3728 Add listings, minted, and ctable packages.
3729 (reftex-label-alist-builtin): Move listings, minted, and ctable
3730 entries before LaTeX.
3731 (reftex-label-alist): Docfix.
3733 2012-08-02 Bastien Guerry <bzg@gnu.org>
3735 * replace.el (occur): Fix docstring (bug#12122).
3737 2012-08-02 Glenn Morris <rgm@gnu.org>
3739 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3741 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3743 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3744 * international/mule-cmds.el: Create
3745 inactivate-current-input-method-function as an obsolete alias for
3746 deactivate-current-input-method-function. See Katsumi Yamaoka in
3747 <http://bugs.gnu.org/10150#46>.
3749 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3751 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3754 2012-08-01 Glenn Morris <rgm@gnu.org>
3756 * progmodes/autoconf.el (autoconf-definition-regexp):
3757 Add AH_TEMPLATE, adjust submatch numbering.
3758 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3759 (autoconf-current-defun-function): Update for above change.
3760 (autoconf-current-defun-function): First skip to end of current word.
3762 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3764 * calendar/cal-html.el (cal-html-insert-agenda-days):
3765 Fix typo. (Bug#12018)
3767 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3769 Shell processes: enhancements to startup and CEDET compatibility.
3770 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3771 (python-shell-make-comint): accept-process-output at startup.
3772 (run-python-internal): Set inferior-python-mode-hook to nil.
3773 (python-shell-internal-get-or-create-process): call sit-for.
3774 (python-preoutput-result): Add obsolete alias.
3775 (python-shell-internal-send-string): Use it.
3776 (python-shell-send-setup-code): Remove call to
3777 accept-process-output.
3779 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3781 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3784 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3786 * calc-mode.el (calc-basic-simplification-mode): Rename from
3787 `calc-limited-simplification-mode'.
3788 (calc-alg-simplification-mode): New function.
3789 (calc-set-simplify-mode): Adjust message.
3791 * calc.el (calc-set-mode-line): Adjust mode line display for
3792 basic simplification mode.
3794 * calc-help.el (calc-m-prefix-help): Update help message.
3796 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3797 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3799 2012-07-31 Bastien Guerry <bzg@gnu.org>
3801 * man.el (man): Fix comment. (bug#12101)
3803 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3805 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3806 Don't return a non-nil value when no suitable buffer was found.
3808 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3810 * progmodes/python.el (run-python-internal): Disable font lock for
3813 2012-07-30 Stefan Merten <smerten@oekonux.de>
3815 * textmodes/rst.el: Silence `checkdoc-ispell'.
3816 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3817 (rst-official-version, rst-official-cvs-rev)
3818 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3819 (rst-mode-map): New key binding.
3821 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3823 Update .PHONY listings in makefiles.
3824 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3825 autoloads, update-subdirs, updates, bzr-update, update-authors,
3826 compile-onefile, compile-calc, backup-compiled-files,
3827 compile-after-backup, compile-one-process, mh-autoloads,
3828 bootstrap-clean, distclean, maintainer-clean.
3830 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3832 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3833 (calc-set-mode-line): Don't display "AlgSimp ".
3835 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3836 (calc-lim-simplify-mode): New function.
3837 (calc-set-simplify-mode): Default to 'alg.
3838 (calc-default-simplify-mode): Make algebraic simplifications
3841 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3842 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3844 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3845 indicate new simplification modes.
3847 * calc/README: Mention new default simplification mode.
3849 * calc/calc.el (math-normalize-error): New variable.
3850 (math-normalize): Set `math-normalize-error' to t
3851 when there's an error.
3853 * calc/calc-alg.el (math-simplify): Don't simplify when
3854 `math-normalize' returns an error.
3856 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3858 * international/mule-cmds.el (set-locale-environment): Revert last
3859 change, since display-graphic-p returns nil when this function is
3860 called during startup. Instead...
3862 * term/w32console.el (terminal-init-w32console): ...setup the
3863 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3865 2012-07-29 Juri Linkov <juri@jurta.org>
3867 * simple.el (goto-line): Don't display default line number in the
3868 prompt because it should be displayed by `read-number' (bug#9952).
3869 Add the current line number to the defaults of `goto-line' to
3870 allow its easier modification by users with `M-n' (bug#9201).
3872 * subr.el (read-number): Support multiple default values like in
3873 other minibuffer reading functions. Replace `read' with
3874 `string-to-number' for consistency with `number-to-string'.
3876 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3878 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3879 * emulation/viper-init.el (viper-deactivate-input-method-action):
3880 Rename from viper-inactivate-input-method-action.
3881 (viper-deactivate-input-method):
3882 Rename from viper-inactivate-input-method.
3883 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3884 * international/mule-cmds.el (deactivate-input-method):
3885 Rename from inactivate-input-method.
3886 Also run input-method-deactivate-hook.
3887 (deactivate-current-input-method-function):
3888 Rename from inactivate-current-input-method-function.
3889 (input-method-deactivate-hook): New hook.
3890 (input-method-inactivate-hook): Mark obsolete.
3891 (inactivate-input-method): Mark obsolete.
3893 * international/quail.el (quail-activate):
3894 Also run quail-deactivate-hook.
3895 (quail-deactivate): Rename from quail-inactivate.
3896 * international/robin.el (robin-activate):
3897 Also run robin-deactivate-hook.
3898 (robin-deactivate): Rename from robin-inactivate.
3900 2012-07-29 Chong Yidong <cyd@gnu.org>
3902 * simple.el (indicate-copied-region): New function.
3903 (kill-ring-save): Split off from here.
3905 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3906 (kill-rectangle): Set deactivate-mark to t on read-only error.
3908 * register.el (copy-to-register, copy-rectangle-to-register):
3909 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3910 (append-to-register, prepend-to-register): Call indicate-copied-region.
3912 2012-07-29 Juri Linkov <juri@jurta.org>
3914 * simple.el (async-shell-command-buffer): New defcustom.
3915 (shell-command): Use it. (Bug#4719)
3917 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3919 * international/mule-cmds.el (set-locale-environment): In a
3920 console session on MS-Windows, set up keyboard and terminal
3921 encoding from the OEM codepage, not the ANSI codepage.
3924 2012-07-28 Chong Yidong <cyd@gnu.org>
3926 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3929 2012-07-28 Leo Liu <sdl.web@gmail.com>
3931 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3932 the alist (bug#12029).
3934 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3936 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3937 (compile-always, compile-first)
3938 ($(lisp)/calendar/cal-loaddefs.el)
3939 ($(lisp)/calendar/diary-loaddefs.el)
3940 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3941 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3942 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3943 instead of on update-subdirs.
3944 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3946 2012-07-28 Chong Yidong <cyd@gnu.org>
3948 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3949 directory if vc-deduce-backend returns nil (Bug#7350).
3951 * simple.el (delete-trailing-lines): New option.
3952 (delete-trailing-whitespace): Obey it (Bug#11879).
3954 2012-07-28 David Engster <deng@randomsample.de>
3956 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3957 Explanation of new 'symbol-qnames feature in doc-strings.
3958 (xml-maybe-do-ns): Return expanded names as plain symbols if
3959 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3960 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3962 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3964 Consistent completion in inferior python with emacs -nw.
3965 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3966 binding in inferior-python-mode-map with "\t".
3967 (python-shell-completion-complete-at-point)
3968 (python-completion-complete-at-point): Remove interactive spec.
3970 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3972 * calc/calccomp.el (math-compose-expr): Undo previous change.
3974 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3976 * progmodes/python.el (python-mode-map): Add keybinding for
3978 (python-shell-make-comint): Fix pop-to-buffer call.
3979 (run-python): Autoload. New arg SHOW.
3980 (python-shell-get-or-create-process): Do not pop python process
3983 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3985 * notifications.el (notifications-on-action-signal)
3986 (notifications-on-closed-signal): Use also the bus address for the map.
3987 (notifications-notify, notifications-close-notification)
3988 (notifications-get-capabilities): Add optional argument BUS.
3990 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3992 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3993 Add support for the lstlisting and minted environments, and for the
3995 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3996 labels written in keyvals syntax.
3998 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4000 * calc/calccomp.el (math-compose-expr): Use parentheses when
4001 there is a product in the denominator of a fraction.
4003 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4005 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4006 ($(lisp)/calendar/diary-loaddefs.el)
4007 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4008 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4009 Fixes failures in parallel bootstrap because subdirs.el is being
4010 rewritten while the autoload files are built at the same time,
4011 which needs to load subdirs.el.
4013 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4015 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4016 (mouse-drag-line): Don't exit tracking when a switch-frame or
4017 switch-window event occurs (Bug#12006).
4019 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * mouse.el (popup-menu): Fix last change.
4023 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4025 Autoload from Lisp with more care. Follow aliases when looking for
4026 function properties.
4027 * subr.el (autoloadp): New function.
4028 (symbol-file): Use it.
4029 (function-get): New function.
4030 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4032 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4033 (lisp-indent-function):
4034 * emacs-lisp/gv.el (gv-get):
4035 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4036 * emacs-lisp/byte-opt.el (byte-optimize-form):
4037 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4038 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4040 * emacs-lisp/cl.el: Don't propagate function properties any more.
4042 * speedbar.el (speedbar-add-localized-speedbar-support):
4043 * emacs-lisp/disass.el (disassemble-internal):
4044 * desktop.el (desktop-load-file):
4045 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4046 (describe-function-1):
4047 * emacs-lisp/find-func.el (find-function-noselect):
4048 * emacs-lisp/elp.el (elp-instrument-function):
4049 * emacs-lisp/advice.el (ad-has-proper-definition):
4050 * apropos.el (apropos-safe-documentation, apropos-macrop):
4051 * emacs-lisp/debug.el (debug-on-entry):
4052 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4053 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4054 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4056 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4058 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4059 function, not an obsolete variable (Bug#12046).
4061 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4063 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4065 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4067 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4068 window only if it is still live (Bug#12034).
4070 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4072 * subr.el (redirect-frame-focus): Add advertised calling
4073 convention (Bug#12030).
4075 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4077 Prefer typical American spelling for "acknowledgment".
4078 * vc/add-log.el (change-log-acknowledgment): Rename from
4079 change-log-acknowledgement, with an alias for the old name.
4081 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4083 * calc-alg.el (math-simplify-divide): Don't cross multiply
4084 in an equation when the lhs is a variable.
4086 2012-07-24 Julien Danjou <julien@danjou.info>
4088 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4091 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4093 * startup.el (command-line): Don't display an empty user name in
4094 the error message about non-existent home directory, when
4095 init-file-user was set to an empty string. See
4096 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4097 for the details and context.
4099 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4101 * ses.el (ses-cell-formula-aset): New macro.
4102 (ses-cell-references-aset): New macro.
4103 (ses-cell-p): New function.
4104 (ses-rename-cell): Do no longer rely on complex operations like
4105 ses-cell-set-formula or ses-set-cell to change the cell and handle
4106 the undo at the same time, but rather use lower level new macros
4107 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4108 the undo directly. Refresh the mode line.
4110 2012-07-21 Leo Liu <sdl.web@gmail.com>
4112 * progmodes/cc-cmds.el (c-defun-name):
4113 Use match-string-no-properties instead for consistency.
4115 2012-07-20 Leo Liu <sdl.web@gmail.com>
4117 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4120 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4122 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4125 * progmodes/bug-reference.el, misearch.el: Provide themselves
4128 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4129 of narrowed buffer (bug#11966).
4131 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4133 * ses.el (ses-rename-cell): Set new name also in reference list of
4134 cells of which the renamed cell depends.
4136 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4138 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4139 to check whether menu-bar is shown or not. If not shown,
4140 show the menu-bar as a popup menu instead of using tmm.
4141 * mouse.el (popup-menu): Accept `point' as `position' argument.
4143 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4145 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4146 up inside string symbol literal (bug#11923).
4148 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4150 * startup.el (fancy-startup-text): Read the whole tutorial, not
4151 just its first 256 bytes. Prevents gibberish in display of the
4154 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4156 Drop idle buffer compaction due to an absence of the
4158 * compact.el: Remove.
4160 2012-07-19 Sam Steingold <sds@gnu.org>
4162 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4163 vc-bzr-pull & vc-bzr-merge-branch.
4164 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4165 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4166 for consistency with compilation-error-regexp-alist.
4167 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4168 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4169 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4170 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4172 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4174 * emacs-lisp/chart.el: Use lexical-binding.
4175 (chart-emacs-storage): Don't hardcode the list of entries.
4177 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4179 Next round of tweaks caused by Fgarbage_collect changes.
4180 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4182 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4184 Compact buffers when idle.
4185 * compact.el: New file.
4187 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * subr.el (eventp): Presume that if it looks vaguely like an event,
4190 it's an event (bug#10190).
4192 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4194 Enhancements to ppss related code (thanks Stefan).
4195 * progmodes/python.el (python-indent-context)
4196 (python-indent-calculate-indentation, python-indent-dedent-line)
4197 (python-indent-electric-colon, python-nav-forward-block)
4198 (python-mode-abbrev-table)
4199 (python-info-assignment-continuation-line-p): Simplify checks
4201 (python-info-continuation-line-p): Cleanup.
4202 (python-info-ppss-context): Do not catch 'quote.
4203 (python-info-ppss-context-type)
4204 (python-info-ppss-comment-or-string-p): Simplify.
4206 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4208 * progmodes/python.el: Enhancements to eldoc support.
4209 (python-info-current-symbol): New function.
4210 (python-eldoc-at-point): Use python-info-current-symbol.
4211 (python-info-current-defun): Fix cornercase on first defun scan.
4212 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4213 and signal error when no inferior python process is available.
4215 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4217 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4218 assume it's always t.
4219 (vc-git-registered): Remove caching, the function is only called
4221 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4223 2012-07-18 Chong Yidong <cyd@gnu.org>
4225 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4227 * simple.el (count-words): Report on narrowing (Bug#9959).
4229 * bindings.el: Bind M-= to count-words.
4231 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4233 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4235 * progmodes/sh-script.el (sh-imenu-generic-expression):
4236 Capture a function with `function' keyword and without parentheses
4237 like "function FOO" (bug#11856).
4239 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4241 * window.el (split-window-sensibly): Make WINDOW argument
4244 2012-07-18 Chong Yidong <cyd@gnu.org>
4246 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4248 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4249 and make C-x 8 RET exit isearch (Bug#11439).
4251 * international/iso-transl.el: Move isearch-mode-map key
4252 definitions to isearch.el.
4254 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4257 (eieio-defclass): Use gv-define-setter when possible.
4259 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4261 Reflect recent changes in Fgarbage_collect.
4262 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4263 reflect new format of data returned by Fgarbage_collect.
4265 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4267 New utility functions + python-info-ppss-context fix (Bug#11910).
4268 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4269 (python-info-ppss-comment-or-string-p): New functions.
4270 (python-info-ppss-context): Small fix for string check.
4272 2012-07-17 Juri Linkov <juri@jurta.org>
4274 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4275 (dired-do-async-shell-command): Don't add `*' at the end of the
4276 command (Bug#11815).
4277 (dired-do-shell-command): Doc fix.
4278 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4279 Join the individual commands using either "&" or ";" as the
4280 separator depending on the values of these trailing characters.
4281 At the end re-add the trailing "&". (Bug#10598)
4283 * simple.el (async-shell-command): Sync the interactive spec with
4284 `shell-command'. Doc fix.
4285 (shell-command): Doc fix.
4287 2012-07-17 Juri Linkov <juri@jurta.org>
4289 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4291 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4293 Final renames and doc fixes for movement commands (bug#11899).
4294 * progmodes/python.el (python-nav-beginning-of-statement):
4295 Rename from python-nav-statement-start.
4296 (python-nav-end-of-statement): Rename from
4297 python-nav-statement-end.
4298 (python-nav-beginning-of-block): Rename from
4299 python-nav-block-start.
4300 (python-nav-end-of-block): Rename from python-nav-block-end.
4302 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4304 * progmodes/python.el (python-shell-send-string-no-output):
4305 Allow accept-process-output to quit, keeping shell process ready for
4306 future interactions (Bug#11868).
4308 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4312 * emacs-lisp/elint.el (elint-find-args-in-code):
4313 Use help-function-arglist, so as to handle lexical byte-code.
4315 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4318 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4321 Avoid spuriously marking the buffer as modified because of c-is-sws.
4323 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4324 as not-a-comment (bug#11946).
4326 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4327 for uninterned vars.
4329 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4330 Use read-event since we don't really want to read chars but bytes.
4332 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4333 $$..$$ but also $..$ using regexps (bug#11953).
4334 Use tex-verbatim for \url and \path.
4335 (tex-font-lock-keywords): Define as defconst like the others.
4336 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4338 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4340 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4341 alias for insert-char.
4343 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4345 * progmodes/python.el: Simplified imenu implementation.
4346 (python-nav-jump-to-defun): Remove command.
4347 (python-mode-map): Use `imenu' instead.
4348 (python-nav-list-defun-positions-cache)
4349 (python-imenu-include-defun-type, python-imenu-make-tree)
4350 (python-imenu-subtree-root-label, python-imenu-index-alist):
4352 (python-nav-list-defun-positions, python-nav-read-defun)
4353 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4354 (python-imenu-make-tree, python-imenu-create-index):
4356 (python-mode): Update to interact with imenu by setting
4357 `imenu-extract-index-name-function' only.
4359 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4361 * progmodes/python.el: Enhancements to navigation commands.
4362 (python-nav-backward-sentence)
4363 (python-nav-forward-sentence): Remove.
4364 (python-nav-backward-statement, python-nav-forward-statement)
4365 (python-nav-statement-start, python-nav-statement-end)
4366 (python-nav-backward-block, python-nav-forward-block)
4367 (python-nav-block-start, python-nav-block-end)
4368 (python-nav-forward-sexp-function)
4369 (python-info-current-line-comment-p)
4370 (python-info-current-line-empty-p): New functions.
4371 (python-indent-context): Use `python-nav-statement-start'.
4373 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4375 * eshell/em-ls.el (eshell/ls): Use `apply'.
4377 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4378 multi-hops, instead of Tramp internals.
4380 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4382 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4383 when F1 and F2 are located on different hosts.
4385 2012-07-14 Chong Yidong <cyd@gnu.org>
4387 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4388 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4389 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4390 (xterm-mouse--read-event-sequence-1000)
4391 (xterm-mouse--read-event-sequence-1006): New functions. For old
4392 mouse protocol, handle M-mouse-X events correctly.
4393 (xterm-mouse-event): New arg specifying mouse protocol.
4394 (turn-on-xterm-mouse-tracking-on-terminal)
4395 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4396 sequence to toggle extended coordinates on newer XTerms.
4397 This appears to be harmless on terminals which do not support this.
4399 2012-07-14 Leo Liu <sdl.web@gmail.com>
4401 Add fringe bitmap indicators for flymake. (Bug#11253)
4402 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4403 (flymake-make-overlay): New arg BITMAP.
4404 (flymake-error-bitmap, flymake-warning-bitmap)
4405 (flymake-fringe-indicator-position): New user variables.
4407 * fringe.el: New bitmap exclamation-mark.
4409 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4411 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4414 2012-07-14 Chong Yidong <cyd@gnu.org>
4416 * electric.el (electric-pair-post-self-insert-function): Fix pair
4417 insertion in empty-region case (Bug#11520).
4419 2012-07-14 Chong Yidong <cyd@gnu.org>
4421 * bindings.el: Consolidate ctl-x-r-map bindings.
4422 Bind copy-rectangle-as-kill to C-x r w.
4424 * rect.el, register.el: Move bindings to bindings.el.
4426 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4428 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4430 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4432 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4434 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4436 * bindings.el (top): Use `mapc' instead of `mapcar'.
4438 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4440 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4442 * progmodes/sql.el (sql-comint): Suppress the check for program on
4443 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4446 2012-07-13 Chong Yidong <cyd@gnu.org>
4448 * bindings.el: Assign a non-nil permanent-local property to
4449 per-buffer variables which lack a default value (Bug#11930).
4451 * help-fns.el (describe-variable): In the "automatically becomes
4452 local" notice, take note of permanent-local variables.
4454 2012-07-13 Chong Yidong <cyd@gnu.org>
4456 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4457 to allow printing the message when called from Lisp.
4459 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4460 Remove toggle-read-only.
4462 * bs.el (bs-toggle-readonly):
4463 * buff-menu.el (Buffer-menu-toggle-read-only):
4464 Remove with-no-warnings around toggle-read-only.
4466 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4467 Remove with-no-warnings around toggle-read-only.
4468 (ffap-read-only, ffap-read-only-other-window)
4469 (ffap-read-only-other-frame): Callers changed.
4471 * help-mode.el: Don't require view package.
4472 (help-mode-finish): Set buffer-read-only instead of calling
4475 * bindings.el (mode-line-toggle-read-only):
4476 * dired.el (dired-toggle-read-only):
4477 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4478 with non-nil second arg.
4480 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4481 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4484 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4486 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4489 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4491 More CL cleanups and reduction of use of cl.el.
4492 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4493 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4494 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4495 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4496 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4497 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4498 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4499 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4500 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4501 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4502 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4503 * eshell/em-cmpl.el, eshell/em-banner.el:
4504 * calendar/parse-time.el: Use cl-lib.
4505 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4506 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4507 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4508 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4509 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4510 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4511 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4512 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4513 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4514 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4515 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4516 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4517 `lambda' rather than with `quote'.
4518 (eshell-do-opt): Adjust accordingly.
4519 (eshell-process-option): Simplify.
4520 * eshell/esh-var.el:
4521 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4522 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4523 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4524 to `pcase--dontcare'.
4525 * emacs-lisp/cl.el (labels): Mark obsolete.
4526 (cl--letf, letf): Move to cl-lib.
4527 (cl--letf*, letf*): Remove.
4528 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4529 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4530 (cl-progv): Rewrite.
4531 (cl--letf, cl-letf): Move from cl.el.
4532 (cl-letf*): New macro.
4533 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4535 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4537 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4539 2012-07-11 Chong Yidong <cyd@gnu.org>
4541 * vc/log-edit.el (log-edit-vc-backend): New variable.
4542 (log-edit): Doc fix.
4544 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4545 argument of log-edit to set up all local variables.
4546 (vc-start-logentry): New optional arg specifying VC backend.
4548 * vc/vc.el (vc-checkin): Use it.
4549 (vc-deduce-fileset): Handle Log Edit buffers.
4550 (vc-diff): Make first argument optional too.
4552 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4554 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4556 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4557 command, just in case. The function is not needed anymore.
4558 (eshell-external-command): Do not call `eshell-remote-command'.
4560 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4562 Reduce use of (require 'cl).
4563 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4564 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4565 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4566 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4567 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4568 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4569 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4570 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4571 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4572 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4573 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4574 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4575 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4576 (byte-compile-unfold-bcf, byte-compile-check-variable):
4577 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4578 (byte-compile-nilconstp):
4579 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4580 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4582 * emacs-lisp/gv.el (cond): Make it a valid place.
4583 (if): Simplify slightly.
4585 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4586 (pcase--self-quoting-p): New function.
4587 (pcase--u1): Use it.
4589 2012-07-10 Glenn Morris <rgm@gnu.org>
4591 * emacs-lisp/authors.el (authors-fixed-entries):
4592 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4594 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4596 Rename configure.in to configure.ac (Bug#11603).
4597 * emacs-lisp/authors.el (authors-canonical-file-name):
4598 * progmodes/autoconf.el (autoconf-mode):
4599 Prefer configure.ac to configure.in.
4601 2012-07-08 Chong Yidong <cyd@gnu.org>
4603 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4604 Implement the mouse-1-click-follows-link handling properly.
4606 * info.el (Info-link-keymap): Use follow-link mechanism for
4607 header-line links (Bug#374).
4609 * simple.el (deactivate-mark): Do not set the primary selection
4610 if another program has acquired it (Bug#11772).
4612 2012-07-07 Kevin Ryde <user42@zip.com.au>
4614 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4615 (woman-decode-region): Replace escaped-escapes without destroying
4616 bold or underline (Bug#11552).
4617 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4619 2012-07-07 Chong Yidong <cyd@gnu.org>
4621 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4622 (interprogram-cut-function, interprogram-paste-function):
4623 Mention that we typically mean the clipboard.
4625 2012-07-06 Glenn Morris <rgm@gnu.org>
4627 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4629 * files.el (toggle-read-only): Restrict message to interactive use.
4631 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4633 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4635 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4637 2012-07-06 Glenn Morris <rgm@gnu.org>
4639 * Makefile.in (compile-one-process): Rename from "recompile".
4641 * Makefile.in (bzr-update): "compile" is the same as "recompile
4642 autoloads", but parallelizable, so use that instead.
4644 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4646 * window.el (quit-window): Always restore window height when
4647 it's saved in quit-restore parameter (Bug#11810).
4649 2012-07-06 Glenn Morris <rgm@gnu.org>
4651 * simple.el (kill-whole-line): Doc tweak.
4653 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4655 * files.el (file-relative-name): Compare file names
4656 case-insensitively if on MS-Windows or MS-DOS, or if
4657 read-file-name-completion-ignore-case is non-nil. Don't use
4658 case-fold-search for this purpose. (Bug#11827)
4660 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4662 * calendar/cal-dst.el (calendar-current-time-zone):
4663 Return calendar-current-time-zone-cache if non-nil.
4665 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4666 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4668 * calendar/cal-dst.el (calendar-current-time-zone):
4669 Return calendar-current-time-zone-cache if non-nil.
4671 2012-07-06 Glenn Morris <rgm@gnu.org>
4673 * Makefile.in (cvs-update): Remove old alias.
4675 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4677 Sync with Tramp 2.2.6-pre.
4679 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4680 compatible declaration.
4682 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4683 Protect `list-load-path-shadows' call.
4685 * net/tramp-compat.el (top): Require packages, which aren't
4686 autoloaded anymore for XEmacs. Protect call of
4687 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4688 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4689 it hurts at least for SXEmacs.
4690 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4691 standard-value for `temporary-file-directory'.
4693 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4694 Redirect stderr to /dev/null.
4695 (tramp-sh-handle-write-region): uid and gid can be floats.
4696 Reported by Russell Sim <russell.sim@gmail.com>.
4697 (tramp-sh-handle-vc-registered): Hide errors.
4698 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4699 and `start-file-process'.
4700 (tramp-maybe-open-connection): Check also whether `non-essential'
4703 2012-07-04 Chong Yidong <cyd@gnu.org>
4705 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4706 (xml-parse-tag): Likewise, and avoid changing entity tables.
4707 (xml-syntax-table): Define from scratch, making sure not to give
4708 x2000 and other Unicode spaces whitespace syntax, since those are
4710 (xml-parse-fragment): Delete unused function.
4711 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4712 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4713 (xml-entity-ref, xml-pe-reference-re)
4714 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4715 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4716 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4717 (xml-entity-value-re): Use syntax references in regexps where
4718 possible; no need to define inside a let-binding.
4719 (xml-parse-dtd): Use xml-pe-reference-re.
4720 (xml-entity-or-char-ref-re): New defconst.
4721 (xml-parse-string, xml-substitute-special): Use it.
4723 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4725 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4726 (find-file--read-only): New function.
4727 (find-file-read-only, find-file-read-only-other-window)
4728 (find-file-read-only-other-frame): Use it.
4729 (insert-file-contents-literally): Don't `fset'.
4730 (get-free-disk-space): Use locate-dominating-file.
4732 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4733 function is already compiled.
4735 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4737 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4739 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4740 files on the same host.
4742 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4744 * help-fns.el (describe-function-1): Only call
4745 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4747 2012-07-03 Chong Yidong <cyd@gnu.org>
4749 * xml.el: Protect parser against XML bombs.
4750 (xml-entity-expansion-limit): New variable.
4751 (xml-parse-string, xml-substitute-special): Use it.
4752 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4754 2012-07-03 Glenn Morris <rgm@gnu.org>
4756 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4757 Allow linking to specific messages in debbugs reports (eg 123#5).
4759 2012-07-02 Chong Yidong <cyd@gnu.org>
4761 * xml.el: Fix entity and character reference expansion, allowing
4762 them to expand into markup as per XML spec.
4763 (xml-default-ns): New variable.
4764 (xml-entity-alist): Use XML spec definitions for lt and amp.
4765 (xml-parse-region): Make first two arguments optional.
4766 Discard text properties.
4767 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4768 All callers changed.
4769 (xml-parse-tag): Call xml-parse-tag-1. For backward
4770 compatibility, this function should not modify buffer contents.
4771 (xml-parse-tag-1): Fix opening-tag regexp.
4772 (xml-parse-string): Rewrite, handling entity and character
4773 references properly.
4774 (xml--entity-replacement-text): Signal an error if a parameter
4775 entity is undefined.
4777 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * comint.el (comint-output-filter): Filter out repeated prompts.
4781 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4782 and file-name-absolute-p.
4783 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4786 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4789 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4790 Rename from byte-compile--refiy-function. All uses changed.
4792 2012-07-01 Chong Yidong <cyd@gnu.org>
4794 * xml.el (xml--parse-buffer): New function. Move most of
4795 xml-parse-region here.
4796 (xml-parse-region): Copy region into a temporary buffer, since
4797 parameter entity substitution requires changing buffer contents.
4798 Use xml--parse-buffer.
4799 (xml-parse-file): Use xml--parse-buffer.
4800 (xml-parse-dtd): Make parameter entity substitution work right.
4801 Use proper regexps for ELEMENT declarations (Bug#7172).
4803 2012-06-30 Glenn Morris <rgm@gnu.org>
4805 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4807 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4808 Remove outdated and unnecessary dbus declarations.
4810 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4812 * emacs-lisp/timer.el (timer-until): Subtract results of
4813 float-time, instead of taking float-time of the result of
4814 time-subtract, since float-time signals an error for negative time
4817 2012-06-30 Chong Yidong <cyd@gnu.org>
4819 * xml.el (xml-*-re): Convert defvars into defconsts, and
4820 eval-and-compile them so eval-and-compile works on derivatives.
4821 (xml--entity-replacement-text): Use eval-and-comple.
4823 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4825 * vc/vc-git.el (vc-git-registered): Use cache property
4827 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4828 `vc-git-working-revision' in order to benefit from the cache.
4829 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4831 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4833 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4834 removed (likely outside Emacs). (Bug#11757)
4836 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/cl-lib.el: Require macroexp.
4840 2012-06-30 Chong Yidong <cyd@gnu.org>
4842 * xml.el: Implement XML parameter entities.
4843 (xml-parameter-entity-alist): New variable.
4844 (xml-parse-region, xml-parse-fragment): Preserve previous values
4845 of xml-entity-alist and xml-parameter-entity-alist, so that
4846 repeated calls on different documents do not change them.
4847 (xml-parse-tag): Fix doctype regexp.
4848 (xml--entity-replacement-text): New function.
4849 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4850 properly requires url retrieval which is unimplemented.
4851 (xml-escape-string): Doc fix.
4853 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4857 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4859 * fringe.el (fringe-mode): Doc fix.
4861 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4863 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4865 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4866 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4868 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4870 * calendar/cal-dst.el (calendar-current-time-zone):
4871 Return calendar-current-time-zone-cache if non-nil.
4873 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4875 * progmodes/which-func.el (which-func-format):
4876 Add mouse-face. (Bug#11698)
4878 2012-06-29 Leo Liu <sdl.web@gmail.com>
4880 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4882 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * minibuffer.el (minibuffer-confirm-exit-commands):
4885 Add completion-at-point (bug#11725).
4887 2012-06-29 Glenn Morris <rgm@gnu.org>
4889 * progmodes/f90.el (f90-font-lock-keywords-2):
4890 Add some preprocessor elements. (Bug#10499)
4892 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4894 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4895 Use syntax-propertize (bug#11739).
4897 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4899 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4901 2012-06-28 Julien Danjou <julien@danjou.info>
4903 * term.el (term-handle-colors-array): Use a set of new faces to
4904 color the terminal. Also uses :inverse-video property.
4905 (term-default-fg-color): Set to nil by default, deprecate in favor
4907 (term-default-bg-color): Set to nil by default, deprecate in favor
4909 (term-current-face): Use `term-face' by default.
4910 (term-bold-attribute): Variable deleted.
4912 2012-06-28 Glenn Morris <rgm@gnu.org>
4914 * simple.el (completion-list-mode-finish):
4915 Don't use toggle-read-only. (Since completion-list-mode has
4916 a special mode-class, it wasn't doing anything extra anyway.)
4918 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4920 Make inlining of other-mode interpreted functions work (bug#11799).
4921 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4922 (byte-compile): Use it to fix compilation of lexical-binding closures.
4923 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4924 function, if needed.
4926 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4928 * help-mode.el (help-make-xrefs): Don't just withstand
4929 cyclic-variable-indirection but any error in documentation-property.
4931 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4933 * bindings.el (bindings--define-key): New function.
4934 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4935 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4936 * bindings.el: Use it to purecopy define-key bindings.
4938 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4940 * emacs-lisp/cl.el (flet): Mark obsolete.
4941 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4942 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4943 * progmodes/js.el (js-c-fill-paragraph):
4944 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4945 (ebrowse-switch-member-buffer-to-derived-class):
4946 * play/5x5.el (5x5-solver): Use cl-flet.
4948 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4949 (cl--symbol-function): New macro.
4950 (cl--letf, cl--letf*): Use it.
4952 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4953 Strip "toggle-" if any.
4955 2012-06-27 Glenn Morris <rgm@gnu.org>
4957 * info.el (Info-default-directory-list): Move here from paths.el.
4958 * paths.el: Remove file, which is now empty.
4959 * loadup.el: No longer load "paths".
4961 * custom.el (custom-initialize-delay): Doc fix.
4963 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4964 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4965 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4966 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4967 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4968 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4969 * eshell/eshell.el (eshell-defgroup): Remove alias.
4971 2012-06-27 Chong Yidong <cyd@gnu.org>
4973 * help.el (help-enable-auto-load): New variable.
4975 * help-fns.el (help-fns--autoloaded-p): New function.
4976 (describe-function-1): Refer to a function as "autoloaded" if it
4977 was autoloaded at any time in the past. Perform autoloading if
4978 help-enable-auto-load is non-nil.
4980 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4982 * makefile.w32-in (compile, compile-always): Depend on
4983 update-subdirs, not on subdirs.el. Otherwise, several different
4984 sub-targets of 'bootstrap' running in parallel could
4985 simultaneously write to subdirs.el, producing a garbled file.
4987 2012-06-26 Sam Steingold <sds@gnu.org>
4989 * files.el (file-name-base): New convenience function.
4990 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4991 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4992 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4993 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4994 * textmodes/ispell.el, textmodes/reftex-ref.el:
4995 * textmodes/tex-mode.el: Use it.
4996 Did not touch cedet and org because they are maintained elsewhere.
4998 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5000 * calendar/calendar.el (calendar-exit): Don't try to delete or
5001 iconify last frame. See:
5002 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5004 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5006 * server.el (server-process-filter): Remember dir in the
5007 process's `server-client-directory' properties.
5009 2012-06-24 Chong Yidong <cyd@gnu.org>
5011 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5014 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5016 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5018 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * help-fns.el (describe-variable): Don't croak when doc is not found.
5021 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5022 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5023 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5024 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5025 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5027 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5029 2012-06-23 Chong Yidong <cyd@gnu.org>
5031 * info.el (Info-mouse-follow-link): Accept symbol values of
5032 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5033 (Info-fontify-node): Use Info-link-keymap for all navigation
5034 buttons, with link-args property to perform the desired action.
5035 (Info-link-keymap): Doc fix.
5036 (Info-next-link-keymap, Info-prev-link-keymap)
5037 (Info-up-link-keymap): Delete now-unused keymaps.
5039 2012-06-23 Chong Yidong <cyd@gnu.org>
5041 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5043 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5046 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5048 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5053 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5054 the requote function doesn't work properly (bug#11714).
5056 2012-06-23 Glenn Morris <rgm@gnu.org>
5058 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5060 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5062 Further GV/CL cleanups.
5063 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5065 (gv--defun-declaration): New function.
5066 (defun-declarations-alist): Use it.
5067 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5068 (gv-place): Autoload.
5069 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5070 original definition of dotimes and dolist.
5071 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5072 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5073 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5074 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5075 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5076 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5077 to the function's definition.
5078 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5082 * env.el: Don't use CL.
5084 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5086 Support higher-resolution time stamps (Bug#9000).
5088 * calendar/time-date.el (with-decoded-time-value): New arg
5089 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5090 (encode-time-value): New optional arg PICO. New type 3.
5091 (time-to-seconds) [!float-time]: Support the new picoseconds
5092 component if it's used.
5093 (seconds-to-time, time-subtract, time-add):
5094 Support ps-resolution time stamps as well.
5096 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5097 (timerp): Timer vectors now have length 9, not 8.
5098 (timer--time): Support new-style (4-part) time stamps.
5099 (timer-next-integral-multiple-of-time): Time stamps now have
5100 picosecond resolution, so take a bit more care about rounding.
5101 (timer-relative-time, timer-inc-time): New optional arg psecs.
5102 (timer-set-time-with-usecs): Set psecs to 0.
5103 (timer--activate): Check psecs component, too.
5105 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5107 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5110 Move the non-essential binding to the post/pre-command-hook where it is
5111 more obviously correct.
5113 * subr.el (read-passwd): Don't use a history at all.
5114 * savehist.el (savehist-save): Remove password saved accidentally
5115 because of the above bug.
5117 2012-06-22 Bastien Guerry <bzg@gnu.org>
5119 * files.el (toggle-read-only): Display a message telling whether
5120 the buffer is read-only or not (bug#11726).
5122 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * emacs-lisp/gv.el: New file.
5125 * subr.el (push, pop): Extend to generalized variables.
5126 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5127 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5128 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5129 gv-define-simple-setter, and gv-define-expander.
5130 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5131 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5132 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5133 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5134 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5136 (cl-defstruct): Don't define setf-method any more.
5137 * emacs-lisp/cl.el (flet): Don't autoload.
5138 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5139 (define-setf-expander, defsetf, define-modify-macro)
5140 (cl-struct-setf-expander): Move from cl-lib.el.
5141 * emacs-lisp/syntax.el:
5142 * emacs-lisp/ewoc.el:
5143 * emacs-lisp/smie.el:
5144 * emacs-lisp/cconv.el:
5145 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5146 (timer--time): Use gv-define-simple-setter.
5147 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5148 to avoid coding-system problems in subr.el. Adjust all users.
5149 (macroexp--maxsize, macroexp-small-p): New functions.
5150 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5151 * scroll-bar.el (scroll-bar-mode):
5152 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5153 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5154 * winner.el (winner-configuration, winner-make-point-alist)
5155 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5156 * files.el (locate-file-completion-table): Avoid list*.
5158 2012-06-22 Chong Yidong <cyd@gnu.org>
5160 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5161 (dired-create-files): Doc fix (Bug#11329).
5162 (dired-do-copy): Doc fix (Bug#11334).
5163 (dired-mark-read-string): Doc fix (Bug#11553).
5165 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5166 Doc fix (Bug#11326).
5167 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5168 (dired-dwim-target): Doc fix.
5170 * wdired.el (wdired-mode): Doc fix.
5172 2012-06-22 Glenn Morris <rgm@gnu.org>
5174 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5175 (pcmpl-rpm-cache-stamp-file): New constant.
5176 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5177 (pcmpl-rpm-packages): Optionally cache list of packages.
5179 * pcmpl-rpm.el (pcmpl-rpm): New group.
5180 (pcmpl-rpm-query-options): New option.
5181 (pcmpl-rpm-packages): No need to inline it.
5182 Use pcmpl-rpm-query-options.
5184 * calendar/calendar.el (calendar-in-read-only-buffer):
5185 Avoid some needless mode changes.
5187 2012-06-21 Chong Yidong <cyd@gnu.org>
5189 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5190 (desktop-path): Remove . from the default value (Bug#10977).
5191 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5193 2012-06-20 Chong Yidong <cyd@gnu.org>
5195 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5197 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5199 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5202 2012-06-20 Chong Yidong <cyd@gnu.org>
5204 * term.el (term-window-width): Handle the case of a missing right
5206 (term-check-size): Use window-text-height (Bug#5445).
5207 (term-mode): Use define-derived-mode. Minor cleanups.
5208 Set font-lock-defaults (Bug#7692).
5209 (term-move-columns, term-insert-char, term-emulate-terminal)
5210 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5212 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5214 * net/ange-ftp.el (ange-ftp-get-passwd):
5215 Bind `enable-recursive-minibuffers'.
5216 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5218 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5220 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5222 2012-06-19 Glenn Morris <rgm@gnu.org>
5224 * progmodes/python.el (python-mode): Derive from prog-mode.
5226 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5228 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5229 (edt-user-menu-bar-update-buffers): New functions.
5230 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5232 2012-06-19 Chong Yidong <cyd@gnu.org>
5234 * subr.el (with-selected-window): Preserve the selected window's
5235 terminal's top-frame (Bug#4702).
5237 * window.el (save-selected-window): Likewise.
5239 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * progmodes/python.el (python-rx-constituents): Move backquote.
5242 (python-skeleton-define, python-define-auxiliary-skeleton):
5245 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5247 * minibuffer.el (read-file-name-default): Revert the patch from
5250 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5253 (pcase--u1, pcase--q1): Don't use apply-partially.
5255 2012-06-18 Glenn Morris <rgm@gnu.org>
5257 * progmodes/python.el (python-proc, python-buffer)
5258 (python-send-receive, python-send-string): Fix obsolete versions.
5260 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5262 * window.el (special-display-p): Completely remove stringp
5263 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5265 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5267 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5269 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5271 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5272 * net/tramp-sh.el (tramp-maybe-open-connection):
5273 Throw if `non-essential' is non-nil.
5275 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5277 * window.el (special-display-p): Signal an error if BUFFER-NAME
5278 is not a string (Bug#11713).
5280 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5282 * progmodes/python.el (python-info-beginning-of-backslash):
5283 Rename from python-info-beginning-of-backlash, as a spelling fix.
5285 2012-06-17 Chong Yidong <cyd@gnu.org>
5287 * term.el (term-emulate-terminal): If term-check-size is called,
5288 move point to the process mark without resetting point (Bug#4635).
5290 2012-06-17 Glenn Morris <rgm@gnu.org>
5292 * international/mule-cmds.el (mule-menu-keymap)
5293 (set-language-environment, set-locale-environment): Doc tweaks.
5295 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5297 * cus-face.el (custom-face-attributes): Add wave-style underline
5299 * faces.el (set-face-attribute): Update docstring to describe
5300 wave-style underline attribute.
5302 2012-06-16 Chong Yidong <cyd@gnu.org>
5304 * term/xterm.el (terminal-init-xterm): Discard input before
5305 querying background mode (Bug#10959).
5307 2012-06-16 Stefan Merten <smerten@oekonux.de>
5309 * textmodes/rst.el: Added and corrected some comments.
5310 (rst-re-alist-def): Improve symbol syntax.
5311 (rst-mode-syntax-table): Correct syntax entries.
5312 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5313 (rst-official-version, rst-official-cvs-rev): Update version
5316 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5318 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5319 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5321 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5323 * progmodes/python.el: New python.el merge.
5324 (python-guess-indent): Obsolete var.
5325 (python-indent-guess-indent-offset): New defcustom.
5326 (python-indent): Obsolete var.
5327 (python-indent-offset): New defcustom.
5328 (python-python-command, python-jython-command): Delete var.
5329 (python-shell-interpreter): New defcustom.
5330 (python-pdbtrack-do-tracking-p): Delete var.
5331 (python-pdbtrack-activate): New defcustom.
5332 (python-use-skeletons): Obsolete var.
5333 (python-skeleton-autoinsert): New defcustom.
5334 (inferior-python-filter-regexp, python-continuation-offset)
5335 (python-honour-comment-indentation, python-indent-string-contents)
5336 (python-jython-packages, python-mode-hook)
5337 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5338 (python-shell-prompt-alist)
5339 (python-source-modes): Delete defcustoms.
5340 (python-check-buffer-name, python-eldoc-setup-code)
5341 (python-eldoc-string-code, python-ffap-setup-code)
5342 (python-ffap-string-code, python-fill-comment-function)
5343 (python-fill-decorator-function, python-fill-paren-function)
5344 (python-fill-string-function, python-imenu-include-defun-type)
5345 (python-imenu-make-tree, python-imenu-subtree-root-label)
5346 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5347 (python-shell-compilation-regexp-alist)
5348 (python-shell-completion-module-string-code)
5349 (python-shell-completion-pdb-string-code)
5350 (python-shell-completion-setup-code)
5351 (python-shell-completion-string-code)
5352 (python-shell-enable-font-lock, python-shell-exec-path)
5353 (python-shell-extra-pythonpaths)
5354 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5355 (python-shell-process-environment)
5356 (python-shell-prompt-block-regexp)
5357 (python-shell-prompt-output-regexp)
5358 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5359 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5360 (python-shell-virtualenv-path): New defcustoms.
5361 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5362 (inferior-python-mode-syntax-table, python--prompt-regexp)
5363 (python-buffer, python-command python-python-command)
5364 (python-default-template, python-imports, python-indent-index)
5365 (python-indent-list, python-indent-list-length)
5366 (python-mode-running, python-pdbtrack-is-tracking-p)
5367 (python-preoutput-continuation, python-preoutput-leftover)
5368 (python-preoutput-result, python-preoutput-skip-next-prompt)
5369 (python-prev-dir/file, python-recursing)
5370 (python-saved-check-command, python-version-checked)
5371 (python-which-func-length-limit)
5372 (view-return-to-alist): Delete vars.
5373 (python-check-custom-command, python-dotty-syntax-table)
5374 (python-imenu-index-alist, python-indent-current-level)
5375 (python-indent-dedenters, python-indent-levels)
5376 (python-nav-beginning-of-defun-regexp)
5377 (python-nav-list-defun-positions-cache)
5378 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5379 (python-shell-internal-buffer)
5380 (python-skeleton-available): New vars.
5381 (def-python-skeleton): Delete macro.
5382 (python-skeleton-define): New macro.
5383 (python-define-auxiliary-skeleton, python-rx): New macros.
5384 (python-insert-class): Delete command.
5385 (python-skeleton-class): New command.
5386 (python-insert-def): Delete command.
5387 (python-skeleton-def): New command.
5388 (python-insert-for): Delete command.
5389 (python-skeleton-for): New command.
5390 (python-insert-if): Delete command.
5391 (python-skeleton-if): New command.
5392 (python-insert-try/except, python-insert-try/finally): Delete commands.
5393 (python-skeleton-try): New command.
5394 (python-insert-while): Delete command.
5395 (python-skeleton-while): New command.
5396 (python-backspace): Delete command.
5397 (python-indent-dedent-line-backspace): New command.
5398 (python-electric-colon): Delete command.
5399 (python-indent-electric-colon): New command.
5400 (python-guess-indent): Delete command.
5401 (python-indent-guess-indent-offset): New command.
5402 (python-shift-left): Delete command.
5403 (python-indent-shift-left): New command.
5404 (python-shift-right): Delete command.
5405 (python-indent-shift-right): New command.
5406 (python-find-function): Delete command.
5407 (python-nav-jump-to-defun): New command.
5408 (python-next-statement): Delete command.
5409 (python-nav-forward-sentence): New command.
5410 (python-previous-statement): Delete command.
5411 (python-nav-backward-sentence): New command.
5412 (python-fill-paragraph): Delete command.
5413 (python-fill-paragraph-function): New command.
5414 (python-send-buffer): Delete command.
5415 (python-shell-send-buffer): New command.
5416 (python-send-defun): Delete command.
5417 (python-shell-send-defun): New command.
5418 (python-send-region, python-send-region-and-go): Delete commands.
5419 (python-shell-send-region)
5420 (python-shell-switch-to-shell): New commands.
5421 (python-send-string): Delete command.
5422 (python-shell-send-string): New command.
5423 (python-switch-to-python): Delete command.
5424 (python-shell-switch-to-shell): New command.
5425 (python-describe-symbol): Delete command.
5426 (python-eldoc-at-point): New command.
5427 (python--set-prompt-regexp, python-args-to-list)
5428 (python-after-info-look, python-check-version)
5429 (python-check-comint-prompt, python-find-imports)
5430 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5431 (python-unload-function, python-expand-template)
5432 (python-maybe-jython, python-preoutput-filter)
5433 (python-pdbtrack-get-source-buffer)
5434 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5435 (python-pdbtrack-toggle-stack-tracking)
5436 (python-pdbtrack-track-stack-file, python-initial-text)
5437 (python-first-word, python-comment-line-p, python-send-command)
5438 (python-setup-brm, python-sentinel, python-set-proc)
5439 (python-skip-out, python-input-filter, python-outdent-p)
5440 (python-outline-level, python-backslash-continuation-line-p)
5441 (python-end-of-block, python-end-of-statement, python-mark-block)
5442 (python-beginning-of-block, python-beginning-of-statement)
5443 (python-blank-line-p, python-beginning-of-string)
5444 (python-open-block-statement-p): Delete functions.
5445 (python-indent-line, python-indent-line-1): Delete functions.
5446 (python-indent-line): New function.
5447 (python-indentation-levels): Delete function.
5448 (python-indent-calculate-levels): New function.
5449 (python-proc): Delete function.
5450 (python-shell-get-process): New function.
5451 (python-send-receive): Delete function.
5452 (python-shell-send-string-no-output): New function.
5453 (python-module-path): Delete function.
5454 (python-ffap-module-path): New function.
5455 (python-completion-at-point)
5456 (python-symbol-completions): Delete functions.
5457 (python-completion-complete-at-point): New function.
5458 (python-load-file): Delete function.
5459 (python-shell-send-file): New function.
5460 (python-calculate-indentation): Delete function.
5461 (python-indent-calculate-indentation): New function.
5462 (python-skip-comments/blanks): Delete function.
5463 (python-util-forward-comment): New function.
5464 (python-continuation-line-p): Delete function.
5465 (python-info-continuation-line-p): New function.
5466 (python-which-func, python-current-defun): Delete function.
5467 (python-info-current-defun): New function.
5468 (python-beginning-of-defun): Delete function.
5469 (python-nav-beginning-of-defun): New function.
5470 (python-close-block-statement-p)
5471 (python-block-end-p): Delete function.
5472 (python-info-closing-block): New function.
5473 (python-comint-output-filter-function)
5474 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5475 (python-fill-comment, python-fill-decorator, python-fill-paren)
5476 (python-fill-string, python-imenu-make-element-tree)
5477 (python-imenu-make-tree, python-imenu-tree-assoc)
5478 (python-indent-context, python-indent-dedent-line)
5479 (python-indent-line-function)
5480 (python-indent-post-self-insert-function)
5481 (python-indent-toggle-levels)
5482 (python-info-assignment-continuation-line-p)
5483 (python-info-beginning-of-backlash)
5484 (python-info-block-continuation-line-p)
5485 (python-info-closing-block-message)
5486 (python-info-line-ends-backslash-p)
5487 (python-info-looking-at-beginning-of-defun)
5488 (python-info-ppss-context, python-info-ppss-context-type)
5489 (python-nav-list-defun-positions, python-nav-read-defun)
5490 (python-nav-sentence-end, python-nav-sentence-start)
5491 (python-pdbtrack-comint-output-filter-function)
5492 (python-pdbtrack-set-tracked-buffer)
5493 (python-shell-calculate-exec-path)
5494 (python-shell-calculate-process-environment)
5495 (python-shell-completion--do-completion-at-point)
5496 (python-shell-completion--get-completions)
5497 (python-shell-completion-complete-at-point)
5498 (python-shell-completion-complete-or-indent)
5499 (python-shell-get-or-create-process)
5500 (python-shell-get-process-name)
5501 (python-shell-internal-get-or-create-process)
5502 (python-shell-internal-get-process-name)
5503 (python-shell-internal-send-string, python-shell-make-comint)
5504 (python-shell-parse-command, python-shell-send-setup-code)
5505 (python-skeleton-add-menu-items)
5506 (python-util-clone-local-variables, python-util-position)
5507 (run-python-internal, python-indentation-levels)
5508 (python-nav-beginning-of-defun)
5509 (python-completion-complete-at-point): New functions.
5510 (run-python): Change arguments. New API requirements.
5512 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5517 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5518 (macroexp--expand-all): Use it.
5520 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5521 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5522 Use `cl-function' instead.
5524 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5526 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5527 Suggested by Stefan Monnier while discussing bug#11657.
5529 2012-06-14 Sam Steingold <sds@gnu.org>
5531 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5533 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5535 * play/doctor.el (doctor-doc): Remove parameter and use
5536 doctor-sent instead of sent.
5537 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5539 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5541 * files.el: Require cl-lib.
5542 (file-name-non-special): Replace case -> cl-case.
5544 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5546 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5547 mapping from #' to function*.
5549 2012-06-13 Chong Yidong <cyd@gnu.org>
5551 * mouse.el (mouse-drag-track): Do not set the mark if the user
5552 releases the mouse without selecting anything (Bug#11588).
5554 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5557 as well (bug#11646).
5559 * loadup.el: Count byte-code functions as well.
5561 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5562 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5564 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5565 (bug#11649). Add cl-defun and cl-defmacro.
5567 2012-06-13 Drew Adams <drew.adams@oracle.com>
5569 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5572 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5574 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5575 Otherwise, it blocks in batch mode.
5577 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5579 * help-mode.el (bookmark-make-record-default): Declare.
5581 2012-06-13 Chong Yidong <cyd@gnu.org>
5583 * emacs-lisp/package.el (list-packages): Compute a list of
5584 packages that are newly-available since the last list-packages
5586 (package-menu--new-package-list): New var.
5587 (package-menu--generate, package-menu--print-info)
5588 (package-menu--status-predicate, package-menu-mark-install):
5589 Handle new status label "new".
5591 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5593 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5594 conversion to backquotes.
5596 2012-06-12 Chong Yidong <cyd@gnu.org>
5598 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5599 Rename from gud-inhibit-global-bindings.
5601 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5603 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5604 hook from nxml-glyph-set-hook.
5606 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5609 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5611 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5612 Convert to defcustom.
5614 2012-06-12 Drew Adams <drew.adams@oracle.com>
5616 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5618 (help-mode): Use them.
5620 2012-06-11 Glenn Morris <rgm@gnu.org>
5622 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5623 Use preprocessor face for directives.
5624 (fortran-directive-re): Doc fix.
5626 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5629 conversion to backquotes (bug#11652).
5631 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5632 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5633 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5634 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5635 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5636 (cl-ninth, cl-tenth): Mark them as inlinable.
5637 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5638 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5639 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5640 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5641 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5642 (cl-list*, cl-adjoin): Don't put an autoload manually.
5643 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5644 (cl--compiler-macro-list*): Add autoload cookie.
5645 (cl--compiler-macro-cXXr): New function.
5647 * help-fns.el (help-fns--compiler-macro): New function extracted from
5648 describe-function-1; follow aliases and use `compiler-macro' property.
5649 (describe-function-1): Use it.
5651 2012-06-11 Chong Yidong <cyd@gnu.org>
5653 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5654 is uninstalled, if imagemagick is installed.
5656 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * emacs-lisp/cl-lib.el: Use lexical-binding.
5659 (cl-map-extents, cl-maclisp-member): Remove.
5660 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5661 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5662 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5663 * emacs-lisp/cl-extra.el: Use lexical-binding.
5664 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5665 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5666 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5667 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5668 * emacs-lisp/cl-seq.el: Use lexical-binding.
5669 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5670 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5671 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5672 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5673 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5676 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5678 Sync with Tramp 2.2.6-pre.
5680 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5681 `print-length' and `print-level' to nil, in order to avoid
5682 truncation. Reported by Christopher Schmidt
5683 <christopher@ristopher.com>.
5685 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5687 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5689 (tramp-compat-copy-directory): Add optional argument
5690 COPY-CONTENTS. It is not handled yet.
5692 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5693 (tramp-ftp-file-name-p): Simplify.
5695 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5696 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5699 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5700 (tramp-methods): Do not use `tramp-password-end-of-line'.
5701 (tramp-completion-function-alist-putty): Handle UNIX case.
5702 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5703 (tramp-do-file-attributes-with-stat)
5704 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5705 gid as real numbers. They could run out of integer range on cygwin.
5706 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5707 (tramp-sh-handle-expand-file-name): Handle hops.
5708 (tramp-open-connection-setup-interactive-shell):
5709 Use `tramp-cleanup'. Move check for busyboxes ...
5710 (tramp-find-shell): ... here. Simplify implementation.
5711 Set "remote-shell" property also for alternative shells.
5712 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5713 If failing, a regular file would be written otherwise.
5714 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5715 (tramp-find-inline-encoding): Cache the coding commands in the
5716 process cache. Apply test command on the remote side, if defined.
5717 (tramp-find-inline-compress): Cache the compress commands in the
5719 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5720 when requested. Handle hops.
5721 (tramp-current-connection): New defvar.
5722 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5723 Throw `suppress', if there was a failed connection shortly before.
5724 Handle user interrupt. (Bug#10187)
5725 (tramp-get-inline-compress, tramp-get-inline-coding):
5726 Read connection properties from the process cache.
5728 * net/tramp-smb.el (tramp-smb-server-version)
5729 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5731 (tramp-smb-prompt): Extend for powershell prompt.
5732 (tramp-smb-file-name-handler-alist): Add handlers for
5733 `process-file', `shell-command' and `start-file-process'.
5734 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5735 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5736 (tramp-smb-file-name-p): Simplify.
5737 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5738 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5739 (tramp-smb-shell-quote-argument): New defuns.
5740 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5741 Implement using "tar". By this, time-stamps are preserved.
5742 (tramp-smb-handle-copy-file): Handle also the case of directories.
5743 (tramp-smb-do-file-attributes-with-stat)
5744 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5745 Use `tramp-get-connection-buffer').
5746 (tramp-smb-handle-rename-file): Use "rename", when source and
5747 target are on the same share.
5748 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5749 Use `tramp-smb-server-version'.
5750 (tramp-smb-wait-for-output): Remove prompt.
5752 * net/tramp.el (top): Require 'cl.
5753 (tramp-methods, tramp-rsh-end-of-line):
5754 Remove `tramp-password-end-of-line' from docstring.
5755 (tramp-save-ad-hoc-proxies): New defcustom.
5756 (tramp-completion-function-alist): Adapt docstring.
5757 (tramp-default-password-end-of-line): Remove defcustom.
5758 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5759 (tramp-user-regexp, tramp-file-name-regexp-unified)
5760 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5761 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5762 (tramp-remote-file-name-spec-regexp): New defconst.
5763 (tramp-file-name-structure): Extend structure for hops.
5764 (tramp-get-method-parameter): Move up.
5765 (tramp-file-name-p, tramp-dissect-file-name)
5766 (with-parsed-tramp-file-name): Handle hops.
5767 (tramp-file-name-hop): New defun.
5768 (tramp-make-tramp-file-name): New optional arg HOP.
5769 (tramp-message-show-progress-reporter-message): New defvar.
5770 (tramp-with-progress-reporter): Use it. We cannot use
5771 `tramp-message-show-message' here, because this suppresses also
5773 (tramp-error-with-buffer): Suppress buffer view, if
5774 `tramp-message-show-message' is nil.
5775 Use `tramp-get-connection-buffer'.
5776 (tramp-cleanup): New defun.
5777 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5778 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5780 (tramp-completion-handle-file-name-all-completions): Handle hops.
5781 Fix an error when called from ido.
5782 (tramp-completion-dissect-file-name): Use better local variable
5783 name. Add hop to the vector.
5784 (tramp-handle-insert-file-contents): Use progress-reporter for the
5786 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5788 (tramp-check-for-regexp): Simplify search.
5789 (tramp-enter-password): Remove it. Move implementation ...
5790 (tramp-action-password): ... here.
5791 (tramp-mode-string-to-int, tramp-local-host-p)
5792 (tramp-make-tramp-temp-file, tramp-read-passwd)
5793 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5794 Set tramp-autoload cookie.
5796 * net/trampver.el: Update release number.
5798 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5799 Michael Albinus <michael.albinus@gmx.de>
5801 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5802 (tramp-parse-group, tramp-parse-file)
5803 (tramp-parse-shostkeys-sknownhosts): New defuns.
5804 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5805 (tramp-parse-shosts-group, tramp-parse-sconfig)
5806 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5807 (tramp-parse-sknownhosts, tramp-parse-hosts)
5808 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5810 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5811 (tramp-parse-putty-group): Don't narrow.
5812 (tramp-parse-putty): Make a loop.
5813 (tramp-file-name-handler): Catch the `suppress' signal.
5815 2012-06-11 Chong Yidong <cyd@gnu.org>
5817 * image.el (imagemagick-register-types): Put the ImageMagick entry
5818 at the end of image-type-file-name-regexps.
5820 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5822 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5823 (pcase, pcase-let*, pcase-dolist): Use them.
5825 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * emacs-lisp/pcase.el (pcase--let*): New function.
5828 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5829 (pcase--expand): Use macroexp-let².
5831 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5834 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5835 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5836 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5837 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5838 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5840 2012-06-10 Glenn Morris <rgm@gnu.org>
5842 * mail/rmail.el (rmail-yank-current-message): Leave point at
5843 correct position. (Bug#11660)
5845 2012-06-10 Chong Yidong <cyd@gnu.org>
5847 * allout-widgets.el: Fix code header.
5849 2012-06-10 Chong Yidong <cyd@gnu.org>
5851 * cus-edit.el (customize-changed-options-previous-release):
5854 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5856 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5858 2012-06-09 Chong Yidong <cyd@gnu.org>
5860 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5862 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5864 * window.el (special-display-popup-frame): Don't use
5865 window--display-buffer (Bug#11651).
5867 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5869 Fix parallel builds: make sure loaddefs.el is not being written
5870 while Lisp files are compiled.
5871 (compile): Don't depend on 'mh-autoloads'.
5872 (compile-CMD, compile-SH): Depend on 'autoloads'.
5873 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5875 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5877 2012-06-09 Chong Yidong <cyd@gnu.org>
5879 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5880 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5881 Doc fixes (Bug#11225).
5883 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5886 a function if there's a clear indication that it has a compiler-macro.
5887 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5888 (macro-declarations-alist): Add arglist to declaration functions.
5889 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5890 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5891 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5892 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5893 Also add autoload to find the compiler macro.
5894 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5895 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5896 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5897 (cl--compiler-macro-get): New functions, replacing calls to
5898 cl-define-compiler-macro.
5899 (cl-typep) [compiler-macro]: Use macroexp-let².
5901 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5903 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5904 string properly, fixes Bug#11473.
5906 2012-06-08 Chong Yidong <cyd@gnu.org>
5908 * faces.el (set-face-attribute): Doc fix.
5909 (modify-face): Don't use :bold and :italic.
5910 (error, warning, success): Tweak definitions.
5912 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5913 (custom-modified, custom-set, custom-changed, custom-themed)
5914 (custom-saved, custom-button, custom-button-mouse)
5915 (custom-button-pressed, custom-state, custom-comment-tag)
5916 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5917 (custom-group-subtitle): Use new-style face specs.
5918 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5919 (custom-set-face, custom-changed-face, custom-saved-face)
5920 (custom-button-face, custom-button-pressed-face)
5921 (custom-documentation-face, custom-state-face)
5922 (custom-comment-face, custom-comment-tag-face)
5923 (custom-variable-tag-face, custom-variable-button-face)
5924 (custom-face-tag-face, custom-group-tag-face-1)
5925 (custom-group-tag-face): Remove obsolete face alias.
5927 * epa.el (epa-validity-high, epa-validity-medium)
5928 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5929 (epa-field-name, epa-field-body):
5930 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5931 (font-lock-keyword-face, font-lock-builtin-face)
5932 (font-lock-function-name-face, font-lock-variable-name-face)
5933 (font-lock-type-face, font-lock-constant-face):
5934 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5935 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5936 * speedbar.el (speedbar-button-face, speedbar-file-face)
5937 (speedbar-directory-face, speedbar-tag-face)
5938 (speedbar-selected-face, speedbar-highlight-face)
5939 (speedbar-separator-face):
5940 * whitespace.el (whitespace-newline, whitespace-space)
5941 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5942 (whitespace-line, whitespace-space-before-tab)
5943 (whitespace-space-after-tab, whitespace-indentation)
5945 * emulation/cua-base.el (cua-global-mark):
5946 * eshell/em-prompt.el (eshell-prompt):
5947 * net/newst-plainview.el (newsticker-new-item-face)
5948 (newsticker-old-item-face, newsticker-immortal-item-face)
5949 (newsticker-obsolete-item-face, newsticker-date-face)
5950 (newsticker-statistics-face, newsticker-default-face):
5951 * net/newst-reader.el (newsticker-feed-face)
5952 (newsticker-extra-face, newsticker-enclosure-face):
5953 * net/newst-treeview.el (newsticker-treeview-face)
5954 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5955 (newsticker-treeview-immortal-face)
5956 (newsticker-treeview-obsolete-face)
5957 (newsticker-treeview-selection-face):
5958 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5959 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5960 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5961 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5962 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5963 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5964 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5966 * progmodes/vera-mode.el (vera-font-lock-number)
5967 (vera-font-lock-function, vera-font-lock-interface):
5968 * textmodes/table.el (table-cell): Use new-style face specs, and
5969 don't use the old :bold and :italic attributes.
5971 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5972 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5973 (ebrowse-member-class, ebrowse-progress): Likewise.
5974 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5975 (ebrowse-file-name-face, ebrowse-default-face)
5976 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5977 (ebrowse-progress-face): Remove obsolete faces.
5979 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5980 Inherit from error and warning faces respectively.
5982 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5984 (flyspell-incorrect-face, flyspell-duplicate-face):
5985 Remove obsolete aliases.
5987 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5989 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5992 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * startup.el (argv, argi): Make lexically scoped.
5995 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5996 * emacs-lisp/cl-macs.el: Use lexical-binding.
5997 Rename cl-bind-* to cl--bind-*.
5998 * files.el: Don't require `cl' since it doesn't use it.
5999 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6001 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6003 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6004 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6005 instead of calling external sort utility.
6006 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6008 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6010 * descr-text.el (describe-char): Mention how to insert the
6011 character, if the current input method doesn't support it.
6012 See the discussion in this thread for the details:
6013 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6015 2012-06-08 Sam Steingold <sds@gnu.org>
6017 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6018 XF86Back to previous-buffer.
6019 (minibuffer-local-map): Bind them to next-history-element and
6020 previous-history-element respectively.
6021 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6022 help-go-back respectively.
6023 * info.el (Info-mode-map): Bind them to Info-history-forward and
6024 Info-history-back respectively.
6025 These are the keys next to Up on the ThinkPad keyboard.
6027 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6029 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6030 * emacs-lisp/cl-macs.el: Provide itself.
6031 (cl--labels-convert-cache): New var.
6032 (cl--labels-convert): New function.
6033 (cl-flet, cl-labels): New implementation with new semantics, relying on
6035 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6036 (cl-closure-vars, cl--function-convert-cache)
6037 (cl--function-convert): Move from cl-macs.el.
6038 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6039 rename by removing the "cl-" prefix.
6040 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6042 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6044 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6045 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6046 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6047 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6048 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6049 (cl-hash-table-count): Add old compatibility aliases.
6051 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6052 Use macroexpand-all-environment instead.
6053 (cl--old-macroexpand): New var.
6054 (cl--sm-macroexpand): New function.
6055 (cl-symbol-macrolet): Use it during macro expansion.
6056 (cl--function-convert-cache): New var.
6057 (cl--function-convert): New function, extracted from
6059 (cl-lexical-let): Use it.
6061 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6062 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6063 (cl-member): Remove old alias.
6065 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6066 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6067 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6068 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6069 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6070 (cl-macroexpand-cmacs): Remove var.
6071 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6072 Use macroexpand-all instead.
6074 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6076 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6077 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6078 (macroexp-copyable-p): New functions and macros.
6079 * emacs-lisp/edebug.el (edebug-unwrap):
6080 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6081 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6082 (pcase--let*): Remove.
6083 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6084 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6085 macroexp-const-p instead.
6086 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6088 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6089 instead of "cl-" for internal definitions. Use macroexp-const-p.
6090 (cl-old-bc-file-form): Remove var.
6091 (cl-const-exprs-p): Remove fun.
6092 (cl-labels, cl-macrolet): Use backquote.
6093 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6094 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6095 (cl-define-setf-expander): Rename from cl-define-setf-method.
6096 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6098 * international/mule-cmds.el: Don't require CL.
6099 (view-hello-file): Don't use `letf'.
6101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * tmm.el (tmm-prompt): Use string-prefix-p.
6104 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6105 (tmm-add-prompt): Use minibuffer-completion-help.
6106 (tmm-delete-map): Remove.
6108 * subr.el (kbd): Make it its own function.
6110 2012-06-07 Stefan Merten <smerten@oekonux.de>
6112 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6113 Silence compiler warnings. Fix versions.
6114 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6115 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6116 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6117 (rst-package-emacs-version-alist): Correct Emacs version to
6118 represent major merge with upstream.
6119 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6121 2012-06-06 Glenn Morris <rgm@gnu.org>
6123 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6124 Only print environment variables if set.
6126 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6129 (macroexp--cons): Rename from maybe-cons.
6130 (macroexp--accumulate): Rename from macroexp-accumulate.
6131 (macroexp--all-forms): Rename from macroexpand-all-forms.
6132 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6133 (macroexp--expand-all): Rename from macroexpand-all-1.
6135 2012-06-06 Sam Steingold <sds@gnu.org>
6137 * calendar/calendar.el (calendar-in-read-only-buffer):
6138 Call `special-mode' to enable the standard read-only keybindings.
6140 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6142 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6143 with "loading" messages (bug#11635).
6145 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6147 * files.el (enable-remote-dir-locals): New option.
6148 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6151 Ensure, that the temp directory is local.
6153 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6154 `temporary-file-directory'.
6156 * progmodes/python.el (python-send-region): Ensure, that the
6157 temporary file is created also in the remote case.
6159 2012-06-06 Glenn Morris <rgm@gnu.org>
6161 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6162 (vc-rcs-update-changelog): Use it.
6164 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6166 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6167 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6168 (vc-sccs-diff): Replace use of the external vcdiff script.
6170 2012-06-05 Glenn Morris <rgm@gnu.org>
6172 * ledit.el: Move to obsolete/.
6174 2012-06-05 Sam Steingold <sds@gnu.org>
6176 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6179 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6181 * emacs-lisp/cust-print.el: Move to obsolete.
6183 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6184 compiler-macro expansion.
6186 Add native compiler-macro support.
6187 * emacs-lisp/macroexp.el (macroexpand-all-1):
6188 Support compiler-macros directly. Properly follow aliases and apply
6189 the compiler macros more thoroughly.
6190 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6191 macroexpand now properly follows aliases.
6192 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6193 (cl-compiler-macroexpand): Use new prop.
6194 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6196 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6198 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6200 * window.el (get-lru-window, get-mru-window, get-largest-window):
6201 New argument NOT-SELECTED to avoid picking the selected window.
6202 (window--display-buffer-1, window--display-buffer-2): Replace by
6203 new function window--display-buffer
6204 (display-buffer-same-window, display-buffer-reuse-window)
6205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6206 Use window--display-buffer.
6207 (display-buffer-use-some-window): Remove temporary dedication
6208 hack by calling get-lru-window and get-largest-window with
6209 NOT-SELECTED argument non-nil. Call window--display-buffer.
6211 2012-06-05 Glenn Morris <rgm@gnu.org>
6213 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6214 Replace external vcdiff script.
6216 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6220 2012-06-04 Chong Yidong <cyd@gnu.org>
6222 * image.el (imagemagick-types-inhibit): Revert last change.
6224 (imagemagick-enabled-types): Remove CIN and EPS*.
6226 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6228 * emacs-lisp/cl-lib.el: Rename from cl.el.
6229 * emacs-lisp/cl.el: New compatibility file.
6230 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6231 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6232 to obey the "cl-" prefix.
6233 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6235 2012-06-03 Glenn Morris <rgm@gnu.org>
6237 * emacs-lisp/authors.el (authors-aliases): Addition.
6239 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6242 2012-06-03 Stefan Merten <smerten@oekonux.de>
6244 * textmodes/rst.el: Add comments.
6245 (rst-transition, rst-adornment): New faces.
6246 (rst-adornment-faces-alist): Make default safe to reevaluate.
6248 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6249 Improve customization tags.
6250 (rst-define-level-faces): Clarify meaning.
6252 2012-06-03 Chong Yidong <cyd@gnu.org>
6254 * progmodes/compile.el (compilation-mode-line-fail)
6255 (compilation-mode-line-run, compilation-mode-line-exit):
6257 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6259 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6261 * progmodes/which-func.el (which-func-update-ediff-windows):
6262 New function. Use it in ediff-select-hook (Bug#11478).
6264 2012-06-03 Chong Yidong <cyd@gnu.org>
6266 * bindings.el: Remove explicit help text from format-mode-line.
6267 It is now supplied by mode-line-default-help-echo.
6268 (mode-line-front-space, mode-line-end-spaces)
6269 (mode-line-misc-info): New variables.
6270 (mode-line-modes, mode-line-position): Move the default value to
6271 the variable definition.
6272 (mode-line-default-help-echo): New defcustom.
6273 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6274 (mode-line-modified-help-echo): New functions.
6275 (mode-line-mule-info, mode-line-modified): Use them.
6276 (mode-line-eol-desc, propertized-buffer-identification):
6277 Consistency fixes for help text.
6278 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6279 set-buffer-file-coding-system (Bug#289).
6280 (mode-line-mule-info-help-echo): Update help text.
6282 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6284 * simple.el (execute-extended-command): Set real-this-command
6287 2012-06-02 Chong Yidong <cyd@gnu.org>
6289 Remove incorrect uses of "modeline" in comments, docstrings, and
6290 function/variable names (Bug#10329).
6292 * cus-edit.el (mode-line):
6293 * dframe.el (dframe-mouse-hscroll):
6294 * emacs-lisp/re-builder.el:
6295 * emacs-lisp/easy-mmode.el (define-minor-mode):
6296 * frame.el (set-frame-name):
6297 * help.el (lookup-minor-mode-from-indicator):
6298 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6299 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6300 (c-toggle-hungry-state):
6301 * progmodes/antlr-mode.el (antlr-language-alist):
6302 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6303 * progmodes/vhdl-mode.el (vhdl-mode):
6304 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6305 * term/ns-win.el (ns-face-at-pos):
6306 * term/sup-mouse.el (sup-mouse-report):
6307 * textmodes/flyspell.el (flyspell-mode-line-string):
6308 * textmodes/ispell.el (ispell-highlight-face):
6309 * textmodes/reftex-global.el:
6310 * vc/vc-arch.el (vc-arch-mode-line-string):
6311 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6312 * vc/vc-git.el (vc-git-mode-line-string):
6313 * vc/vc-hooks.el (vc-display-status)
6314 (vc-default-mode-line-string):
6315 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6317 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6319 * dired.el (dired-sort-set-mode-line): Rename from
6320 dired-sort-set-modeline. All callers changed.
6322 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6323 eshell-status-in-modeline.
6325 * foldout.el (foldout-mode-line-string): Rename from
6326 foldout-modeline-string. All callers changed.
6327 (foldout-update-mode-line): Rename from foldout-update-modeline.
6329 * subr.el (redraw-modeline): Make into obsolete alias.
6331 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6332 timeclock-modeline-display. Make old name an alias.
6333 (timeclock-update-mode-line): Likewise. All callers changed.
6334 (timeclock-mode-line-display): No need to check before using
6336 (timeclock-relative, timeclock-day-over-hook)
6337 (timeclock-use-elapsed, timeclock-mode-string)
6338 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6340 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6341 crisp-mode-modeline-string.
6343 * play/solitaire.el (solitaire-build-mode-line): Rename from
6344 solitaire-build-modeline. All callers changed.
6346 * play/zone.el (zone-hiding-mode-line): Rename from
6347 zone-hiding-modeline. All callers changed.
6348 (zone): Remove unusued `modeline-hidden-level' property.
6350 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6351 xscheme-modeline-initialize. All callers changed.
6353 * strokes.el (strokes-lighter): Rename from
6354 strokes-modeline-string.
6356 * textmodes/sgml-mode.el (html-face-tag-alist)
6357 (html-tag-face-alist): Use mode-line face instead of obsolete
6360 2012-06-02 Stefan Merten <smerten@oekonux.de>
6362 * textmodes/rst.el: Always require `cl'.
6363 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6365 2012-06-02 Chong Yidong <cyd@gnu.org>
6367 * image.el (imagemagick-enabled-types): Rename from
6368 imagemagick-types-enable. Add many more types.
6369 (imagemagick-types-inhibit): Change default to nil.
6370 (imagemagick-filter-types): Caller changed.
6372 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * emacs-lisp/cl-macs.el: Use backquotes.
6375 (cl-transform-function-property): Use eval-and-compile rather than
6377 (defstruct): Use declare-function instead of with-no-warnings.
6379 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6380 (byte-compile-output-docform): Re-add the print-circle bindings.
6381 (byte-compile-fix-header): Use #$ just because it's shorter.
6382 (byte-compile-output-file-form): Remove defun/defmacro.
6384 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6386 * simple.el (choose-completion): Remove now obsolete binding for
6389 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6391 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6392 in order to avoid "Stack overflow in regexp matcher".
6394 2012-05-31 Glenn Morris <rgm@gnu.org>
6396 * image.el: For clarity, call imagemagick-register-types at
6397 top-level, rather than relying on a custom :initialize.
6398 (imagemagick-types-enable): New option. (Bug#11557)
6399 (imagemagick-filter-types): New function. (Bug#7406)
6400 (imagemagick-register-types): Use imagemagick-filter-types.
6401 If disabling support, remove elements altogether rather
6402 than using an impossible regexp.
6403 (imagemagick-types-inhibit): Give it the default init function.
6405 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6408 Handle arbitrary file name lengths (Bug#11585).
6410 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6412 * desktop.el (desktop-read): Clear previous and next buffers for
6413 all windows and bury *Messages* buffer (bug#11556).
6415 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6417 Add `declare' for `defun'. Align `defmacro's with it.
6418 * emacs-lisp/easy-mmode.el (define-minor-mode)
6419 (define-globalized-minor-mode): Don't autoload the var definitions.
6420 * emacs-lisp/byte-run.el: Use lexical-binding.
6421 (defun-declarations-alist, macro-declarations-alist): New vars.
6422 (defmacro, defun): Use them.
6423 (make-obsolete, define-obsolete-function-alias)
6424 (make-obsolete-variable, define-obsolete-variable-alias):
6426 (macro-declaration-function): Mark obsolete.
6427 * emacs-lisp/autoload.el: Use lexical-binding.
6428 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6430 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6432 * textmodes/ispell.el (ispell-with-no-warnings):
6434 (ispell-kill-ispell, ispell-change-dictionary):
6435 Use `called-interactively-p' for Emacs instead of obsolete
6438 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6441 (macro-declaration-function): Move var from C code.
6442 (macro-declaration-function): Define function with defalias.
6443 * emacs-lisp/macroexp.el (macroexpand-all-1):
6444 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6446 defun/defmacro any more.
6447 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6448 Provide fallback for unknown arglist.
6449 (byte-compile-arglist-warn): Change calling convention.
6450 (byte-compile-output-file-form): Move print-vars binding.
6451 (byte-compile-output-docform): Simplify accordingly.
6452 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6453 (byte-compile-defmacro-declaration): Remove.
6454 (byte-compile-file-form-defmumble): Generalize to defalias.
6455 (byte-compile-output-as-comment): Return byte-positions.
6456 Simplify callers accordingly.
6457 (byte-compile-lambda): Use `assert'.
6458 (byte-compile-defun, byte-compile-defmacro): Remove.
6459 (byte-compile-file-form-defalias):
6460 Use byte-compile-file-form-defmumble.
6461 (byte-compile-defalias-warn): Remove.
6463 2012-05-29 Stefan Merten <smerten@oekonux.de>
6465 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6466 possible. Fix authors. Improve comments. Improve loading of `cl'.
6468 (rst-mode-abbrev-table): Merge definition.
6469 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6470 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6472 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6474 * calendar/icalendar.el
6475 (icalendar-export-region): Export UID properly.
6477 2012-05-29 Leo Liu <sdl.web@gmail.com>
6478 * calendar/icalendar.el (icalendar-import-format):
6479 Add `icalendar-import-format-uid' (Bug#11525).
6480 (icalendar-import-format-uid): New.
6481 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6484 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6487 different alternative patterns.
6488 (pcase-codegen): Be more careful to preserve identity.
6489 (pcase--u1): Don't forget to mark vars as used.
6491 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6492 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6493 (byte-compile-from-buffer): ...rather than here.
6495 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6496 functions from byte-compile-function-environment.
6498 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6500 * window.el (window-deletable-p): Avoid deleting the root window
6501 of a frame with an active minibuffer.
6503 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6505 * simple.el (choose-completion): Use quit-window (Bug#11567).
6507 2012-05-29 Chong Yidong <cyd@gnu.org>
6509 * whitespace.el (whitespace-cleanup): Fix usage of
6510 whitespace-empty-at-bob-regexp (Bug#11492).
6512 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6514 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6517 2012-05-29 Juri Linkov <juri@jurta.org>
6519 * isearch.el (isearch-mode-map): Bind `M-s _' to
6520 `isearch-toggle-symbol'. Bind `M-s c' to
6521 `isearch-toggle-case-fold'.
6522 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6523 (isearch-forward): Add `M-s _' to the docstring.
6524 (isearch-forward-symbol, isearch-toggle-case-fold)
6525 (isearch-symbol-regexp): New functions. (Bug#11381)
6527 2012-05-29 Juri Linkov <juri@jurta.org>
6529 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6530 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6531 a function, call it to get the regexp.
6532 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6533 property `isearch-message-prefix' instead of the string "word ".
6534 (isearch-search-fun-default): For the case of `isearch-word',
6535 return a lambda that calls re-search-forward/re-search-backward
6536 with a regexp returned by `word-search-regexp' or by the function
6539 2012-05-29 Juri Linkov <juri@jurta.org>
6541 * isearch.el (isearch-search-fun-default): New function.
6542 (isearch-search-fun): Move default part to the new function
6543 `isearch-search-fun-default'.
6544 (isearch-search-fun-function): Set the default value to
6545 `isearch-search-fun-default'. (Bug#11381)
6547 * comint.el (comint-history-isearch-end):
6548 Use `isearch-search-fun-default'.
6549 (comint-history-isearch-search): Use `isearch-search-fun-default'
6550 and remove spacial case for `isearch-word'.
6551 (comint-history-isearch-wrap): Remove spacial case for
6554 * hexl.el (hexl-isearch-search-function):
6555 Use `isearch-search-fun-default'.
6557 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6558 Use `word-search-regexp' for `isearch-word'.
6560 * misearch.el (multi-isearch-search-fun):
6561 Use `isearch-search-fun-default'.
6563 * simple.el (minibuffer-history-isearch-search):
6564 Use `isearch-search-fun-default' and remove spacial case for
6566 (minibuffer-history-isearch-wrap): Remove spacial case for
6569 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6570 Remove spacial case for `isearch-word'.
6571 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6573 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6575 Decrease XEmacs incompatibilities.
6576 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6578 (flyspell-delete-region-overlays): Use alternative definition for
6580 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6581 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6582 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6583 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6584 `define-obsolete-face-alias' under XEmacs, but old method.
6586 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6587 `with-no-warnings' definition or Emacs alias.
6588 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6589 (ispell-word): Do not use `region-p' if XEmacs.
6591 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6593 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6594 Check for `ispell-dictionary-base-alist' instead of full
6595 `ispell-dictionary-alist'.
6596 (ispell-init-process): Show spellchecker when starting new Ispell
6599 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6602 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6604 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6606 * version.el (motif-version-string, gtk-version-string)
6607 (ns-version-string): Declare.
6609 2012-05-27 Juri Linkov <juri@jurta.org>
6611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6612 after the `eval-defun-1' specialcaseing
6613 like in `edebug-eval-defun' (bug#10181).
6615 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6616 like in `eval-defun-1'.
6618 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6620 * mail/sendmail.el (mail-yank-region):
6621 Recognize rmail-yank-current-message in addition to insert-buffer.
6622 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6623 a *mail* buffer created through rmail-start-mail with sendmail as
6626 2012-05-27 Chong Yidong <cyd@gnu.org>
6628 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6629 Default to 256 (Bug#11267).
6631 * help.el (describe-mode): Doc fix.
6633 2012-05-26 Glenn Morris <rgm@gnu.org>
6635 * w32-fns.el (w32-init-info): Remove.
6636 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6638 * info.el (info-initialize): For self-contained NS builds, put the
6639 included info/ directory at the front. (Bug#2791)
6641 * paths.el (Info-default-directory-list): Make it a defcustom,
6642 mainly so that we can use custom-initialize-delay.
6644 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * subr.el (buffer-has-markers-at): Mark obsolete.
6648 * subr.el (lambda): Use declare.
6650 * emacs-lisp/lisp-mode.el (lambda):
6651 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6653 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6655 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6657 2012-05-26 Glenn Morris <rgm@gnu.org>
6659 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6661 2012-05-25 Glenn Morris <rgm@gnu.org>
6663 * paths.el: Remove no-byte-compile.
6664 * loadup.el: No need to load paths.el uncompiled.
6666 * image.el (imagemagick-types-inhibit): Doc fix.
6668 * version.el: Remove no-byte-compile and associated formatting.
6669 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6670 is ancient code from when there was an "inc-vers.el".
6672 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6674 * progmodes/gdb-mi.el: Minor style changes.
6675 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6676 Turn into minor modes.
6677 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6678 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6679 (gdb-shell): Remove unneeded let-binding.
6680 (gdb-get-many-fields): Eliminate O(n²) behavior.
6682 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6684 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6685 platforms that don't link in fontset.c.
6687 2012-05-25 Juri Linkov <juri@jurta.org>
6689 Use the same diff color scheme as in modern VCSes (bug#10181).
6691 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6692 to avoid confusion with `diff-added' that now uses green colors.
6693 (diff-removed): Use shades of red.
6694 (diff-added): Use shades of green.
6695 (diff-changed): Leave just the yellow color.
6696 (diff-use-changed-face): New variable.
6697 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6698 how to highlight context diff changes.
6699 (diff-refine-change): Use shades of yellow.
6700 (diff-refine-removed): New face that uses shades of red.
6701 (diff-refine-added): New face that uses shades of green.
6702 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6703 `diff-refine-removed' in the call to `smerge-refine-subst'
6704 depending on the value of `diff-use-changed-face'.
6706 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6707 (smerge-other): Use shades of green.
6708 (smerge-base): Use shades of yellow.
6709 (smerge-refined-change): Empty face.
6710 (smerge-refined-removed): New face that uses shades of red.
6711 (smerge-refined-added): New face that uses shades of green.
6712 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6713 args `props-r' and `props-a', and use them. Doc fix.
6714 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6715 on its value use different faces `smerge-refined-change',
6716 `smerge-refined-removed', `smerge-refined-added' in the call to
6717 `smerge-refine-subst'.
6719 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6720 Add face condition `min-colors 88' with shades of red.
6721 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6722 `min-colors 88' with shades of green.
6723 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6724 `min-colors 88' with shades of yellow.
6726 2012-05-24 Glenn Morris <rgm@gnu.org>
6728 * paths.el (prune-directory-list, remote-shell-program): Move to...
6729 * files.el (prune-directory-list, remote-shell-program): ...here.
6730 For the latter, delay initialization, prefer ssh, just search PATH.
6732 * paths.el (term-file-prefix): Move to faces.el (the only user).
6733 * faces.el (term-file-prefix): Move here, make it a defcustom.
6735 * paths.el (news-directory, news-path, news-inews-program):
6736 Move to gnus/nnspool.el.
6738 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6740 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6741 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6742 Make the latter a defcustom, with a delayed initialization.
6744 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6745 These were deleted from Gnus itself late 2010.
6747 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6749 * progmodes/which-func.el (which-func-ff-hook):
6750 Check against user-error, not error.
6752 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6753 cl-specs.el, which no longer exists.
6755 2012-05-22 Glenn Morris <rgm@gnu.org>
6757 * info.el (info-emacs-bug): New command.
6758 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6759 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6761 2012-05-21 Glenn Morris <rgm@gnu.org>
6763 * makefile.w32-in (update-subdirs-SH):
6764 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6766 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6771 Simplify Maven regexp, and make sure the file can't start with a space
6774 2012-05-21 Glenn Morris <rgm@gnu.org>
6776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6777 Scrap superfluous subshells.
6779 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6782 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6784 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6786 * calc/calc.el (calc-ensure-consistent-units): New variable.
6788 * calc/calc-units.el (math-consistent-units-p)
6789 (math-check-unit-consistency): New functions.
6790 (calc-quick-units, calc-convert-units):
6791 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6793 (calc-extract-units): Fix typo.
6795 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6797 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6799 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6800 (flyspell-default-deplacement-commands): Don't spell check after
6801 repeated window/frame switches (e.g. triggered by mouse-movement).
6802 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6803 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6804 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6805 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6807 (flyspell-get-casechars, flyspell-get-not-casechars):
6808 Simplify; Don't bother removing a ] just to add it back.
6809 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6811 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6813 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6815 (math-function-table): Add support for more C functions.
6817 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6819 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6820 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6821 Protect delay handling for otherchars against empty otherchars.
6823 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6826 their respective macro declarations.
6827 * skeleton.el (define-skeleton):
6828 * progmodes/compile.el (define-compilation-mode):
6829 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6830 (define-ibuffer-filter):
6831 * emacs-lisp/generic.el (define-generic-mode):
6832 * emacs-lisp/easy-mmode.el (define-minor-mode)
6833 (define-globalized-minor-mode):
6834 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6835 * emacs-lisp/byte-run.el (defsubst):
6836 * custom.el (deftheme): Add doc-string metadata.
6838 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6840 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6842 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6846 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6847 * emacs-lisp/cl-macs.el: Idem.
6848 * emacs-lisp/cl-specs.el: Remove.
6850 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6852 Minor renaming of internal CL functions and variables.
6853 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6854 (cl--position): Rename from cl-position.
6855 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6856 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6857 (cl--random-state): Rename from *random-state*.
6859 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6862 parens around the arg list (bug#11499).
6864 2012-05-17 Juri Linkov <juri@jurta.org>
6866 * isearch.el (word-search-regexp, word-search-backward)
6867 (word-search-forward, word-search-backward-lax)
6868 (word-search-forward-lax): Move functions from search.c
6869 (bug#10145, bug#11381).
6871 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6873 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6874 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6875 Delay for otherchars as for normal word components.
6877 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6879 * minibuffer.el (completion--sifn-requote): Fix last change.
6880 (minibuffer-local-must-match-filename-map):
6881 Move define-obsolete-variable-alias before its var.
6883 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6887 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6889 (completion--string-equal-p): New function.
6890 (completion--twq-all): Use it to get better assertion failure data.
6892 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6893 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6894 (shell--requote-argument): New functions.
6895 (shell-completion-vars): Use them.
6896 (shell--parse-pcomplete-arguments): Rename from
6897 shell-parse-pcomplete-arguments.
6898 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6899 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6900 Obey comint-file-name-quote-list.
6902 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6903 (smie-indent-keyword): Use it.
6905 2012-05-14 Stefan Merten <smerten@oekonux.de>
6907 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6909 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6911 * net/rlogin.el (rlogin-mode-map): Fix last change.
6913 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6915 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6916 the following \r\n using a single `process-send-string', since the
6917 Lotus SMTP server refuses to accept any commands if they are sent
6918 with two `process-send-string's (Bug#11444).
6920 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6922 * shell.el (shell-parse-pcomplete-arguments):
6923 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6925 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6927 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6928 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6929 (image-transform-width, image-transform-fit-width): New functions.
6930 (image-transform-properties): Use them.
6931 (image-transform-check-size): New function.
6932 (image-toggle-display-image): Use it (for testing).
6933 (image-transform-set-rotation): Reduce angle mod 360.
6934 Delete obsolete comment.
6936 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6938 * image-mode.el: Fix scaling (bug#11399).
6939 (image-transform-resize): Doc fix.
6940 (image-transform-properties): Default scale is 1 and height should
6943 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6945 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6946 than hard-coding `car', to fix misbehavior when moving forward.
6948 2012-05-13 Chong Yidong <cyd@gnu.org>
6950 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6951 (tabulated-list-entries, tabulated-list-padding)
6952 (tabulated-list-sort-key): Make permanent-local.
6954 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6955 (electric-buffer-list): Put electric buffer menu
6956 command descriptions in this docstring, instead of the docstring
6957 of electric-buffer-menu-mode. Code cleanups.
6958 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6959 Electric-buffer-menu-mode.
6960 (electric-buffer-update-highlight): Minor code cleanup.
6962 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6964 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6967 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6969 Move define-obsolete-variable-alias before the var's definition.
6970 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6971 * tooltip.el (tooltip-hook):
6972 * textmodes/reftex-toc.el (reftex-toc-map):
6973 * textmodes/reftex-sel.el (reftex-select-label-map)
6974 (reftex-select-bib-map):
6975 * textmodes/reftex-index.el (reftex-index-map)
6976 (reftex-index-phrases-map):
6977 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6978 * progmodes/meta-mode.el (meta-mode-map):
6979 * novice.el (disabled-command-hook):
6980 * loadhist.el (unload-hook-features-list):
6981 * frame.el (blink-cursor):
6982 * files.el (find-file-not-found-hooks, write-file-hooks)
6983 (write-contents-hooks):
6984 * emulation/tpu-edt.el (GOLD-map):
6985 * emacs-lock.el (emacs-lock-from-exiting):
6986 * emacs-lisp/generic.el (generic-font-lock-defaults):
6987 * emacs-lisp/chart.el (chart-map):
6988 * dos-fns.el (register-name-alist):
6989 * dired-x.el (dired-omit-files-p):
6990 * desktop.el (desktop-enable):
6991 * cus-edit.el (custom-mode-hook):
6992 * buff-menu.el (buffer-menu-mode-hook):
6993 * bookmark.el (bookmark-read-annotation-text-func)
6994 (bookmark-exit-hooks):
6995 * allout.el (allout-mode-deactivate-hook)
6996 (allout-exposure-change-hook, allout-structure-added-hook)
6997 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6998 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6999 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7000 comes before the corresponding variable's definition.
7002 2012-05-12 Chong Yidong <cyd@gnu.org>
7004 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7005 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7006 (Buffer-menu-mode-map): Bind it.
7007 (Buffer-menu--pretty-name): Add a mouse-face property.
7009 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7011 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7012 (prolog-upper-case-string, prolog-lower-case-string)
7013 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7014 (prolog-use-smie, prolog-smie-grammar): New vars.
7015 (prolog-smie-forward-token, prolog-smie-backward-token)
7016 (prolog-smie-rules): New funs.
7017 (prolog-comment-indent): Remove.
7018 (prolog-mode-variables): Use default comment indentation instead.
7020 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7021 (prolog-mode): Don't call them any more.
7022 (prolog-electric-colon, prolog-electric-dash)
7023 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7025 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7027 * minibuffer.el (completion--twq-all): Again, allow case differences.
7029 * term.el: Move keymap initialization code to be more idiomatic.
7030 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7031 (term-terminal-menu): Move initialization into declaration.
7032 (term-escape-char): Let the user set it in her .emacs.
7034 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7035 Provide SMIE-based indentation (not enabled by default yet).
7036 (sh-mode-map): Don't bind electric keys.
7037 Use electric-pair-mode instead of skeleton-pair.
7038 (sh-assignment-regexp): Fit within 80 columns.
7039 (sh-indent-supported): Specify actual shell name instead of boolean.
7040 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7041 (sh-maybe-here-document): Use it. Make obsolete.
7042 (sh-electric-here-document-mode) New minor mode.
7043 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7044 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7045 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7046 (sh-smie-rc-grammar, sh-use-smie): New vars.
7047 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7048 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7049 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7050 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7051 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7052 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7053 (sh-set-shell): Use smie-setup if requested.
7055 * term.el (term-set-escape-char): Properly set term-escape-char.
7056 See http://stackoverflow.com/questions/10524656.
7058 2012-05-10 Chong Yidong <cyd@gnu.org>
7060 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7061 Use url-generic-parse-url, and handle host names and Windows
7063 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7064 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7065 URL schemes to work on.
7066 (ffap--toggle-read-only): New function.
7067 (ffap-read-only, ffap-read-only-other-window)
7068 (ffap-read-only-other-frame): Use it.
7069 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7070 necessary for ffap-url-unwrap-remote.
7072 2012-05-10 Dave Abrahams <dave@boostpro.com>
7074 * cus-start.el (create-lockfiles): Add it.
7076 2012-05-09 Chong Yidong <cyd@gnu.org>
7078 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7079 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7081 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7085 2012-05-09 Chong Yidong <cyd@gnu.org>
7087 * ansi-color.el (ansi-color-process-output): Check for validity of
7088 comint-last-output-start before using it. This avoids a bad
7089 interaction with gdb-mi's input/output buffer.
7091 2012-05-09 Glenn Morris <rgm@gnu.org>
7093 * files.el (dir-locals-read-from-file):
7094 Mention dir-locals in any error message.
7096 2012-05-09 Chong Yidong <cyd@gnu.org>
7098 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7099 package (Bug#11410).
7101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7102 variables into description.
7104 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7107 shell-delimiter-argument-list (bug#11348).
7108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7110 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7112 * textmodes/rst.el: Silence byte-compiler warnings.
7113 (rst-re-alist, rst-reset-section-caches): Move around.
7114 (rst-re): Use `characterp', not `char-valid-p'.
7115 (font-lock-beg, font-lock-end): Declare.
7117 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7118 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7120 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7122 2012-05-08 Glenn Morris <rgm@gnu.org>
7124 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7126 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7128 * vc/log-edit.el: Add GNU coding standards highlighting.
7129 (log-edit-font-lock-gnu-style)
7130 (log-edit-font-lock-gnu-keywords): New vars.
7131 (log-edit-font-lock-keywords): New fun.
7132 (log-edit-mode): Don't fold case in font-lock.
7133 (log-edit-font-lock-keywords): Do not assume case-folding.
7135 * imenu.el: Misc cleanup. Make docstrings out of comments.
7136 Use lexical-binding.
7137 (imenu--index-alist, imenu--last-menubar-index-alist)
7138 (imenu-menubar-modified-tick): Use defvar-local.
7139 (imenu--split-menu): Remove unused var.
7140 (imenu--cleanup-seen): Declare as global.
7141 (imenu--cleanup): Use dolist.
7143 * subr.el (defvar-local): Add debug spec and doc-string position.
7145 2012-05-08 Glenn Morris <rgm@gnu.org>
7147 * language/burmese.el, language/cham.el, language/czech.el:
7148 * language/english.el, language/georgian.el, language/greek.el:
7149 * language/japanese.el, language/khmer.el, language/korean.el:
7150 * language/lao.el, language/misc-lang.el, language/romanian.el:
7151 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7152 * language/thai.el, language/utf-8-lang.el:
7153 Remove no-byte-compile setting.
7155 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7157 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7159 * progmodes/make-mode.el (makefile-browse):
7160 Remove unnecessary interactive. (Bug#11324)
7162 2012-05-07 Glenn Morris <rgm@gnu.org>
7164 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7166 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7168 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * loadup.el: Preload newcomment.el.
7171 * newcomment.el: Move autoload-only code to toplevel.
7173 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7174 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7175 Handle new :right-align column property.
7176 (tabulated-list-print-col): Idem, plus use `display' text-property to
7177 try and preserve alignment for variable pitch fonts.
7179 2012-05-07 Chong Yidong <cyd@gnu.org>
7181 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7182 (tabulated-list-use-header-line): New var.
7183 (tabulated-list-init-header): Use it.
7184 (tabulated-list-print-fake-header): New function.
7185 (tabulated-list-print): Use it.
7186 (tabulated-list-sort-button-map): Add non-header-line commands.
7187 (tabulated-list-init-header): Add column name property to basic
7189 (tabulated-list-col-sort): Handle non-header-line button case.
7190 (tabulated-list--sort-by-column-name): Fix a corner case.
7192 * buff-menu.el (list-buffers--refresh):
7193 Handle Buffer-menu-use-header-line.
7195 2012-05-06 Chong Yidong <cyd@gnu.org>
7197 * buff-menu.el: Convert to Tabulated List mode.
7198 (Buffer-menu-buffer+size-width): Make obsolete.
7199 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7200 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7201 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7202 documentation into docstring of buffer-menu.
7203 (Buffer-menu-toggle-files-only): Add an informative message.
7204 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7205 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7206 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7207 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7208 (Buffer-menu-execute, Buffer-menu-select)
7209 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7210 (Buffer-menu-bury): Use Tabulated List machinery.
7211 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7212 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7214 (list-buffers--refresh): New function.
7215 (list-buffers-noselect): Use it.
7216 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7217 (Buffer-menu--pretty-file-name): New helper functions.
7219 * loadup.el: Preload tabulated-list.
7221 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7222 tabulated-list-sort-column.
7223 (tabulated-list-init-header): Add the initial aligning space even
7224 if tabulated-list-padding is zero.
7226 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7228 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7229 whose cdr is not a cons cell correctly (bug#11038).
7231 2012-05-06 Chong Yidong <cyd@gnu.org>
7233 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7234 Accept additional plist in column descriptors.
7235 (tabulated-list-init-header): Obey it.
7236 (tabulated-list-get-entry): New function.
7237 (tabulated-list-put-tag): Use it. Use string-width instead of
7239 (tabulated-list--column-number): New function.
7240 (tabulated-list-print): Use it.
7241 (tabulated-list-print-col): New function.
7242 Set `tabulated-list-column-name' property on each column's text.
7243 (tabulated-list-print-entry): Use it.
7244 (tabulated-list-delete-entry, tabulated-list-set-col):
7246 (tabulated-list-sort-column): New command (Bug#11337).
7248 * buff-menu.el (list-buffers): Move C-x C-b binding from
7249 buff-menu.el to bindings.el.
7251 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7252 :advertised-binding feature.
7254 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7256 * progmodes/compile.el (compilation-internal-error-properties):
7257 Calculate start position correctly when end-col is set but
7258 end-line is not (Bug#11382).
7260 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7262 * man.el (Man-unindent): Use text-property-default-nonsticky to
7263 prevent untabify from inheriting face properties (Bug#11408).
7265 2012-05-05 Stefan Merten <smerten@oekonux.de>
7267 * textmodes/rst.el: Major merge with upstream development up to
7268 Docutils SVN r7399 / rst.el V1.2.1.
7270 Clarify maintainership and authors.
7272 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7273 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7274 (rst-official-version, rst-official-cvs-rev, rst-version)
7275 (rst-package-emacs-version-alist): New functions and variables
7276 for version information.
7278 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7279 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7280 (rst-mode-syntax-table, rst-mode): New and corrected functions
7281 and variables representing reStructuredText features.
7283 (rst-re): New function for reStructuredText regexes. Use in
7286 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7287 (rst-mode-map): Rebind keys.
7289 (rst-mode-lazy, rst-font-lock-keywords)
7290 (rst-font-lock-extend-region)
7291 (rst-font-lock-extend-region-internal)
7292 (rst-font-lock-extend-region-extend)
7293 (rst-font-lock-find-unindented-line-limit)
7294 (rst-font-lock-find-unindented-line-match)
7295 (rst-adornment-level, rst-font-lock-adornment-level)
7296 (rst-font-lock-adornment-match)
7297 (rst-font-lock-handle-adornment-pre-match-form)
7298 (rst-font-lock-handle-adornment-matcher): Major revision of
7299 font-locking. Integrate with other code. Use `jit-lock-mode'.
7301 (rst-preferred-adornments, rst-adjust-hook)
7302 (rst-new-adornment-down, rst-preferred-bullets)
7303 (rst-preferred-bullets, rst-indent, rst-indent-width)
7304 (rst-indent-field, rst-indent-literal-normal)
7305 (rst-indent-literal-minimized, rst-indent-comment): Change,
7306 extend and improve customization.
7308 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7309 (rst-normalize-cursor-position, rst-get-decoration)
7310 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7311 (rst-rstrip, rst-toc-insert-find-delete-contents)
7312 (rst-shift-fill-region, rst-compute-bullet-tabs)
7313 (rst-debug-print-tabs, rst-debug-mark-found)
7314 (rst-shift-region-guts, rst-shift-region-right)
7315 (rst-shift-region-left, rst-use-char-classes)
7316 (rst-font-lock-keywords-function)
7317 (rst-font-lock-indentation-point)
7318 (rst-font-lock-find-unindented-line-begin)
7319 (rst-font-lock-find-unindented-line-end)
7320 (rst-font-lock-find-unindented-line)
7321 (rst-font-lock-adornment-point, rst-font-lock-level)
7322 (rst-adornment-level-alist): Remove functions and variables.
7324 (rst-compare-adornments, rst-get-adornment-match)
7325 (rst-suggest-new-adornment, rst-get-adornments-around)
7326 (rst-adornment-complete-p, rst-get-next-adornment)
7327 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7328 (rst-straighten-adornments): Standardize function names to
7329 use "adornment" instead of "decoration". Correct callers.
7330 Similar standardizing in many places.
7332 (rst-update-section, rst-adjust, rst-promote-region)
7333 (rst-enumerate-region, rst-bullet-list-region)
7334 (rst-repeat-last-character): Correct use of `interactive'.
7336 (rst-classify-adornment, rst-find-all-adornments)
7337 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7338 (rst-find-leftmost-column, rst-repeat-last-character):
7341 (rst-find-title-line, rst-reset-section-caches)
7342 (rst-get-adornments-around, rst-adjust-adornment-work)
7343 (rst-arabic-to-roman, rst-roman-to-arabic)
7344 (rst-insert-list-pos, rst-insert-list-new-item)
7345 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7348 (rst-all-sections, rst-section-hierarchy)
7349 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7352 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7353 configuration instead of only buffer. Change where necessary.
7355 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7356 (rst-shift-region, rst-adaptive-fill): New functions for
7357 indentation and filling.
7359 (rst-comment-line-break, rst-comment-indent)
7360 (rst-comment-insert-comment, rst-comment-region)
7361 (rst-uncomment-region): New functions for handling comments.
7363 (rst-compile): Quote shell arguments.
7365 (rst-compile-pdf-preview, rst-compile-slides-preview):
7366 Delete temporary files after use.
7368 2012-05-05 Glenn Morris <rgm@gnu.org>
7370 * calendar/cal-html.el: Optionally include holidays in the output.
7371 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7372 (cal-html-holidays): New option.
7373 (cal-html-css-default): Add holiday entry.
7374 (holiday-in-range): Autoload it.
7375 (cal-html-htmlify-entry): Add optional class argument.
7376 (cal-html-htmlify-list): Add optional holidays argument.
7377 (cal-html-insert-agenda-days): Include holidays in the output.
7378 (cal-html-one-month): Maybe include holidays.
7380 * calendar/holidays.el (holiday-in-range):
7381 Move here from cal-tex-list-holidays.
7382 * calendar/cal-tex.el (cal-tex-list-holidays):
7383 Make it an obsolete alias for holiday-in-range. Update all callers.
7385 2012-05-05 Chong Yidong <cyd@gnu.org>
7387 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7390 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7392 * files.el (file-auto-mode-skip): New var.
7393 (set-auto-mode-1): Use it.
7395 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7397 * repeat.el: Use lexical-binding.
7398 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7399 (repeat-undo-count): Remove.
7401 * progmodes/octave-mod.el (octave-abbrev-start):
7402 * progmodes/f90.el (f90-abbrev-start):
7403 * face-remap.el (text-scale-adjust):
7404 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7406 * emacs-lisp/pcase.el (pcase--let*): New function.
7407 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7409 (pcase--split-pred): Be more clever about ruling out overlap between
7410 a predicate and some constant pattern.
7411 (pcase--q1): Use `null' instead of (eq foo nil).
7413 * subr.el (setq-local, defvar-local): New macros.
7414 (kbd): Redefine as an alias.
7415 (with-selected-window): Leave unrelated frames alone.
7416 (set-temporary-overlay-map): New function.
7418 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7420 * subr.el (user-error): New function.
7421 * window.el (switch-to-buffer):
7422 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7423 (smerge-match-conflict):
7424 * simple.el (previous-matching-history-element)
7425 (next-matching-history-element, goto-history-element, undo-more)
7427 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7428 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7429 (next-file, tags-loop-scan, list-tags, complete-tag):
7430 * progmodes/compile.el (compilation-loop):
7431 * mouse.el (mouse-minibuffer-check):
7432 * man.el (Man-bgproc-sentinel, Man-goto-page):
7433 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7434 (Info-history-forward, Info-follow-reference, Info-menu)
7435 (Info-extract-menu-item, Info-extract-menu-counting)
7436 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7437 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7438 (Info-next-reference, Info-prev-reference, Info-index)
7439 (Info-index-next, Info-follow-nearest-node)
7440 (Info-copy-current-node-name):
7441 * imenu.el (imenu--make-index-alist)
7442 (imenu-default-create-index-function, imenu-add-to-menubar):
7443 * files.el (basic-save-buffer, recover-file):
7444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7445 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7446 (checkdoc-message-text, checkdoc-defun):
7447 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7448 * cus-edit.el (customize-changed-options, customize-rogue)
7449 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7450 (custom-variable-mark-to-reset-standard)
7451 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7453 * completion.el (check-completion-length):
7454 * comint.el (comint-search-arg)
7455 (comint-previous-matching-input-string-position)
7456 (comint-previous-matching-input)
7457 (comint-replace-by-expanded-history-before-point, comint-send-input)
7458 (comint-copy-old-input, comint-backward-matching-input)
7459 (comint-goto-process-mark, comint-set-process-mark):
7460 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7461 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7463 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * dabbrev.el (dabbrev--ignore-case-p): New function.
7466 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7469 * files.el (automount-dir-prefix): Mark as obsolete.
7471 2012-05-04 Glenn Morris <rgm@gnu.org>
7473 * patcomp.el, play/bruce.el: Move to obsolete/.
7475 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7477 Fix minor Y10k bugs.
7478 * arc-mode.el (archive-unixdate):
7479 * autoinsert.el (auto-insert-alist):
7480 * calc/calc-forms.el (math-this-year):
7481 * emacs-lisp/copyright.el (copyright-current-year)
7482 (copyright-update-year, copyright):
7483 * tar-mode.el (tar-clip-time-string):
7484 * time.el (display-time-update):
7485 Don't assume years have 4 digits.
7487 2012-05-04 Chong Yidong <cyd@gnu.org>
7489 * dos-w32.el (file-name-buffer-file-type-alist)
7490 (direct-print-region-use-command-dot-com):
7491 * ffap.el (ffap-menu-regexp):
7492 * find-file.el (ff-special-constructs):
7493 * follow.el (follow-debug):
7494 * forms.el (forms--debug):
7495 * iswitchb.el (iswitchb-all-frames):
7496 * ido.el (ido-all-frames):
7497 * emacs-lisp/timer.el (timer-max-repeats):
7498 * mail/feedmail.el (feedmail-mail-send-hook)
7499 (feedmail-mail-send-hook-queued):
7500 * mail/footnote.el (footnote-signature-separator):
7501 * mail/mailabbrev.el (mail-alias-separator-string)
7502 (mail-abbrev-mode-regexp):
7503 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7504 * progmodes/idlwave.el (idlwave-libinfo-file)
7505 (idlwave-default-completion-case-is-down)
7506 (idlwave-library-routines): Convert defvars to defcustoms.
7508 * mail/rmail.el (rmail-decode-mime-charset):
7509 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7510 (idlwave-shell-fix-inserted-breaks)
7511 (idlwave-shell-activate-alt-keybindings)
7512 (idlwave-shell-use-breakpoint-glyph):
7513 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7515 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7517 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7519 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7521 * progmodes/verilog-mode.el (font-lock-keywords):
7522 Fix mis-highligting auto. Reported by Craig Barner.
7523 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7524 defines from global name space. Reported by Dan Dever.
7525 (verilog-auto-reset, verilog-auto-reset-widths)
7526 (verilog-auto-tieoff): Support using unbased numbers for
7527 AUTORESET and AUTOTIEOFF.
7528 (verilog-submit-bug-report): Update variable list.
7529 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7530 parenthesis from not matching. Reported by Michael Rytting.
7531 (verilog-auto-template-lint): Fix hash error when linting modules
7532 with no used templates.
7533 (verilog-warn, verilog-warn-error)
7534 (verilog-warn-fatal): When non-interactive report multiple
7535 warnings before exiting. Suggested by Brad Dobbie.
7536 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7537 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7538 to report unused template errors. Reported by Brad Dobbie.
7539 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7540 nets, bug438. Reported by Vns Blore.
7541 (verilog-auto-inout-module, verilog-auto-reg)
7542 (verilog-read-decls, verilog-read-sub-decls-sig)
7543 (verilog-signals-edit-wire-reg, verilog-signals-with):
7544 Fix passing of Verilog data types in ANSI input/output ports
7545 such as "output logic" into the AUTOs. Special case "wire" and
7546 "reg" for backwards compatibility presuming Verilog 2001.
7547 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7548 (verilog-preprocess): Fix replication of preprocess output.
7549 Reported by Brad Dobbie.
7550 (verilog-auto-inst-interfaced-ports):
7551 Create verilog-auto-inst-interfaced-ports, bug429.
7552 Reported by Julian Gorfajn.
7553 (verilog-after-save-font-hook)
7554 (verilog-before-save-font-hook): New variable.
7555 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7556 (verilog-save-font-mods): Wrap disabling fontification, reported
7558 (verilog-do-indent, verilog-pretty-declarations-auto)
7559 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7560 Reported by Pierre-David Pfister.
7561 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7562 of class declarations, bug292. Reported by Kevin Heilman.
7563 (verilog-read-decls): Fix 'parameter type' not appearing in
7564 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7565 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7566 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7567 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7568 Reported by David Kravitz.
7570 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7572 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7573 assignment with tests in ifs and for loops.
7574 (verilog-extended-complete-re, verilog-complete-reg): Change so
7575 that DPI inport functions don't look like fuction declarations.
7576 (verilog-pretty-expr): Don't line up assignment
7577 operations to the test and increment in if and for loops
7578 (verilog-extended-complete-re, verilog-complete-reg): Change so
7579 that DPI inport functions don't look like fuction declarations.
7581 2012-05-03 Kenichi Handa <handa@m17n.org>
7583 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7584 decoding, and show a warning message without signaling an error
7587 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * emacs-lisp/bytecomp.el
7590 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7591 since cconv.el might have introduced :fun-body, internal-make-closure,
7592 and friends for bytecomp to handle (bug#11391).
7593 * custom.el (defcustom): Avoid ((λ ..) ..).
7595 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7599 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7601 * notifications.el (dbus-debug):
7602 * term/linux.el (gpm-mouse-enable):
7603 * term/screen.el (xterm-register-default-colors): Declare.
7605 2012-05-02 Chong Yidong <cyd@gnu.org>
7607 * cus-start.el (gc-cons-percentage, exec-suffixes)
7608 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7609 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7610 (make-cursor-line-fully-visible, void-text-area-pointer)
7611 (font-list-limit): Add customization data.
7613 * allout.el (allout-exposure-change-functions)
7614 (allout-structure-added-functions)
7615 (allout-structure-deleted-functions)
7616 (allout-structure-shifted-functions): Rename abnormal hooks from
7617 *-hook, and convert to defcustoms.
7618 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7619 Convert to defcustoms.
7620 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7622 * allout-widgets.el: Hook callers changed.
7624 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7626 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7627 the yanked message in preference to the default value of
7628 buffer-file-coding-system.
7630 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7632 * window.el (display-buffer--action-function-custom-type):
7635 2012-05-02 Alan Mackenzie <acm@muc.de>
7637 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7639 2012-05-01 Glenn Morris <rgm@gnu.org>
7641 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7643 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7645 * cus-edit.el (custom-variable-documentation): Simplify with format.
7647 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7648 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * simple.el (suggest-key-bindings, execute-extended-command):
7651 Move from keyboard.c.
7653 2012-05-01 Chong Yidong <cyd@gnu.org>
7655 * follow.el: Eliminate advice.
7656 (set-process-filter, process-filter, sit-for): Advice deleted.
7657 (follow-mode-off-hook): Obsolete hook removed.
7658 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7660 (follow-auto): Use a :set function.
7661 (follow-mode): Rewritten. Don't advise process filters.
7662 (follow-switch-to-current-buffer-all, follow-scroll-up)
7663 (follow-scroll-down): Assume follow-mode is bound.
7664 (follow-comint-scroll-to-bottom)
7665 (follow-align-compilation-windows): New functions.
7666 (follow--window-sorter): New function.
7667 (follow-all-followers): Use it to explicitly sort windows by their
7668 positions; don't make assumptions about next-window order.
7669 (follow-windows-start-end, follow-delete-other-windows-and-split)
7670 (follow-calc-win-start): Doc fix.
7671 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7672 vertical-motion unnecessarily.
7673 (follow-adjust-window): New function.
7674 (follow-post-command-hook): Use it.
7675 (follow-call-set-process-filter, follow-call-process-filter)
7676 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7677 (follow-stop-intercept-process-output, follow-generic-filter):
7679 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7680 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7681 New functions, replacing advice on scroll-bar-* commands.
7682 (follow-mwheel-scroll): New function (Bug#4112).
7684 * comint.el (comint-adjust-point): New function.
7685 (comint-postoutput-scroll-to-bottom): Use it.
7686 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7688 2012-05-01 Glenn Morris <rgm@gnu.org>
7690 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7691 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7692 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7693 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7694 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7695 Remove no-byte-compile setting.
7697 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7700 all-completions code to not return a number in the last cdr.
7702 2012-04-30 Leo Liu <sdl.web@gmail.com>
7704 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7707 2012-04-29 Chong Yidong <cyd@gnu.org>
7709 * follow.el (follow-calc-win-end): Rewrite to handle partial
7710 screen lines correctly (Bug#8390).
7711 (follow-avoid-tail-recenter): Minor cleanup.
7713 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7715 Avoid the obsolete `assoc' package.
7716 * speedbar.el (speedbar-refresh): Avoid adelete.
7717 (speedbar-file-lists): Simplify and avoid aput.
7718 * man.el (Man--sections, Man--refpages): New vars, replacing
7719 Man-sections-alist and Man-refpages-alist.
7720 (Man-build-section-alist, Man-build-references-alist):
7721 Use them; avoid aput.
7722 (Man--last-section, Man--last-refpage): New vars.
7723 (Man-follow-manual-reference): Use them.
7724 Use the `default' arg of completing-read.
7725 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7727 2012-04-27 Chong Yidong <cyd@gnu.org>
7729 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7731 * startup.el (x-apply-session-resources): New function.
7733 * term/ns-win.el (ns-initialize-window-system):
7734 * term/w32-win.el (w32-initialize-window-system):
7735 * term/x-win.el (x-initialize-window-system): Use it to properly
7736 set menu-bar-mode and other vars from X resources, even if the
7737 initial frame is not a window-system frame (Bug#2299).
7739 * subr.el (read-key): Avoid running filter function when setting
7740 up temporary tool bar entries (Bug#9922).
7742 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7744 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7747 2012-04-27 Chong Yidong <cyd@gnu.org>
7749 * select.el (xselect--encode-string): New function, split from
7750 xselect-convert-to-string.
7751 (xselect-convert-to-string): Use it.
7752 (xselect-convert-to-filename, xselect-convert-to-os)
7753 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7754 returned strings are properly encoded (Bug#11315).
7756 2012-04-27 Chong Yidong <cyd@gnu.org>
7758 * simple.el (delete-active-region): Move to killing custom group.
7760 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7762 * progmodes/which-func.el (which-func-current): Quote %
7763 characters for mode-line processing.
7765 2012-04-27 Chong Yidong <cyd@gnu.org>
7767 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7768 reaching eob (Bug#11286).
7770 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7772 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7773 (gdb): Make it buffer-local and init to zero.
7774 (gdb-control-commands-regexp): New variable.
7775 (gdb-send): Don't wrap in "-interpreter-exec console" if
7776 gdb-control-level is positive. Increment gdb-control-level
7777 whenever the command matches gdb-control-commands-regexp, and
7778 decrement it each time the command is "end". (Bug#11279)
7780 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7782 * window.el (adjust-window-trailing-edge, enlarge-window)
7783 (shrink-window, window-resize):
7784 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7785 windows (Bug#11276).
7787 2012-04-27 Chong Yidong <cyd@gnu.org>
7789 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7790 fix "missing prefix" warning. All callers changed.
7792 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * emacs-lisp/assoc.el: Move to obsolete/.
7796 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7798 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7800 * term/ns-win.el (ns-define-service):
7801 * progmodes/pascal.el (pascal-goto-defun):
7802 * progmodes/js.el (js--read-tab):
7803 * progmodes/etags.el (tags-lazy-completion-table):
7804 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7805 * emacs-lisp/ewoc.el (ewoc--wrap):
7806 * emacs-lisp/assoc.el (aput, adelete, amake):
7807 * doc-view.el (doc-view-convert-current-doc):
7808 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7810 2012-04-26 Chong Yidong <cyd@gnu.org>
7812 * image.el (image-type-from-buffer): Only return supported image
7815 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7816 value, for symmetry with diff-end-of-hunk.
7817 (diff-split-hunk, diff-find-source-location)
7818 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7819 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7820 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7821 compute the relevant hunk or file properly (Bug#6005).
7822 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7824 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7833 * vc/vc.el: Replace lexical-let by lexical-binding.
7834 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7835 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7836 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7838 2012-04-26 Chong Yidong <cyd@gnu.org>
7840 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7841 (diff-mode-shared-map): Bind it to / and [remap undo].
7843 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7844 (ediff-window-setup-function): Use it as the default, to set up
7845 windows based on whether the current frame is graphical (Bug#2138).
7846 (ediff-choose-window-setup-function-automatically): Make obsolete.
7848 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7850 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * ffap.el: Remove old code for obsolete package.
7853 (ffap-complete-as-file-p): Remove.
7855 Use completion-table-with-quoting for comint and pcomplete.
7856 * comint.el (comint--unquote&requote-argument)
7857 (comint--unquote-argument, comint--requote-argument): New functions.
7858 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7859 (comint-quote-filename): Use regexp-opt-charset.
7860 (comint--common-suffix, comint--common-quoted-suffix)
7861 (comint--table-subvert): Remove.
7862 (comint-unquote-function, comint-requote-function): New vars.
7863 (comint--complete-file-name-data): Use them with
7864 completion-table-with-quoting.
7865 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7866 * pcomplete.el (pcomplete-arg-quote-list)
7867 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7868 (pcomplete-unquote-argument-function): Default to non-nil.
7869 (pcomplete-unquote-argument): Simplify.
7870 (pcomplete--common-quoted-suffix): Remove.
7871 (pcomplete-requote-argument-function): New var.
7872 (pcomplete--common-suffix): New function.
7873 (pcomplete-completions-at-point): Use completion-table-with-quoting
7874 and completion-table-subvert.
7876 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7877 (minibuffer--double-dollars): Preserve properties.
7878 (completion--sifn-requote): New function.
7879 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7881 * minibuffer.el: Add support for completion of quoted/escaped data.
7882 (completion-table-with-quoting, completion-table-subvert): New funs.
7883 (completion--twq-try, completion--twq-all): New functions.
7884 (completion--nth-completion): New function.
7885 (completion-try-completion, completion-all-completions): Use it.
7887 2012-04-25 Leo Liu <sdl.web@gmail.com>
7889 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7890 Use compilation-message if available to find real filename.
7892 2012-04-25 Chong Yidong <cyd@gnu.org>
7894 * vc/diff-mode.el (diff-setup-whitespace): New function.
7895 (diff-mode): Use it.
7897 * vc/diff.el (diff-sentinel):
7898 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7899 Whitespace mode variables based on diff style (Bug#8612).
7901 2012-04-25 Leo Liu <sdl.web@gmail.com>
7903 * progmodes/python.el (python-send-region): Add suffix .py to the
7906 * files.el (auto-mode-alist): Use javascript-mode instead.
7908 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7910 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7912 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7913 (soap-resolve-references-for-array-type): Hack to prevent self
7914 references, see Bug#9.
7915 (soap-parse-envelope): Report the contents of the 'detail' node
7916 when receiving a fault reply.
7917 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7919 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7920 (soap-inspect-simple-type): New function.
7922 * net/soap-client.el (soap-simple-type): New struct.
7923 (soap-default-xsd-types, soap-default-soapenc-types)
7924 (soap-decode-basic-type, soap-encode-basic-type):
7925 support unsignedInt and double basic types.
7926 (soap-resolve-references-for-simple-type)
7927 (soap-parse-simple-type, soap-encode-simple-type): New function.
7928 (soap-parse-schema): Parse xsd:simpleType declarations.
7930 * net/soap-client.el (soap-default-xsd-types)
7931 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7932 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7933 the local name of "soapenc:Array".
7934 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7935 decoding integer, byte and anyURI xsd types.
7937 2012-04-25 Chong Yidong <cyd@gnu.org>
7939 * cus-edit.el (custom-buffer-create-internal): Update header text.
7941 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7943 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7944 settings on 'system-type', not on 'window-system'. On MS-Windows,
7945 set interactive-mode on in GDB.
7947 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7950 (ruby-syntax-propertize-regexp): Remove.
7951 (ruby-syntax-propertize-function): Split regexp into chunks.
7952 Match following code directly.
7954 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7956 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7957 (ruby-syntax-propertize-regexp): New function.
7958 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7959 by a special keyword.
7961 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7962 (ruby-syntax-general-delimiters-goto-beg)
7963 (ruby-syntax-propertize-general-delimiters): New functions.
7964 (ruby-syntax-propertize-function): Use them to handle GDL.
7965 (ruby-font-lock-keywords): Move old handling of GDL...
7966 (ruby-font-lock-syntactic-keywords): .. to here.
7967 (ruby-calculate-indent): Adjust indentation for GDL.
7969 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7971 * notifications.el (top): Remove unneeded declarations.
7972 (notifications-specification-version): Change to "1.2".
7973 (notifications-interface, notifications-notify-method)
7974 (notifications-close-notification-method): Fix docstring.
7975 (notifications-get-capabilities-method): New defconst.
7976 (notifications-notify): Add :action-items, :resident and
7977 :transient hints. Change "image_data" to "image-data" and
7978 "image_path" to "image-path".
7979 (notifications-get-capabilities): New defun.
7981 2012-04-24 Leo Liu <sdl.web@gmail.com>
7983 * progmodes/python.el: Move hideshow setup to the end.
7985 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7987 * window.el (handle-select-window): Clear echo area since this is
7988 no more done by read_char (Bug#11304).
7990 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7993 and `/ M' to filter-derived-mode.
7994 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7995 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7996 (ibuffer-mark-by-mode): Use default rather than initial-input.
7997 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7999 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8001 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8002 (ibuffer-filter-by-derived-mode): New filter.
8003 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8005 2012-04-23 Andreas Politz <politza@fh-trier.de>
8007 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8009 2012-04-23 Chong Yidong <cyd@gnu.org>
8011 * cus-edit.el (customize-apropos, customize-apropos-options):
8012 Disable matching of non-option variables (Bug#11176).
8013 (customize-option, customize-option-other-window)
8014 (customize-changed-options): Doc fix.
8015 (customize-apropos-options, customize-apropos-faces)
8016 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8018 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8019 Fix word list splitting (Bug#11132).
8020 (apropos-symbol, apropos-keybinding, apropos-label)
8021 (apropos-property, apropos-function-button)
8022 (apropos-variable-button, apropos-misc-button): New faces.
8023 (apropos-symbol-face, apropos-keybinding-face)
8024 (apropos-label-face, apropos-property-face, apropos-match-face):
8025 Variables removed (Bug#8396).
8026 (apropos-library-button, apropos-format-plist, apropos-print)
8027 (apropos-print-doc, apropos-describe-plist): Callers changed.
8029 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8031 * net/xesam.el (xesam-mode-map): Use let-bound map in
8032 initialization. (Bug#11292)
8034 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8036 Preserve ispell session localwords when switching back to
8039 * textmodes/ispell.el (ispell-buffer-session-localwords):
8040 New buffer-local variable to hold buffer session localwords.
8041 (ispell-kill-ispell): Add option 'clear to delete session
8043 (ispell-command-loop, ispell-change-dictionary)
8044 (ispell-buffer-local-words): Preserve session localwords when
8047 * textmodes/flyspell.el (flyspell-process-localwords)
8048 (flyspell-do-correct): Preserve session localwords when needed.
8050 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8052 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8053 using obsolete `translation-table-for-input'.
8054 (ispell-word, ispell-process-line, ispell-complete-word):
8055 Use plain `insert' instead of removed `ispell-insert-word'.
8057 2012-04-22 Chong Yidong <cyd@gnu.org>
8059 * cus-edit.el (custom-variable-menu)
8060 (custom-variable-reset-saved, custom-face-menu)
8061 (custom-face-reset-saved): If there is no saved value, make the
8062 "reset-saved" operation bring back the default (Bug#9509).
8063 (custom-face-state): Properly detect themed faces.
8065 * faces.el (face-spec-set): Stop supporting deprecated form of
8068 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8070 Move functions from C to Lisp. Make non-blocking method calls
8071 the default. Implement further D-Bus standard interfaces.
8073 * net/dbus.el (dbus-message-internal): Declare function.
8074 Remove unneeded function declarations.
8075 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8076 (dbus-message-type-method-return, dbus-message-type-error)
8077 (dbus-message-type-signal): Declare variables. Remove local
8079 (dbus-interface-dbus, dbus-interface-peer)
8080 (dbus-interface-introspectable, dbus-interface-properties)
8081 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8083 (dbus-interface-objectmanager): New defconst.
8084 (dbus-call-method, dbus-call-method-asynchronously)
8085 (dbus-send-signal, dbus-method-return-internal)
8086 (dbus-method-error-internal, dbus-register-service)
8087 (dbus-register-signal, dbus-register-method): New defuns, moved
8089 (dbus-call-method-handler, dbus-setenv)
8090 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8092 (dbus-call-method-non-blocking): Make it an obsolete function.
8093 (dbus-unregister-object, dbus-unregister-service)
8094 (dbus-handle-event, dbus-register-property)
8095 (dbus-property-handler): Obey the new structure of
8096 `bus-registered-objects'.
8097 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8098 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8099 Use `dbus-call-method'.
8101 2012-04-22 Chong Yidong <cyd@gnu.org>
8103 * cus-edit.el (custom-commands, custom-reset-menu)
8104 (Custom-reset-standard): Tweak labels.
8105 (custom-reset-button-menu): Change default to t.
8106 (custom-buffer-create-internal): For the custom-reset-button-menu
8107 case, put the revert button first.
8108 (custom-group-subtitle): New face.
8109 (custom-group-value-create): Align docstring to a specific column.
8111 * wid-edit.el (widget-documentation-link-add): Don't handle
8112 indentation in this function.
8113 (widget-documentation-string-indent-to): New function.
8114 (widget-documentation-string-value-create): Use it.
8116 * autorevert.el (auto-revert):
8117 * epg-config.el (epg):
8118 * ibuffer.el (ibuffer):
8121 * eshell/eshell.el (eshell):
8122 * net/ange-ftp.el (ange-ftp):
8123 * progmodes/ebnf2ps.el (postscript):
8124 * progmodes/flymake.el (flymake):
8125 * progmodes/prolog.el (prolog):
8126 * progmodes/verilog-mode.el (verilog-mode):
8127 * progmodes/which-func.el (which-func):
8128 * term/xterm.el (xterm):
8129 * textmodes/picture.el (picture):
8130 * textmodes/tildify.el (tildify):
8131 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8132 customization buffers.
8134 2012-04-22 Alan Mackenzie <acm@muc.de>
8136 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8137 Adding a ) can hide the resulting (..) from searches. Fix it.
8138 Bound the backward search to the position of the existing (.
8140 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8142 * progmodes/verilog-mode.el (verilog-mode): Check whether
8143 which-func-modes is t before adding verilog-mode.
8144 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8146 2012-04-21 Leo Liu <sdl.web@gmail.com>
8148 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8150 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8152 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8153 filling of the last column of a table (Bug#5635).
8154 (woman-find-next-control-line): New arg, specifying an additional
8155 regexp component for the control line.
8156 (woman2-roff-buffer): Use it.
8157 (woman-break-table): New function.
8158 (woman2-TS): Use it.
8160 2012-04-21 Chong Yidong <cyd@gnu.org>
8162 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8163 (woman-horizontal-escapes, woman-negative-vertical-space)
8164 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8165 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8167 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8169 * minibuffer.el (completion-file-name-table): Complete user names.
8171 2012-04-20 Leo Liu <sdl.web@gmail.com>
8173 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8176 2012-04-20 Chong Yidong <cyd@gnu.org>
8178 * server.el (server-execute): Respect initial-buffer-choice if it
8179 is a string and there are no files to open (Bug#2825).
8180 (server-create-window-system-frame, server-create-tty-frame):
8181 Don't switch buffers here.
8182 (server-process-filter): Only try to open a window system frame if
8183 compiled with graphical support (Bug#8314).
8185 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8187 * battery.el (battery-echo-area-format): Display remaining time
8188 for sysfs backend too (Bug#11269).
8189 (battery-linux-sysfs): Fix conditional for the charge.
8191 2012-04-20 Chong Yidong <cyd@gnu.org>
8193 * progmodes/gdb-mi.el (gdb): Revert previous change.
8194 (gdb-inferior-io--init-proc): New function.
8195 (gdb-init-1): Use it.
8196 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8197 responsible for allocating a new pty and hooking it to gdb when
8198 the old pty gets an EIO due to process exit.
8199 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8200 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8201 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8203 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8205 * window.el (window-min-size, window-sizable, window-min-delta)
8206 (window-max-delta, window--resizable, window-resizable)
8207 (window-total-size, window-full-height-p, window-full-width-p)
8208 (window-in-direction, window--resize-mini-window, window-resize)
8209 (window--resize-child-windows-normal)
8210 (window--resize-child-windows, window--resize-siblings)
8211 (window--resize-this-window, adjust-window-trailing-edge)
8212 (enlarge-window, shrink-window): Doc fixes.
8214 2012-04-20 Chong Yidong <cyd@gnu.org>
8216 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8217 New function to call delete-process on the gdb-inferior buffer's pty.
8218 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8219 pty process (Bug#11273).
8220 (gdb-update): New arg to suppress talking to the gdb process.
8221 (gdb-done-or-error): Use it.
8222 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8223 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8224 sentinel not being called.
8226 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8228 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8230 2012-04-20 Glenn Morris <rgm@gnu.org>
8232 * net/network-stream.el (open-network-stream): Doc fix.
8234 2012-04-20 Chong Yidong <cyd@gnu.org>
8236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8238 2012-04-20 Alan Mackenzie <acm@muc.de>
8240 Ensure searching for keywords is case sensitive.
8242 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8243 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8244 (c-defun-name, c-mark-function, c-cpp-define-name)
8245 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8246 (c-context-line-break): Bind case-fold-search to nil.
8248 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8249 Bind case-fold-search to nil.
8251 2012-04-20 Chong Yidong <cyd@gnu.org>
8253 * mail/sendmail.el (mail-bury): Call return action with the right
8254 Rmail buffer (Bug#11242).
8256 * server.el (server-process-filter): Handle corner case where both
8257 tty and nowait options are present (Bug#11102).
8259 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8261 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8262 (top level): Put into the executable the ident-style '$Id:' tag on
8265 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * electric.el (electric-indent-post-self-insert-function): Check that
8268 electric-indent-mode is enabled in current buffer.
8270 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8272 * imenu.el (imenu-progress-message): Restore; it is "used" in
8273 erc/erc-imenu.el and net/snmp-mode.el.
8275 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8277 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8278 (mouse-avoidance-nudge-mouse): Remove unused binding.
8280 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8282 * descr-text.el (describe-char):
8283 * progmodes/python.el (python-describe-symbol):
8284 Don't call `toggle-read-only', set `buffer-read-only'.
8286 * imenu.el (imenu-default-goto-function): Mark unused args.
8287 (imenu-progress-message): Remove obsolete macro; all callers changed.
8289 * subr.el (keymap-canonicalize): Remove unused binding.
8290 (read-passwd): Mark unused arg.
8292 * tutorial.el (tutorial--display-changes): Remove unused binding.
8293 (tutorial--save-tutorial-to): Remove unused variable.
8295 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8296 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8297 (package-generate-autoloads, package-menu--generate)
8298 (package-menu--find-upgrades): Remove unused bindings.
8300 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8301 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8302 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8303 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8304 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8305 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8306 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8307 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8308 (cua-delete-char-rectangle): Mark unused args.
8309 (cua-align-rectangle): Remove unused binding.
8311 * mail/rmail.el (compilation--message->loc)
8312 (epa--find-coding-system-for-mime-charset): Declare.
8314 * net/dbus.el (dbus-register-service): Declare.
8315 (dbus-name-owner-changed-handler): Remove unused binding.
8317 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8318 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8319 (nxml-scan-backward-within): Mark unused arg.
8320 (nxml-dynamic-markup-word): Remove unused binding.
8322 * mouse.el (mouse-menu-major-mode-map):
8323 * emacs-lisp/authors.el (authors-scan-change-log)
8324 (authors-add-to-author-list):
8325 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8326 * emacs-lisp/smie.el (smie-auto-fill):
8327 * mail/sendmail.el (mail-bury):
8328 * mail/unrmail.el (unrmail):
8329 * net/tls.el (open-tls-stream):
8330 * textmodes/picture.el (picture-mouse-set-point):
8331 Remove unused bindings.
8333 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8335 * net/tramp.el (tramp-action-password): Let-bind
8336 `enable-recursive-minibuffers' to t.
8338 2012-04-18 Sam Steingold <sds@gnu.org>
8340 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8341 instead of 'string to accommodate values like [f11].
8342 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8343 * progmodes/gdb-mi.el: Likewise.
8345 2012-04-18 Leo Liu <sdl.web@gmail.com>
8347 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8349 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8352 2012-04-18 Chong Yidong <cyd@gnu.org>
8354 * simple.el (line-move): Use forward-line if in batch mode
8357 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8359 * files.el (after-find-file): Do not try to add a final newline if
8360 the buffer is read-only (Bug#11156).
8362 2012-04-17 Richard Stallman <rms@gnu.org>
8364 * mail/rmail.el (rmail-start-mail):
8365 Pass (rmail-mail-return...) for the return-action.
8366 Pass (rmail-yank-current-message...) for the yank-action.
8367 (rmail-yank-current-message): New function.
8368 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8369 (rmail-reply): Likewise.
8370 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8372 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8373 buffer, not the last. Reject temp buffers. Use the rmail-mode
8376 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8378 * server.el (server-ensure-safe-dir): Simplify.
8380 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * emacs-lisp/smie.el: Provide smarter auto-filling.
8383 (smie-auto-fill): New function.
8384 (smie-setup): Use it.
8386 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8388 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8390 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8391 (comment-indent): Use it.
8393 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8395 * ses.el: The overall change is to add cell renaming, that is
8396 setting fancy names for cell symbols other than name matching
8397 "\\`[A-Z]+[0-9]+\\'" regexp .
8398 (ses-localvars): Add ses--renamed-cell-symb-list.
8399 (ses-create-cell-variable): New defun.
8400 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8401 (ses-relocate-formula): Relocate formulas only for cells the
8402 symbols of which are not renamed, i.e. symbols whose names do not
8403 match regexp "\\`[A-Z]+[0-9]+\\'".
8404 (ses-relocate-all): Relocate values only for cells the symbols of
8405 which are not renamed.
8406 (ses-load): Create cells variables as the (ses-cell ...) are read,
8407 in order to check row col consistency with cell symbol name only
8408 for cells that are not renamed.
8409 (ses-replace-name-in-formula): New defun.
8410 (ses-rename-cell): New defun.
8412 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8414 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8415 New option (bug#11118).
8416 (perl-calculate-indent): Respect it.
8418 2012-04-17 Glenn Morris <rgm@gnu.org>
8420 * dired-aux.el (dired-mark-read-string): Doc fix.
8422 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8424 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8425 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8427 2012-04-17 Glenn Morris <rgm@gnu.org>
8429 * mouse.el (mouse-drag-track):
8430 * speedbar.el (speedbar-frame-mode):
8431 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8433 2012-04-16 Leo Liu <sdl.web@gmail.com>
8435 * progmodes/python.el: Trivial cleanup.
8437 2012-04-16 Glenn Morris <rgm@gnu.org>
8439 * vc/vc.el (vc-string-prefix-p):
8440 * vc/pcvs-util.el (cvs-string-prefix-p):
8441 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8442 * mpc.el (mpc-string-prefix-p):
8443 Make all of these into obsolete aliases for string-prefix-p.
8445 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8447 * textmodes/two-column.el: Move custom options to the start.
8448 (frame-width): Remove compat definition.
8449 (2C-associate-buffer, 2C-dissociate):
8450 Use with-current-buffer rather than save-excursion.
8451 (2C-dissociate): Force a mode-line update.
8452 (2C-autoscroll): Use ignore-errors.
8454 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8457 * emacs-lisp/cl-extra.el (*random-state*):
8458 Remove unnecessary declaration.
8460 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8462 * play/cookie1.el (cookie-snarf):
8463 Give an explicit error if input file cannot be read.
8465 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8467 * progmodes/perl-mode.el (c-macro-expand):
8468 Remove unnecessary autoload (it is in loaddefs.el).
8470 * textmodes/picture.el (picture-desired-column)
8471 (picture-update-desired-column): Convert comments to doc-strings.
8472 (picture-substitute): Remove function.
8473 (picture-mode-map): Initialize in the defvar.
8475 * woman.el: Remove eval-after-load for tar-mode.
8476 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8477 (woman-tar-extract-file): Autoload it.
8479 * frame.el (automatic-hscrolling): Make this alias obsolete.
8481 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8483 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8484 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8485 (ispell-dictionary-base-alist): Revert to original XEmacs
8486 friendly version for default. [:alpha:] will be added in
8487 `ispell-set-spellchecker-params' if needed.
8489 2012-04-16 Chong Yidong <cyd@gnu.org>
8491 * image.el (imagemagick--file-regexp): New variable.
8492 (imagemagick-register-types): Use it.
8493 (imagemagick-types-inhibit): Add :set function. Allow new value
8494 of t to inhibit all types.
8496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8497 so we can preload it.
8499 * loadup.el (fboundp): Preload regexp-opt, needed by
8500 imagemagick-register-types.
8502 2012-04-15 Chong Yidong <cyd@gnu.org>
8504 * frame.el (scrolling): Remove nearly unused customization group.
8506 * scroll-all.el (scroll-all-mode): Move to windows group.
8508 2012-04-15 Chong Yidong <cyd@gnu.org>
8510 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8512 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8514 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8515 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8517 2012-04-15 Glenn Morris <rgm@gnu.org>
8519 * simple.el (process-file-side-effects): Doc fix.
8521 2012-04-15 Glenn Morris <rgm@gnu.org>
8523 * international/mule-cmds.el (set-language-environment): Doc fix.
8525 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8527 * server.el (server-auth-key, server-generate-key): Doc fixes.
8528 (server-get-auth-key): Doc fix. Use `string-match-p'.
8529 (server-start): Reflow docstring.
8531 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8533 * server.el (server-generate-key): `called-interactively-p'
8534 requires a parameter.
8536 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8538 * server.el (server-auth-key): New variable.
8539 (server-generate-key, server-get-auth-key): New function.
8540 (server-start): Use the new variable and functions to allow
8541 setting a permanent server key (bug#9423).
8543 2012-04-14 Leo Liu <sdl.web@gmail.com>
8545 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8547 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8550 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8551 Emacs uses American spelling.
8553 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8555 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8556 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8557 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8558 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8560 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8562 * progmodes/which-func.el (which-func-modes): Change default.
8564 2012-04-14 Kim F. Storm <storm@cua.dk>
8566 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8567 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8569 2012-04-14 Chong Yidong <cyd@gnu.org>
8571 * custom.el (custom-theme-set-variables): Doc fix.
8573 2012-04-14 Glenn Morris <rgm@gnu.org>
8575 * international/mule.el (set-auto-coding-for-load): Doc fix.
8577 2012-04-14 Alan Mackenzie <acm@muc.de>
8579 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8580 imenu work again for Objective C Mode. Correct the *-index values,
8581 these having been disturbed by a previous change in 2011-08.
8583 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8584 Correct two search limits.
8586 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8590 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8592 * international/characters.el: Fix sorting.
8594 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8596 * international/characters.el: Add more missing Latin case pairs.
8598 2012-04-14 Glenn Morris <rgm@gnu.org>
8600 * files.el (dir-locals-set-class-variables): Doc fix.
8602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8604 * international/characters.el: Add set-case-syntax-pair call for
8605 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8606 counterpart. (Bug#11209)
8608 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8610 2012-04-14 Glenn Morris <rgm@gnu.org>
8612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8614 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8616 * textmodes/ispell.el (ispell-dictionary-base-alist):
8617 Add data for Hebrew.
8619 2012-04-14 Chong Yidong <cyd@gnu.org>
8621 * net/rcirc.el (rcirc-cmd-quit):
8622 Revert 2012-03-18 change (Bug#11192).
8624 2012-04-14 Glenn Morris <rgm@gnu.org>
8626 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8630 * minibuffer.el (completion-in-region-mode-map):
8631 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8633 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8635 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8637 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8639 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8640 to allow `C-M-f' and `C-M-b' to move to the nearest path
8641 separator (bug#9511).
8643 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8645 * avoid.el: Require cl when compiling. And also move the
8646 `provide' to the end.
8648 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8650 * avoid.el (mouse-avoidance-banish-position): New variable.
8651 (mouse-avoidance-banish-destination): Use it (bug#10165).
8653 2012-04-13 Leo Liu <sdl.web@gmail.com>
8655 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8657 2012-04-13 Ken Brown <kbrown@cornell.edu>
8659 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8660 this is no longer needed now that cygstart understands file:// URLs.
8661 (browse-url-filename-alist): For the same reason, don't modify
8662 file:// URLs on Cygwin.
8664 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8666 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8667 the region on shift if the binding is already shifted (bug#11221).
8669 2012-04-12 Glenn Morris <rgm@gnu.org>
8671 * mail/mailpost.el: Move to obsolete/.
8673 2012-04-12 Drew Adams <drew.adams@oracle.com>
8675 * imenu.el (imenu--generic-function): Ignore invisible definitions
8678 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8680 * hexl.el (hexl-bits): New variable.
8681 (hexl-options): Mention the variable in the doc string.
8682 (hexl-rulerise, hexl-line-displen): New functions.
8683 (hexl-mode): Mention the new variable.
8684 (hexl-mode, hexl-current-address, hexl-current-address):
8686 (hexl-ascii-start-column): New function.
8687 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8688 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8690 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8692 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8693 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8694 the encoding, as expected by hunspell.
8696 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * battery.el (battery--linux-sysfs-regexp): New const.
8699 (battery-status-function): Use it. Remove yeeloong special case.
8700 (battery-yeeloong-sysfs): Remove.
8701 (battery-echo-area-format): Remove yeeloong special case.
8703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8706 Reported by Noah Friedman.
8708 * subr.el (read-passwd): Use read-string.
8710 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712 * vcursor.el (vcursor-move): Increase the priority of the overlay
8715 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8717 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8718 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8720 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8722 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8723 define-minor-mode (bug#10760).
8725 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8727 * progmodes/grep.el (rgrep): Tweak the find command line so
8728 that directories matching `grep-find-ignored-files' won't be
8731 2012-04-11 Chong Yidong <cyd@gnu.org>
8733 * startup.el (command-line): Remove support for long-obsolete
8734 variable font-lock-face-attributes.
8736 2012-04-11 Glenn Morris <rgm@gnu.org>
8738 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * window.el (window--state-get-1): Obey window-point-insertion-type.
8744 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8746 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8747 to previous function when point is on the first character of a
8748 function. Take care of that in `narrow-to-defun' (bug#6157).
8750 2012-04-11 Glenn Morris <rgm@gnu.org>
8752 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8753 not just file-errors.
8755 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8756 (vc-bzr-sha1): Use internal sha1.
8758 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8760 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8762 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8764 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8765 that start in the middle of the line (bug#10496).
8767 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8769 * battery.el (battery-linux-proc-acpi): Only one battery is
8770 discharged at a time, but that seems to confuse battery.el when
8771 computing `rate-type' for the battery not being discharged
8774 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8776 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8778 * international/quail.el: Use dolist and simplify.
8779 (quail-define-package, quail-update-keyboard-layout)
8780 (quail-define-rules): Use dolist.
8781 (quail-insert-kbd-layout, quail-get-translation): CSE.
8783 * tmm.el: Use dolist, remove left over hook.
8784 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8786 (calendar-load-hook): Don't mess with it.
8788 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8789 Use derived-mode-p. Run the diff asynchronously.
8791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8793 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8795 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8797 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8798 (list-dynamic-libraries--loaded): New function.
8799 (list-dynamic-libraries--refresh): Use it.
8801 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8803 * progmodes/python.el (python-fill-paragraph):
8804 Make python-fill-region in a multiline string work when font-lock is
8805 disabled (bug#7018).
8807 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8809 * language/european.el (cp775): Add oem/legacy (en)coding on
8810 DOS/MS Windows for the Baltic languages. There are still plenty
8811 of texts written in this encoding/codepage (bug#6519).
8813 2012-04-10 Glenn Morris <rgm@gnu.org>
8815 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8816 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8818 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8820 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8821 next-line "n" and previous-line "p" in order to make recentf more
8822 consistent with ibuffer, dired or org-mode (bug#9387).
8824 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8826 * image.el (put-image): Return the overlay created instead of the
8827 optional input string (bug#7834). Note that this may break code
8828 that is (for some reason or other) depending on `put-image'
8829 returning the string.
8831 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8833 * simple.el (zap-to-char): Allow zapping using input methods
8836 * textmodes/fill.el (fill-region): Leave point and mark where they
8837 were before filling (bug#5399).
8839 2012-04-09 Glenn Morris <rgm@gnu.org>
8841 * version.el (emacs-bzr-get-version):
8842 Handle lightweight checkouts of local branches.
8844 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8846 * international/characters.el: Recover lost case pairs. (Bug#11209)
8848 2012-04-09 Chong Yidong <cyd@gnu.org>
8850 * custom.el (custom-variable-p): Return nil for non-symbol
8851 arguments instead of signaling an error.
8852 (user-variable-p): Obsolete alias for custom-variable-p.
8854 * apropos.el (apropos-variable):
8855 * files-x.el (read-file-local-variable):
8856 * simple.el (set-variable):
8857 * woman.el (woman-mini-help):
8858 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8860 2012-04-09 Glenn Morris <rgm@gnu.org>
8862 * startup.el (normal-top-level): Don't look for leim-list.el
8863 in places where it will not be found. (Bug#910)
8865 * international/mule-cmds.el (set-default-coding-systems):
8866 * files.el (normal-mode):
8867 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8868 This function was removed with ucs-tables.el in 2008.
8870 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8872 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8873 ispell-encoding8-command to "-i", without a trailing space.
8874 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8875 separate command-line arguments, to specify the encoding, since
8876 that's how hunspell expects it.
8878 2012-04-08 Glenn Morris <rgm@gnu.org>
8880 * loadup.el: Load bindings before cus-start.
8881 This reduces somewhat the number of "rogue" settings in emacs -Q.
8883 2012-04-07 Glenn Morris <rgm@gnu.org>
8885 * version.el (emacs-bzr-get-version): New function.
8886 (emacs-bzr-version): New variable.
8887 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8888 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8890 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8892 * international/uni-bidi.el, international/uni-category.el:
8893 * international/uni-combining.el, international/uni-decimal.el:
8894 * international/uni-decomposition.el, international/uni-digit.el:
8895 * international/uni-lowercase.el, international/uni-mirrored.el:
8896 * international/uni-name.el, international/uni-numeric.el:
8897 * international/uni-titlecase.el, international/uni-uppercase.el:
8898 Update for Unicode 6.1.
8900 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8902 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8904 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8906 * window.el (shrink-window): Mention the `window-min-height'
8907 variable in the doc string.
8909 2012-04-05 Bastien Guerry <bzg@altern.org>
8911 * color.el (color-lighten-name): Fix typo.
8913 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * server.el (server--on-display-p): New function.
8916 (server--on-display-p): Use it.
8918 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8920 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8923 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * comint.el (comint--common-quoted-suffix): Check string boundary
8926 before comparing (bug#11158).
8927 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8929 2012-04-04 Chong Yidong <cyd@gnu.org>
8931 * minibuffer.el (completion-extra-properties): Doc fix.
8933 * subr.el (delayed-warnings-hook): Doc fix.
8935 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8937 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8938 selection (Bug#11159).
8939 (epa-insert-keys): Inform that the default public key will be
8940 exported if no key is selected.
8942 2012-04-04 Richard Stallman <rms@gnu.org>
8944 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8946 2012-04-03 Chong Yidong <cyd@gnu.org>
8948 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8949 mail-insert-file, not its obsolete alias mail-attach-file.
8951 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8953 * notifications.el (notifications-notify): Fix docstring.
8955 2012-04-02 Glenn Morris <rgm@gnu.org>
8957 * emacs-lisp/authors.el (authors-aliases): Another addition.
8959 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8961 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8962 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8963 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8965 2012-04-01 Chong Yidong <cyd@gnu.org>
8967 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8968 Handle root directory properly.
8969 (copy-directory): Caller changed.
8971 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8972 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8974 2012-03-31 Glenn Morris <rgm@gnu.org>
8976 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8978 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8980 * calendar/calendar.el (calendar-window-list)
8981 (calendar-hide-window): Restore. (Bug#11140)
8982 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8984 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8986 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8988 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8989 Check if file is a symlink (Bug#10489).
8991 * files.el (copy-directory): Likewise.
8993 2012-03-30 Chong Yidong <cyd@gnu.org>
8995 * image.el (imagemagick-types-inhibit)
8996 (imagemagick-register-types): Doc fix.
8998 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9000 * textmodes/ispell.el (ispell-get-extended-character-mode):
9001 Disable extended-char-mode for hunspell. hunspell does not support it
9002 and treats ~word as ordinary words in pipe mode.
9004 2012-03-30 Glenn Morris <rgm@gnu.org>
9006 * tutorial.el (help-with-tutorial): Ensure local variables don't
9007 happen to make the buffer read-only. (Bug#11127)
9009 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9012 (perl-calculate-indent): Return `noindent' in strings.
9014 2012-03-28 Sam Steingold <sds@gnu.org>
9016 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9017 instead of the broken adhockery which does not prevent calendar
9018 buffers from being displayed at random after exit.
9019 (calendar-window-list, calendar-hide-window): Remove the broken
9022 2012-03-28 Glenn Morris <rgm@gnu.org>
9024 * replace.el (query-replace-map): Doc fix.
9026 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9028 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9029 contents. (Bug#11109)
9031 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9035 (avl-tree--check, avl-tree--check-node): New funs.
9037 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9039 * window.el (switch-to-visible-buffer): New option.
9040 (switch-to-prev-buffer, switch-to-next-buffer):
9041 Observe switch-to-visible-buffer. Make sure that checking for a window
9042 showing a buffer already is done on the same frame.
9044 2012-03-27 Glenn Morris <rgm@gnu.org>
9046 * startup.el (mail-host-address): Doc fix.
9048 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9050 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9053 2012-03-26 Ami Fischman <ami@fischman.org>
9055 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9057 2012-03-26 Glenn Morris <rgm@gnu.org>
9059 * files.el (save-buffers-kill-emacs): Doc fix.
9061 * startup.el (normal-top-level, command-line, command-line-1):
9062 Give them doc strings.
9064 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9066 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9067 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9069 2012-03-25 Chong Yidong <cyd@gnu.org>
9071 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9072 theme if it was previously enabled before (Bug#11031).
9074 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9075 spec with custom-face-get-current-spec if its :shown-value is not
9076 determined yet (Bug#9337).
9077 (customize-create-theme, custom-theme-revert): Doc fixes.
9079 * button.el (button-at): Minor addition to docstring.
9081 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9083 * vc/vc.el (vc-merge): Fix a prompt.
9085 2012-03-24 Chong Yidong <cyd@gnu.org>
9087 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9090 * button.el (button-at): Minor addition to docstring.
9092 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * newcomment.el (comment-choose-indent): No space after BOL.
9096 2012-03-22 Sam Steingold <sds@gnu.org>
9098 * window.el (switch-to-prev-buffer): Revert last patch because the
9099 bug turned out to be an advertised feature (Elisp manual 28.14).
9101 2012-03-22 Glenn Morris <rgm@gnu.org>
9103 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9104 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9106 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9108 * net/network-stream.el (network-stream-open-starttls): Make error
9109 message under Windows be less misleading.
9111 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9113 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9114 understands (bug#9942).
9116 2012-03-22 Chong Yidong <cyd@gnu.org>
9118 * simple.el (end-of-visible-line): Handle return value of
9119 next-single-property-change properly (Bug#9371).
9121 2012-03-22 Kenichi Handa <handa@m17n.org>
9123 * international/quail.el (quail-insert-kbd-layout): Fix previous
9124 change. To avoid unwanted bidi reordering, use
9125 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9127 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9129 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9130 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9131 (ruby-beginning-of-indent): Be more careful with the difference
9132 between word-boundary and symbol boundary.
9133 (ruby-mode-syntax-table): Make : a symbol constituent.
9135 2012-03-21 Andreas Politz <politza@fh-trier.de>
9137 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9139 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * progmodes/etags.el (tags-completion-at-point-function):
9144 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9146 2012-03-21 Sam Steingold <sds@gnu.org>
9148 * progmodes/etags.el (tags-completion-at-point-function):
9149 Avoid the error when point is inside the pattern.
9151 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9153 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9156 2012-03-21 Drew Adams <drew.adams@oracle.com>
9158 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9160 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9162 * ido.el (ido-set-current-directory, ido-read-internal)
9163 (ido-choose-completion-string, ido-completion-help): Handle nil
9164 value of ido-completion-buffer (Bug#11008).
9166 2012-03-21 Sam Steingold <sds@gnu.org>
9168 * window.el (switch-to-prev-buffer): Do not switch to a visible
9169 window previous buffer, just like with the frame previous buffers.
9171 2012-03-21 Chong Yidong <cyd@gnu.org>
9173 * faces.el (make-face, make-empty-face, copy-face):
9174 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9177 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9179 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9180 (widget-complete): Remove broken use of it.
9182 2012-03-20 Chong Yidong <cyd@gnu.org>
9184 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9185 Use string-width and truncate-string-width to handle arbitrary
9188 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9190 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9191 to draw rectangles, not squares. (Regression introduced by revno
9192 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9194 2012-03-18 Chong Yidong <cyd@gnu.org>
9196 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9197 it is not yet defined (for temacs).
9199 2012-03-18 Leo Liu <sdl.web@gmail.com>
9201 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9204 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9206 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9207 (ispell-choices-win-default-height, ispell-silently-savep)
9208 (ispell-dictionary-alist, ispell-encoding8-command)
9209 (ispell-check-version, ispell-aspell-find-dictionary)
9210 (ispell-valid-dictionary-list, ispell-words-keyword)
9211 (ispell-get-word, ispell-internal-change-dictionary)
9212 (ispell-region, ispell-skip-region-list)
9213 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9214 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9215 (ispell-message-text-end, ispell-message)
9216 (ispell-buffer-local-parsing): Doc fix.
9218 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9220 * htmlfontify.el: Add support for code block fontification for ODT
9222 (hfy-optimisations): Define new option
9224 (hfy-fontify-buffer): Honor above setting.
9225 (hfy-begin-span, hfy-end-span): New routines factored out form
9226 `hfy-fontify-buffer'.
9227 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9228 that permit insertion of custom tags.
9229 (hfy-fontify-buffer): Use above handlers.
9230 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9231 (hfy-face-to-css): Re-defined to be a variable.
9232 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9233 over multiple runs. This is made possible by having the caller let
9234 bind a special variable `hfy-user-sheet-assoc'.
9235 (htmlfontify-string): New defun.
9236 (hfy-compile-face-map): Make sure that the last char in the
9237 buffer is correctly fontified.
9238 (hfy-face-resolve-face): Whitespace only change.
9240 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9242 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9245 2012-03-16 Leo Liu <sdl.web@gmail.com>
9247 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9249 2012-03-16 Alan Mackenzie <acm@muc.de>
9251 Further optimise the handling of large macros.
9253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9254 limit to a call of `c-literal-limits'.
9255 (c-determine-+ve-limit): New function.
9256 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9257 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9258 In CASE 5B, restrict a search limit to 500.
9259 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9261 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9262 Restrict macro bounds to +-500 from after-change's BEG END.
9264 2012-03-16 Leo Liu <sdl.web@gmail.com>
9266 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9268 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9270 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9271 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9273 2012-03-16 Glenn Morris <rgm@gnu.org>
9275 * view.el (view-buffer, view-buffer-other-window)
9276 (view-buffer-other-frame): Doc fixes re special mode-class.
9278 * subr.el (eval-after-load): If named feature is provided not from
9279 a file, run after-load forms. (Bug#10946)
9281 * calendar/calendar.el (calendar-insert-at-column):
9282 Handle non-unit-width characters a bit better. (Bug#10978)
9284 2012-03-15 Chong Yidong <cyd@gnu.org>
9286 * emacs-lisp/ring.el (ring-extend): New function.
9287 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9289 * comint.el (comint-read-input-ring)
9290 (comint-add-to-input-history): Grow comint-input-ring lazily.
9292 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9294 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9295 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9297 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9298 (imenu-add-to-menubar): Don't add a redundant index.
9299 (imenu-update-menubar): Handle a dynamically composed keymap.
9301 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9303 * mail/sendmail.el (mail-encode-header):
9304 Bind rfc2047-encode-encoded-words to nil.
9306 2012-03-13 Glenn Morris <rgm@gnu.org>
9308 * calendar/calendar.el (calendar-string-spread):
9309 Handle non-unit-width characters a bit better. (Bug#10978)
9311 2012-03-13 Leo Liu <sdl.web@gmail.com>
9313 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9314 directory and file as argument (Bug#10822).
9316 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9318 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9319 For dynamically generated code, follow $PC.
9320 (gdb-disassembly-handler-custom): Handle no function name case.
9322 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9324 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9325 * emulation/ws-mode.el (ws-query-replace):
9326 * sort.el (sort-regexp-fields):
9327 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9329 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * dabbrev.el: Fix cycle completion order (bug#10963).
9332 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9333 (dabbrev-completion): Don't use an obarray; provide
9334 a cycle-sort-function.
9336 2012-03-12 Leo Liu <sdl.web@gmail.com>
9338 * simple.el (kill-new): Use equal-including-properties for comparison.
9339 (kill-do-not-save-duplicates): Doc fix.
9341 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9343 * dabbrev.el: Fix cycle completion (bug#10963).
9344 Use lexical binding and wrap to 80 columns.
9345 (dabbrev-completion): Delay computing the list of completions.
9347 2012-03-12 Kenichi Handa <handa@m17n.org>
9349 * international/quail.el (quail-insert-kbd-layout): Surround each
9350 row by LRO and PDF instead of inserting many LRMs. Pad the left
9351 and right of each non-spacing marks. Insert invisible space
9352 between lower and upper characters to prevent composition.
9354 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * minibuffer.el (minibuffer-complete): Don't get confused when the
9357 function is run twice via different commands (bug#10958).
9358 (complete-with-action): Fix docstring.
9360 2012-03-12 Chong Yidong <cyd@gnu.org>
9362 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9363 (nxml-completion-at-point-function): New function.
9364 (nxml-mode): Use it.
9365 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9367 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9368 Load generated autoloads file before byte compiling (Bug#10970).
9369 (package--make-autoloads-and-compile): New helper fun.
9371 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9373 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9375 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9377 * autorevert.el (auto-revert-handler): Ensure, that
9378 file-readable-p is applied only for local files or in
9379 auto-revert-tail-mode.
9381 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9383 * server.el (server-eval-at): Handle non-tcp connections.
9384 Decode result string.
9386 * server.el (server-msg-size): New constant.
9387 (server-reply-print): New function.
9388 (server-eval-and-print): Use it.
9389 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9392 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9394 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9397 2012-03-11 Chong Yidong <cyd@gnu.org>
9399 * simple.el (goto-line): Doc fix (Bug#9938).
9401 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9403 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9404 when finished (Bug#10963).
9406 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9408 * window.el (split-window-below): Fix bug in case where
9409 split-window-keep-point is nil (Bug#10971).
9411 2012-03-11 Juri Linkov <juri@jurta.org>
9413 * replace.el (replace-highlight): Set isearch-word to nil
9414 unconditionally. (Bug#10887)
9416 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9418 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9419 mairix-replace-illegal-chars; all callers changed. Don't remove
9420 ^, ~, and = characters: they are meaningful in mairix search specs.
9421 (mairix-widget-create-query): Add usage information about mairix
9422 search forms: negating words, searching for substrings, etc.
9424 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9426 * international/fontset.el (font-encoding-alist): Add an entry for
9429 2012-03-10 Richard Stallman <rms@gnu.org>
9431 * mail/sendmail.el (mail-encode-header):
9432 Set rfc2047-encode-encoded-words.
9434 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9436 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9437 view buffer means not swapped.
9438 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9439 (rmail-write-region-annotate): Error if real text has disappeared.
9441 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9443 2012-03-10 Chong Yidong <cyd@gnu.org>
9445 * emulation/cua-rect.el (cua--init-rectangles):
9446 * emulation/cua-base.el (cua--init-keymaps):
9447 Add delete-forward-char to remappings (Bug#9666).
9449 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9451 * speedbar.el (speedbar-unhighlight-one-tag-line):
9452 Avoid unhighlighting due to frame switching (Bug#10275).
9454 2012-03-10 Chong Yidong <cyd@gnu.org>
9456 * minibuffer.el (completion-in-region, completion-help-at-point):
9457 Give the completion field overlay a high priority (Bug#6830).
9459 * dired.el (dired-goto-file): Recognize absolute file name
9460 listings (Bug#7126).
9461 (dired-goto-file-1): New helper function.
9462 (dired-toggle-read-only): Inhibit warnings.
9464 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9466 * net/dbus.el (dbus-property-handler): Return empty array if
9467 there are no properties.
9469 2012-03-09 Leo Liu <sdl.web@gmail.com>
9471 * savehist.el (savehist-printable): Stricter check for string
9474 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9476 * mail/smtpmail.el (smtpmail-send-it):
9477 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9480 2012-03-09 Glenn Morris <rgm@gnu.org>
9482 * files.el (dir-locals-find-file):
9483 Don't check result is regular, readable.
9484 (dir-locals-read-from-file): Demote errors.
9486 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9488 * international/quail.el (quail-insert-kbd-layout):
9489 Insert invisible LRM characters before each character in a keyboard
9490 layout cell, to prevent their reordering by bidi display engine.
9491 For details, see the discussion in
9492 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9494 2012-03-08 Alan Mackenzie <acm@muc.de>
9496 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9497 the starting position; make it extend the marked region when
9498 invoked repeatedly - all under appropriate circumstances.
9499 Fixes bugs #5525, #10906.
9501 2012-03-08 Glenn Morris <rgm@gnu.org>
9503 * files.el (locate-dominating-file, dir-locals-find-file):
9504 Undo 2012-03-06 change.
9506 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9508 * international/quail.el (quail-help):
9509 Force bidi-paragraph-direction be left-to-right. See discussion in
9510 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9513 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9515 Avoid superfluous registering of signals. (Bug#10807)
9517 * notifications.el (notifications-on-action-object)
9518 (notifications-on-close-object): New defvars.
9519 (notifications-on-action-signal, notifications-on-closed-signal):
9520 Unregister the signal if not needed any longer.
9521 (notifications-notify): Register `notifications-action-signal' or
9522 `notifications-closed-signal', if :on-action or :on-close has been
9525 2012-03-07 Chong Yidong <cyd@gnu.org>
9527 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9530 2012-03-06 Glenn Morris <rgm@gnu.org>
9532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9533 (x-disown-selection-internal, x-get-selection-internal):
9534 Doc fix (add arglist signatures). (Bug#10783)
9536 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9538 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9539 Handle breakpoints with no "type".
9541 2012-03-06 Glenn Morris <rgm@gnu.org>
9543 * files.el (locate-dominating-file): Add optional predicate argument.
9544 (dir-locals-find-file): Make use of above change.
9546 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9548 * info.el (Info-insert-dir): Also try "dir.gz".
9550 2012-03-06 Glenn Morris <rgm@gnu.org>
9552 * files.el (dir-locals-find-file):
9553 Ignore non-readable or non-regular files. (Bug#10928)
9555 * files.el (locate-dominating-file): Doc fix.
9557 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9559 * calendar/calendar.el (calendar-set-mode-line):
9560 `getenv' returns a string. (Bug#10951)
9562 2012-03-05 Leo Liu <sdl.web@gmail.com>
9564 * simple.el (backward-delete-char-untabify): Constrain point to
9567 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9569 2012-03-05 Chong Yidong <cyd@gnu.org>
9571 * simple.el (count-words): If called from Lisp, return the word
9572 count, for symmetry with `count-lines'. Arglist changed.
9573 (count-words--message): Args changed. Consolidate counting code
9574 from count-words and count-words-region.
9575 (count-words-region): Caller changed.
9576 (count-lines-region): Make it an obsolete alias.
9578 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9580 * saveplace.el (save-place-to-alist)
9581 (save-place-ignore-files-regexp): Allow value nil to disable this
9584 2012-03-04 Chong Yidong <cyd@gnu.org>
9586 * faces.el (face-spec-reset-face): For the default face, reset the
9587 attributes to default values (Bug#10748).
9589 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9591 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9592 previous patch: Check `message-send-mail-function', and not the
9593 default function (bug#10897).
9595 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9597 * notifications.el (notifications-on-action-signal)
9598 (notifications-on-closed-signal): Check for unique service name of
9599 incoming event. Fix error in removing entry.
9600 (top): Register for signals with wildcard service name.
9601 (notifications-notify): Use daemon unique service name for map entries.
9603 2012-03-04 Chong Yidong <cyd@gnu.org>
9605 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9607 2012-03-04 Glenn Morris <rgm@gnu.org>
9609 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9610 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9611 (expand-abbrev, define-abbrev-table): Doc fixes.
9613 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9615 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9616 `message-default-send-mail-function' and not `send-mail-function'
9617 when doing the prompting for `sendmail-query-once' before sending
9618 in Message buffers (bug#10897).
9620 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9621 This is inconsistent with all the other stream functions, which leave
9622 the setting up to the higher levels (if so wanted) (bug#10931).
9624 2012-03-02 Alan Mackenzie <acm@muc.de>
9626 Depessimize the handling of very large macros.
9628 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9629 (c-macro-cache-syntactic): New variables to implement a one
9630 element macro cache.
9631 (c-invalidate-macro-cache): New function.
9632 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9633 Adapt to use the new cache.
9634 (c-state-safe-place): Use better the cache of safe positions.
9635 (c-state-semi-nonlit-pos-cache)
9636 (c-state-semi-nonlit-pos-cache-limit):
9637 New variables for...
9638 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9639 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9640 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9641 Use c-state-semi-safe-place.
9643 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9644 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9646 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9648 * jka-compr.el (jka-compr-call-process):
9649 Apply `file-accessible-directory-p' only when the default directory is
9652 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9654 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9655 access of FILE2, if FILE1 does not exist.
9657 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9658 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9660 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9661 Add "PAGER=" to `process-environment'.
9663 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9665 * progmodes/sql.el: Bug fix
9666 (sql-get-login-ext): Save login values in globals.
9667 (sql-get-login): Use new version of `sql-get-login-ext'.
9668 (sql-interactive-mode): Set global `sql-connection' to nil.
9669 (sql-connect): Set global values for connection.
9670 (sql-product-interactive): Save global values as buffer local.
9672 2012-02-29 Leo Liu <sdl.web@gmail.com>
9674 * abbrev.el (define-abbrevs): Reset sys to nil.
9676 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9678 * files.el (file-equal-p): Rename from `files-equal-p'.
9679 Return nil when one or both files don't exist.
9680 (file-subdir-of-p): Now only top directory must exists,
9681 return nil if it doesn't.
9682 (copy-directory): No need to test with `file-subdir-of-p' after
9684 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9687 2012-02-28 Glenn Morris <rgm@gnu.org>
9689 * shell.el (shell-mode):
9690 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9691 * play/landmark.el (landmark-font-lock-face-O):
9692 * play/handwrite.el (handwrite):
9693 * play/gomoku.el (gomoku-O):
9694 * net/browse-url.el (browse-url-browser-display):
9695 * international/mule.el (define-charset):
9696 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9697 * filesets.el (filesets-find-file-delay):
9698 * eshell/em-xtra.el (eshell-xtra):
9699 * eshell/em-unix.el (eshell-grep):
9700 * emulation/viper.el (viper-mode):
9701 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9702 * emacs-lisp/easymenu.el (easy-menu-define):
9703 * calendar/timeclock.el (timeclock-use-display-time):
9705 * bookmark.el (bookmark-save-flag):
9706 Doc fix (standardize possessive apostrophe usage).
9708 2012-02-27 Chong Yidong <cyd@gnu.org>
9710 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9711 Fix key-binding lookup for ESC key (Bug#9146).
9713 * font-lock.el (font-lock-specified-p): Rename from
9714 font-lock-spec-present. Callers changed.
9716 2012-02-27 Daniel Hackney <dan@haxney.org>
9718 * emacs-lisp/package.el (package-compute-transaction):
9719 Handle holding a package version to t in package-load-list.
9721 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9723 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9724 (tramp-get-inode, tramp-get-device): Use cached values.
9726 2012-02-26 Alan Mackenzie <acm@muc.de>
9728 Check there is a font-lock specification before doing initial
9731 * font-core.el (font-lock-mode): Move the conditional from
9732 :after-hook to font-lock-initial-fontify.
9733 (font-lock-default-function): Move the check for a specification
9734 to font-lock-spec-present.
9736 * font-lock.el (font-lock-initial-fontify): Call ...
9737 (font-lock-spec-present): New function.
9739 2012-02-26 Jim Blandy <jimb@red-bean.com>
9741 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9742 (gdb-send): Apply it to the operand of the '-interpreter-exec
9743 console' command, so that we can pass arguments with (say) quotes
9744 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9746 2012-02-26 Chong Yidong <cyd@gnu.org>
9748 * help-fns.el (describe-function-1): Clarify description of
9749 remapping (Bug#10844).
9751 * files.el (files-equal-p): Doc fix.
9752 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9753 and quit the loop once a mismatch is found.
9755 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9757 * bs.el (bs--show-with-configuration): Don't throw an error
9758 if the window cannot be split; otherwise, subsequent calls to
9759 bs-show fail, restoring a stale window config. (Bug#10882)
9761 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9763 * term/ns-win.el (global-map): Bind ns-drag-file to
9764 ns-find-file (Bug#5855, Bug#10050).
9766 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9768 * calendar/parse-time.el (parse-time-string): Allow extractor to
9771 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9773 * net/tramp.el (tramp-file-name-for-operation):
9774 Add `files-equal-p' and `file-subdir-of-p'.
9776 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9777 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9778 Add COPY-CONTENTS argument.
9780 2012-02-25 Chong Yidong <cyd@gnu.org>
9782 Add custom groups for VC backends, for consistency with vc-bzr.
9784 * vc/vc-arch.el (vc-arch):
9785 * vc/vc-cvs.el (vc-cvs):
9786 * vc/vc-git.el (vc-git):
9787 * vc/vc-hg.el (vc-hg):
9788 * vc/vc-mtn.el (vc-mtn):
9789 * vc/vc-rcs.el (vc-rcs):
9790 * vc/vc-sccs.el (vc-sccs):
9791 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9792 All relevant defcustoms reassigned.
9794 2012-02-25 Chong Yidong <cyd@gnu.org>
9796 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9798 * term/x-win.el (x-initialize-window-system): Reduce default for
9799 x-selection-timeout to 5 seconds (Bug#8869).
9801 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9803 * files.el (files-equal-p, file-subdir-of-p): New functions.
9804 (copy-directory): Error when trying to copy a directory on itself.
9805 Add missing copy-contents arg to tramp handler.
9806 * dired-aux.el (dired-copy-file-recursive): Same.
9807 (dired-create-files): Modify destination when source is equal to
9808 dest when copying files.
9809 Return also when dest is a subdir of source. (Bug#10489)
9811 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9813 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9816 2012-02-23 Alan Mackenzie <acm@muc.de>
9818 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9819 parameter "after-hook:" to allow the expansion to run code after
9820 the execution of the mode hooks.
9822 * font-lock.el (font-lock-initial-fontify): New function extracted
9823 from font-lock-mode-internal.
9825 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9828 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9831 (completion--cache-all-sorted-completions): New function.
9832 (completion-all-sorted-completions): Use it.
9833 (completion--do-completion, minibuffer-force-complete):
9834 Use it to re-instate the flush hook.
9836 * icomplete.el (icomplete-completions): Replace last fix with a better
9839 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9841 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9842 when it might call us back infinitely (bug#10797).
9844 2012-02-23 Glenn Morris <rgm@gnu.org>
9846 * minibuffer.el (completion-category-overrides): Doc fix.
9848 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9851 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9853 2012-02-23 Glenn Morris <rgm@gnu.org>
9855 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9856 (authors-obsolete-files-regexps, authors-ignored-files)
9857 (authors-ambiguous-files, authors-renamed-files-alist):
9860 2012-02-23 Juri Linkov <juri@jurta.org>
9862 * isearch.el (isearch-occur): Sync interactive spec with occur's
9863 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9865 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9867 2012-02-22 Juri Linkov <juri@jurta.org>
9869 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9870 (ucs-insert): Doc fix. Check for hex digits in the string.
9871 Don't display `nil' in the error message. (Bug#10857)
9873 2012-02-22 Alan Mackenzie <acm@muc.de>
9875 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9877 2012-02-22 Glenn Morris <rgm@gnu.org>
9879 * ffap.el (ffap-c-path):
9880 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9882 2012-02-22 Chong Yidong <cyd@gnu.org>
9884 * custom.el (load-theme): Doc fix.
9886 2012-02-22 Glenn Morris <rgm@gnu.org>
9888 * dired-x.el (dired-guess-shell-alist-default):
9889 Remove escape sequences from nroff output. (Bug#172)
9891 2012-02-21 Glenn Morris <rgm@gnu.org>
9893 * vc/emerge.el (emerge-defvar-local):
9894 Set `permanent-local' property rather than unused `preserved'.
9896 * textmodes/picture.el (picture-delete-char): New alias.
9897 (picture-mode-map): Use it. (Bug#10860)
9898 (picture-mode): Doc fix.
9900 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9902 * newcomment.el (uncomment-region-default): Remove unused binding.
9904 2012-02-21 Glenn Morris <rgm@gnu.org>
9906 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9907 (picture-self-insert, picture-tab-chars): Doc fix.
9908 (picture-mode-map): Fix C-a, C-e.
9910 2012-02-20 Glenn Morris <rgm@gnu.org>
9912 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9914 2012-02-20 Leo Liu <sdl.web@gmail.com>
9916 * icomplete.el (icomplete-completions): Check FROM arg before
9917 passing to substring (Bug#10850).
9919 2012-02-19 Chong Yidong <cyd@gnu.org>
9921 * comint.el: Require ansi-color.
9922 (comint-output-filter-functions): Add ansi-color-process-output.
9924 * ansi-color.el: Don't set comint-output-filter-functions; it is
9925 now in the initial value defined in comint.el.
9926 (ansi-color-apply-face-function): New variable.
9927 (ansi-color-apply-on-region): Use it.
9928 (ansi-color-apply-overlay-face): New function.
9930 * shell.el (shell): No need to require ansi-color.
9931 (shell-mode): Use ansi-color-apply-face-function to highlight
9932 color escapes using font-lock-face property (Bug#10835).
9934 2012-02-19 Chong Yidong <cyd@gnu.org>
9936 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9937 mode-line formats (Bug#10839).
9939 2012-02-18 Glenn Morris <rgm@gnu.org>
9941 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9943 * mail/undigest.el (unforward-rmail-message): Doc fix.
9945 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9947 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9949 * international/characters.el (script-list): Sync with the latest
9950 Unicode Character Database.
9952 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9954 * international/titdic-cnv.el: Remove duplicate coding tag.
9955 * language/cham.el: Likewise.
9956 * language/tai-viet.el: Likewise.
9958 2012-02-18 Glenn Morris <rgm@gnu.org>
9960 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9961 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9962 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9963 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9964 * calendar/holidays.el (holiday-bahai-holidays)
9965 (calendar-holidays, list-holidays):
9966 Use utf-8 Bahá'í in doc-strings, menus, etc.
9968 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9970 * saveplace.el (save-place-ignore-files-regexp): New variable
9971 allowing for excluding files from saving their location of point.
9972 The default value matches the temporary commit message editing
9973 files from Git, SVN, Bazaar, and Mercurial.
9974 (save-place-to-alist): Use it.
9976 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9977 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * newcomment.el (uncomment-region-default): Don't leave extra space
9980 when an arg is provided (bug#8150).
9982 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9984 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9986 2012-02-17 Glenn Morris <rgm@gnu.org>
9988 * net/socks.el: Require network-stream. (Bug#10599)
9990 2012-02-17 Kenichi Handa <handa@m17n.org>
9992 * international/charprop.el:
9993 * international/uni-name.el:
9994 * international/uni-old-name.el:
9995 * international/uni-comment.el: Regenerate.
9997 2012-02-16 Glenn Morris <rgm@gnu.org>
9999 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10000 Interactively in calendar buffer, give an error if not on a date.
10002 2012-02-15 Glenn Morris <rgm@gnu.org>
10004 * shell.el (shell-delimiter-argument-list):
10005 Revert 2011-02-17 change. (Bug#8027)
10007 2012-02-15 Chong Yidong <cyd@gnu.org>
10009 * minibuffer.el (completion-at-point-functions): Doc fix.
10011 * custom.el (defcustom): Doc fix; note use of defvar.
10013 2012-02-15 Glenn Morris <rgm@gnu.org>
10015 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10018 2012-02-14 Glenn Morris <rgm@gnu.org>
10020 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10022 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10024 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10025 way the ports list is computed.
10026 (smtpmail-query-smtp-server): Prompt the user for a port number if
10027 we can't connect to any of the standard ports (bug#10810).
10029 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10031 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10033 2012-02-13 Glenn Morris <rgm@gnu.org>
10035 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10037 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10039 * net/gnutls.el (gnutls-trustfiles): New variable.
10040 (gnutls-negotiate): Use it.
10042 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10044 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10045 does its stuff if Gnus is running.
10047 2012-02-13 Alan Mackenzie <acm@muc.de>
10049 Fix a loop in c-set-fl-decl-start.
10051 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10052 c-backward-syntactic-ws actually moves backwards.
10054 2012-02-13 Leo Liu <sdl.web@gmail.com>
10056 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10057 beginning so that all \C-o chars are removed.
10059 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10061 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10063 2012-02-12 Alan Mackenzie <acm@muc.de>
10065 Fix infinite loop with long macros.
10066 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10068 2012-02-12 Chong Yidong <cyd@gnu.org>
10070 * window.el (display-buffer): Doc fix (Bug#10785).
10072 2012-02-12 Glenn Morris <rgm@gnu.org>
10074 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10075 (x-disown-selection-internal, x-get-selection-internal):
10076 Sync docs with the xselect.c versions.
10078 * allout-widgets.el: Add missing license notice.
10080 2012-02-11 Glenn Morris <rgm@gnu.org>
10082 * select.el (x-get-selection-internal, x-own-selection-internal)
10083 (x-disown-selection-internal):
10084 * x-dnd.el (x-get-selection-internal): Update declarations.
10086 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10088 * window.el (window-sides-slots):
10089 * tool-bar.el (tool-bar-position):
10090 * term/xterm.el (xterm-extra-capabilities):
10091 * ses.el (ses-self-reference-early-detection):
10092 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10093 (verilog-auto-wire-type)
10094 (verilog-auto-delete-trailing-whitespace)
10095 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10096 (verilog-auto-tieoff-declaration):
10097 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10098 (sql-oracle-statement-starters, sql-oracle-scan-on):
10099 * progmodes/prolog.el (prolog-align-comments-flag)
10100 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10101 (prolog-left-indent-regexp, prolog-paren-indent-p)
10102 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10103 (prolog-types, prolog-mode-specificators)
10104 (prolog-determinism-specificators, prolog-directives)
10105 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10106 (prolog-electric-dot-flag)
10107 (prolog-electric-dot-full-predicate-template)
10108 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10109 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10110 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10111 (prolog-program-switches, prolog-prompt-regexp)
10112 (prolog-debug-on-string, prolog-debug-off-string)
10113 (prolog-trace-on-string, prolog-trace-off-string)
10114 (prolog-zip-on-string, prolog-zip-off-string)
10115 (prolog-use-standard-consult-compile-method-flag)
10116 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10117 (prolog-imenu-max-lines, prolog-info-predicate-index)
10118 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10119 (prolog-char-quote-workaround):
10120 * progmodes/cc-vars.el (c-defun-tactic):
10121 * net/tramp.el (tramp-encoding-command-interactive)
10122 (tramp-local-end-of-line):
10123 * net/soap-client.el (soap-client):
10124 * net/netrc.el (netrc-file):
10125 * net/gnutls.el (gnutls):
10126 * minibuffer.el (completion-category-overrides)
10127 (completion-cycle-threshold)
10128 (completion-pcm-complete-word-inserts-delimiters):
10129 * man.el (Man-name-local-regexp):
10130 * mail/feedmail.el (feedmail-display-full-frame):
10131 * international/characters.el (glyphless-char-display-control):
10132 * eshell/em-ls.el (eshell-ls-date-format):
10133 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10134 (lisp-lambda-list-keyword-parameter-indentation)
10135 (lisp-lambda-list-keyword-parameter-alignment):
10136 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10137 * dired-x.el (dired-omit-verbose):
10138 * cus-theme.el (custom-theme-allow-multiple-selections):
10139 * calc/calc.el (calc-highlight-selections-with-faces)
10140 (calc-lu-field-reference, calc-lu-power-reference)
10141 (calc-note-threshold):
10142 * battery.el (battery-mode-line-limit):
10143 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10144 (archive-7z-update):
10145 * allout.el (allout-prefixed-keybindings)
10146 (allout-unprefixed-keybindings)
10147 (allout-inhibit-auto-fill-on-headline)
10148 (allout-flattened-numbering-abbreviation):
10149 * allout-widgets.el (allout-widgets-auto-activation)
10150 (allout-widgets-icons-dark-subdir)
10151 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10152 (allout-widgets-theme-dark-background)
10153 (allout-widgets-theme-light-background)
10154 (allout-widgets-item-image-properties-emacs)
10155 (allout-widgets-item-image-properties-xemacs)
10156 (allout-widgets-run-unit-tests-on-load)
10157 (allout-widgets-time-decoration-activity)
10158 (allout-widgets-hook-error-post-time)
10159 (allout-widgets-track-decoration):
10160 Add missing :version tags to new defcustoms and defgroups.
10162 * progmodes/sql.el (sql-ansi-statement-starters)
10163 (sql-oracle-statement-starters): Add custom type.
10165 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10166 (prolog-system-version): Give it a type.
10168 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10170 * term/pc-win.el (x-select-text, x-selection-owner-p)
10171 (x-own-selection-internal, x-disown-selection-internal)
10172 (x-get-selection-internal): Sync doc strings and argument lists
10173 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10175 2012-02-11 Leo Liu <sdl.web@gmail.com>
10177 * progmodes/python.el (python-end-of-statement): Fix infinite
10180 2012-02-10 Glenn Morris <rgm@gnu.org>
10182 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10183 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10185 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10187 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10188 about SMTP before checking the From header.
10190 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10191 into own function for reuse by emacsbug.el.
10193 2012-02-10 Leo Liu <sdl.web@gmail.com>
10195 * subr.el (condition-case-unless-debug): Rename from
10196 condition-case-no-debug. All callers changed.
10197 (with-demoted-errors): Fix caller.
10199 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10200 * nxml/rng-valid.el (rng-do-some-validation):
10201 * emacs-lisp/package.el (package-refresh-contents)
10202 (package-menu-execute):
10203 * desktop.el (desktop-create-buffer):
10204 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10206 2012-02-10 Glenn Morris <rgm@gnu.org>
10208 * textmodes/bibtex.el:
10209 Add missing :version tags for new/changed defcustoms.
10211 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10213 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10215 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10216 (smtpmail-via-smtp): Use it, or fall back on the From address.
10217 (smtpmail-send-it): Ditto.
10219 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10222 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10223 (byte-compile-tmp-var): New const.
10224 (byte-compile-defvar): Use it to minimize .elc size.
10225 Just use `defvar' rather than simulate it (bug#10761).
10227 2012-02-09 Glenn Morris <rgm@gnu.org>
10229 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10231 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10234 * progmodes/compile.el (compilation-error-screen-columns)
10235 (compilation-first-column, compilation-filter-start): Doc fixes.
10237 * vc/log-view.el (log-view-toggle-entry-display):
10238 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10240 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10241 (report-emacs-bug-can-use-xdg-email):
10242 (report-emacs-bug-insert-to-mailer): Doc fixes.
10243 (report-emacs-bug): Message fix.
10245 * net/browse-url.el (browse-url-can-use-xdg-open)
10246 (browse-url-xdg-open): Doc fixes.
10248 * electric.el (electric-indent-mode, electric-pair-mode)
10249 (electric-layout-rules, electric-layout-mode): Doc fixes.
10250 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10252 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10254 * server.el (server-unselect-display): Don't inadvertently kill
10255 the current buffer. (Bug#10729)
10257 2012-02-08 Glenn Morris <rgm@gnu.org>
10259 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10260 (sql-list-table): Doc fixes.
10262 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10263 Comment out (does nothing).
10265 * completion.el (dynamic-completion-mode):
10266 * dirtrack.el (dirtrack-debug-mode):
10267 * electric.el (electric-layout-mode):
10268 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10269 * face-remap.el (text-scale-mode, buffer-face-mode):
10270 * iimage.el (iimage-mode):
10271 * image-mode.el (image-transform-mode):
10272 * minibuffer.el (completion-in-region-mode):
10273 * scroll-lock.el (scroll-lock-mode):
10274 * simple.el (next-error-follow-minor-mode):
10275 * tar-mode.el (tar-subfile-mode):
10276 * tooltip.el (tooltip-mode):
10277 * vcursor.el (vcursor-use-vcursor-map):
10278 * wid-browse.el (widget-minor-mode):
10279 * emulation/tpu-edt.el (tpu-edt-mode):
10280 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10281 * international/iso-ascii.el (iso-ascii-mode):
10282 * language/thai-util.el (thai-word-mode):
10283 * mail/supercite.el (sc-minor-mode):
10284 * net/goto-addr.el (goto-address-mode):
10285 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10286 * progmodes/cwarn.el (cwarn-mode):
10287 * progmodes/flymake.el (flymake-mode):
10288 * progmodes/glasses.el (glasses-mode):
10289 * progmodes/hideshow.el (hs-minor-mode):
10290 * progmodes/pascal.el (pascal-outline-mode):
10291 * textmodes/enriched.el (enriched-mode):
10292 * vc/smerge-mode.el (smerge-mode):
10293 Doc fixes (minor mode argument).
10295 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10297 * ls-lisp.el (ls-lisp-sanitize): New function.
10298 (ls-lisp-insert-directory): Use it to fix or remove any elements
10299 in file-alist with missing attributes. (Bug#4673)
10301 2012-02-07 Alan Mackenzie <acm@muc.de>
10303 Fix spurious recognition of c-in-knr-argdecl.
10305 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10306 putative K&R region.
10308 2012-02-07 Alan Mackenzie <acm@muc.de>
10310 * progmodes/cc-engine.el (c-forward-objc-directive):
10311 Prevent looping in "#pragma mark @implementation".
10313 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10315 * notifications.el (notifications-on-closed-signal): Make `reason'
10316 optional. (Bug#10744)
10318 2012-02-07 Glenn Morris <rgm@gnu.org>
10320 * emacs-lisp/easy-mmode.el (define-minor-mode):
10321 Doc fixes for the macro and the mode it defines.
10323 * image.el (imagemagick-types-inhibit): Doc fix.
10325 * cus-start.el (imagemagick-render-type): Add it.
10327 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10329 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10330 Set the default at load time, too, so that `font-lock-fontify-buffer'
10331 can be called without setting up the entire mode first. This fixes
10332 a bug in `mm-inline-text' with C MIME parts.
10334 2012-02-06 Chong Yidong <cyd@gnu.org>
10336 * simple.el (list-processes--refresh): Delete exited processes
10339 * comint.el (comint-next-prompt): next-single-char-property-change
10340 and prev-single-char-property-change never return nil (Bug#8657).
10342 * custom.el (defcustom): Doc fix (Bug#9711).
10344 2012-02-05 Chong Yidong <cyd@gnu.org>
10346 * cus-edit.el (custom-variable-reset-backup): Quote the value
10347 before storing it in the customized-value property (Bug#6712).
10348 (custom-display): Add a customization type tag.
10349 (custom-buffer-create-internal): Improve tooltip message.
10351 * wid-edit.el (widget-field-value-get): New optional arg to
10352 suppress trailing whitespace truncation.
10353 (character): Use it (Bug#2689).
10355 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10357 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10358 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10360 2012-02-05 Chong Yidong <cyd@gnu.org>
10362 * cus-edit.el (custom-variable-value-create): For mismatched
10363 types, show the current value (Bug#7600).
10365 * custom.el (defcustom): Doc fix.
10367 2012-02-05 Glenn Morris <rgm@gnu.org>
10369 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10371 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10373 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10374 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10375 (pp-last-sexp): Use `looking-at-p'.
10377 2012-02-04 Glenn Morris <rgm@gnu.org>
10379 * files.el (revert-buffer):
10380 Doc fix (mention revert-buffer-in-progress-p).
10382 * emacs-lisp/ert-x.el (ert-simulate-command):
10383 Check deferred-action-list (which is obsolete) is bound.
10385 * subr.el (with-wrapper-hook): Doc fixes.
10387 * simple.el (filter-buffer-substring-functions)
10388 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10390 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10392 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10393 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10395 2012-02-04 Leo Liu <sdl.web@gmail.com>
10397 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10399 2012-02-04 Glenn Morris <rgm@gnu.org>
10401 * image.el (image-extension-data): Add obsolete alias.
10403 * isearch.el (isearch-update): Doc fix.
10405 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10407 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10409 2012-02-03 Glenn Morris <rgm@gnu.org>
10411 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10412 (image-animate-timeout): Doc fix.
10414 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10416 2012-02-02 Glenn Morris <rgm@gnu.org>
10418 * server.el (server-auth-dir): Doc fix.
10419 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10421 * subr.el (run-mode-hooks): Doc fix.
10423 2012-02-02 Juri Linkov <juri@jurta.org>
10425 * image-mode.el (image-toggle-display-image): Remove tautological
10426 `major-mode' from the `derived-mode-p' test.
10428 2012-02-02 Kenichi Handa <handa@m17n.org>
10430 * composite.el (compose-region): Cancel previous change.
10432 2012-02-02 Kenichi Handa <handa@m17n.org>
10434 * composite.el (compose-region, compose-string): Signal error for
10435 a null string component (Bug#6988).
10437 2012-02-01 Chong Yidong <cyd@gnu.org>
10439 * view.el (view-buffer-other-window, view-buffer-other-frame):
10440 Handle special modes like view-buffer (Bug#10650).
10441 (view-buffer): Simplify.
10443 * frame.el (set-frame-font): Tweak meaning of third argument.
10445 * dynamic-setting.el (font-setting-change-default-font):
10446 Use set-frame-font (Bug#9982).
10448 2012-02-01 Glenn Morris <rgm@gnu.org>
10450 * progmodes/compile.el (compilation-internal-error-properties):
10451 Respect compilation-first-column in the "*compilation*" buffer.
10453 * emacs-lisp/easy-mmode.el (define-minor-mode):
10454 Relax :variable's test for a named function.
10456 2012-01-31 Alan Mackenzie <acm@muc.de>
10458 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10461 2012-01-31 Chong Yidong <cyd@gnu.org>
10463 * frame.el (set-frame-font): New arg ALL-FRAMES.
10465 * menu-bar.el (menu-set-font): Use set-frame-font.
10467 * faces.el (face-spec-reset-face): Don't apply unspecified
10468 attribute values to the default face.
10470 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10472 * progmodes/cwarn.el (cwarn): Remove dead link.
10473 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10474 Remove * from defcustom docstrings.
10475 (turn-on-cwarn-mode): Make obsolete.
10476 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10477 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10479 2012-01-31 Glenn Morris <rgm@gnu.org>
10481 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10482 Fix :variable handling of mode a symbol not equal to modefun.
10483 Allow named functions to be used as the cdr of :variable.
10485 2012-01-30 Glenn Morris <rgm@gnu.org>
10487 * emacs-lisp/authors.el (authors-fixed-entries):
10488 Remove reference to deleted file rnewspost.el.
10490 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10492 * window.el (window-with-parameter): Remove unused variable `windows'.
10493 (window--side-check): Remove unused variable `code'.
10494 (window--resize-siblings): Remove unused variable `first'.
10495 (adjust-window-trailing-edge): Remove unused variable `failed'.
10496 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10497 Use `let', not `let*'.
10498 (balance-windows-2): Remove unused variable `found'.
10499 (window--state-put-2): Remove unused variable `splits'.
10500 (window-state-put): Remove unused variable `selected'.
10501 (same-window-p): Use `string-match-p'.
10502 (display-buffer-assq-regexp): Remove unused variable `value'.
10503 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10504 Mark argument ALIST as ignored.
10505 (pop-to-buffer): Remove unused variable `old-window'.
10507 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10509 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10510 and .lzma compressed files.
10512 2012-01-29 Chong Yidong <cyd@gnu.org>
10514 * frame.el (window-system-default-frame-alist): Doc fix.
10516 * dynamic-setting.el (font-setting-change-default-font): Don't
10517 change the default face if SET-FONT argument is non-nil (Bug#9982).
10519 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10521 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10523 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10525 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10526 breakpoints in files outside current directory (Bug#6098).
10528 2012-01-29 Chong Yidong <cyd@gnu.org>
10530 * progmodes/python.el: Require ansi-color at top-level.
10532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10533 Define and use in Emacs Lisp mode (Bug#9360).
10534 (lisp-mode-abbrev-table): Add doc.
10535 (lisp-mode-variables): Don't set local-abbrev-table.
10536 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10538 2012-01-28 Roland Winkler <winkler@gnu.org>
10540 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10542 2012-01-28 Roland Winkler <winkler@gnu.org>
10544 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10545 (bibtex-set-dialect): Use it. Either set global values of
10546 dialect-dependent variables or bind these variables buffer-locally
10548 (bibtex-mode): Call bibtex-set-dialect via
10549 hack-local-variables-hook.
10550 (bibtex-dialect): Update docstring.
10551 Add safe-local-variable predicate.
10552 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10553 bibtex-set-dialect.
10554 (bibtex-mode-map): Define menu for each dialect.
10555 (bibtex-entry): Fix docstring.
10557 2012-01-28 Chong Yidong <cyd@gnu.org>
10559 * eshell/esh-arg.el (eshell-quote-argument): New function.
10561 * eshell/esh-ext.el (eshell-invoke-batch-file):
10562 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10563 first arg to eshell-parse-command (Bug#10523).
10565 2012-01-28 Drew Adams <drew.adams@oracle.com>
10567 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10568 `default-directory' is non-nil.
10570 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10572 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10573 line that displays system-configuration-options. (Bug#9924)
10575 2012-01-28 Drew Adams <drew.adams@oracle.com>
10577 * descr-text.el (describe-char): Show information about POS, in
10578 addition to information about the character at POS. Improve and
10579 update the doc string. Change "code point" to "code point in
10580 charset", to avoid confusion with the character's Unicode code
10581 point shown above that. (Bug#10129)
10583 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10585 * descr-text.el (describe-char): Show the raw character, not only
10586 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10587 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10590 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10592 * emacs-lisp/package.el (package-install):
10593 Run package-refresh-contents if there is no archive yet (Bug#9798).
10595 2012-01-28 Chong Yidong <cyd@gnu.org>
10597 * emacs-lisp/package.el (package-maybe-load-descriptor):
10598 New function, split from package-maybe-load-descriptor.
10599 (package-maybe-load-descriptor): Use it.
10600 (package-download-transaction): Fully load required packages
10601 inside the loop, so that `require' calls work (Bug#10593).
10602 (package-install): No need to call package-initialize now.
10604 2012-01-28 Chong Yidong <cyd@gnu.org>
10606 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10608 * tooltip.el (tooltip-mode): Doc fix.
10609 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10611 * frame.el (set-cursor-color): Doc fix (Bug#352).
10613 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10614 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10616 * cus-edit.el (custom-buffer-create-internal): Fix search button
10617 action (Bug#10542).
10618 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10620 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10622 * dired.el (dired-mark-files-regexp):
10623 Include any subdirectory components. (Bug#10445)
10625 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10627 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10628 Handle [host]:port syntax. (Bug#10533)
10630 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10632 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10634 2012-01-26 Glenn Morris <rgm@gnu.org>
10636 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10637 * term.el (term-raw-escape-map): Use Control-X-prefix.
10638 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10640 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10642 * window.el (window-state-get, window--state-get-1): Don't deal
10643 with fixed-sizeness of windows. Simplify code.
10645 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10647 * window.el (window--state-get-1, window--state-put-2):
10648 Don't save and restore the mark.
10650 2012-01-25 Chong Yidong <cyd@gnu.org>
10652 * custom.el (custom-variable-p): Doc fix.
10654 2012-01-25 Glenn Morris <rgm@gnu.org>
10656 * dired.el (dired-goto-file): Handle some of the more common
10657 characters that `ls -b' escapes. (Bug#10596)
10659 * progmodes/compile.el (compilation-next-error-function):
10660 Respect compilation-first-column in the "*compilation*" buffer.
10661 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10663 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10665 2012-01-24 Glenn Morris <rgm@gnu.org>
10667 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10669 2012-01-24 Julien Danjou <julien@danjou.info>
10671 * color.el (color-rgb-to-hsl): Fix value computing.
10672 (color-hue-to-rgb): New function.
10673 (color-hsl-to-rgb): New function.
10674 (color-clamp, color-saturate-hsl, color-saturate-name)
10675 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10676 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10678 2012-01-24 Glenn Morris <rgm@gnu.org>
10680 * vc/vc-rcs.el (vc-rcs-create-tag):
10681 * vc/vc-sccs.el (vc-sccs-create-tag):
10682 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10684 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10686 * eshell/esh-util.el (eshell-read-hosts-file):
10687 Skip comment lines. (Bug#10549)
10689 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10691 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10693 * subr.el (display-delayed-warnings): Doc fix.
10694 (collapse-delayed-warnings): New function to collapse identical
10696 (delayed-warnings-hook): Add it.
10698 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10700 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10702 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10703 (tramp-default-user-alist): Don't add "pscp".
10704 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10705 property "login-as", if set. (Bug#10530)
10707 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10709 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10710 "plink1" and "psftp". (Bug#10530)
10712 2012-01-21 Kenichi Handa <handa@m17n.org>
10714 * international/mule-cmds.el (prefer-coding-system): Show a
10715 warning message if the default value of file-name-coding-system
10718 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10720 * windmove.el (windmove-reference-loc):
10721 Fix windmove-reference-loc miscalculation.
10723 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10725 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10728 2012-01-21 Glenn Morris <rgm@gnu.org>
10730 * international/mule.el (auto-coding-alist): Add .tbz.
10732 * files.el (local-enable-local-variables): Doc fix.
10733 (inhibit-local-variables-regexps): Rename from
10734 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10735 Doc fix. Add some extensions from auto-coding-alist.
10736 (inhibit-local-variables-suffixes):
10737 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10738 (inhibit-local-variables-p):
10739 New function, extracted from set-auto-mode-1.
10740 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10741 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10742 (hack-local-variables): Doc fix. Make the mode-only case
10743 respect enable-local-variables and friends.
10744 Respect inhibit-local-variables-regexps for file-locals, but
10745 not for directory-locals.
10746 (set-visited-file-name):
10747 Take account of inhibit-local-variables-regexps.
10748 Whether it applies may change as the file name is changed.
10749 * jka-cmpr-hook.el (jka-compr-install):
10750 * jka-compr.el (jka-compr-uninstall):
10751 Update for inhibit-first-line-modes-suffixes name change.
10753 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10755 * help-macro.el (make-help-screen): Temporarily restore original
10756 binding for minor-mode-map-alist (Bug#10454).
10758 2012-01-19 Julien Danjou <julien@danjou.info>
10760 * color.el (color-name-to-rgb): Use the white color to find the max
10761 color component value and return correctly computed values.
10762 (color-name-to-rgb): Add missing float conversion for max value.
10764 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10766 * window.el (window--state-get-1, window-state-get): Do not use
10767 special state value for window-persistent-parameters.
10768 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10769 (window--state-put-2): Reset all window parameters to nil before
10770 assigning values of persistent parameters.
10772 2012-01-18 Alan Mackenzie <acm@muc.de>
10774 Eliminate sluggishness and hangs in fontification of "semicolon
10777 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10778 Change value 10000 -> 3000.
10779 (c-state-safe-place): Reformulate so it doesn't stack up an
10780 infinite number of wrong entries in c-state-nonlit-pos-cache.
10781 (c-determine-limit-get-base, c-determine-limit): New functions to
10782 determine backward search limits disregarding literals.
10783 (c-find-decl-spots): Amend commenting.
10784 (c-cheap-inside-bracelist-p): New function which detects "={".
10786 * progmodes/cc-fonts.el
10787 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10789 (c-font-lock-declarations): Fix an occurrence of point being
10790 undefined. Check additionally for point being in a bracelist or
10791 near a macro invocation without a semicolon so as to avoid a
10792 fruitless time consuming search for a declarator. Give a more
10793 precise search limit for declarators using the new
10796 2012-01-18 Glenn Morris <rgm@gnu.org>
10798 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10799 (set-auto-mode): Doc fixes.
10801 2012-01-17 Glenn Morris <rgm@gnu.org>
10803 * isearch.el (search-nonincremental-instead): Fix doc typo.
10805 * dired.el (dired-insert-directory): Handle newlines in directory name.
10806 (dired-build-subdir-alist): Unescape newlines in directory name.
10808 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10810 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10811 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10812 (tramp-action-terminal): Use it. (Bug#10530)
10814 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10818 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10820 * window.el (window-state-ignored-parameters): Remove variable.
10821 (window--state-get-1): Rename argument MARKERS to IGNORE.
10822 Handle persistent window parameters. Make copy of clone-of
10823 parameter only if requested. (Bug#10348)
10824 (window--state-put-2): Install a window parameter only if it has
10825 a non-nil value or an existing parameter shall be overwritten.
10827 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10829 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10831 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10833 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10834 don't pass the (nil) value of `upnode' to string-match.
10836 2012-01-14 Chong Yidong <cyd@gnu.org>
10838 * startup.el (command-line): Fix X resource class for cursorColor.
10839 Fix values recognized by the cursorBlink resource.
10841 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10843 * epg.el (epg--make-temp-file): Avoid permission race condition
10844 when running on old Emacs versions (bug#10403).
10846 2012-01-14 Glenn Morris <rgm@gnu.org>
10848 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10850 2012-01-13 Alan Mackenzie <acm@muc.de>
10852 Fix filling for when filladapt mode is enabled.
10854 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10855 c-mask-paragraph, pass in `fill-paragraph' rather than
10856 `fill-region-as-paragraph'. (This is a reversion of a previous
10858 * progmodes/cc-mode.el (c-basic-common-init):
10859 Make fill-paragraph-handle-comment buffer local and set it to nil.
10861 2012-01-13 Glenn Morris <rgm@gnu.org>
10863 * dired.el (dired-switches-escape-p): New function.
10864 (dired-insert-directory): Use dired-switches-escape-p.
10865 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10867 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10869 2012-01-12 Glenn Morris <rgm@gnu.org>
10871 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10872 changes in adaptive-fill-regexp. (Bug#10276)
10874 2012-01-11 Alan Mackenzie <acm@muc.de>
10876 Fix Emacs bug #10463 - put `widen's around the critical spots.
10878 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10879 widen around each invocation of c-state-pp-to-literal. Remove an
10880 unused let variable.
10882 2012-01-11 Glenn Morris <rgm@gnu.org>
10884 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10887 2012-01-10 Chong Yidong <cyd@gnu.org>
10889 * net/network-stream.el (network-stream-open-starttls):
10890 Avoid emitting a confusing error message when the server gives a bad
10891 response to the capability command.
10893 2012-01-10 Glenn Morris <rgm@gnu.org>
10895 * mail/unrmail.el (unrmail): Tweak previous change.
10897 2012-01-09 Chong Yidong <cyd@gnu.org>
10899 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10901 2012-01-08 Alan Mackenzie <acm@muc.de>
10903 Optimise font locking in long enum definitions.
10905 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10906 arm to a cond form to handle enums.
10907 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10908 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10910 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10912 * files.el (move-file-to-trash): Preserve default file modes on error.
10915 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10917 * faces.el (set-face-attribute): Clarify the meaning of the nil
10920 * subr.el (with-selected-frame): Mention that the selected frame
10921 is restored (bug#9980).
10923 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10926 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10927 (password-read): Don't autoload unused function.
10929 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10931 * progmodes/which-func.el (which-func-mode): Turn into a
10932 non-interactive function and mark as obsolete (bug#10428).
10934 2012-01-06 Chong Yidong <cyd@gnu.org>
10936 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10937 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10938 functions, along with 1 and -1.
10940 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10942 * time.el (display-time-load-average)
10943 (display-time-default-load-average): Doc fixes. See the thread
10945 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10948 2012-01-06 Glenn Morris <rgm@gnu.org>
10950 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10951 has no messages. (Bug#10377)
10953 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10954 than Info-edit. (Bug#10385)
10956 * time.el (display-time-load-average, display-time-next-load-average):
10959 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10960 local setting of buffer-read-only to the input buffer. (Bug#10419)
10962 * calendar/calendar.el (calendar-mode):
10963 Locally set scroll-margin to 0. (Bug#10379)
10965 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10967 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10969 2012-01-05 Glenn Morris <rgm@gnu.org>
10971 * eshell/em-unix.el (diff-no-select): Autoload it.
10972 (eshell/diff): Use diff-no-select. (Bug#10420)
10974 2012-01-05 Chong Yidong <cyd@gnu.org>
10976 * shell.el (shell-dynamic-complete-functions): Revert last change.
10977 (shell-command-completion-function): New function.
10978 (shell-completion-vars): Use it to implement
10979 shell-completion-execonly (Bug#10417).
10981 * custom.el (enable-theme): Don't set custom-safe-themes.
10983 * cus-theme.el (custom-theme-merge-theme):
10984 Ignore custom-enabled-themes and custom-safe-themes.
10986 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10988 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10989 first prompt in `sql-interacive-mode'.
10990 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10992 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10993 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10994 context of original buffer. Invoke `sql-login-hook'.
10996 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10998 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10999 letters in cite-prefix.
11001 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11003 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11005 2012-01-03 Chong Yidong <cyd@gnu.org>
11007 * shell.el (shell-dynamic-complete-functions):
11008 Put pcomplete-completions-at-point, so as to try
11009 comint-filename-completion first (Bug#10417).
11011 2012-01-02 Richard Stallman <rms@gnu.org>
11013 * battery.el (battery-status-function):
11014 Detect when to use battery-yeeloong-sysfs.
11015 (battery-echo-area-format): Add string for Yeeloong.
11016 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11017 (battery-yeeloong-sysfs): New function.
11019 2012-01-02 Chong Yidong <cyd@gnu.org>
11021 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11022 (dirtrack): Merge code for handling relative filenames in prompt
11023 from shell-dir-cookie-watcher.
11024 (dirtrack-debug-message): New arg to avoid excess format calls.
11026 * shell.el (shell-dir-cookie-re): Variable deleted.
11027 (shell-dir-cookie-watcher): Function deleted.
11028 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11029 with dirtrack-mode.
11031 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11033 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11034 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11037 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11039 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11041 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11043 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11044 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11046 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11048 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11049 also for alternative shells.
11050 (tramp-open-connection-setup-interactive-shell): Check, whether
11051 the shell is a busybox.
11052 (tramp-send-command): Don't suppress multiple prompts for
11053 busyboxes, it hurts.
11055 2011-12-28 Chong Yidong <cyd@gnu.org>
11057 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11058 (gdb-get-source-file): Move mode line update to
11059 gdb-get-source-file (Bug#10087).
11061 2011-12-25 Chong Yidong <cyd@gnu.org>
11063 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11064 gud-gdb-marker-filter without taking it as an argument.
11065 (gud-gdb-run-command-fetch-lines): Caller changed.
11066 (gud-gdb-completion-function): New variable.
11067 (gud-gdb-completion-at-point): Use it.
11068 (gud-gdb-completions-1): Split from gud-gdb-completions.
11070 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11071 function as separate arguments.
11072 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11073 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11074 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11075 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11076 (gdb-stopped, def-gdb-auto-update-trigger)
11077 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11078 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11080 (gud-gdbmi-completions): New function.
11081 (gdb): Use it for generating the completion table.
11083 2011-12-24 Alan Mackenzie <acm@muc.de>
11085 Introduce a mechanism to widen the region used in context font
11086 locking. Use this to protect declarations from losing their contexts.
11088 * progmodes/cc-langs.el (c-before-font-lock-functions):
11089 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11090 (c-before-context-fontification-functions): New defvar, a list of
11091 functions to be run just before context (etc.) font locking.
11093 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11094 New, functionality extracted from
11095 c-neutralize-syntax-in-and-mark-CPP.
11096 (c-in-after-change-fontification): New variable.
11097 (c-after-change): Set c-in-after-change-fontification.
11098 (c-set-fl-decl-start): Rejig its interface, so it can be called
11099 from both after-change and context fontifying.
11100 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11102 (c-standard-font-lock-fontify-region-function): New variable.
11103 (c-font-lock-fontify-region): New function.
11105 2011-12-24 Juri Linkov <juri@jurta.org>
11107 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11110 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11112 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11113 existence of source file. (Bug#10325)
11115 2011-12-23 Alan Mackenzie <acm@muc.de>
11117 Fix unstable fontification inside templates.
11119 * progmodes/cc-langs.el (c-before-font-lock-functions):
11120 Newly created from the singular version. The (c c++ objc) entry now
11121 additionally has c-set-fl-decl-start. The other languages (apart
11122 from AWK) have that as a single entry.
11124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11125 The functionality for "local" declarations has been extracted to
11126 c-set-fl-decl-start.
11128 * progmodes/cc-mode.el (c-common-init, c-after-change):
11129 Changes due to pluralisation of c-before-font-lock-functions.
11130 (c-set-fl-decl-start): New function, extracted from
11131 c-font-lock-enclosing-decls and enhanced.
11133 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11135 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11137 2011-12-22 Juri Linkov <juri@jurta.org>
11139 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11141 2011-12-22 Chong Yidong <cyd@gnu.org>
11143 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11145 2011-12-21 Drew Adams <drew.adams@oracle.com>
11147 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11149 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11151 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11153 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11155 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11156 highlighting and support. Fix up comments for capitalization.
11157 (cfengine-mode-debug): New var.
11158 (cfengine3-mode): Change the modeline indicator to "CFE3".
11159 (cfengine3-font-lock-keywords): Improve defun highlighting.
11160 (cfengine2-actions): Rename from `cfengine-actions'.
11161 (cfengine2-font-lock-keywords): Rename from
11162 `cfengine-font-lock-keywords'.
11163 (cfengine2-imenu-expression): Rename from
11164 `cfengine-imenu-expression'.
11165 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11166 (cfengine2-beginning-of-defun): Rename from
11167 `cfengine-beginning-of-defun'.
11168 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11169 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11170 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11171 modeline indicator to "CFE2".
11172 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11173 (cfengine-mode-abbrevs): Mark obsolete.
11175 2011-12-21 Chong Yidong <cyd@gnu.org>
11177 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11180 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11182 * window.el (window-normalize-buffer-to-display): Remove.
11183 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11185 2011-12-19 Chong Yidong <cyd@gnu.org>
11187 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11188 Don't signal an error in a predicate function; return non-nil.
11189 (vc-dir-mark-file): Move the error here.
11190 (vc-dir-mark-unmark): If acting on the region, keep going if one
11191 of the entries cannot be marked/unmarked.
11192 (vc-dir-mark-all-files): If current entry is a directory, mark
11193 only child files, as documented.
11195 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11197 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11198 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11201 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11203 * term/ns-win.el (ns-get-selection-internal)
11204 (ns-store-selection-internal): Declare.
11205 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11206 Declare as obsolete.
11207 (ns-get-pasteboard, ns-paste-secondary):
11208 Use ns-get-selection-internal.
11209 (ns-set-pasteboard, ns-copy-including-secondary):
11210 Use ns-store-selection-internal.
11212 2011-12-17 Chong Yidong <cyd@gnu.org>
11214 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11215 (vc-deduce-fileset): Doc fix.
11217 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11219 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11221 2011-12-13 Sam Steingold <sds@gnu.org>
11223 * man.el (Man-getpage-in-background): When running under a
11224 window-system, ignore $MANWIDTH and $COLUMNS.
11226 2011-12-15 Kenichi Handa <handa@m17n.org>
11228 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11229 (setup-ethiopic-environment-internal): Comment out key-binding for
11230 ethio-toggle-punctuation.
11232 2011-12-13 Alan Mackenzie <acm@muc.de>
11234 Add the switch statement to AWK Mode.
11236 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11237 "default" to the keywords regexp.
11239 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11240 expression as the rest.
11241 (c-nonlabel-token-key): Allow string literals for AWK.
11242 Refactor for the other modes.
11244 Large brace-block initialisation makes CC Mode slow: Fix.
11245 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11246 routines. Limit backward searching in c-font-lock-enclosing.decl.
11248 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11249 pp-state and literal type in addition to the limits.
11250 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11251 (c-state-literal-at): Use the above new defun.
11252 (c-slow-in-literal, c-fast-in-literal): Remove.
11253 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11255 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11256 being in a literal. Add a limit for backward searching.
11258 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11261 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11263 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11265 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11267 * window.el (delete-other-windows): Use correct frame in call to
11268 window-with-parameter.
11270 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11272 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11273 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11274 (makefile-gmake-statements, makefile-makepp-statements):
11275 Use it and add new makepp keywords.
11276 (makefile-makepp-font-lock-keywords): Add new patterns.
11277 (makefile-match-function-end): Match new [...] and [[...]].
11279 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11281 * ses.el (ses-call-printer-return, ses-cell-property-get)
11282 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11283 (ses-create-cell-variable, ses-reset-header-string)
11284 (ses-cell-set-formula, ses-repair-cell-reference-all)
11285 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11286 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11287 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11288 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11289 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11290 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11291 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11292 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11293 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11294 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11295 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11296 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11298 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11300 * ses.el: The overall change is to add cell renaming, that is
11301 setting fancy names for cell symbols other than name matching
11302 "\\`[A-Z]+[0-9]+\\'" regexp .
11303 (ses-create-cell-variable): New defun.
11304 (ses-relocate-formula): Relocate formulas only for cells the
11305 symbols of which are not renamed, i.e. symbols whose names do not
11306 match regexp "\\`[A-Z]+[0-9]+\\'".
11307 (ses-relocate-all): Relocate values only for cells the symbols of
11308 which are not renamed.
11309 (ses-load): Create cells variables as the (ses-cell ...) are read,
11310 in order to check row col consistency with cell symbol name only
11311 for cells that are not renamed.
11312 (ses-replace-name-in-formula): New defun.
11313 (ses-rename-cell): New defun.
11315 2011-12-11 Chong Yidong <cyd@gnu.org>
11317 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11318 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11320 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11322 * window.el (other-window): Fix docstring.
11324 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11326 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11327 `from' or `to' address before taking its substring.
11328 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11329 encoded name is chopped in the middle of the encoded string, and
11330 thus displayed encoded.
11332 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11334 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11336 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11338 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11339 to use texinfo-update-node and commands that call it if the
11340 Texinfo file uses @node lines without next/prev/up pointers.
11341 Correct outdated description about texinfo-master-menu.
11342 (texinfo-all-menus-update, texinfo-master-menu)
11343 (texinfo-update-node, texinfo-every-node-update)
11344 (texinfo-multiple-files-update): Doc fix. Warn against updating
11345 all the @node lines.
11346 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11347 argument is numeric. Explain better in the doc string what the
11348 function really does.
11349 (texinfo-insert-master-menu-list): Improve the error message
11350 displayed if there's no menu in the Top node.
11351 (Bug#2975) See also this thread:
11352 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11354 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11356 * speedbar.el (speedbar-supported-extension-expressions):
11357 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11359 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11361 * printing.el (pr-mode-alist):
11362 * simple.el (filter-buffer-substring-functions)
11363 (completion-list-insert-choice-function):
11364 * window.el (window-with-parameter, window-atom-root)
11365 (window-sides-slots, window-size-fixed, window-min-delta)
11366 (window-max-delta, window--resize-mini-window)
11367 (window--resize-child-windows-normal, window-tree)
11368 (delete-other-windows, quit-window, split-window)
11369 (display-buffer-record-window, special-display-buffer-names)
11370 (special-display-regexps, special-display-popup-frame)
11371 (same-window-p, split-window-sensibly)
11372 (display-buffer-overriding-action, display-buffer-alist)
11373 (display-buffer-base-action, display-buffer, switch-to-buffer)
11374 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11375 (fit-window-to-buffer, recenter-positions)
11376 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11377 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11378 and remove unneeded backslashes in docstrings.
11380 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11382 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11384 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11385 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11387 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11388 when reading the makefile (bug#10116).
11390 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11392 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11395 2011-12-06 Glenn Morris <rgm@gnu.org>
11397 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11399 2011-12-06 Chong Yidong <cyd@gnu.org>
11401 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11403 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11405 * textmodes/table.el (table-shorten-cell): Fix typo.
11407 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11409 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11411 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11413 * descr-text.el (describe-char): Fix display of strong
11414 right-to-left characters and directional embeddings and overrides.
11416 * simple.el (what-cursor-position): Fix display of codepoints of
11417 strong right-to-left characters.
11419 2011-12-05 Chong Yidong <cyd@gnu.org>
11421 * faces.el (read-color): Doc fix.
11423 2011-12-05 Glenn Morris <rgm@gnu.org>
11425 * align.el (align--set-marker): Add doc-string.
11426 Don't try to move something that is not a marker. (Bug#10216)
11428 2011-12-04 Glenn Morris <rgm@gnu.org>
11430 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11431 overly zealous deletion of trailing whitespace.
11433 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11435 * server.el (server-delete-client): On Windows, do not try to delete
11437 (server-process-filter): On Windows, treat requests for a tty frame as
11438 if they were for a GUI frame if the running server is in GUI mode.
11440 2011-12-03 Glenn Morris <rgm@gnu.org>
11442 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11444 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11446 * electric.el: Streamline electric-indent's hook.
11447 (electric-indent-chars): Revert to simple list.
11448 (electric-indent-functions): New var.
11449 (electric-indent-post-self-insert-function): Use it.
11451 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11452 there's no inferior buffer (bug#10196).
11453 (prolog-consult-compile): Don't use toggle-read-only.
11455 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11457 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11458 interrupt. (Bug#10187)
11460 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11465 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11468 2011-12-02 Juri Linkov <juri@jurta.org>
11470 * info.el (Info-search): Display "end of manual" when Isearch
11471 reaches the end of single-file Info manual. (Bug#9918)
11473 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11475 * isearch.el (isearch-message-prefix): Run the input method part
11476 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11478 2011-12-02 Juri Linkov <juri@jurta.org>
11480 * isearch.el (isearch-occur): Use `word-search-regexp' for
11482 (isearch-search-and-update): Add condition for `isearch-word' and
11483 call `word-search-regexp'. (Bug#10145)
11485 2011-12-01 Glenn Morris <rgm@gnu.org>
11487 * eshell/em-hist.el (eshell-hist-initialize):
11488 Handle eshell-history-size nil and HISTSIZE set or unset.
11489 (eshell-history-file-name, eshell-history-size): Fix custom type.
11491 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11493 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11495 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11497 * progmodes/verilog-mode.el (verilog-pretty-expr):
11498 Rework verilog-pretty-expr to handle new assignment operators in system
11499 verilog, such as += *= and the like.
11500 (verilog-assignment-operator-re): Regular expression to find the
11501 assigment operator in a verilog assignment.
11502 (verilog-assignment-operation-re): Regular expression to find an
11503 assignment statement for pretty-expr.
11504 (verilog-in-attribute-p): Query returns true if point is in an
11505 attribute context; used to skip these for expression line up from
11507 (verilog-in-parameter-p): Query returns true if point is in an
11508 parameter definition context; used to skip these for expression
11509 line up from pretty-expr.
11510 (verilog-in-parenthesis-p): Query returns true if point is in a
11511 parenthetical expression, specifically ( ) but not [ ] or { };
11512 used by pretty-expr.
11513 (verilog-just-one-space): If there is no space, don't add one.
11514 (verilog-get-lineup-indent-2): Specifically skip just attribute
11515 contexts for expression lineup, rather than skipping all
11516 parenthetical expressions.
11517 (verilog-calculate-indent): Fix comment, and fix indent.
11518 (verilog-do-indent): Indent declarations in lists (suggested by
11520 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11522 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11525 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11527 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11528 parameters with embedded comments. Reported by Ray Stevens.
11529 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11530 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11531 Reported by Tim Holt.
11532 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11533 instantiated by upper module causing wrong expansion until AUTOed a
11534 second time. Reported by K C Buckenmaier.
11535 (verilog-diff-auto): Fix showing .* as a difference when
11536 `verilog-auto-star-save' off. Reported by Dan Dever.
11537 (verilog-auto-reset, verilog-read-always-signals)
11538 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11539 temporary signals in reset list if
11540 verilog-auto-reset-blocking-in-non is nil, and match assignment
11541 style to each signal's assignment type, bug381.
11542 Reported by Thomas Esposito.
11543 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11544 (verilog-uvm-statement-re): Support UVM indentation and
11545 highlighting, with old OVM keywords only.
11546 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11547 Support AUTOTIEOFF creating non-wire data types.
11548 Suggested by Jonathan Greenlaw.
11549 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11550 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11551 (verilog-inject-sense, verilog-read-inst-pins)
11552 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11553 Fix mismatching parenthesis inside commented out code when deleting
11554 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11555 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11556 non-numeric vector width. Reported by Alex Reed.
11557 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11558 detecting signals with parameter widths. Reported by Alex Reed.
11559 (verilog-auto-delete-trailing-whitespace):
11560 With `verilog-auto-delete-trailing-whitespace' remove trailing
11561 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11562 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11563 Fix verilog-scan-cache corruption when running user AUTO expansion
11564 hooks that call indentation routines.
11565 (verilog-simplify-range-expression): Fix typo ignoring lower case
11567 (verilog-delete-auto): Fix delete-autos to also remove user created
11568 automatics, as long as they start with AUTO.
11569 (verilog-batch-diff-auto, verilog-diff-auto)
11570 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11571 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11572 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11573 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11574 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11575 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11576 is disabled and its cache will get corrupt, causing AUTOS not to
11577 expand. Instead use only -quick functions.
11578 (verilog-scan-region): Fix scanning over escaped quotes.
11579 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11580 (verilog-re-search-backward-quick)
11581 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11582 related functions now ignore strings, to fix misparsing of strings
11583 with magic comments embedded in them.
11584 (verilog-read-auto-template):
11585 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11586 Reported by Brad Dobbie.
11587 (verilog-read-auto-template):
11588 Fix 'verilog-auto-inst-template-numbers' with comments.
11589 Reported by Brad Dobbie.
11590 (verilog-auto-inst, verilog-auto-inst-param)
11591 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11592 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11593 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11594 debugging templates without merge conflicts, bug357.
11595 Reported by Brad Dobbie.
11596 (verilog-read-auto-template):
11597 Fix verilog-auto-inst-template-numbers with multiple templates.
11598 Reported by Brad Dobbie.
11599 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11600 abbrevs so user won't be asked to save.
11601 (verilog-read-auto-lisp-present): Fix to start at beginning of
11602 buffer in case called outside of verilog-auto.
11603 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11604 to "X-2". Reported by Matthew Myers.
11605 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11606 all inputs from module templates. Reported by Leith Johnson.
11607 (verilog-module-inside-filename-p): Fix locating programs as with
11609 (verilog-auto-inst-port): Fix vl-width expressions when using
11610 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11611 (verilog-decls-get-regs, verilog-decls-get-signals,
11612 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11613 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11614 verilog-read-decls): Combine reg and wire structures into one var
11615 structure to represent SystemVerilog concepts.
11616 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11617 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11618 (verilog-auto-wire-type, verilog-insert-definition):
11619 Add verilog-auto-wire-type and AUTOLOGIC to support using
11620 SystemVerilog "logic" keyword instead of "wire"/"reg".
11621 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11622 to declares outputs that also have assignments (presumably in an
11623 ifdef or generate if so there's not a driver conflict).
11624 Reported by Matthew Myers.
11625 (verilog-auto-declare-nettype, verilog-insert-definition):
11626 Add verilog-auto-declare-nettype to fix declarations using
11627 `default_nettype none. Reported by Julian Gorfajn.
11628 (verilog-read-always-signals-recurse, verilog-read-decls)
11629 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11630 malformed end statement, bug325. Reported by Joshua Wise and
11632 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11633 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11634 when expanding .* in interfaces, bug320.
11635 Reported by Pierre-David Pfister.
11636 (verilog-read-module-name): Fix import statements between module
11637 name and open parenthesis, bug317.
11638 Reported by Pierre-David Pfister.
11639 (verilog-simplify-range-expression): Fix simplification of
11640 multiplications inside AUTOWIRE connections, bug303.
11641 (verilog-auto-inst-port): Support parameter expansion in
11642 multidimensional arrays.
11643 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11644 after "assert property". Reported by Julian Gorfajn.
11645 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11646 with multiplication, bug303.
11647 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11648 Reported by Jan Frode Lonnum.
11650 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11652 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11653 (hfy-shell-file-name, hfy-shell):
11654 * international/fontset.el (x-decompose-font-name): Fix typos.
11656 2011-11-29 Ken Brown <kbrown@cornell.edu>
11658 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11659 (gdb-version): Remove defvar.
11660 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11661 (gdb-gud-context-command, gdb-non-stop-handler)
11662 (gdb-current-context-command, gdb-stopped): Use it.
11663 (gdb-init-1): Enable pretty printing here.
11664 (gdb-non-stop-handler): Don't enable pretty-printing here.
11665 Check to see if the target supports non-stop mode; if not, turn off
11666 non-stop mode. Use the following.
11667 (gdb-check-target-async): New defun.
11668 (gud-watch, gdb-stopped): Fix whitespace.
11669 (gdb-get-source-file): Don't try to display the source file if
11670 `gdb-main-file' is nil.
11672 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11674 * align.el: Try to generate fewer markers (bug#10047).
11675 (align--set-marker): New macro.
11676 (align-region): Use it.
11678 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11682 2011-11-29 Chong Yidong <cyd@gnu.org>
11684 * indent.el (indent-for-tab-command, indent-according-to-mode):
11686 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11688 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11690 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11691 aware of remote file names. (Bug#10124)
11693 2011-11-29 Chong Yidong <cyd@gnu.org>
11695 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11697 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * files.el (find-file): Don't use force-same-window (bug#10144).
11700 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11701 use pop-to-buffer if the selected window can't be used.
11702 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11704 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11706 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11709 2011-11-28 Chong Yidong <cyd@gnu.org>
11711 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11713 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11715 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11716 gdb-get-source-file-list on gdb-create-source-file-list.
11718 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11720 * whitespace.el (whitespace-newline): Use a different foreground
11721 color for 16-color light-background displays.
11723 2011-11-24 Chong Yidong <cyd@gnu.org>
11725 * window.el (display-buffer--special-action): Doc fix.
11727 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11729 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11730 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11731 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11732 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11733 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11734 (avl-tree-stack-first):
11735 * emacs-lisp/cconv.el (cconv--analyse-use):
11736 * net/gnutls.el (gnutls-negotiate): Fix typos.
11738 2011-11-24 Glenn Morris <rgm@gnu.org>
11740 * lpr.el (lpr-windows-system, lpr-lp-system):
11741 * mail/binhex.el (binhex-begin-line):
11742 * progmodes/grep.el (grep-history, grep-find-history):
11743 * textmodes/flyspell.el:
11744 * vc/pcvs-defs.el (cvs-global-menu):
11745 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11746 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11747 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11749 * net/tls.el: Fix case of "GnuTLS".
11751 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11753 * version.el (emacs-build-system): Give it a doc-string.
11755 2011-11-24 Juri Linkov <juri@jurta.org>
11757 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11759 2011-11-24 Glenn Morris <rgm@gnu.org>
11761 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11762 if called on a non-mime message just toggle the headers. (Bug#8006)
11764 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11766 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11767 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11768 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11769 (allout-rebullet-heading, allout-open-sibtopic)
11770 (allout-toggle-current-subtree-encryption)
11771 (allout-toggle-subtree-encryption, allout-encrypt-string)
11772 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11773 (allout-distinctive-bullets-string, allout-auto-activation):
11774 * window.el (window-normalize-buffer-to-display):
11775 * progmodes/verilog-mode.el (verilog-batch-indent):
11776 * textmodes/bibtex.el (bibtex-field-braces-opt)
11777 (bibtex-field-strings-opt):
11778 * vc/cvs-status.el (cvs-tree-merge):
11781 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11783 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11784 `non-essential' to t, in order to avoid remote connections.
11786 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11788 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11789 On MS-DOS and MS-Windows, compare with loaddefs.el
11790 case-insensitively.
11792 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11794 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11796 2011-11-23 Glenn Morris <rgm@gnu.org>
11798 * paths.el (rmail-file-name): Reformat the doc-string so that it
11801 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11802 (rmail-auto-file): Ignore case in the "special" field names,
11803 as mail-fetch-field does for all others.
11805 * mail/rmail.el (rmail-forward):
11806 * mail/rmailkwd.el (rmail-set-label):
11807 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11808 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11810 * mail/rmail.el (rmail-current-message): Doc fix.
11812 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11814 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11818 2011-11-22 Glenn Morris <rgm@gnu.org>
11820 * mail/rmailmm.el (test-rmail-mime-handler)
11821 (test-rmail-mime-bulk-handler)
11822 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11824 2011-11-21 Juri Linkov <juri@jurta.org>
11826 * calc/calc.el (calc-read-key-sequence):
11827 Let-bind `input-method-function' to nil. (Bug#10018)
11829 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11832 Tell the caller that the next line needs recomputation, even
11833 though it doesn't start a sexp (bug#10094).
11835 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11839 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11842 Use force-same-window.
11844 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11846 * descr-text.el (describe-char-unicode-data):
11847 * json.el (json-string-escape):
11848 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11849 (Footnote-unicode, Footnote-style-p):
11850 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11852 2011-11-20 Chong Yidong <cyd@gnu.org>
11854 * window.el (replace-buffer-in-windows): Restore interactive spec.
11856 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11858 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11860 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11861 (byte-compile-global-not-obsolete-vars): New var.
11862 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11864 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11866 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11868 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11869 * progmodes/pascal.el (electric-pascal-equal):
11870 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11871 * xml.el (xml-substitute-special): Fix typos.
11873 2011-11-20 Glenn Morris <rgm@gnu.org>
11875 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11876 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11878 (rmail-decode-mime-charset): Mark as obsolete.
11880 * mail/rmailsum.el (rmail-message-regexp-p-1):
11881 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11882 Before using mime functions, check they are set. (Bug#10077)
11884 2011-11-19 Juri Linkov <juri@jurta.org>
11886 * info.el (Info-finder-find-node): Use `package--builtins' instead
11887 of `package-alist'. Use node names formed by the pattern "Keyword "
11888 and the keyword name.
11890 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11892 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11894 2011-11-19 Juri Linkov <juri@jurta.org>
11896 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11897 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11898 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11899 `old-history', `old-history-forward'. Add let-binding
11900 `window-selected'. Remove calls to `kill-buffer',
11901 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11902 before calling `Info-find-node', so `Info-find-node-2' will reread
11903 the Info file. Restore window positions only when `window-selected'
11906 2011-11-19 Juri Linkov <juri@jurta.org>
11908 * isearch.el (isearch-lazy-highlight-new-loop):
11909 Remove condition `(not isearch-error)'. (Bug#9918)
11911 * misearch.el (multi-isearch-search-fun): Add condition
11912 `(not bound)' to ignore lazy-highlighting search.
11913 Add the search-failed message "end of multi" when the end of
11914 multi-sequence is reached. Uncapitalize the search-failed
11915 message "Repeat for next buffer".
11917 * info.el (Info-search): Add the search-failed message
11918 "end of the manual" when the end of the manual is reached
11921 2011-11-19 Juri Linkov <juri@jurta.org>
11923 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11924 Use non-destructive `remove' instead of `delete' because
11925 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11926 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11928 2011-11-19 Juri Linkov <juri@jurta.org>
11930 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11931 to nil instead of binding `search-ring' and `regexp-search-ring'.
11934 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11936 * simple.el (line-move): Force movement by logical lines for any
11937 hscrolled window, not only when auto-hscroll-mode is on.
11938 (line-move-visual): Update doc string to that effect. (Bug#10076)
11940 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11942 * language/european.el (macintosh): Define as alias for mac-roman.
11944 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11946 * mail/rmailmm.el (rmail-mime-display-header)
11947 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11948 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11949 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11950 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11951 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11953 (rmail-mime-entity-segment): To get past the tagline, move forward
11954 2 more lines, to account for the 2 empty lines that precede and
11955 follow the line with the buttons.
11956 (rmail-mime-update-tagline): Move one more line, to get past the
11957 empty line that follows the buttons in the tagline. (Bug#9520)
11959 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11961 * window.el (window-max-delta-1, window-min-delta-1)
11962 (window-min-size-1, window-state-get-1, window-state-put-1)
11963 (window-state-put-2): Use "window--" prefix.
11965 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11968 (smie-warning-count): New var.
11969 (smie-set-prec2tab): Use it.
11970 (smie-bnf->prec2): Improve warnings. Add docstring.
11971 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11972 (smie-bnf--set-class): New function.
11973 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11976 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11977 (compilation-error-properties, compilation-move-to-column):
11978 Handle compilation-first-column while in the target buffer.
11980 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11981 Don't hardcode point-min==1.
11983 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11984 (eshell-rewrite-for-command): Remove workaround.
11985 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11986 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11987 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11989 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11991 2011-11-17 Glenn Morris <rgm@gnu.org>
11993 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11994 Ignore buffer-local generated-autoload-file if it is the same
11995 as the global value. (Bug#10049)
11997 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11999 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12000 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12001 (reftex-toc-previous-heading, reftex-toc-max-level)
12002 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12003 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12004 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12005 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12006 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12007 (reftex-toc-rename-label, reftex-toc-visit-location)
12008 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12009 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12010 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12011 leaving "*toc*" only for references to the buffer.
12013 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12015 * window.el (window-resize, delete-window, split-window):
12016 Replace window-splits by window-combination-resize.
12017 * cus-start.el (window-splits): Replace by window-combination-resize.
12019 2011-11-17 Glenn Morris <rgm@gnu.org>
12021 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12022 Make bash entry derive from sh entry, not shell entry.
12024 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12026 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12029 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12031 * menu-bar.el (menu-bar-file-menu):
12032 * printing.el (pr-ps-utility):
12033 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12034 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12035 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12036 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12037 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12038 (icalendar--convert-cyclic-to-ical)
12039 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12040 (icalendar--convert-ical-to-diary)
12041 (icalendar--convert-recurring-to-diary)
12042 (icalendar--convert-non-recurring-all-day-to-diary)
12043 (icalendar-import-format-sample):
12044 * progmodes/idlw-shell.el (idlwave-shell-mode):
12045 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12046 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12047 (vhdl-ps-print-init): Fix typos.
12049 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12051 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12052 FSF and collapse date sequence, obscure author/maintainer email address
12053 better, remove extra version line, track relocation of author's webpage.
12055 * progmodes/python.el (python-pdbtrack-input-prompt)
12056 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12057 regular python pdb prompts. Adjustments shamelessly taken exactly as
12058 suggested in EmacsWiki page (tiny change):
12059 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12061 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12063 * expand.el (expand-pos, expand-index, expand-point):
12064 Remove redundant info from docstring.
12065 (expand-add-abbrevs): Doc fix.
12066 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12067 (expand-sample-perl-mode-expand-list): Fix typos.
12069 * net/dbus.el (dbus-event-member-name):
12070 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12071 * term/pc-win.el (msdos-create-frame-with-faces):
12072 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12074 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12076 * window.el (split-window, window-state-get-1)
12077 (window-state-put-1, window-state-put-2): Rename occurrences of
12078 window-nest to window-combination-limit.
12079 * cus-start.el (window-nest): Rename to window-combination-limit.
12081 2011-11-16 Chong Yidong <cyd@gnu.org>
12083 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12084 regexp (Bug#10033).
12086 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12088 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12089 `completing-read' will remove *Completions* and will preserve
12090 current-buffer for us.
12091 (tmm-add-prompt): Users of *Completions* will always (re)set its
12093 (tmm-old-comp-map): Remove.
12095 2011-11-16 Glenn Morris <rgm@gnu.org>
12097 * mail/rmailedit.el: Require rmailmm when compiling.
12098 (rmail-old-mime-state): New declaration.
12099 (rmail-edit-current-message): If editing a mime message,
12100 edit the "raw" message from the mbox buffer.
12101 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12103 2011-11-15 Glenn Morris <rgm@gnu.org>
12105 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12106 which wasn't being used. Add optional arg to force given state.
12107 (rmail-mime): Add optional arg to force given state.
12109 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12111 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12112 * frame.el (display-mm-dimensions-alist):
12113 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12114 (outline-move-subtree-down):
12115 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12116 (newsticker--treeview-do-get-node):
12117 * net/quickurl.el (quickurl-list-buffer-name):
12118 * progmodes/dcl-mode.el (dcl-mode):
12119 * progmodes/gdb-mi.el (gdb-mapcar*):
12120 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12122 2011-11-15 Glenn Morris <rgm@gnu.org>
12124 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12125 in a boolean sense, so just make it a boolean, and fix the doc.
12126 (rmail-show-mime-function, rmail-mime-feature)
12127 (rmail-require-mime-maybe): Doc fixes.
12128 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12130 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12132 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12134 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12135 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12136 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12137 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12139 2011-11-15 Glenn Morris <rgm@gnu.org>
12141 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12142 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12143 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12144 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12145 (rmail-mime, rmail-show-mime): Doc fixes.
12147 * term/ns-win.el (mode-line-frame-identification):
12148 Leave it alone. (Bug#10051)
12150 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12152 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12153 Handle empty buffers. (Bug#9978)
12155 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12157 * international/mule.el (define-charset):
12158 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12159 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12160 * progmodes/verilog-mode.el (verilog-backward-token):
12161 * textmodes/ispell.el (lookup-words):
12162 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12164 2011-11-14 Glenn Morris <rgm@gnu.org>
12166 * progmodes/executable.el
12167 (executable-make-buffer-file-executable-if-script-p):
12168 Handle file-modes returning nil.
12170 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12171 message - not necessary, and causes problems. (Bug#9831)
12173 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12175 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12177 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12178 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12179 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12181 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12183 * window.el (window-resize, delete-window): Use window-splits
12184 variable instead of function.
12185 (window-state-get-1, window-state-put-2, window-state-put):
12186 Don't deal with windows' splits status.
12188 2011-11-12 Glenn Morris <rgm@gnu.org>
12190 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12191 (apropos-documentation): Doc fixes.
12193 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12195 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12196 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12198 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12200 * electric.el (electric-indent-post-self-insert-function): Make it
12201 possible for a char to only indent in some circumstances.
12202 (electric-indent-mode): Simplify.
12204 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12206 * window.el (windows-with-parameter): Remove unused function.
12207 (windows-at-side): Rename to window-at-side-list.
12208 (window-check, window-atom-check, window-atom-check-1)
12209 (window-side-check, window-size-ignore, window-size-fixed-1)
12210 (window-in-direction-2): Prefix with "window--".
12211 (window-tree-1): Rename to window--subtree, fix doc-string.
12213 2011-11-11 Glenn Morris <rgm@gnu.org>
12215 * subr.el (eval-after-load): If FILE is already loaded,
12216 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12218 2011-11-10 Glenn Morris <rgm@gnu.org>
12220 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12221 Call svn via vc-svn-command rather than vc-do-command.
12222 (vc-svn-command): Add --non-interactive. (Bug#9993)
12223 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12225 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12226 Add toggle-read-only. (Bug#7292)
12227 * files.el (toggle-read-only): Mention that it should only
12228 be used interactively. (Bug#10006)
12230 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12233 Adjust regexp for OCaml warnings.
12235 * electric.el (electric-pair-post-self-insert-function): Let user
12236 turn it off buffer-locally (bug#9932).
12238 * progmodes/python.el (python-beginning-of-statement):
12239 Rewrite (bug#2703).
12241 * progmodes/compile.el: Better handle TABs (bug#9749).
12242 (compilation-internal-error-properties)
12243 (compilation-next-error-function): Obey the target buffer's
12244 compilation-error-screen-columns.
12246 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12248 * progmodes/meta-mode.el: Remove obsolete comments.
12249 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12250 Fix typos in docstrings.
12252 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12254 * window.el (window-size-fixed-p): Rewrite doc-string.
12255 (window-resizable-p): Rename to window--resizable-p. Update callers.
12256 (window--resizable): New function. Make all callers of
12257 window-resizable call window--resizable instead.
12258 (window-resizable): Rewrite in terms of window--resizable.
12260 2011-11-08 Glenn Morris <rgm@gnu.org>
12262 * progmodes/delphi.el (delphi-mode-syntax-table):
12263 Let define-derived-mode define a proper syntax table. (Bug#9994)
12265 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * window.el: Stay away from defsubst.
12268 (window-list-no-nils): Remove.
12269 (window-state-get-1, window-state-get): Use backquote instead.
12271 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12273 * emacs-lisp/find-func.el (find-function-read):
12274 Fix incorrect use of default argument in `completing-read'.
12276 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12278 * window.el (display-buffer-function, special-display-function):
12279 Mention display-buffer-record-window but do not mention
12280 help-setup parameter in doc-strings.
12281 (window-min-delta): Fix doc-string typo.
12283 2011-11-08 Chong Yidong <cyd@gnu.org>
12285 * window.el (window-total-height, window-total-width): Doc fix.
12286 (window-body-size): Move from C.
12287 (window-body-height, window-body-width): Move to C.
12289 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12291 * window.el: Make special-display like display-buffer-alist (bug#9532).
12292 (display-buffer--special-action): New function, morphed
12293 from display-buffer--special.
12294 (display-buffer): Use it to handle special-display-buffers at higher
12295 priority (just after display-buffer-alist).
12296 (display-buffer-fallback-action, display-buffer--other-frame-action)
12297 (pop-to-buffer-same-window): Remove display-buffer--special.
12299 2011-11-07 Glenn Morris <rgm@gnu.org>
12301 * calendar/cal-menu.el (cal-menu-set-date-title):
12302 Do nothing if not in a calendar. (Bug#9976)
12304 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * files.el (find-file): Always use selected-window.
12308 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12310 * window.el (window-combinations): Make WINDOW argument
12311 mandatory. Rewrite doc-string.
12312 (walk-window-subtree, window-atom-check, window-min-delta)
12313 (window-max-delta, window--resize-this-window)
12314 (window--resize-root-window-vertically, window-tree)
12315 (balance-windows, window-state-put): Rewrite doc-strings as to
12316 not mention the term "subwindow".
12317 (window--resize-subwindows-skip-p): Rename to
12318 window--resize-child-windows-skip-p.
12319 (window--resize-subwindows-normal): Rename to
12320 window--resize-child-windows-normal.
12321 (window--resize-subwindows): Rename to
12322 window--resize-child-windows.
12323 (window-or-subwindow-p): Rename to window--in-subtree-p.
12325 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12327 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12328 Ensure that mbox format messages end in two newlines (Bug#9974).
12330 2011-11-06 Chong Yidong <cyd@gnu.org>
12332 * window.el (window-combination-p): Function deleted; its
12333 side-effect is not used in any existing code.
12334 (window-combinations, window-combined-p): Call window-*-child
12337 2011-11-05 Chong Yidong <cyd@gnu.org>
12339 * window.el (window-valid-p): Rename from window-any-p.
12340 (window-size-ignore, window-state-get): Callers changed.
12341 (window-normalize-window): Rename from window-normalize-any-window.
12342 New arg LIVE-ONLY, replacing window-normalize-live-window.
12343 (window-normalize-live-window): Delete.
12344 (window-combination-p, window-combined-p, window-combinations)
12345 (walk-window-subtree, window-atom-root, window-min-size)
12346 (window-sizable, window-sizable-p, window-size-fixed-p)
12347 (window-min-delta, window-max-delta, window-resizable)
12348 (window-resizable-p, window-full-height-p, window-full-width-p)
12349 (window-current-scroll-bars, window-point-1, set-window-point-1)
12350 (window-at-side-p, window-in-direction, window-resize)
12351 (adjust-window-trailing-edge, maximize-window, minimize-window)
12352 (window-deletable-p, delete-window, delete-other-windows)
12353 (record-window-buffer, unrecord-window-buffer)
12354 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12355 (quit-window, split-window, window-state-put)
12356 (set-window-text-height, fit-window-to-buffer)
12357 (shrink-window-if-larger-than-buffer): Callers changed.
12359 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12361 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12362 rfc2047-decode-string.
12363 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12366 * window.el (window-body-height, window-body-width): Mention in
12367 the doc string that the return values are in frame's canonical
12370 2011-11-03 Alan Mackenzie <acm@muc.de>
12372 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12373 change in cc-engine.el.
12375 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12377 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12379 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12381 * window.el (quit-window): Call unrecord-window-buffer after
12382 showing another buffer in the window. (Bug#9937)
12383 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12385 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12387 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12388 Accept status with more than 9 shelves. (Bug#9935)
12389 Reported by Colin D Bennett <colin@gibibit.com>.
12391 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12393 * help.el (with-help-window): Don't reference
12394 temp-buffer-show-specifiers in doc-string.
12396 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12398 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12401 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12403 * whitespace.el: New version 13.2.2.
12404 (whitespace-newline-mode): Disable properly. Reported by Sarah
12407 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12409 * net/newst-treeview.el: Remove "Time-stamp".
12410 (newsticker--group-manage-orphan-feeds): Do not call
12411 newsticker--treeview-tree-update.
12412 (newsticker-treeview-update, newsticker-treeview):
12413 Call newsticker--treeview-tree-update if necessary.
12415 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12417 * window.el (window-iso-combination-p, window-iso-combined-p)
12418 (window-iso-combinations): Remove "iso-" infix.
12419 Suggested by Chong Yidong.
12420 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12421 (window-max-delta-1, window-resize, window--resize-siblings)
12422 (window--resize-this-window, adjust-window-trailing-edge)
12423 (split-window, balance-windows-1)
12424 (shrink-window-if-larger-than-buffer):
12425 * calendar/calendar.el (calendar-generate-window):
12426 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12428 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12431 in place (bug#9907).
12432 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12433 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12434 (eshell-structure-basic-command, eshell-rewrite-while-command)
12435 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12436 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12437 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12438 (eshell-do-pipelines-synchronously, eshell-eval-command):
12439 Use backquotes and prefer setq to set.
12440 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12441 (eshell-macrop): Use functionp.
12442 (eshell-do-eval): Handle multiple expressions in `while' body.
12444 2011-10-30 Chong Yidong <cyd@gnu.org>
12446 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12447 instead of set-mark (Bug#9810).
12449 2011-10-30 Chong Yidong <cyd@gnu.org>
12451 * window.el (split-window-below, split-window-right): Rename from
12452 split-window-above-each-other and split-window-side-by-side
12453 respectively. All callers changed.
12454 (split-window-sensibly, split-window-sensibly): Use them.
12455 (split-window-keep-point): Doc fix.
12457 * isearch.el: Add isearch-scroll property to split-window-below
12458 and split-window-right.
12460 * follow.el (follow-mode):
12461 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12462 * progmodes/ada-xref.el (ada-gdb-application):
12463 * emulation/vip.el (vip-buffer-in-two-windows):
12464 * image-dired.el (image-dired-dired-with-window-configuration):
12465 * dired-x.el (dired-do-find-marked-files):
12466 * dired.el (dired-pop-to-buffer):
12467 * bs.el (bs--show-with-configuration):
12468 * vc/emerge.el (emerge-setup-windows):
12469 * textmodes/two-column.el (2C-two-columns):
12470 * textmodes/reftex-toc.el (reftex-toc):
12471 * progmodes/gdb-mi.el (gdb-setup-windows):
12472 * progmodes/fortran.el (fortran-window-create):
12473 * net/newst-treeview.el (newsticker--treeview-window-init):
12474 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12475 * emulation/tpu-edt.el (tpu-gold-map):
12476 * emulation/crisp.el (crisp-mode-map):
12477 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12479 2011-10-29 Chong Yidong <cyd@gnu.org>
12481 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12483 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12485 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12486 forged Ispell output (Bug#7904).
12488 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12490 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * doc-view.el: Avoid ugly errors about not finding nil.
12493 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12494 (doc-view-dvipdf-program, doc-view-unoconv-program)
12495 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12496 Avoid nil or absolute file name as default value.
12497 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12499 2011-10-28 Alan Mackenzie <acm@muc.de>
12501 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12503 2011-10-28 Alan Mackenzie <acm@muc.de>
12505 Amend the handling of c-beginning/end-of-defun in nested declaration
12508 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12509 cc-langs.el. Change it to a defcustom.
12511 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12514 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12515 Prevent "class foo : bar" being spuriously recognized as a label.
12517 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12518 Add parameter `inclusive' (to include enclosing braces in the region).
12519 (c-widen-to-enclosing-decl-scope): New function.
12520 (c-while-widening-to-decl-block): New macro.
12521 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12522 outward for defun boundaries, and correspondingly change symbol
12523 `respect-enclosure' to `go-outward'.
12524 (c-declaration-limits): Change algorithm to report only the "innermost"
12525 defun's boundaries.
12527 2011-10-28 Deniz Dogan <deniz@dogan.se>
12529 * net/rcirc.el (rcirc-mode): Use hard newlines.
12531 2011-10-28 Alan Mackenzie <acm@muc.de>
12533 Amend to indent and fontify macros "which include their own semicolon"
12534 correctly, using the "virtual semicolon" mechanism.
12536 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12538 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12539 Recode to scan one line at a time rather than having \n and \r
12540 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12541 (c-forward-label): Amend for virtual semicolons.
12542 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12544 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12545 of the new C macros.
12547 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12548 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12549 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12550 (c-opt-cpp-macro-define): Make into a full language variable.
12551 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12552 AWK Mode (including \n, \r) removed, no longer needed.
12554 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12555 Invoke c-make-macro-with-semi-re.
12557 * progmodes/cc-vars.el (c-macro-with-semi-re):
12558 (c-macro-names-with-semicolon): New variables.
12559 (c-make-macro-with-semi-re): New function.
12561 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * vc/log-edit.el: Fill empty field rather than adding new one.
12564 (log-edit-add-field): New function.
12565 (log-edit-insert-changelog): Use it.
12567 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12569 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12571 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12573 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12574 (gdb--check-interpreter): New function.
12577 2011-10-27 Glenn Morris <rgm@gnu.org>
12579 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12580 (least-positive-float, least-negative-float)
12581 (least-positive-normalized-float, least-negative-normalized-float)
12582 (float-epsilon, float-negative-epsilon):
12583 Remove unnecessary declarations.
12585 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12586 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12587 (least-positive-float, least-negative-float)
12588 (least-positive-normalized-float, least-negative-normalized-float)
12589 (float-epsilon, float-negative-epsilon): Add doc-strings,
12590 based on those in cl.texi.
12592 * files.el (set-visited-file-name): If the major-mode changed,
12593 reload the local variables. (Bug#9796)
12595 2011-10-27 Chong Yidong <cyd@gnu.org>
12597 * subr.el (change-major-mode-after-body-hook): New hook.
12598 (run-mode-hooks): Run it.
12600 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12601 Use change-major-mode-before-body-hook.
12603 * simple.el (fundamental-mode):
12604 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12605 change introducing fundamental-mode-hook.
12607 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12609 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12611 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12613 * ido.el (ido-file-name-all-completions-1): Do not require
12614 tramp.el explicitly. (Bug#7583)
12616 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * progmodes/octave-mod.el:
12619 * progmodes/octave-inf.el: Update maintainer.
12621 2011-10-26 Chong Yidong <cyd@gnu.org>
12623 * subr.el (with-wrapper-hook): Rewrite doc.
12625 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12627 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12628 filenames "/method:foo:". (Bug#9793)
12630 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12635 2011-10-24 Glenn Morris <rgm@gnu.org>
12637 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12639 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12641 * notifications.el: Add the requirement of a running D-Bus session
12642 bus to the Commentary.
12644 2011-10-24 Juri Linkov <juri@jurta.org>
12646 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12647 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12650 2011-10-24 Juri Linkov <juri@jurta.org>
12652 * info.el (Info-following-node-name-re): Add newline to the list
12653 of allowed characters for leading space. (Bug#9824)
12655 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * progmodes/octave-inf.el (inferior-octave-mode-map):
12658 Fix C-c C-h binding.
12659 * progmodes/octave-mod.el (octave-help): Remove.
12661 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12663 Sync with Tramp 2.2.3.
12665 * net/tramp-cache.el (top): Pacify byte-compiler using
12666 `init-file-user' and `site-run-file'.
12668 * net/trampver.el: Update release number.
12670 2011-10-23 Chong Yidong <cyd@gnu.org>
12672 * files.el (toggle-read-only): Remove obsolete comment about
12675 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12676 for toggle-read-only. Note that this hasn't called vc-next-action
12677 since 2008-05-02, though it wasn't documented at the time.
12679 * vc/ediff-init.el (ediff-toggle-read-only-function):
12680 Use toggle-read-only.
12682 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12684 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12687 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12688 correct faulty logical expression.
12689 (c-parse-state-state, c-record-parse-state-state):
12690 (c-replay-parse-state-state): New defvar/defuns.
12691 (c-debug-parse-state): Use new functions.
12693 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12695 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12696 last fix. Use window-in-direction correctly.
12698 2011-10-21 Chong Yidong <cyd@gnu.org>
12700 * progmodes/idlwave.el (idlwave-mode):
12701 * progmodes/vera-mode.el (vera-mode): No need to set
12702 require-final-newline; that's done in prog-mode.
12703 Suggested by Stefan Monnier.
12705 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12707 * mouse.el (mouse-drag-window-above)
12708 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12709 (mouse-drag-mode-line-1, mouse-drag-header-line)
12710 (mouse-drag-vertical-line-rightward-window): Remove.
12711 (mouse-drag-line): New function.
12712 (mouse-drag-mode-line, mouse-drag-header-line)
12713 (mouse-drag-vertical-line): Call mouse-drag-line.
12714 * window.el (window-at-side-p, windows-at-side): New functions.
12716 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12718 * tar-mode.el (tar-grind-file-mode):
12719 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12721 2011-10-21 Chong Yidong <cyd@gnu.org>
12723 * progmodes/idlwave.el (idlwave-mode):
12724 * progmodes/vera-mode.el (vera-mode):
12725 Use mode-require-final-newline.
12727 2011-10-20 Glenn Morris <rgm@gnu.org>
12729 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12731 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12733 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12735 2011-10-20 Chong Yidong <cyd@gnu.org>
12737 * emulation/cua-base.el (cua-mode):
12738 * mail/footnote.el (footnote-mode):
12739 * mail/mailabbrev.el (mail-abbrevs-mode):
12740 * net/xesam.el (xesam-minor-mode):
12741 * progmodes/bug-reference.el (bug-reference-mode):
12742 * progmodes/cap-words.el (capitalized-words-mode):
12743 * progmodes/compile.el (compilation-minor-mode)
12744 (compilation-shell-minor-mode):
12745 * progmodes/gud.el (gud-tooltip-mode):
12746 * progmodes/hideif.el (hide-ifdef-mode):
12747 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12748 * progmodes/subword.el (subword-mode):
12749 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12750 * progmodes/which-func.el (which-function-mode):
12751 * term/tvi970.el (tvi970-set-keypad-mode):
12752 * term/vt100.el (vt100-wide-mode):
12753 * textmodes/flyspell.el (flyspell-mode):
12754 * textmodes/ispell.el (ispell-minor-mode):
12755 * textmodes/nroff-mode.el (nroff-electric-mode):
12756 * textmodes/paragraphs.el (use-hard-newlines):
12757 * textmodes/refill.el (refill-mode):
12758 * textmodes/reftex.el (reftex-mode):
12759 * textmodes/rst.el (rst-minor-mode):
12760 * textmodes/sgml-mode.el (html-autoview-mode)
12761 (sgml-electric-tag-pair-mode):
12762 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12763 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12764 * emulation/crisp.el (crisp-mode):
12765 * emacs-lisp/eldoc.el (eldoc-mode):
12766 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12767 minor mode behavior.
12769 2011-10-19 Juri Linkov <juri@jurta.org>
12771 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12772 the list of hard-coded chars with escape-glyph face.
12774 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12778 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12780 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12783 2011-10-19 Glenn Morris <rgm@gnu.org>
12785 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12786 Ignore ignored files. (Bug#9726)
12788 2011-10-19 Chong Yidong <cyd@gnu.org>
12790 Doc fix for minor modes, stating that an omitted argument enables
12791 the mode unconditionally when called from Lisp.
12793 * abbrev.el (abbrev-mode):
12794 * allout.el (allout-mode):
12795 * autoinsert.el (auto-insert-mode):
12796 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12797 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12798 (global-auto-revert-mode):
12799 * battery.el (display-battery-mode):
12800 * composite.el (global-auto-composition-mode)
12801 (auto-composition-mode):
12802 * delsel.el (delete-selection-mode):
12803 * desktop.el (desktop-save-mode):
12804 * dired-x.el (dired-omit-mode):
12805 * dirtrack.el (dirtrack-mode):
12806 * doc-view.el (doc-view-minor-mode):
12807 * double.el (double-mode):
12808 * electric.el (electric-indent-mode, electric-pair-mode):
12809 * emacs-lock.el (emacs-lock-mode):
12810 * epa-hook.el (auto-encryption-mode):
12811 * follow.el (follow-mode):
12812 * font-core.el (font-lock-mode):
12813 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12814 * help.el (temp-buffer-resize-mode):
12815 * hilit-chg.el (highlight-changes-mode)
12816 (highlight-changes-visible-mode):
12817 * hi-lock.el (hi-lock-mode):
12818 * hl-line.el (hl-line-mode, global-hl-line-mode):
12819 * icomplete.el (icomplete-mode):
12820 * ido.el (ido-everywhere):
12821 * image-file.el (auto-image-file-mode):
12822 * image-mode.el (image-minor-mode):
12823 * iswitchb.el (iswitchb-mode):
12824 * jka-cmpr-hook.el (auto-compression-mode):
12825 * linum.el (linum-mode):
12826 * longlines.el (longlines-mode):
12827 * master.el (master-mode):
12828 * mb-depth.el (minibuffer-depth-indicate-mode):
12829 * menu-bar.el (menu-bar-mode):
12830 * minibuf-eldef.el (minibuffer-electric-default-mode):
12831 * mouse-sel.el (mouse-sel-mode):
12832 * msb.el (msb-mode):
12833 * mwheel.el (mouse-wheel-mode):
12834 * outline.el (outline-minor-mode):
12835 * paren.el (show-paren-mode):
12836 * recentf.el (recentf-mode):
12837 * reveal.el (reveal-mode, global-reveal-mode):
12838 * rfn-eshadow.el (file-name-shadow-mode):
12839 * ruler-mode.el (ruler-mode):
12840 * savehist.el (savehist-mode):
12841 * scroll-all.el (scroll-all-mode):
12842 * scroll-bar.el (scroll-bar-mode):
12843 * server.el (server-mode):
12844 * shell.el (shell-dirtrack-mode):
12845 * simple.el (auto-fill-mode, transient-mark-mode)
12846 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12847 (line-number-mode, column-number-mode, size-indication-mode)
12848 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12849 * strokes.el (strokes-mode):
12850 * time.el (display-time-mode):
12851 * t-mouse.el (gpm-mouse-mode):
12852 * tool-bar.el (tool-bar-mode):
12853 * tooltip.el (tooltip-mode):
12854 * type-break.el (type-break-mode-line-message-mode)
12855 (type-break-query-mode):
12856 * view.el (view-mode):
12857 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12858 (global-whitespace-mode, global-whitespace-newline-mode):
12859 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12861 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12862 Fix autogenerated docstring.
12864 2011-10-19 Juri Linkov <juri@jurta.org>
12866 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12867 by checking environment variables "DESKTOP_SESSION" and
12868 "XDG_CURRENT_DESKTOP". (Bug#9779)
12870 2011-10-19 Juri Linkov <juri@jurta.org>
12872 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12873 (browse-url-chromium-program, browse-url-chromium-arguments):
12875 (browse-url-default-browser): Check for `browse-url-chromium' and
12876 call `browse-url-chromium-program'.
12877 (browse-url-chromium): New command. (Bug#9779)
12879 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12881 * facemenu.el (list-colors-duplicates): On Windows, detect more
12882 duplicates by assuming that only colors matching "^System" are
12883 special "system colors". (Bug#9722)
12885 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12888 to distinguish the author from the committer.
12890 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12892 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12894 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12896 * international/mule.el (sgml-html-meta-auto-coding-function):
12897 Add support for detecting encoding in HTML5 specified only as
12898 <meta charset="UTF-8">. Implementation just makes http-equiv and
12899 content-type parts from HTML4 encoding string optional. (Bug#9716)
12901 2011-10-18 Glenn Morris <rgm@gnu.org>
12903 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12905 2011-10-18 Chong Yidong <cyd@gnu.org>
12907 * faces.el (cursor): Doc fix.
12909 2011-10-17 Chong Yidong <cyd@gnu.org>
12911 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12913 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12915 * dirtrack.el (dirtrack): Support shell buffers with path
12916 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12918 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12920 * json.el: Bump version to 1.3 and note change in History.
12921 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12923 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12925 * comint.el (comint-insert-input, comint-send-input)
12926 (comint-get-old-input-default, comint-backward-matching-input)
12927 (comint-next-prompt): Use nil instead of `input' for field property of
12928 past user input (bug#114).
12930 * minibuffer.el (completion--replace): Inherit surrounding properties
12932 (minibuffer-complete-and-exit): Use it.
12934 * comint.el (comint--table-subvert): Quote the all-completions output
12937 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12939 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12941 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12942 window on right of selected. (Bug#9350) Reword other window
12943 entries and separate them from frame entries.
12945 2011-10-15 Glenn Morris <rgm@gnu.org>
12947 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12950 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12952 * net/network-stream.el (network-stream-open-starttls):
12953 Improve detection of failure due to lack of TLS support.
12955 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12956 putting the input text in front and in bold.
12958 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12962 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12965 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12966 unread-command-events rather than pushing yet-another event.
12968 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12970 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12971 the explanation of the possible choices. Make the options passed
12972 to completing-read shorter.
12974 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12976 * textmodes/flyspell.el (flyspell-large-region): Make sure
12977 extended character mode is used if defined (Bug#1339).
12979 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12981 * simple.el (what-cursor-position): Fix the display of the
12982 character info for LRE, LRO, RLE, and RLO characters by appending
12985 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12988 even in case of error; add debug spec; simplify data flow.
12989 (with-timeout-handler): Remove.
12991 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12993 Fix Bug#6019, Bug#9315.
12995 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12996 complete `buffer-file-name', the local file name part could look
12997 remotely (for example on VMS).
12999 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13000 `tramp-run-real-handler'.
13001 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13002 already quoted by '"'.
13004 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13005 Let `file-name-handler-alist' be nil, the local file name part
13006 could look remotely (for example on VMS).
13008 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13010 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13012 (flyspell-post-command-hook): ...to here.
13014 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13018 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13019 using completion. Protect against "slow" callers.
13020 Remove the "message hack".
13022 2011-10-11 Juri Linkov <juri@jurta.org>
13024 * isearch.el (isearch-lazy-highlight-word): New variable.
13025 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13028 2011-10-11 Glenn Morris <rgm@gnu.org>
13030 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13031 like f90-previous-statement does.
13033 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13035 * eshell/eshell.el (eshell-command): History should be saved
13036 only in interactive use, to avoid error.
13038 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13040 * minibuffer.el (completion-file-name-table): Fix last change,
13041 i.e. ignore normal errors but not the other ones.
13043 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13045 * window.el (special-display-buffer-names)
13046 (special-display-regexps): Remove some remnants of earlier
13047 changes from doc-strings.
13048 (quit-windows-on): New function.
13050 * vc/vc.el (vc-revert, vc-rollback):
13051 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13052 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13053 (Bug#6183) (Bug#7074) (Bug#7447)
13055 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13057 * window.el (frame-auto-hide-function): Add version tag.
13060 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13062 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13065 2011-10-09 Leo Liu <sdl.web@gmail.com>
13067 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13070 2011-10-08 Glenn Morris <rgm@gnu.org>
13072 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13073 before the first code statement zero indent. (Bug#9690)
13075 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13077 * simple.el (count-words-region): Always count in the region.
13078 Report the number of lines and characters too.
13079 (count-words): New command, which counts in the buffer if the
13080 region is inactive, as count-words-region used to.
13081 (count-words--message): New function. Handle plurals.
13082 (count-lines-region): Make it an alias for count-words-region.
13084 * bindings.el (esc-map): Replace count-lines-region with
13085 count-words-region.
13087 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13089 * window.el (window--delete): Delete dedicated frame
13090 unconditionally when argument KILL is non-nil. (Bug#9699)
13091 (switch-to-buffer): Fix doc-string typo.
13093 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13095 * eshell/eshell.el (eshell-command): Avoid using hooks.
13097 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13099 * bindings.el ([M-left],[M-right]): Bind to left-word and
13100 right-word respectively.
13102 2011-10-07 Glenn Morris <rgm@gnu.org>
13104 * cus-start.el (debug-on-quit): Fix custom type.
13106 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108 * subr.el (define-key-after): Clarify that the function is not
13109 useful for non-menu keymaps.
13111 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13113 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13115 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13116 in current minibuffer (Fix bug with recursive minibuffers).
13118 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13120 * progmodes/gdb-mi.el (gdb): Doc fix.
13122 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13124 * window.el (frame-auto-hide-function): New option replacing
13125 frame-auto-delete. Suggested by Stefan Monnier.
13126 (window--delete): Call frame-auto-hide-function instead of
13127 investigating frame-auto-delete.
13128 (window-point-1, set-window-point-1): New functions.
13129 (window-in-direction, record-window-buffer, window-state-get-1)
13130 (display-buffer-record-window): Use window-point-1 instead of
13132 (set-window-buffer-start-and-point): Use set-window-point-1.
13134 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13136 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13138 2011-10-05 Glenn Morris <rgm@gnu.org>
13140 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13141 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13143 2011-10-05 Leo Liu <sdl.web@gmail.com>
13145 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13146 works with buffer object.
13148 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13150 * mpc.el (mpc-tool-bar-map): Add labels.
13152 2011-10-04 Glenn Morris <rgm@gnu.org>
13154 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13156 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13158 * window.el (window--delete): New function.
13159 (frame-auto-delete): Resuscitate option.
13160 (bury-buffer, replace-buffer-in-windows)
13161 (quit-window): Rewrite using window--delete.
13162 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13163 Pass display-buffer-mark-dedicated to window--display-buffer-2
13166 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13168 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13169 returns a list (bug#9554). Add remote file name completion.
13170 * comint.el (comint--table-subvert): Curry and get quote&unquote
13171 functions as arguments.
13172 (comint--complete-file-name-data): Adjust call accordingly.
13173 * pcomplete.el (pcomplete--table-subvert): Remove.
13174 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13176 * minibuffer.el (completion-table-case-fold): Use currying.
13177 (completion--styles-type, completion--cycling-threshold-type):
13179 (completion-styles, completion-category-overrides)
13180 (completion-cycle-threshold): Use them.
13181 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13182 completion-table-case-fold.
13184 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13186 * minibuffer.el (completion-category-overrides): Fix type of styles
13187 and add more user friendly tags (bug#9660).
13189 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13192 (mule-input-method-string): New widget.
13193 (default-input-method, language-info-custom-alist): Use it.
13195 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13197 * pcomplete.el: Require comint.
13198 (pcomplete--common-suffix): Remove.
13199 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13200 (pcomplete--table-subvert): Sync with comint--table-subvert.
13201 (pcomplete--entries): Use comint-completion-file-name-table.
13202 * comint.el (comint-unquote-filename): Simplify.
13203 (comint-completion-file-name-table): New function (bug#9616).
13204 (comint--complete-file-name-data): Use it.
13206 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13207 (pcmpl-gnu-tar-buffer): Remove.
13208 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13209 around. Make sure pcomplete-suffix-list is only changed temporarily.
13210 Don't look inside the tar's file if it's too large.
13212 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13214 * cus-edit.el (custom-mode-map):
13215 * epa.el (epa-key-list-mode-map):
13216 * man.el (Man-mode-map):
13217 * startup.el (splash-screen-keymap):
13218 * simple.el (special-mode-map): Use scroll-up-command and
13219 scroll-down-command.
13221 * progmodes/idlw-help.el (idlwave-help-mode-map):
13222 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13223 * net/newst-plainview.el (newsticker-mode-map):
13224 * emulation/ws-mode.el (wordstar-mode-map):
13225 * emulation/vi.el (vi-com-map):
13226 * calc/calc-graph.el (calc-graph-show-dumb):
13227 * term/sun.el (terminal-init-sun):
13228 * term/ns-win.el (global-map):
13229 * progmodes/grep.el (grep-mode-map):
13230 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13231 * mail/rmail.el (rmail-mode-map):
13232 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13234 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13235 custom-safe-themes as special.
13237 2011-10-01 Julien Danjou <julien@danjou.info>
13239 * notifications.el (notifications-notify): Fix docstring.
13241 2011-10-01 Per Starbäck <per@starback.se>
13243 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13245 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13247 * startup.el (command-line-1): Fix last fix by inserting
13248 initial-scratch-message into *scratch* before displaying it.
13249 (Bug#9605) and (Bug#9636)
13251 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13253 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13254 window is hscrolled, move by logical lines. (Bug#9607)
13255 (line-move-visual): Update the doc string to the above effect.
13257 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13259 * window.el (display-buffer-record-window): When WINDOW is the
13260 selected window use `point' instead of `window-point'. (Bug#9626)
13262 * startup.el (command-line-1): Use insert-before-markers when
13263 inserting initial-scratch-message. (Bug#9605)
13265 * help.el (help-window): Remove variable.
13267 2011-09-29 Glenn Morris <rgm@gnu.org>
13269 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13271 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13273 * descr-text.el (describe-char-categories): Accept category
13274 descriptions more than one line long.
13276 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * simple.el (delete-trailing-whitespace): Fix last change.
13280 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13281 Don't confuse "y => 3" as the beginning of a `y' operation.
13283 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13284 object has more than 4 slots (bug#9613).
13286 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13288 * subr.el (with-output-to-temp-buffer):
13289 * net/quickurl.el (quickurl, quickurl-browse-url):
13290 Fix typos in docstrings.
13292 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13294 * minibuffer.el (completion-styles)
13295 (completion-category-overrides): Cross reference each other in doc
13298 2011-09-27 Glenn Morris <rgm@gnu.org>
13300 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13301 to split-string. (Bug#9606)
13303 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13305 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13308 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13310 * emacs-lisp/package.el (list-packages): Fix echo area message.
13312 2011-09-27 Leo Liu <sdl.web@gmail.com>
13314 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13316 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13318 * net/dbus.el (dbus-unregister-object): Don't release services for
13319 registered signals. (Bug#9581)
13321 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13323 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13324 function that picks between cfengine 2 and 3 support
13325 automatically. Update docs accordingly.
13327 2011-09-22 Kenichi Handa <handa@m17n.org>
13329 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13331 (indian-itrans-v5-table-for-tamil): New variable.
13332 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13334 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13336 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13337 that's true if the current command involved collapsing of text.
13338 It's reset to false at the beginning of the next command.
13339 (allout-post-command-business): Move the cursor to the beginning
13340 of entry if the cursor is hidden and collapsing activity just
13343 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13345 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13346 tracking (Bug#9541).
13348 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13350 * net/newst-reader.el (newsticker-html-renderer)
13351 (newsticker-show-news): Automatically load html rendering package
13352 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13353 because w3m-fill-column is let-bound" and the error "Symbol's value
13354 as variable is void: w3m-fill-column".
13356 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13358 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13359 Release services only if they are defined. (Bug#9581)
13361 2011-09-23 Richard Stallman <rms@gnu.org>
13363 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13364 distinguish start of paragraph from start of its text.
13366 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13368 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13369 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13370 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13372 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13374 * international/mule-diag.el (mule-diag): Insert a newline after
13375 each fontset description.
13377 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13379 * simple.el (delete-trailing-whitespace):
13380 Document last change; simplify.
13382 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13384 * simple.el (delete-trailing-whitespace): Also delete
13385 extra newlines at the end of the buffer.
13387 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13388 (picture-newline): Use forward-line so as to ignore fields.
13390 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13392 * subr.el (with-wrapper-hook): Fix edebug spec.
13394 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13396 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13399 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13401 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13402 Fix nasty bug using wrong cached values.
13404 2011-09-23 Alan Mackenzie <acm@muc.de>
13406 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13408 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13410 * window.el (pop-to-buffer): Ensure right window is selected if we
13411 chose another frame.
13413 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13415 * simple.el (what-cursor-position): Use get-char-property-change
13416 and next-single-char-property-change, to be able to show display
13417 properties that come from overlays as well as text properties.
13419 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13421 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13423 * cmuscheme.el (run-scheme, switch-to-scheme):
13424 * cus-edit.el (customize-group, custom-buffer-create)
13425 (customize-browse):
13427 * shell.el (shell):
13428 * mail/sendmail.el (mail):
13429 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13431 2011-09-22 Richard Stallman <rms@gnu.org>
13433 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13434 move back only to line beg, don't move back over blank lines.
13436 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13438 * files.el (copy-directory): Set directory attributes only in case
13439 they could be retrieved from the source directory. (Bug#9565)
13441 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13443 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13444 (hs-find-block-beginning, hs-hide-level-recursive):
13445 Ignore strings as well as comments. (Bug#9502)
13447 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13449 * progmodes/sql.el (sql-comint-postgres):
13450 Convert port number to a string. (Bug#9566)
13452 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13454 * window.el (quit-window): Undedicate window when switching to
13455 previous buffer. Reported by Thierry Volpiatto
13456 <thierry.volpiatto@gmail.com>.
13457 (special-display-popup-frame): When popping up a new frame reset
13458 its previous buffers to nil. Simplify code.
13460 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13462 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13463 and process filter, as done also in `shell-command'.
13465 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13467 * window.el (set-window-buffer-start-and-point):
13468 Call set-window-start with NOFORCE argument t.
13469 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13470 (quit-window): Reword doc-string. Handle new format of
13471 quit-restore parameter. Don't delete window if it has a
13472 previous buffer we can show instead of the present one.
13473 (display-buffer-record-window): Rewrite using a new format for
13474 the quit-restore window parameter
13475 (special-display-popup-frame, display-buffer-same-window)
13476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13477 (display-buffer-pop-up-window, display-buffer-use-some-window):
13478 Adapt symbol passed to display-buffer-record-window.
13479 * help.el (help-window-setup): Handle new format of quit-restore
13482 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13484 * faces.el (face-list): Fix docstring (bug#9564).
13486 * window.el (display-buffer--action-function-custom-type):
13487 Don't include internal functions in the Custom interface.
13489 2011-09-20 Juri Linkov <juri@jurta.org>
13491 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13492 (Info-forward-node, Info-backward-node, Info-next-preorder)
13493 (Info-last-preorder): Use it. (Bug#9528)
13495 2011-09-20 Juri Linkov <juri@jurta.org>
13497 * info.el (Info-last-preorder): Visit last menu item only when
13498 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13500 2011-09-20 Julien Danjou <julien@danjou.info>
13502 * password-cache.el (password-cache-remove): Remove entries even if the
13503 value is nil, so that password with a nil value (negative caching) is
13504 possible to invalidate.
13506 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13508 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13509 all whitespace around breakpoint. (Bug#9553)
13510 (f90-find-breakpoint): Only break at whitespace inside a comment.
13512 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * minibuffer.el (completion-file-name-table): Keep track of errors.
13515 (completion-table-with-predicate): Handle the case where pred1 is nil.
13516 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13518 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13520 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13521 (debugger-return-value): Signal an error if the debugging context does
13522 not await any return value.
13524 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13525 * image-mode.el (image-toggle-display-text)
13526 (image-toggle-display-image): Stay away from evil `intangible'.
13528 2011-09-19 Leo Liu <sdl.web@gmail.com>
13530 * replace.el (occur-revert-arguments): Make it permanent-local.
13531 (occur-mode): Don't call font-lock-defontify.
13533 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13535 * net/ldap.el (ldap-search-internal): Don't push empty search
13538 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13540 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13542 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13544 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13545 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13547 2011-09-18 Juri Linkov <juri@jurta.org>
13549 * buff-menu.el (Buffer-menu-mode-map):
13550 * dired.el (dired-mode-map):
13551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13552 (lisp-interaction-mode-map):
13553 * emacs-lisp/package.el (package-menu-mode-map):
13554 * epa.el (epa-key-list-mode-map):
13555 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13556 (menu-bar-options-menu):
13557 * outline.el (outline-mode-menu-bar-map):
13558 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13559 * vc/vc-dir.el (vc-dir-menu-map):
13560 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13561 Capitalize non-function content words in menu item strings.
13563 * dired.el (dired-mode-map): Add menu item for
13564 `image-dired-dired-toggle-marked-thumbs'.
13566 2011-09-18 Juri Linkov <juri@jurta.org>
13568 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13569 to `isearch-case-fold-search' and restore its original value
13570 after the `isearch-mode' call.
13572 2011-09-18 Juri Linkov <juri@jurta.org>
13574 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13575 because `zgrep' returns 1 for successful matches (bug#9226).
13577 2011-09-18 Juri Linkov <juri@jurta.org>
13579 * info.el (Info-extract-menu-node-name): Check the second match
13580 for empty string (second test-case of bug#9528).
13581 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13582 intermediate nodes to the history (first test-case of bug#9528).
13584 2011-09-18 Juri Linkov <juri@jurta.org>
13586 * info.el (Info-mode-syntax-table): New variable.
13587 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13589 2011-09-18 Juri Linkov <juri@jurta.org>
13591 * info.el (Info-file-supports-index-cookies):
13592 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13593 outputs one more line for long file names (bug#4142).
13595 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13597 * newcomment.el (comment-normalize-vars): If prompting for
13598 comment-start, set comment-start-skip too (Bug#8424).
13600 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13602 * icomplete.el: Fix previous fix of Bug#5849.
13603 (icomplete-mode): Don't set completion-show-inline-help.
13604 (icomplete-minibuffer-setup): Set completion-show-inline-help
13605 locally during icompletion.
13607 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13609 * woman.el (woman2-process-escapes): Don't delete unrecognized
13610 escapes (Bug#7843).
13612 * files.el (inhibit-first-line-modes-regexps): Add image files.
13613 (hack-local-variables-prop-line): Return nil for malformed
13614 prop-lines (Bug#9044).
13616 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13618 * net/tramp.el (top): Don't require 'shell.
13619 (tramp-methods): Fix docstring.
13620 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13621 Return complete remote file name. Handle "smb" case.
13622 Use `tramp-tmpdir', if defined for the respective method.
13623 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13625 * net/tramp-compat.el (top): Require 'shell.
13627 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13628 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13629 `tramp-current-host'.
13630 (tramp-get-remote-tmpdir): Remove.
13632 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13633 `tramp-tmpdir' entries.
13634 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13635 (tramp-smb-handle-file-attributes): Ignore errors.
13636 (tramp-smb-wait-for-output): Check also for process end.
13638 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13640 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13641 when sending QUIT (bug#9312).
13643 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13645 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13646 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13647 occur-mode-display-occurrence.
13648 (occur-edit-mode): Add usage message.
13649 (occur-cease-edit): New command.
13650 (occur-after-change-function): Use text properties to find the
13651 position of the prefix text.
13652 (occur-engine): Set stickiness of prefix text properties.
13654 2011-09-17 Glenn Morris <rgm@gnu.org>
13656 * progmodes/etags.el (complete-tag):
13657 Fix call to completion-in-region. (Bug#9526)
13659 2011-09-17 Juri Linkov <juri@jurta.org>
13661 * textmodes/ispell.el (ispell-word): Add to the error message
13662 the word, ispell program name and current dictionary (bug#9121).
13663 (ispell-tex-arg-end): Capitalize "error" in the error message.
13665 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13667 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13670 2011-09-17 Juri Linkov <juri@jurta.org>
13672 * window.el (window-safe-min-height, window-safe-min-width):
13673 Fix typos (followup to bug#9522).
13675 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13677 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13679 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13681 * simple.el (line-move): If goal-column is set, move by logical
13682 lines, not by display lines. (Bug#971)
13683 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13684 to reflect the above change.
13686 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13688 * image.el (imagemagick-register-types): Use regexp-opt.
13690 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13692 * window.el (display-buffer-base-action): Rename from
13693 display-buffer-default-action. Make default value empty.
13694 (display-buffer-overriding-action): Convert to defvar.
13695 (display-buffer-fallback-action): New var.
13697 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13699 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13701 (package--add-to-archive-contents): If there is a duplicate entry
13702 with an older version, remove it.
13703 (package-menu-mark-delete, package-menu-mark-install)
13704 (package-menu-mark-unmark): Make unused args optional.
13705 (package-menu-mark-obsolete-for-deletion):
13706 Use package-menu-get-status instead of a regexp search.
13707 (package-menu-get-status): Use tabulated-list-entry.
13708 (package-menu-mark-upgrades): New command.
13709 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13710 (package-menu-execute): Do installation before deletion.
13711 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13712 instead of checking major-mode.
13713 (package-menu--find-upgrades): New function.
13715 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13717 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13718 passwords in the log buffer.
13719 (smtpmail-process-filter): Update the process marker so that the
13720 "broken by peer" status message is inserted in the right place.
13722 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13724 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13725 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13726 bibtex-completion-at-point-function.
13727 (bibtex-completion-at-point-function): Use them.
13729 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13731 * mpc.el (mpc-constraints-tag-lookup): New function.
13732 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13733 also to browser "album|playlist".
13735 2011-09-14 Juri Linkov <juri@jurta.org>
13737 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13738 (isearch-edit-string): Use length of `isearch-string' when
13739 `isearch-fail-pos' returns nil.
13740 (isearch-message): Remove duplicate code and call
13741 `isearch-fail-pos' with arg `t'.
13743 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13745 * replace.el (occur-mode-goto-occurrence): Don't force using other
13748 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13750 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13752 * window.el (display-buffer-window): Remove.
13753 (display-buffer-record-window): Use help-setup window parameter
13754 instead of variable display-buffer-window.
13755 (display-buffer-function, special-display-buffer-names)
13756 (special-display-function): Mention help-setup parameter instead
13757 of display-buffer-window in doc-string.
13758 * help.el (help-window-setup): New argument help-window.
13759 Use help-window-setup parameter instead of display-buffer-window.
13760 Reword some messages.
13761 (with-help-window): Pass window used for displaying the buffer
13762 to help-window-setup. Don't set display-buffer-window.
13764 2011-09-13 Glenn Morris <rgm@gnu.org>
13766 * emacs-lisp/debug.el (debugger-make-xrefs):
13767 Preserve point. (Bug#9462)
13769 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13771 * window.el (window-deletable-p): Use next-frame.
13773 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13775 * window.el (window-auto-delete): Remove.
13776 (window-deletable-p): Remove argument FORCE. Don't deal with
13777 dedication and previous buffers.
13778 (switch-to-prev-buffer): Don't delete window.
13779 (delete-windows-on): Delete a window's frame if and only if the
13780 window is dedicated.
13781 (replace-buffer-in-windows): Delete buffer's window or frame if
13782 and only if window is dedicated.
13783 (quit-window): Handle quit-restore as before last change.
13784 (bury-buffer): Delete window only if window-deletable-p returns t.
13786 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13788 * window.el (window-deletable-p): Never delete the last frame on a
13791 2011-09-13 Glenn Morris <rgm@gnu.org>
13793 * help.el (describe-key-briefly): Copy previous standard-output change.
13795 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13797 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13799 2011-09-13 Glenn Morris <rgm@gnu.org>
13801 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13802 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13804 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13806 * dired-aux.el (dired-mark-read-string): Don't return default
13807 value on empty input (Bug#9361).
13808 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13809 Omit initial minibuffer contents.
13810 (dired-do-chmod): Signal an error on empty input.
13811 (dired-mark-read-string): Don't return default on empty input.
13813 * files.el (file-modes-symbolic-to-number): Doc fix.
13815 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13817 * international/mule-cmds.el (ucs-completions): Remove.
13818 (read-char-by-name): Use complete-with-action instead; add metadata.
13820 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13822 * window.el (display-buffer--action-function-custom-type)
13823 (display-buffer--action-custom-type): New vars.
13824 (display-buffer-alist, display-buffer-default-action)
13825 (display-buffer-overriding-action): Add defcustom types.
13827 * frame.el (delete-other-frames): Doc fix (Bug#276).
13829 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13831 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13833 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13835 Change modes that used same-window-* vars to use switch-to-buffer.
13837 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13838 Use switch-to-buffer.
13840 * cus-edit.el (customize-group, custom-buffer-create)
13841 (customize-browse, custom-buffer-create-other-window):
13842 Use switch-to-buffer or switch-to-buffer-other-window.
13844 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13845 (Info-prev, Info-up, Info-speedbar-goto-node)
13846 (info-display-manual): Use switch-to-buffer.
13847 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13849 * mail/sendmail.el (mail): Use switch-to-buffer.
13850 (mail-recover): Use switch-to-buffer-other-window.
13852 * cmuscheme.el (run-scheme, switch-to-scheme):
13854 * shell.el (shell):
13855 * net/rlogin.el (rlogin):
13856 * net/telnet.el (telnet, rsh):
13857 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13859 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13861 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13863 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13865 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13866 so don't mention it (bug#9301).
13867 (dired-sort-toggle-or-edit): Clarify string further.
13869 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13870 match `x', `w32' and `ns', like the manual says (bug#9029).
13872 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13873 (process-kill-buffer-query-function): Mention the buffer name in
13876 * image-mode.el (image-next-line): The line parameter is mandatory
13879 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13880 which can be useful (bug#9301).
13882 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13884 * subr.el (match-string): Mention that the current buffer should
13885 be the same as the search was done in (bug#9282).
13887 * facemenu.el: Disable the remove-* commands if the mark isn't
13890 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13892 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13894 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13896 * replace.el (occur-mode-goto-occurrence)
13897 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13898 and display-buffer.
13900 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13903 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13904 special-display and same-window variables.
13905 (mail-other-window): Use switch-to-buffer-other-window.
13906 (mail-other-frame): USe switch-to-buffer-other-frame.
13908 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13909 Use display-buffer-other-frame.
13910 (gdb-display-gdb-buffer): Use pop-to-buffer.
13912 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13914 * progmodes/python.el: Don't set same-window-buffer-names.
13916 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13918 * window.el (display-buffer-alist): Add *Python*.
13920 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13922 * window.el (display-buffer-alist): Add entry for buffers
13923 previously handled same-window-*.
13924 (display-buffer-alist, display-buffer-default-action)
13925 (display-buffer-overriding-action): Mark as risky.
13926 (display-buffer-alist): Document action function changes.
13927 (display-buffer--same-window-action)
13928 (display-buffer--other-frame-action): New variables.
13929 (switch-to-buffer, display-buffer-other-frame): Use them.
13930 (display-buffer): Rename reuse-frame entry to reusable-frames.
13931 (display-buffer-reuse-selected-window): Function deleted.
13932 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13933 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13934 (display-buffer-special): New function.
13935 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13936 display-buffer-reuse-or-pop-window. Split off special-display
13937 part into display-buffer-special.
13938 (display-buffer-use-some-window): Don't perform any special
13939 pop-up-frames handling.
13940 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13941 (display-buffer--maybe-same-window): Rename from
13942 display-buffer-maybe-same-window.
13944 * info.el: Don't set same-window-regexps.
13945 (info-setup): New function.
13946 (info-other-window, info): Call it.
13948 * cus-edit.el: Don't set same-window-regexps.
13949 (customize-group): New argument.
13950 (customize-group-other-window): Use it.
13951 (customize-face, customize-face-other-window): Likewise.
13952 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13956 * progmodes/gud.el: Don't set same-window-regexps.
13961 * mail/sendmail.el:
13962 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13964 2011-09-10 Juri Linkov <juri@jurta.org>
13966 * isearch.el (isearch-edit-string): Remove obsolete mention of
13967 `C-w' (`isearch-yank-word-or-char') from docstring.
13968 (isearch-query-replace): Fix typo in docstring (bug#9466).
13970 2011-09-10 Juri Linkov <juri@jurta.org>
13972 * paren.el (show-paren-function): Don't show escaped parens.
13973 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13975 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13977 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13978 (mm-default-file-encoding): Remove autoload forms, they are
13979 replaced with autoload cookies in mml.el and mm-encode.el.
13980 (mail-add-attachment): New command.
13981 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13982 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13984 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13986 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13988 * simple.el (count-words-region): Use buffer if there's no region
13991 2011-09-09 Juri Linkov <juri@jurta.org>
13993 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13994 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13995 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13997 2011-09-09 Alan Mackenzie <acm@muc.de>
13999 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14000 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14002 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14004 Fix for Savannah bug#9392.
14005 * simple.el (mail-encode-mml): New defvar.
14007 * mail/rmail.el (mail-encode-mml): Add a defvar.
14008 (rmail-enable-mime-composing): Default to t.
14009 (rmail-forward): Use MIME method of forwarding only if both
14010 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14011 Set mail-encode-mml non-nil if the MIME method was used.
14013 * mail/sendmail.el (mml-to-mime): Add autoload form.
14014 (mail-encode-mml): Add a defvar.
14015 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14017 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14018 message through mml-to-mime, and reset mail-encode-mml to nil.
14020 2011-09-09 Glenn Morris <rgm@gnu.org>
14022 * woman.el (woman-if-body): When processing an .el block,
14023 do not delete the next .el block as well. (Bug#9447)
14024 (woman-special-characters): Add oq, cq, and hy characters.
14026 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14028 * window.el (window-deletable-p): Make sure window is live before
14029 invoking window-prev-buffers.
14031 2011-09-08 Leo Liu <sdl.web@gmail.com>
14033 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14035 2011-09-08 Juri Linkov <juri@jurta.org>
14037 * progmodes/compile.el (compilation-environment): Make it
14038 a defcustom (bug#8340).
14040 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14042 * window.el (frame-auto-delete): Rename to window-auto-delete.
14043 Make it control auto-deletion of windows and/or frames.
14044 (window-deletable-p): New argument FORCE. Rewrite conditions
14045 for deleting window/frame. (Bug#9419)
14046 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14047 Rewrite handling of case when window/frame can be deleted.
14048 (delete-windows-on): Call window-deletable-p with new FORCE
14049 argument t. (Bug#9456)
14051 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14053 * help-mode.el (help-mode): Restore autoload.
14055 2011-09-07 Juri Linkov <juri@jurta.org>
14057 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14058 `compilation-environment'. Set buffer-local
14059 `compilation-environment' to `thisenv' later after (funcall mode).
14062 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14063 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14064 instead of replacing its value. (Bug#8340)
14066 2011-09-07 Juri Linkov <juri@jurta.org>
14068 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14069 based on text properties put by `grep-filter' instead of matching
14071 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14072 to the value of `grep-error-screen-columns' (bug#9438).
14074 2011-09-07 Juri Linkov <juri@jurta.org>
14076 * simple.el (next-error-highlight, next-error-highlight-no-select):
14077 Doc fix (bug#9432).
14079 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14081 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14082 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14084 2011-09-07 Leo Liu <sdl.web@gmail.com>
14086 * net/rcirc.el (rcirc-mode): Conditionally initialize
14089 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * emacs-lisp/find-func.el (find-function-C-source): Only set
14092 find-function-C-source-directory after checking that we found a source
14093 file there (bug#9440).
14095 2011-09-06 Alan Mackenzie <acm@muc.de>
14097 * isearch.el (isearch-other-meta-char): Wherever a key list is
14098 unread, "unread" the prefix arg, too. This fixes bug #8901.
14100 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14102 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14104 2011-09-05 Juri Linkov <juri@jurta.org>
14106 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14108 2011-09-05 Juri Linkov <juri@jurta.org>
14110 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14111 keeping point where processing of grep matches begins, and
14112 continue to delete remaining escape sequences from the same point.
14113 (grep-filter): Make leading zero optional in "0?1;31m" because
14114 git-grep emits "\033[1;31m" escape sequences unlike expected
14115 "\033[01;31m" as GNU Grep does (bug#9408).
14116 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14118 2011-09-05 Juri Linkov <juri@jurta.org>
14120 * subr.el (y-or-n-p): Capitalize "yes".
14122 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14124 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14125 `tramp-cache-unload-hook' where appropriate.
14126 (tramp-methods): Rename `tramp-remote-sh' to
14127 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14128 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14130 * net/tramp-sh.el (top): Don't require 'shell.
14131 (tramp-methods): Add `tramp-remote-shell' and
14132 `tramp-remote-shell-args' entries.
14133 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14134 (tramp-sh-handle-shell-command): Remove.
14135 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14136 Use `tramp-remote-shell'.
14138 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14140 * mail/sendmail.el (sendmail-query-once-function): Delete.
14141 (sendmail-query-once): Save directly to send-mail-function.
14142 Update message-send-mail-function too.
14144 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14146 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14148 * progmodes/python.el (python-mode-map): Use correct function to
14149 start python interpreter from menu-bar (as reported by Geert
14151 (inferior-python-mode-map): Fix typo.
14152 (python-shell-map): Remove.
14154 2011-09-03 Deniz Dogan <deniz@dogan.se>
14156 * net/rcirc.el (rcirc-print): Simplify code for
14157 rcirc-scroll-show-maximum-output. There is no need to walk
14158 through all windows to find the right one.
14160 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14162 * help.el (help-return-method): Doc fix.
14164 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14166 * window.el (window-deletable-p): Don't return a non-nil value
14167 when there's a buffer that was shown in the window before.
14169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14170 Set window's previous buffers to nil.
14172 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14174 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14175 newline before and after the tag line, so it doesn't interfere
14176 with determining the paragraph direction of bidirectional text.
14178 2011-09-03 Leo Liu <sdl.web@gmail.com>
14180 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14182 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14184 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14185 (pop-to-buffer): Change interactive spec. Pass second argument
14186 directly to display-buffer.
14187 (display-buffer): Fix interactive spec. Use functionp to
14188 distinguish between a function and a list of functions.
14190 * abbrev.el (edit-abbrevs):
14191 * arc-mode.el (archive-extract):
14192 * autoinsert.el (auto-insert):
14193 * bookmark.el (bookmark-bmenu-list):
14194 * files.el (find-file):
14195 * view.el (view-buffer):
14196 * progmodes/compile.el (compilation-goto-locus):
14197 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14199 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14201 * window.el (display-buffer-alist): Doc fix.
14202 (display-buffer): Add docstring. Don't treat
14203 display-buffer-default specially.
14204 (display-buffer-reuse-selected-window)
14205 (display-buffer-same-window, display-buffer-maybe-same-window)
14206 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14207 (display-buffer-pop-up-window)
14208 (display-buffer-reuse-or-pop-window)
14209 (display-buffer-use-some-window): New functions.
14210 (display-buffer-default-action): Use them.
14211 (display-buffer-default): Delete.
14212 (pop-to-buffer-1): Fix choice of actions.
14214 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14216 * minibuffer.el (completion--insert-strings): Don't get confused by
14217 completion entries that end with an LF char.
14219 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14221 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14223 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14225 * window.el (display-buffer): Restore interactive spec.
14226 (display-buffer-same-window, display-buffer-other-window):
14228 (pop-to-buffer-1): New function. Use the above.
14229 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14230 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14232 * view.el (view-buffer-other-window, view-buffer-other-frame):
14233 Just use pop-to-buffer.
14235 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14237 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14239 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14241 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14243 2011-08-31 Richard Stallman <rms@gnu.org>
14245 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14246 of the separation of rmail-view-buffer from rmail-buffer.
14247 If you say no to "replace original", the decrypt is in the
14248 view buffer. If you say yes, the decrypt goes into the
14251 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14253 * window.el (display-buffer-window): Rewrite doc-string.
14254 (display-buffer-record-window): New function.
14255 (display-buffer-macro-specifiers)
14256 (display-buffer-even-window-sizes, display-buffer-set-height)
14257 (display-buffer-set-width, display-buffer-in-window)
14258 (display-buffer-reuse-window, display-buffer-split-specifiers)
14259 (display-buffer-side-specifiers, display-buffer-split-window-1)
14260 (display-buffer-split-window, display-buffer-split-atom-window)
14261 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14262 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14263 (display-buffer-other-window-means-other-frame)
14264 (display-buffer-normalize-special)
14265 (display-buffer-normalize-default)
14266 (display-buffer-normalize-argument)
14267 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14268 (display-buffer-normalize-specifiers, display-buffer-frame)
14269 (display-buffer-same-window, display-buffer-same-frame)
14270 (display-buffer-other-window)
14271 (display-buffer-same-frame-other-window)
14272 (display-buffer-other-frame, pop-to-buffer-same-window)
14273 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14274 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14275 (switch-to-buffer-same-frame)
14276 (switch-to-buffer-other-window-same-frame)
14277 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14278 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14279 (display-buffer-alist-set): Remove.
14280 (display-buffer-function, special-display-buffer-names)
14281 (special-display-regexps, special-display-function):
14282 In doc-string refer to display-buffer-window and quit-restore
14284 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14285 (special-display-frame-alist, special-display-popup-frame)
14286 (same-window-buffer-names, same-window-regexps, same-window-p)
14287 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14288 (split-window-preferred-function, split-height-threshold)
14289 (split-width-threshold, window-splittable-p)
14290 (split-window-sensibly, window--try-to-split-window)
14291 (window--frame-usable-p, even-window-heights)
14292 (window--even-window-heights, window--display-buffer-1)
14293 (window--display-buffer-2, display-buffer-other-frame):
14294 Restore old Emacs 23 code, order and doc-strings where applicable.
14295 (display-buffer-default, display-buffer-assq-regexp): New functions.
14296 (display-buffer-alist): Rewrite doc-string.
14297 (display-buffer-default-action)
14298 (display-buffer-overriding-action): New variables.
14299 (display-buffer, switch-to-buffer): Rewrite.
14300 (pop-to-buffer): Restore Emacs 23 behavior but use
14301 window-normalize-buffer-to-display.
14302 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14303 Restore Emacs 23 behavior but use
14304 window-normalize-buffer-to-switch-to.
14305 (pop-to-buffer-same-window): Rewrite.
14306 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14307 Rewrite using Emacs 23 options.
14309 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14311 * net/tramp.el (tramp-root-regexp): Remove.
14312 (tramp-completion-file-name-regexp-unified)
14313 (tramp-completion-file-name-regexp-separate)
14314 (tramp-completion-file-name-regexp-url): Don't use leading volume
14315 letter on w32 systems. (Bug#5303, Bug#9311)
14316 (tramp-drop-volume-letter): Simplify definition.
14317 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14319 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14321 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14324 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14326 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14328 2011-08-29 Juri Linkov <juri@jurta.org>
14330 * isearch.el (isearch-done): Don't display message "Mark saved"
14331 when arg `edit' is non-nil to prevent its flicker in the echo area.
14333 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14335 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14336 obsolete packages for deletion.
14338 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14340 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14341 (help-mode): Derive help-mode from special-mode. Don't invoke
14342 view-mode from help-mode.
14343 (help-xref-override-view-map): Remove.
14344 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14345 view-mode is not used anymore.
14347 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14349 * server.el (server-port): Doc fix.
14351 * cus-theme.el (custom-theme-choose-mode): Inherit from
14352 special-mode (Bug#9124).
14353 (custom-theme-choose-mode-map): Add special-mode to parent.
14355 2011-08-28 Alan Mackenzie <acm@muc.de>
14357 * progmodes/cc-fonts.el
14358 (c-make-font-lock-BO-decl-search-function): New function.
14359 (c-basic-matchers-after - "Fontify the clauses after various
14360 keywords"): Extract the three keyword lists for the 3 erroneous
14361 constructs from the list of four, and use the new function above
14362 in place of an old one.
14364 2011-08-28 Deniz Dogan <deniz@dogan.se>
14366 * net/rcirc.el (rcirc-insert-prev-input)
14367 (rcirc-insert-next-input): Remove unused argument.
14369 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14371 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14373 2011-08-27 Alan Mackenzie <acm@muc.de>
14375 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14376 handle function pointer parameters properly.
14378 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14380 * window.el (display-buffer-reuse-window): Fix case where
14381 selected window was reused with non-nil OTHER-WINDOW argument.
14384 2011-08-27 Deniz Dogan <deniz@dogan.se>
14386 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14387 oftc's NickServ messages.
14389 2011-08-27 Glenn Morris <rgm@gnu.org>
14391 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14393 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14395 * emacs-lisp/package.el (package-install): Call package-initialize
14396 if called interactively.
14398 2011-08-26 Leo Liu <sdl.web@gmail.com>
14400 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14402 2011-08-25 Juri Linkov <juri@jurta.org>
14404 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14405 `search-whitespace-regexp' (bug#9364).
14407 2011-08-25 Juri Linkov <juri@jurta.org>
14409 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14410 `regexp-search-ring' to their global values to protect from
14411 updating by `read-from-minibuffer' (bug#9185).
14413 2011-08-25 Juri Linkov <juri@jurta.org>
14415 * textmodes/ispell.el (ispell-command-loop): Add newline
14416 at the end of the "Use option `i'..." line.
14418 2011-08-25 Juri Linkov <juri@jurta.org>
14420 * battery.el (display-battery-mode): If `battery-status-function'
14421 or `battery-mode-line-format' is nil, display the message and set
14422 `display-battery-mode' to nil (bug#9363).
14424 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14426 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14427 bidi-string-mark-left-to-right; they are unnecessary now.
14429 2011-08-25 Deniz Dogan <deniz@dogan.se>
14431 * net/quickurl.el: Documentation typo fixes.
14433 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14435 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14437 2011-08-25 Glenn Morris <rgm@gnu.org>
14439 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14441 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14442 (smtpmail-via-smtp): Handle nil response from smtp.
14444 2011-08-24 Juri Linkov <juri@jurta.org>
14446 * proced.el (proced-marked): Inherit from `error' instead of
14447 `font-lock-warning-face'.
14449 * ibuffer.el (ibuffer-marked-face): Change default face from
14450 `font-lock-warning-face' to `warning'.
14451 (ibuffer-deletion-face): Change default face from
14452 `font-lock-type-face' to `error'.
14454 * battery.el (battery-update): Use the face `error' instead of
14455 `font-lock-warning-face' (bug#6117).
14457 2011-08-24 Juri Linkov <juri@jurta.org>
14459 * faces.el (success): Change face color from "Green3" to
14460 "ForestGreen" on light background (bug#9353).
14462 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14464 * window.el (quit-window): Rename from quit-restore-window.
14465 Use same arglist as old quit-window.
14466 (frame-auto-delete): Doc fix.
14468 * view.el (view-mode-exit): Use quit-window.
14470 2011-08-24 Juri Linkov <juri@jurta.org>
14472 * isearch.el (isearch-ring-adjust1): Start visiting previous
14473 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14474 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14475 for empty search string (when the last search string is reused
14476 automatically) to adjust the isearch ring to the last element and
14477 prepare the correct index for further M-p commands (bug#9185).
14479 2011-08-24 Kenichi Handa <handa@m17n.org>
14481 * international/ucs-normalize.el: If decomposition property of
14482 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14484 (nfd, nfkd): Likewise.
14486 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14488 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14489 from process filters aren't reliably transmitted to the surrounding
14490 accept-process-output.
14491 (mpc-proc-check): New function.
14492 (mpc-proc-sync): Use it (bug#8293)
14494 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14496 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14497 Add compatibility functions (bug#9313).
14499 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14501 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14503 * international/uni-bidi.el: Regenerate.
14505 2011-08-23 Kenichi Handa <handa@m17n.org>
14507 * international/charprop.el:
14508 * international/uni-bidi.el:
14509 * international/uni-category.el:
14510 * international/uni-combining.el:
14511 * international/uni-comment.el:
14512 * international/uni-decimal.el:
14513 * international/uni-decomposition.el:
14514 * international/uni-digit.el:
14515 * international/uni-lowercase.el:
14516 * international/uni-mirrored.el:
14517 * international/uni-name.el:
14518 * international/uni-numeric.el:
14519 * international/uni-old-name.el:
14520 * international/uni-titlecase.el:
14521 * international/uni-uppercase.el: Regenerate.
14523 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14525 * help.el (help-window-setup): Fix message displayed when other
14526 window is reused. (Bug#9341)
14528 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14530 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14531 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14533 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14535 * shell.el (shell-parse-pcomplete-arguments): New function.
14536 (shell-completion-vars): Use it instead (bug#9160).
14538 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14540 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14541 strings and comments (bug#9333).
14543 * emacs-lisp/debug.el (debug-arglist): New function.
14544 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14545 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14547 2011-08-22 Juri Linkov <juri@jurta.org>
14549 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14550 Revert regexp that highlights output switches to its old
14551 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14553 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14554 to check for empty output (bug#9226).
14556 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14558 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14559 symbol-constituent as the default, as that stops font-lock from
14560 working properly (Bug#8843).
14562 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14564 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14565 `coding-system-for-*' around the process open call to avoid
14566 auth-source side effects.
14567 (smtpmail-try-auth-methods): Expand the secret password.
14568 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14571 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14573 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14575 * emacs-lisp/find-func.el (find-function-noselect): New arg
14578 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14579 signal an error for built-in functions (Bug#6664).
14581 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14583 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14584 (smtpmail-try-auth-methods): Use it.
14586 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14588 * font-lock.el (font-lock-fontify-region)
14589 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14590 (font-lock-default-unfontify-buffer)
14591 (font-lock-default-fontify-region)
14592 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14594 * progmodes/compile.el (compilation-error-properties):
14595 Fix confusion between file struct and message struct (Bug#9319).
14596 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14599 * net/browse-url.el (browse-url-firefox): Don't call
14600 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14602 2011-08-20 Glenn Morris <rgm@gnu.org>
14604 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14606 * tutorial.el (tutorial--default-keys): Update some default bindings.
14608 * files.el (hack-local-variables): Fully ignore case for "mode:".
14610 2011-08-20 Alan Mackenzie <acm@muc.de>
14612 Resolve invalid use of a regexp in regexp-opt.
14614 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14615 detection for a java annotation.
14617 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14618 detection for a java annotation.
14620 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14622 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14624 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14626 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14629 2011-08-20 Alan Mackenzie <acm@muc.de>
14631 Fontify CPP expressions correctly when starting in the middle of
14632 such a construct. Mainly for when jit-lock etc. starts a chunk
14635 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14637 (c-make-font-lock-search-form): New function, extracted from
14638 c-make-font-lock-search-function.
14639 (c-make-font-lock-search-function): Use the above function.
14640 (c-make-font-lock-context-search-function): New function.
14641 (c-cpp-matchers): Enhance the preprocessor expression case with
14643 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14644 which takes an expression.
14646 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14648 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14650 * window.el (display-buffer-reuse-window)
14651 (display-buffer-pop-up-window): Don't reuse or split a side
14654 2011-08-19 Glenn Morris <rgm@gnu.org>
14656 * files.el (hack-local-variables-prop-line, hack-local-variables):
14657 Downcase "Mode:". (Bug#9331)
14659 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14661 * international/characters.el: Add L and R categories.
14663 * subr.el (bidi-string-mark-left-to-right): Rename from
14664 string-mark-left-to-right. Use category search.
14666 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14668 2011-08-18 Juri Linkov <juri@jurta.org>
14670 * faces.el (error, warning, success): New faces with definitions
14671 copied from old default values of `font-lock-warning-face',
14672 `compilation-warning', `compilation-info' (bug#6117).
14674 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14676 * progmodes/compile.el (compilation-error): Inherit from `error'.
14677 (compilation-warning): Inherit from `warning'.
14678 (compilation-info): Inherit from `success'.
14680 * dired.el (dired-marked): Inherit from `warning'.
14681 (dired-flagged): Inherit from `error'.
14683 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685 * mail/smtpmail.el (auth-source): Require to avoid problems with
14686 binding variables (bug#9298). Also clean up some unused
14689 * net/network-stream.el (network-stream-open-starttls):
14690 Support using starttls.el without using gnutls-cli.
14692 2011-08-17 Juri Linkov <juri@jurta.org>
14694 * progmodes/grep.el (rgrep): Handle the case when
14695 `grep-find-command' is a cons cell (bug#9278).
14697 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14699 * window.el (display-buffer-pop-up-frame): Run frame creation
14700 function with BUFFER current (as special-display-popup-frame
14701 does). Reported by Drew Adams.
14703 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14705 * epa-mail.el: Simplify GnuPG group expansion using
14707 (epa-mail-group-alist, epa-mail-group-modtime)
14708 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14709 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14710 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14713 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14715 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14717 2011-08-16 Alan Mackenzie <acm@muc.de>
14719 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14720 Correct, to avoid the inside of macros.
14722 2011-08-16 Richard Stallman <rms@gnu.org>
14724 * epa-mail.el: Handle GnuPG group definitions.
14725 (epa-mail-group-alist, epa-mail-group-modtime)
14726 (epa-mail-gnupg-conf-file): New variables.
14727 (epa-mail-parse-groups, epa-mail-sync-groups)
14728 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14729 (epa-mail-expand-recipients): New functions.
14730 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14732 * mail/rmail.el (rmail-epa-decrypt): New command.
14734 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14735 Don't bind buffer-read-only, just inhibit-read-only.
14736 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14737 (epa-decrypt-armor-in-region): Make error message clearer.
14739 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14741 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14742 and "a2b" to "ab" for `prefix'.
14744 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14746 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14748 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14749 Fourquet (Bug#8804).
14751 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14753 * startup.el (argi): Declare as global variable (bug#9275).
14755 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14757 * subr.el (string-mark-left-to-right): Search the entire string
14758 for RTL script, not just the terminating character. Doc fix.
14760 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14764 (js--regexp-literal, js-syntax-propertize-function): Remove.
14765 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14766 (js-mode-map): Don't rebind electric keys.
14767 (js-insert-and-indent): Remove.
14768 (js-mode): Setup electric-layout and electric-indent instead.
14770 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14772 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14774 * epa.el (epa-progress-callback-function): Fix the logic of
14775 displaying progress.
14776 * epa-file.el (epa-file-insert-file-contents): Make progress
14777 display more user-friendly.
14778 (epa-file-write-region): Ditto.
14780 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14782 * subr.el (string-mark-left-to-right): New function.
14784 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14785 Use string-mark-left-to-right.
14786 (list-buffers-noselect): Caller changed.
14788 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14789 Use string-mark-left-to-right.
14790 (tabulated-list-print): Recenter after moving point.
14792 2011-08-10 Juri Linkov <juri@jurta.org>
14794 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14795 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14796 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14798 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14800 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14803 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14805 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14806 character. (Bug#6594)
14808 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14810 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14811 (image-dired--with-db-file): New macro.
14812 (image-dired-write-tags, image-dired-remove-tag)
14813 (image-dired-create-gallery-lists, image-dired-write-comments)
14814 (image-dired-get-comment, image-dired-mark-tagged-files)
14815 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14816 (image-dired-gallery-generate): Use insert-file-contents.
14818 * time.el (display-time-world-list, display-time-world-display):
14819 * time-stamp.el (time-stamp-string):
14820 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14821 set-time-zone-rule (Bug#7337).
14823 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14825 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14826 (epg-error-to-string, epg-errors-to-string): New function.
14827 (epg-wait-for-completion): Reverse errors list.
14828 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14829 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14830 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14831 (epg-sign-keys, epg-generate-key-from-file)
14832 (epg-generate-key-from-string): Format errors by using
14833 epg-errors-to-string (bug#9255).
14834 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14836 2011-08-07 Juri Linkov <juri@jurta.org>
14838 * faces.el (list-faces-display): Remove extra angle bracket
14839 from `help-mode-map'.
14841 * info.el (Info-history-toc-nodes): Doc fix.
14843 * longlines.el (longlines-mode): Doc fix.
14845 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14847 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14848 of statements and in a few more cases (bug#9183).
14850 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14852 (cl-transform-lambda): Use them (bug#9239).
14854 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14856 * window.el (display-buffer-same-window)
14857 (display-buffer-same-frame, display-buffer-other-window)
14858 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14859 (pop-to-buffer-other-window)
14860 (pop-to-buffer-same-frame-other-window)
14861 (pop-to-buffer-other-frame): Make them defuns.
14862 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14864 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14866 * subr.el (make-composed-keymap): Move from C. Change calling
14867 convention, and improve docstring to bring attention to a subtle point.
14868 * minibuffer.el (completing-read-default): Adjust accordingly.
14870 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14872 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14873 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14875 * net/trampver.el: Update release number.
14877 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14879 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14882 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14884 * mail/sendmail.el (sendmail-query-once): Restore the current
14885 buffer after querying (bug#9074).
14887 * dired.el (dired-flagged): Use different faces for marked and
14888 flagged files (bug#6117).
14890 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14893 * ido.el (ido-mode): Switch off the message if called
14896 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14897 before 587, since it appears that that's more likely to work for
14900 * cus-edit.el (custom-file): When running under emacs -q, always
14901 refuse to save the customizations, even if the .emacs file doesn't
14904 * info.el: Remove the `Info-beginning-of-buffer' function
14907 * net/network-stream.el (network-stream-open-starttls):
14908 Use `starttls-available-p' to see whether starttls.el can be used.
14910 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14912 * window.el (display-buffer-in-window): Don't set dedicated status
14913 of window here (Bug#9215).
14914 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14915 (display-buffer-pop-up-side-window)
14916 (display-buffer-in-side-window): Set dedicated status of window here.
14918 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14921 before binding generated-autoload-file.
14923 2011-08-01 Deniz Dogan <deniz@dogan.se>
14925 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14927 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14929 Sync with Tramp 2.2.2.
14931 * net/trampver.el: Update release number.
14933 2011-07-30 Juri Linkov <juri@jurta.org>
14935 * dired-aux.el (dired-touch-initial): Remove function.
14936 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14937 current time, and `default' to the last modification time of the
14938 current marked file (bug#6887).
14940 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14942 * simple.el (goto-line): Use string-to-number to provide a
14943 numeric argument to read-number (bug#9163).
14945 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14947 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14948 connection process, it could be nil.
14950 2011-07-27 Leo Liu <sdl.web@gmail.com>
14952 Simplify url handling in rcirc-mode.
14954 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14955 (rcirc-browse-url-at-mouse): Remove.
14956 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14958 2011-07-26 Alan Mackenzie <acm@muc.de>
14960 Fontify bitfield declarations properly.
14962 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14963 (c-symbol-chars): Now exported as a lang variable.
14964 (c-not-primitive-type-keywords): New lang variable.
14966 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14967 QT keyword "more" to prevent "more slots: ...." being spuriously
14968 parsed as a bitfield declaration.
14970 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14971 Refactor and enhance to handle bitfield declarations.
14972 (c-punctuation-in): New function.
14973 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14974 declarations properly.
14976 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14978 * calendar/icalendar.el (icalendar--all-events): Take care of
14979 multiple vcalendars in a single file.
14980 (icalendar--convert-float-to-ical): Checkdoc fixes.
14982 2011-07-25 Deniz Dogan <deniz@dogan.se>
14984 * image.el (insert-image): Clarifying docstring.
14986 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14988 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14989 `tramp-send-command-and-check' if there is no error.
14990 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14992 2011-07-22 Alan Mackenzie <acm@muc.de>
14994 Prevent cc-langs.elc being loaded at run time.
14996 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14999 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15000 "(require 'cc-langs)". Quote a form so it will evaluate at
15001 (cc-mode's) compilation time.
15003 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15005 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15006 loading. (Bug#9114)
15008 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15010 * window.el (display-buffer-pop-up-window)
15011 (display-buffer-pop-up-side-window)
15012 (display-buffer-in-side-window): Call display-buffer-set-height
15013 and display-buffer-set-width after setting the new window's
15014 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15016 2011-07-20 Sam Steingold <sds@gnu.org>
15018 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15019 (etags-tags-included-tables): Call `convert-standard-filename' on
15020 the file names contained in TAGS so that windows Emacs can handle
15021 TAGS files created by cygwin ctags.
15023 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15025 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15026 which apparently didn't work.
15028 2011-07-19 Roland Winkler <winkler@gnu.org>
15030 * proced.el (proced-send-signal): For *Marked Processes* buffer
15031 put point at beginning of buffer.
15033 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15035 * proced.el (proced-format): Make header lines align with the text
15038 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15040 * view.el (view-buffer): Allow running in `special' modes if we're
15041 visiting a file (bug#8615).
15043 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15045 * window.el (display-buffer-alist-of-strings-p)
15046 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15048 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15051 2011-07-18 Alan Mackenzie <acm@muc.de>
15053 Fontify declarators properly when, e.g., a jit-lock chunk begins
15054 inside a declaration.
15056 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15060 (c-complex-decl-matchers): Insert reference to
15061 c-font-lock-enclosing-decls.
15063 * progmodes/cc-engine.el (c-backward-single-comment):
15064 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15065 to nil around calls to (forward-comment -1).
15067 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15069 * image.el (put-image): Doc typo fix.
15071 * progmodes/etags.el (tags-search): Doc typo fix.
15073 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15074 password if we get errors 550 to 554.
15076 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15078 * net/gnutls.el (gnutls-log-level): Remove.
15080 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15081 indentation character (bug#6380).
15083 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15085 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15086 to clarify what the problem is (bug#4291).
15088 * simple.el (current-kill): Clarify what
15089 `interprogram-paste-function' does (bug#7500).
15090 (auto-fill-mode): Document `auto-fill-function' in relation to
15091 `auto-fill-mode' (bug#2470).
15093 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15095 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15096 method if slot is read-only (bug#9035).
15098 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15100 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15101 * window.el (pop-to-buffer): Select window used even if it was
15102 selected before, see discussion of (Bug#8615), (Bug#6954).
15103 Pass argument NORECORD on to select-frame-set-input-focus.
15105 2011-07-15 Glenn Morris <rgm@gnu.org>
15107 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15110 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15112 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15113 (gnutls-negotiate): Use it.
15115 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15117 * net/gnutls.el (gnutls-negotiate):
15118 Upcase `gnutls-algorithm-priority'.
15120 2011-07-15 Glenn Morris <rgm@gnu.org>
15122 * jka-compr.el (jka-compr-verbose): Move from here...
15123 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15124 Add missing :version tag.
15125 * info.el: No need to require jka-compr when compiling.
15127 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15129 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15130 (gnutls-negotiate): Use it.
15132 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15134 * info.el (Info-beginning-of-buffer): New command.
15135 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15136 announcing `b' as the key (bug#8325).
15137 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15139 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15141 * international/mule-cmds.el
15142 (describe-specified-language-support): Make the error message
15143 clearer (bug#8905).
15145 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15147 * isearch.el (isearch-barrier): Add a doc string, since it's
15148 mentioned in a function doc string (bug#8678).
15150 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15152 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15153 buffer argument (Bug#9083) and self-identifying label argument.
15155 2011-07-15 Glenn Morris <rgm@gnu.org>
15157 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15159 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15161 * man.el (Man-fontify-manpage): Fix message when formatting the
15162 man page (bug#7929).
15164 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15166 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15167 argument LRM; if non-nil, append an invisible LRM character to the
15169 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15170 last argument non-nil, when formatting buffer names.
15171 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15172 paragraph direction.
15174 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15176 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15177 the man page name (bug#7929).
15179 * image.el (put-image): Mention the `put-image' overlay property
15182 * scroll-bar.el (set-scroll-bar-mode): Mention that
15183 `scroll-bar-mode' lists the values (bug#7772).
15185 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15186 command (bug#7729).
15188 * rect.el (apply-on-rectangle): Return the point after the last
15190 (string-rectangle): Go to the point after the last operation
15193 * printing.el (pr-toggle-region): Clarify the documentation
15194 slightly (bug#7493).
15196 * time.el (display-time-update):
15197 Allow `display-time-mail-function' to return nil (bug#7158).
15198 Fix suggested by Detlev Zundel.
15200 * vc/diff.el (diff): Clarify the order the file names are read
15203 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15204 the doc string (bug#7015).
15206 * font-lock.el (font-lock-maximum-decoration): Mention what
15207 numeric levels mean (bug#6935).
15209 * startup.el (initial-buffer-choice): Don't mention the `none'
15210 selection, which is against policy.
15212 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15214 * window.el (display-buffer-normalize-special):
15215 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15217 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15219 * subr.el (version<, version<=, version=): Mention "-CVS" and
15220 "-12345" alpha version numbers.
15222 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15224 * bindings.el: Add advertised binding for set-mark-command
15227 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15229 * bindings.el (mode-line-other-buffer):
15230 * bookmark.el (bookmark-bmenu-2-window):
15231 * bs.el (bs-cycle-next, bs-cycle-previous):
15232 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15235 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15238 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15240 * follow.el (follow-debug-message, follow-redisplay):
15241 * jka-cmpr-hook.el (with-auto-compression-mode):
15242 Fix typos in docstrings.
15244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246 * subr.el (with-silent-modifications): Clarify somewhat what the
15247 macro inhibits (bug#6525).
15249 * simple.el (eval-expression): Note what it does if called
15250 interactively (bug#6495).
15252 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15254 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15255 Use pop-to-buffer buffer-or-name if it is nil.
15257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15258 Remove switch-to-buffer.
15260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15262 * files.el (make-directory): Clarify that an error will be raised
15263 if there's an error (bug#6397).
15265 * startup.el (initial-buffer-choice): Add `none' as a choice
15268 * subr.el (add-hook): Clarify section about buffer-local hooks
15271 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15273 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15275 * tabify.el (untabify): Preserve the current column so that point
15276 doesn't move (bug#6032).
15278 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15280 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15281 Rewrite to avoid awkward possessive "s" (bug#5986).
15283 2011-07-13 Glenn Morris <rgm@gnu.org>
15285 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15286 (dired-insert-directory): Give a message the first time
15287 if ls is found not to support --dired.
15289 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15291 * simple.el (toggle-truncate-lines): Clarify what is toggled
15292 (bug#5580). Text by Drew Adams.
15294 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15296 * simple.el (blink-matching-open): Make the error message from the
15297 last change less verbose.
15299 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15301 * font-lock.el (font-lock-comment-face): Use the high contrast
15302 "yellow" color for font-lock-comment-face on low color terminals
15303 using a dark background color (bug#4221).
15305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15307 * dired.el (dired-insert-set-properties): Make the doc string
15308 reflect what it does now (bug#5325).
15310 * simple.el (blink-matching-open): Say that we were unable to find
15311 the match within the limit, if we're limited (bug#5122).
15313 * international/mule-cmds.el (prefer-coding-system): Add an
15314 example (bug#4869).
15316 * progmodes/etags.el (tags-search): Document `file-list-form'
15319 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15321 * net/browse-url.el (browse-url-default-browser)
15322 (browse-url-browser-function): Make the default browser choice a
15323 bit more logical (bug#4300). Also clean up the doc string.
15325 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15327 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15328 binary endings (bug#4440).
15330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15332 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15333 which can be pretty annoying (bug#8971).
15335 * jka-compr.el (jka-compr-verbose): New variable, and use
15336 throughout (bug#8971).
15338 * info.el (Info-find-file): Fall back on the installation
15339 directory if we can't find the info node anywhere else.
15341 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15343 * vc/vc.el (vc-revert-file):
15344 Don't set file time-stamp in the past. (Bug#5181)
15346 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15348 * files.el (after-find-file): Give a better error message when
15349 trying to find a symlink that points to a file that doesn't exist
15352 * progmodes/cc-vars.el: Remove (probably) misleading comment
15355 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15357 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15359 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15361 * mouse-sel.el: Hack restoring functionality, while keeping
15362 compatibility with 2010-07-03 changes to mouse selection.
15363 (mouse-sel-primary-overlay): New var.
15364 (mouse-sel-selection-alist): Use it.
15365 (mouse-sel-mode): Doc fix; remove points that are default features
15368 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15371 Fix previous fix (bug#2490).
15373 2011-07-12 Roland Winkler <winkler@gnu.org>
15375 * textmodes/bibtex.el (bibtex-initialize):
15376 Use pop-to-buffer-same-window.
15377 (bibtex-search-entries): Fix interactive call.
15379 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15382 Fontise bytecomp Error lines more correctly (bug#2490).
15383 Fix suggested by Johan Bockgård.
15385 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15387 * dired-x.el (dired-guess-default): Use `delete-dups'.
15389 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15391 * dired.el (dired-mark-prompt):
15392 * dired-aux.el (dired-read-shell-command): Doc fix.
15394 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15396 * mail/sendmail.el (sendmail-query-once):
15397 Use `customize-save-variable' unconditionally, now that it works under
15400 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15402 * cus-edit.el (custom-file): Take an optional no-error variable.
15403 (customize-save-variable): Set the variable, and give a warning if
15404 running under "emacs -q".
15406 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15408 * loadhist.el (unload-feature-special-hooks):
15409 Add `auto-coding-functions', `fill-nobreak-predicate' and
15410 `find-directory-functions' (bug#5327).
15412 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15414 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15416 * cus-edit.el (custom-guess-name-alist): -alist variables should
15417 use the `alist' type (bug#3120). Suggested by Drew Adams.
15419 * printing.el: Add documentation to all the `pr-toggle-' commands.
15421 2011-07-11 Leo Liu <sdl.web@gmail.com>
15423 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15424 backends where it makes sense (bug#2623).
15426 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15428 * dired-x.el (dired-guess-default): Remove duplicate shell command
15429 entries (bug#2028).
15430 (dired-guess-default): Fix grammar in doc string (bug#2028).
15431 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15433 * subr.el (remove-duplicates): New conveniency function.
15435 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15437 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15440 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15442 * window.el (display-buffer-normalize-default): Don't invert
15443 meaning of even-window-heights. Reported by Eli Zaretskii
15446 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15448 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15450 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15452 * window.el (display-buffer): Fix arguments to
15453 display-buffer-reuse-window in last change.
15455 * faces.el (link): Use a less saturated blue on light backgrounds.
15457 * startup.el (fancy-startup-text, fancy-about-text)
15458 (fancy-startup-tail): Use font-lock faces, for background safety.
15460 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15462 * emulation/viper-cmd.el (viper-change-state-to-vi):
15463 Limit triggering of abbrev expansion (Bug#9038).
15465 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15467 * window.el (display-buffer-default-specifiers): Remove.
15468 (display-buffer-macro-specifiers): Remove default specifiers.
15469 (display-buffer-alist): Default to nil.
15470 (display-buffer-reuse-window): New optional argument other-window.
15471 (display-buffer-pop-up-window): Allow splitting internal
15472 windows. Check whether a live window was created.
15473 (display-buffer-other-window-means-other-frame)
15474 (display-buffer-normalize-arguments): Rename to
15475 display-buffer-normalize-argument and rewrite. Set the
15476 other-window specifier.
15477 (display-buffer-normalize-special): New function.
15478 (display-buffer-normalize-options): Rename to
15479 display-buffer-normalize-default and rewrite.
15480 (display-buffer-normalize-options-inhibit): Remove.
15481 (display-buffer-normalize-specifiers): Rewrite.
15482 (display-buffer): Process other-window specifier and call
15483 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15485 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15486 (display-buffer-alist-set): Don't handle 'unset default values.
15487 (display-buffer-in-window, display-buffer-alist-set):
15488 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15489 <tassilo@member.fsf.org>.
15491 2011-07-09 Leo Liu <sdl.web@gmail.com>
15493 * register.el (insert-register): Restore accidental change on
15494 2011-06-26. (Bug#9028)
15496 2011-07-09 Glenn Morris <rgm@gnu.org>
15498 * subr.el (remq): Handle the empty list. (Bug#9024)
15500 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15502 * mail/sendmail.el (send-mail-function): No longer delay custom
15504 * custom.el (custom-initialize-delay): Doc fix.
15506 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15508 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15510 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15512 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15513 human-friendly prompt.
15515 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15517 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15518 provided by a particular plugin.
15520 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15522 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15523 save customizations (with "emacs -Q"), just set the variable
15524 instead of erroring out.
15526 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15528 2011-07-08 Juri Linkov <juri@jurta.org>
15530 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15531 (archive-zip-update-case): Use 7z if found by `executable-find'.
15532 The order of searching the available programs is the same as in
15533 `archive-zip-extract' (bug#8968).
15535 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15537 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15538 (menu-bar-options-menu): Tweak descriptions.
15540 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15542 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15543 menu items into verb phrases (bug#1421). Also refill to fit under
15546 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15548 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15549 (Info-read-node-name): Doc fix (Bug#1084).
15551 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15552 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15553 (end-of-sexp, beginning-of-sexp)
15554 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15555 (forward-symbol, forward-same-syntax, word-at-point)
15556 (sentence-at-point): Doc fix (Bug#1144).
15558 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15560 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15561 should cover it (bug#1281).
15563 * cus-edit.el (custom-show): Mark as obsolete.
15565 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15566 negotiation fails, then possibly try again with a non-encrypted
15567 connection (bug#9017).
15569 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15572 2011-07-07 Richard Stallman <rms@gnu.org>
15574 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15575 property, and handle its changed format.
15576 Look for the correct line number.
15577 Use file's line contents (but not past first =) to find
15578 correct line in message.
15580 2011-07-07 Kenichi Handa <handa@m17n.org>
15582 * international/characters.el (build-unicode-category-table):
15584 (unicode-category-table): Set it by unicode-property-table-internal.
15586 * international/mule-cmds.el (char-code-property-alist): Move to
15588 (get-char-code-property): Call unicode-property-table-internal to
15589 load a file. Call get-unicode-property-internal where necessary.
15590 (put-char-code-property): Call unicode-property-table-internal to
15591 load a file. Call put-unicode-property-internal where necessary.
15592 put-unicode-property-internal where necessary.
15593 (char-code-property-description):
15594 Call unicode-property-table-internal to load a file.
15596 * international/charprop.el:
15597 * international/uni-bidi.el:
15598 * international/uni-category.el:
15599 * international/uni-combining.el:
15600 * international/uni-comment.el:
15601 * international/uni-decimal.el:
15602 * international/uni-decomposition.el:
15603 * international/uni-digit.el:
15604 * international/uni-lowercase.el:
15605 * international/uni-mirrored.el:
15606 * international/uni-name.el:
15607 * international/uni-numeric.el:
15608 * international/uni-old-name.el:
15609 * international/uni-titlecase.el:
15610 * international/uni-uppercase.el: Regenerate.
15612 * loadup.el: Load international/charprop.el before
15613 international/characters.
15615 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15617 * window.el (next-buffer, previous-buffer): Signal an error if
15618 called from a minibuffer window.
15620 * bindings.el: Revert 2011-07-04 change.
15622 2011-07-06 Richard Stallman <rms@gnu.org>
15624 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15625 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15626 Treat markers like ints.
15627 (rmail-mime-entity): Doc fix.
15629 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15631 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15632 defcustom again for backwards compatibility.
15634 * simple.el (shell-command-on-region): Fill.
15636 * dired-aux.el (dired-kill-line): Add a doc string.
15638 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15639 to "\\sw\\|\\s_" (bug#358).
15641 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15642 (dired-unmark-backward): Ditto.
15643 (dired-flag-backup-files): Ditto.
15645 * dired-x.el (dired-mark-sexp): Ditto.
15647 2011-07-06 Richard Stallman <rms@gnu.org>
15649 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15650 (rmail-mime-entity): New arg TRUNCATED.
15651 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15653 (rmail-mime-save): Warn if entity is truncated.
15654 (rmail-mime-toggle-hidden): Likewise, for showing.
15655 (rmail-mime-process-multipart): Record when an entity is truncated.
15657 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15658 if ENTITY is a string.
15660 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15662 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15663 of faces when `M-C-x'-ing their definitions (bug#8378).
15664 Also clean up the code slightly.
15666 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15667 because that makes the colors go away.
15669 * mail/sendmail.el (send-mail-function): Change the default to
15670 `sendmail-query-once'.
15671 (sendmail-query-once): Add an autoload cookie.
15673 * net/network-stream.el (network-stream-open-starttls): Try using
15674 a plain connection even if the server offered STARTTLS, and we
15675 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15676 capability. This should make smtpmail.el work in slightly more
15679 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15681 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15683 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15685 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15687 * progmodes/sql.el: Version 3.0
15688 (sql-product-alist): Add product :completion-object,
15689 :completion-column, and :statement attributes.
15690 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15691 (sql-mode-syntax-table): Mark all punctuation.
15692 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15694 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15695 (sql-mode-oracle-font-lock-keywords): Improve.
15696 (sql-oracle-show-reserved-words): New function for development.
15697 (sql-product-font-lock): Simplify for source code buffers.
15698 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15700 (sql-highlight-product): Set product specific syntax table.
15701 (sql-mode-map): Add statement movement functions.
15702 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15704 (sql-statement-regexp, sql-beginning-of-statement)
15705 (sql-end-of-statement, sql-signum): New functions.
15706 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15707 (sql-show-sqli-buffer): Bug fix.
15708 (sql-interactive-mode): Store connection data as buffer local.
15709 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15710 with sql-interactive-mode.
15711 (sql-save-connection): Save buffer local settings.
15712 (sql-connection-menu-filter): Change menu entry name.
15713 (sql-product-interactive): Bug fix.
15714 (sql-preoutput-hold): New variable.
15715 (sql-interactive-remove-continuation-prompt): Bug fixes.
15716 (sql-debug-redirect): New variable.
15717 (sql-str-literal): New function.
15718 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15720 (sql-oracle-save-settings, sql-oracle-restore-settings)
15721 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15722 (sql-completion-object, sql-completion-column)
15723 (sql-completion-sqlbuf): New variables.
15724 (sql-build-completions-1, sql-build-completions)
15725 (sql-try-completion): New functions.
15726 (sql-read-table-name): Use them.
15727 (sql-contains-names): New buffer local variable.
15728 (sql-list-all, sql-list-table): Use it.
15729 (sql-oracle-completion-types): New variable.
15730 (sql-oracle-completion-object, sql-sqlite-completion-object)
15731 (sql-postgres-completion-object): New functions.
15733 2011-07-06 Glenn Morris <rgm@gnu.org>
15735 * window.el (pop-to-buffer): Doc fix.
15737 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15739 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15741 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15743 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15745 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15747 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15749 * button.el (button): Inherit from link face. Suggested by Dan
15752 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15754 * progmodes/gdb-mi.el: Fit in 80 columns.
15755 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15758 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15759 if imenu is simply not configured (bug#8941).
15761 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15763 * allout.el (allout-post-undo-hook): New allout outline-change
15764 event hook to signal undo activity.
15765 (allout-post-command-business): Run allout-post-undo-hook if an
15766 undo just occurred.
15767 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15768 * allout-widgets.el (allout-widgets-after-undo-function):
15769 Ensure the integrity of the current item's decoration after it has been
15770 in the vicinity of an undo.
15771 (allout-widgets-mode): Include allout-widgets-after-undo-function
15772 on the new allout-post-undo-hook.
15774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15776 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15777 Let define-derived-mode define it.
15778 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15779 cycles of abbrev-table inheritance (bug#8998).
15781 2011-07-05 Roland Winkler <winkler@gnu.org>
15783 * textmodes/bibtex.el: Add support for biblatex.
15784 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15785 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15786 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15787 (bibtex-entry-alist, bibtex-field-alist): New variables.
15788 (bibtex-entry-field-alist): Obsolete alias for
15789 bibtex-BibTeX-entry-alist.
15790 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15791 (bibtex-set-dialect): New command.
15792 (bibtex-entry-type, bibtex-entry-head)
15793 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15794 Bind via bibtex-set-dialect.
15795 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15796 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15797 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15798 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15799 Define via bibtex-set-dialect.
15800 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15801 Obey bibtex-no-opt-remove-re.
15802 (bibtex-vec-push, bibtex-vec-incr): New functions.
15803 (bibtex-format-entry, bibtex-field-list)
15804 (bibtex-print-help-message, bibtex-validate)
15805 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15807 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15809 * progmodes/compile.el (compilation-goto-locus):
15810 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15811 * bs.el (bs-cycle-next, bs-cycle-previous):
15812 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15813 * bindings.el (mode-line-other-buffer):
15814 * autoinsert.el (auto-insert):
15815 * arc-mode.el (archive-extract):
15816 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15818 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15820 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15821 Fix check of `emacs-lock-unlockable-modes'.
15822 Coerce true values of `emacs-lock--try-unlocking' to t.
15824 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15826 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15827 * emacs-lock.el: New file.
15829 2011-07-05 Julien Danjou <julien@danjou.info>
15831 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15832 than `boundp' to check if face is set.
15834 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15836 * register.el (registerv-make):
15837 * window.el (window-min-height): Fix typos in docstrings.
15839 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15841 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15844 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15846 * server.el (server-execute): Catch quit and call
15847 `server-return-error' to pass the error back to emacsclient and
15848 close the connection (bug#8942).
15850 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15852 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15853 insecure exception for current topic. Also note that auto-saves
15854 are handled differently.
15856 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15857 State variables for tracking auto-save inhibition situation.
15859 (allout-write-contents-hook-handler): Rename from
15860 'allout-write-file-hook-handler', and describe how it depends on
15861 write-contents-functions sensitivity to non-nil value to prevent
15864 (allout-auto-save-hook-handler): Remove. auto-save does not check
15865 this in individual buffers, only in the starting buffer, so this
15866 is not the right way for us to inhibit auto-save in a buffer
15867 according to its condition.
15869 (allout-mode): Use new allout-write-contents-hook-handler, and
15870 only with write-contents-functions. Remove auto-save provisions -
15871 they're implemented elsewhere.
15873 (allout-before-change-handler): If undo is in progress, note that
15874 for attention of allout-post-command-business.
15876 (allout-post-command-business): If the command we're following was
15877 an undo, check for change in the status of encrypted items and
15878 adjust auto-save inhibitions accordingly.
15880 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15881 according to whether there are or aren't any plain-text topics
15882 pending encryption.
15884 (allout-inhibit-auto-save-info-for-decryption):
15885 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15886 if there are plain-text topics pending encryption.
15888 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15889 buffer-saved-size and some allout state to not inhibit auto-saves
15890 if there are no longer any plain-text topics pending encryption.
15892 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15893 No longer provide for exemption of the current topic.
15895 2011-07-04 Juri Linkov <juri@jurta.org>
15897 Add 7z operations to delete and save changed members (bug#8968).
15898 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15900 (archive-7z-write-file-member): New function.
15901 (archive-7z-summarize): Fix the number of dashes in the
15904 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15906 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15909 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15911 * bindings.el: Ignore next-buffer and previous-buffer in
15912 minibuffer-local-map.
15914 * font-lock.el (font-lock-builtin-face): Change light background
15915 color to dark slate blue (Bug#6693).
15917 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15919 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15921 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15923 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15924 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15925 Add switch-to-buffer.
15927 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15929 * isearch.el (isearch-search-fun-function): Clarify further the
15930 meaning of the function returned.
15932 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15934 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15936 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15937 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15939 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15940 `tramp-default-remote-path' does not exist.
15941 (tramp-send-command-and-read): New optional argument NOERROR.
15942 (tramp-open-connection-setup-interactive-shell)
15943 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15944 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15945 (tramp-process-sentinel): Flush also process' connection property.
15946 (tramp-sh-handle-start-file-process): Do not set process
15947 sentinel. It is done now ...
15948 (tramp-maybe-open-connection): ... here. (Bug#8929)
15950 2011-07-04 MON KEY <monkey@sandpframing.com>
15952 * play/animate.el (animate-string): Doc fixes and allow changing
15953 the buffer name (bug#5417).
15955 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15957 * play/animate.el (animation-buffer-name): Rename from *animate*.
15959 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15961 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15962 This is simpler and helps future-proof the code.
15963 (timer-until): Use time-subtract and float-time.
15964 (timer--time-less-p): Use time-less-p.
15966 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15968 * type-break.el (timep): Use the value of `float-time' to avoid a
15969 byte-compiler warning.
15971 * server.el (server-eval-and-print): Return any result, even nil.
15973 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15975 * type-break.el: Accept time formats that the builtins accept.
15976 (timep, type-break-time-difference): Accept any format that
15977 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15978 This is simpler and helps future-proof the code.
15979 (type-break-time-difference): Round rather than ignoring
15980 subseconds components.
15982 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15984 * info.el (Info-apropos-matches): Make non-interactive, since it
15985 doesn't seem to do anything useful as a command (bug#8829).
15987 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15989 * frame.el (frame-background-mode, frame-set-background-mode):
15990 Move from faces.el.
15991 (frame-default-terminal-background): New function.
15993 * custom.el (custom-push-theme): Don't record faces in `changed'
15994 theme; this doesn't work correctly for per-frame face settings.
15995 (disable-theme): Use face-set-after-frame-default to reset faces.
15996 (custom--frame-color-default): New function.
15998 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16000 * dired.el (dired-flagging-regexp): Remove unused variable
16003 2011-03-29 Kevin Ryde <user42@zip.com.au>
16005 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16006 `perl-Test2' extend to match possible "fail #N" rep count
16009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16011 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16012 `smtpmail-via-smtp' now returns the error instead of nil.
16014 * isearch.el (isearch-search-fun-function): Clarify the doc string
16017 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16019 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16020 unnecessary spaces (bug#8987).
16022 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16024 * net/network-stream.el (open-network-stream): Use the
16025 :end-of-capability command thoughout.
16027 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16029 * net/network-stream.el (open-network-stream): Add the
16030 :end-of-capability command parameter, used by pop3.el.
16032 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16034 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16036 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16037 for list)" (bug#6475).
16039 * files.el (file-expand-wildcards): Ignore non-readable
16040 sub-directories while trying to find matches instead of signaling
16041 an error (bug#6297).
16043 * man.el (Man-reference-regexp): Allow matching possible
16044 word-wrapped references (bug#6289).
16046 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16047 for consistency with the other vc buffers (bug#6197).
16048 (vc-checkin): Ditto.
16050 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16052 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16054 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16056 * custom.el (defcustom): Clarify that :set is only used in the
16057 Customize user interface (bug#6089).
16059 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16060 associated with a file, refuse to run instead of erroring out
16063 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16064 the doc string, since it appears that using `fill-column' always
16065 controls the width (bug#7845).
16067 * simple.el (shell-command-on-region): Say where the error output
16068 went if `shell-command-default-error-buffer' is set (bug#6857).
16070 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16072 * allout.el (allout-yank-processing): Adjust cursor position for
16073 backwards-deleted space.
16075 (allout-rebullet-heading): Register changes with
16076 allout-exposure-changed-hook, so the modified topic is properly
16079 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16081 * minibuffer.el (completion-in-region): Document PREDICATE
16084 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16085 of keyword/argument pairs (bug#6904).
16087 * replace.el (multi-occur):
16088 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16090 2011-07-02 Drew Adams <drew.adams@oracle.com>
16092 * dired.el (dired-mark-if): Make the message about whether it's
16093 marking or unmarking clearer (bug#8523).
16095 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16097 * disp-table.el (display-table-print-array): New function.
16098 (describe-display-table): Use it to print the vectors more pretty
16101 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16103 * window.el (window-state-get-1): Don't assign clone numbers.
16104 Add clone-of item to list of window parameters.
16105 (window-state-put-2): Don't process clone numbers.
16106 (display-buffer-alist): Fix doc-string.
16108 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16110 * subr.el (remq): Don't allocate if it's not needed.
16111 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16112 (keymap--merge-bindings): New functions.
16113 (keymap-canonicalize): Use them to refine the canonicalization.
16114 * minibuffer.el (minibuffer-local-completion-map)
16115 (minibuffer-local-must-match-map): Move initialization from C.
16116 (minibuffer-local-filename-completion-map): Move initialization from C;
16117 don't inherit from anything here.
16118 (minibuffer-local-filename-must-match-map): Make obsolete.
16119 (completing-read-default): Use make-composed-keymap to combine
16120 minibuffer-local-filename-completion-map with either
16121 minibuffer-local-must-match-map or
16122 minibuffer-local-filename-completion-map.
16124 2011-07-01 Glenn Morris <rgm@gnu.org>
16126 * type-break.el (type-break-time-sum): Use dolist.
16128 * textmodes/flyspell.el (flyspell-word-search-backward):
16129 Replace CL function.
16131 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * mouse.el (mouse--strip-first-event): New function.
16134 (function-key-map): Use it to map fringe clicks to normal clicks
16137 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16138 (vc-bzr-revision-completion-table): Add support for annotate and date.
16140 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16141 inherit from parent.
16143 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16145 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16146 (dired-show-file-type): Doc fixup (bug#8818).
16148 * dired.el (dired-mode): Fix up the doc string as suggested by
16149 Drew Adams (bug#8817).
16151 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16152 cookie, since the manual says that it should be possible to add
16153 this function to `find-file-hook' (bug#8709).
16155 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16157 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16158 here. Noted Ted Zlatanov as the maintainer.
16159 (cfengine-common-settings, cfengine-common-syntax): New functions
16160 to set up common things between `cfengine-mode' and
16162 (cfengine3-mode): New mode.
16163 (cfengine3-defuns cfengine3-defuns-regex
16164 (cfengine3-class-selector-regex cfengine3-category-regex)
16165 (cfengine3-vartypes cfengine3-font-lock-keywords)
16166 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16167 (cfengine3-indent-line): Add from cfengine3.el.
16169 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16171 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16173 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16175 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16177 * window.el (same-window-buffer-names, same-window-regexps)
16178 (same-window-p, special-display-frame-alist)
16179 (special-display-popup-frame, special-display-function)
16180 (special-display-buffer-names, special-display-regexps)
16181 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16182 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16183 (split-window-preferred-function, split-height-threshold)
16184 (split-width-threshold, even-window-heights)
16185 (display-buffer-mark-dedicated, window-splittable-p)
16186 (split-window-sensibly, window-safely-shrinkable-p):
16188 (display-buffer): Don't spread args with function specifier
16189 because special-display-popup-frame won't like it.
16191 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16193 Time-stamp simplifications and fixes.
16194 These improve accuracy slightly, and future-proof the code
16195 against some potential changes to current-time format.
16197 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16198 by using time-since and float-time.
16200 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16201 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16202 + NNN microseconds".
16204 * type-break.el (type-break-time-sum): Rewrite using time-add.
16206 * play/hanoi.el (hanoi-current-time-float): Remove.
16207 All uses replaced by float-time.
16209 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16210 This yields a more-accurate answer.
16211 (rng-time-to-float): Remove; no longer needed.
16213 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16215 * calendar/timeclock.el (timeclock-seconds-to-time):
16216 Defalias to seconds-to-time, since they're the same thing.
16218 * emacs-lisp/elp.el (elp-elapsed-time):
16219 * emacs-lisp/benchmark.el (benchmark-elapse):
16220 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16222 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16224 * window.el (bury-buffer): Don't iconify the only frame.
16225 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16226 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16228 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16230 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16231 Add mouse-yank-primary.
16233 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16235 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16237 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16239 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16240 (find-library-name): Use it to find relative load names when provided
16241 absolute file name (bug#8803).
16243 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16245 * textmodes/flyspell.el (flyspell-word): Consider words that
16246 differ only in case as potential doublons (bug#5687).
16248 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16249 Remove two rather uninteresting debugging-like messages to make
16250 debbugs.el more silent.
16252 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16253 a password-like phrase.
16255 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16257 * progmodes/cc-guess.el: New file.
16259 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16261 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16262 derived from `c-basic-common-init'.
16264 * progmodes/cc-mode.el (top-level): Require cc-guess.
16265 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16267 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16269 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16271 2011-06-30 Alan Mackenzie <acm@muc.de>
16273 * progmodes/cc-engine.el (c-guess-continued-construct):
16274 Correct the handling of template-args-cont, particularly for when font
16275 lock is disabled. Name this case as "CASE G".
16277 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16279 * allout.el (allout-yank-processing): Fix injection of extra space
16280 between bullet and non-whitespace character in first topic when
16281 pasting, ensuring that the actual spacing in the pasted topic
16282 following the bullet char is preserved. This extra space was
16283 causing pasted encrypted topics to get a decrypted status even
16284 when the content was actually still encrypted. Now the decryption
16285 status from before the paste is preserved.
16287 (allout-flag-region): Set all allout overlays so they evaporate
16288 when reduced to zero length (evanescent), to prevent overlay
16291 2011-06-30 Glenn Morris <rgm@gnu.org>
16293 * w32-fns.el (w32-charset-info-alist): Declare.
16295 * find-dired.el (find-grep-options): Simplify.
16297 * term/ns-win.el (ns-set-resource): Declare.
16299 * ses.el (row, col): Declare dynamic variables honestly.
16301 * textmodes/reftex-parse.el (index-tags): Declare.
16303 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16305 * cus-edit.el (customize-push-and-save): New function.
16307 * files.el (hack-local-variables-confirm): Use it.
16309 * custom.el (load-theme): New arg NO-CONFIRM.
16310 Use customize-push-and-save (Bug#8720).
16311 (custom-enabled-themes): Doc fix.
16313 * cus-theme.el (customize-create-theme)
16314 (custom-theme-merge-theme): Callers to load-theme changed.
16316 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16318 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16319 short URLs have at least one dot in them (bug #7614).
16321 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16322 nil, because using a pty is apparently too slow (bug #895).
16324 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16326 * mail/sendmail.el (sendmail-query-once): New function.
16327 (sendmail-query-once-function): New variable.
16329 2011-06-29 Glenn Morris <rgm@gnu.org>
16331 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16333 * ses.el (top-level): Require cl when compiling.
16334 (ses-set-localvars): Fix error statement.
16335 Call it at compile time to silence a storm of warnings.
16337 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16339 * window.el (normalize-live-buffer): Rename to
16340 window-normalize-buffer.
16341 (normalize-live-frame): Rename to window-normalize-frame.
16342 (normalize-any-window): Rename to window-normalize-any-window.
16343 (normalize-live-window): Rename to window-normalize-live-window.
16344 (make-window-atom): Rename to window-make-atom.
16345 (window-resize-reset): Rename to window--resize-reset.
16346 (window-resize-reset-1): Rename to window--resize-reset-1.
16347 (resize-mini-window): Rename to window--resize-mini-window.
16348 (resize-subwindows-skip-p): Rename to
16349 window--resize-subwindows-skip-p.
16350 (resize-subwindows-normal): Rename to
16351 window--resize-subwindows-normal.
16352 (resize-subwindows): Rename to window--resize-subwindows.
16353 (resize-other-windows): Rename to window--resize-siblings.
16354 (resize-this-window): Rename to window--resize-this-window.
16355 (resize-root-window): Rename to window--resize-root-window.
16356 (resize-root-window-vertically): Rename to
16357 window--resize-root-window-vertically.
16358 (normalize-buffer-to-display): Rename to
16359 window-normalize-buffer-to-display.
16360 (normalize-buffer-to-switch-to): Rename to
16361 window-normalize-buffer-to-switch-to.
16362 Correspondingly update all callers of the functions listed
16364 (display-buffer-alist, display-buffer-normalize-arguments)
16365 (display-buffer-normalize-options, display-buffer)
16366 (display-buffer-alist-set): Use "function" instead of
16369 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16371 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16372 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16373 debbugs.gnu.org. Mention acknowledgment email.
16375 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16377 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16378 buffer multibyteness, since it shouldn't matter.
16380 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16382 * window.el (display-buffer-in-side-window): Handle dedicated
16383 windows as in display-buffer-reuse-window.
16384 (display-buffer-normalize-alist): Use value of override
16386 (display-buffer-normalize-specifiers): Use value of
16387 other-window-means-other-frame specifier.
16388 (display-buffer-alist): Rewrite some texts in widgets.
16389 (display-buffer): Spread arguments when calling function
16390 specified by fun-with-args.
16392 2011-06-28 Deniz Dogan <deniz@dogan.se>
16394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16397 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16398 selectors (Bug#5732).
16399 (css-proprietary-nmstart-re): Use `regexp-opt'.
16401 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16403 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16404 (eshell-ls-date-format): New defcustom.
16405 (eshell-ls-file): Use it.
16407 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16409 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16411 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16413 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16414 (ange-ftp-make-tmp-name): New arg.
16415 (ange-ftp-file-local-copy): Use it.
16417 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16419 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16420 no-conversion (Bug#8870).
16422 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16424 * window.el (window-right, window-left, window-child)
16425 (window-child-count, window-last-child)
16426 (window-iso-combination-p, walk-window-tree-1)
16427 (window-atom-check-1, window-tree-1, delete-window)
16428 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16429 new naming conventions - window-vchild, window-hchild,
16430 window-next and window-prev are now called window-top-child,
16431 window-left-child, window-next-sibling and window-prev-sibling
16433 (resize-window-reset): Rename to window-resize-reset.
16434 (resize-window-reset-1): Rename to window-resize-reset-1.
16435 (resize-window): Rename to window-resize.
16436 (window-min-height, window-min-width)
16437 (resize-mini-window, resize-this-window, resize-root-window)
16438 (resize-root-window-vertically, adjust-window-trailing-edge)
16439 (enlarge-window, shrink-window, maximize-window)
16440 (minimize-window, delete-window, quit-restore-window)
16441 (split-window, balance-windows, balance-windows-area-adjust)
16442 (balance-windows-area, window-state-put-2)
16443 (display-buffer-even-window-sizes, display-buffer-set-height)
16444 (display-buffer-set-width, set-window-text-height)
16445 (fit-window-to-buffer): Rename all "resize-window" prefixed
16446 calls to use the "window-resize" prefix convention.
16447 (display-buffer-alist): Fix symbol for label specifier.
16448 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16449 corresponding specifier.
16450 Reported by Juanma Barranquero <lekktu@gmail.com>.
16452 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16454 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16456 (ses-call-printer): Does not pass an empty string to formatter when the
16457 cell is empty to keep from barking printer Calc math-format-value.
16459 2011-06-27 Richard Stallman <rms@gnu.org>
16461 * battery.el (battery-mode-line-limit): New variable.
16462 (battery-update): Handle it.
16464 * mail/rmailmm.el (rmail-mime-process-multipart):
16465 Handle truncated messages.
16467 2011-06-27 Glenn Morris <rgm@gnu.org>
16469 * progmodes/flymake.el (flymake-err-line-patterns):
16470 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16472 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16474 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16475 (ses--clean-!, ses--clean-_): New functions.
16476 (ses-range): Add configurability of readout order, and conversion
16479 * ses.el (ses-repair-cell-reference-all): New function.
16480 (ses-cell-symbol): Set macro as safe, so that it can be used in
16483 * ses.el: Update cycle detection algorithm.
16484 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16485 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16486 (ses-set-localvars): New function.
16487 (ses-make-cell): Add property-list as a cell element.
16488 (ses-cell-property-get-fun, ses-cell-property-get)
16489 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16490 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16492 (ses-cell-property-set, ses-cell-property-pop)
16493 (ses-cell-property-get-handle): New macro.
16494 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16495 New aliases, used for code readability.
16496 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16498 (ses-self-reference-early-detection): New defcustom.
16499 (ses-formula-references): Robustify against self-referring cells.
16500 (ses-mode): Use ses-set-localvars.
16501 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16502 before lauching the update processing.
16503 (ses-initialize-Dijkstra-attempt): New function.
16504 (ses-recalculate-cell): Update for cycle detection based on
16505 Dijkstra algorithm.
16507 * ses.el: Fix commenting and indenting convention.
16509 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16511 * bs.el (bs-cycle-next): Complete last change.
16513 2011-06-27 Drew Adams <drew.adams@oracle.com>
16515 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16517 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16519 * net/network-stream.el (network-stream-open-starttls):
16520 Don't re-get capabilities unless we've reestablished connection.
16521 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16523 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16524 to binary to possibly avoid line encoding issues on Windows (among
16527 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16529 * net/network-stream.el (open-network-stream): Return an :error
16530 saying what the problem was, if possible.
16532 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16535 * net/network-stream.el (network-stream-open-starttls): If we
16536 wanted to use STARTTLS, and the server offered it, but we weren't
16537 able to because we had no STARTTLS support, then close the connection.
16538 (open-network-stream): Return an :error element, if present.
16540 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16542 * hl-line.el (hl-line-sticky-flag): Doc fix.
16543 (global-hl-line-sticky-flag): New option (Bug#8323).
16544 (global-hl-line-highlight): Obey it.
16546 * vc/vc.el (vc-revert-show-diff): Default to t.
16548 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16550 * allout-widgets.el (allout-widgets-post-command-business):
16551 Stop decorating intermediate isearch matches. They're not being
16552 undecorated when an isearch is continued past, and isearch
16553 automatically collapses them. This leads to "widget leaks", where
16554 decorated items accumulate in collapsed areas. Lines with lots of
16555 hidden widgets can slow down cursor travel, substantially.
16556 Too much complicated machinery would be needed to ensure undecoration,
16557 so we're doing without this nicety.
16559 (allout-widgets-tally-string): Don't try to do a hash-table-count
16560 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16561 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16562 *Messages* when allout-widgets-maintain-tally is t.
16564 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16566 * window.el (display-buffer-normalize-argument): Rename to
16567 display-buffer-normalize-arguments. Handle special meaning of
16568 LABEL argument. Respect special-display-function when popping up
16569 a new frame. Fix code searching for a window showing the buffer
16571 (display-buffer-normalize-specifiers):
16572 Call display-buffer-normalize-arguments.
16573 (display-buffer-in-window): Don't undedicate the window if its
16574 buffer remains the same.
16575 Reported by Drew Adams <drew.adams@oracle.com>.
16576 (display-buffer-alist): Add choice for same-window macro
16578 (display-buffer): Mention special meaning of LABEL argument in
16579 doc-string. Fix quoting. Don't pop up a new frame even as
16582 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16584 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16585 avoid deleting the current window in some cases (bug#8911).
16587 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16589 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16592 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16594 * net/network-stream.el (network-stream-open-starttls):
16595 Use built-in TLS support if `gnutls-available-p' is true.
16596 (network-stream-open-tls): Ditto.
16598 2011-06-26 Leo Liu <sdl.web@gmail.com>
16600 * register.el (registerv): New struct.
16601 (registerv-make): New function.
16602 (jump-to-register, describe-register-1, insert-register):
16603 Support the jump-func, print-func and insert-func slot of a registerv
16606 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16608 * vc/vc.el (vc-revert-show-diff): New defcustom.
16609 (vc-diff-internal): New arg specifying diff buffer.
16610 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16611 reuse an existing *vc-diff* buffer (Bug#8927).
16613 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16615 2011-06-26 Glenn Morris <rgm@gnu.org>
16617 * progmodes/f90.el (f90-critical-indent): New option.
16618 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16619 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16620 (f90-mode): Doc fix.
16621 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16622 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16623 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16624 (f90-match-end): Handle block, critical.
16626 2011-06-25 Glenn Morris <rgm@gnu.org>
16628 * calendar/diary-lib.el (diary-included-files): Doc fix.
16629 (diary-include-files): New function, extracted from
16630 diary-include-other-diary-files and diary-mark-included-diary-files.
16631 (diary-include-other-diary-files, diary-mark-included-diary-files):
16632 Just call diary-include-files.
16633 (diary-mark-entries): Reset diary-included-files on first call.
16635 * calendar/diary-lib.el (diary-mark-entries)
16636 (diary-mark-included-diary-files):
16637 Visit included diary-files in temp buffers.
16639 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16640 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16641 (f90-start-block-re, f90-imenu-generic-expression)
16642 (f90-looking-at-program-block-start, f90-no-block-limit):
16643 Add support for submodules.
16645 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16646 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16648 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16650 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16651 buffer-file-type before setting its value, to avoid disastrous
16652 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16654 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16656 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16658 * ses.el (ses-unload-function):
16659 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16661 * proced.el (proced-unload-function):
16662 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16664 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16666 * server.el (server-create-window-system-frame): Add parameters arg.
16667 (server-process-filter): Doc fix. Handle frame-parameters.
16669 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16671 Fix bug#8730, bug#8781.
16673 * loadhist.el (unload--set-major-mode): New function.
16674 (unload-feature): Use it.
16676 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16677 (python-unload-function): New function.
16679 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16681 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16683 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16685 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16686 the candidates list.
16688 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16690 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16692 2011-06-23 Richard Stallman <rms@gnu.org>
16694 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16695 (rmail-variables): Set next-error-move-function.
16696 (rmail-what-message): Take argument POS.
16697 (rmail-next-error-move): New function.
16699 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16701 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16702 messages for adjacent non-terminals.
16704 2011-06-23 Richard Stallman <rms@gnu.org>
16706 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16707 (rmail-show-message-1): Preserve buffer modified flag.
16708 (rmail-start-mail): Don't specify use of rmail-mail-return;
16709 that's done by mail-bury now.
16710 (rmail-mail-return): Handle arg NEWBUF.
16712 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16714 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16717 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16719 * window.el (get-lru-window, get-mru-window)
16720 (get-largest-window): Never return a minibuffer window.
16721 (display-buffer-pop-up-window): Fix a bug that could lead to
16722 reusing the minibuffer window.
16723 (display-buffer): Pass original specifier argument to
16724 display-buffer-function instead of the normalized one.
16725 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16727 2011-06-22 Leo Liu <sdl.web@gmail.com>
16729 * minibuffer.el (completing-read-function)
16730 (completing-read-default): Move from minibuf.c.
16732 2011-06-22 Richard Stallman <rms@gnu.org>
16734 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16735 to Rmail even if not started by a special Rmail command.
16737 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16738 Copy the buffer currently showing just one message.
16740 2011-06-22 Roland Winkler <winkler@gnu.org>
16742 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16743 (bibtex-clean-entry): First delete the old key so that a
16744 customized algorithm for generating the new key does not get
16745 confused by the old key.
16746 (bibtex-url): Obey regexp of first step.
16747 (bibtex-search-entries): Do not use add-to-list with local
16750 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16752 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16753 stored a user name, then query for the password first, instead of
16754 waiting for SMTP to give an error message and the trying again.
16756 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16758 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16759 BUFFER in call-process.
16761 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16763 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16765 (smtpmail-try-auth-methods): Require user name and password from
16768 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16770 * window.el (display-buffer-default-specifiers)
16771 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16772 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16773 (split-window): Normalize SIDE argument (Bug#8916).
16775 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16776 (special-display-frame-alist, special-display-popup-frame):
16777 Remove duplicate declarations. These are now in window.el.
16779 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16781 * mail/smtpmail.el (smtpmail-via-smtp):
16782 Set :use-starttls-if-possible so that we always use STARTTLS if the
16783 server supports it. SMTP servers that support STARTTLS commonly
16786 * net/network-stream.el (network-stream-open-starttls): Support
16787 upgrading to STARTTLS always, even if we don't have built-in support.
16788 (open-network-stream): Add the :always-query-capabilities keyword.
16790 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16791 upgrades with `open-network-stream', and rely solely on
16792 auth-source for all credentials. Big changes throughout the file,
16794 (smtpmail-auth-credentials): Remove.
16795 (smtpmail-starttls-credentials): Remove.
16796 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16799 * net/network-stream.el (network-stream-open-starttls):
16800 Provide support for client certificates both for external and built-in
16802 (auth-source): Require.
16803 (open-network-stream): Document the :client-certificate keyword.
16804 (network-stream-certificate): Change cert-cert to cert and
16807 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16809 * net/tramp-cache.el (top): Don't load the persistency file when
16810 "emacs -Q" has been called.
16812 2011-06-21 Tim Harper <timcharper@gmail.com>
16814 * term/ns-win.el (ns-initialize-window-system):
16815 Set application-specific `ApplePressAndHoldEnabled' system
16816 resource to NO as it is not yet supported by the NS port.
16818 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16820 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16821 (list-dynamic-libraries): ...not here.
16823 2011-06-21 Leo Liu <sdl.web@gmail.com>
16825 * subr.el (sha1): Implement sha1 using secure-hash.
16827 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16829 * window.el (display-buffer-alist): In default value do not
16830 enforce searching a window on any but the selected frame.
16831 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16832 (display-buffer-select-window): Remove function.
16833 (display-buffer-in-window): When a window on another frame gets
16834 reused, do not select it any more but just raise its frame if
16835 necessary (Bug#8851) and (Bug#8856).
16836 (display-buffer-normalize-options): Handle pop-up-frames related
16837 options more faithfully.
16838 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16839 window if it is on another frame.
16840 (display-buffer-alist, display-buffer-default-specifiers):
16841 Don't make new frame unsplittable by default.
16842 (display-buffer-normalize-argument): Fix doc-string typo and use
16843 'same-frame-other-window instead of 'other-window when associating
16844 with display-buffer-macro-specifiers.
16846 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16848 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16850 (5x5-mode-map, 5x5-mode-menu): Bind them.
16851 (5x5-draw-grid): Tweak the solver's rendering.
16853 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16855 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16856 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16858 2011-06-21 Drew Adams <drew.adams@oracle.com>
16860 * menu-bar.el: Use function variable instead of switch-to-buffer.
16861 (menu-bar-select-buffer-function): New variable.
16862 (menu-bar-update-buffers): Use it (bug#8876).
16864 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16869 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16871 * x-dnd.el (x-dnd-version-from-flags)
16872 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16873 and long as number (Bug#8899).
16874 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16876 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16878 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16879 (completion-try-completion, completion-all-completions): Compute the
16880 metadata argument if it's missing; make it optional (bug#8795).
16882 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16883 (widget-complete): Use new :completion-function property.
16884 (widget-completions-at-point): New function.
16885 (default): Use :completion-function instead of :complete.
16886 (widget-default-completions): Rename from widget-default-complete;
16888 (widget-string-complete, widget-file-complete, widget-color-complete):
16890 (file, symbol, function, variable, coding-system, color):
16891 * international/mule-cmds.el (default-input-method, charset)
16892 (language-info-custom-alist):
16893 * cus-edit.el (face): Use new property :completions.
16895 * progmodes/pascal.el (pascal-completions-at-point): New function.
16896 (pascal-mode): Use it.
16897 (pascal-mode-map): Use completion-at-point.
16898 (pascal-toggle-completions): Make obsolete.
16899 (pascal-complete-word, pascal-show-completions):
16900 * progmodes/octave-mod.el (octave-complete-symbol):
16901 Redefine as obsolete alias.
16902 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16903 Signal absence of completion info for old Octave,
16904 (inferior-octave-complete): Redefine as obsolete alias.
16905 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16906 (meta-completions-at-point): Rename from meta-complete-symbol and
16907 adapt it for use on completion-at-point-functions.
16908 (meta-common-mode): Use it.
16909 (meta-looking-at-backward, meta-match-buffer): Remove.
16910 (meta-complete-symbol): Redefine as obsolete alias.
16911 (meta-common-mode-map): Use completion-at-point.
16912 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16913 (makefile-mode-map): Use completion-at-point.
16914 (makefile-completions-at-point): Rename from makefile-complete and
16915 adapt it for use on completion-at-point-functions.
16916 (makefile-mode): Use it.
16917 (makefile-complete): Redefine as obsolete alias.
16919 2011-06-20 Deniz Dogan <deniz@dogan.se>
16921 * net/rcirc.el: Delete trailing whitespaces once and for all.
16923 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16925 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16927 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16929 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16931 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16933 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16935 * window.el (display-buffer-other-window-means-other-frame):
16936 Call display-buffer-normalize-alist.
16937 (display-buffer-normalize-specifiers-1): Rename to
16938 display-buffer-normalize-argument. New argument other-frame.
16940 (display-buffer-normalize-specifiers-2): Rename to
16941 display-buffer-normalize-options.
16942 (display-buffer-normalize-alist-1): New function.
16943 (display-buffer-normalize-specifiers-3): Rename to
16944 display-buffer-normalize-alist.
16945 Call display-buffer-normalize-alist-1.
16946 (display-buffer-normalize-options-inhibit): New variable.
16947 (display-buffer-normalize-specifiers): Rewrite calling
16948 display-buffer-normalize-alist,
16949 display-buffer-normalize-argument, and
16950 display-buffer-normalize-options. Don't call the latter if
16951 display-buffer-normalize-options-inhibit is non-nil.
16952 (frame-auto-delete): New option.
16953 (window-deletable-p): Use frame-auto-delete.
16954 (window-list-no-nils, window-state-ignored-parameters)
16955 (window-state-get-1, window-state-get, window-state-put-list)
16956 (window-state-put-1, window-state-put-2, window-state-put):
16958 (display-buffer-normalize-options): Move special-display-p group
16959 after pop-up-frame group (Bug#8851) and (Bug#8856).
16961 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16963 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16965 (rx-submatch-n): New function.
16968 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16971 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16973 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16975 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16976 anytime existing face settings are present (Bug#8889).
16978 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16979 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16980 Remove unused argument.
16982 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16984 * window.el (display-buffer-default-specifiers):
16985 Remove pop-up-frame. Add pop-up-window-min-height,
16986 pop-up-window-min-width, and another reuse-window specifier
16987 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16988 (display-buffer-normalize-specifiers-2):
16989 Handle split-height-threshold and split-width-threshold also when
16990 pop-up-windows is unset. Add a reuse-window specifier for the
16991 case popping up a new window fails.
16992 (special-display-popup-frame): Remove double quoting.
16993 (display-buffer-normalize-specifiers-1): Fix thinko.
16995 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16997 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16998 according to comint-completion-addsuffix.
17000 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17001 (pcomplete-suffix-list): Mark as obsolete.
17002 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17003 pcomplete-seen in the closure.
17004 (pcomplete-comint-setup): Setup completion-at-point as well.
17005 (pcomplete--entries): New function.
17006 (pcomplete--env-regexp): New var.
17007 (pcomplete-entries): Rewrite to work with partial-completion and
17008 without relying on pcomplete-suffix-list.
17009 (pcomplete-pare-list): Remove, unused.
17011 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17013 * window.el (display-buffer-alist): Set pop-up-window-min-height
17014 and pop-up-window-min-width in default value. Reported by
17015 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17016 other-window-means-other-frame.
17017 (display-buffer-macro-specifiers): Comment out entry for
17018 other-window specifier.
17019 (display-buffer-other-window-means-other-frame): New function.
17020 (display-buffer-normalize-specifiers-1): New arguments
17021 buffer-name and label. Treat other-window case specially.
17022 (display-buffer-normalize-specifiers-2): Treat other-window case
17024 (display-buffer-normalize-specifiers-3): New function.
17025 (display-buffer-normalize-specifiers):
17026 Call display-buffer-normalize-specifiers-3.
17028 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17030 * window.el (same-window-p): Fix two typos introduced when
17031 adding with-no-warnings.
17032 (display-buffer-normalize-specifiers-1): Don't check
17033 pop-up-frames for 'unset initialization.
17034 (display-buffer-normalize-specifiers-2): Major rewrite using
17035 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17036 (pop-up-frames, display-buffer-reuse-frames)
17037 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17038 Suggested by David Engster <deng@randomsample.de>.
17039 (even-window-heights): Initialize to 'unset.
17040 (display-buffer-alist-set): Handle new 'unset initializations.
17041 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17044 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17046 * window.el (display-buffer-normalize-specifiers-1):
17047 Respect current value of pop-up-frames for most reasonable values of
17048 second argument of display-buffer (Bug#8865).
17049 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17050 (switch-to-buffer-other-window-same-frame)
17051 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17053 (display-buffer): Don't check noninteractive when calling
17054 display-buffer-pop-up-frame.
17055 (display-buffer-pop-up-frame): Never pop up a frame in
17056 noninteractive mode (Bug#8857).
17057 (enlarge-window, shrink-window): Don't report an error when the
17058 window can't be resized as requested (Bug#8862).
17060 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17062 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17064 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17066 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17068 2011-06-15 Alan Mackenzie <acm@muc.de>
17070 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17071 for declarators, disable knr checking to speed up for normal files.
17072 2: Refactor, replacing a sequence of nested if forms by a cond form.
17074 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17076 * net/network-stream.el (open-network-stream): Add the keyword
17077 :always-query-capabilities for the case where you want to force a
17078 `plain' network connection, but the protocol still requires the
17079 capabilitiy command (i.e., SMTP and EHLO).
17081 * subr.el (process-live-p): Rename from `process-alive-p' for
17082 consistency with other `-live-p' functions.
17084 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17086 * window.el (same-window-buffer-names, same-window-regexps)
17087 (special-display-frame-alist, special-display-popup-frame)
17088 (special-display-function, special-display-buffer-names)
17089 (special-display-regexps, pop-up-frame-alist)
17090 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17091 (pop-up-windows, split-window-preferred-function)
17092 (split-height-threshold, split-width-threshold, even-window-heights)
17093 (display-buffer-mark-dedicated): Don't encourage the use of
17094 display-buffer-alist from Elisp code.
17096 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17098 * progmodes/python.el (python-mode): Derive from prog-mode.
17099 * progmodes/ps-mode.el (ps-mode):
17100 * progmodes/mixal-mode.el (mixal-mode):
17101 * progmodes/cfengine.el (cfengine-mode):
17102 * progmodes/ld-script.el (ld-script-mode): Likewise.
17104 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17106 * window.el (display-buffer-alist): Trim default value to avoid
17107 popping up a new frame (Bug#8857) or reusing an arbitrary window
17109 (display-buffer): Do not fall back on popping up a new frame in
17110 batch mode (Bug#8857).
17112 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17114 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17115 (custom-theme-summary): New function.
17116 (customize-themes): Use it.
17118 2011-06-13 Glenn Morris <rgm@gnu.org>
17120 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17122 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17124 * help.el (help-window): Remove variable.
17125 (help-window-point-marker, temp-buffer-max-height)
17126 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17127 (help-print-return-message): Don't set help-window.
17128 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17129 (help-window-setup-finish): Remove.
17130 (help-window-display-message, help-window-setup)
17131 (with-help-window): Major rewrite based on new
17132 display-buffer-window variable.
17134 * help-mode.el (help-mode-finish): Remove help-window related
17137 * view.el (view-exits-all-viewing-windows): Remove reference to
17138 view-return-to-alist in doc-string.
17139 (view-return-to-alist): Make obsolete.
17140 (view-buffer): Call pop-to-buffer-same-window and remove
17142 (view-buffer-other-window): Call pop-to-buffer-other-window and
17143 simplify code. Ignore second argument.
17144 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17145 simplify code. Ignore second argument.
17146 (view-return-to-alist-update): Make obsolete.
17147 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17148 Rewrite using quit-restore window parameters.
17149 (view-mode-exit): Rename second argument to EXIT-ONLY.
17150 Rewrite using quit-restore-window.
17151 (View-exit, View-exit-and-edit, View-leave, View-quit)
17152 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17153 appropriate arguments.
17154 (view-end-message): Use quit-restore window parameter.
17156 * window.el (display-buffer-function): Rewrite doc-string.
17157 (display-buffer-window, display-buffer-alist): New variables.
17158 (display-buffer-split-specifiers)
17159 (display-buffer-side-specifiers)
17160 (display-buffer-macro-specifiers): New constants.
17161 (display-buffer-even-window-sizes, display-buffer-set-height)
17162 (display-buffer-set-width, display-buffer-select-window)
17163 (display-buffer-in-window, display-buffer-reuse-window)
17164 (display-buffer-split-window-1, display-buffer-split-window)
17165 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17166 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17167 (display-buffer-in-side-window, normalize-buffer-to-display)
17168 (display-buffer-normalize-specifiers-1)
17169 (display-buffer-normalize-specifiers-2)
17170 (display-buffer-normalize-specifiers, display-buffer-frame):
17172 (display-buffer): Major rewrite.
17173 (display-buffer-other-window, display-buffer-other-frame)
17174 (pop-to-buffer, switch-to-buffer-other-window)
17175 (switch-to-buffer-other-frame): Rewrite.
17176 (display-buffer-same-window, display-buffer-same-frame)
17177 (display-buffer-same-frame-other-window)
17178 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17179 (pop-to-buffer-other-window)
17180 (pop-to-buffer-same-frame-other-window)
17181 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17182 (switch-to-buffer-other-window-same-frame): New functions.
17183 (same-window-p, special-display-p): Rewrite disabling warnings.
17185 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17186 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17188 (same-window-buffer-names, same-window-regexps)
17189 (special-display-frame-alist, special-display-popup-frame)
17190 (special-display-function, special-display-buffer-names)
17191 (special-display-regexps, pop-up-frame-alist)
17192 (pop-up-frame-function, split-window-preferred-function)
17193 (split-height-threshold, split-width-threshold)
17194 (even-window-heights): Make obsolete.
17196 2011-06-12 Glenn Morris <rgm@gnu.org>
17198 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17199 Misc simplifications.
17201 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17203 * window.el (window-safely-shrinkable-p): Restore function which
17204 was inadvertently removed in change from 2011-06-11. Declare as
17207 * calendar/calendar.el (calendar-generate-window):
17208 Use window-iso-combined-p instead of combination of one-window-p and
17209 window-safely-shrinkable-p.
17211 2011-06-12 Glenn Morris <rgm@gnu.org>
17213 * progmodes/fortran.el (fortran-mode-syntax-table):
17214 * progmodes/f90.el (f90-mode-syntax-table):
17215 Set % to punctuation. (Bug#8820)
17216 (f90-find-tag-default): Remove, no longer needed.
17218 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17220 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17222 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17224 * image.el (image-animated-p): Return animation delay in seconds.
17225 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17226 (image-animate-timeout): Remove DELAY argument. Don't assume
17227 every subimage has the same delay; get it from image-animated-p.
17228 (image-animate): Caller changed.
17230 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17232 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17233 to ignored backtrace functions.
17235 2011-06-11 Glenn Morris <rgm@gnu.org>
17237 * calendar/appt.el (appt-disp-window-function): Doc fix.
17238 (appt-check): Handle overlapping appointments. (Bug#8337)
17240 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17242 * window.el (window-tree-1, window-tree): New functions, moving
17243 the latter to window.el.
17244 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17245 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17246 (bw-refresh-edges): Remove.
17247 (balance-windows-1, balance-windows-2): New functions.
17248 (balance-windows): Rewrite in terms of window tree functions,
17249 balance-windows-1 and balance-windows-2.
17250 (bw-adjust-window): Remove.
17251 (balance-windows-area-adjust): New function with functionality of
17252 bw-adjust-window but using resize-window.
17253 (set-window-text-height): Rewrite doc-string.
17254 Use normalize-live-window and resize-window.
17255 (enlarge-window-horizontally, shrink-window-horizontally):
17256 Rename argument to DELTA.
17257 (window-buffer-height): New function.
17258 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17259 Rewrite using new window resize routines.
17260 (kill-buffer-and-window, mouse-autoselect-window-select):
17261 Use ignore-errors instead of condition-case.
17262 (quit-window): Call delete-frame instead of delete-windows-on
17263 for the only buffer on frame.
17265 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17267 * loadup.el (top-level): Load window before files for the sake
17268 of replace-buffer-in-windows.
17270 * files.el (read-buffer-to-switch)
17271 (switch-to-buffer-other-window)
17272 (switch-to-buffer-other-frame, display-buffer-other-frame):
17275 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17276 (previous-buffer): Move to window.el.
17278 * bindings.el (unbury-buffer): Move to window.el.
17280 * window.el (delete-other-windows-vertically): Move after
17281 definition of delete-other-windows.
17282 (other-window, delete-windows-on, replace-buffer-in-windows):
17283 Move here from window.c.
17284 (record-window-buffer, unrecord-window-buffer)
17285 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17286 (switch-to-next-buffer): New functions.
17287 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17288 from simple.el. Call switch-to-next-buffer.
17289 (previous-buffer): Move here from simple.el.
17290 Call switch-to-prev-buffer.
17291 (bury-buffer): Move here from buffer.c. Switch to previous
17292 buffer when window cannot be deleted.
17293 (unbury-buffer): Move here from bindings.el.
17294 (ctl-x-map): Move binding for other-window from window.c to
17296 (read-buffer-to-switch, switch-to-buffer-other-window)
17297 (switch-to-buffer-other-frame): Move here from files.el.
17298 (normalize-buffer-to-switch-to): New functions.
17299 (switch-to-buffer): Move here from buffer.c.
17300 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17302 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17304 * window.el (window-min-height, window-min-width): Move here
17305 from window.c. Add defcustoms and rewrite doc-strings.
17306 (resize-mini-window, resize-window): New functions.
17307 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17308 Move here from window.c.
17309 (maximize-window, minimize-window): New functions.
17310 (delete-window, delete-other-windows, split-window): Move here
17312 (window-split-min-size): New function.
17313 (split-window-keep-point): Mention split-window-above-each-other
17314 instead of split-window-vertically.
17315 (split-window-above-each-other, split-window-vertically):
17316 Rename split-window-vertically to split-window-above-each-other
17317 and provide defalias for old definition.
17318 (split-window-side-by-side, split-window-horizontally):
17319 Rename split-window-horizontally to split-window-side-by-side
17320 and provide defalias for the old definition.
17321 (ctl-x-map): Move bindings for delete-window,
17322 delete-other-windows and enlarge-window here from window.c.
17323 Replace bindings for split-window-vertically and
17324 split-window-horizontally by bindings for
17325 split-window-above-each-other and split-window-side-by-side.
17327 * cus-start.el (all): Remove entries for window-min-height and
17328 window-min-width. Add entries for window-splits and
17331 2011-06-09 Glenn Morris <rgm@gnu.org>
17333 * calendar/appt.el (appt-mode-line): New function.
17334 (appt-check, appt-disp-window): Use it.
17336 * files.el (hack-one-local-variable-eval-safep):
17337 Allow minor-modes with explicit +/-1 arguments.
17339 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17341 * term/xterm.el (xterm): Add defgroup.
17342 (xterm-extra-capabilities): Add defcustom to supply known xterm
17343 capabilities, skip querying them, or query them (default).
17344 (terminal-init-xterm): Use it.
17345 (terminal-init-xterm-modify-other-keys): New function to set up
17346 modifyOtherKeys support to simplify `terminal-init-xterm'.
17348 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17350 * window.el (resize-window-reset, resize-window-reset-1)
17351 (resize-subwindows-skip-p, resize-subwindows-normal)
17352 (resize-subwindows, resize-other-windows, resize-this-window)
17353 (resize-root-window, resize-root-window-vertically)
17354 (window-deletable-p, window-or-subwindow-p)
17355 (frame-root-window-p): New functions.
17357 2011-06-09 Glenn Morris <rgm@gnu.org>
17359 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17360 (ange-ftp-get-files): Use it.
17362 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17364 * mail/sendmail.el (mail-recover-1, mail-recover):
17365 * files.el (recover-file, recover-session):
17366 Handle dired-listing-switches not being just a single short option.
17368 2011-06-09 Glenn Morris <rgm@gnu.org>
17370 * calendar/appt.el (appt-display-message, appt-disp-window):
17371 Handle lists of appointments.
17373 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17375 * window.el (one-window-p): Move down in code.
17376 Rewrite doc-string.
17377 (window-current-scroll-bars): Rewrite doc-string.
17378 Normalize live window argument.
17379 (walk-windows, get-window-with-predicate, count-windows):
17380 Rewrite doc-string. Use window-list-1.
17381 (window-in-direction-2, window-in-direction, get-mru-window):
17384 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17386 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17387 Doc fix (Bug#8713).
17389 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17391 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17393 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17395 * loadhist.el (unload-feature-special-hooks):
17396 Add `comint-output-filter-functions'.
17398 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17400 * calendar/appt.el (appt-check): Move some initializations into the let.
17402 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17404 * window.el (window-height): Defalias to window-total-height.
17405 (window-width): Defalias to window-body-width.
17407 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17409 * image-mode.el (image-toggle-animation): New command.
17410 (image-mode-map): Bind it to RET.
17411 (image-mode): Update message.
17412 (image-toggle-display-image): Avoid a spurious cache flush.
17413 (image-transform-rotation): Doc fix.
17414 (image-transform-properties): Return quickly in the normal case.
17415 (image-animate-loop): Rename from image-animate-max-time.
17417 * image.el (image-animate-max-time): Move to image-mode.el.
17418 (create-animated-image): Remove unnecessary function.
17419 (image-animate): Rename from image-animate-start. New arg.
17420 (image-animate-stop): Remove; just use image-animate-timer.
17421 (image-animate-timer): Use car-safe.
17422 (image-animate-timeout): Rename argument.
17424 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17426 * window.el (get-lru-window, get-largest-window): Move here from
17427 window.c. Rename first argument to ALL-FRAMES.
17428 Rephrase doc-strings.
17429 (get-buffer-window-list): Rewrite using window-list-1.
17430 Rephrase doc-string.
17431 (window-safe-min-height, window-safe-min-width): New constants.
17432 (window-size-ignore, window-min-size, window-min-size-1)
17433 (window-sizable, window-sizable-p, window-size-fixed-1)
17434 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17435 (window-max-delta-1, window-max-delta, window-resizable)
17436 (window-resizable-p, window-total-height, window-total-width)
17437 (window-body-width): New functions.
17438 (window-full-height-p, window-full-width-p): Rewrite using
17440 (window-body-height): Rewrite using window-body-size.
17442 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17444 * window.el (window-right, window-left, window-child)
17445 (window-child-count, window-last-child, window-any-p)
17446 (normalize-live-buffer, normalize-live-frame)
17447 (normalize-any-window, normalize-live-window)
17448 (window-iso-combination-p, window-iso-combined-p)
17449 (window-iso-combinations)
17450 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17451 (windows-with-parameter, window-with-parameter)
17452 (window-atom-root, make-window-atom, window-atom-check-1)
17453 (window-atom-check, window-side-check, window-check):
17455 (ignore-window-parameters, window-sides, window-sides-vertical)
17456 (window-sides-slots): New variables.
17457 (window-size-fixed): Move down in code. Minor doc-string fix.
17459 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17461 * comint.el (comint-dynamic-complete-as-filename)
17462 (comint-dynamic-complete-filename): Correctly call
17463 completion-in-region.
17465 2011-06-05 Deniz Dogan <deniz@dogan.se>
17467 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17470 2011-06-05 Deniz Dogan <deniz@dogan.se>
17472 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17473 (rcirc): Use it to prompt for encryption.
17475 2011-06-05 Roland Winkler <winkler@gnu.org>
17477 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17478 (bibtex-search-entries): New command bound to C-c C-a.
17479 (bibtex-display-entries): New function.
17481 2011-06-05 Roland Winkler <winkler@gnu.org>
17483 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17484 (bibtex-insert-kill): After yanking insert newline if necessary.
17485 (bibtex-initialize): Call bibtex-string-files-init only once.
17486 (bibtex-mode): Do not call easy-menu-add.
17487 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17488 (bibtex-yank): Set arg properly if nil.
17490 2011-06-05 Roland Winkler <winkler@gnu.org>
17492 * textmodes/bibtex.el (bibtex-search-entry-globally):
17494 (bibtex-search-entry): Use it.
17496 2011-06-05 Roland Winkler <winkler@gnu.org>
17498 * textmodes/bibtex.el (bibtex-entry-format): New option
17500 (bibtex-format-entry, bibtex-reformat): Honor this option.
17501 (bibtex-parse-entry): Return fields in proper order.
17503 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17505 * doc-view.el (doc-view-remove-if): Move computation of result out
17506 of `dolist' to silence misleading lexical-binding warning.
17508 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17510 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17511 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17513 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17515 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17518 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17520 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17521 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17522 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17523 (tramp-parse-putty):
17524 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17525 (tramp-completion-function-alist-ssh)
17526 (tramp-completion-function-alist-telnet)
17527 (tramp-completion-function-alist-su)
17528 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17531 * net/tramp-ftp.el:
17533 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17534 load "tramp.el" `tramp-set-completion-function'.
17536 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17538 * shell.el: Require and use pcomplete.
17539 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17540 (shell-completion-vars): Set pcomplete-default-completion-function.
17542 2011-06-04 Deniz Dogan <deniz@dogan.se>
17544 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17547 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17551 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17553 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17554 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17555 * vc/log-view.el (log-view-beginning-of-defun):
17556 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17557 (smerge-refine-forward, smerge-refine-chopup-region):
17558 Silence warning for unused `dotimes' counter variables.
17560 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * net/tramp.el (tramp-with-progress-reporter): Rename from
17563 with-progress-reporter. Use `declare'.
17564 * net/tramp-smb.el:
17566 * net/tramp-gvfs.el: Update all uses.
17568 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17570 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17571 buffer isn't killed before making it current.
17573 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17575 Silence various byte-compiler warnings.
17576 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17577 `access-type' and new obsolescence format.
17578 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17580 (byte-compile-check-variable): New `access-type' argument.
17581 Only warn if the access-type is obsolete.
17582 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17583 (byte-compile-variable-set): Adjust callers.
17584 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17585 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17586 setting it as obsolete.
17587 * simple.el (minibuffer-completing-symbol):
17588 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17589 access as obsolete.
17590 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17592 * international/quail.el (quail-mouse-choose-completion): Remove unused
17593 code referring to obsolete var.
17594 (quail-choose-completion-string): Remove.
17595 * server.el (server-clients-with, server-kill-buffer-query-function)
17596 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17597 * proced.el (proced-send-signal):
17598 * emacs-lisp/lisp.el (lisp-complete-symbol):
17599 Replace completion-annotate-function with completion-extra-properties.
17601 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17603 * simple.el (goto-line): Use read-number.
17604 (overriding-map-is-bound): Remove.
17605 (saved-overriding-map): Change default.
17606 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17607 Take the map as argument.
17608 (universal-argument, negative-argument, digit-argument): Use it.
17609 (restore-overriding-map): Adjust.
17610 (do-auto-fill): Use fill-forward-paragraph.
17611 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17613 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17614 (minibuffer-inactive-mode): New major mode.
17615 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17616 the *Messages* buffer" hack.
17617 (mouse-popup-menubar): Don't burp if the event is a normal key.
17619 Miscellaneous tweaks.
17620 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17621 lexical scoping as in subr.el's dolist and dotimes.
17622 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17623 Silence compiler warning.
17624 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17625 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17626 * international/ccl.el (ccl-compile): Trivial simplification.
17627 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17628 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17629 `printflag' argument.
17630 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17631 Purecopy the whole obsolescence data.
17633 2011-06-01 Leo Liu <sdl.web@gmail.com>
17635 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17636 improve doc-string as suggested by Marco Pessotto
17637 <melmothx@gmail.com>.
17638 (rcirc-print): Fix last change.
17640 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17642 * minibuffer.el (complete-with-action): Return nil for the metadata and
17643 boundaries of non-functional tables.
17644 (completion-table-dynamic): Return nil for the metadata.
17645 (completion-table-with-terminator): Add default case, using
17646 complete-with-action.
17647 (completion--metadata): New function.
17648 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17649 to try and avoid pathological performance problems.
17650 (completion--embedded-envvar-table): Return `category' metadata.
17652 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17654 * subr.el (process-alive-p): New tiny convenience function.
17656 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17658 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17659 content but also its previous major mode.
17661 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17663 * emacs-lisp/debug.el (debug): Restore the previous content of the
17664 *Backtrace* buffer when we exit with C-M-c.
17666 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17668 * minibuffer.el: Add metadata method to completion tables.
17669 (completion-category-overrides): New defcustom.
17670 (completion-metadata, completion--field-metadata)
17671 (completion-metadata-get, completion--styles)
17672 (completion--cycle-threshold): New functions.
17673 (completion-try-completion, completion-all-completions):
17674 Add `metadata' argument to choose completion-styles.
17675 (completion--do-completion): Use metadata to choose cycling.
17676 (completion-all-sorted-completions): Use metadata for sorting.
17677 Remove :completion-cycle-penalty which is not needed any more.
17678 (completion--try-word-completion): Add `metadata' argument.
17679 (minibuffer-completion-help): Check metadata for annotation function
17681 (completion-file-name-table): Return `category' metadata.
17682 (minibuffer-completing-file-name): Make obsolete.
17683 * simple.el (minibuffer-completing-symbol): Make obsolete.
17684 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17685 completion-try-completion.
17687 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17689 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17691 2011-05-30 Leo Liu <sdl.web@gmail.com>
17693 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17694 (rcirc-print): Decode all incoming messages (bug#8744).
17695 (rcirc-decode-coding-system): Allow value nil for automatic coding
17698 2011-06-01 Glenn Morris <rgm@gnu.org>
17700 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17702 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17704 * image.el (image-animate-max-time): Allow nil and t values.
17706 (create-animated-image): Doc fix.
17707 (image-animate-start): Remove second arg; just use
17708 image-animate-max-time.
17709 (image-animate-timeout): Doc fix. Args changed.
17711 * image-mode.el (image-toggle-display-image): Ensure that the
17712 image spec passed to the animate timer is the same object as in
17713 the buffer's display property (Bug#6981).
17714 (image-transform-properties): Doc fix.
17716 * image.el (image-animate-max-time): Default to nil.
17718 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17720 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17721 entire buffer list (Bug#8184).
17723 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17725 * image.el (imagemagick-types-inhibit)
17726 (imagemagick-register-types): Doc fix.
17728 2011-05-29 Deniz Dogan <deniz@dogan.se>
17730 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17733 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17735 * select.el: Don't perform clipboard-manager saving in hooks;
17736 leave the hooks empty.
17738 2011-05-28 Leo Liu <sdl.web@gmail.com>
17740 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17741 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17742 (occur-edit-mode): New major mode (Bug#8463).
17743 (occur-after-change-function): New function.
17744 (occur-engine): Give Occur tags a read-only property.
17746 2011-05-28 Kevin Ryde <user42@zip.com.au>
17748 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17750 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17752 * bindings.el (help-echo): Make the initial non-indicator dash
17753 empty on graphical terminals (Bug#7295).
17755 * files.el (auto-mode-alist): Move config rule after the
17756 in-stripping one (Bug#8547).
17758 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17760 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17761 setting (Bug#8740).
17763 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17765 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17766 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17769 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17771 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17773 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17775 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17776 (hs-hide-block-at-point, hs-find-block-beginning)
17777 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17780 2011-05-28 Glenn Morris <rgm@gnu.org>
17782 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17784 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17786 * help-fns.el (describe-function-1): If the function is a derived
17787 major mode, print the parent mode.
17789 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17790 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17792 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17794 * minibuffer.el (completion--capf-wrapper): Check applicability before
17795 returning non-nil for non-exclusive completion data.
17796 * progmodes/etags.el (tags-completion-at-point-function):
17797 * info-look.el (info-lookup-completions-at-point): Mark as
17799 (info-complete): Adjust accordingly.
17801 * info-look.el: Convert to lexical-binding and completion-at-point.
17802 (info-lookup-completions-at-point): New function.
17803 (info-complete): Use it and completion-in-region.
17805 2011-05-28 Drew Adams <drew.adams@oracle.com>
17807 * isearch.el: Let M-e start with point at the first mismatched char.
17808 (isearch-fail-pos): New function.
17809 (isearch-edit-string): Use it.
17811 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17813 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17815 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17817 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17818 traversal functions for avl-trees.
17819 (avl-tree--stack): New struct.
17820 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17821 (avl-tree-enter): Add optional `updatefun' arg.
17822 (avl-tree--do-enter): Add optional `updatefun' arg.
17823 Change return value.
17824 (avl-tree-delete): Add optional `test' and `nilflag' args.
17825 (avl-tree--do-delete): Add `test' and `nilflag' args.
17826 Change return value.
17827 (avl-tree-member): Add optional `nilflag'
17828 (avl-tree-member-p): New function.
17829 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17830 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17831 (avl-tree-stack-empty-p): New functions.
17833 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17834 avl-tree--del-balance1 and make it work both ways.
17835 (avl-tree--del-balance2): Remove.
17836 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17837 make it work both ways.
17838 (avl-tree--enter-balance2): Remove.
17839 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17841 (avl-tree--mapc, avl-tree-map): Add direction argument.
17843 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17845 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17847 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17849 * select.el: Support clipboard managers with built-in function
17850 x-clipboard-manager-save, via delete-frame-functions and
17852 (xselect-convert-to-targets): Add MULTIPLE target to list.
17853 (xselect-convert-to-save-targets): New function.
17855 2011-05-27 Kenichi Handa <handa@m17n.org>
17857 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17858 let-binding rfc2047-encode-encoded-words to nil.
17860 2011-05-27 Glenn Morris <rgm@gnu.org>
17862 * mail/emacsbug.el: Don't require url-util.
17864 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17866 * files.el (set-auto-mode):
17867 Also respect mode: entries at the end of the file. (Bug#8586)
17869 2011-05-26 Glenn Morris <rgm@gnu.org>
17871 * files.el (hack-local-variables-prop-line, hack-local-variables):
17872 Downcase mode names, as seems to be traditional.
17873 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17875 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17876 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17878 2011-05-25 Julien Danjou <julien@danjou.info>
17880 * textmodes/rst.el (rst-define-level-faces): Do not define face
17881 symbol if it is already defined.
17883 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17885 * play/5x5.el (5x5-new-game, 5x5-randomize):
17886 Reset 5x5-solver-output to nil when a new grid is cast.
17887 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17888 these debugging traces, as defmacro breaks the compiled code.
17890 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17894 2011-05-24 Leo Liu <sdl.web@gmail.com>
17896 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17897 (vc-bzr-sha1): Adapt.
17899 * sha1.el: Remove. Function `sha1' is now builtin.
17901 * bindings.el: Provide sha1 feature.
17903 2011-05-24 Kenichi Handa <handa@m17n.org>
17905 * mail/sendmail.el: Require `rfc2047'.
17906 (mail-insert-from-field): Do not perform RFC2047 encoding.
17907 (mail-encode-header): New function.
17908 (sendmail-send-it): Set buffer-file-coding-system of the work
17909 buffer to the return value of select-message-coding-system.
17910 Call mail-encode-header.
17912 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17914 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17916 * mail/supercite.el (sc-default-cite-frame):
17917 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17919 2011-05-24 Glenn Morris <rgm@gnu.org>
17921 * progmodes/python.el (brm-menu): Declare.
17923 * emulation/viper.el (viper-set-hooks): Declare.
17925 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17926 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17927 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17928 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17929 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17930 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17932 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17934 Add an :exit-function for completion-at-point.
17936 * minibuffer.el (completion--done): New fun.
17937 (completion--do-completion): Use it. New arg `expect-exact'.
17938 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17939 since completion--do-completion does it for us now.
17940 (minibuffer-force-complete): Use completion--done and
17941 completion--replace. Handle sole-completion case with more care.
17942 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17943 (completion-extra-properties): New var.
17944 (completion-annotate-function): Make obsolete.
17945 (minibuffer-completion-help): Adjust accordingly.
17946 Use completion-list-insert-choice-function.
17947 (completion-at-point, completion-help-at-point):
17948 Bind completion-extra-properties.
17949 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17950 * simple.el (completion-list-insert-choice-function): New var.
17951 (completion-setup-function): Preserve it.
17952 (choose-completion): Pay attention to it, shuffle the code a bit.
17953 (choose-completion-string): New arg `insert-function'.
17955 * textmodes/bibtex.el: Convert to lexical binding.
17956 (bibtex-mode-map): Use completion-at-point.
17957 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17958 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17959 (bibtex-complete): Define as obsolete alias.
17960 (bibtex-complete-internal): Remove.
17961 (bibtex-format-entry): Remove unused sub-group in regexp.
17962 * shell.el (shell--command-completion-data)
17963 (shell-environment-variable-completion):
17964 * pcomplete.el (pcomplete-completions-at-point):
17965 * comint.el (comint--complete-file-name-data): Use :exit-function
17966 instead of completion-table-with-terminator so it also works for
17969 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17971 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17973 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17976 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17978 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17980 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17981 customization variable and implement: If non-nil, auto-fill will
17982 be inhibited while on topic's header line.
17984 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17986 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17987 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17988 always have a solution in grid size = 5 cases.
17989 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17990 (5x5-solver-output, 5x5-log-buffer): New vars.
17991 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17992 Make these variables buffer local to achieve 5x5 multi-session-ness.
17993 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17994 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17995 (5x5-solve-suggest): New funs.
17996 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17997 randomize a grid so that we ensure that there is always a solution.
17998 (5x5-make-random-grid): Allow other movement than flipping.
18000 2011-05-23 Kevin Ryde <user42@zip.com.au>
18002 * emacs-lisp/advice.el (ad-read-advised-function):
18003 Use `function-called-at-point' as the default, if it has
18004 advice and passes PREDICATE.
18006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18008 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18009 byte-compile-lambda if it's actually a lambda.
18011 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18012 Fix function quoting. Use backquote better.
18014 2011-05-22 Yuanle Song <sylecn@gmail.com>
18016 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18017 matching (Bug#8516).
18019 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18021 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18022 different face (Bug#8178).
18024 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18026 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18027 defface (Bug#8144).
18029 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18031 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18032 funcall as well (bug#8712). Warn when performing those conversions.
18033 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18035 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18037 2011-05-22 Glenn Morris <rgm@gnu.org>
18039 * files.el (hack-local-variables-prop-line): Small simplifications.
18040 (hack-local-variables, hack-local-variables-prop-line):
18041 If MODE-ONLY, return the mode, rather than just `t'.
18043 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18045 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18047 2011-05-21 Glenn Morris <rgm@gnu.org>
18049 * files.el (hack-local-variables-prop-line, hack-local-variables):
18050 If only interested in the mode, don't bother doing the other stuff.
18052 * image-mode.el (image-after-revert-hook):
18053 Redraw all frames on which the image is visible. (Bug#8567)
18055 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18057 * wid-edit.el (widget-checklist-match-inline):
18058 Fix 2011-04-19 change. (Bug#8649)
18060 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18062 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18063 Also allow singlespace after single-letter capitals followed by a dot.
18065 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18066 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18068 2011-05-20 Nix <nix@esperi.org.uk>
18070 * files.el (basic-save-buffer-2):
18071 Fix handling of break-hardlink-on-save with non-existent files.
18073 2011-05-19 Deniz Dogan <deniz@dogan.se>
18075 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18076 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18078 2011-05-19 Glenn Morris <rgm@gnu.org>
18080 * progmodes/f90.el (f90-type-def-re):
18081 Handle "type, bind(c)". (Bug#8691)
18083 * emacs-lisp/autoload.el (batch-update-autoloads):
18084 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18086 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18088 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18089 property for the correct connection in case of multihops.
18091 2011-05-18 Glenn Morris <rgm@gnu.org>
18093 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18094 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18096 Rationalize calendar handling of day and month abbrev-arrays.
18097 * calendar/calendar.el (calendar-customized-p): New function.
18098 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18099 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18101 (calendar-abbrev-length, calendar-day-abbrev-array)
18102 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18103 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18104 Elements may no longer be nil.
18105 (calendar-day-name, calendar-month-name):
18106 Update for changed nature of abbrev arrays.
18107 * calendar/diary-lib.el (diary-name-pattern):
18108 Update for changed nature of abbrev arrays.
18109 (diary-mark-entries-1): Update calendar-make-alist calls.
18110 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18111 * calendar/cal-html.el (cal-html-day-abbrev-array):
18112 Simply inherit from calendar-day-abbrev-array.
18114 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18116 * progmodes/grep.el (grep-mode): Disable default
18117 compilation-directory-matcher setting (bug#8684).
18119 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18121 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18122 instead of "head" and "tail". There were problems with SunOS 5.9,
18123 and it performs better.
18125 2011-05-17 Glenn Morris <rgm@gnu.org>
18127 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18129 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18130 Replace obsolete function.
18132 * shell.el (pcomplete-parse-arguments-function): Declare.
18134 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18135 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18136 (appt-check): Doc fixes.
18137 (appt-disp-window-function, appt-delete-window-function):
18138 Remove needless special case in custom :type.
18139 (appt-display-count): Default to 0, not nil.
18140 (appt-check): Reset appt-display-count to 0, not nil.
18142 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18144 * progmodes/python.el (python-font-lock-keywords):
18145 Add the Python 3.X keyword "nonlocal" (bug#8639).
18147 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18149 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18151 2011-05-16 Kevin Ryde <user42@zip.com.au>
18153 * info-look.el (makefile-automake-mode): New setups, looking in
18154 automake manual, then makefile-mode.
18155 (makefile-mode): Remove automake manual, have it just in
18156 makefile-automake-mode since there's various things different or
18157 not relevant to plain make.
18158 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18159 believe a hypothetical automake-mode would go to makefile-mode,
18160 not the other way around.
18162 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18164 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18165 hunk-end tags (Bug#8672).
18167 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18168 vc-annotate-show-diff-revision-at-line (Bug#8671).
18170 2011-05-14 Glenn Morris <rgm@gnu.org>
18172 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18173 in the middle of an existing one with multiple authors. (Bug#8645)
18174 (change-log-font-lock-keywords): Also handle multiple author lines
18175 with leading tabs. (Bug#8644)
18177 * calendar/appt.el (appt-check): Rename some local variables.
18178 Some simplification/reordering.
18180 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18181 (feedmail-sendmail-f-doesnt-sell-me-out)
18182 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18183 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18184 (feedmail-queue-runner-message-sender): Set :version.
18185 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18186 (bbdb-dwim-net-address, vm-mail): Declare.
18187 (feedmail-binmail-gnulinuxish-template):
18188 Rename from feedmail-binmail-linuxish-template.
18189 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18190 Use insert-buffer-substring.
18192 2011-05-14 Bill Carpenter <bill@carpenter.org>
18194 * mail/feedmail.el (feedmail-patch-level): Increase.
18195 (feedmail-debug): New custom group.
18196 (feedmail-confirm-outgoing-timeout)
18197 (feedmail-sendmail-f-doesnt-sell-me-out)
18198 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18199 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18200 (feedmail-sender-line, feedmail-from-line)
18201 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18202 (feedmail-spray-this-address)
18203 (feedmail-spray-address-fiddle-plex-list)
18204 (feedmail-queue-use-send-time-for-date)
18205 (feedmail-queue-use-send-time-for-message-id)
18206 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18207 (feedmail-buffer-eating-function):
18209 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18210 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18211 (feedmail-message-action-scroll-down): New functions.
18212 (feedmail-queue-directory, feedmail-queue-draft-directory):
18213 Use expand-file-name.
18214 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18215 Remove C-v help entry.
18216 (feedmail-queue-buffer-file-name): New variable.
18217 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18218 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18219 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18220 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18221 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18222 (feedmail-message-action-toggle-spray)
18223 (feedmail-run-the-queue-no-prompts)
18224 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18225 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18226 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18227 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18228 (feedmail-envelope-deducer, feedmail-fiddle-from)
18229 (feedmail-fiddle-sender, feedmail-default-date-generator)
18230 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18231 (feedmail-fiddle-spray-address)
18232 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18233 (feedmail-fiddle-list-of-fiddle-plexes)
18234 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18235 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18236 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18237 Change default. Doc fix.
18238 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18239 (feedmail-binmail-linuxish-template): New constant.
18240 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18241 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18242 (feedmail-send-it): Add debug call.
18243 Use feedmail-queue-buffer-file-name, and
18244 feedmail-send-it-immediately-wrapper.
18245 (feedmail-message-action-send): Add debug call.
18246 Use feedmail-send-it-immediately-wrapper.
18247 (feedmail-queue-express-to-queue): Add debug call.
18248 Run feedmail-queue-express-hook.
18249 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18250 (feedmail-message-action-help-blat):
18251 Rename from feedmail-queue-send-edit-prompt-help-first.
18252 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18253 Check line-endings. Handle errors better.
18254 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18255 Doc fix. Add debug call.
18256 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18257 Use feedmail-queue-send-edit-prompt-inner.
18258 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18259 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18260 from feedmail-queue-send-edit-prompt.
18261 (feedmail-queue-send-edit-prompt-help)
18262 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18263 (feedmail-tidy-up-slug): Add debug call.
18264 Respect feedmail-queue-slug-suspect-regexp.
18265 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18266 (feedmail-dump-message-to-queue): Add debug call.
18267 Expand queue-directory.
18268 (feedmail-dump-message-to-queue): Change message slightly.
18269 Use feedmail-say-chatter.
18270 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18271 (feedmail-send-it-immediately-wrapper): New function.
18272 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18273 Insert empty string rather than newline. Handle full-frame case.
18274 Use catch/throw. Use feedmail-say-chatter.
18275 (feedmail-fiddle-from): Try mail-host-address.
18276 (feedmail-default-message-id-generator): Doc fix.
18277 Bind system-time-locale. Handle missing end.
18278 (feedmail-fiddle-x-mailer): Add debug call.
18279 Handle feedmail-x-mailer-line being nil.
18280 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18281 Add debug call. Use buffer-substring-no-properties.
18282 (feedmail-say-debug, feedmail-say-chatter): New functions.
18283 (feedmail-find-eoh): Give an explicit error.
18285 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18287 * net/newst-treeview.el (newsticker-treeview-face): Change default
18288 family from helvetica to sans.
18289 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18290 etc/images/newsticker.
18292 * net/newst-reader.el (newsticker-feed-face): Change default
18293 family from helvetica to sans.
18295 * net/newst-plainview.el (newsticker-new-item-face)
18296 (newsticker-old-item-face, newsticker-immortal-item-face)
18297 (newsticker-obsolete-item-face, newsticker-date-face)
18298 (newsticker-statistics-face): Change default family from
18300 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18301 etc/images/newsticker.
18303 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18304 (newsticker--process-auto-mark-filter-match): Tell user about
18307 2011-05-13 Didier Verna <didier@xemacs.org>
18309 Common Lisp indentation improvements on defmethod and lambda-lists.
18310 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18312 (lisp-lambda-list-keyword-parameter-indentation)
18313 (lisp-lambda-list-keyword-parameter-alignment)
18314 (lisp-lambda-list-keyword-alignment): New customizable user options.
18315 (lisp-indent-defun-method): Improve docstring.
18316 (extended-loop-p): Fix comment.
18317 (lisp-indent-lambda-list-keywords-regexp): New variable.
18318 (lisp-indent-lambda-list): New function.
18319 (lisp-indent-259): Use it.
18320 (lisp-indent-defmethod): Support for more than one
18321 method qualifier and properly indent methods lambda-lists.
18322 (defgeneric): Provide a missing common-lisp-indent-function property.
18324 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18326 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18327 bounds for the empty string (bug#8667).
18329 2011-05-13 Glenn Morris <rgm@gnu.org>
18331 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18333 * mail/sendmail.el (sendmail-program): Try executable-find first.
18334 (sendmail-send-it): `sendmail-program' cannot be unbound.
18336 * calendar/appt.el (appt-make-list): Simplify.
18337 (appt-time-msg-list): Doc fix.
18338 (appt-check): Change mode-line message at the time of the appointment.
18340 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18342 * progmodes/ld-script.el (ld-script-keywords)
18343 (ld-script-builtins): Update keywords list.
18345 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18347 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18349 * shell.el (shell-completion-vars): New function.
18351 * simple.el (read-shell-command): Use it.
18352 (blink-matching-open): No need for " [...]" in minibuffer-message.
18354 2011-05-12 Glenn Morris <rgm@gnu.org>
18356 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18357 (appt-check): Simplify.
18359 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18361 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18362 literal "/dev/null".
18364 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18366 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18369 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18371 * progmodes/which-func.el (which-function):
18372 Use add-log-current-defun instead of add-log-current-defun-function,
18373 which might not be defined (Bug#8260).
18375 2011-05-12 Glenn Morris <rgm@gnu.org>
18377 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18378 Let byte-compile-initial-macro-environment always take precedence.
18380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18382 * net/rcirc.el: Add support for SSL/TLS connections.
18383 (rcirc-server-alist): New field `encryption'.
18384 (rcirc): Check `encryption' settings.
18385 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18386 Merge make-local-variable into `set'.
18387 (rcirc--connection-open-p): New function.
18388 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18389 the process is not a network process (e.g. running gnutls-cli).
18390 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18391 Make rcirc-(en|de)code-coding-system local here.
18392 (rcirc-mode): Merge make-local-variable into `set'.
18393 (rcirc-parent-buffer): Make permanent buffer-local.
18394 (rcirc-multiline-minor-mode): Don't do it here.
18395 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18396 there's no server buffer.
18398 2011-05-11 Glenn Morris <rgm@gnu.org>
18400 * newcomment.el (comment-kill): Prefix "unused" local.
18402 * term/w32console.el (get-screen-color): Declare.
18404 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18405 Handle symbol elements of byte-compile-initial-macro-environment.
18407 2011-05-10 Leo Liu <sdl.web@gmail.com>
18409 * bookmark.el (bookmark-bmenu-mode-map):
18410 Bind bookmark-bmenu-search to `/'.
18412 * mail/footnote.el: Convert to utf-8 encoding.
18413 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18414 (Footnote-unicode): New function.
18415 (footnote-style-alist): Add unicode style to the list.
18416 (footnote-style): Doc fix.
18418 2011-05-10 Jim Meyering <meyering@redhat.com>
18420 Fix doubled-word typos.
18421 * international/quail.el (quail-insert-kbd-layout): and and -> and
18422 * kermit.el: and and -> and
18423 * net/ldap.el (ldap-search-internal): to to -> to
18424 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18425 * progmodes/js.el (js-mode): and and -> and
18426 * textmodes/artist.el (artist-move-to-xy): at at -> at
18427 (artist-draw-region-trim-line-endings): if if -> if
18428 And Safetyc -> Safety.
18429 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18431 2011-05-10 Glenn Morris <rgm@gnu.org>
18432 Stefan Monnier <monnier@iro.umontreal.ca>
18434 * files.el (hack-one-local-variable-eval-safep):
18435 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18437 2011-05-10 Glenn Morris <rgm@gnu.org>
18439 * calendar/diary-lib.el (diary-list-entries-hook)
18440 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18441 (diary-nongregorian-marking-hook, diary-list-entries)
18442 (diary-include-other-diary-files, diary-mark-entries)
18443 (diary-mark-included-diary-files): Doc fixes.
18445 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18447 * misc.el: Require tabulated-list.el during compilation.
18449 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18451 * progmodes/compile.el (compilation-start):
18452 Run compilation-filter-hook for the async case too.
18453 (compilation-filter-hook): Doc fix.
18455 2011-05-09 Deniz Dogan <deniz@dogan.se>
18457 * wdired.el: Remove outdated installation comment. Fix usage
18460 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18462 * misc.el: Implement new command `list-dynamic-libraries'.
18463 (list-dynamic-libraries--loaded-only-p): New variable.
18464 (list-dynamic-libraries--refresh): New function.
18465 (list-dynamic-libraries): New command.
18467 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18470 Fix the ant regexp to handle end-line and end-column info from jikes.
18471 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18472 higher priority to avoid clobbering by gnu.
18474 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18476 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18477 if the face has existing theme settings (Bug#8454).
18479 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18481 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18482 Only match variables declared via `my' or `our' (Bug#8261).
18484 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18485 special file names `.' and `..' (Bug#8259).
18487 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18489 * progmodes/grep.el (grep-mode-font-lock-keywords):
18490 Remove buffer-changing entries.
18491 (grep-filter): New function.
18492 (grep-mode): Add it to compilation-filter-hook.
18494 * progmodes/compile.el (compilation-filter-hook)
18495 (compilation-filter-start): New defvars.
18496 (compilation-filter): Call compilation-filter-hook prior to
18497 updating the process mark.
18499 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18501 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18503 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18505 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18506 mailclient-send-it even if window-system is nil. (Bug#8595)
18508 * term/w32console.el (terminal-init-w32console):
18509 Call get-screen-color and use its output to set the frame
18510 background-mode. (Bug#8597)
18512 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18514 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18515 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18517 (defgeneric, eieio--defmethod): Use them.
18518 (eieio-defgeneric): Remove.
18519 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18521 2011-05-07 Glenn Morris <rgm@gnu.org>
18523 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18524 Use let rather than let*.
18525 (timeclock-find-discrep): Remove unused local.
18527 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18529 * calendar/appt.el (appt-time-msg-list): Doc fix.
18531 2011-05-06 Noah Friedman <friedman@splode.com>
18533 * apropos.el (apropos-print-doc): Only use
18534 emacs-lisp-docstring-fill-column when it is bound to an integer,
18535 per that variable's documentation.
18537 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18539 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18540 and warnings are not silently discarded (e.g. use -d instead of -P).
18542 2011-05-06 Glenn Morris <rgm@gnu.org>
18544 * calendar/appt.el (appt-message-warning-time): Doc fix.
18545 (appt-warning-time-regexp): New option.
18546 (appt-make-list): Respect appt-message-warning-time.
18548 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18550 (diary-add-to-list): Strip comments from the displayed string.
18551 (diary-mode): Set comment-start and comment-end.
18553 * vc/diff-mode.el (smerge-refine-subst): Declare.
18554 (diff-refine-hunk): Don't require smerge-mode when compiling.
18556 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18558 * simple.el (list-processes): Return nil as the docstring says.
18560 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18562 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18564 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18565 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18566 determining of binary transfer. (Bug#7383)
18568 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18571 Fix port computation bug. (Bug#8618)
18573 2011-05-05 Glenn Morris <rgm@gnu.org>
18575 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18577 * simple.el (shell-dynamic-complete-functions)
18578 (comint-dynamic-complete-functions): Declare.
18580 * net/network-stream.el (gnutls-negotiate):
18581 * simple.el (tabulated-list-print): Fix declarations.
18583 * progmodes/gud.el (syntax-symbol, syntax-point):
18584 Remove unnecessary and incorrect declarations.
18586 * emacs-lisp/check-declare.el (check-declare-scan):
18587 Handle byte-compile-initial-macro-environment in bytecomp.el.
18589 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18591 Fix earlier half-done eieio-defmethod change (bug#8338).
18592 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18593 Streamline and change calling convention.
18594 (defmethod): Adjust accordingly and simplify.
18595 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18596 new eieio--defmethod.
18597 (slot-boundp): Minor CSE simplification.
18599 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18601 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18602 (glasses-make-readable): Use glasses-separate-capital-groups.
18604 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18606 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18607 (warning-series): Doc fix.
18608 (display-warning): Don't try to create the buffer if we just found it.
18610 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18612 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18613 (autoload-find-generated-file): New function.
18614 (generate-file-autoloads): Bind generated-autoload-file to
18616 (update-file-autoloads, update-directory-autoloads):
18617 Use autoload-find-generated-file. If called interactively, prompt for
18618 output file (Bug#7989).
18619 (batch-update-autoloads): Doc fix.
18621 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18623 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18625 2011-05-04 Glenn Morris <rgm@gnu.org>
18627 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18628 function, so it follows changes in calendar-date-style.
18629 (diary-fancy-date-matcher): New function.
18630 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18631 (diary-fancy-font-lock-fontify-region-function):
18632 Use diary-fancy-date-pattern as a function.
18634 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18635 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18637 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18639 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18640 instead of positional arguments. Allow :keylist and :crlfiles
18642 (open-gnutls-stream): Call it.
18644 * net/network-stream.el (network-stream-open-starttls): Adjust to
18645 call `gnutls-negotiate' with :process and :hostname arguments.
18647 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18649 * minibuffer.el (completion--message): New function.
18650 (completion--do-completion, minibuffer-complete)
18651 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18652 (completion--do-completion): Don't ignore completion-auto-help when in
18655 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18656 internal encoding (e.g. tibetan zero is not whitespace).
18657 (global-whitespace-mode): Prefer save-current-buffer.
18658 (whitespace-trailing-regexp): Remove useless save-match-data.
18659 (whitespace-empty-at-bob-regexp): Minor simplification.
18661 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18663 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18665 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18667 * textmodes/ispell.el (ispell-add-per-file-word-list):
18668 Use `concat' to create string for insertion.
18670 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18672 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18673 Avoid open-line which runs post-self-insert-hook.
18674 (bibtex-fill-entry): Remove unused `end' var.
18676 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18678 * textmodes/ispell.el (ispell-add-per-file-word-list):
18679 Protect against `nil' value of `comment-start' (Bug#8579).
18681 2011-05-03 Leo Liu <sdl.web@gmail.com>
18683 * isearch.el (isearch-yank-pop): New command.
18684 (isearch-mode-map): Bind it to `M-y'.
18685 (isearch-forward): Mention it.
18687 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18689 * simple.el (minibuffer-complete-shell-command): Remove.
18690 (minibuffer-local-shell-command-map): Use completion-at-point.
18691 (read-shell-command): Setup completion vars here instead.
18692 (read-expression-map): Bind TAB to symbol completion.
18694 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18695 error directly rather via storing it into `results'.
18697 2011-05-02 Leo Liu <sdl.web@gmail.com>
18699 * vc/diff.el: Fix description.
18701 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18703 * server.el (server-eval-at): New function.
18705 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18707 * net/network-stream.el (open-network-stream): Take a :nowait
18708 parameter and pass it on to `make-network-process'.
18709 (network-stream-open-plain): Ditto.
18711 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18713 * faces.el (face-spec-set-match-display): Don't match toolkit
18714 options on terminal frames.
18716 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18718 * progmodes/pascal.el: Use lexical binding.
18719 (pascal-mode-map): Remove author preferences.
18721 * pcomplete.el (pcomplete-std-complete): Don't abuse
18722 completion-at-point.
18724 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18726 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18727 removing code that has been dead since 1991 or so.
18729 * startup.el (command-line): When warning about "_emacs", use a
18730 delayed warning to allow the user to filter it out.
18732 2011-04-28 Deniz Dogan <deniz@dogan.se>
18734 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18735 user has not joined.
18737 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18739 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18740 aren't any completions at point.
18742 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18744 * subr.el (display-delayed-warnings): New function.
18745 (delayed-warnings-hook): New variable.
18747 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18749 * minibuffer.el (completion-at-point, completion-help-at-point):
18750 Don't presume that a given completion-at-point-function will always
18751 use the same calling convention.
18753 * pcomplete.el (pcomplete-completions-at-point):
18754 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18755 pcomplete-seen is non-nil.
18756 (pcomplete-comint-setup): Also recognize the new comint/shell
18757 completion functions.
18758 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18759 pcomplete-seen is non-nil.
18761 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18763 * calendar/icalendar.el (diary-lib): Add require statement.
18764 (icalendar--create-uid): Read out a uid from a text-property on
18765 the first character in the entry. This allows for code to add its
18766 own uid to the entry.
18767 (icalendar--convert-float-to-ical): Add export of
18768 `diary-float'-entries save for those with the optional DAY
18771 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18773 * subr.el (shell-quote-argument): Use alternate escaping strategy
18774 when we spot a variable reference in a string.
18776 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18778 * cus-start.el (all): Define customization for debug-on-event.
18780 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18782 * subr.el (shell-quote-argument): Escape correctly under Windows.
18784 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18786 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18788 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18790 * net/tramp.el (tramp-process-actions): Add POS argument.
18791 Delete region between POS and (pos).
18793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18794 Use `nil' position in `tramp-process-actions' call.
18795 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18797 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18798 position in `tramp-process-actions' call.
18800 * net/trampver.el: Update release number.
18802 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18804 * custom.el (defcustom): Obey lexical-binding.
18806 Fix octave-inf completion problems reported by Alexander Klimov.
18807 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18808 Inherit from octave-mode-syntax-table.
18809 (inferior-octave-mode): Set info-lookup-mode.
18810 (inferior-octave-completion-at-point): New function.
18811 (inferior-octave-complete): Use it and completion-in-region.
18812 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18813 comint-filename-completion.
18814 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18815 symbol elements which shouldn't be word elements.
18816 (octave-font-lock-keywords, octave-beginning-of-defun)
18817 (octave-function-header-regexp): Adjust regexps accordingly.
18818 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18820 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18822 * net/gnutls.el (gnutls-errorp): Declare before first use.
18824 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18826 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18827 verify-error, and verify-hostname-error parameters. Check whether
18828 default trustfile exists before going to use it. Add missing
18829 argument to gnutls-message-maybe call. Return value.
18830 Reported by Claudio Bley <claudio.bley@gmail.com>.
18831 (open-gnutls-stream): Add usage example.
18833 * net/network-stream.el (network-stream-open-starttls): Give host
18834 parameter to `gnutls-negotiate'.
18835 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18836 * subr.el (shell-quote-argument): Escape correctly under Windows.
18838 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18840 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18841 Use correct match group (bug#8438).
18843 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18845 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18846 (package-menu--generate): New arg specifying packages to show.
18847 (package-menu-refresh, package-menu-execute, list-packages):
18849 (package-show-package-list): New function, replacing deleted
18850 package--list-packages (renamed because it is non-internal).
18852 * finder.el (finder-list-matches): Use package-show-package-list
18853 instead of deleted package--list-packages.
18855 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18856 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18857 (vc-annotate-mode-map): Bind it to RET.
18859 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18861 * progmodes/etags.el (next-file): Don't use set-buffer to change
18862 buffers (Bug#8478).
18864 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18866 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18868 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18869 (apropos-accumulator): Doc fix.
18870 (apropos-function, apropos-macro, apropos-command)
18871 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18872 (apropos-plist): Add face property.
18873 (apropos-symbols-internal): Fix indentation.
18874 (apropos-print): Simplify help, and recognize apropos-multi-type.
18875 (apropos-print-doc): Use button-type-get to extract the button's
18876 face property. Fill docstring (Bug#8352).
18878 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18880 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18882 * play/mpuz.el (mpuz-silent): Doc fix.
18883 (mpuz-mode-map): Use mapc.
18884 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18885 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18886 Fix typos in docstrings.
18888 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18889 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18891 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18893 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18895 * minibuffer.el (completion--do-completion): Avoid the "Next char
18896 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18898 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18899 mouse-2 into unread-command-events, it is interpreted correctly.
18901 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18902 (image-toggle-display): Doc fix.
18904 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18906 * textmodes/page.el (what-page): Use line-number-at-pos to
18907 calculate line number (Bug#6825).
18909 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18911 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18912 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18913 Pass argument NO-DEFAULT to `find-tag-interactive'.
18915 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18917 Lexical-binding cleanup.
18919 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18920 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18921 * progmodes/ada-prj.el (ada-prj-initialize-values)
18922 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18923 (ada-prj-show-value):
18924 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18925 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18926 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18927 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18928 * progmodes/bug-reference.el (bug-reference-push-button):
18929 * progmodes/fortran.el (fortran-line-length):
18930 * progmodes/glasses.el (glasses-change):
18931 * progmodes/octave-mod.el (octave-fill-paragraph):
18932 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18933 (python-pdbtrack-grub-for-buffer, python-sentinel):
18934 * progmodes/sql.el (sql-save-connection):
18935 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18936 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18937 Mark unused parameters.
18939 * progmodes/compile.el (compilation--flush-directory-cache)
18940 (compilation--flush-parse, compile-internal): Mark unused parameters.
18941 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18942 (compilation-next-error-function): Remove unused variable `timestamp'.
18944 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18945 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18947 * progmodes/dcl-mode.el (dcl-end-of-command):
18948 Remove unused variable `start'.
18949 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18950 (dcl-option-value-basic, dcl-option-value-offset)
18951 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18952 Mark unused parameters.
18953 (dcl-save-local-variable): Remove unused variable `val'.
18956 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18957 Mark unused parameters.
18958 (delphi-ignore-changes): Move before first use.
18959 (delphi-charset-token-at): Remove unused variable `start'.
18960 (delphi-else-start): Remove unused variable `if-count'.
18961 (delphi-comment-block-start, delphi-comment-block-end):
18962 Remove unused variable `kind'.
18963 (delphi-indent-line): Remove unused variable `new-point'.
18965 * progmodes/ebrowse.el (ebrowse-files-list)
18966 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18967 Mark unused parameters. Don't quote `lambda'.
18968 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18969 Don't quote `lambda'.
18970 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18971 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18972 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18973 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18974 Use `ignore-errors'.
18975 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18976 (ebrowse-view/find-file-and-search-pattern)
18977 (ebrowse-view/find-member-declaration/definition):
18978 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18979 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18980 Rename parameter PREFIX-ARG to PREFIX.
18981 (ebrowse-tags-read-name): Remove unused variables `start' and
18983 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18986 * progmodes/etags.el (local-find-tag-hook): Declare.
18987 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18988 Mark unused parameters.
18990 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18991 (executable-interpret): Mark unused parameter.
18993 * progmodes/flymake.el (flymake-process-sentinel)
18994 (flymake-after-change-function)
18995 (flymake-create-temp-with-folder-structure)
18996 (flymake-get-include-dirs-dot): Mark unused parameters.
18997 (flymake-safe-delete-directory): Remove unused variable `err'.
18999 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19000 (speedbar-timer-fn, speedbar-line-text)
19001 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19002 (speedbar-center-buffer-smartly): Declare functions.
19003 (gdb-find-watch-expression): Remove unused variable `array'.
19004 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19005 (gdb-starting): Mark unused parameters.
19006 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19007 (gdb-table-string): Remove unused variable `res'.
19008 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19009 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19010 (gdb-display-buffer): Remove unused variable `cur-size'.
19012 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19013 allow lexical-binding compilation.
19014 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19015 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19016 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19017 Mark unused parameters.
19018 (gud-gdb-marker-filter): Remove unused variable `match'.
19019 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19020 lambda expressions and funcall them, instead of using `fset'.
19022 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19023 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19025 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19026 variable `header-beg'; use `let'.
19028 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19029 `restart', `last-sexp' and `at-do'.
19031 * progmodes/js.el (js--debug): Mark unused parameter.
19032 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19033 (js--splice-into-items): Remove unused variable `item'.
19034 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19036 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19037 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19038 (makefile-complete): Remove unused variable `try'.
19039 (makefile-fill-paragraph, makefile-match-function-end):
19040 Mark unused parameters.
19042 * progmodes/octave-inf.el (inferior-octave-complete):
19043 Remove unused variable `proc'.
19044 (inferior-octave-output-digest): Mark unused parameter.
19046 * progmodes/perl-mode.el (perl-calculate-indent):
19047 Remove unused variable `err'.
19049 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19050 (prolog-indent-line): Mark unused parameters.
19051 (prolog-indent-line): Remove unused variable `beg'.
19053 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19054 (reporter-dont-compact-list): Declare.
19056 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19057 Remove unused variable `char'.
19058 (sh-debug): Mark unused parameter.
19059 (sh-get-indent-info): Remove unused variable `start'.
19060 (sh-calculate-indent): Remove unused variable `var'.
19062 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19063 (simula-electric-keyword): Remove unused variable `null'.
19064 (simula-search-backward, simula-search-forward): Remove unused
19065 variables `begin' and `end'.
19067 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19068 Remove unused variable `pos'.
19069 (vera-electric-tab, vera-comment-uncomment-region):
19070 Mark unused parameters.
19071 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19073 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19075 * emacs-lisp/package.el (package--builtins, package-alist)
19076 (package-load-descriptor, package-built-in-p, package-activate)
19077 (define-package, package-installed-p)
19078 (package-compute-transaction, package-buffer-info)
19079 (package--push): Doc fix. Distinguish more clearly between
19080 version strings and version lists.
19082 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19084 Lexical-binding cleanup.
19086 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19087 (5x5-make-mutate-best):
19088 * play/fortune.el (fortune-in-buffer):
19089 * play/gomoku.el (gomoku-init-display):
19090 * play/solitaire.el (solitaire, solitaire-do-check):
19091 * play/tetris.el (tetris-default-update-speed-function):
19092 Mark unused parameters.
19094 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19095 (bubbles--shift): Remove unused variable `char-org'.
19096 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19097 (bubbles--show-images): Remove unused variable `char'.
19099 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19100 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19101 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19102 (decipher-analyze-buffer): Use ?\s.
19103 (decipher-make-checkpoint): Remove unused variable `mapping'.
19105 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19107 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19108 Remove unused variable `result'; use `let'.
19110 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19111 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19112 (gametree-children-shown-p, gametree-compute-reduced-score):
19113 Use `ignore-errors'.
19115 * play/handwrite.el (ps-lpr-switches): Declare.
19116 (handwrite): Remove unused variables `pmin' and `lastp'.
19118 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19120 * play/landmark.el (landmark-init-display)
19121 (landmark-update-naught-weights): Mark unused parameters.
19122 (landmark-y): Remove unused variable `noise'. Simplify.
19123 (landmark-human-plays): Remove unused variable `score'.
19125 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19126 (mpuz-try-proposal): Remove unused variable `game'.
19128 * play/zone.el (life-patterns): Declare.
19130 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19132 * vc/vc.el (ediff-vc-internal): Declare function.
19134 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19136 * shell.el: Use lexical-binding and std completion UI.
19137 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19138 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19139 comint-preoutput-filter-functions rather than on
19140 comint-output-filter-functions.
19141 (shell-command-completion, shell--command-completion-data)
19142 (shell-filename-completion, shell-environment-variable-completion)
19143 (shell-c-a-p-replace-by-expanded-directory): New functions.
19144 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19145 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19146 (shell-dynamic-complete-environment-variable): Use them.
19147 (shell-dynamic-complete-as-environment-variable)
19148 (shell-dynamic-complete-as-command): Remove.
19149 (shell-match-partial-variable): Match past point.
19150 * comint.el: Clean up use of completion-at-point-functions.
19151 (comint-completion-at-point): New function.
19152 (comint-mode): Use it completion-at-point-functions.
19153 (comint-dynamic-complete): Make it obsolete.
19154 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19155 (comint-c-a-p-replace-by-expanded-history): New function.
19156 (comint-dynamic-complete-functions)
19157 (comint-replace-by-expanded-history): Use it.
19158 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19159 termination strings. Try harder to avoid second try-completion.
19160 (completion-in-region-mode-map): Disable bindings that don't work yet.
19162 * comint.el: Use lexical-binding. Require CL.
19163 (comint-dynamic-complete-functions): Use comint-filename-completion.
19164 (comint-completion-addsuffix): Tweak custom type.
19165 (comint-filename-completion, comint--common-suffix)
19166 (comint--common-quoted-suffix, comint--table-subvert)
19167 (comint--complete-file-name-data): New functions.
19168 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19169 (comint-dynamic-list-filename-completions): Use them.
19170 (comint-dynamic-simple-complete): Make obsolete.
19172 * minibuffer.el (completion-in-region-mode):
19173 Keep completion-in-region-mode--predicate global.
19174 (completion-in-region--postch):
19175 Assume completion-in-region-mode--predicate is not null.
19177 * progmodes/flymake.el (flymake-start-syntax-check-process):
19178 Obey `dir'. Simplify.
19180 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19181 we're in VC after all.
19183 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19185 * vc/vc.el (vc-diff-build-argument-list-internal)
19186 (vc-version-ediff, vc-ediff): New commands.
19187 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19189 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19191 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19194 * obsolete/erc-hecomplete.el: Make obsolete.
19195 * obsolete/: Standardize obsolescence info in the header.
19197 2011-04-20 Glenn Morris <rgm@gnu.org>
19199 * calendar/solar.el (solar-horizontal-coordinates):
19200 Use the longitude argument rather than `calendar-longitude'.
19201 (solar-date-next-longitude): Remove unused locals.
19203 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19205 * whitespace.el: New version 13.2.1.
19207 2011-04-20 felix <EmacsWiki> (tiny change)
19209 * whitespace.el (global-whitespace-mode): Keep highlight when
19210 switching between major modes on a file.
19212 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19214 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19215 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19216 multi-line comments as well.
19218 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19220 Lexical-binding cleanup.
19222 * arc-mode.el (archive-mode-revert):
19223 * cmuscheme.el (scheme-interactively-start-process):
19224 * custom.el (custom-initialize-delay):
19225 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19226 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19227 * emacs-lock.el (emacs-lock-clear-sentinel):
19228 * ezimage.el (defezimage):
19229 * follow.el (follow-avoid-tail-recenter):
19230 * fringe.el (set-fringe-mode-1):
19231 * generic-x.el (bat-generic-mode-compile):
19232 * help-mode.el (help-info-variable, help-do-xref)
19233 (help-mode-revert-buffer):
19234 * help.el (view-emacs-todo):
19235 * iswitchb.el (iswitchb-completion-help):
19236 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19237 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19238 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19239 * locate.el (locate-update):
19240 * longlines.el (longlines-encode-region)
19241 (longlines-after-change-function):
19242 * outline.el (outline-isearch-open-invisible):
19243 * ps-def.el (declare-function, charset-dimension, char-width)
19245 * ps-mule.el (ps-mule-plot-string):
19246 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19247 (recentf-edit-list-select, recentf-edit-list-validate)
19248 (recentf-open-files-action):
19249 * rect.el (delete-whitespace-rectangle-line)
19250 (rectangle-number-line-callback):
19251 * register.el (window-configuration-to-register)
19252 (frame-configuration-to-register):
19253 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19254 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19255 (xselect-convert-to-targets, xselect-convert-to-delete)
19256 (xselect-convert-to-filename, xselect-convert-to-charpos)
19257 (xselect-convert-to-lineno, xselect-convert-to-colno)
19258 (xselect-convert-to-os, xselect-convert-to-host)
19259 (xselect-convert-to-user, xselect-convert-to-class)
19260 (xselect-convert-to-name, xselect-convert-to-integer)
19261 (xselect-convert-to-atom, xselect-convert-to-identity):
19262 * subr.el (declare, ignore, process-kill-without-query)
19263 (text-clone-maintain):
19264 * terminal.el (te-get-char, te-tic-sentinel):
19265 * tool-bar.el (tool-bar-make-keymap):
19266 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19267 * type-break.el (type-break-mode, type-break-noninteractive-query):
19268 * view.el (View-back-to-mark):
19269 * wid-browse.el (widget-browse-action, widget-browse-widget)
19270 (widget-browse-widgets, widget-browse-sexp):
19271 * widget.el (define-widget-keywords):
19272 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19273 Mark unused parameters.
19275 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19276 (align-areas): Remove unused variable `look'.
19277 (align-region): Remove unused variables `real-end' and `pos-list'.
19279 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19281 * bindings.el (mode-line-modified, mode-line-remote):
19282 Mark unused parameters.
19283 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19285 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19286 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19288 * comint.el (comint-history-isearch-pop-state)
19289 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19290 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19291 (comint-substitute-in-file-name): Doc fix.
19293 * completion.el (cmpl-statistics-block): Mark unused parameter.
19294 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19295 (save-completions-to-file, load-completions-from-file):
19296 Remove unused local variable `e'.
19298 * composite.el (compose-chars): Remove unused variable `len'.
19299 (lgstring-insert-glyph): Remove unused variable `g'.
19300 (compose-glyph-string): Remove unused variables `ascent',
19301 `descent', `lbearing' and `rbearing'.
19302 (compose-glyph-string-relative): Remove unused variables
19303 `lbearing', `rbearing' and `wadjust'.
19304 (compose-gstring-for-graphic): Remove unused variables `header',
19305 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19306 (compose-gstring-for-terminal): Remove unused variables `header'
19307 and `nchars'. Use `let', not `let*'.
19309 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19310 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19311 (Custom-buffer-done, custom-buffer-create-internal)
19312 (custom-browse-visibility-action, custom-browse-group-tag-action)
19313 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19314 (widget-magic-mouse-down-action, custom-toggle-parent)
19315 (custom-add-parent-links, custom-toggle-hide-variable)
19316 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19317 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19318 (custom-face-menu-create, custom-variable-menu-create, get)
19319 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19320 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19321 (customize-apropos): Remove unused variable `tests'.
19322 (custom-group-value-create): Remove unused variable `hidden-p'.
19323 (sort-fold-case): Declare.
19325 * cus-theme.el (custom-reset-standard-faces-list)
19326 (custom-reset-standard-variables-list): Declare.
19327 (customize-create-theme, custom-theme-revert, custom-theme-write)
19328 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19329 Mark unused parameters.
19331 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19333 * delim-col.el (delimit-columns-max): Move defvar before first use.
19335 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19336 (describe-char): Don't quote `lambda'. Mark unused parameter.
19338 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19339 (auto-insert): Declare.
19340 (desktop-restore-file-buffer): Rename desktop-* parameters;
19342 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19343 (desktop-buffer): Rename desktop-* parameters.
19345 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19346 (dframe-reposition-frame-xemacs, dframe-help-echo)
19347 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19348 Mark unused parameters.
19350 * dired-aux.el (backup-extract-version-start, overwrite-query)
19351 (overwrite-backup-query, rename-regexp-query)
19352 (rename-non-directory-query): Declare.
19353 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19354 (dired-add-entry): Remove unused variable `orig-file-name'.
19355 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19356 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19357 `dired-copy-preserve-time' directly.
19358 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19359 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19361 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19362 (dired-virtual-revert, dired-make-relative-symlink):
19363 Mark unused parameters.
19364 (manual-program): Declare.
19365 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19366 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19367 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19369 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19371 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19373 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19376 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19378 * electric.el (Electric-command-loop): Rename parameter
19379 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19381 * expand.el (expand-in-literal): Remove unused variable `here'.
19383 * facemenu.el (facemenu-add-new-color):
19384 Remove unused variable `docstring'.
19386 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19387 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19388 (face-attr-construct): Mark unused parameter. Doc fix.
19389 (read-color): Remove unused variable `hex-string'.
19391 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19392 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19393 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19394 (display-buffer-other-frame): Remove unused variable `old-window'.
19395 (kill-buffer-hook): Declare.
19396 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19397 Mark unused parameters.
19398 (after-find-file): Pass 1 to `auto-save-mode', not t.
19400 * files-x.el (auto-insert): Declare.
19401 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19403 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19404 variable `buf'. Mark unused parameter.
19405 (find-lisp-insert-directory): Mark unused parameter.
19407 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19408 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19409 (format-common-tail): Remove, unused.
19410 (format-deannotate-region): Remove unused variable `loc'.
19411 (format-annotate-region): Remove unused variable `p'.
19412 (format-annotate-single-property-change): Remove unused variables
19413 `default' and `tail'.
19415 * forms.el (read-file-filter): Declare.
19416 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19418 * frame.el (frame-creation-function-alist): Mark unused parameter.
19419 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19421 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19422 Remove unused parameters.
19423 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19424 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19426 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19427 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19428 (hfy-prepare-tag-map): Mark unused parameters.
19429 (htmlfontify-buffer): Use `called-interactively-p'.
19431 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19432 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19433 (ibuffer-do-occur): Mark unused parameters.
19434 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19435 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19437 * ibuffer.el: Don't quote `lambda'.
19438 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19439 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19440 Mark unused parameters.
19442 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19443 (ido-completing-read): Mark unused parameters.
19444 (ido-copy-current-word): Mark unused parameters;
19445 remove unused variable `name'.
19446 (ido-sort-merged-list): Remove unused parameter `dirs'.
19448 * ielm.el (ielm-input-sender): Mark unused parameter.
19449 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19450 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19451 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19452 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19453 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19455 * image-dired.el (image-dired-display-thumbs): Remove unused
19456 variables `curr-file' and `count'.
19457 (image-dired-remove-tag): Remove unused variable `start'.
19458 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19459 variable `curr-file'
19460 (image-dired-rotate-original): Remove unused variable `temp-file'.
19461 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19462 Remove unused variable `file'.
19463 (image-dired-gallery-generate): Remove unused variable `curr'.
19464 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19466 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19468 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19470 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19472 * isearch.el (minibuffer-history-symbol): Declare.
19473 (isearch-edit-string): Remove unused variable `err'.
19474 (isearch-message-prefix, isearch-message-suffix):
19475 Mark unused parameters.
19477 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19479 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19481 * makesum.el (double-column): Remove unused variable `cnt'.
19483 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19484 (ido-ignore-item-temp-list): Declare.
19486 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19487 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19488 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19489 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19492 * mouse-sel.el (mouse-extend-internal):
19493 Remove unused variable `orig-window-frame'.
19495 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19496 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19497 Move declarations before first use.
19498 (pcomplete-opt): Mark unused parameters; doc fix.
19500 * proced.el (proced-revert): Mark unused parameter.
19501 (proced-send-signal): Remove unused variable `err'.
19503 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19504 Rename parameter PREFIX-ARG to ARG.
19505 (ps-basic-plot-string, ps-basic-plot-whitespace):
19506 Mark unused parameters.
19508 * replace.el (replace-count): Define.
19509 (occur-revert-function): Mark unused parameters.
19510 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19511 (isearch-case-fold-search, isearch-string): Declare.
19512 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19513 bind `case-fold-search'. Remove unused variables `beg' and `end',
19515 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19516 COUNT and bind `replace-count'.
19517 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19520 * savehist.el (print-readably, print-string-length): Declare.
19522 * shadowfile.el (shadow-expand-cluster-in-file-name):
19523 Remove unused variable `cluster'.
19524 (shadow-copy-file): Remove unused variable `i'.
19525 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19526 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19527 (shadow-define-literal-group, shadow-define-regexp-group)
19528 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19530 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19531 (shell): Use `called-interactively-p'.
19532 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19534 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19535 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19536 (delete-backward-char): Remove unused variable `ocol'.
19537 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19538 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19539 (event-apply-hyper-modifier, event-apply-shift-modifier)
19540 (event-apply-control-modifier, event-apply-meta-modifier):
19541 Mark unused parameters.
19542 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19543 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19545 * speedbar.el (speedbar-ignored-directory-expressions)
19546 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19547 (speedbar-find-file, speedbar-dir-follow)
19548 (speedbar-directory-buttons-follow, speedbar-tag-find)
19549 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19550 (speedbar-buffers-line-directory, speedbar-buffer-click):
19551 Mark unused parameters.
19552 (speedbar-tag-file): Remove unused variable `mode'.
19553 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19555 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19557 * talk.el (talk): Remove unused variable `display'.
19559 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19560 (tar-write-region-annotate): Mark unused parameter.
19562 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19563 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19564 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19565 warning by another.
19567 * time-stamp.el (time-stamp-string-preprocess):
19568 Remove unused variable `require-padding'.
19570 * tree-widget.el (widget-glyph-enable): Declare.
19571 (tree-widget-action): Mark unused parameter.
19573 * w32-fns.el (x-get-selection): Mark unused parameter.
19574 (autoload-make-program, generated-autoload-file): Declare.
19576 * wdired.el (wdired-revert): Mark unused parameters.
19577 (wdired-xcase-word): Remove unused variable `err'.
19579 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19580 (whitespace-help-scroll): Remove unused variable `data-help'.
19582 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19583 (widget-image-insert, widget-after-change, default)
19584 (widget-default-format-handler, widget-default-notify)
19585 (widget-default-prompt-value, widget-info-link-action)
19586 (widget-url-link-action, widget-function-link-action)
19587 (widget-variable-link-action, widget-file-link-action)
19588 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19589 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19590 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19591 (widget-insert-button-action, widget-delete-button-action, visibility)
19592 (widget-documentation-link-action, widget-documentation-string-action)
19593 (widget-const-prompt-value, widget-regexp-match, symbol)
19594 (widget-coding-system-prompt-value)
19595 (widget-key-sequence-value-to-external, sexp)
19596 (widget-sexp-value-to-internal, character, vector, cons)
19597 (widget-choice-prompt-value, widget-boolean-prompt-value)
19598 (widget-color--choose-action): Mark unused parameters.
19599 (widget-item-match-inline, widget-choice-match-inline)
19600 (widget-checklist-match, widget-checklist-match-inline)
19601 (widget-group-match): Rename parameter VALUES to VALS.
19602 (widget-field-value-set): Remove unused variable `size'.
19603 (widget-color-action): Remove unused variables `value' and `start'.
19605 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19606 variable `dir'. Doc fix.
19607 (windmove-find-other-window): Don't pass it.
19609 * window.el (count-windows): Mark unused parameter.
19610 (bw-adjust-window): Remove unused variable `err'.
19612 * woman.el (woman-file-name): Remove unused variable `default'.
19613 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19614 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19615 (global-font-lock-mode): Declare.
19616 (woman-decode-region): Mark unused parameter.
19617 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19619 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19620 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19621 (x-dnd-handle-moz-url): Remove unused variable `title'.
19622 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19624 * xml.el (xml-parse-tag, xml-parse-attlist):
19625 Remove unused variable `pos'.
19627 2011-04-19 Glenn Morris <rgm@gnu.org>
19629 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19630 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19631 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19632 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19633 * calendar/cal-html.el (cal-html-insert-minical):
19634 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19635 (calendar-mark-date-pattern):
19636 Prefix "unused" locals.
19638 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19639 optional argument `style'.
19641 * calendar/appt.el (appt-make-list):
19642 * calendar/cal-china.el (calendar-chinese-date-string):
19643 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19644 (diary-hebrew-yahrzeit):
19645 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19646 * calendar/calendar.el (calendar-generate-window):
19647 * calendar/time-date.el (time-to-days):
19648 Remove unused local variables.
19650 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19652 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19653 glyphless-char-display table.
19654 (tabulated-list-glyphless-char-display): New var.
19656 2011-04-18 Sam Steingold <sds@gnu.org>
19658 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19659 to acknowledgments.
19661 2011-04-17 Glenn Morris <rgm@gnu.org>
19663 * calendar/diary-lib.el (diary-sexp-entry):
19664 * calendar/holidays.el (holiday-sexp):
19665 Set debug-on-error rather than the removed stack-trace-on-error.
19667 2011-04-16 Glenn Morris <rgm@gnu.org>
19669 * progmodes/f90.el: Use lexical-binding.
19670 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19672 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19674 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19675 (mail-mode): Setup mailalias completion here instead.
19676 * mail/mailalias.el: Use lexical-binding.
19677 (pattern, mailalias-done): Declare dynamic.
19678 (mail-completion-at-point-function): New function, from mail-complete.
19679 (mail-complete): Use it.
19680 (mail-completion-expand): New function.
19681 (mail-get-names): Use it.
19682 (mail-directory, mail-directory-process, mail-directory-stream):
19683 Don't use `pattern' for lexically bound arg.
19685 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19687 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19688 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19689 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19691 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19692 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19693 (byte-interactive-p): Define them again, for use when inlining
19696 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19698 * loadup.el: Use `string-to-number', not `string-to-int'.
19700 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19702 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19703 gud-gdb-complete-command.
19704 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19705 (gud-gdb-completion-at-point): New function.
19706 (gud-gdb-completions): Remove.
19708 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19710 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19711 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19712 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19713 whether `executable-find' is bound.
19715 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19717 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19719 * minibuffer.el (completion-in-region-mode-predicate)
19720 (completion-in-region-mode--predicate): New vars.
19721 (completion-in-region, completion-in-region--postch)
19722 (completion-in-region-mode): Use them.
19723 (completion--capf-wrapper): Also return the hook function.
19724 (completion-at-point, completion-help-at-point):
19725 Adjust and provide a predicate.
19727 Preserve arg names for advice of subr and lexical functions (bug#8457).
19728 * help-fns.el (help-function-arglist): Consolidate the subr and
19729 new-byte-code cases. Add argument `preserve-names' to extract names
19730 from the docstring when needed.
19731 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19732 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19733 (ad-arglist): Use help-function-arglist's new arg.
19734 (ad-definition-type): Use cond.
19736 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19738 * autorevert.el (auto-revert-handler):
19739 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19740 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19741 Don't quote lambda.
19743 * image-mode.el (image-transform-set-scale):
19744 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19746 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19748 * net/network-stream.el (network-stream-open-starttls): Only do
19749 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19750 Upgrades via gnutls-cli are too slow to be done opportunistically.
19752 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19754 * dframe.el (dframe-current-frame): Remove spurious quote.
19756 2011-04-12 Glenn Morris <rgm@gnu.org>
19758 * calendar/cal-tex.el (cal-tex-end-document):
19759 Try to automatically use latin1 input if needed.
19761 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19762 Don't try to cons a mark onto an empty element.
19764 2011-04-11 Leo Liu <sdl.web@gmail.com>
19766 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19768 (ido-kill-buffer-at-head): Support killing virtual buffers.
19770 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19772 * minibuffer.el (completion-show-inline-help): New var.
19773 (completion--do-completion, minibuffer-complete)
19774 (minibuffer-force-complete, minibuffer-complete-word):
19775 Inhibit minibuffer messages if completion-show-inline-help is nil.
19777 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19778 to avoid interference from inline help (Bug#5849).
19780 2011-04-10 Leo Liu <sdl.web@gmail.com>
19782 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19785 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19787 * image-mode.el (image-toggle-display-image): Signal an error if
19789 (image-transform-mode, image-transform-resize)
19790 (image-transform-set-rotation): Doc fix.
19791 (image-transform-set-resize): Delete.
19792 (image-transform-set-scale, image-transform-fit-to-height)
19793 (image-transform-fit-to-width): Handle image-toggle-display-image
19794 and image-transform-resize directly.
19796 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19798 * doc-view.el (doc-view-fit-width-to-window)
19799 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19800 New functions for fitting the shown image to the Emacs window size.
19801 (doc-view-mode-map): Add bindings for the new functions.
19803 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19805 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19806 Fix typo in docstring.
19808 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19810 * files.el (file-size-human-readable): Produce one digit after
19811 decimal, like "ls -lh" does.
19813 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19814 the file size representation.
19816 * simple.el (list-processes): If async subprocesses are not
19817 available, error out with a clear error message.
19819 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19821 * help.el (help-form-show): New function, to be called from C.
19822 Put help-form output in a buffer named differently than *Help*.
19824 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19826 * files.el (file-size-human-readable): New function.
19828 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19829 computing the representation inline. Don't require `cl'.
19831 2011-04-08 Glenn Morris <rgm@gnu.org>
19833 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19835 * net/browse-url.el (browse-url-firefox):
19836 Test system-type, not system-configuration.
19838 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19839 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19840 Use log-edit-empty-buffer-p. (Bug#7598)
19842 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19843 (rlogin-mode-map): Initialize in the defvar.
19844 (rlogin): Use ignore-errors.
19846 * replace.el (occur-mode-map): Some fixes for menu items.
19848 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19850 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19852 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19854 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19855 issuing unused warnings.
19857 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19860 * simple.el: Lisp reimplement of list-processes. Based on an
19861 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19862 (process-menu-mode): New major mode.
19863 (list-processes--refresh, list-processes):
19864 (process-menu-visit-buffer): New functions.
19866 * files.el (save-buffers-kill-emacs): Don't assume any return
19867 value of list-processes, which is undocumented anyway.
19869 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19871 * emacs-lisp/tabulated-list.el: New file.
19873 * emacs-lisp/package.el: Use Tabulated List mode.
19874 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19875 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19876 table format using Tabulated List mode variables.
19877 (package--push): New macro, replacing package-list-maybe-add.
19878 (package-menu--generate): Use package--push. Renamed from
19879 package--generate-package-list.
19880 (package-menu-refresh, list-packages): Use it.
19881 (package-menu--print-info): Rename from package-print-package.
19882 Return insertion data instead of inserting it directly.
19883 (package-menu-describe-package, package-menu-execute):
19884 Use tabulated-list-get-id.
19885 (package-menu-mark-delete, package-menu-mark-install)
19886 (package-menu-mark-unmark, package-menu-backup-unmark)
19887 (package-menu-mark-obsolete-for-deletion):
19888 Use tabulated-list-put-tag.
19889 (package--list-packages, package-menu-revert)
19890 (package-menu-get-package, package-menu-get-version)
19891 (package-menu-sort-by-column): Functions deleted.
19892 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19893 (package-menu--status-predicate, package-menu--version-predicate)
19894 (package-menu--name-predicate)
19895 (package-menu--description-predicate): Handle arguments in the
19896 Tabulated List format.
19897 (package-list-packages-no-fetch): Call list-packages.
19899 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19901 * files.el (after-find-file-from-revert-buffer): Remove variable.
19902 (after-find-file): Don't bind it.
19903 (revert-buffer-in-progress-p): New variable.
19904 (revert-buffer): Bind it.
19905 Pass nil for `after-find-file-from-revert-buffer'.
19907 * saveplace.el (save-place-find-file-hook): Use new variable
19908 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19910 2011-04-06 Glenn Morris <rgm@gnu.org>
19912 * Makefile.in (AUTOGEN_VCS): New variable.
19913 (autoloads): Use $AUTOGEN_VCS.
19915 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19916 * calendar/calendar.el (calendar-mode-map):
19917 Check for toolkit scroll bars. (Bug#8305)
19919 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19921 * minibuffer.el (completion-in-region--postch)
19922 (completion-in-region-mode): Remove unnecessary messages.
19924 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19926 * font-lock.el (font-lock-refresh-defaults):
19927 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19928 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19930 * info.el (Info-directory-list, Info-read-node-name-2)
19931 (Info-split-parameter-string): Doc fixes.
19932 (Info-virtual-nodes): Reflow docstring.
19933 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19934 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19935 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19936 Fix typos in docstrings.
19937 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19938 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19939 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19940 (Info-restore-desktop-buffer): Mark unused parameters.
19941 (Info-directory-find-file, Info-directory-find-node)
19942 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19943 (Info-virtual-index-find-node, Info-apropos-find-file)
19944 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19945 Mark unused parameters; fix typos in docstrings.
19946 (Info-virtual-index): Remove unused local variable `nodename'.
19948 2011-04-05 Deniz Dogan <deniz@dogan.se>
19950 * net/rcirc.el: Update my e-mail address.
19951 (rcirc-mode-map): Remove M-o binding.
19953 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19955 * startup.el (command-line): Save the cursor's theme-face
19956 directly, instead of using face-override-spec.
19958 * custom.el (load-theme): Minor optimization in assigning faces.
19960 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19962 * help-fns.el (describe-variable): Complete all variables having
19963 documentation, including keywords.
19964 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19966 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19968 Convert to lexical-binding.
19970 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19971 (bs--get-marked-string, bs--get-modified-string)
19972 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19973 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19974 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19976 * ehelp.el (electric-help-execute-extended)
19977 (electric-help-ctrl-x-prefix):
19978 * hexl.el (hexl-revert-buffer-function):
19979 * linum.el (linum-after-change, linum-after-scroll):
19980 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19982 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19984 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19991 * epg.el: Use lexical binding.
19993 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19995 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19997 * textmodes/flyspell.el (flyspell-word): Recognize default
19998 dictionary case for flyspell-mark-duplications-exceptions.
19999 Use regexp matching for languages.
20000 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20001 default dictionary (Bug#7926).
20003 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20005 * emacs-lisp/package.el (package--with-work-buffer):
20006 Recognize https URLs.
20008 * net/network-stream.el: Move from gnus/proto-stream.el.
20009 Change prefix to network-stream throughout.
20010 (open-protocol-stream): Merge into open-network-stream, leaving
20011 open-protocol-stream as an alias. Handle nil BUFFER args.
20013 * subr.el (open-network-stream): Move to net/network-stream.el.
20015 2011-04-02 Glenn Morris <rgm@gnu.org>
20017 * find-dired.el (find-exec-terminator): New option.
20018 (find-ls-option): Test for -ls support.
20019 (find-ls-subdir-switches): Test for -b in find-ls-option.
20020 (find-dired, find-grep-dired): Doc fixes.
20021 (find-dired): Use find-exec-terminator.
20023 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20024 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20025 (find-name-arg): Remove purecopy.
20027 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20028 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20029 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20030 accordingly. Don't add the null-device if not needed.
20032 * files.el (save-some-buffers): Doc fix.
20034 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20036 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20038 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20040 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20041 Use `dolist' rather than `mapcar'.
20043 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20045 Add lexical binding.
20047 * subr.el (apply-partially): Use new closures rather than CL.
20048 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20049 (dolist, dotimes): Use slightly different expansion for lexical code.
20050 (functionp): Move to C.
20051 (letrec): New macro.
20052 (with-wrapper-hook): Use it and apply-partially instead of CL.
20053 (eval-after-load): Preserve lexical-binding.
20054 (save-window-excursion, with-output-to-temp-buffer): Turn them
20057 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20059 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20061 (help-add-fundoc-usage): Don't add `Not documented'.
20062 (help-function-arglist): Handle closures, subroutines, and new
20063 byte-code-functions.
20064 (help-make-usage): Remove leading underscores.
20065 (describe-function-1): Handle closures.
20066 (describe-variable): Use special-variable-p for completion.
20068 * files.el (lexical-binding): Declare safe.
20070 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20071 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20072 (pcase): Add `let' pattern.
20073 Change memoization so it actually works.
20074 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20075 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20078 * emacs-lisp/macroexp.el: Use lexical binding.
20079 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20080 Don't convert ' to #' without checking that it's indeed quoting
20083 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20084 Use eval-sexp-add-defvars.
20085 (eval-sexp-add-defvars): New fun.
20087 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20089 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20091 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20092 than the internal `byte-compile-lambda'.
20093 (defmethod): Don't hide code under quotes.
20094 (eieio-defmethod): New `code' argument.
20096 * emacs-lisp/eieio-comp.el: Remove.
20098 * emacs-lisp/edebug.el (edebug-eval-defun)
20099 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20100 (edebug-toggle): Avoid `eval'.
20102 * emacs-lisp/disass.el (disassemble-internal): Handle new
20104 (disassemble-1): Handle new byte codes.
20106 * emacs-lisp/cl.el (pushnew): Silence warning.
20108 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20109 (cl-byte-compile-throw): Remove.
20110 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20112 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20115 * emacs-lisp/cconv.el: New file.
20117 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20118 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20119 (byte-compile-initial-macro-environment):
20120 Handle declare-function here.
20121 (byte-compile--lexical-environment): New var.
20122 (byte-stack-ref, byte-stack-set, byte-discardN)
20123 (byte-discardN-preserve-tos): New lap codes.
20124 (byte-interactive-p): Don't use any more.
20125 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20127 (byte-compile-lapcode): Use them and handle new lap codes.
20128 (byte-compile-obsolete): Remove.
20129 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20130 (byte-compile-arglist-warn): Check late def of inlinable funs.
20131 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20132 since they should have been expanded by now.
20133 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20134 (byte-compile-from-buffer): Remove unused second arg.
20135 (byte-compile-preprocess): New function.
20136 (byte-compile-toplevel-file-form): New function to distinguish
20137 file-form calls from outside from file-form calls from hunk-handlers.
20138 (byte-compile-file-form): Simplify.
20139 (byte-compile-file-form-defsubst): Remove.
20140 (byte-compile-file-form-defmumble): Simplify now that
20141 byte-compile-lambda always returns a byte-code-function.
20142 (byte-compile): Preprocess.
20143 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20144 Remove, not used any more.
20145 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20146 (byte-compile-make-args-desc): New funs.
20147 (byte-compile-lambda): Handle lexical functions. Always return
20148 a byte-code-function.
20149 (byte-compile-reserved-constants): New var, to make up room for
20150 closed-over variables.
20151 (byte-compile-constants-vector): Obey it.
20152 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20153 (byte-compile-macroexpand-declare-function): New function.
20154 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20155 byte-code-functions.
20156 (byte-compile-form): Check obsolescence here.
20157 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20158 (byte-compile-variable-ref): Remove.
20159 (byte-compile-dynamic-variable-op): New fun.
20160 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20161 (byte-compile-variable-set): New funs.
20162 (byte-compile-discard): Add 2 args.
20163 (byte-compile-stack-ref, byte-compile-stack-set)
20164 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20165 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20166 macroexpand-all instead.
20167 (byte-compile-quote-form): Remove.
20168 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20169 (byte-compile-bind, byte-compile-unbind): New funs.
20170 (byte-compile-let): Handle let* and lexical binding.
20171 (byte-compile-let*): Remove.
20172 (byte-compile-catch, byte-compile-unwind-protect)
20173 (byte-compile-track-mouse, byte-compile-condition-case):
20174 Handle a new :fun-body form, used for lexical scoping.
20175 (byte-compile-save-window-excursion)
20176 (byte-compile-with-output-to-temp-buffer): Remove.
20177 (byte-compile-defun): Simplify.
20178 (byte-compile-stack-adjustment): New fun.
20179 (byte-compile-out): Use it.
20180 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20182 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20185 * emacs-lisp/byte-opt.el: Use lexical binding.
20186 (byte-inline-lapcode): Remove (to bytecomp).
20187 (byte-compile-inline-expand): Pay attention to inlining to/from
20188 lexically bound code.
20189 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20191 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20192 any more and don't call compiler-macros.
20193 (byte-compile-splice-in-already-compiled-code): Remove.
20194 (byte-code): Don't inline any more.
20195 (disassemble-offset): Receive `bytes' as argument rather than via
20197 (byte-compile-tag-number): Declare before first use.
20198 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20199 `return' even if make-spliceable.
20200 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20201 obsolete interactive-p.
20202 (byte-optimize-lapcode): Optimize new lap-codes.
20203 Don't trip up on new form of `byte-constant' lap code.
20205 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20207 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20209 * custom.el (custom-initialize-default, custom-declare-variable):
20212 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20214 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20215 (COMPILE_FIRST): Add macroexp and cconv.
20216 * makefile.w32-in: Mirror changes in Makefile.in.
20218 * vc/cvs-status.el:
20222 * vc/smerge-mode.el:
20223 * textmodes/bibtex-style.el:
20224 * textmodes/css-mode.el:
20232 * emacs-lisp/smie.el:
20235 * abbrev.el: Use lexical binding.
20237 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20239 * info.el (info-display-manual): New function.
20241 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20243 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20245 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20247 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20248 an entry for that server in rcirc-authinfo. (Bug#8385)
20250 2011-03-31 Glenn Morris <rgm@gnu.org>
20252 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20254 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20256 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20258 * progmodes/python.el (python-default-interpreter)
20259 (python-python-command-args, python-jython-command-args)
20260 (python-which-shell, python-which-args, python-which-bufname)
20261 (python-file-queue, python-comint-output-filter-function)
20262 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20263 variables and functions.
20265 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20267 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20268 (completion-in-region-mode): New minor mode.
20269 (completion-in-region): Use it.
20270 (completion-in-region--data, completion-in-region-mode-map): New vars.
20271 (completion-in-region--postch): New function.
20272 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20274 (completion--capf-wrapper): New function.
20275 (completion-at-point): Use it to track well-behavedness of
20277 (completion-help-at-point): New command.
20279 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20281 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20282 syntax class to search for whitespace on a single line
20283 (Message-ID: <4D938140.4030905@redhat.com>).
20285 2011-03-30 Leo Liu <sdl.web@gmail.com>
20287 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20289 (edit-abbrevs-map): Bind them here.
20290 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20292 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20294 * allout.el (allout-hide-by-annotation, allout-flag-region):
20295 Reduce possibility of overlay leakage by making them volatile.
20297 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20298 hash is not shared between buffers. Mode initialization is
20299 responsible for giving it a useful starting value.
20300 (allout-item-span): Reduce possibility of overlay leakage by
20301 making them volatile.
20302 (allout-widgets-count-buttons-in-region): Add diagnostic function
20303 for tracking down button overlay leaks.
20305 2011-03-29 Leo Liu <sdl.web@gmail.com>
20307 * ido.el (ido-read-internal): Use the default history var
20308 minibuffer-history if no HISTORY is specified.
20310 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20312 * net/imap.el (imap-shell-open, imap-process-connection-type):
20313 Use imap-process-connection-type for 'shell' streams as well as
20314 Kerberos, SSL, other subprocesses.
20316 2011-03-28 Leo Liu <sdl.web@gmail.com>
20318 * abbrev.el (abbrev-table-empty-p): New function.
20319 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20320 nonempty ones. (Bug#5937)
20322 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20324 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20326 2011-03-27 Leo Liu <sdl.web@gmail.com>
20328 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20329 for foreground and background colors.
20330 (ansi-color-make-color-map): Adapt.
20332 2011-03-25 Leo Liu <sdl.web@gmail.com>
20334 * midnight.el (midnight-time-float): Remove. Note it calculates
20335 the microsecond component incorrectly and seconds-to-time does the
20337 Remove redundant (require 'timer).
20339 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20340 (ido-completions): Remove unused arguments. (Bug#8329)
20342 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20344 * minibuffer.el (completion--flush-all-sorted-completions):
20345 Remove itself from hook.
20346 (completion-at-point): Let the functions perform the completion
20347 immediately and return nil or t.
20348 * comint.el (comint-dynamic-complete-functions): Now identical to
20349 completion-at-point-functions.
20350 (comint-dynamic-list-input-ring): Remove unused var `index'.
20351 (comint--match-partial-filename, comint--unquote&expand-filename):
20352 New funs, split from comint-match-partial-filename.
20353 (comint-dynamic-complete): Use completion-at-point.
20354 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20356 2011-03-24 Drew Adams <drew.adams@oracle.com>
20358 * thingatpt.el: Support `defun'.
20360 2011-03-23 Leo Liu <sdl.web@gmail.com>
20362 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20364 * help-mode.el (help-mode-finish): Tweak regexp.
20366 2011-03-23 Glenn Morris <rgm@gnu.org>
20368 * eshell/esh-opt.el (eshell-eval-using-options):
20369 Do not bind unused local variable `eshell-option-stub'.
20371 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20373 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20375 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20376 keymap variable in `with-no-warnings' to avoid a warning when the
20377 keymap has been already `defconst'ed.
20379 2011-03-22 Leo Liu <sdl.web@gmail.com>
20381 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20382 encode all chars in abbrevs; otherwise use emacs-mule or
20383 utf-8-emacs. (Bug#8308)
20385 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20387 * simple.el (backward-delete-char-untabify):
20388 Avoid warning about using `delete-backward-char'.
20390 * image.el (image-type-file-name-regexps): Make it variable.
20391 `imagemagick-register-types' modifies it, and the user may want
20392 to add new extensions for known image types.
20393 (imagemagick-register-types): Throw error if not using ImageMagick.
20395 2011-03-22 Leo Liu <sdl.web@gmail.com>
20397 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20398 located before rcirc-prompt-end-marker.
20399 (rcirc-complete): Error if point is not after rcirc prompt.
20400 Handle the case when table is nil.
20401 (rcirc-user-authenticated): Define to fix compiler warning.
20403 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20405 * custom.el (custom--inhibit-theme-enable): Make it affect only
20406 custom-theme-set-variables and custom-theme-set-faces.
20407 (provide-theme): Ignore custom--inhibit-theme-enable.
20408 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20409 (custom-enabling-themes): Delete variable.
20410 (enable-theme): Accept only loaded themes as arguments.
20411 Ignore the special custom-enabled-themes variable.
20412 (custom-enabled-themes): Forbid themes from setting this.
20413 Eliminate use of custom-enabling-themes.
20414 (custom-push-theme): Quote "changed" custom var entry.
20416 2011-03-21 Leo Liu <sdl.web@gmail.com>
20418 * ido.el (ido-read-internal): Add ido-selected to history instead
20421 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20423 * subr.el (deferred-action-list, deferred-action-function):
20426 2011-03-21 Leo Liu <sdl.web@gmail.com>
20428 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20429 change on 2011-02-13 (bug#8309).
20431 * minibuffer.el (read-file-name-function): Change default value.
20432 (read-file-name--defaults): Rename from read-file-name-defaults.
20433 (read-file-name-default): Rename from read-file-name.
20434 (read-file-name): Call read-file-name-function.
20436 2011-03-21 Glenn Morris <rgm@gnu.org>
20438 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20441 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20443 * cus-theme.el: Add missing provide statement.
20444 (customize-create-theme): Extract theme value correctly.
20445 (custom-theme-visit-theme): Autoload.
20446 (customize-create-theme): Prompt before inserting default faces.
20448 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20450 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20451 units and musical notes.
20453 2011-03-20 Leo Liu <sdl.web@gmail.com>
20455 * ido.el (ido-read-internal): Use completing-read-default.
20456 (ido-completing-read): Fix compatibility with completing-read.
20458 2011-03-20 Christian Ohler <ohler@gnu.org>
20460 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20461 (ert-delete-all-tests): Use `called-interactively-p' rather than
20463 (ert--make-xrefs-region): Respect END.
20465 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20467 * dired-aux.el (dired-create-directory): Signal an error if the
20468 directory already exists (Bug#8246).
20470 * facemenu.el (list-colors-display): Call list-faces-display
20471 inside with-help-window.
20472 (list-colors-print): Use display property to align the final
20473 column, instead of checking window-width.
20475 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20477 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20478 windows-nt systems.
20479 (emerge-protect-metachars): Quote correctly for ms-dos and
20480 windows-nt systems.
20482 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20484 * info.el (info-initialize): Replace all uses of `:' with
20485 path-separator for compatibility with non-Unix systems.
20486 Cache quoting of path-separator. (Bug#8258)
20488 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20490 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20491 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20492 (mouse-avoidance-mode): Fix typos in docstrings.
20494 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20496 * startup.el (package-subdirectory-regexp): Move from package.el.
20497 Omit \\` and \\', and let callers add them.
20499 * emacs-lisp/package.el (package-strip-version)
20500 (package-load-all-descriptors): Add \\` and \\' to
20501 package-subdirectory-regexp before using it.
20502 (package-untar-buffer): New arg DIR; ensure that file untars only
20503 into this expected directory. Remove superfluous delete-region.
20504 (package-unpack): Caller changed.
20505 (package-tar-file-info): Use package-subdirectory-regexp.
20507 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20509 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20510 diff-mode-shared-map (bug#8284).
20511 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20513 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20515 * calendar/time-date.el (format-seconds): Use assoc instead of
20516 assoc-string, since assoc-string doesn't exist in XEmacs.
20518 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20520 * custom.el (custom-known-themes): Reflow docstring.
20521 (custom-theme-load-path): Fix typo in docstring.
20522 (load-theme): Fix typo in error message.
20523 (custom-available-themes, custom-variable-theme-value):
20524 Use `let', not `let*'.
20526 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20528 * calc/README: Mention inclusion of musical notes.
20530 * calc/calc-units.el (calc-lu-quant): Rename from
20531 `calc-logunits-quantity'.
20532 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20533 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20534 (calc-db): Rename from `calc-dblevel'.
20535 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20536 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20537 (calc-np): Rename from `calc-nplevel'.
20538 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20539 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20540 (calc-lu-plus): Rename from `calc-logunits-add'.
20541 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20542 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20543 (calc-lu-minus): Rename from `calc-logunits-sub'.
20544 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20545 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20546 (calc-lu-times): Rename from `calc-logunits-mul'.
20547 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20548 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20549 (calc-lu-divide): Rename from `calc-logunits-div'.
20550 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20551 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20553 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20554 functions being autoloaded.
20556 * calc/calc.el (calc-lu-power-reference): Rename from
20557 `calc-logunits-power-reference'.
20558 (calc-lu-field-reference): Rename from
20559 `calc-logunits-field-reference'.
20561 * calc/calc-help.el (calc-l-prefix-help):
20562 Mention musical note functions.
20564 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20566 * minibuffer.el (completion-all-sorted-completions):
20567 Use :completion-cycle-penalty text property if present.
20569 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20571 * allout.el (allout-yank-processing): Adjust for new rebulleting
20572 regime so bullet being yanked is used without prompting the user
20575 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20577 * startup.el (command-line): Warn the user that _emacs is deprecated.
20579 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20581 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20582 (delphi-verbose, delphi-comment-face, delphi-string-face)
20583 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20584 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20585 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20586 (delphi-new-comment-line, delphi-font-lock-defaults)
20587 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20588 Fix typos in docstrings.
20590 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20592 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20593 Invert the roles of character and string values for INSTEAD, so a
20594 string is used for the more common case of a defaulting prompt.
20596 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20598 * progmodes/ruby-mode.el (ruby-backward-sexp):
20599 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20600 * play/gamegrid.el (gamegrid-make-face):
20601 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20602 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20603 * notifications.el (notifications-notify):
20604 * net/xesam.el (xesam-search-engines):
20605 * net/quickurl.el (quickurl-list-insert):
20606 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20608 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20610 * startup.el (command-line): Update package subdirectory regexp.
20612 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20614 * allout.el (allout-abbreviate-flattened-numbering)
20615 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20617 * subr.el (read-char-choice): Only show the cursor after the prompt,
20618 not after the answer.
20620 2011-03-15 Kevin Ryde <user42@zip.com.au>
20622 * help-fns.el (variable-at-point): Skip leading quotes, if any
20625 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20627 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20630 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20632 * shell.el (shell): When called interactively, offer to change the
20633 shell file name on remote hosts.
20635 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20637 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20638 integration for LDAP parameters. The host, base, user or binddn,
20639 and secret tokens can be specified in a netrc file, for instance.
20640 This is optional because an `auth-source' parameter must be
20641 specified in the search attributes.
20643 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20645 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20647 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20649 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20650 into declaration. Remove redundant and harmful binding.
20652 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20654 * files.el (file-ownership-preserved-p): Pass `integer' as an
20655 explicit 2nd argument to `file-attributes'. If the file's owner
20656 is the Administrators group on Windows, and the current user is
20657 Administrator, consider that a match.
20659 * server.el (server-ensure-safe-dir): Consider server directory
20660 safe on MS-Windows if its owner is the Administrators group while
20661 the current Emacs user is Administrator. Use `=' to compare
20662 numerical UIDs, since they could be integers or floats.
20664 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20666 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20668 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20670 Sync with Tramp 2.2.1.
20672 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20674 * net/trampver.el: Update release number.
20676 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20678 * progmodes/compile.el (compilation--previous-directory): Fix up
20679 various nil/dead-marker mismatches (bug#8014).
20680 (compilation-directory-properties, compilation-error-properties):
20681 Don't call it at a position past the one we're about to change.
20683 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20684 Disable obsolescence warnings in the file that declares it.
20686 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20688 * allout-widgets.el (allout-widgets-tally):
20689 Initialize allout-widgets-tally as a hash table rather than nil to
20690 prevent mode-line redisplay warnings. Also, clarify the module
20691 description and fix a comment typo.
20693 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20695 * help-fns.el (describe-variable): Don't complete keywords.
20696 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20698 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20700 * emacs-lisp/package.el (package-version-join): Impose a standard
20701 string representation for pre/alpha/beta version lists.
20702 (package-unpack-single): Standardize the directory name by passing
20703 it through package-version-join.
20704 (package-strip-rcs-id): Accept any version string that does not
20705 signal an error in version-to-list.
20707 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20709 * simple.el (delete-trailing-whitespace): Return nil for the
20710 benefit of `write-file-functions'.
20712 2011-03-10 Glenn Morris <rgm@gnu.org>
20714 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20716 * vc/vc-git.el (vc-git-program): New option.
20717 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20718 (vc-git--call): Use it.
20720 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20722 * cus-edit.el (Custom-newline): If no button at point, look
20723 for a subgroup button at start-of-line. (Bug#2298)
20725 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20727 2011-03-10 Julien Danjou <julien@danjou.info>
20729 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20730 `cursor-type' is nil.
20732 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20734 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20736 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20738 * allout.el: Change so yank of distinctive-bullet items
20739 preserves the existing header prefix, rebulleting it if necessary,
20740 rather than replacing it. This is necessary for proper operation
20741 of cooperative addons like allout-widgets.
20742 (allout-make-topic-prefix, allout-rebullet-heading):
20743 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20744 value as alternate bullet to be used, instead of prompting the user
20745 for a bullet character.
20747 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20750 Do not use `tramp-file-name-port', because this returns also
20751 `tramp-default-port'.
20753 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20755 * net/rcirc.el (rcirc-handler-001): Remove useless
20756 with-rcirc-process-buffer.
20757 (rcirc-check-auth-status): Swap arguments to string-match.
20759 2011-03-09 Glenn Morris <rgm@gnu.org>
20761 * shell.el (shell-mode):
20762 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20764 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20765 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20767 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20769 * emacs-lisp/package.el (package-refresh-contents)
20770 (package-menu-execute): Use condition-case-no-debug.
20772 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20774 * simple.el (shell-command-to-string): Use `process-file'.
20776 * emacs-lisp/package.el (package-tar-file-info): Handle also
20779 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20780 Use `equal' for upload base check.
20782 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20784 * textmodes/texinfo.el (texinfo-environments):
20785 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20787 2011-03-08 Glenn Morris <rgm@gnu.org>
20789 * cus-start.el (cursor-in-non-selected-windows):
20790 Fix :set quoting oddness. (Bug#8192)
20792 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20793 in some setf expressions. (Bug#2159)
20795 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20797 * custom.el (custom-available-themes): Return themes in
20798 alphabetical order.
20800 See ChangeLog.15 for earlier changes.
20802 ;; Local Variables:
20806 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20808 This file is part of GNU Emacs.
20810 GNU Emacs is free software: you can redistribute it and/or modify
20811 it under the terms of the GNU General Public License as published by
20812 the Free Software Foundation, either version 3 of the License, or
20813 (at your option) any later version.
20815 GNU Emacs is distributed in the hope that it will be useful,
20816 but WITHOUT ANY WARRANTY; without even the implied warranty of
20817 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20818 GNU General Public License for more details.
20820 You should have received a copy of the GNU General Public License
20821 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.