1 2012-11-10 Glenn Morris <rgm@gnu.org>
3 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5 (report-emacs-bug-create-existing-bugs-buffer)
6 (report-emacs-bug-parse-query-results)
7 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
9 * term.el (term-default-fg-color, term-default-bg-color):
10 Make obsolete, rather than just saying "deprecated" in the doc.
12 * term.el (term): Rename from `term-face'.
13 (term-current-face, ansi-term-color-vector)
14 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
17 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
19 * server.el (server-create-window-system-frame): Handle Nextstep
20 specially (Bug#12780).
22 2012-11-10 Glenn Morris <rgm@gnu.org>
24 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
25 Unautoload, and make obsolete. (Bug#7449)
27 2012-11-10 Chong Yidong <cyd@gnu.org>
29 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
30 rename from diff-remove-trailing-whitespace (Bug#12831).
32 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
34 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
35 miscompilation of trace.el.
37 2012-11-10 Glenn Morris <rgm@gnu.org>
39 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
41 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
43 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
46 2012-11-10 Chong Yidong <cyd@gnu.org>
48 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
49 a defcustom with an appropriate :set function.
50 (minibuffer-default--in-prompt-regexps): New function.
52 2012-11-10 Glenn Morris <rgm@gnu.org>
54 * emacs-lisp/cl.el (define-setf-expander, defsetf)
55 (define-modify-macro): Doc fixes.
57 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
58 (gv-define-simple-setter): Update doc of `fix-return'.
60 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
63 twice when `fix-return' is set (bug#12813).
65 * emacs-lisp/cl.el (defsetf): Pass the third arg to
66 gv-define-simple-setter (bug#12812).
68 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
71 2012-11-10 Glenn Morris <rgm@gnu.org>
73 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
75 * emacs-lisp/cl-extra.el (cl-prettyexpand):
76 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
77 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
78 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
80 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
82 2012-11-10 Leo Liu <sdl.web@gmail.com>
84 * ido.el (ido-set-matches-1): Improve flex matching performance by
85 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
87 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
89 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
90 (ad--defalias-fset): New function.
91 (ad-safe-fset): Remove.
92 (ad-make-freeze-definition): Use cl-letf*.
94 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
96 * subr.el (dolist): Don't bind VAR in RESULT.
98 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
99 (fset, documentation): Don't save real def since we don't advise.
100 (ad-do-advised-functions): Remove problematic `result-form'.
101 (ad-safe-fset): `ad-real-fset' => `fset'.
102 (ad-read-advised-function): Don't assume that ad-do-advised-functions
103 uses CL's dolist internally.
104 (ad-arglist): Remove unused arg `name'.
105 (ad-docstring, ad-make-advised-docstring):
106 `ad-real-documentation' => `documentation'.
107 (warning-suppress-types): Declare.
108 (ad-set-arguments): Simple CSE.
109 (ad-recover-normality): Sanity check.
111 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
112 (funcall '(lambda ..) ..) into ((lambda ..) ..).
114 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
116 * ses.el: symbol to coordinate mapping is made by symbol property
117 `ses-cell'. This means that the same mapping is done for all SES
118 sheets. That is good enough for cells with standard A1 names, but
119 not for named cell. So a hash map is added for the latter.
120 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
121 (ses-sym-rowcol): Use hashmap for named cell.
122 (ses-is-cell-sym-p): New defun.
123 (ses-decode-cell-symbol): New defun.
124 (ses-create-cell-variable): Add cell to hashmap when name is not
126 (ses-rename-cell): Check that cell new name is not already in
127 spreadsheet with the use of ses-is-cell-sym-p
128 (ses-rename-cell): Use hash map for named cells, but accept also
129 renaming back to A1-like.
131 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
133 * emacs-lisp/advice.el: Use new dynamic docstrings.
134 (ad-make-advised-definition-docstring, ad-advised-definition-p):
135 Use dynamic-docstring-function instead of ad-advice-info.
136 (ad--make-advised-docstring): New function extracted from
137 ad-make-advised-docstring.
138 (ad-make-advised-docstring): Use it.
139 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
141 (sql-help): Use it with dynamic-docstring-function.
143 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
145 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
147 * files.el (hack-one-local-variable--obsolete): New function.
148 (hack-one-local-variable): Use it for obsolete settings.
150 * subr.el (locate-user-emacs-file): If both old and new name exist, use
153 * progmodes/js.el (js--filling-paragraph): New var.
154 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
155 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
158 2012-11-08 Julien Danjou <julien@danjou.info>
160 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
161 `auto-mode-alist' (Bug#12835).
163 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
165 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
166 (perl--prettify-symbols-alist): New const.
167 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
169 (perl-font-lock-keywords-2): Use them.
170 (perl-electric-noindent-p): New function.
171 (perl-mode): Use it to set up electric-indent-mode.
172 (perl-electric-terminator, perl-indent-command): Mark obsolete.
173 (perl-mode-map): Remove bindings for them.
174 (perl-imenu-generic-expression, perl-outline-level):
175 Match functions&packages in column>0.
177 * env.el (env--substitute-vars-regexp): New const.
178 (substitute-env-vars): Use it. Add `only-defined' arg.
179 * net/tramp.el (tramp-replace-environment-variables): Use it.
181 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
182 Byte-compile *before* eval in eval-and-compile.
183 (byte-compile-log-warning): Remove redundant inhibit-read-only.
184 (byte-compile-file-form-autoload): Don't hide actual definition.
185 (byte-compile-maybe-guarded): Accept `functionp' as well.
187 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
189 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
191 * notifications.el (notifications-get-server-information-method):
193 (notifications-get-capabilities): Fix docstring.
194 (notifications-get-server-information): New defun.
196 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
198 * textmodes/ispell.el (ispell-region): Standard re-indent for better
201 * textmodes/ispell.el: Experimental support for support debugging.
202 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
204 (ispell-print-if-debug): New function to print stuff to
205 `ispell-debug-buffer' if debugging is enabled.
206 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
207 show some debugging info.
208 (ispell-buffer-with-debug): New function that creates a debugging
209 buffer and calls `ispell-buffer' with debugging enabled.
211 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
212 comment in autoconf mode. (Bug#12768)
214 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
216 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
217 frame-first-window, frame-root-window, frame-selected-window,
218 minibuffer-selected-window, minibuffer-window,
219 window-absolute-pixel-edges, window-at, window-body-height,
220 window-body-width, window-display-table, window-combination-limit,
221 window-frame, window-fringes, window-inside-absolute-pixel-edges,
222 window-inside-edges, window-inside-pixel-edges, window-left-child,
223 window-left-column, window-margins, window-next-buffers,
224 window-next-sibling, window-new-normal, window-new-total,
225 window-normal-size, window-parameter, window-parameters, window-parent,
226 window-pixel-edges, window-point, window-prev-buffers,
227 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
228 window-start, window-text-height, window-top-child, window-top-line,
229 window-total-height, window-total-width and window-use-time to the list
230 of functions without side-effects.
231 (toplevel): Add window-valid-p to the list of error-free functions
232 without side-effects.
234 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
236 * textmodes/ispell.el (ispell-program-name):
237 Update spellchecker parameters when customized.
239 2012-11-04 Glenn Morris <rgm@gnu.org>
241 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
243 2012-11-04 Chong Yidong <cyd@gnu.org>
245 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
246 same-window-* variables.
248 2012-11-04 Juri Linkov <juri@jurta.org>
250 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
251 (isearch-describe-key, isearch-describe-mode): Use a display
252 action instead of binding same-window-* variables (Bug#10040).
254 2012-11-03 Glenn Morris <rgm@gnu.org>
256 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
257 Rename handler properties back from cl-- to cl-. (Bug#12788)
259 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
261 2012-11-03 Eli Zaretskii <eliz@gnu.org>
263 * term/pc-win.el: Don't load term/internal from here.
265 * loadup.el: Load term/internal from here.
267 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
269 * progmodes/python.el (inferior-python-mode): Fix hang in
270 jit-lock (Bug#12645).
272 2012-11-03 Martin Rudalics <rudalics@gmx.at>
274 * window.el (switch-to-visible-buffer)
275 (switch-to-buffer-preserve-window-point): Fix doc-strings.
277 2012-11-03 Glenn Morris <rgm@gnu.org>
279 * emacs-lisp/cl-lib.el (cl--random-time):
280 Rename from cl-random-time. (Bug#12773)
281 (cl--gensym-counter, cl--random-state): Update callers.
282 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
284 2012-11-03 Chong Yidong <cyd@gnu.org>
286 * cus-start.el: Make cursor-type customizable (Bug#11633).
288 2012-11-02 Glenn Morris <rgm@gnu.org>
290 * filecache.el: No need to load find-lisp when compiling.
291 (find-lisp-find-files): Autoload it.
292 (file-cache-add-directory-recursively): Don't require find-lisp.
294 * image.el (image-type-from-file-name): Trivial simplification.
296 * emacs-lisp/bytecomp.el (byte-compile-eval):
297 Decouple "noruntime" and "cl-functions" warnings.
299 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
301 * play/gomoku.el (gomoku-display-statistics): Update mode line
302 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
304 2012-10-31 Martin Rudalics <rudalics@gmx.at>
306 * window.el (quit-restore-window): If the window has been
307 created on an existing frame and ended up as the sole window on
308 that frame, do not delete it (Bug#12764).
310 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
312 * progmodes/sh-script.el (sh--inside-noncommand-expression):
313 Rename from sh--inside-arithmetic-expression, handle more cases
316 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
317 (sh-font-lock-open-heredoc): Use it (bug#12770).
319 2012-10-30 Glenn Morris <rgm@gnu.org>
321 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
323 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
325 2012-10-29 Chong Yidong <cyd@gnu.org>
327 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
328 function key is stored in a keyboard macro (Bug#4894).
330 * thingatpt.el (number-at-point): Apply a thing-at-point property.
332 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
334 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
336 (diff-unified->context, diff-context->unified)
337 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
339 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
341 * files.el (find-alternate-file): Only ask one question (bug#12487).
343 2012-10-29 Chong Yidong <cyd@gnu.org>
345 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
346 Suggested by Dan Nicolaescu (Bug#6326).
348 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
350 * startup.el (fancy-about-screen): Don't message (Bug#12680).
352 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
354 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
356 * face-remap.el (face-remap-add-relative): Handle the case where a
357 face-remapping-alist entry is a cons cell (Bug#12762).
359 2012-10-29 Kevin Ryde <user42@zip.com.au>
361 * woman.el (woman-parse-numeric-value): Handle picas correctly
364 2012-10-29 Glenn Morris <rgm@gnu.org>
366 * emacs-lisp/cl.el (defsetf): Doc fix.
368 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
370 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
371 syntax to the matching opener, if any (bug#12547).
372 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
373 matching open as a "case-(".
374 (sh-smie-rc-grammar): Add a corresponding rule for it.
376 2012-10-28 Daniel Hackney <dan@haxney.org>
378 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
379 "PKGNAME-autoloads.el" in case we created it.
381 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
383 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
384 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
385 (completion--twq-all): Disable too-strict assertions.
387 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
389 2012-10-27 Eli Zaretskii <eliz@gnu.org>
391 * profiler.el (profiler-report-make-entry-part): Fix help-echo
392 text to match the real keybindings.
394 2012-10-27 Juri Linkov <juri@jurta.org>
396 * wdired.el (wdired-keep-marker-rename): New defcustom.
397 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
400 * dired.el (dired-keep-marker-rename): Add reference to
401 `wdired-keep-marker-rename' in the docstring.
402 Add default character value ?R to display initially in
403 Customization UI instead of ?@.
405 2012-10-27 Martin Rudalics <rudalics@gmx.at>
407 * window.el (display-buffer): In doc-string describe
408 window-height and window-width alist entries.
410 * time.el (display-time-world): Restore fit-window-to-buffer
413 2012-10-27 Chong Yidong <cyd@gnu.org>
415 * subr.el (insert-buffer-substring-as-yank): Doc fix.
417 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
419 * minibuffer.el (completion-category-overrides): New completion
420 category `bookmark' (bug#11131).
422 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
424 * emacs-lisp/advice.el (ad-assemble-advised-definition):
425 Silence bogus compiler warnings for ad-do-it.
427 * bookmark.el (bookmark-completing-read): Set the completion category
428 to `bookmark' (bug#11131).
430 2012-10-26 Bastien <bzg@altern.org>
431 Stefan Monnier <monnier@iro.umontreal.ca>
433 * face-remap.el: Use lexical-binding.
434 (text-scale-adjust): Improve docstring. Use itself for the temporary
435 overlay-map bindings, so as to repeat the "Use..." message each time.
437 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
439 * emacs-lisp/macroexp.el (macroexp--expand-all):
440 Obey byte-compile-warning-enabled-p (bug#12486).
442 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
443 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
445 2012-10-26 Martin Rudalics <rudalics@gmx.at>
447 * mouse.el (mouse-drag-line): Move last form into preceding when
450 * help.el (resize-temp-buffer-window): Fix doc-string.
452 2012-10-25 David Engster <deng@randomsample.de>
454 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
455 Remove. This feature is already integrated in imenu.
457 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
458 always loaded. Require `speedbar' unconditionally.
460 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
462 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
464 * minibuffer.el (minibuffer-force-complete): Fix thinko.
466 * net/ldap.el (ldap-search-internal): The official ldif format starts
467 with a "version: 1" header (bug#12724).
469 * emacs-lisp/package.el (package-installed-p): Warn if not ready
472 2012-10-25 Glenn Morris <rgm@gnu.org>
474 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
476 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
478 * minibuffer.el (minibuffer-force-complete): Use one more marker
479 for the temporary-overlay-map command (bug#12619).
481 2012-10-24 Chong Yidong <cyd@gnu.org>
483 * time.el (display-time-world-mode): Derive from special-mode.
484 (display-time-world): Use display-buffer (Bug#12708).
485 (display-time-world-mode-map): Variable deleted.
486 (display-time-world-display): Wrap the final delete-char inside
489 2012-10-24 Chong Yidong <cyd@gnu.org>
491 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
494 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
496 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
498 * minibuffer.el (completion--all-sorted-completions-location): New var.
499 (completion--cache-all-sorted-completions)
500 (completion--flush-all-sorted-completions): Use it.
501 (completion-in-region, completion-in-region--postch)
502 (completion-at-point, completion-help-at-point): Use markers in
503 completion-in-region--data (bug#12619).
505 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
507 * progmodes/compile.el (compilation-start): Try to handle common
508 quoting of `cd' argument (bug#12640).
510 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
513 2012-10-23 Glenn Morris <rgm@gnu.org>
515 * progmodes/gud.el (gud-menu-map):
516 Check gdb-active-process is bound. (Bug#12358)
518 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
520 * repeat.el (repeat): Set real-this-command (bug#12232).
522 * htmlfontify.el (hfy-post-html-hook):
523 * filesets.el (filesets-cache-fill-content-hook):
524 * arc-mode.el (archive-extract-hook):
525 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
526 * net/rcirc.el (rcirc-sentinel-functions)
527 (rcirc-receive-message-functions, rcirc-activity-functions)
528 (rcirc-print-functions):
529 * net/dbus.el (dbus-event-error-functions):
530 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
531 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
532 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
533 * term/sun.el (sun-raw-prefix-hooks):
534 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
536 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
538 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
539 Set `tramp-chunksize' to 1. This improves the performance.
540 (tramp-smb-wait-for-output): Add timeout to
541 `tramp-accept-process-output' calls.
543 2012-10-23 Chong Yidong <cyd@gnu.org>
545 * faces.el (font-list-limit): Define as an obsolete variable.
547 * startup.el (command-line):
548 * cus-start.el: Don't refer to font-list-limit.
550 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
552 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
554 * subr.el (internal-temp-output-buffer-show): Rename from
555 temp-output-buffer-show, since previously compiled files expect this name.
557 2012-10-23 Glenn Morris <rgm@gnu.org>
559 * image.el (image-type-from-file-name): If multiple types match,
560 return the first one that is supported. (Bug#9045)
562 2012-10-22 Glenn Morris <rgm@gnu.org>
564 * image.el (imagemagick-enabled-types): Doc fix.
566 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
568 * progmodes/which-func.el (which-func-current): The hash-table may have
569 an explicit nil (bug#12338).
571 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
573 * electric.el (electric-pair-delete-selection-self-insert-function):
574 Rename to electric-pair-will-use-region, return a boolean.
575 (electric-pair-mode): Adjust accordingly. Don't require delsel.
577 * delsel.el (delete-selection-helper): Use a function instead of a hook.
578 (delete-selection-pre-hook): Use use-region-p.
579 (delete-selection-self-insert-function): Remove.
580 (self-insert-command): Obey self-insert-uses-region-functions.
581 (self-insert-iso): Revert to previous setting, since we don't actually
582 know what that command does.
583 (delete-selection-self-insert-hooks): Remove.
585 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
587 * delsel.el (delete-selection-helper): New function, extracted from
588 delete-selection-pre-hook.
589 (delete-selection-pre-hook): Use it.
590 (delete-selection-self-insert-function): New function.
591 (delete-selection-self-insert-hooks): New hook.
592 (self-insert-command, self-insert-iso): Use it.
593 * electric.el (electric-pair-syntax): New function, extracted from
594 electric-pair-post-self-insert-function.
595 (electric-pair-post-self-insert-function): Use it.
596 (electric-pair-delete-selection-self-insert-function): New function.
597 (electric-pair-mode): Require delsel and setup
598 delete-selection-self-insert-hooks (bug#11520).
600 2012-10-20 Chong Yidong <cyd@gnu.org>
602 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
603 no changes to show (Bug#12586).
605 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
606 list explicitly (Bug#12571).
608 2012-10-20 Arne Jørgensen <arne@arnested.dk>
610 * progmodes/flymake.el (flymake-create-temp-inplace):
613 2012-10-20 Eli Zaretskii <eliz@gnu.org>
615 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
617 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
619 * calc/calc-units.el (math-extract-units): Properly extract powers
622 2012-10-20 Daniel Colascione <dancol@dancol.org>
624 * frame.el (make-frame): Set x-display-name as we used to in order
625 to unbreak creating an X11 frame from an Emacs daemon started
628 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
630 * minibuffer.el (minibuffer-force-complete): Make the next completion use
631 the same completion-field (bug#12221).
633 2012-10-19 Martin Rudalics <rudalics@gmx.at>
635 * emacs-lisp/debug.el (debug): Record height of debugger window
636 also when debugger will be back (Bug#8789).
638 2012-10-18 Chong Yidong <cyd@gnu.org>
640 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
641 Convert to defcustom.
642 (gdb-get-source-file): Don't bind pop-up-windows.
644 * progmodes/gud.el (gud-display-line): Don't specially re-use
645 other frames for the gdb-mi case (Bug#12648).
647 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
649 * emacs-lisp/advice.el: Clean up commentary a bit.
650 (ad-do-advised-functions, ad-with-originals): Use `declare'.
651 (byte-code-function-p): Never redefine.
653 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
655 2012-10-18 Glenn Morris <rgm@gnu.org>
657 * dired.el (dired-sort-toggle): Some ls implementations only allow
658 a single option string. (Bug#12666)
660 * minibuffer.el (completion-cycle-threshold): Doc fix.
662 2012-10-17 Kenichi Handa <handa@gnu.org>
664 * international/mule.el (set-keyboard-coding-system):
665 Recover input meta mode when the new coding system doesn not use 8-bit.
666 Supply TERMINAL arg to set-input-meta-mode.
668 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
670 * wdired.el (wdired-old-marks): New variable.
671 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
672 (wdired-do-renames): Move point with renamed file and don't lose
673 mark status (Bug#11795).
675 2012-10-16 Juri Linkov <juri@jurta.org>
677 * replace.el (query-replace-help): Mention multi-buffer replacement
678 keys in the Help message. (Bug#12655)
680 2012-10-15 Chong Yidong <cyd@gnu.org>
682 * emacs-lisp/byte-run.el (defsubst): Doc fix.
684 2012-10-14 Eli Zaretskii <eliz@gnu.org>
686 * window.el (display-buffer): Doc fix.
688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
689 Adjust the msft regexp to the output of Studio 2010, and move msft
690 before edg-1. See the discussion on emacs-devel,
691 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
694 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
696 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
697 (oset): Move uses of object-class-fast macro after its definition.
699 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
701 2012-10-13 Chong Yidong <cyd@gnu.org>
703 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
704 enabled, re-enable it (Bug#11963).
706 2012-10-13 Martin Rudalics <rudalics@gmx.at>
708 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
709 non-nil, restore window configuration (Bug#12623).
711 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
713 * help-fns.el (describe-variable, describe-function-1):
714 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
716 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
718 2012-10-12 Glenn Morris <rgm@gnu.org>
720 * mail/rmailsum.el (rmail-header-summary):
721 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
723 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
725 * progmodes/python.el (python-mode-map):
726 Replace subtitute-key-definition with proper command remapping.
727 (python-nav--up-list): Fix behavior for blocks on the same level.
729 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
731 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
733 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
734 changes to the format of load-history.
736 * international/mule-cmds.el (read-char-by-name): Move let-binding of
737 completion-ignore-case in case that var is buffer-local (bug#12615).
739 2012-10-11 Kenichi Handa <handa@gnu.org>
741 * international/eucjp-ms.el: Re-generated.
743 2012-10-10 Kenichi Handa <handa@gnu.org>
745 * select.el (xselect--encode-string): If a coding is specified for
746 selection, and that is compatible with COMPOUND_TEXT, use it.
748 2012-10-10 Martin Rudalics <rudalics@gmx.at>
750 * window.el (switch-to-buffer-preserve-window-point): New option.
752 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
754 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
756 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
757 Don't document nil as a useful value (bug#12583).
759 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
761 * net/tramp.el (tramp-debug-message):
762 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
763 (with-tramp-progress-reporter): Rename from
764 `tramp-with-progress-reporter'.
765 (with-tramp-file-property, with-tramp-connection-property):
766 Move from tramp-cache.el, rename from `with-file-property' and
767 `with-connection-property', respectively.
769 * net/tramp-cache.el: Remove `with-file-property' and
770 `with-connection-property'.
775 * net/tramp-smb.el: Adapt callees.
777 * net/trampver.el: Update release number.
779 2012-10-09 Glenn Morris <rgm@gnu.org>
781 * w32-fns.el (set-message-beep):
782 * term/w32-win.el (set-message-beep): Update declarations.
784 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
786 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
787 (mode-line-widen, mode-line-input-method-map)
788 (mode-line-coding-system-map, mode-line-remote)
789 (mode-line-unbury-buffer, mode-line-bury-buffer)
790 (mode-line-next-buffer, mode-line-previous-buffer):
791 Replace save-selected-window+select-window => with-selected-window.
793 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
794 * progmodes/cc-vars.el (bq-process): Remove, unused.
796 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
798 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
800 Implemented `backward-up-list'-like navigation.
801 * progmodes/python.el (python-nav-up-list)
802 (python-nav-backward-up-list): New functions.
803 (python-mode-map): Define substitute key for backward-up-list to
804 python-nav-backward-up-list.
806 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
808 * progmodes/python.el (python-fill-paragraph): Rename from
809 python-fill-paragraph-function. Fixed fill-paragraph for
810 decorators (Bug#12605).
812 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
814 * progmodes/python.el (python-shell-output-filter): Handle extra
815 carriage return in OSX (Bug#12409).
817 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
819 Fix shell handling of unbalanced quotes and parens in output.
820 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
821 (python-syntax-propertize-function): Use it.
822 (python-shell-output-syntax-table): New var.
823 (inferior-python-mode): Prevent unbalanced parens/quotes from
824 previous output mess with current input context.
826 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
828 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
829 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
831 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
833 * ffap.el (ffap-replace-file-component): Support Tramp file name
834 syntax, not only ange-ftp's one.
836 2012-10-08 Glenn Morris <rgm@gnu.org>
838 * cus-start.el (message-log-max): Set :version.
840 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
842 2012-10-08 Martin Rudalics <rudalics@gmx.at>
844 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
845 the minibuffer window (Bug#10851).
847 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
849 Enhancements on forward-sexp movement.
850 * progmodes/python.el (python-nav-beginning-of-statement)
851 (python-nav-end-of-statement): Return point-marker.
852 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
853 (python-info-current-symbol)
854 (python-info-statement-starts-block-p): Rename from
855 python-info-beginning-of-block-p.
856 (python-info-statement-ends-block-p): Rename from
857 python-info-end-of-block-p.
858 (python-info-beginning-of-statement-p)
859 (python-info-end-of-statement-p)
860 (python-info-beginning-of-block-p, python-info-end-of-block-p):
863 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
865 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
866 frame-selected-windows.
868 2012-10-08 Daniel Colascione <dancol@dancol.org>
870 * battery.el (battery-status-function): Check for
871 w32-battery-status itself, not system-time windows-nt.
873 * frame.el: Require cl-lib.
874 (display-format-alist): New variable mapping frame types to
875 functions that initialize them.
876 (window-system-for-display): New function: interprets
877 display-format-alist.
878 (make-frame-on-display): Remove existing display-selection logic
879 and just forward to make-frame, which will now DTRT.
880 (make-frame): Restructure to use window-system-for-display to
881 figure out how to create a frame on a given display.
882 (display-mouse-p): Look for frame-type w32, not a particular
885 * loadup.el: Load w32 lisp code when we have the w32 feature.
887 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
888 system-type windows-nt.
890 * server.el (server-create-window-system-frame): Look for window
892 (server-proces-filter): Only force a window system when windows-nt
893 _and_ w32. Explain why.
895 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
896 of window systems we configure for the mode.
898 * startup.el (command-line): Mark window system is initialized
901 * common-win.el (x-select-text): Look for w32, not windows-nt.
903 * ns-win.el: Require cl-lib. Add ourselves to
904 display-format-alist.
905 (ns-initialize-window-system): Assert we're not initialized twice.
907 * w32-win.el: Enable lexical binding; require cl-lib; add
908 ourselves to display-format-alist.
909 (w32-handle-dropped-file): Convert incoming dropped files from
910 Windows paths to Cygwin ones before passing them on to the rest of
912 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
913 (w32-initialize-window-system): Assert we're not initialized twice.
915 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
916 (x-initialize-window-system): Assert we're not initialized twice.
918 * w32-common-fns.el: New File.
919 (w32-version, w32-using-nt, w32-get-clipboard-data)
920 (w32-set-clipboard-data, x-set-selection, x-get-selection)
921 (w32-charset-info-alist, x-last-selected, text)
922 (x-get-selection-value, x-selection-value): Move here.
924 * w32-fns.el: Require w32-common-fns.
925 (w32-version, w32-using-nt, w32-get-clipboard-data)
926 (w32-set-clipboard-data, x-set-selection, x-get-selection)
927 (w32-charset-info-alist, x-last-selected, text)
928 (x-get-selection-value, x-selection-value): Move to
932 (w32-allow-system-shell, w32-system-shells): Define only in
935 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
937 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
938 (read-passwd): Remove a few more potential sources of leaks.
940 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
942 * progmodes/python.el (inferior-python-mode)
943 (python-shell-make-comint): Fix initialization of local
944 variables copied from parent buffer.
946 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
948 * term/ns-win.el (ns-read-file-name): Update declaration to match
950 (ns-respond-to-change-font): Change fontsize separatly so we are sure
951 it is set when font is acted upon.
953 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
955 Enhancements to indentation.
956 * progmodes/python.el (python-indent-context): Give priority to
957 inside-string context. Make comments indentation markers.
958 (python-indent-region): Do not mess with strings, unless it's the
959 enclosing set of quotes.
961 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
963 * window.el (internal--before-save-selected-window)
964 (internal--after-save-selected-window): New functions extracted from
965 save-selected-window. Make sure we return the `alist' we construct.
966 (save-selected-window): Use them.
968 * textmodes/tex-mode.el (tex-recenter-output-buffer):
969 Use with-selected-window.
971 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
972 forms that define macros (bug#12593).
974 2012-10-07 Kenichi Handa <handa@gnu.org>
976 * international/mule-conf.el (compound-text-with-extensions):
977 Add :mime-charset property as x-ctext.
979 2012-10-07 Stefan Merten <smerten@oekonux.de>
981 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
982 (rst-indent-literal-normal, rst-indent-literal-minimized)
983 (rst-indent-comment): Correct :version tag.
984 (rst-official-cvs-rev): Correct version string.
986 2012-10-07 Glenn Morris <rgm@gnu.org>
988 * mail/rmailmm.el (rmail-mime-process-multipart):
989 Do not confuse a multipart message with an epilogue
990 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
992 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
994 Fix shell output retrieval and comint-prompt-regexp init.
995 * progmodes/python.el (inferior-python-mode):
996 (python-shell-make-comint): Fix initialization of
997 comint-prompt-regexp from copied file local variables.
998 (python-shell-fetched-lines): Remove var.
999 (python-shell-output-filter-in-progress): Rename from
1000 python-shell-fetch-lines-in-progress.
1001 (python-shell-output-filter-buffer): Rename from
1002 python-shell-fetch-lines-string.
1003 (python-shell-fetch-lines-filter): Delete function.
1004 (python-shell-output-filter): New function.
1005 (python-shell-send-string-no-output): Use them.
1007 2012-10-07 Glenn Morris <rgm@gnu.org>
1009 * hi-lock.el (hi-lock-process-phrase):
1010 Try to make it less fragile. (Bug#7161)
1012 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1014 2012-10-06 Glenn Morris <rgm@gnu.org>
1016 * ehelp.el (electric-help-mode): Use help-mode rather than
1017 non-existent mode `help'.
1018 (electric-help-map): Use button-buffer-map. (Bug#10917)
1020 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1021 (reftex-create-bibtex-footer): Fix custom types.
1023 * progmodes/sh-script.el (sh-indent-after-continuation):
1024 Add explicit :group.
1026 * textmodes/rst.el (rst-preferred-decorations)
1027 (rst-shift-basic-offset): Clarify obsolescence versions.
1029 * profiler.el (profiler): Add missing group :version tag.
1030 * avoid.el (mouse-avoidance-banish-position):
1031 * proced.el (proced-renice-command):
1032 * calc/calc.el (calc-ensure-consistent-units):
1033 * calendar/icalendar.el (icalendar-import-format-uid):
1034 * net/tramp.el (tramp-save-ad-hoc-proxies):
1035 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1036 * progmodes/flymake.el (flymake-error-bitmap)
1037 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1038 * progmodes/sh-script.el (sh-indent-after-continuation):
1039 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1040 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1041 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1042 (vhdl-array-index-record-field-in-sensitivity-list)
1043 (vhdl-indent-comment-like-next-code-line):
1044 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1045 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1046 (reftex-cite-key-separator, reftex-create-bibtex-header)
1047 (reftex-create-bibtex-footer):
1048 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1049 (rst-indent-literal-normal, rst-indent-literal-minimized)
1050 (rst-indent-comment): Add missing custom :version tags.
1052 * calendar/timeclock.el (timeclock-modeline-display):
1053 Add missing obsolete alias for renamed user option.
1055 * strokes.el (strokes-modeline-string):
1056 * emulation/crisp.el (crisp-mode-modeline-string):
1057 * eshell/esh-mode.el (eshell-status-in-modeline):
1058 Aliases to defcustoms must come before the defcustom.
1060 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1061 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1062 (cal-tex-cursor-week-monday): Doc fixes.
1063 (cal-tex-cursor-week2-summary): Doc fix.
1064 Rename from cal-tex-cursor-week-at-a-glance.
1066 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1067 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1069 * calendar/calendar.el (calendar-mode-map):
1070 Add cal-tex-cursor-week2-summary.
1072 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1076 * subr.el (read-passwd-map): New var.
1077 (read-passwd): Use `read-string' again.
1078 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1080 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1082 * register.el (append-to-register, prepend-to-register):
1083 Deactivate mark, as does `copy-to-register' (bug#12389).
1085 2012-10-06 Chong Yidong <cyd@gnu.org>
1087 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1089 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1091 * international/characters.el: Fix simple mistake ((car chars) ->
1092 elt), delete duplicated code.
1094 2012-10-06 Glenn Morris <rgm@gnu.org>
1096 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1098 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1100 * color.el (color-hsl-to-rgb): Fix incorrect results for
1101 small and large hue values. (Bug#12559)
1103 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1105 Enhancements to docstring formatting when filling paragraphs.
1106 * progmodes/python.el (python-fill-docstring-style): Rename from
1107 python-fill-string-style. Added new style.
1108 (python-fill-string): Use new style. Better checks for
1111 2012-10-05 Glenn Morris <rgm@gnu.org>
1113 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1115 * color.el (color-name-to-rgb, color-rgb-to-hex)
1116 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1117 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1118 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1119 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1121 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1123 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1125 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1126 to get the correct size across symlinks.
1128 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1130 2012-10-04 Juri Linkov <juri@jurta.org>
1132 * replace.el (query-replace-interactive): Declare obsolete.
1133 (query-replace-read-from): Add the last incremental search string
1134 to the list of default values accessible via M-n.
1135 (map-query-replace-regexp): Use `read-regexp'.
1136 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1137 (map-query-replace-regexp, replace-string, replace-regexp):
1138 Fix docstrings to replace mentions of `query-replace-interactive'
1139 with alternatives. (Bug#12526)
1141 2012-10-04 Juri Linkov <juri@jurta.org>
1143 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1144 (dired-pop-to-buffer): Declare obsolete.
1145 (dired-mark-pop-up): Doc fix.
1147 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1149 Allow user to set docstring style for fill-paragraph.
1150 * progmodes/python.el
1151 (python-fill-comment-function, python-fill-string-function)
1152 (python-fill-decorator-function, python-fill-paren-function):
1153 Remove :safe for defcustoms.
1154 (python-fill-string-style): New defcustom
1155 (python-fill-paragraph-function): Enhance context detection.
1156 (python-fill-string): Honor python-fill-string-style settings.
1158 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1160 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1161 after setting its buffer (Bug#10805).
1163 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1165 Fix cornercase for string syntax.
1166 * progmodes/python.el (python-syntax-propertize-function):
1167 Simplify and enhance the regexp for unescaped quotes. Now it also
1168 matches quotes in weird situations like the single quote in
1170 (python-syntax-stringify): Simplify num-quotes detecting code.
1172 2012-10-03 Glenn Morris <rgm@gnu.org>
1174 * help-macro.el (three-step-help):
1175 Revert 2012-09-29 change. (Bug#12567)
1177 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1179 * menu-bar.el (kill-this-buffer): Don't do anything when
1180 `menu-frame' is not alive or visible (Bug#8184).
1182 * emacs-lisp/debug.el (debug): When quitting the debugger window
1183 restore current buffer (Bug#12502).
1185 2012-10-02 Chong Yidong <cyd@gnu.org>
1187 * progmodes/hideif.el (hif-lookup, hif-defined):
1188 Handle semantic-c-takeover-hideif.
1190 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1192 Change sampling interval units from ms to ns.
1193 * profiler.el (profiler-sampling-interval): Change units
1194 from ms to ns, multiplying the default by 1000000 so that
1196 (profiler-report-cpu-line-format): Give enough room for
1197 the maximum counters on 64-bit hosts.
1198 (profiler-report-render-calltree-1): Call them "CPU samples",
1199 not "Time (ms)", since they are not milliseconds now (and
1202 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1204 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1205 Fix querying BBDB for entries without a last name (Bug#11580).
1207 2012-10-02 Chong Yidong <cyd@gnu.org>
1209 * emacs-lisp/eieio.el: Restore Version header.
1211 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1213 * vc/diff-mode.el (diff--auto-refine-data): New var.
1214 (diff-hunk): Use it to delay refinement.
1215 (diff-mode): Remove overlays when we turn off font-lock.
1217 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1218 (table-initialize-table-fixed-width-mode)
1219 (table-set-table-fixed-width-mode): Remove functions.
1220 (table-command-list): Move initialization into declaration.
1221 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1222 (table-with-cache-buffer): Use `declare'.
1223 (table-span-cell): Simplify via CSE.
1224 (table-fixed-width-mode): Use define-minor-mode.
1225 (table-call-interactively, table-funcall, table-apply): Remove.
1226 (table-function): New function, to replace them.
1228 * bookmark.el (bookmark-search-pattern): Remove var.
1229 (bookmark-read-search-input): Remove function.
1230 (bookmark-bmenu-search): Reimplement using a minibuffer.
1232 * faces.el (modeline): Remove obsolete face name.
1234 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1235 and give a non-nil default value.
1236 (add-change-log-entry): Simplify accordingly.
1238 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1240 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1241 (vc-git-log-edit-toggle-amend): New function.
1242 (vc-git-log-edit-toggle-signoff): New function.
1243 (vc-git-log-edit-mode): New major mode.
1244 (vc-git-log-edit-mode-map): Keymap for it.
1245 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1247 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1249 (log-edit-toggle-header): New function.
1250 (log-edit-extract-headers): Accept function values in HEADERS alist.
1252 2012-10-01 David Engster <deng@randomsample.de>
1254 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1255 from symbol property and change message to be more consistent with
1257 (eieio-describe-generic): Add filename for each implementation.
1258 Fix indices for generic and normal methods.
1259 (eieio-method-def, eieio-class-def): New buttons.
1260 (eieio-help-find-method-definition)
1261 (eieio-help-find-class-definition): New functions.
1262 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1263 class, constructor and method definitions.
1265 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1266 information in symbol property.
1267 (scoped-class): Remove.
1268 (eieio-slot-name-index, call-next-method): Check if it is bound.
1270 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1272 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1273 (eieio-custom-mode): New major mode.
1274 (eieio-customize-object): Use it.
1276 2012-10-01 Eric Ludlam <zappo@gnu.org>
1278 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1279 specifying the expected class, and whether subclassing is allowed.
1280 (eieio-persistent-convert-list-to-object):
1281 (eieio-persistent-validate/fix-slot-value)
1282 (eieio-persistent-slot-type-is-class-p): New functions.
1283 (eieio-named::slot-missing): Doc fix.
1285 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1286 Stop using unused publd variable.
1288 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1289 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1290 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1291 (eieio-speedbar-handle-click): Do not specify a class for the
1292 method. Fixes method invocation order problems with EDE.
1294 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1297 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1299 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1301 * bookmark.el (bookmark-version-control): Give tags in the
1302 :type choices (Bug#12309), and improve doc string.
1303 (bookmark-write-file): Bind `print-circle' to `t' to allow
1304 circular custom bookmark types. (Bug#12503)
1306 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1308 Revert the FOLLOW-SYMLINKS change for file-attributes.
1309 * files.el (remote-file-name-inhibit-cache, after-find-file):
1310 * time.el (display-time-file-nonempty-p): Undo last change.
1312 * profiler.el (profiler-sampling-interval): Change default back to 1.
1313 See Stefan Monnier in
1314 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1316 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1318 Shell output catching a la gud-gdb.
1319 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1320 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1322 (python-shell-fetch-lines-filter): New function.
1323 (python-shell-send-string-no-output): Use them.
1325 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1327 * profiler.el (profiler-sampling-interval): Rename from
1328 profiler-sample-interval.
1329 (profiler-sampling-interval): Default to 10.
1330 (profiler-find-profile): New command (was profiler-find-log).
1331 (profiler-find-profile-other-window): New command.
1332 (profiler-find-profile-other-frame): New command.
1333 (profiler-profile): Introduce API-level data structure.
1335 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1337 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1338 * files.el (remote-file-name-inhibit-cache):
1339 * time.el (display-time-file-nonempty-p): Use it.
1340 * files.el (after-find-file): Don't chase links before calling
1341 file-exists-p, as file-exists-p already does the right thing.
1343 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1345 Merge from standalone RefTeX repository.
1347 The following ChangeLog entries are shortened versions of the
1348 original ones with file paths adapted. A not so strongly edited
1349 version of the original ChangeLog can be found in the commit log.
1351 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1352 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1353 Correctly handle new value type returned by `reftex-citation'.
1355 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1356 that entries with whitespace at various places are found.
1357 Doc fix. Include entries that are cross-referenced from cited entries.
1358 Include @String definitions in the resulting bib file. Add header
1359 and footer defined in `reftex-create-bibtex-header' and
1360 `reftex-create-bibtex-footer'.
1361 (reftex-do-citation): Make it possible again to insert
1362 non-existent entries. Save match data when asking for optional
1363 arguments. Return all keys, not just the first one.
1364 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1365 all citations in the same line.
1366 (reftex-parse-bibtex-entry): Accept additional optional argument
1367 `raw' and keep quotes or braces if it is non-nil. Match fields
1368 containing hyphens besides word constituents.
1369 (reftex-get-string-refs): New function.
1370 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1371 and ask if it should be reread in case it did.
1372 (reftex-pop-to-bibtex-entry)
1373 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1374 entries with spaces or tabs in front of arguments.
1375 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1376 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1377 Match entries containing numbers and symbol constituents.
1378 (reftex-do-citation, reftex-figure-out-cite-format):
1379 Use `reftex-cite-key-separator'.
1381 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1382 (reftex-mouse-view-crossref): Explain why point is set.
1384 * textmodes/reftex-global.el: Whitespace changes.
1386 * textmodes/reftex-index.el: Move provide statement to end of
1388 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1389 (reftex-index-visit-phrases-buffer): Set marker when visiting
1390 buffer. This allows for returning from the phrases file to the
1391 file one was just editing instead of the file where the last
1392 phrases was added from.
1393 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1394 punctuation syntax as it usually is not used as string quote in
1395 TeX-related modes and may occur unmatched. The change also
1396 prevents fontification of quoted content.
1397 (reftex-index-phrases-mode): Use it.
1399 * textmodes/reftex-parse.el (reftex-parse-from-file):
1400 Move backward one char if a `\' was matched after a section macro.
1401 (reftex-parse-from-file): Use beginning of match instead of end as
1404 * textmodes/reftex-ref.el: Adapt creation of
1405 `reftex-<package>-<macro>' functions to new structure of
1406 `reftex-ref-style-alist'.
1407 (reftex-reference): Use `reftex-ref-style-list' function.
1408 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1409 reference macro if `reftex-ref-macro-prompt' is non-nil.
1410 (reftex-reference): Pass refstyle to `reftex-format-special'.
1411 Determine reference macro by looking at
1412 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1413 Use only one special format function.
1414 (reftex-varioref-vref, reftex-fancyref-fref)
1415 (reftex-fancyref-Fref): Remove definitions. The functions are now
1416 generated from `reftex-ref-style-alist'.
1417 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1419 (reftex-format-special): New function.
1421 * textmodes/reftex-sel.el
1422 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1423 of `reftex-ref-style-alist'. Remove code for testing macro type.
1424 (reftex-select-toggle-varioref)
1425 (reftex-select-toggle-fancyref): Remove.
1426 (reftex-select-cycle-ref-style-internal)
1427 (reftex-select-cycle-ref-style-forward)
1428 (reftex-select-cycle-ref-style-backward): New functions.
1429 (reftex-select-label-map): Use `v' and `V' for general cycling
1430 through reference styles. Add `p' for switching between number
1431 and page reference types.
1433 * textmodes/reftex-toc.el (reftex-re-enlarge):
1434 Call `enlarge-window' only if there is something to do because in Emacs
1435 the horizontal version throws an error even if the parameter is 0.
1437 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1438 (reftex-plug-into-AUCTeX): Doc fix.
1439 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1440 string. Adapt to new name.
1441 (reftex-ref-style-alist): Change structure so that it is not
1442 possible to use multiple different package names within a style.
1443 Remove the symbols for symbols for macro type distinction.
1444 Add characters for macro selection.
1445 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1446 (reftex-create-bibtex-footer): New variables.
1447 (reftex-format-ref-function): Mention third argument of special
1449 (reftex-ref-style-alist, reftex-ref-style-default-list):
1451 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1452 to new implementation. Mark as obsolete. Add compatibility code
1453 for honoring the variable values in case they are set.
1454 (reftex-cite-format-builtin, reftex-bibliography-commands):
1455 Add support for ConTeXt.
1456 (reftex-format-ref-function, reftex-format-cite-function):
1458 (reftex-cite-key-separator): New variable.
1460 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1461 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1462 `reftex-syntax-table' because parens have to retain their paren
1463 syntax in order for parsing of BibTeX entries like @book(...) to
1465 (reftex-in-comment): Do not error out if `comment-start-skip' is
1466 not set. Deal correctly with escaped comment characters.
1467 (reftex-tie-multifile-symbols): Add doc string.
1468 Initialize `reftex-ref-style-list'.
1469 (reftex-untie-multifile-symbols): Add doc string.
1470 (reftex-add-index-macros): Doc fix.
1471 (reftex-ref-style-activate, reftex-ref-style-toggle)
1472 (reftex-ref-style-list): New functions.
1473 (reftex-mode-menu): Use them. Adapt to new structure of
1474 `reftex-ref-style-alist'.
1475 (reftex-select-with-char): Kill the RefTeX Select buffer when
1477 (reftex-remove-if): New function.
1478 (reftex-erase-all-selection-and-index-buffers)
1479 (reftex-mode-menu): Reference styles are now computed from
1480 `reftex-ref-style-alist'. Fix typo.
1481 (reftex-report-bug): New function.
1482 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1483 algorithms with O(n log n). Introduce optional argument SORT (not
1486 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1488 Enhancements for triple-quote string syntax.
1489 * progmodes/python.el (python-syntax-propertize-function):
1490 Match both quote cases in one regexp.
1491 (python-syntax-stringify): Handle matches properly.
1493 2012-09-30 Juri Linkov <juri@jurta.org>
1495 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1496 to nil around the call to `insert' to prevent
1497 directory time modification by lock_file. (Bug#2295)
1498 * tar-mode.el (tar-summarize-buffer): Idem.
1500 2012-09-30 Juri Linkov <juri@jurta.org>
1502 * facemenu.el (list-colors-sort): Add option "Luminance".
1503 (list-colors-sort-key): Implement it.
1505 * vc/diff-mode.el (diff-refine-removed):
1506 * vc/ediff-init.el (ediff-fine-diff-A):
1507 * vc/smerge-mode.el (smerge-refined-removed):
1508 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1510 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1512 * term/ns-win.el (x-file-dialog): New function.
1514 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1516 * ido.el (ido-max-directory-size): Default to nil; the current
1517 default is small for POSIX systems, and impractical on Windows 7
1518 now that lstat returns directory sizes for NTFS.
1520 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1522 In buffer display functions handle window-height/window-width
1523 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1524 * window.el (window--display-buffer): New argument ALIST.
1525 Obey window-height and window-width alist entries.
1526 (window--try-to-split-window): New argument ALIST.
1527 Bind window-combination-limit to t when the window's size shall be
1528 changed and window-combination-limit equals `window-size'.
1529 (display-buffer-in-atom-window)
1530 (display-buffer-in-major-side-window)
1531 (display-buffer-in-side-window, display-buffer-same-window)
1532 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1533 (display-buffer-pop-up-window, display-buffer-below-selected)
1534 (display-buffer-at-bottom, display-buffer-in-previous-window)
1535 (display-buffer-use-some-window): Adjust all callers of
1536 window--display-buffer and window--try-to-split-window.
1537 (fit-frame-to-buffer): New option.
1538 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1540 (display-buffer-in-major-side-window): Evaluate window-height /
1541 window-width alist entries.
1543 * help.el (temp-buffer-resize-frames)
1544 (temp-buffer-resize-regexps): Remove options.
1545 (temp-buffer-resize-mode): Adjust doc-string.
1546 (resize-temp-buffer-window): Don't consult
1547 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1548 temp-buffer-resize-frames.
1550 * dired.el (dired-mark-pop-up):
1551 Call display-buffer-below-selected with a fit-window-to-buffer alist
1554 2012-09-30 Chong Yidong <cyd@gnu.org>
1556 * server.el (server-host): Document the security implications.
1557 (server-auth-key): Doc fix.
1559 * startup.el (initial-buffer-choice): Doc fix.
1561 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1563 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1566 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1568 * help-fns.el (help-fns--obsolete): Fix last change.
1570 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1573 (minor-mode-map-alist): Remove redundant code.
1575 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1576 visited in a buffer.
1577 (cvs-insert-visited-file): New function.
1578 (find-file-hook): Use it.
1580 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1582 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1584 (log-edit-empty-buffer-p): Don't require a space after a header.
1586 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1588 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1590 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1591 a proper minor-mode.
1593 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1595 2012-09-29 Glenn Morris <rgm@gnu.org>
1597 * winner.el (winner-mode): Remove variable (let define-minor-mode
1599 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1601 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1602 (winner-mode): Use define-minor-mode.
1604 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1605 the full definition in loaddefs, rather than duplicating it.
1607 * help-macro.el (three-step-help): No need to autoload defcustom.
1609 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1610 (inferior-lisp-program, inferior-lisp-load-command)
1611 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1612 No need to autoload defcustoms.
1614 * hippie-exp.el (hippie-expand-try-functions-list)
1615 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1616 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1617 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1618 (hippie-expand-only-buffers): No need to autoload defcustoms.
1619 * progmodes/vhdl-mode.el (vhdl-line-expand):
1620 Explicitly load hippie-exp, so it does not get autoloaded
1621 while hippie-expand-try-functions-list is let-bound.
1623 2012-09-28 Glenn Morris <rgm@gnu.org>
1625 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1627 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1628 Only "cl.el" counts as cl these days.
1630 2012-09-28 Juri Linkov <juri@jurta.org>
1632 Display archive errors in the echo area instead of inserting
1635 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1636 to STDERR-TEST that can be a regexp matching a successful output.
1637 Create a temporary file and redirect stderr to it. Search for
1638 STDERR-TEST in the stderr output and display it in the echo area
1639 if no match is found.
1640 (archive-extract-by-file): New function like
1641 `archive-extract-by-stdout' but extracting archives to files
1642 and looking for successful matches in stdout. Function body is
1643 mostly copied from `archive-rar-extract'.
1644 (archive-rar-extract): Use `archive-extract-by-file'.
1645 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1647 2012-09-28 Leo Liu <sdl.web@gmail.com>
1649 * pcomplete.el (pcomplete-show-completions):
1650 Use minibuffer-message to make pcomplete usable in minibuffer.
1652 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1654 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * type-break.el: Use lexical-binding.
1657 (type-break-mode): Use define-minor-mode.
1659 * emacs-lisp/pcase.el (pcase--mark-used): New.
1660 (pcase--u1): Use it (bug#12512).
1662 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1663 in load-history with the right file name.
1665 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1667 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1668 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1669 (doc-view-get-bounding-box): Make bounding box slicing work for
1670 ODF and DVI documents.
1672 2012-09-28 Glenn Morris <rgm@gnu.org>
1674 * type-break.el (type-break-mode, type-break-interval)
1675 (type-break-good-rest-interval, type-break-keystroke-threshold):
1676 No need to autoload.
1677 (type-break-good-rest-interval, type-break-keystroke-threshold):
1680 2012-09-28 Chong Yidong <cyd@gnu.org>
1682 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1685 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1689 2012-09-27 Glenn Morris <rgm@gnu.org>
1691 * faces.el (x-display-name): Declare (for without-x builds).
1693 * linum.el (linum-format): Don't autoload it. Improve :type.
1695 * progmodes/tcl.el: Don't require outline when compiling.
1696 (outline-regexp, outline-level): Declare.
1697 * textmodes/sgml-mode.el: Don't require outline when compiling.
1698 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1700 * term.el (term-ansi-reset):
1701 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1703 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1704 files for RCS and SCCS. (Bug#9781)
1706 2012-09-27 Chong Yidong <cyd@gnu.org>
1708 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1709 change; value should be t.
1711 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1713 * image-mode.el: Use lexical-binding.
1714 (image-mode-winprops): Use t to stand for the window of
1715 a buffer that's not displayed.
1716 * doc-view.el (doc-view-new-window-function): Handle the new
1718 (doc-view-enlarge): Make it a real nop if the size is not changed.
1719 (doc-view-display): Handle the case where the buffer is not (yet?)
1720 displayed in any window.
1721 (doc-view-saved-settings): New var.
1722 (doc-view-mode): Use it.
1723 (doc-view-fallback-mode): Set it.
1725 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1726 Set lexical-binding.
1727 (minibuffer-eldef-shorten-default): New var.
1728 (minibuffer-default-in-prompt-regexps): Use it for new default.
1729 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1731 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1733 * international/uni-bidi.el:
1734 * international/uni-category.el:
1735 * international/uni-name.el:
1736 * international/uni-numeric.el: Regenerate.
1738 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1739 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * profiler.el: New file.
1743 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1746 (testcover-reinstrument): Simplify with CSE.
1748 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1750 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1752 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1754 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1755 (verilog-auto-input, verilog-auto-insert-lisp)
1756 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1757 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1758 (verilog-auto-unused, verilog-auto-wire)
1759 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1760 newline. Reported by Andrew Jones.
1761 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1762 Reported by Brad Dobbie.
1763 (verilog-batch-delete-trailing-whitespace):
1764 Create verilog-batch-delete-trailing-whitespace.
1765 Reported by Brad Dobbie.
1766 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1767 parameters from another module. Reported by Dan Katz.
1768 (verilog-auto, verilog-auto-assign-modport)
1769 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1770 AUTOINOUTMODPORT for UVM interface module shell generation.
1771 Reported by Brad Dobbie.
1772 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1774 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1775 Reported by Matt Martin.
1777 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1779 * window.el (window--resize-child-windows): When resizing child
1780 windows proportionally, process them in reverse order to
1781 preserve the "when splitting a window the new one gets the odd
1783 (window--resize-root-window-vertically): When resizing the
1784 minibuffer window try to affect only windows at the bottom of the
1787 2012-09-25 Chong Yidong <cyd@gnu.org>
1789 * subr.el (declare): Doc fix.
1791 * help-fns.el (help-fns--obsolete): Handle macros properly.
1793 2012-09-25 Chong Yidong <cyd@gnu.org>
1795 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1796 this function obsolete.
1798 * calendar/cal-x.el (calendar-two-frame-setup)
1799 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1800 * calendar/calendar.el (american-calendar, european-calendar)
1801 (calendar-for-loop):
1802 * comint.el (comint-dynamic-simple-complete)
1803 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1804 * desktop.el (desktop-load-default):
1805 * dired-x.el (dired-omit-here-always)
1806 (dired-hack-local-variables, dired-default-directory):
1807 * emacs-lisp/derived.el (derived-mode-class):
1808 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1809 * emacs-lock.el (toggle-emacs-lock):
1810 * epa.el (epa-display-verify-result):
1811 * epg.el (epg-sign-keys, epg-start-sign-keys)
1812 (epg-passphrase-callback-function):
1813 * eshell/esh-util.el (eshell-for):
1814 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1815 (eshell-add-to-window-buffer-names):
1816 * files.el (locate-file-completion):
1817 * imenu.el (imenu-example--create-c-index)
1818 (imenu-example--create-lisp-index)
1819 (imenu-example--lisp-extract-index-name)
1820 (imenu-example--name-and-position):
1821 * international/mule-cmds.el (princ-list):
1822 * international/mule-diag.el (decode-codepage-char):
1823 * international/mule-util.el (detect-coding-with-priority):
1824 * iswitchb.el (iswitchb-read-buffer):
1825 * mail/mailalias.el (mail-complete):
1826 * mail/sendmail.el (mail-sent-via):
1827 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1828 (mouse-major-mode-menu):
1829 * password-cache.el (password-read-and-add):
1830 * pcomplete.el (pcomplete-parse-comint-arguments):
1831 * progmodes/sh-script.el (sh-maybe-here-document):
1832 * replace.el (query-replace-regexp-eval):
1833 * savehist.el (savehist-load):
1834 * simple.el (choose-completion-delete-max-match):
1835 * term.el (term-dynamic-simple-complete):
1836 * vc/ediff-init.el (ediff-check-version):
1837 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1838 * vc/vc.el (vc-diff-switches-list):
1839 * view.el (view-return-to-alist-update): Likewise.
1841 * subr.el (eval-next-after-load, makehash, insert-string)
1842 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1844 (mode-line-inverse-video): Variable deleted.
1846 * international/mule-util.el (string-to-sequence): Remove.
1848 * calendar/calendar.el (calendar-version):
1849 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1850 (icalendar-convert-diary-to-ical):
1851 * cus-edit.el (custom-mode):
1852 * ansi-color.el (ansi-color-unfontify-region):
1853 * international/latin1-disp.el (latin1-char-displayable-p):
1854 * progmodes/cwarn.el (turn-on-cwarn-mode):
1855 * progmodes/which-func.el (which-func-update-1):
1856 Use define-obsolete-function-alias.
1858 * net/newst-backend.el (newsticker-cache-filename):
1859 * net/newst-treeview.el (newsticker-groups-filename):
1860 Fix incorrect obsolescence declaration.
1862 * allout.el (allout-passphrase-hint-string): Likewise.
1863 (allout-init): Use a declare form to mark obsolete.
1865 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1866 this applies to functions.
1868 * iswitchb.el (iswitchb-read-buffer): Move code of
1869 iswitchb-define-mode-map here, and delete that obsolete function.
1871 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1872 font-lock-reference-face.
1874 2012-09-25 Glenn Morris <rgm@gnu.org>
1876 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1879 * eshell/em-term.el (eshell-term-name):
1880 Default to term-term-name. (Bug#12485)
1882 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1884 * progmodes/python.el (python-shell-send-buffer): Better handling
1885 of "if __name__ == '__main__':" conditionals when sending the buffer.
1887 2012-09-24 Glenn Morris <rgm@gnu.org>
1889 * eshell/esh-cmd.el (eshell-find-alias-function):
1890 Tighten up file-name regexp. (Bug#12499)
1892 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1894 Enhancements for triple-quote string syntax.
1895 * progmodes/python.el (python-quote-syntax): Remove.
1896 (python-syntax-propertize-function): New value.
1897 (python-syntax-count-quotes, python-syntax-stringify):
1900 2012-09-24 Chong Yidong <cyd@gnu.org>
1902 * mail/supercite.el (sc-version): Remove obsolete function.
1903 (sc-describe): Don't mark as obsolete, since it is bound.
1904 (sc-submit-bug-report): Remove.
1906 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1907 (cvs-commit-buffer-require-final-newline): Remove.
1908 (log-edit-require-final-newline)
1909 (log-edit-changelog-full-paragraphs): Default to t.
1911 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1912 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1913 * vc/vc.el (vc-checkout-carefully): Likewise.
1915 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1916 (emerge-version): Remove.
1918 * progmodes/compile.el (compile-internal): Remove.
1919 (compilation-parse-errors-function): Fix typo.
1921 * international/mule.el (set-char-table-default): Remove.
1922 (set-coding-priority, make-coding-system, generic-char-p)
1923 (charset-list, charset-bytes, charset-id): Use declare to mark
1924 functions as obsolete.
1926 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1927 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1928 * vc/vc-hooks.el (vc-default-registered): Don't use
1929 vc-master-templates.
1931 * font-lock.el (font-lock-reference-face):
1932 Use define-obsolete-variable-alias.
1934 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1935 * calendar/calendar.el (calendar-font-lock-keywords):
1936 * calendar/diary-lib.el (diary-font-lock-keywords)
1937 (diary-fancy-font-lock-keywords):
1938 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1939 * textmodes/reftex-index.el (reftex-insert-index):
1940 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1941 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1942 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1943 * progmodes/prolog.el (prolog-font-lock-keywords):
1944 * progmodes/idlwave.el (idlwave-idl-keywords):
1945 * progmodes/ada-mode.el (ada-font-lock-keywords):
1946 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1948 2012-09-24 Glenn Morris <rgm@gnu.org>
1950 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1952 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1954 * progmodes/python.el (python-indent-line): More consistent cursor
1957 2012-09-23 Stefan Merten <smerten@oekonux.de>
1959 * textmodes/rst.el: Fix compiler warning.
1961 2012-09-23 Roland Winkler <winkler@gnu.org>
1963 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1964 Transcribe also LaTeX hyphenation.
1965 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1966 bibtex-reformat-previous-options.
1968 2012-09-23 Roland Winkler <winkler@gnu.org>
1970 * proced.el (proced-renice-command): New variable.
1971 (proced-marked-processes): New function.
1972 (proced-with-processes-buffer): New macro.
1973 (proced-send-signal): Use them.
1974 (proced-renice): New command bound to r.
1976 2012-09-23 Roland Winkler <winkler@gnu.org>
1978 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1979 ibuffer-saved-filter-groups has one element, shortcut the call of
1980 completing-read. (Bug#12331)
1982 2012-09-23 Chong Yidong <cyd@gnu.org>
1984 * bindings.el (mode-line-toggle-read-only):
1985 * bs.el (bs-toggle-readonly):
1986 * buff-menu.el (Buffer-menu-toggle-read-only):
1987 * dired.el (dired-toggle-read-only):
1988 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1990 2012-09-23 Chong Yidong <cyd@gnu.org>
1992 * image.el (image-type-available-p): Adapt to init-image-library
1995 2012-09-22 Juri Linkov <juri@jurta.org>
1997 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1998 `dired-toggle-read-only'. (Bug#12462)
2000 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2002 * subr.el (temp-output-buffer-show): New function.
2003 (with-output-to-temp-buffer): Call temp-output-buffer-show
2004 instead of internal-temp-output-buffer-show.
2006 2012-09-22 Chong Yidong <cyd@gnu.org>
2008 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2011 * repeat.el (repeat): Doc fix (Bug#12348).
2013 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2016 * simple.el (shell-command-on-region): Doc fix.
2017 (read-only-mode): Doc fix.
2019 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2021 * emacs-lisp/timer.el (run-with-idle-timer)
2022 (timer-activate-when-idle): Warn against reinvoking an idle timer
2023 from within its own timer action. (Bug#12447)
2025 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2027 * cus-start.el (window-combination-limit): Add new optional
2029 * window.el (temp-buffer-window-show)
2030 (window--try-to-split-window): Handle new values of
2031 window-combination-limit (Bug#1806).
2032 (split-window): Test window-combination-limit for t instead of
2034 (display-buffer-at-bottom): New buffer display action function.
2035 * help.el (temp-buffer-resize-regexps): New option.
2036 (temp-buffer-resize-mode): Rewrite doc-string.
2037 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2038 Don't resize reused window. Suggested by Glenn Morris.
2040 2012-09-22 Stefan Merten <smerten@oekonux.de>
2042 * textmodes/rst.el: Revamp section title faces.
2043 (rst-official-version)
2044 (rst-package-emacs-version-alist): Sync with official version
2046 (rst-faces-defaults, rst-set-level-default)
2047 (rst-level-face-max, rst-level-face-base-color)
2048 (rst-level-face-base-light, rst-level-face-format-light)
2049 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2050 (rst-adornment-faces-alist): Match new setup.
2051 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2052 (rst-level-5, rst-level-6): New faces.
2054 2012-09-22 Chong Yidong <cyd@gnu.org>
2056 * simple.el (undo): Handle indirect buffers (Bug#8207).
2058 2012-09-21 Leo Liu <sdl.web@gmail.com>
2060 IDO: Disable match re-ordering for buffer switching.
2061 * ido.el (ido-buffer-disable-smart-matches): New variable.
2062 (ido-set-matches-1): Use it. (Bug#2042)
2064 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2066 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2067 Fix 2011-05-17 change. (Bug#12418)
2069 2012-09-21 Leo Liu <sdl.web@gmail.com>
2071 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2073 2012-09-21 Glenn Morris <rgm@gnu.org>
2075 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2076 Be more robust about locating simple.el.
2078 2012-09-21 Glenn Morris <rgm@gnu.org>
2080 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2082 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2084 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2086 2012-09-20 Juri Linkov <juri@jurta.org>
2088 * replace.el (query-replace-read-from): Use `read-regexp' instead
2089 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2090 (occur-read-primary-args): Use `read-regexp' instead of
2092 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2093 `read-from-minibuffer'.
2094 * isearch.el (isearch-occur): Use `read-regexp' instead of
2096 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2097 `read-from-minibuffer'.
2098 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2099 of `read-string'. (Bug#7567)
2101 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2102 and allow accepting a list of strings prepended to a list of
2103 standard default values. Doc fix. (Bug#12321)
2105 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2107 * replace.el (read-regexp): Don't add ": " when PROMPT already
2108 ends with a colon and space. (Bug#12321)
2110 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2112 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2115 2012-09-20 Stefan Merten <smerten@oekonux.de>
2117 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2118 Fixes feature request bug#11711.
2119 (rst-mode): Create `imenu-create-index-function'.
2120 (rst-get-stripped-line): Delete after refactoring.
2121 (rst-section-tree, rst-section-tree-rec)
2122 (rst-section-tree-point): Refactor and document properly.
2123 (rst-imenu-find-adornments-for-position)
2124 (rst-imenu-convert-cell, rst-imenu-create-index):
2127 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2130 (macroexp--expand-all): Use it.
2131 (macroexp--funcall-and-return): Remove by folding it into its sole
2132 caller (macroexp--warn-and-return).
2133 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2134 Use macroexp--obsolete-warning.
2136 * calc/calc.el: Fix last change by removing the whole chunk, since it
2137 was only needed back when Calc was not bundled.
2139 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2141 * emacs-lisp/debug.el (debug): Restore assignment to
2142 debugger-old-buffer removed on 2012-09-08.
2144 2012-09-20 Juri Linkov <juri@jurta.org>
2146 * dired-aux.el (dired-diff): Remove (require 'diff) since
2147 `diff-latest-backup-file' is now autoloaded.
2149 2012-09-20 Chong Yidong <cyd@gnu.org>
2151 * vc/diff.el (diff-latest-backup-file): Autoload.
2153 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * calc/calc.el: Remove redundant autoload shape check.
2156 (sel-mode): Don't defvar.
2157 (calc-get-stack-element): Add `sel-mode' arg instead.
2158 (calc-top, calc-top-list): Pass it this additional argument.
2159 * calc/calc-store.el (calc-store-map):
2160 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2161 (calc-map-equation, calc-outer-product, calc-inner-product):
2162 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2164 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2166 2012-09-19 Juri Linkov <juri@jurta.org>
2168 * dired-aux.el (dired-diff): Add (require 'diff) because
2169 `diff-latest-backup-file' is not autoloaded.
2170 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2171 of `dired-get-filename' to t to not report error when there is
2172 no default file on the current line.
2174 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2177 macroexp--eval-if-compile.
2178 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2179 (macroexp--expand-all): Use them (bug#12371).
2181 * doc-view.el (doc-view-guess-paper-size)
2182 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2184 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2186 New feature: set optimal slice from BoundingBox information.
2187 * doc-view.el (doc-view-mode-map): Add keybinding.
2188 (doc-view-menu): Add menu entry.
2189 (doc-view-set-slice): Adapt docstring.
2190 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2191 (doc-view-scale-bounding-box)
2192 (doc-view-set-slice-from-bounding-box): New functions.
2193 (doc-view-paper-sizes): New defvar.
2195 2012-09-19 Glenn Morris <rgm@gnu.org>
2197 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2198 (byte-compile-log-warning): Autoload. (Bug#12371)
2200 * calendar/calendar.el (calendar-american-month-header)
2201 (calendar-european-month-header, calendar-iso-month-header)
2202 (calendar-month-header): New options.
2203 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2204 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2206 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2208 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2210 2012-09-18 Juri Linkov <juri@jurta.org>
2212 * dired-aux.el (dired-diff): Restore original functionality of
2213 getting the default value, but keep new feature of using the
2214 latest existing backup file (`diff-latest-backup-file').
2216 2012-09-18 Juri Linkov <juri@jurta.org>
2218 * dired.el (dired-mark): If the region is active in Transient Mark
2219 mode, mark all files in the active region. Doc fix.
2220 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2221 Doc fix. (Bug#10624)
2223 2012-09-18 Juri Linkov <juri@jurta.org>
2225 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2226 attributes for M-n are pulled from the file at point.
2227 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2228 Suggested by Drew Adams. (Bug#10624)
2230 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2232 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2233 whitespace after "end".
2234 (ruby-do-end-to-brace): Collapse block to one line if it fits
2237 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2239 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2241 (debug): Don't remove debugger window when debugger is expected
2244 2012-09-18 Chong Yidong <cyd@gnu.org>
2246 * custom.el (defface): Doc fix.
2248 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2250 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2252 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2253 to initialize query-on-exit; then test that instead (bug#12288).
2255 2012-09-17 Stefan Merten <smerten@oekonux.de>
2257 * textmodes/rst.el: Add support for `testcover'.
2258 (rst-defcustom-testcover, rst-testcover-add-compose)
2259 (rst-testcover-add-1value): New functions.
2260 (rst-portable-mark-active-p): Replace by `use-region-p'.
2261 (rst-update-section, rst-classify-adornment)
2262 (rst-find-title-line): Mark `1value' forms.
2263 (rst-classify-adornment): Remove superfluous form.
2264 (rst-update-section, rst-get-adornments-around)
2265 (rst-adornment-complete-p, rst-get-next-adornment)
2266 (rst-adjust, rst-promote-region)
2267 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2268 (rst-find-pfx-in-region, rst-section-tree-rec)
2269 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2270 (rst-toc-node, rst-toc, rst-forward-section)
2271 (rst-iterate-leftmost-paragraphs)
2272 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2273 (rst-bullet-list-region)
2274 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2275 (rst-compile-find-conf, rst-compile)
2276 (rst-repeat-last-character): Fix style.
2278 2012-09-17 Chong Yidong <cyd@gnu.org>
2280 * comint.el (comint--complete-file-name-data): Don't add a space
2281 if the status is `sole'; that adds a gratuitous space in the
2282 completion-cycling case (Bug#12092).
2284 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2286 2012-09-17 Richard Stallman <rms@gnu.org>
2288 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2289 only in the mime-shown mode, not in raw mode.
2290 (rmail-mime): Toggle off mime by displaying the message without
2291 mime processing. (Bug#12305)
2293 * mail/rmail.el (rmail-retry-failure):
2294 Turn off mime processing first. (Bug#12037)
2296 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2298 2012-09-17 Chong Yidong <cyd@gnu.org>
2300 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2301 (shell-dynamic-complete-functions): Convert to defcustom.
2302 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2304 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2305 * comint.el (comint-prompt-read-only):
2306 * custom.el (defcustom):
2307 * hi-lock.el (hi-lock-mode):
2308 * ibuffer.el (ibuffer-formats):
2309 * ielm.el (ielm-prompt-read-only):
2310 * novice.el (disable-command):
2311 * saveplace.el (toggle-save-place):
2312 * speedbar.el (speedbar-supported-extension-expressions):
2313 * startup.el (auto-save-list-file-prefix, init-file-user)
2314 (after-init-hook, inhibit-startup-echo-area-message):
2315 * strokes.el (strokes-help):
2316 * time-stamp.el (time-stamp):
2317 * calendar/calendar.el (calendar, diary-file):
2318 * calendar/diary-lib.el (diary-mail-entries, diary)
2319 (diary-list-entries-hook):
2320 * calendar/holidays.el (holidays, calendar-holidays):
2321 * calendar/lunar.el (lunar-phases):
2322 * calendar/solar.el (sunrise-sunset):
2323 * emulation/edt.el (edt-load-keys):
2324 * emulation/viper.el (viper-mode):
2325 * eshell/em-alias.el (eshell-command-aliases-list):
2326 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2327 * international/ogonek.el (ogonek-information):
2328 * net/tramp-cmds.el (tramp-bug):
2329 * net/quickurl.el (quickurl-reread-hook-postfix):
2330 * play/decipher.el (decipher-font-lock-keywords):
2331 * progmodes/cc-styles.el (c-set-style):
2332 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2333 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2334 * progmodes/octave-mod.el (octave-mode):
2335 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2336 * progmodes/verilog-mode.el (verilog-read-defines):
2337 * textmodes/two-column.el (2C-mode): Likewise.
2339 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2341 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2342 that holds many addresses.
2344 2012-09-16 Chong Yidong <cyd@gnu.org>
2346 * align.el (align-areas): Call the indication function with
2347 positions instead of markers for arguments (Bug#12343).
2349 * files.el (parse-colon-path): Use split-string (Bug#12351).
2351 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2352 (display-buffer-function): Mark as obsolete.
2354 * progmodes/compile.el (compilation-parse-errors): Accept list
2355 values similar to font-lock-keywords (Bug#12136).
2356 Suggested by Oleksandr Manzyuk.
2357 (compilation-error-regexp-alist): Doc fix.
2359 2012-09-15 Glenn Morris <rgm@gnu.org>
2361 * version.el (emacs-bzr-version-bzr): New function.
2362 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2364 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2365 checkouts, check the parent dirstate matches the branch.
2366 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2369 * version.el (emacs-bzr-version): Doc fix.
2370 (emacs-bzr-version-dirstate): New function.
2371 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2372 is local try and check that it matches the branch. If not, just
2373 use dirstate information. (Bug#12441)
2375 2012-09-14 Juri Linkov <juri@jurta.org>
2377 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2380 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2384 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2385 Remove obsolete byte-compiler hack that tried to silence some warnings.
2386 (edebug-submit-bug-report): Remove.
2387 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2388 Remove aliases, use the un-prefixed name instead.
2389 (edebug-pop-to-buffer): Consider other frames.
2390 (edebug-original-read):: Make it more obvious that it's always defined.
2391 (edebug--make-form-data-entry, edebug--form-data-name)
2392 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2393 single-dashed name, and implement with cl-defstruct.
2394 (edebug-set-form-data-entry): Use the standard accessors.
2395 (edebug-make-top-form-data-entry): Use push.
2396 (edebug-no-match): Drop useless `funcall'.
2397 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2399 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2400 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2401 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2402 (easy-menu-define, with-custom-print): Remove redundant specs.
2403 (edebug-outside-overriding-local-map)
2404 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2405 (edebug--display): Bind unread-command-events directly to nil rather
2406 than binding it to unread-command-events and later setting it to nil.
2407 (edebug--display): Kill edebug-eval-buffer here...
2408 (edebug--recursive-edit): ...rather than here.
2409 Bind standard-output and standard-input.
2410 (edebug-eval): Check cl-macroexpand-all is fboundp.
2411 (edebug-temp-display-freq-count): Fix last change.
2413 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2414 * subr.el (noreturn, 1value): Add `debug' spec.
2415 * emacs-lisp/advice.el: Require cl-lib.
2416 (ad-copy-tree): Remove, use copy-tree instead.
2417 (ad-dolist): Remove use dolist or cl-dolist instead.
2418 (ad-do-return): Remove, use cl-return instead.
2419 (defadvice): Add `debug' spec.
2421 2012-09-13 Juri Linkov <juri@jurta.org>
2423 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2426 2012-09-13 Glenn Morris <rgm@gnu.org>
2428 * calc/calc.el (math-compose-expr):
2429 * calc/calc-ext.el (math-compose-expr):
2430 * progmodes/cc-defs.el (cl-macroexpand-all):
2431 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2432 (cl-macroexpand-all): Update declarations.
2434 * vc/vc.el: No need to require ediff.
2435 (ediff-load-version-control): Declare.
2436 (ediff-vc-internal): Fix declaration.
2437 (vc-version-ediff): Require ediff.
2439 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2441 Use a more backwards-compatible timer format (Bug#12430).
2442 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2443 being right after USECS, as that better supports old code that
2444 inadvisedly looked directly at the timer vector.
2446 2012-09-13 Kenichi Handa <handa@gnu.org>
2448 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2449 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2450 `coding-priority' property of these language environment.
2452 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2454 Fix glitches caused by addition of psec to timers (Bug#12430).
2455 * image.el (image-animate-timer):
2456 * time.el (display-time-world-timer):
2457 Use timer--function and timer--args rather than raw access to
2460 2012-09-13 Glenn Morris <rgm@gnu.org>
2462 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2463 If not compiling a file, try using load-file-name.
2465 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2469 (edebug-update-eval-list): Use `push'.
2471 * emacs-lisp/edebug.el: Use lexical-binding.
2472 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2473 Mark unused args with underscore.
2474 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2475 (edebug-form-data): Use defvar-local.
2476 (edebug-make-before-and-after-form, edebug-make-after-form):
2478 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2479 Not dynamically scoped any more.
2480 (edebug--enter-trace): Add arguments `function' and `args'.
2481 Rename from edebug-enter-trace.
2482 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2483 (edebug--update-coverage): Add `after-index' and `value' args.
2484 Rename from edebug-update-coverage.
2485 (edebug-slow-after): Call it accordingly.
2486 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2487 edebug-recursive-edit.
2488 (edebug--display): Call it accordingly. Add args `value',
2489 `offset-index', and `arg-mode'. Rename from edebug-display.
2490 (edebug-debugger, edebug): Call it accordingly.
2491 (edebug-eval-display-list): Use dolist.
2493 2012-09-12 Juri Linkov <juri@jurta.org>
2495 * info.el (Info-search): Don't check for isearch-mode and
2496 isearch-regexp before let-binding search-spaces-regexp to
2497 Info-search-whitespace-regexp.
2498 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2499 search-whitespace-regexp if isearch-lax-whitespace or
2500 isearch-regexp-lax-whitespace is non-nil.
2501 (Info-mode): Don't set local variable search-whitespace-regexp.
2502 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2504 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2507 (debugger-env-macro): Remove support for unread-command-char.
2509 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2510 the temporary map re-appearing on emulation-mode-map-alists.
2512 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2515 * ehelp.el (with-electric-help): Accept functions in
2516 electric-help-form-to-execute.
2517 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2518 And replace unread-command-char -> unread-command-events.
2520 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2522 Sync with Tramp 2.2.6.
2524 * net/tramp.el (tramp-accept-process-output): Don't use
2525 JUST-THIS-ONE in the XEmacs case.
2527 * net/trampver.el: Update release number.
2529 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2531 * emacs-lisp/debug.el (debugger-previous-window-height):
2533 (debug): When debugger-jumping-flag is non-nil try to restore
2534 height of debugger window. (Bug#8789)
2536 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2539 overriding-local-map and pre/post-command-hook here.
2540 (edebug-recursive-edit): Do it here instead (bug#12345).
2541 (edebug-outside-unread-command-char): Remove all uses of
2542 unread-command-char.
2544 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2545 inhibit-debugger is bound instead.
2547 2012-09-11 Bastien Guerry <bzg@gnu.org>
2549 * subr.el (set-temporary-overlay-map): Add a docstring.
2552 2012-09-11 Bastien Guerry <bzg@gnu.org>
2554 * minibuffer.el (completion-table-subvert): Fix docstring.
2557 2012-09-11 Bastien Guerry <bzg@gnu.org>
2559 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2561 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2563 * progmodes/sql.el: Version 3.1
2564 (sql-db2-escape-newlines): New variable.
2565 (sql-escape-newlines-filter): Use it.
2567 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2569 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2571 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2573 * vc/diff-mode.el (diff-mode-menu):
2574 Bind diff-remove-trailing-whitespace.
2576 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2578 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2579 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2580 (emacs-lisp-byte-code-mode): New functions.
2581 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2582 (eval-defun-2): Remove bogus interactive spec.
2583 (lisp-indent-line): Remove redundant whole-exp code, now done in
2584 indent-according-to-mode.
2585 (save-match-data): Remove redundant indent data.
2587 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2590 2012-09-09 Juri Linkov <juri@jurta.org>
2592 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2593 (replace-lax-whitespace, query-replace-regexp)
2594 (query-replace-regexp-eval, replace-regexp): Doc fix.
2595 (perform-replace, replace-highlight): Let-bind
2596 isearch-lax-whitespace to replace-lax-whitespace and
2597 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2599 * isearch.el (isearch-query-replace): Let-bind
2600 replace-lax-whitespace to isearch-lax-whitespace and
2601 replace-regexp-lax-whitespace to
2602 isearch-regexp-lax-whitespace. (Bug#10885)
2604 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2608 2012-09-09 Alan Mackenzie <acm@muc.de>
2610 * progmodes/cc-engine.el (c-state-cache-init):
2611 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2612 (c-record-parse-state-state):
2613 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2615 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2617 * register.el (register-separator): Rename from
2618 separator-register. All uses changed. Doc fix.
2619 (register): Fix version.
2621 2012-09-09 Chong Yidong <cyd@gnu.org>
2623 * replace.el (query-replace-map): Bind four new symbols for
2624 requesting window scrolling.
2626 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2627 query-replace-map (Bug#8948).
2629 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2631 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2632 since they are now in query-replace-map.
2634 * window.el (scroll-other-window-down): Make the arg optional.
2636 2012-09-09 Chong Yidong <cyd@gnu.org>
2638 * files.el (hack-local-variables-confirm): Use quit-window to kill
2639 the *Local Variables* buffer.
2641 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2643 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2644 not just expect to be at its beginning. Adjust callees.
2645 Succeed when do-end block has no space before the pipe character.
2646 (ruby-brace-to-do-end): When the original block is one-liner,
2647 convert to multiline. Reindent the result.
2649 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2651 * register.el (register): New group.
2652 (separator-register): New user option.
2653 (increment-register): Route it to `append-to-register', if
2654 register contains text. Implication is that `C-x r +' can now be
2655 used for appending to a text register (bug#12217).
2656 (append-to-register, prepend-to-register): Add separator based on
2657 `separator-register'.
2659 2012-09-08 Alan Mackenzie <acm@muc.de>
2661 AWK Mode: make auto-newline work when there's "==" in the pattern.
2662 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2664 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2665 Test more rigorously for "=" token.
2667 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2669 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2670 Only fail when reached LIMIT.
2672 2012-09-08 Chong Yidong <cyd@gnu.org>
2674 * dired.el (dired-mode-map): Don't bind M-=.
2676 * dired-aux.el (dired-diff): Use backup file as default.
2678 2012-09-08 Drew Adams <drew.adams@oracle.com>
2680 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2682 2012-09-08 Chong Yidong <cyd@gnu.org>
2684 * subr.el (syntax-after, syntax-class): Doc fix.
2686 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2688 * window.el (display-buffer-in-previous-window): New buffer
2689 display action function.
2691 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2692 (debugger-previous-window): New variable.
2693 (debug): Rewrite using display-buffer-in-previous-window,
2694 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2696 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2698 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2700 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2702 * progmodes/python.el (python-shell-send-string):
2703 When default-directory is remote, create temp file on remote
2705 (python-shell-send-file): When file is remote, pass local view of
2706 file paths to remote Python interpreter. (Bug#12340)
2708 2012-09-07 Chong Yidong <cyd@gnu.org>
2710 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2712 * files.el (after-find-file): Don't fail on a read-only buffer if
2713 require-final-newline is `visit' or `visit-save' (Bug#11156).
2715 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2717 * userlock.el (ask-user-about-supersession-threat):
2718 Use read-char-choice (Bug#12093).
2720 2012-09-07 Chong Yidong <cyd@gnu.org>
2722 * subr.el (buffer-narrowed-p): New function.
2724 * ses.el (ses-widen):
2725 * simple.el (count-words--buffer-message):
2726 * net/browse-url.el (browse-url-of-buffer): Use it.
2728 * simple.el (count-words-region): Don't signal an error if there
2729 is a non-nil prefix arg and the mark is not set.
2731 * help.el (describe-key-briefly): Allow the message to be seen
2732 when invoked from the minibuffer (Bug#7014).
2734 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2736 * progmodes/ruby-mode.el (ruby-end-of-defun)
2737 (ruby-beginning-of-defun): Simplify, allow indentation before
2738 block beginning and end keywords.
2739 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2740 (ruby-end-of-defun): Expect that the point is at the beginning of
2743 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2747 (cl--make-usage-args): Strip _ from argument names.
2749 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2751 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2752 obsolete alias speedbar-key-map.
2753 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2754 (vhdl-index-menu-init): Don't use obsolete variable
2755 font-lock-maximum-size.
2757 2012-09-06 Chong Yidong <cyd@gnu.org>
2759 * frame.el (window-system-version): Mark as obsolete.
2761 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2762 of obsolete variable speedbar-key-map.
2764 2012-09-06 Juri Linkov <juri@jurta.org>
2766 * replace.el (replace-lax-whitespace): New defcustom.
2767 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2768 (replace-string, replace-regexp): Mention it in docstrings.
2769 (perform-replace, replace-highlight): Let-bind
2770 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2771 to the values of replace-lax-whitespace and regexp-flag.
2772 Don't let-bind search-whitespace-regexp. (Bug#10885)
2774 * isearch.el (isearch-query-replace): Let-bind
2775 replace-lax-whitespace instead of let-binding
2776 replace-search-function and replace-re-search-function.
2777 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2778 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2779 (isearch-toggle-symbol): Set isearch-regexp to nil
2780 in isearch-word mode (like in isearch-toggle-word).
2782 2012-09-06 Juri Linkov <juri@jurta.org>
2784 * replace.el (replace-search-function)
2785 (replace-re-search-function): Set default values to nil.
2786 (perform-replace): Let-bind isearch-related variables based on
2787 replace-related values, call `isearch-search-fun' and let-bind
2788 the result to `search-function'. Remove code that sets
2789 `search-function' and `search-string' separately for
2791 (replace-highlight): Add new argument `delimited-flag' and
2792 rename other arguments to the names used in `perform-replace'.
2793 Let-bind `isearch-word' to the argument `delimited-flag'.
2794 (Bug#10885, bug#10887)
2796 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2799 ruby-beginning-of-indent, simplify, allow all keywords to have
2800 indentation before them.
2801 (ruby-beginning-of-indent): Adjust for above. Search until the
2802 found point is not inside a string or comment.
2803 (ruby-font-lock-keywords): Allow symbols to start with "@"
2804 character, give them higher priority than variables.
2805 (ruby-syntax-propertize-function)
2806 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2807 matchers. Expression expansions are not comments when inside a
2808 string, and there comment syntax status is irrelevant.
2809 (ruby-match-expression-expansion): New function. Check that
2810 expression expansion is inside a string, and it's not escaped.
2811 (ruby-font-lock-keywords): Use it.
2813 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2815 * help.el (temp-buffer-max-height): New default value.
2816 (temp-buffer-resize-frames): New option.
2817 (resize-temp-buffer-window): Optionally resize frame.
2819 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2820 (fit-frame-to-buffer): New function.
2822 2012-09-05 Glenn Morris <rgm@gnu.org>
2824 * emulation/cua-rect.el (cua--init-rectangles):
2825 * textmodes/picture.el (picture-mode-map):
2826 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2827 like forward-char and backward-char. (Bug#12317)
2829 2012-09-05 Leo Liu <sdl.web@gmail.com>
2831 * progmodes/flymake.el (flymake-warning-re): New variable.
2832 (flymake-parse-line): Use it.
2834 2012-09-05 Glenn Morris <rgm@gnu.org>
2836 * calendar/holidays.el (holiday-christian-holidays):
2837 Rename an entry. (Bug#12289)
2839 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2844 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2846 * loadup.el: Load macroexp. Remove hack.
2847 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2848 (macroexp--expand-all): Use it to get better warnings.
2849 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2850 (internal-macroexpand-for-load): New functions.
2851 (macroexp--pending-eager-loads): New var.
2852 (emacs-startup-hook): New hack to replace one in loadup.el.
2853 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2854 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2855 (cl-psetf): Simplify.
2856 (cl-defstruct): Add indent rule.
2858 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2860 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2861 over `user-mail-address' for the SMTP MAIL FROM envelope.
2862 (smtpmail-via-smtp): Ditto.
2864 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2866 * progmodes/ruby-mode.el: Clean up keybindings.
2867 (ruby-mode-map): Don't bind ruby-electric-brace,
2868 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2869 backward-kill-word, reindent-then-newline-and-indent.
2870 (ruby-mark-defun): Remove.
2871 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2872 (ruby-mode): Set local beginning-of-defun-function and
2873 end-of-defun-function values.
2875 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2877 * window.el (temp-buffer-window-setup-hook)
2878 (temp-buffer-window-show-hook): New hooks.
2879 (temp-buffer-window-setup, temp-buffer-window-show)
2880 (with-temp-buffer-window): New functions.
2881 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2882 (special-display-popup-frame): Make sure the window used shows BUFFER.
2884 * help.el (temp-buffer-resize-mode): Fix doc-string.
2885 (resize-temp-buffer-window): New optional argument WINDOW.
2887 * files.el (recover-file, save-buffers-kill-emacs):
2888 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2890 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2892 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2893 remote definition of `default-directory', ensure we can connect.
2895 2012-09-02 Juri Linkov <juri@jurta.org>
2897 Toggle whitespace matching mode with M-s SPC.
2898 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2900 * isearch.el (search-whitespace-regexp): Doc fix.
2901 Remove cons cell customization.
2902 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2903 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2905 (isearch-forward, isearch-forward-regexp): Doc fix.
2906 (isearch-toggle-lax-whitespace): New command.
2907 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2908 (re-search-forward-lax-whitespace)
2909 (re-search-backward-lax-whitespace): New functions.
2910 (isearch-whitespace-regexp): Remove function.
2911 (isearch-query-replace): Let-bind replace-search-function and
2912 replace-re-search-function.
2913 (isearch-occur): Let-bind search-spaces-regexp according to the
2914 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2915 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2916 condition for C-q SPC.
2917 (isearch-search-fun-default): Use new functions mentioned above.
2918 (isearch-search-forward, isearch-search-backward): Remove functions.
2919 (isearch-search): Don't let-bind search-spaces-regexp.
2920 (isearch-lazy-highlight-space-regexp): Remove variable.
2921 (isearch-lazy-highlight-lax-whitespace)
2922 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2923 (isearch-lazy-highlight-new-loop): Use them.
2924 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2926 2012-09-02 Chong Yidong <cyd@gnu.org>
2928 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2930 2012-09-02 Glenn Morris <rgm@gnu.org>
2932 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2934 2012-09-01 Glenn Morris <rgm@gnu.org>
2936 * term.el: Tidy up menu definitions.
2937 (term-mode-map): Use easymenu for In/Out, Complete menus.
2938 (term-pager-break-map): Initialize in the defvar.
2939 (term-terminal-menu, term-signals-menu): Define with easymenu.
2940 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2941 (term-pager-menu): New, extracted from term-process-pager.
2942 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2943 (term-update-mode-line): Propertize line/char and page items.
2944 (term-process-pager): Move keymap initialization elsewhere.
2946 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2948 * window.el (switch-to-prev-buffer): Handle additional values of
2949 BURY-OR-KILL argument. Don't switch in minibuffer window.
2950 (switch-to-next-buffer): Don't switch in minibuffer window.
2951 (quit-restore-window): New function based on quit-window.
2952 Handle additional values of former KILL argument.
2953 (quit-window): Call quit-restore-window with appropriate
2954 interpretation of KILL argument.
2955 (display-buffer-below-selected): New buffer display action
2958 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * minibuffer.el (completion-at-point-functions): Complete docstring
2963 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2965 Better seed support for (random).
2966 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2967 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2968 * play/mpuz.el, play/tetris.el, play/zone.el:
2969 * calc/calc-comb.el (math-init-random-base):
2970 * play/blackbox.el (bb-init-board):
2971 * play/life.el (life):
2972 * server.el (server-use-tcp):
2973 * type-break.el (type-break):
2974 Remove unnecessary call to (random t).
2975 * net/sasl.el (sasl-unique-id-function):
2976 Change (random t) to (random), now that the latter is more random.
2977 * play/life.el (life-initialized): Remove no-longer-needed var.
2979 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2981 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2982 Consider frame's buffer predicate when choosing the buffer.
2985 2012-08-30 Richard Stallman <rms@gnu.org>
2987 * simple.el (special-mode-map): Delete binding for `z'.
2989 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2991 * progmodes/compile.el (compilation-always-kill): Doc fix.
2993 2012-08-30 Chong Yidong <cyd@gnu.org>
2995 * window.el (display-buffer-reuse-frames): Make the obsolescence
2996 message more informative.
2998 2012-08-30 Glenn Morris <rgm@gnu.org>
3000 * paren.el (show-paren-delay):
3001 Add a :set function. Doc fix. (Bug#12297)
3003 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3005 * progmodes/compile.el (compilation-always-kill): New var.
3006 (compilation-start): Use it.
3008 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3011 * files.el (read-only-mode): Move to simple.el.
3013 * files.el (read-only-mode): New minor mode.
3014 (toggle-read-only): Use it and mark obsolete.
3015 (find-file--read-only):
3016 * vc/vc.el (vc-next-action, vc-checkout):
3017 * vc/vc-cvs.el (vc-cvs-checkout):
3018 * obsolete/vc-mcvs.el (vc-mcvs-update):
3019 * ffap.el (ffap--toggle-read-only): Update callers.
3021 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3023 * eshell/esh-ext.el (eshell-external-command): Do not examine
3024 remote shell scripts.
3025 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3027 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3030 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3034 2012-08-28 Leo Liu <sdl.web@gmail.com>
3036 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3037 completion-at-point. (Bug#12220)
3039 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3041 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3043 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3046 be buffer-local; add delete-trailing-whitespace (bug#12259).
3048 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3050 * progmodes/hideif.el (hif-compress-define-list):
3051 Fix typo. (Bug#11951)
3053 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3055 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3056 buffer local setting.
3058 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3059 rcirc-encode-coding-system.
3061 2012-08-28 Leo Liu <sdl.web@gmail.com>
3063 * net/rcirc.el (rcirc-split-message): New function.
3064 (rcirc-send-message): Use it. (Bug#12051)
3066 2012-08-28 Juri Linkov <juri@jurta.org>
3068 * info.el (Info-fontify-node): Hide empty lines at the end of
3069 the node. (Bug#12272)
3071 2012-08-27 Drew Adams <drew.adams@oracle.com>
3073 * dired.el (dired-pop-to-buffer): Make window start at beginning
3074 of buffer (Bug#12281).
3076 2012-08-26 Chong Yidong <cyd@gnu.org>
3078 * window.el (special-display-regexps, special-display-frame-alist)
3079 (special-display-buffer-names, special-display-function)
3080 (display-buffer-reuse-frames): Mark as obsolete.
3082 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3084 * help.el (help-print-return-message): Don't treat
3085 display-buffer-reuse-frames specially.
3087 2012-08-26 Chong Yidong <cyd@gnu.org>
3089 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3090 New variable, replacing gdb-frame-parameters.
3091 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3092 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3093 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3094 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3095 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3096 the functions directly with gdb-display-buffer-other-frame-action.
3097 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3098 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3099 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3100 (gdb-display-registers-buffer): Define directly.
3101 (def-gdb-display-buffer): Macro deleted.
3102 (gdb-display-buffer): Remove second and third args, callers don't
3103 use them. Defer to the default display-buffer behavior, apart
3104 from making windows dedicated.
3105 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3107 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3109 * window.el (display-buffer-pop-up-frame): Handle a
3110 pop-up-frame-parameters alist entry.
3111 (display-buffer): Document it.
3113 2012-08-26 Chong Yidong <cyd@gnu.org>
3115 * isearch.el (search-whitespace-regexp): Make string and nil
3116 values apply to both ordinary and regexp search. Allow a cons
3117 cell value to distinguish between the two.
3118 (isearch-whitespace-regexp, isearch-search-forward)
3119 (isearch-search-backward): New functions.
3120 (isearch-occur, isearch-search-fun-default, isearch-search)
3121 (isearch-lazy-highlight-new-loop): Use them.
3122 (isearch-forward, isearch-forward-regexp): Doc fix.
3124 2012-08-26 Chong Yidong <cyd@gnu.org>
3126 * faces.el (help-argument-name): Always inherit from italic
3129 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3131 * window.el (window--even-window-heights): Even heights when
3132 WINDOW and the selected window form a vertical combination.
3133 (display-buffer-use-some-window): Provide that window used gets
3134 sized back by quit-window. (Bug#11880) and (Bug#12091)
3136 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3138 Fix file time stamp problem with bzr and CVS (Bug#12001).
3139 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3140 in the file's time stamp, since the version control system loses
3143 2012-08-22 Juri Linkov <juri@jurta.org>
3145 * info.el (Info-fontify-node): Hide the suffix of the
3146 Info file name in the header line. (Bug#12187)
3148 2012-08-22 Glenn Morris <rgm@gnu.org>
3150 * calendar/cal-tex.el (cal-tex-weekly-common):
3151 Restore leading blank page.
3153 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3155 * misc.el (forward-to-word, backward-to-word): Activate or extend
3156 the region under `shift-select-mode'. (Bug#12231)
3158 2012-08-22 Bastien Guerry <bzg@gnu.org>
3160 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3161 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3162 gives details on why the space is never needed.
3164 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3166 * window.el (walk-window-tree, window-with-parameter):
3167 New optional argument MINIBUF to control whether these functions
3168 should run on the minibuffer window.
3169 (window-at-side-list): Don't operate on minibuffer window.
3170 (window-in-direction): Simplify and rewrite doc-string.
3171 (window--size-ignore): Rename to window--size-ignore-p.
3173 (display-buffer-in-atom-window, window--major-non-side-window)
3174 (window--major-side-window, display-buffer-in-major-side-window)
3175 (delete-side-window, display-buffer-in-side-window):
3177 (window--side-check, window-deletable-p, delete-window)
3178 (delete-other-windows, split-window): Handle side windows and
3179 atomic windows appropriately.
3180 (window--display-buffer): Call display-buffer-record-window also
3181 when the window buffer did not change.
3183 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3185 * help-fns.el (help-fns--key-bindings):
3186 Abbreviate non-symbol remap targets. (Bug#12174)
3188 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3190 * dired.el (dired-mark-remembered): Don't clobber point.
3193 2012-08-22 Glenn Morris <rgm@gnu.org>
3195 * progmodes/bug-reference.el (bug-reference): New custom group.
3196 (bug-reference-bug-regexp): Make it a defcustom.
3198 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3200 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3201 (js-paren-indent-offset, js-square-indent-offset)
3202 (js-curly-indent-offset): Add :safe (Bug#12257).
3204 2012-08-22 Edward O'Connor <hober0@gmail.com>
3206 * json.el (json-key-format): Add error properties.
3207 (json-encode-key): New function.
3208 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3209 Use json-encode-key.
3211 2012-08-22 Glenn Morris <rgm@gnu.org>
3213 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3214 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3215 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3216 Update for above change.
3218 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3220 * cus-face.el (custom-face-attributes): Fix customize type for the
3221 :underline attribute. (Bug#11805)
3223 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3225 * window.el (window-point-1, set-window-point-1): Remove.
3226 (window-in-direction, record-window-buffer)
3227 (set-window-buffer-start-and-point, split-window-below)
3228 (window--state-get-1, display-buffer-record-window):
3229 Replace calls to window-point-1 and set-window-point-1 by calls to
3230 window-point and set-window-point respectively.
3232 2012-08-21 Glenn Morris <rgm@gnu.org>
3234 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3235 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3238 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3239 (cal-tex-shortday): New function.
3240 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3241 (cal-tex-cursor-filofax-daily): Use the above.
3243 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3245 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3246 (cal-tex-cursor-filofax-week): Use them.
3248 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3250 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3251 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3253 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3254 (cal-tex-end-document): Don't rely on buffer name.
3256 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3258 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3259 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3260 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3263 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3264 (cal-tex-cursor-week, cal-tex-cursor-week2)
3265 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3266 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3267 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3268 (cal-tex-insert-preamble, cal-tex-b-document)
3269 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3270 Improve cal-tex-cmd usage.
3272 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3273 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3274 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3275 (cal-tex-weekly-paper): New function.
3276 (cal-tex-cursor-week, cal-tex-cursor-week2)
3277 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3278 (cal-tex-cursor-day): Use it.
3280 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3281 (cal-tex-cursor-filofax-week): Remove leading blank page.
3283 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3284 Add autoload cookie. For now at least, don't use color, since
3285 no other cal-tex function does.
3287 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3288 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3289 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3291 2012-08-21 Juri Linkov <juri@jurta.org>
3293 * info.el (Info-file-attributes): New variable.
3294 (info-insert-file-contents): Add file attributes to
3295 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3296 `Info-toc-nodes' when previous modtime of the Info file is less
3298 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3299 of info.el. (Bug#12230)
3301 2012-08-20 Glenn Morris <rgm@gnu.org>
3303 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3304 * calendar/holidays.el (calendar-holiday-list):
3305 Report errors with display-warning rather than beep'n'sleep.
3307 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3309 * net/tramp.el (tramp-accept-process-output): Accept only output
3310 from PROC. Otherwise, process filters and sentinels might be
3311 confused. (Bug#12145)
3313 2012-08-20 Chong Yidong <cyd@gnu.org>
3315 * descr-text.el (describe-text-properties-1): Use overlays-in to
3316 report on empty overlays (Bug#3322).
3318 2012-08-20 Glenn Morris <rgm@gnu.org>
3320 * mail/rmailout.el (rmail-output-read-file-name):
3321 Trap and report errors in rmail-output-file-alist elements.
3323 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3324 since most non-font-lock faces are not also variables).
3326 2012-08-20 Edward Reingold <reingold@iit.edu>
3328 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3329 New function. (Bug12160)
3331 2012-08-19 Glenn Morris <rgm@gnu.org>
3333 * mail/rmailout.el (rmail-output-read-file-name):
3334 Fix previous change (when the alist is nil or does not match).
3336 2012-08-19 Chong Yidong <cyd@gnu.org>
3338 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3341 2012-08-18 Chong Yidong <cyd@gnu.org>
3343 * simple.el (yank-handled-properties): New defcustom.
3344 (yank-excluded-properties): Add font-lock-face and category.
3347 * subr.el (remove-yank-excluded-properties):
3348 Obey yank-handled-properties. The special handling of font-lock-face
3349 and category is now done this way, instead of being hard-coded.
3350 (insert-for-yank-1): Remove font-lock-face handling.
3351 (yank-handle-font-lock-face-property)
3352 (yank-handle-category-property): New function.
3354 2012-08-17 Glenn Morris <rgm@gnu.org>
3356 * mail/rmailout.el (rmail-output-read-file-name):
3357 Check rmail-output-file-alist against the full message body
3358 in the correct rmail buffer. (Bug#12214)
3360 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3362 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3363 Eliminate superfluous prompt. (Bug#12203)
3365 2012-08-17 Chong Yidong <cyd@gnu.org>
3367 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3368 font spec, set the font directly (Bug#3228).
3370 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3372 * window.el (delete-window): Fix last fix.
3374 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3376 * window.el (window-valid-p): Move to window.c.
3377 (window-child, window-child-count, window-last-child)
3378 (window-normalize-window, window-combined-p)
3379 (window-combinations, window-atom-root, window-min-size)
3380 (window-sizable, window-sizable-p, window-size-fixed-p)
3381 (window-min-delta, window-max-delta, window--resizable)
3382 (window--resizable-p, window-resizable, window-total-size)
3383 (window-full-height-p, window-full-width-p, window-body-size)
3384 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3385 (minimize-window, window-deletable-p, delete-window)
3386 (delete-other-windows, set-window-buffer-start-and-point)
3387 (next-buffer, previous-buffer, split-window, balance-windows-2)
3388 (set-window-text-height, window-buffer-height)
3389 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3390 (truncated-partial-width-window-p): Minor code adjustments.
3391 In doc-strings state whether the argument window has to denote a
3392 live, valid or any window.
3394 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3396 * progmodes/subword.el (subword-forward-function)
3397 (subword-backward-function, subword-forward-regexp)
3398 (subword-backward-regexp): New variables.
3399 (subword-forward, subword-forward-internal, subword-backward-internal):
3400 Use new variables, eg so that different "word" definitions
3401 can be easily used. (Bug#11411)
3403 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3406 for composite selectors.
3407 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3408 operation just because we can't find a previous revision.
3410 2012-08-15 Chong Yidong <cyd@gnu.org>
3412 * frame.el (set-frame-font): Accept font objects.
3414 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3418 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3420 * man.el (Man-overstrike-face, Man-underline-face)
3421 (Man-reverse-face): Remove variables.
3422 (Man-overstrike, Man-underline, Man-reverse): New faces.
3423 (Man-fontify-manpage): Use them instead of the variables.
3424 (Man-cleanup-manpage): Comment change.
3425 (Man-ansi-color-map): New variable.
3426 (Man-fontify-manpage): Use it.
3427 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3429 Implement ANSI SGR parameters 22-27 (bug#12146).
3430 * ansi-color.el (ansi-colors): Doc fix.
3431 (ansi-color-context, ansi-color-context-region): Doc fix.
3432 (ansi-color--find-face): New function.
3433 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3434 Rename the local variable `face' to `codes' since it is now a list of
3435 ansi codes. Doc fix.
3436 (ansi-color-get-face): Remove.
3437 (ansi-color-parse-sequence): New function, derived from
3438 ansi-color-get-face.
3439 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3442 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * subr.el (read-passwd): Allow use from a minibuffer.
3446 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3448 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3449 inside comments and strings as identifiers.
3451 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3452 expression to evaluate. This allows to evaluate expressions with
3453 embedded whitespace.
3454 (gud-tooltip-tips): Add a blank before the newline in the
3455 message-box text, for the benefit of message-box emulation on
3458 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3459 messages from GDB, pop them up in a tooltip to give feedback to
3461 (gdb-tooltip-print-1): Quote the expression to evaluate.
3462 This allows to evaluate expressions with embedded whitespace.
3463 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3464 if the TTY name is nil or empty (which happens when communicating
3465 with the inferior via pipes, e.g. on MS-Windows).
3466 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3467 don't send that to the GUD buffer.
3469 2012-08-14 Glenn Morris <rgm@gnu.org>
3471 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3472 Optimize away setq-default with no args, as for setq. (Bug#12195)
3474 2012-08-14 Chong Yidong <cyd@gnu.org>
3476 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3478 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3481 2012-08-14 Glenn Morris <rgm@gnu.org>
3483 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3485 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3487 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3488 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3489 Use cached shell name.
3491 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3493 * progmodes/python.el (python-shell-send-string):
3494 (python-shell-send-setup-code): Do not use `format' with `message'.
3496 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3498 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3499 (ruby-percent-literal-beg-re): New constant.
3500 (ruby-syntax-general-delimiters-goto-beg): Rename to
3501 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3502 (ruby-syntax-propertize-general-delimiters): Rename to
3503 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3504 popular term. Adjust comments everywhere.
3505 (ruby-syntax-propertize-percent-literal): Only propertize when not
3506 inside a simple string or comment. When the literal is unclosed,
3507 leave the text after it unpropertized.
3508 (ruby-syntax-methods-before-regexp): New constant.
3509 (ruby-syntax-propertize-function): Use it to recognize regexps.
3510 Don't look at the text after regexp, just use the whitelist.
3512 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3514 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3515 non-nil always load the compiled file if it exists. (Bug#12197)
3517 2012-08-14 Chong Yidong <cyd@gnu.org>
3519 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3520 (hi-lock-set-pattern): When deciding whether to use font lock or
3521 overlays, look at font-lock-mode instead of font-lock-fontified
3523 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3524 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3526 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3528 * subr.el (internal--after-with-selected-window): Fix typo
3531 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3533 Use `completion-table-dynamic' for completion functions.
3534 * progmodes/python.el
3535 (python-shell-completion--do-completion-at-point)
3536 (python-shell-completion--get-completions):
3538 (python-shell-completion-complete-at-point): New function.
3539 (python-completion-complete-at-point): Use it.
3541 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3543 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3544 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3546 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3548 * subr.el (function-get): Refine `autoload' arg so it can also
3549 autoload functions for gv.el (bug#12191).
3550 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3553 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3554 Prefer pcase-let over destructuring-bind.
3555 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3556 Also, remove whitespace as we go, rather than after accumulating the
3559 * subr.el (internal--before-with-selected-window)
3560 (internal--after-with-selected-window): Fix typo seleted->selected.
3561 (with-selected-window): Adjust callers.
3562 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3564 2012-08-13 Bastien Guerry <bzg@gnu.org>
3566 * window.el (special-display-popup-frame): Minor docstring
3567 enhancement. (Bug#12172)
3569 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3571 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3573 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3576 * files.el (hack-local-variables-filter): Remove useless eval.
3578 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3580 * subr.el (with-selected-window): Fix last change.
3582 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * subr.el (internal--before-with-seleted-window)
3585 (internal--after-with-seleted-window): New functions.
3586 (with-selected-window): Use them, to replace dependency on
3589 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3591 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3592 binding for `newline'.
3593 (ruby-move-to-block): When moving backward, stop at block opening,
3595 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3596 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3597 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3598 `ruby-toggle-block'.
3600 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * ibuffer.el (ibuffer-do-toggle-read-only):
3603 * dired.el (dired-toggle-read-only):
3604 * buff-menu.el (Buffer-menu-toggle-read-only):
3605 * bindings.el (mode-line-toggle-read-only):
3606 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3608 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3610 * descr-text.el (describe-char): Put the overlays over the
3611 "displayed as" character.
3613 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3615 * calc/calc-units.el (math-default-units-table): Give an
3617 (math-put-default-units): Add options to put composite units and
3618 unit systems in the default units table.
3619 (calc-convert-units): Send composite units to
3620 `math-put-default-units' when appropriate.
3622 2012-08-11 Glenn Morris <rgm@gnu.org>
3624 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3626 * tutorial.el (help-with-tutorial):
3627 * emacs-lisp/copyright.el (copyright-update-directory):
3628 * emacs-lisp/autoload.el (autoload-find-generated-file)
3629 (autoload-find-file): Disable local eval: (for insurance).
3631 * files.el (hack-local-variables-filter): If an eval: form is not
3632 known to be safe, and enable-local-variables is :safe, then ignore
3633 the form totally, as is done for non-eval forms. (Bug#12155)
3634 This is CVE-2012-3479.
3636 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3638 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3639 (rx-form): Simplify.
3641 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3643 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3644 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3645 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3646 (ruby-syntax-propertize-function): Adjust for changes in
3647 `ruby-syntax-propertize-heredoc'.
3649 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3651 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3652 binding (use `M-;' instead).
3653 (ruby-singleton-class-p): New function.
3654 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3656 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3660 2012-08-10 Chong Yidong <cyd@gnu.org>
3662 * progmodes/python.el (python-shell-get-process-name): Don't mess
3663 with same-window-buffer-names.
3665 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3666 (eshell-remove-from-window-buffer-names): Make obsolete.
3667 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3668 (eshell): Just use pop-to-buffer-same-window instead.
3670 2012-08-10 Chong Yidong <cyd@gnu.org>
3672 * bindings.el: Bind M-= back to count-words-region.
3674 * simple.el (count-words-region): Accept a prefix arg for acting
3675 on the entire buffer.
3676 (count-words--buffer-message): New helper function.
3678 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3680 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3681 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3682 (event-start, event-end): Use posn-at-point to return a more
3684 (posnp): New function.
3685 * mouse.el (popup-menu-normalize-position): Use it.
3687 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3689 * mouse.el (popup-menu-normalize-position): New function.
3690 (popup-menu): Use `popup-menu-normalize-position' to normalize
3691 the form for POSITION argument.
3693 * term/x-win.el (x-menu-bar-open):
3694 Use the value returend from (posn-at-point) as position
3695 passed to `popup-menu'.
3697 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3699 * calc/calccomp.el (math-compose-expr): Add extra argument
3700 indicating that parentheses should be put around products in
3701 denominators. Give multiplication precedence over division during
3704 2012-08-09 Chong Yidong <cyd@gnu.org>
3706 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3707 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3708 (Man-untabify-command, manual-program): Convert to defcustom
3711 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3713 * descr-text.el (describe-char): Don't insert extra newlines
3716 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3717 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3719 * align.el (align-region): Delete temporary markers (Bug#10047).
3720 Plus some code cleanups.
3722 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3724 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3725 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3726 (python-shell-internal-last-output): Use make-local-variable
3727 instead of make-variable-buffer-local.
3729 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3731 * progmodes/python.el: Enhancements to forward-sexp.
3732 (python-nav-forward-sexp): Rename from
3733 python-nav-forward-sexp-function.
3734 (python-nav--forward-sexp, python-nav--backward-sexp):
3737 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3739 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3740 modes and simplification modes.
3742 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * delsel.el (delete-selection-pre-hook): Don't propagate the
3745 file-supersession signals (bug#12161).
3747 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3750 (cl-map-extents): Add compatibility aliases (bug#12135).
3752 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3754 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3755 tests by `ignore-error'.
3756 (tramp-find-shell): Open also a new shell, when cache is already
3757 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3759 2012-08-08 Juri Linkov <juri@jurta.org>
3761 * bookmark.el: Add `defaults' property to the bookmark record.
3762 (bookmark-current-buffer): Doc fix.
3763 (bookmark-make-record): Add `defaults' property with default values
3764 to the bookmark record.
3765 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3766 with `bookmark-insert-current-bookmark'.
3767 (bookmark-set): Get `defaults' property from the bookmark record
3768 and use it in `read-from-minibuffer'.
3769 (bookmark-insert-current-bookmark): Remove function.
3771 * info.el (Info-bookmark-make-record): Add `defaults' property
3772 with values of canonical Info node name, the current Info file
3773 name and the current Info node name. (Bug#12107)
3775 2012-08-08 Juri Linkov <juri@jurta.org>
3777 * files.el (basic-save-buffer): Use `buffer-name' as the default
3778 of `read-file-name' when buffer is not visiting a file (bug#12128).
3780 2012-08-08 Juri Linkov <juri@jurta.org>
3782 * info.el (Info-isearch-search): Doc fix.
3783 (Info-search): Change search-failed message from "initial node" to
3784 "end of node" (bug#12078).
3785 (Info-isearch-search): Change `isearch-string-state' to
3786 `isearch--state-string'.
3788 2012-08-08 Glenn Morris <rgm@gnu.org>
3790 * language/persian.el: Remove file.
3791 * language/misc-lang.el: Move unique part of persian.el here.
3792 * loadup.el: Remove language/persian.
3794 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3796 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3798 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3800 * progmodes/python.el Fixed defsubst warning.
3801 (python-syntax-context) Rename from python-info-ppss-context.
3802 (python-syntax-context-type): Rename from
3803 python-info-ppss-context-type.
3804 (python-syntax-comment-or-string-p): Rename from
3805 python-info-ppss-comment-or-string-p.
3807 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3809 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3811 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3813 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3814 a defcustom that is quoted with backquote.
3816 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3817 Fix handling of interactive spec when the body uses return.
3818 (math-do-arg-check, math-define-function-body): Use backquote forms.
3819 * calc/calc-ext.el (math-defcache): Likewise.
3820 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3821 * allout.el (allout-new-exposure): Likewise.
3822 * calc/calcalg2.el (math-tracing-integral): Likewise.
3823 * info.el (Info-last-menu-item): Likewise.
3824 * emulation/vip.el (vip-loop): Likewise.
3825 * textmodes/artist.el (artist-funcall): Likewise.
3826 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3827 Construct menu-item directly.
3829 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3832 2012-08-07 Chong Yidong <cyd@gnu.org>
3834 * simple.el (deactivate-mark): Preserve text properties when
3835 saving the primary selection (Bug#8384).
3837 2012-08-07 Kevin Ryde <user42@zip.com.au>
3839 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3840 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3841 and continue processing (Bug#12110).
3843 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3846 syntax-propertize-function (bug#10095).
3848 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3851 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3852 describe-function-1.
3853 (describe-function-1): Use them. Move compiler macro after sig.
3854 (help-fns--compiler-macro): Use function-get. Assume we're already in
3855 standard-output. Adjust layout to new call order.
3857 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3858 re-binding a symbol that has a symbol-macro (bug#12119).
3860 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3862 * language/persian.el: New file. (Bug#11812)
3863 * loadup.el: Add language/persian.el.
3865 2012-08-06 Chong Yidong <cyd@gnu.org>
3867 * window.el (window--maybe-raise-frame): New function.
3868 (window--display-buffer): Split off from here.
3869 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3870 (display-buffer-pop-up-window, display-buffer-use-some-window):
3871 Obey an inhibit-switch-frame action alist entry.
3872 (display-buffer): Update doc.
3874 * replace.el (occur-after-change-function): Avoid losing focus by
3875 using the inhibit-switch-frame display parameter (Bug#12139).
3877 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3879 Make internal shell process buffer names start with space.
3880 * progmodes/python.el (python-shell-make-comint): Add optional
3882 (run-python-internal): Use it.
3883 (python-shell-internal-get-or-create-process): Check for new
3884 internal buffer names.
3886 2012-08-06 Glenn Morris <rgm@gnu.org>
3888 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3889 Do less getting and setting of environment variables.
3891 2012-08-05 Chong Yidong <cyd@gnu.org>
3893 * proced.el (proced): Add substitution string to docstring to
3894 trigger autoloading of the proced library on C-h f (Bug#1768).
3896 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3897 Don't show defvars which have no second argument (Bug#8638).
3899 * imenu.el (imenu-generic-expression): Move documentation here
3900 from imenu--generic-function.
3901 (imenu--generic-function): Refer to imenu-generic-expression.
3903 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3905 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3906 indentation declaration.
3907 (viper-loop): Add indentation declaration (Bug#7025).
3909 2012-08-05 Chong Yidong <cyd@gnu.org>
3911 * help-fns.el (describe-variable): Add hyperlink for
3912 directory-local variables files. Improve buffer-local and
3913 permanent-local reporting; suggested by MON KEY (Bug#6644).
3915 * help-mode.el (help-dir-local-var-def): New button type.
3917 * files.el (kill-buffer-hook): Provide a defvar.
3919 2012-08-05 Glenn Morris <rgm@gnu.org>
3921 * eshell/esh-ext.el (eshell/addpath):
3922 Also update eshell-path-env. (Bug#12013)
3924 2012-08-05 Chong Yidong <cyd@gnu.org>
3926 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3928 * fringe.el (fringe-styles): Add docstring.
3929 (fringe--check-mode): New function.
3930 (set-fringe-mode, set-fringe-style): Use it.
3931 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3933 * files.el (set-auto-mode): Fix invalid setq call.
3935 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * isearch.el: Misc simplification; use defstruct.
3938 (isearch-mode-map): Dense maps now work like sparse ones.
3939 (isearch--state): New defstruct.
3940 (isearch-string-state, isearch-message-state, isearch-point-state)
3941 (isearch-success-state, isearch-forward-state)
3942 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3943 (isearch-wrapped-state, isearch-barrier-state)
3944 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3945 replaced by defstruct's accessors.
3946 (isearch--set-state): Rename from isearch-top-state and change
3948 (isearch-push-state): Use new isearch--get-state.
3949 (isearch-toggle-word): Disable regexp when enabling word.
3950 (isearch-message-prefix): Remove unused arg _c-q-hack.
3951 (isearch-message-suffix): Remove unused arg _ellipsis.
3953 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3955 * simple.el (list-processes--refresh): For a server use :host or
3956 :local as the address.
3957 (list-processes): Doc fix.
3959 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3961 * lisp/mpc.el: Support password in host argument.
3962 (mpc--proc-connect): Parse and use new password element.
3963 Set mpc-proc variable instead of returning process.
3964 (mpc-proc): Adjust accordingly.
3966 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3968 * whitespace.el (whitespace-display-mappings): Use Unicode
3969 codepoints, instead of emacs-mule codepoints. See
3970 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3973 * files.el (file-truename): Don't skip symlink-chasing part on
3974 windows-nt. Incorporate the resolution of 8+3 short aliases on
3975 Windows into the loop that recursively chases symlinks.
3976 Compare directory and its parent case-insensitively on MS-Windows and
3979 2012-08-03 Chong Yidong <cyd@gnu.org>
3981 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3983 * sort.el (sort-regexp-fields): Doc fix.
3985 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3987 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3988 labels regex position point at the expected place.
3990 2012-08-03 MON KEY <monkey@sandpframing.com>
3992 * net/imap.el (imap-interactive-login, imap-authenticate)
3993 (imap-mailbox-lsub, imap-mailbox-list)
3994 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3995 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3996 (imap-parse-response): Doc fix.
3998 2012-08-03 João Távora <joaotavora@gmail.com>
4000 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4001 if sexp scanning does not move point (Bug#5734).
4003 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4005 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4006 Add listings, minted, and ctable packages.
4007 (reftex-label-alist-builtin): Move listings, minted, and ctable
4008 entries before LaTeX.
4009 (reftex-label-alist): Docfix.
4011 2012-08-02 Bastien Guerry <bzg@gnu.org>
4013 * replace.el (occur): Fix docstring (bug#12122).
4015 2012-08-02 Glenn Morris <rgm@gnu.org>
4017 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4019 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4021 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4022 * international/mule-cmds.el: Create
4023 inactivate-current-input-method-function as an obsolete alias for
4024 deactivate-current-input-method-function. See Katsumi Yamaoka in
4025 <http://bugs.gnu.org/10150#46>.
4027 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4029 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4032 2012-08-01 Glenn Morris <rgm@gnu.org>
4034 * progmodes/autoconf.el (autoconf-definition-regexp):
4035 Add AH_TEMPLATE, adjust submatch numbering.
4036 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4037 (autoconf-current-defun-function): Update for above change.
4038 (autoconf-current-defun-function): First skip to end of current word.
4040 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4042 * calendar/cal-html.el (cal-html-insert-agenda-days):
4043 Fix typo. (Bug#12018)
4045 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4047 Shell processes: enhancements to startup and CEDET compatibility.
4048 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4049 (python-shell-make-comint): accept-process-output at startup.
4050 (run-python-internal): Set inferior-python-mode-hook to nil.
4051 (python-shell-internal-get-or-create-process): call sit-for.
4052 (python-preoutput-result): Add obsolete alias.
4053 (python-shell-internal-send-string): Use it.
4054 (python-shell-send-setup-code): Remove call to
4055 accept-process-output.
4057 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4059 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4062 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4064 * calc-mode.el (calc-basic-simplification-mode): Rename from
4065 `calc-limited-simplification-mode'.
4066 (calc-alg-simplification-mode): New function.
4067 (calc-set-simplify-mode): Adjust message.
4069 * calc.el (calc-set-mode-line): Adjust mode line display for
4070 basic simplification mode.
4072 * calc-help.el (calc-m-prefix-help): Update help message.
4074 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4075 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4077 2012-07-31 Bastien Guerry <bzg@gnu.org>
4079 * man.el (man): Fix comment. (bug#12101)
4081 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4083 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4084 Don't return a non-nil value when no suitable buffer was found.
4086 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4088 * progmodes/python.el (run-python-internal): Disable font lock for
4091 2012-07-30 Stefan Merten <smerten@oekonux.de>
4093 * textmodes/rst.el: Silence `checkdoc-ispell'.
4094 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4095 (rst-official-version, rst-official-cvs-rev)
4096 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4097 (rst-mode-map): New key binding.
4099 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4101 Update .PHONY listings in makefiles.
4102 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4103 autoloads, update-subdirs, updates, bzr-update, update-authors,
4104 compile-onefile, compile-calc, backup-compiled-files,
4105 compile-after-backup, compile-one-process, mh-autoloads,
4106 bootstrap-clean, distclean, maintainer-clean.
4108 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4110 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4111 (calc-set-mode-line): Don't display "AlgSimp ".
4113 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4114 (calc-lim-simplify-mode): New function.
4115 (calc-set-simplify-mode): Default to 'alg.
4116 (calc-default-simplify-mode): Make algebraic simplifications
4119 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4120 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4122 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4123 indicate new simplification modes.
4125 * calc/README: Mention new default simplification mode.
4127 * calc/calc.el (math-normalize-error): New variable.
4128 (math-normalize): Set `math-normalize-error' to t
4129 when there's an error.
4131 * calc/calc-alg.el (math-simplify): Don't simplify when
4132 `math-normalize' returns an error.
4134 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4136 * international/mule-cmds.el (set-locale-environment): Revert last
4137 change, since display-graphic-p returns nil when this function is
4138 called during startup. Instead...
4140 * term/w32console.el (terminal-init-w32console): ...setup the
4141 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4143 2012-07-29 Juri Linkov <juri@jurta.org>
4145 * simple.el (goto-line): Don't display default line number in the
4146 prompt because it should be displayed by `read-number' (bug#9952).
4147 Add the current line number to the defaults of `goto-line' to
4148 allow its easier modification by users with `M-n' (bug#9201).
4150 * subr.el (read-number): Support multiple default values like in
4151 other minibuffer reading functions. Replace `read' with
4152 `string-to-number' for consistency with `number-to-string'.
4154 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4156 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4157 * emulation/viper-init.el (viper-deactivate-input-method-action):
4158 Rename from viper-inactivate-input-method-action.
4159 (viper-deactivate-input-method):
4160 Rename from viper-inactivate-input-method.
4161 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4162 * international/mule-cmds.el (deactivate-input-method):
4163 Rename from inactivate-input-method.
4164 Also run input-method-deactivate-hook.
4165 (deactivate-current-input-method-function):
4166 Rename from inactivate-current-input-method-function.
4167 (input-method-deactivate-hook): New hook.
4168 (input-method-inactivate-hook): Mark obsolete.
4169 (inactivate-input-method): Mark obsolete.
4171 * international/quail.el (quail-activate):
4172 Also run quail-deactivate-hook.
4173 (quail-deactivate): Rename from quail-inactivate.
4174 * international/robin.el (robin-activate):
4175 Also run robin-deactivate-hook.
4176 (robin-deactivate): Rename from robin-inactivate.
4178 2012-07-29 Chong Yidong <cyd@gnu.org>
4180 * simple.el (indicate-copied-region): New function.
4181 (kill-ring-save): Split off from here.
4183 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4184 (kill-rectangle): Set deactivate-mark to t on read-only error.
4186 * register.el (copy-to-register, copy-rectangle-to-register):
4187 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4188 (append-to-register, prepend-to-register): Call indicate-copied-region.
4190 2012-07-29 Juri Linkov <juri@jurta.org>
4192 * simple.el (async-shell-command-buffer): New defcustom.
4193 (shell-command): Use it. (Bug#4719)
4195 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4197 * international/mule-cmds.el (set-locale-environment): In a
4198 console session on MS-Windows, set up keyboard and terminal
4199 encoding from the OEM codepage, not the ANSI codepage.
4202 2012-07-28 Chong Yidong <cyd@gnu.org>
4204 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4207 2012-07-28 Leo Liu <sdl.web@gmail.com>
4209 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4210 the alist (bug#12029).
4212 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4214 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4215 (compile-always, compile-first)
4216 ($(lisp)/calendar/cal-loaddefs.el)
4217 ($(lisp)/calendar/diary-loaddefs.el)
4218 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4219 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4220 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4221 instead of on update-subdirs.
4222 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4224 2012-07-28 Chong Yidong <cyd@gnu.org>
4226 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4227 directory if vc-deduce-backend returns nil (Bug#7350).
4229 * simple.el (delete-trailing-lines): New option.
4230 (delete-trailing-whitespace): Obey it (Bug#11879).
4232 2012-07-28 David Engster <deng@randomsample.de>
4234 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4235 Explanation of new 'symbol-qnames feature in doc-strings.
4236 (xml-maybe-do-ns): Return expanded names as plain symbols if
4237 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4238 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4240 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4242 Consistent completion in inferior python with emacs -nw.
4243 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4244 binding in inferior-python-mode-map with "\t".
4245 (python-shell-completion-complete-at-point)
4246 (python-completion-complete-at-point): Remove interactive spec.
4248 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4250 * calc/calccomp.el (math-compose-expr): Undo previous change.
4252 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4254 * progmodes/python.el (python-mode-map): Add keybinding for
4256 (python-shell-make-comint): Fix pop-to-buffer call.
4257 (run-python): Autoload. New arg SHOW.
4258 (python-shell-get-or-create-process): Do not pop python process
4261 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4263 * notifications.el (notifications-on-action-signal)
4264 (notifications-on-closed-signal): Use also the bus address for the map.
4265 (notifications-notify, notifications-close-notification)
4266 (notifications-get-capabilities): Add optional argument BUS.
4268 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4270 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4271 Add support for the lstlisting and minted environments, and for the
4273 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4274 labels written in keyvals syntax.
4276 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4278 * calc/calccomp.el (math-compose-expr): Use parentheses when
4279 there is a product in the denominator of a fraction.
4281 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4283 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4284 ($(lisp)/calendar/diary-loaddefs.el)
4285 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4286 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4287 Fixes failures in parallel bootstrap because subdirs.el is being
4288 rewritten while the autoload files are built at the same time,
4289 which needs to load subdirs.el.
4291 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4293 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4294 (mouse-drag-line): Don't exit tracking when a switch-frame or
4295 switch-window event occurs (Bug#12006).
4297 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * mouse.el (popup-menu): Fix last change.
4301 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4303 Autoload from Lisp with more care. Follow aliases when looking for
4304 function properties.
4305 * subr.el (autoloadp): New function.
4306 (symbol-file): Use it.
4307 (function-get): New function.
4308 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4310 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4311 (lisp-indent-function):
4312 * emacs-lisp/gv.el (gv-get):
4313 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4314 * emacs-lisp/byte-opt.el (byte-optimize-form):
4315 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4316 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4318 * emacs-lisp/cl.el: Don't propagate function properties any more.
4320 * speedbar.el (speedbar-add-localized-speedbar-support):
4321 * emacs-lisp/disass.el (disassemble-internal):
4322 * desktop.el (desktop-load-file):
4323 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4324 (describe-function-1):
4325 * emacs-lisp/find-func.el (find-function-noselect):
4326 * emacs-lisp/elp.el (elp-instrument-function):
4327 * emacs-lisp/advice.el (ad-has-proper-definition):
4328 * apropos.el (apropos-safe-documentation, apropos-macrop):
4329 * emacs-lisp/debug.el (debug-on-entry):
4330 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4331 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4332 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4334 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4336 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4337 function, not an obsolete variable (Bug#12046).
4339 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4341 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4343 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4345 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4346 window only if it is still live (Bug#12034).
4348 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4350 * subr.el (redirect-frame-focus): Add advertised calling
4351 convention (Bug#12030).
4353 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4355 Prefer typical American spelling for "acknowledgment".
4356 * vc/add-log.el (change-log-acknowledgment): Rename from
4357 change-log-acknowledgement, with an alias for the old name.
4359 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4361 * calc-alg.el (math-simplify-divide): Don't cross multiply
4362 in an equation when the lhs is a variable.
4364 2012-07-24 Julien Danjou <julien@danjou.info>
4366 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4369 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4371 * startup.el (command-line): Don't display an empty user name in
4372 the error message about non-existent home directory, when
4373 init-file-user was set to an empty string. See
4374 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4375 for the details and context.
4377 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4379 * ses.el (ses-cell-formula-aset): New macro.
4380 (ses-cell-references-aset): New macro.
4381 (ses-cell-p): New function.
4382 (ses-rename-cell): Do no longer rely on complex operations like
4383 ses-cell-set-formula or ses-set-cell to change the cell and handle
4384 the undo at the same time, but rather use lower level new macros
4385 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4386 the undo directly. Refresh the mode line.
4388 2012-07-21 Leo Liu <sdl.web@gmail.com>
4390 * progmodes/cc-cmds.el (c-defun-name):
4391 Use match-string-no-properties instead for consistency.
4393 2012-07-20 Leo Liu <sdl.web@gmail.com>
4395 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4398 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4400 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4403 * progmodes/bug-reference.el, misearch.el: Provide themselves
4406 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4407 of narrowed buffer (bug#11966).
4409 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4411 * ses.el (ses-rename-cell): Set new name also in reference list of
4412 cells of which the renamed cell depends.
4414 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4416 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4417 to check whether menu-bar is shown or not. If not shown,
4418 show the menu-bar as a popup menu instead of using tmm.
4419 * mouse.el (popup-menu): Accept `point' as `position' argument.
4421 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4423 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4424 up inside string symbol literal (bug#11923).
4426 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4428 * startup.el (fancy-startup-text): Read the whole tutorial, not
4429 just its first 256 bytes. Prevents gibberish in display of the
4432 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4434 Drop idle buffer compaction due to an absence of the
4436 * compact.el: Remove.
4438 2012-07-19 Sam Steingold <sds@gnu.org>
4440 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4441 vc-bzr-pull & vc-bzr-merge-branch.
4442 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4443 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4444 for consistency with compilation-error-regexp-alist.
4445 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4446 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4447 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4448 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4450 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * emacs-lisp/chart.el: Use lexical-binding.
4453 (chart-emacs-storage): Don't hardcode the list of entries.
4455 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4457 Next round of tweaks caused by Fgarbage_collect changes.
4458 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4460 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4462 Compact buffers when idle.
4463 * compact.el: New file.
4465 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * subr.el (eventp): Presume that if it looks vaguely like an event,
4468 it's an event (bug#10190).
4470 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4472 Enhancements to ppss related code (thanks Stefan).
4473 * progmodes/python.el (python-indent-context)
4474 (python-indent-calculate-indentation, python-indent-dedent-line)
4475 (python-indent-electric-colon, python-nav-forward-block)
4476 (python-mode-abbrev-table)
4477 (python-info-assignment-continuation-line-p): Simplify checks
4479 (python-info-continuation-line-p): Cleanup.
4480 (python-info-ppss-context): Do not catch 'quote.
4481 (python-info-ppss-context-type)
4482 (python-info-ppss-comment-or-string-p): Simplify.
4484 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4486 * progmodes/python.el: Enhancements to eldoc support.
4487 (python-info-current-symbol): New function.
4488 (python-eldoc-at-point): Use python-info-current-symbol.
4489 (python-info-current-defun): Fix cornercase on first defun scan.
4490 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4491 and signal error when no inferior python process is available.
4493 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4495 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4496 assume it's always t.
4497 (vc-git-registered): Remove caching, the function is only called
4499 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4501 2012-07-18 Chong Yidong <cyd@gnu.org>
4503 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4505 * simple.el (count-words): Report on narrowing (Bug#9959).
4507 * bindings.el: Bind M-= to count-words.
4509 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4511 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4513 * progmodes/sh-script.el (sh-imenu-generic-expression):
4514 Capture a function with `function' keyword and without parentheses
4515 like "function FOO" (bug#11856).
4517 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4519 * window.el (split-window-sensibly): Make WINDOW argument
4522 2012-07-18 Chong Yidong <cyd@gnu.org>
4524 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4526 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4527 and make C-x 8 RET exit isearch (Bug#11439).
4529 * international/iso-transl.el: Move isearch-mode-map key
4530 definitions to isearch.el.
4532 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4535 (eieio-defclass): Use gv-define-setter when possible.
4537 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4539 Reflect recent changes in Fgarbage_collect.
4540 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4541 reflect new format of data returned by Fgarbage_collect.
4543 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4545 New utility functions + python-info-ppss-context fix (Bug#11910).
4546 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4547 (python-info-ppss-comment-or-string-p): New functions.
4548 (python-info-ppss-context): Small fix for string check.
4550 2012-07-17 Juri Linkov <juri@jurta.org>
4552 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4553 (dired-do-async-shell-command): Don't add `*' at the end of the
4554 command (Bug#11815).
4555 (dired-do-shell-command): Doc fix.
4556 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4557 Join the individual commands using either "&" or ";" as the
4558 separator depending on the values of these trailing characters.
4559 At the end re-add the trailing "&". (Bug#10598)
4561 * simple.el (async-shell-command): Sync the interactive spec with
4562 `shell-command'. Doc fix.
4563 (shell-command): Doc fix.
4565 2012-07-17 Juri Linkov <juri@jurta.org>
4567 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4569 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4571 Final renames and doc fixes for movement commands (bug#11899).
4572 * progmodes/python.el (python-nav-beginning-of-statement):
4573 Rename from python-nav-statement-start.
4574 (python-nav-end-of-statement): Rename from
4575 python-nav-statement-end.
4576 (python-nav-beginning-of-block): Rename from
4577 python-nav-block-start.
4578 (python-nav-end-of-block): Rename from python-nav-block-end.
4580 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4582 * progmodes/python.el (python-shell-send-string-no-output):
4583 Allow accept-process-output to quit, keeping shell process ready for
4584 future interactions (Bug#11868).
4586 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4590 * emacs-lisp/elint.el (elint-find-args-in-code):
4591 Use help-function-arglist, so as to handle lexical byte-code.
4593 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4596 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4598 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4599 Avoid spuriously marking the buffer as modified because of c-is-sws.
4601 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4602 as not-a-comment (bug#11946).
4604 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4605 for uninterned vars.
4607 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4608 Use read-event since we don't really want to read chars but bytes.
4610 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4611 $$..$$ but also $..$ using regexps (bug#11953).
4612 Use tex-verbatim for \url and \path.
4613 (tex-font-lock-keywords): Define as defconst like the others.
4614 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4616 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4618 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4619 alias for insert-char.
4621 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4623 * progmodes/python.el: Simplified imenu implementation.
4624 (python-nav-jump-to-defun): Remove command.
4625 (python-mode-map): Use `imenu' instead.
4626 (python-nav-list-defun-positions-cache)
4627 (python-imenu-include-defun-type, python-imenu-make-tree)
4628 (python-imenu-subtree-root-label, python-imenu-index-alist):
4630 (python-nav-list-defun-positions, python-nav-read-defun)
4631 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4632 (python-imenu-make-tree, python-imenu-create-index):
4634 (python-mode): Update to interact with imenu by setting
4635 `imenu-extract-index-name-function' only.
4637 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4639 * progmodes/python.el: Enhancements to navigation commands.
4640 (python-nav-backward-sentence)
4641 (python-nav-forward-sentence): Remove.
4642 (python-nav-backward-statement, python-nav-forward-statement)
4643 (python-nav-statement-start, python-nav-statement-end)
4644 (python-nav-backward-block, python-nav-forward-block)
4645 (python-nav-block-start, python-nav-block-end)
4646 (python-nav-forward-sexp-function)
4647 (python-info-current-line-comment-p)
4648 (python-info-current-line-empty-p): New functions.
4649 (python-indent-context): Use `python-nav-statement-start'.
4651 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4653 * eshell/em-ls.el (eshell/ls): Use `apply'.
4655 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4656 multi-hops, instead of Tramp internals.
4658 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4660 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4661 when F1 and F2 are located on different hosts.
4663 2012-07-14 Chong Yidong <cyd@gnu.org>
4665 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4666 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4667 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4668 (xterm-mouse--read-event-sequence-1000)
4669 (xterm-mouse--read-event-sequence-1006): New functions. For old
4670 mouse protocol, handle M-mouse-X events correctly.
4671 (xterm-mouse-event): New arg specifying mouse protocol.
4672 (turn-on-xterm-mouse-tracking-on-terminal)
4673 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4674 sequence to toggle extended coordinates on newer XTerms.
4675 This appears to be harmless on terminals which do not support this.
4677 2012-07-14 Leo Liu <sdl.web@gmail.com>
4679 Add fringe bitmap indicators for flymake. (Bug#11253)
4680 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4681 (flymake-make-overlay): New arg BITMAP.
4682 (flymake-error-bitmap, flymake-warning-bitmap)
4683 (flymake-fringe-indicator-position): New user variables.
4685 * fringe.el: New bitmap exclamation-mark.
4687 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4689 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4692 2012-07-14 Chong Yidong <cyd@gnu.org>
4694 * electric.el (electric-pair-post-self-insert-function): Fix pair
4695 insertion in empty-region case (Bug#11520).
4697 2012-07-14 Chong Yidong <cyd@gnu.org>
4699 * bindings.el: Consolidate ctl-x-r-map bindings.
4700 Bind copy-rectangle-as-kill to C-x r w.
4702 * rect.el, register.el: Move bindings to bindings.el.
4704 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4706 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4708 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4710 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4712 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4714 * bindings.el (top): Use `mapc' instead of `mapcar'.
4716 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4718 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4720 * progmodes/sql.el (sql-comint): Suppress the check for program on
4721 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4724 2012-07-13 Chong Yidong <cyd@gnu.org>
4726 * bindings.el: Assign a non-nil permanent-local property to
4727 per-buffer variables which lack a default value (Bug#11930).
4729 * help-fns.el (describe-variable): In the "automatically becomes
4730 local" notice, take note of permanent-local variables.
4732 2012-07-13 Chong Yidong <cyd@gnu.org>
4734 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4735 to allow printing the message when called from Lisp.
4737 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4738 Remove toggle-read-only.
4740 * bs.el (bs-toggle-readonly):
4741 * buff-menu.el (Buffer-menu-toggle-read-only):
4742 Remove with-no-warnings around toggle-read-only.
4744 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4745 Remove with-no-warnings around toggle-read-only.
4746 (ffap-read-only, ffap-read-only-other-window)
4747 (ffap-read-only-other-frame): Callers changed.
4749 * help-mode.el: Don't require view package.
4750 (help-mode-finish): Set buffer-read-only instead of calling
4753 * bindings.el (mode-line-toggle-read-only):
4754 * dired.el (dired-toggle-read-only):
4755 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4756 with non-nil second arg.
4758 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4759 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4762 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4764 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4767 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4769 More CL cleanups and reduction of use of cl.el.
4770 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4771 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4772 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4773 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4774 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4775 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4776 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4777 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4778 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4779 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4780 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4781 * eshell/em-cmpl.el, eshell/em-banner.el:
4782 * calendar/parse-time.el: Use cl-lib.
4783 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4784 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4785 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4786 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4787 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4788 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4789 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4790 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4791 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4792 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4793 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4794 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4795 `lambda' rather than with `quote'.
4796 (eshell-do-opt): Adjust accordingly.
4797 (eshell-process-option): Simplify.
4798 * eshell/esh-var.el:
4799 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4800 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4801 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4802 to `pcase--dontcare'.
4803 * emacs-lisp/cl.el (labels): Mark obsolete.
4804 (cl--letf, letf): Move to cl-lib.
4805 (cl--letf*, letf*): Remove.
4806 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4807 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4808 (cl-progv): Rewrite.
4809 (cl--letf, cl-letf): Move from cl.el.
4810 (cl-letf*): New macro.
4811 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4813 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4815 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4817 2012-07-11 Chong Yidong <cyd@gnu.org>
4819 * vc/log-edit.el (log-edit-vc-backend): New variable.
4820 (log-edit): Doc fix.
4822 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4823 argument of log-edit to set up all local variables.
4824 (vc-start-logentry): New optional arg specifying VC backend.
4826 * vc/vc.el (vc-checkin): Use it.
4827 (vc-deduce-fileset): Handle Log Edit buffers.
4828 (vc-diff): Make first argument optional too.
4830 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4832 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4834 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4835 command, just in case. The function is not needed anymore.
4836 (eshell-external-command): Do not call `eshell-remote-command'.
4838 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4840 Reduce use of (require 'cl).
4841 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4842 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4843 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4844 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4845 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4846 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4847 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4848 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4849 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4850 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4851 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4852 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4853 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4854 (byte-compile-unfold-bcf, byte-compile-check-variable):
4855 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4856 (byte-compile-nilconstp):
4857 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4858 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4860 * emacs-lisp/gv.el (cond): Make it a valid place.
4861 (if): Simplify slightly.
4863 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4864 (pcase--self-quoting-p): New function.
4865 (pcase--u1): Use it.
4867 2012-07-10 Glenn Morris <rgm@gnu.org>
4869 * emacs-lisp/authors.el (authors-fixed-entries):
4870 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4872 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4874 Rename configure.in to configure.ac (Bug#11603).
4875 * emacs-lisp/authors.el (authors-canonical-file-name):
4876 * progmodes/autoconf.el (autoconf-mode):
4877 Prefer configure.ac to configure.in.
4879 2012-07-08 Chong Yidong <cyd@gnu.org>
4881 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4882 Implement the mouse-1-click-follows-link handling properly.
4884 * info.el (Info-link-keymap): Use follow-link mechanism for
4885 header-line links (Bug#374).
4887 * simple.el (deactivate-mark): Do not set the primary selection
4888 if another program has acquired it (Bug#11772).
4890 2012-07-07 Kevin Ryde <user42@zip.com.au>
4892 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4893 (woman-decode-region): Replace escaped-escapes without destroying
4894 bold or underline (Bug#11552).
4895 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4897 2012-07-07 Chong Yidong <cyd@gnu.org>
4899 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4900 (interprogram-cut-function, interprogram-paste-function):
4901 Mention that we typically mean the clipboard.
4903 2012-07-06 Glenn Morris <rgm@gnu.org>
4905 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4907 * files.el (toggle-read-only): Restrict message to interactive use.
4909 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4911 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4913 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4915 2012-07-06 Glenn Morris <rgm@gnu.org>
4917 * Makefile.in (compile-one-process): Rename from "recompile".
4919 * Makefile.in (bzr-update): "compile" is the same as "recompile
4920 autoloads", but parallelizable, so use that instead.
4922 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4924 * window.el (quit-window): Always restore window height when
4925 it's saved in quit-restore parameter (Bug#11810).
4927 2012-07-06 Glenn Morris <rgm@gnu.org>
4929 * simple.el (kill-whole-line): Doc tweak.
4931 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4933 * files.el (file-relative-name): Compare file names
4934 case-insensitively if on MS-Windows or MS-DOS, or if
4935 read-file-name-completion-ignore-case is non-nil. Don't use
4936 case-fold-search for this purpose. (Bug#11827)
4938 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4940 * calendar/cal-dst.el (calendar-current-time-zone):
4941 Return calendar-current-time-zone-cache if non-nil.
4943 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4944 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4946 * calendar/cal-dst.el (calendar-current-time-zone):
4947 Return calendar-current-time-zone-cache if non-nil.
4949 2012-07-06 Glenn Morris <rgm@gnu.org>
4951 * Makefile.in (cvs-update): Remove old alias.
4953 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4955 Sync with Tramp 2.2.6-pre.
4957 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4958 compatible declaration.
4960 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4961 Protect `list-load-path-shadows' call.
4963 * net/tramp-compat.el (top): Require packages, which aren't
4964 autoloaded anymore for XEmacs. Protect call of
4965 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4966 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4967 it hurts at least for SXEmacs.
4968 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4969 standard-value for `temporary-file-directory'.
4971 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4972 Redirect stderr to /dev/null.
4973 (tramp-sh-handle-write-region): uid and gid can be floats.
4974 Reported by Russell Sim <russell.sim@gmail.com>.
4975 (tramp-sh-handle-vc-registered): Hide errors.
4976 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4977 and `start-file-process'.
4978 (tramp-maybe-open-connection): Check also whether `non-essential'
4981 2012-07-04 Chong Yidong <cyd@gnu.org>
4983 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4984 (xml-parse-tag): Likewise, and avoid changing entity tables.
4985 (xml-syntax-table): Define from scratch, making sure not to give
4986 x2000 and other Unicode spaces whitespace syntax, since those are
4988 (xml-parse-fragment): Delete unused function.
4989 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4990 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4991 (xml-entity-ref, xml-pe-reference-re)
4992 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4993 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4994 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4995 (xml-entity-value-re): Use syntax references in regexps where
4996 possible; no need to define inside a let-binding.
4997 (xml-parse-dtd): Use xml-pe-reference-re.
4998 (xml-entity-or-char-ref-re): New defconst.
4999 (xml-parse-string, xml-substitute-special): Use it.
5001 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5004 (find-file--read-only): New function.
5005 (find-file-read-only, find-file-read-only-other-window)
5006 (find-file-read-only-other-frame): Use it.
5007 (insert-file-contents-literally): Don't `fset'.
5008 (get-free-disk-space): Use locate-dominating-file.
5010 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5011 function is already compiled.
5013 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5015 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5017 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5018 files on the same host.
5020 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5022 * help-fns.el (describe-function-1): Only call
5023 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5025 2012-07-03 Chong Yidong <cyd@gnu.org>
5027 * xml.el: Protect parser against XML bombs.
5028 (xml-entity-expansion-limit): New variable.
5029 (xml-parse-string, xml-substitute-special): Use it.
5030 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5032 2012-07-03 Glenn Morris <rgm@gnu.org>
5034 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5035 Allow linking to specific messages in debbugs reports (eg 123#5).
5037 2012-07-02 Chong Yidong <cyd@gnu.org>
5039 * xml.el: Fix entity and character reference expansion, allowing
5040 them to expand into markup as per XML spec.
5041 (xml-default-ns): New variable.
5042 (xml-entity-alist): Use XML spec definitions for lt and amp.
5043 (xml-parse-region): Make first two arguments optional.
5044 Discard text properties.
5045 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5046 All callers changed.
5047 (xml-parse-tag): Call xml-parse-tag-1. For backward
5048 compatibility, this function should not modify buffer contents.
5049 (xml-parse-tag-1): Fix opening-tag regexp.
5050 (xml-parse-string): Rewrite, handling entity and character
5051 references properly.
5052 (xml--entity-replacement-text): Signal an error if a parameter
5053 entity is undefined.
5055 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5057 * comint.el (comint-output-filter): Filter out repeated prompts.
5059 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5060 and file-name-absolute-p.
5061 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5064 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5067 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5068 Rename from byte-compile--refiy-function. All uses changed.
5070 2012-07-01 Chong Yidong <cyd@gnu.org>
5072 * xml.el (xml--parse-buffer): New function. Move most of
5073 xml-parse-region here.
5074 (xml-parse-region): Copy region into a temporary buffer, since
5075 parameter entity substitution requires changing buffer contents.
5076 Use xml--parse-buffer.
5077 (xml-parse-file): Use xml--parse-buffer.
5078 (xml-parse-dtd): Make parameter entity substitution work right.
5079 Use proper regexps for ELEMENT declarations (Bug#7172).
5081 2012-06-30 Glenn Morris <rgm@gnu.org>
5083 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5085 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5086 Remove outdated and unnecessary dbus declarations.
5088 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5090 * emacs-lisp/timer.el (timer-until): Subtract results of
5091 float-time, instead of taking float-time of the result of
5092 time-subtract, since float-time signals an error for negative time
5095 2012-06-30 Chong Yidong <cyd@gnu.org>
5097 * xml.el (xml-*-re): Convert defvars into defconsts, and
5098 eval-and-compile them so eval-and-compile works on derivatives.
5099 (xml--entity-replacement-text): Use eval-and-comple.
5101 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5103 * vc/vc-git.el (vc-git-registered): Use cache property
5105 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5106 `vc-git-working-revision' in order to benefit from the cache.
5107 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5109 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5111 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5112 removed (likely outside Emacs). (Bug#11757)
5114 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * emacs-lisp/cl-lib.el: Require macroexp.
5118 2012-06-30 Chong Yidong <cyd@gnu.org>
5120 * xml.el: Implement XML parameter entities.
5121 (xml-parameter-entity-alist): New variable.
5122 (xml-parse-region, xml-parse-fragment): Preserve previous values
5123 of xml-entity-alist and xml-parameter-entity-alist, so that
5124 repeated calls on different documents do not change them.
5125 (xml-parse-tag): Fix doctype regexp.
5126 (xml--entity-replacement-text): New function.
5127 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5128 properly requires url retrieval which is unimplemented.
5129 (xml-escape-string): Doc fix.
5131 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5133 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5135 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5137 * fringe.el (fringe-mode): Doc fix.
5139 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5141 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5143 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5144 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5146 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5148 * calendar/cal-dst.el (calendar-current-time-zone):
5149 Return calendar-current-time-zone-cache if non-nil.
5151 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5153 * progmodes/which-func.el (which-func-format):
5154 Add mouse-face. (Bug#11698)
5156 2012-06-29 Leo Liu <sdl.web@gmail.com>
5158 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5160 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * minibuffer.el (minibuffer-confirm-exit-commands):
5163 Add completion-at-point (bug#11725).
5165 2012-06-29 Glenn Morris <rgm@gnu.org>
5167 * progmodes/f90.el (f90-font-lock-keywords-2):
5168 Add some preprocessor elements. (Bug#10499)
5170 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5172 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5173 Use syntax-propertize (bug#11739).
5175 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5177 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5179 2012-06-28 Julien Danjou <julien@danjou.info>
5181 * term.el (term-handle-colors-array): Use a set of new faces to
5182 color the terminal. Also uses :inverse-video property.
5183 (term-default-fg-color): Set to nil by default, deprecate in favor
5185 (term-default-bg-color): Set to nil by default, deprecate in favor
5187 (term-current-face): Use `term-face' by default.
5188 (term-bold-attribute): Variable deleted.
5190 2012-06-28 Glenn Morris <rgm@gnu.org>
5192 * simple.el (completion-list-mode-finish):
5193 Don't use toggle-read-only. (Since completion-list-mode has
5194 a special mode-class, it wasn't doing anything extra anyway.)
5196 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5198 Make inlining of other-mode interpreted functions work (bug#11799).
5199 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5200 (byte-compile): Use it to fix compilation of lexical-binding closures.
5201 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5202 function, if needed.
5204 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * help-mode.el (help-make-xrefs): Don't just withstand
5207 cyclic-variable-indirection but any error in documentation-property.
5209 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5211 * bindings.el (bindings--define-key): New function.
5212 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5213 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5214 * bindings.el: Use it to purecopy define-key bindings.
5216 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5218 * emacs-lisp/cl.el (flet): Mark obsolete.
5219 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5220 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5221 * progmodes/js.el (js-c-fill-paragraph):
5222 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5223 (ebrowse-switch-member-buffer-to-derived-class):
5224 * play/5x5.el (5x5-solver): Use cl-flet.
5226 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5227 (cl--symbol-function): New macro.
5228 (cl--letf, cl--letf*): Use it.
5230 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5231 Strip "toggle-" if any.
5233 2012-06-27 Glenn Morris <rgm@gnu.org>
5235 * info.el (Info-default-directory-list): Move here from paths.el.
5236 * paths.el: Remove file, which is now empty.
5237 * loadup.el: No longer load "paths".
5239 * custom.el (custom-initialize-delay): Doc fix.
5241 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5242 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5243 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5244 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5245 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5246 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5247 * eshell/eshell.el (eshell-defgroup): Remove alias.
5249 2012-06-27 Chong Yidong <cyd@gnu.org>
5251 * help.el (help-enable-auto-load): New variable.
5253 * help-fns.el (help-fns--autoloaded-p): New function.
5254 (describe-function-1): Refer to a function as "autoloaded" if it
5255 was autoloaded at any time in the past. Perform autoloading if
5256 help-enable-auto-load is non-nil.
5258 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5260 * makefile.w32-in (compile, compile-always): Depend on
5261 update-subdirs, not on subdirs.el. Otherwise, several different
5262 sub-targets of 'bootstrap' running in parallel could
5263 simultaneously write to subdirs.el, producing a garbled file.
5265 2012-06-26 Sam Steingold <sds@gnu.org>
5267 * files.el (file-name-base): New convenience function.
5268 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5269 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5270 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5271 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5272 * textmodes/ispell.el, textmodes/reftex-ref.el:
5273 * textmodes/tex-mode.el: Use it.
5274 Did not touch cedet and org because they are maintained elsewhere.
5276 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5278 * calendar/calendar.el (calendar-exit): Don't try to delete or
5279 iconify last frame. See:
5280 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5282 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5284 * server.el (server-process-filter): Remember dir in the
5285 process's `server-client-directory' properties.
5287 2012-06-24 Chong Yidong <cyd@gnu.org>
5289 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5292 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5294 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5296 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * help-fns.el (describe-variable): Don't croak when doc is not found.
5299 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5300 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5301 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5302 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5303 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5305 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5307 2012-06-23 Chong Yidong <cyd@gnu.org>
5309 * info.el (Info-mouse-follow-link): Accept symbol values of
5310 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5311 (Info-fontify-node): Use Info-link-keymap for all navigation
5312 buttons, with link-args property to perform the desired action.
5313 (Info-link-keymap): Doc fix.
5314 (Info-next-link-keymap, Info-prev-link-keymap)
5315 (Info-up-link-keymap): Delete now-unused keymaps.
5317 2012-06-23 Chong Yidong <cyd@gnu.org>
5319 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5321 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5324 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5326 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5331 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5332 the requote function doesn't work properly (bug#11714).
5334 2012-06-23 Glenn Morris <rgm@gnu.org>
5336 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5338 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5340 Further GV/CL cleanups.
5341 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5343 (gv--defun-declaration): New function.
5344 (defun-declarations-alist): Use it.
5345 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5346 (gv-place): Autoload.
5347 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5348 original definition of dotimes and dolist.
5349 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5350 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5351 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5352 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5353 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5354 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5355 to the function's definition.
5356 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5360 * env.el: Don't use CL.
5362 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5364 Support higher-resolution time stamps (Bug#9000).
5366 * calendar/time-date.el (with-decoded-time-value): New arg
5367 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5368 (encode-time-value): New optional arg PICO. New type 3.
5369 (time-to-seconds) [!float-time]: Support the new picoseconds
5370 component if it's used.
5371 (seconds-to-time, time-subtract, time-add):
5372 Support ps-resolution time stamps as well.
5374 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5375 (timerp): Timer vectors now have length 9, not 8.
5376 (timer--time): Support new-style (4-part) time stamps.
5377 (timer-next-integral-multiple-of-time): Time stamps now have
5378 picosecond resolution, so take a bit more care about rounding.
5379 (timer-relative-time, timer-inc-time): New optional arg psecs.
5380 (timer-set-time-with-usecs): Set psecs to 0.
5381 (timer--activate): Check psecs component, too.
5383 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5385 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5387 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5388 Move the non-essential binding to the post/pre-command-hook where it is
5389 more obviously correct.
5391 * subr.el (read-passwd): Don't use a history at all.
5392 * savehist.el (savehist-save): Remove password saved accidentally
5393 because of the above bug.
5395 2012-06-22 Bastien Guerry <bzg@gnu.org>
5397 * files.el (toggle-read-only): Display a message telling whether
5398 the buffer is read-only or not (bug#11726).
5400 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5402 * emacs-lisp/gv.el: New file.
5403 * subr.el (push, pop): Extend to generalized variables.
5404 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5405 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5406 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5407 gv-define-simple-setter, and gv-define-expander.
5408 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5409 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5410 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5411 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5412 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5414 (cl-defstruct): Don't define setf-method any more.
5415 * emacs-lisp/cl.el (flet): Don't autoload.
5416 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5417 (define-setf-expander, defsetf, define-modify-macro)
5418 (cl-struct-setf-expander): Move from cl-lib.el.
5419 * emacs-lisp/syntax.el:
5420 * emacs-lisp/ewoc.el:
5421 * emacs-lisp/smie.el:
5422 * emacs-lisp/cconv.el:
5423 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5424 (timer--time): Use gv-define-simple-setter.
5425 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5426 to avoid coding-system problems in subr.el. Adjust all users.
5427 (macroexp--maxsize, macroexp-small-p): New functions.
5428 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5429 * scroll-bar.el (scroll-bar-mode):
5430 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5431 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5432 * winner.el (winner-configuration, winner-make-point-alist)
5433 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5434 * files.el (locate-file-completion-table): Avoid list*.
5436 2012-06-22 Chong Yidong <cyd@gnu.org>
5438 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5439 (dired-create-files): Doc fix (Bug#11329).
5440 (dired-do-copy): Doc fix (Bug#11334).
5441 (dired-mark-read-string): Doc fix (Bug#11553).
5443 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5444 Doc fix (Bug#11326).
5445 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5446 (dired-dwim-target): Doc fix.
5448 * wdired.el (wdired-mode): Doc fix.
5450 2012-06-22 Glenn Morris <rgm@gnu.org>
5452 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5453 (pcmpl-rpm-cache-stamp-file): New constant.
5454 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5455 (pcmpl-rpm-packages): Optionally cache list of packages.
5457 * pcmpl-rpm.el (pcmpl-rpm): New group.
5458 (pcmpl-rpm-query-options): New option.
5459 (pcmpl-rpm-packages): No need to inline it.
5460 Use pcmpl-rpm-query-options.
5462 * calendar/calendar.el (calendar-in-read-only-buffer):
5463 Avoid some needless mode changes.
5465 2012-06-21 Chong Yidong <cyd@gnu.org>
5467 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5468 (desktop-path): Remove . from the default value (Bug#10977).
5469 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5471 2012-06-20 Chong Yidong <cyd@gnu.org>
5473 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5475 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5477 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5480 2012-06-20 Chong Yidong <cyd@gnu.org>
5482 * term.el (term-window-width): Handle the case of a missing right
5484 (term-check-size): Use window-text-height (Bug#5445).
5485 (term-mode): Use define-derived-mode. Minor cleanups.
5486 Set font-lock-defaults (Bug#7692).
5487 (term-move-columns, term-insert-char, term-emulate-terminal)
5488 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5490 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5492 * net/ange-ftp.el (ange-ftp-get-passwd):
5493 Bind `enable-recursive-minibuffers'.
5494 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5496 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5498 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5500 2012-06-19 Glenn Morris <rgm@gnu.org>
5502 * progmodes/python.el (python-mode): Derive from prog-mode.
5504 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5506 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5507 (edt-user-menu-bar-update-buffers): New functions.
5508 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5510 2012-06-19 Chong Yidong <cyd@gnu.org>
5512 * subr.el (with-selected-window): Preserve the selected window's
5513 terminal's top-frame (Bug#4702).
5515 * window.el (save-selected-window): Likewise.
5517 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * progmodes/python.el (python-rx-constituents): Move backquote.
5520 (python-skeleton-define, python-define-auxiliary-skeleton):
5523 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5525 * minibuffer.el (read-file-name-default): Revert the patch from
5528 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5531 (pcase--u1, pcase--q1): Don't use apply-partially.
5533 2012-06-18 Glenn Morris <rgm@gnu.org>
5535 * progmodes/python.el (python-proc, python-buffer)
5536 (python-send-receive, python-send-string): Fix obsolete versions.
5538 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5540 * window.el (special-display-p): Completely remove stringp
5541 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5543 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5545 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5547 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5549 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5550 * net/tramp-sh.el (tramp-maybe-open-connection):
5551 Throw if `non-essential' is non-nil.
5553 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5555 * window.el (special-display-p): Signal an error if BUFFER-NAME
5556 is not a string (Bug#11713).
5558 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5560 * progmodes/python.el (python-info-beginning-of-backslash):
5561 Rename from python-info-beginning-of-backlash, as a spelling fix.
5563 2012-06-17 Chong Yidong <cyd@gnu.org>
5565 * term.el (term-emulate-terminal): If term-check-size is called,
5566 move point to the process mark without resetting point (Bug#4635).
5568 2012-06-17 Glenn Morris <rgm@gnu.org>
5570 * international/mule-cmds.el (mule-menu-keymap)
5571 (set-language-environment, set-locale-environment): Doc tweaks.
5573 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5575 * cus-face.el (custom-face-attributes): Add wave-style underline
5577 * faces.el (set-face-attribute): Update docstring to describe
5578 wave-style underline attribute.
5580 2012-06-16 Chong Yidong <cyd@gnu.org>
5582 * term/xterm.el (terminal-init-xterm): Discard input before
5583 querying background mode (Bug#10959).
5585 2012-06-16 Stefan Merten <smerten@oekonux.de>
5587 * textmodes/rst.el: Added and corrected some comments.
5588 (rst-re-alist-def): Improve symbol syntax.
5589 (rst-mode-syntax-table): Correct syntax entries.
5590 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5591 (rst-official-version, rst-official-cvs-rev): Update version
5594 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5596 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5597 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5599 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5601 * progmodes/python.el: New python.el merge.
5602 (python-guess-indent): Obsolete var.
5603 (python-indent-guess-indent-offset): New defcustom.
5604 (python-indent): Obsolete var.
5605 (python-indent-offset): New defcustom.
5606 (python-python-command, python-jython-command): Delete var.
5607 (python-shell-interpreter): New defcustom.
5608 (python-pdbtrack-do-tracking-p): Delete var.
5609 (python-pdbtrack-activate): New defcustom.
5610 (python-use-skeletons): Obsolete var.
5611 (python-skeleton-autoinsert): New defcustom.
5612 (inferior-python-filter-regexp, python-continuation-offset)
5613 (python-honour-comment-indentation, python-indent-string-contents)
5614 (python-jython-packages, python-mode-hook)
5615 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5616 (python-shell-prompt-alist)
5617 (python-source-modes): Delete defcustoms.
5618 (python-check-buffer-name, python-eldoc-setup-code)
5619 (python-eldoc-string-code, python-ffap-setup-code)
5620 (python-ffap-string-code, python-fill-comment-function)
5621 (python-fill-decorator-function, python-fill-paren-function)
5622 (python-fill-string-function, python-imenu-include-defun-type)
5623 (python-imenu-make-tree, python-imenu-subtree-root-label)
5624 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5625 (python-shell-compilation-regexp-alist)
5626 (python-shell-completion-module-string-code)
5627 (python-shell-completion-pdb-string-code)
5628 (python-shell-completion-setup-code)
5629 (python-shell-completion-string-code)
5630 (python-shell-enable-font-lock, python-shell-exec-path)
5631 (python-shell-extra-pythonpaths)
5632 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5633 (python-shell-process-environment)
5634 (python-shell-prompt-block-regexp)
5635 (python-shell-prompt-output-regexp)
5636 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5637 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5638 (python-shell-virtualenv-path): New defcustoms.
5639 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5640 (inferior-python-mode-syntax-table, python--prompt-regexp)
5641 (python-buffer, python-command python-python-command)
5642 (python-default-template, python-imports, python-indent-index)
5643 (python-indent-list, python-indent-list-length)
5644 (python-mode-running, python-pdbtrack-is-tracking-p)
5645 (python-preoutput-continuation, python-preoutput-leftover)
5646 (python-preoutput-result, python-preoutput-skip-next-prompt)
5647 (python-prev-dir/file, python-recursing)
5648 (python-saved-check-command, python-version-checked)
5649 (python-which-func-length-limit)
5650 (view-return-to-alist): Delete vars.
5651 (python-check-custom-command, python-dotty-syntax-table)
5652 (python-imenu-index-alist, python-indent-current-level)
5653 (python-indent-dedenters, python-indent-levels)
5654 (python-nav-beginning-of-defun-regexp)
5655 (python-nav-list-defun-positions-cache)
5656 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5657 (python-shell-internal-buffer)
5658 (python-skeleton-available): New vars.
5659 (def-python-skeleton): Delete macro.
5660 (python-skeleton-define): New macro.
5661 (python-define-auxiliary-skeleton, python-rx): New macros.
5662 (python-insert-class): Delete command.
5663 (python-skeleton-class): New command.
5664 (python-insert-def): Delete command.
5665 (python-skeleton-def): New command.
5666 (python-insert-for): Delete command.
5667 (python-skeleton-for): New command.
5668 (python-insert-if): Delete command.
5669 (python-skeleton-if): New command.
5670 (python-insert-try/except, python-insert-try/finally): Delete commands.
5671 (python-skeleton-try): New command.
5672 (python-insert-while): Delete command.
5673 (python-skeleton-while): New command.
5674 (python-backspace): Delete command.
5675 (python-indent-dedent-line-backspace): New command.
5676 (python-electric-colon): Delete command.
5677 (python-indent-electric-colon): New command.
5678 (python-guess-indent): Delete command.
5679 (python-indent-guess-indent-offset): New command.
5680 (python-shift-left): Delete command.
5681 (python-indent-shift-left): New command.
5682 (python-shift-right): Delete command.
5683 (python-indent-shift-right): New command.
5684 (python-find-function): Delete command.
5685 (python-nav-jump-to-defun): New command.
5686 (python-next-statement): Delete command.
5687 (python-nav-forward-sentence): New command.
5688 (python-previous-statement): Delete command.
5689 (python-nav-backward-sentence): New command.
5690 (python-fill-paragraph): Delete command.
5691 (python-fill-paragraph-function): New command.
5692 (python-send-buffer): Delete command.
5693 (python-shell-send-buffer): New command.
5694 (python-send-defun): Delete command.
5695 (python-shell-send-defun): New command.
5696 (python-send-region, python-send-region-and-go): Delete commands.
5697 (python-shell-send-region)
5698 (python-shell-switch-to-shell): New commands.
5699 (python-send-string): Delete command.
5700 (python-shell-send-string): New command.
5701 (python-switch-to-python): Delete command.
5702 (python-shell-switch-to-shell): New command.
5703 (python-describe-symbol): Delete command.
5704 (python-eldoc-at-point): New command.
5705 (python--set-prompt-regexp, python-args-to-list)
5706 (python-after-info-look, python-check-version)
5707 (python-check-comint-prompt, python-find-imports)
5708 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5709 (python-unload-function, python-expand-template)
5710 (python-maybe-jython, python-preoutput-filter)
5711 (python-pdbtrack-get-source-buffer)
5712 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5713 (python-pdbtrack-toggle-stack-tracking)
5714 (python-pdbtrack-track-stack-file, python-initial-text)
5715 (python-first-word, python-comment-line-p, python-send-command)
5716 (python-setup-brm, python-sentinel, python-set-proc)
5717 (python-skip-out, python-input-filter, python-outdent-p)
5718 (python-outline-level, python-backslash-continuation-line-p)
5719 (python-end-of-block, python-end-of-statement, python-mark-block)
5720 (python-beginning-of-block, python-beginning-of-statement)
5721 (python-blank-line-p, python-beginning-of-string)
5722 (python-open-block-statement-p): Delete functions.
5723 (python-indent-line, python-indent-line-1): Delete functions.
5724 (python-indent-line): New function.
5725 (python-indentation-levels): Delete function.
5726 (python-indent-calculate-levels): New function.
5727 (python-proc): Delete function.
5728 (python-shell-get-process): New function.
5729 (python-send-receive): Delete function.
5730 (python-shell-send-string-no-output): New function.
5731 (python-module-path): Delete function.
5732 (python-ffap-module-path): New function.
5733 (python-completion-at-point)
5734 (python-symbol-completions): Delete functions.
5735 (python-completion-complete-at-point): New function.
5736 (python-load-file): Delete function.
5737 (python-shell-send-file): New function.
5738 (python-calculate-indentation): Delete function.
5739 (python-indent-calculate-indentation): New function.
5740 (python-skip-comments/blanks): Delete function.
5741 (python-util-forward-comment): New function.
5742 (python-continuation-line-p): Delete function.
5743 (python-info-continuation-line-p): New function.
5744 (python-which-func, python-current-defun): Delete function.
5745 (python-info-current-defun): New function.
5746 (python-beginning-of-defun): Delete function.
5747 (python-nav-beginning-of-defun): New function.
5748 (python-close-block-statement-p)
5749 (python-block-end-p): Delete function.
5750 (python-info-closing-block): New function.
5751 (python-comint-output-filter-function)
5752 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5753 (python-fill-comment, python-fill-decorator, python-fill-paren)
5754 (python-fill-string, python-imenu-make-element-tree)
5755 (python-imenu-make-tree, python-imenu-tree-assoc)
5756 (python-indent-context, python-indent-dedent-line)
5757 (python-indent-line-function)
5758 (python-indent-post-self-insert-function)
5759 (python-indent-toggle-levels)
5760 (python-info-assignment-continuation-line-p)
5761 (python-info-beginning-of-backlash)
5762 (python-info-block-continuation-line-p)
5763 (python-info-closing-block-message)
5764 (python-info-line-ends-backslash-p)
5765 (python-info-looking-at-beginning-of-defun)
5766 (python-info-ppss-context, python-info-ppss-context-type)
5767 (python-nav-list-defun-positions, python-nav-read-defun)
5768 (python-nav-sentence-end, python-nav-sentence-start)
5769 (python-pdbtrack-comint-output-filter-function)
5770 (python-pdbtrack-set-tracked-buffer)
5771 (python-shell-calculate-exec-path)
5772 (python-shell-calculate-process-environment)
5773 (python-shell-completion--do-completion-at-point)
5774 (python-shell-completion--get-completions)
5775 (python-shell-completion-complete-at-point)
5776 (python-shell-completion-complete-or-indent)
5777 (python-shell-get-or-create-process)
5778 (python-shell-get-process-name)
5779 (python-shell-internal-get-or-create-process)
5780 (python-shell-internal-get-process-name)
5781 (python-shell-internal-send-string, python-shell-make-comint)
5782 (python-shell-parse-command, python-shell-send-setup-code)
5783 (python-skeleton-add-menu-items)
5784 (python-util-clone-local-variables, python-util-position)
5785 (run-python-internal, python-indentation-levels)
5786 (python-nav-beginning-of-defun)
5787 (python-completion-complete-at-point): New functions.
5788 (run-python): Change arguments. New API requirements.
5790 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5795 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5796 (macroexp--expand-all): Use it.
5798 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5799 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5800 Use `cl-function' instead.
5802 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5804 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5805 Suggested by Stefan Monnier while discussing bug#11657.
5807 2012-06-14 Sam Steingold <sds@gnu.org>
5809 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5811 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5813 * play/doctor.el (doctor-doc): Remove parameter and use
5814 doctor-sent instead of sent.
5815 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5817 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5819 * files.el: Require cl-lib.
5820 (file-name-non-special): Replace case -> cl-case.
5822 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5824 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5825 mapping from #' to function*.
5827 2012-06-13 Chong Yidong <cyd@gnu.org>
5829 * mouse.el (mouse-drag-track): Do not set the mark if the user
5830 releases the mouse without selecting anything (Bug#11588).
5832 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5835 as well (bug#11646).
5837 * loadup.el: Count byte-code functions as well.
5839 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5840 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5842 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5843 (bug#11649). Add cl-defun and cl-defmacro.
5845 2012-06-13 Drew Adams <drew.adams@oracle.com>
5847 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5850 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5852 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5853 Otherwise, it blocks in batch mode.
5855 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5857 * help-mode.el (bookmark-make-record-default): Declare.
5859 2012-06-13 Chong Yidong <cyd@gnu.org>
5861 * emacs-lisp/package.el (list-packages): Compute a list of
5862 packages that are newly-available since the last list-packages
5864 (package-menu--new-package-list): New var.
5865 (package-menu--generate, package-menu--print-info)
5866 (package-menu--status-predicate, package-menu-mark-install):
5867 Handle new status label "new".
5869 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5872 conversion to backquotes.
5874 2012-06-12 Chong Yidong <cyd@gnu.org>
5876 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5877 Rename from gud-inhibit-global-bindings.
5879 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5881 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5882 hook from nxml-glyph-set-hook.
5884 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5887 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5889 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5890 Convert to defcustom.
5892 2012-06-12 Drew Adams <drew.adams@oracle.com>
5894 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5896 (help-mode): Use them.
5898 2012-06-11 Glenn Morris <rgm@gnu.org>
5900 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5901 Use preprocessor face for directives.
5902 (fortran-directive-re): Doc fix.
5904 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5906 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5907 conversion to backquotes (bug#11652).
5909 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5910 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5911 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5912 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5913 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5914 (cl-ninth, cl-tenth): Mark them as inlinable.
5915 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5916 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5917 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5918 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5919 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5920 (cl-list*, cl-adjoin): Don't put an autoload manually.
5921 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5922 (cl--compiler-macro-list*): Add autoload cookie.
5923 (cl--compiler-macro-cXXr): New function.
5925 * help-fns.el (help-fns--compiler-macro): New function extracted from
5926 describe-function-1; follow aliases and use `compiler-macro' property.
5927 (describe-function-1): Use it.
5929 2012-06-11 Chong Yidong <cyd@gnu.org>
5931 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5932 is uninstalled, if imagemagick is installed.
5934 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * emacs-lisp/cl-lib.el: Use lexical-binding.
5937 (cl-map-extents, cl-maclisp-member): Remove.
5938 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5939 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5940 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5941 * emacs-lisp/cl-extra.el: Use lexical-binding.
5942 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5943 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5944 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5945 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5946 * emacs-lisp/cl-seq.el: Use lexical-binding.
5947 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5948 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5949 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5950 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5951 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5954 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5956 Sync with Tramp 2.2.6-pre.
5958 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5959 `print-length' and `print-level' to nil, in order to avoid
5960 truncation. Reported by Christopher Schmidt
5961 <christopher@ristopher.com>.
5963 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5965 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5967 (tramp-compat-copy-directory): Add optional argument
5968 COPY-CONTENTS. It is not handled yet.
5970 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5971 (tramp-ftp-file-name-p): Simplify.
5973 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5974 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5977 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5978 (tramp-methods): Do not use `tramp-password-end-of-line'.
5979 (tramp-completion-function-alist-putty): Handle UNIX case.
5980 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5981 (tramp-do-file-attributes-with-stat)
5982 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5983 gid as real numbers. They could run out of integer range on cygwin.
5984 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5985 (tramp-sh-handle-expand-file-name): Handle hops.
5986 (tramp-open-connection-setup-interactive-shell):
5987 Use `tramp-cleanup'. Move check for busyboxes ...
5988 (tramp-find-shell): ... here. Simplify implementation.
5989 Set "remote-shell" property also for alternative shells.
5990 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5991 If failing, a regular file would be written otherwise.
5992 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5993 (tramp-find-inline-encoding): Cache the coding commands in the
5994 process cache. Apply test command on the remote side, if defined.
5995 (tramp-find-inline-compress): Cache the compress commands in the
5997 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5998 when requested. Handle hops.
5999 (tramp-current-connection): New defvar.
6000 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6001 Throw `suppress', if there was a failed connection shortly before.
6002 Handle user interrupt. (Bug#10187)
6003 (tramp-get-inline-compress, tramp-get-inline-coding):
6004 Read connection properties from the process cache.
6006 * net/tramp-smb.el (tramp-smb-server-version)
6007 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6009 (tramp-smb-prompt): Extend for powershell prompt.
6010 (tramp-smb-file-name-handler-alist): Add handlers for
6011 `process-file', `shell-command' and `start-file-process'.
6012 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6013 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6014 (tramp-smb-file-name-p): Simplify.
6015 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6016 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6017 (tramp-smb-shell-quote-argument): New defuns.
6018 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6019 Implement using "tar". By this, time-stamps are preserved.
6020 (tramp-smb-handle-copy-file): Handle also the case of directories.
6021 (tramp-smb-do-file-attributes-with-stat)
6022 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6023 Use `tramp-get-connection-buffer').
6024 (tramp-smb-handle-rename-file): Use "rename", when source and
6025 target are on the same share.
6026 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6027 Use `tramp-smb-server-version'.
6028 (tramp-smb-wait-for-output): Remove prompt.
6030 * net/tramp.el (top): Require 'cl.
6031 (tramp-methods, tramp-rsh-end-of-line):
6032 Remove `tramp-password-end-of-line' from docstring.
6033 (tramp-save-ad-hoc-proxies): New defcustom.
6034 (tramp-completion-function-alist): Adapt docstring.
6035 (tramp-default-password-end-of-line): Remove defcustom.
6036 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6037 (tramp-user-regexp, tramp-file-name-regexp-unified)
6038 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6039 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6040 (tramp-remote-file-name-spec-regexp): New defconst.
6041 (tramp-file-name-structure): Extend structure for hops.
6042 (tramp-get-method-parameter): Move up.
6043 (tramp-file-name-p, tramp-dissect-file-name)
6044 (with-parsed-tramp-file-name): Handle hops.
6045 (tramp-file-name-hop): New defun.
6046 (tramp-make-tramp-file-name): New optional arg HOP.
6047 (tramp-message-show-progress-reporter-message): New defvar.
6048 (tramp-with-progress-reporter): Use it. We cannot use
6049 `tramp-message-show-message' here, because this suppresses also
6051 (tramp-error-with-buffer): Suppress buffer view, if
6052 `tramp-message-show-message' is nil.
6053 Use `tramp-get-connection-buffer'.
6054 (tramp-cleanup): New defun.
6055 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6056 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6058 (tramp-completion-handle-file-name-all-completions): Handle hops.
6059 Fix an error when called from ido.
6060 (tramp-completion-dissect-file-name): Use better local variable
6061 name. Add hop to the vector.
6062 (tramp-handle-insert-file-contents): Use progress-reporter for the
6064 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6066 (tramp-check-for-regexp): Simplify search.
6067 (tramp-enter-password): Remove it. Move implementation ...
6068 (tramp-action-password): ... here.
6069 (tramp-mode-string-to-int, tramp-local-host-p)
6070 (tramp-make-tramp-temp-file, tramp-read-passwd)
6071 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6072 Set tramp-autoload cookie.
6074 * net/trampver.el: Update release number.
6076 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6077 Michael Albinus <michael.albinus@gmx.de>
6079 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6080 (tramp-parse-group, tramp-parse-file)
6081 (tramp-parse-shostkeys-sknownhosts): New defuns.
6082 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6083 (tramp-parse-shosts-group, tramp-parse-sconfig)
6084 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6085 (tramp-parse-sknownhosts, tramp-parse-hosts)
6086 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6088 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6089 (tramp-parse-putty-group): Don't narrow.
6090 (tramp-parse-putty): Make a loop.
6091 (tramp-file-name-handler): Catch the `suppress' signal.
6093 2012-06-11 Chong Yidong <cyd@gnu.org>
6095 * image.el (imagemagick-register-types): Put the ImageMagick entry
6096 at the end of image-type-file-name-regexps.
6098 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6100 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6101 (pcase, pcase-let*, pcase-dolist): Use them.
6103 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6105 * emacs-lisp/pcase.el (pcase--let*): New function.
6106 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6107 (pcase--expand): Use macroexp-let².
6109 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6111 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6112 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6113 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6114 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6115 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6116 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6118 2012-06-10 Glenn Morris <rgm@gnu.org>
6120 * mail/rmail.el (rmail-yank-current-message): Leave point at
6121 correct position. (Bug#11660)
6123 2012-06-10 Chong Yidong <cyd@gnu.org>
6125 * allout-widgets.el: Fix code header.
6127 2012-06-10 Chong Yidong <cyd@gnu.org>
6129 * cus-edit.el (customize-changed-options-previous-release):
6132 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6134 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6136 2012-06-09 Chong Yidong <cyd@gnu.org>
6138 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6140 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6142 * window.el (special-display-popup-frame): Don't use
6143 window--display-buffer (Bug#11651).
6145 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6147 Fix parallel builds: make sure loaddefs.el is not being written
6148 while Lisp files are compiled.
6149 (compile): Don't depend on 'mh-autoloads'.
6150 (compile-CMD, compile-SH): Depend on 'autoloads'.
6151 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6153 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6155 2012-06-09 Chong Yidong <cyd@gnu.org>
6157 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6158 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6159 Doc fixes (Bug#11225).
6161 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6164 a function if there's a clear indication that it has a compiler-macro.
6165 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6166 (macro-declarations-alist): Add arglist to declaration functions.
6167 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6168 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6169 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6170 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6171 Also add autoload to find the compiler macro.
6172 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6173 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6174 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6175 (cl--compiler-macro-get): New functions, replacing calls to
6176 cl-define-compiler-macro.
6177 (cl-typep) [compiler-macro]: Use macroexp-let².
6179 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6181 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6182 string properly, fixes Bug#11473.
6184 2012-06-08 Chong Yidong <cyd@gnu.org>
6186 * faces.el (set-face-attribute): Doc fix.
6187 (modify-face): Don't use :bold and :italic.
6188 (error, warning, success): Tweak definitions.
6190 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6191 (custom-modified, custom-set, custom-changed, custom-themed)
6192 (custom-saved, custom-button, custom-button-mouse)
6193 (custom-button-pressed, custom-state, custom-comment-tag)
6194 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6195 (custom-group-subtitle): Use new-style face specs.
6196 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6197 (custom-set-face, custom-changed-face, custom-saved-face)
6198 (custom-button-face, custom-button-pressed-face)
6199 (custom-documentation-face, custom-state-face)
6200 (custom-comment-face, custom-comment-tag-face)
6201 (custom-variable-tag-face, custom-variable-button-face)
6202 (custom-face-tag-face, custom-group-tag-face-1)
6203 (custom-group-tag-face): Remove obsolete face alias.
6205 * epa.el (epa-validity-high, epa-validity-medium)
6206 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6207 (epa-field-name, epa-field-body):
6208 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6209 (font-lock-keyword-face, font-lock-builtin-face)
6210 (font-lock-function-name-face, font-lock-variable-name-face)
6211 (font-lock-type-face, font-lock-constant-face):
6212 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6213 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6214 * speedbar.el (speedbar-button-face, speedbar-file-face)
6215 (speedbar-directory-face, speedbar-tag-face)
6216 (speedbar-selected-face, speedbar-highlight-face)
6217 (speedbar-separator-face):
6218 * whitespace.el (whitespace-newline, whitespace-space)
6219 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6220 (whitespace-line, whitespace-space-before-tab)
6221 (whitespace-space-after-tab, whitespace-indentation)
6223 * emulation/cua-base.el (cua-global-mark):
6224 * eshell/em-prompt.el (eshell-prompt):
6225 * net/newst-plainview.el (newsticker-new-item-face)
6226 (newsticker-old-item-face, newsticker-immortal-item-face)
6227 (newsticker-obsolete-item-face, newsticker-date-face)
6228 (newsticker-statistics-face, newsticker-default-face):
6229 * net/newst-reader.el (newsticker-feed-face)
6230 (newsticker-extra-face, newsticker-enclosure-face):
6231 * net/newst-treeview.el (newsticker-treeview-face)
6232 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6233 (newsticker-treeview-immortal-face)
6234 (newsticker-treeview-obsolete-face)
6235 (newsticker-treeview-selection-face):
6236 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6237 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6238 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6239 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6240 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6241 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6242 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6244 * progmodes/vera-mode.el (vera-font-lock-number)
6245 (vera-font-lock-function, vera-font-lock-interface):
6246 * textmodes/table.el (table-cell): Use new-style face specs, and
6247 don't use the old :bold and :italic attributes.
6249 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6250 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6251 (ebrowse-member-class, ebrowse-progress): Likewise.
6252 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6253 (ebrowse-file-name-face, ebrowse-default-face)
6254 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6255 (ebrowse-progress-face): Remove obsolete faces.
6257 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6258 Inherit from error and warning faces respectively.
6260 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6262 (flyspell-incorrect-face, flyspell-duplicate-face):
6263 Remove obsolete aliases.
6265 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6267 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6270 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6272 * startup.el (argv, argi): Make lexically scoped.
6273 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6274 * emacs-lisp/cl-macs.el: Use lexical-binding.
6275 Rename cl-bind-* to cl--bind-*.
6276 * files.el: Don't require `cl' since it doesn't use it.
6277 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6279 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6281 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6282 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6283 instead of calling external sort utility.
6284 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6286 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6288 * descr-text.el (describe-char): Mention how to insert the
6289 character, if the current input method doesn't support it.
6290 See the discussion in this thread for the details:
6291 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6293 2012-06-08 Sam Steingold <sds@gnu.org>
6295 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6296 XF86Back to previous-buffer.
6297 (minibuffer-local-map): Bind them to next-history-element and
6298 previous-history-element respectively.
6299 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6300 help-go-back respectively.
6301 * info.el (Info-mode-map): Bind them to Info-history-forward and
6302 Info-history-back respectively.
6303 These are the keys next to Up on the ThinkPad keyboard.
6305 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6307 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6308 * emacs-lisp/cl-macs.el: Provide itself.
6309 (cl--labels-convert-cache): New var.
6310 (cl--labels-convert): New function.
6311 (cl-flet, cl-labels): New implementation with new semantics, relying on
6313 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6314 (cl-closure-vars, cl--function-convert-cache)
6315 (cl--function-convert): Move from cl-macs.el.
6316 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6317 rename by removing the "cl-" prefix.
6318 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6320 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6323 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6324 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6325 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6326 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6327 (cl-hash-table-count): Add old compatibility aliases.
6329 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6330 Use macroexpand-all-environment instead.
6331 (cl--old-macroexpand): New var.
6332 (cl--sm-macroexpand): New function.
6333 (cl-symbol-macrolet): Use it during macro expansion.
6334 (cl--function-convert-cache): New var.
6335 (cl--function-convert): New function, extracted from
6337 (cl-lexical-let): Use it.
6339 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6340 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6341 (cl-member): Remove old alias.
6343 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6344 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6345 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6346 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6347 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6348 (cl-macroexpand-cmacs): Remove var.
6349 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6350 Use macroexpand-all instead.
6352 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6354 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6355 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6356 (macroexp-copyable-p): New functions and macros.
6357 * emacs-lisp/edebug.el (edebug-unwrap):
6358 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6359 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6360 (pcase--let*): Remove.
6361 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6362 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6363 macroexp-const-p instead.
6364 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6366 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6367 instead of "cl-" for internal definitions. Use macroexp-const-p.
6368 (cl-old-bc-file-form): Remove var.
6369 (cl-const-exprs-p): Remove fun.
6370 (cl-labels, cl-macrolet): Use backquote.
6371 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6372 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6373 (cl-define-setf-expander): Rename from cl-define-setf-method.
6374 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6376 * international/mule-cmds.el: Don't require CL.
6377 (view-hello-file): Don't use `letf'.
6379 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6381 * tmm.el (tmm-prompt): Use string-prefix-p.
6382 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6383 (tmm-add-prompt): Use minibuffer-completion-help.
6384 (tmm-delete-map): Remove.
6386 * subr.el (kbd): Make it its own function.
6388 2012-06-07 Stefan Merten <smerten@oekonux.de>
6390 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6391 Silence compiler warnings. Fix versions.
6392 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6393 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6394 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6395 (rst-package-emacs-version-alist): Correct Emacs version to
6396 represent major merge with upstream.
6397 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6399 2012-06-06 Glenn Morris <rgm@gnu.org>
6401 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6402 Only print environment variables if set.
6404 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6406 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6407 (macroexp--cons): Rename from maybe-cons.
6408 (macroexp--accumulate): Rename from macroexp-accumulate.
6409 (macroexp--all-forms): Rename from macroexpand-all-forms.
6410 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6411 (macroexp--expand-all): Rename from macroexpand-all-1.
6413 2012-06-06 Sam Steingold <sds@gnu.org>
6415 * calendar/calendar.el (calendar-in-read-only-buffer):
6416 Call `special-mode' to enable the standard read-only keybindings.
6418 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6421 with "loading" messages (bug#11635).
6423 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6425 * files.el (enable-remote-dir-locals): New option.
6426 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6428 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6429 Ensure, that the temp directory is local.
6431 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6432 `temporary-file-directory'.
6434 * progmodes/python.el (python-send-region): Ensure, that the
6435 temporary file is created also in the remote case.
6437 2012-06-06 Glenn Morris <rgm@gnu.org>
6439 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6440 (vc-rcs-update-changelog): Use it.
6442 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6444 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6445 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6446 (vc-sccs-diff): Replace use of the external vcdiff script.
6448 2012-06-05 Glenn Morris <rgm@gnu.org>
6450 * ledit.el: Move to obsolete/.
6452 2012-06-05 Sam Steingold <sds@gnu.org>
6454 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6457 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6459 * emacs-lisp/cust-print.el: Move to obsolete.
6461 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6462 compiler-macro expansion.
6464 Add native compiler-macro support.
6465 * emacs-lisp/macroexp.el (macroexpand-all-1):
6466 Support compiler-macros directly. Properly follow aliases and apply
6467 the compiler macros more thoroughly.
6468 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6469 macroexpand now properly follows aliases.
6470 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6471 (cl-compiler-macroexpand): Use new prop.
6472 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6474 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6476 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6478 * window.el (get-lru-window, get-mru-window, get-largest-window):
6479 New argument NOT-SELECTED to avoid picking the selected window.
6480 (window--display-buffer-1, window--display-buffer-2): Replace by
6481 new function window--display-buffer
6482 (display-buffer-same-window, display-buffer-reuse-window)
6483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6484 Use window--display-buffer.
6485 (display-buffer-use-some-window): Remove temporary dedication
6486 hack by calling get-lru-window and get-largest-window with
6487 NOT-SELECTED argument non-nil. Call window--display-buffer.
6489 2012-06-05 Glenn Morris <rgm@gnu.org>
6491 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6492 Replace external vcdiff script.
6494 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6496 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6498 2012-06-04 Chong Yidong <cyd@gnu.org>
6500 * image.el (imagemagick-types-inhibit): Revert last change.
6502 (imagemagick-enabled-types): Remove CIN and EPS*.
6504 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * emacs-lisp/cl-lib.el: Rename from cl.el.
6507 * emacs-lisp/cl.el: New compatibility file.
6508 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6509 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6510 to obey the "cl-" prefix.
6511 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6513 2012-06-03 Glenn Morris <rgm@gnu.org>
6515 * emacs-lisp/authors.el (authors-aliases): Addition.
6517 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6520 2012-06-03 Stefan Merten <smerten@oekonux.de>
6522 * textmodes/rst.el: Add comments.
6523 (rst-transition, rst-adornment): New faces.
6524 (rst-adornment-faces-alist): Make default safe to reevaluate.
6526 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6527 Improve customization tags.
6528 (rst-define-level-faces): Clarify meaning.
6530 2012-06-03 Chong Yidong <cyd@gnu.org>
6532 * progmodes/compile.el (compilation-mode-line-fail)
6533 (compilation-mode-line-run, compilation-mode-line-exit):
6535 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6537 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6539 * progmodes/which-func.el (which-func-update-ediff-windows):
6540 New function. Use it in ediff-select-hook (Bug#11478).
6542 2012-06-03 Chong Yidong <cyd@gnu.org>
6544 * bindings.el: Remove explicit help text from format-mode-line.
6545 It is now supplied by mode-line-default-help-echo.
6546 (mode-line-front-space, mode-line-end-spaces)
6547 (mode-line-misc-info): New variables.
6548 (mode-line-modes, mode-line-position): Move the default value to
6549 the variable definition.
6550 (mode-line-default-help-echo): New defcustom.
6551 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6552 (mode-line-modified-help-echo): New functions.
6553 (mode-line-mule-info, mode-line-modified): Use them.
6554 (mode-line-eol-desc, propertized-buffer-identification):
6555 Consistency fixes for help text.
6556 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6557 set-buffer-file-coding-system (Bug#289).
6558 (mode-line-mule-info-help-echo): Update help text.
6560 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6562 * simple.el (execute-extended-command): Set real-this-command
6565 2012-06-02 Chong Yidong <cyd@gnu.org>
6567 Remove incorrect uses of "modeline" in comments, docstrings, and
6568 function/variable names (Bug#10329).
6570 * cus-edit.el (mode-line):
6571 * dframe.el (dframe-mouse-hscroll):
6572 * emacs-lisp/re-builder.el:
6573 * emacs-lisp/easy-mmode.el (define-minor-mode):
6574 * frame.el (set-frame-name):
6575 * help.el (lookup-minor-mode-from-indicator):
6576 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6577 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6578 (c-toggle-hungry-state):
6579 * progmodes/antlr-mode.el (antlr-language-alist):
6580 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6581 * progmodes/vhdl-mode.el (vhdl-mode):
6582 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6583 * term/ns-win.el (ns-face-at-pos):
6584 * term/sup-mouse.el (sup-mouse-report):
6585 * textmodes/flyspell.el (flyspell-mode-line-string):
6586 * textmodes/ispell.el (ispell-highlight-face):
6587 * textmodes/reftex-global.el:
6588 * vc/vc-arch.el (vc-arch-mode-line-string):
6589 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6590 * vc/vc-git.el (vc-git-mode-line-string):
6591 * vc/vc-hooks.el (vc-display-status)
6592 (vc-default-mode-line-string):
6593 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6595 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6597 * dired.el (dired-sort-set-mode-line): Rename from
6598 dired-sort-set-modeline. All callers changed.
6600 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6601 eshell-status-in-modeline.
6603 * foldout.el (foldout-mode-line-string): Rename from
6604 foldout-modeline-string. All callers changed.
6605 (foldout-update-mode-line): Rename from foldout-update-modeline.
6607 * subr.el (redraw-modeline): Make into obsolete alias.
6609 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6610 timeclock-modeline-display. Make old name an alias.
6611 (timeclock-update-mode-line): Likewise. All callers changed.
6612 (timeclock-mode-line-display): No need to check before using
6614 (timeclock-relative, timeclock-day-over-hook)
6615 (timeclock-use-elapsed, timeclock-mode-string)
6616 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6618 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6619 crisp-mode-modeline-string.
6621 * play/solitaire.el (solitaire-build-mode-line): Rename from
6622 solitaire-build-modeline. All callers changed.
6624 * play/zone.el (zone-hiding-mode-line): Rename from
6625 zone-hiding-modeline. All callers changed.
6626 (zone): Remove unusued `modeline-hidden-level' property.
6628 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6629 xscheme-modeline-initialize. All callers changed.
6631 * strokes.el (strokes-lighter): Rename from
6632 strokes-modeline-string.
6634 * textmodes/sgml-mode.el (html-face-tag-alist)
6635 (html-tag-face-alist): Use mode-line face instead of obsolete
6638 2012-06-02 Stefan Merten <smerten@oekonux.de>
6640 * textmodes/rst.el: Always require `cl'.
6641 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6643 2012-06-02 Chong Yidong <cyd@gnu.org>
6645 * image.el (imagemagick-enabled-types): Rename from
6646 imagemagick-types-enable. Add many more types.
6647 (imagemagick-types-inhibit): Change default to nil.
6648 (imagemagick-filter-types): Caller changed.
6650 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * emacs-lisp/cl-macs.el: Use backquotes.
6653 (cl-transform-function-property): Use eval-and-compile rather than
6655 (defstruct): Use declare-function instead of with-no-warnings.
6657 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6658 (byte-compile-output-docform): Re-add the print-circle bindings.
6659 (byte-compile-fix-header): Use #$ just because it's shorter.
6660 (byte-compile-output-file-form): Remove defun/defmacro.
6662 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6664 * simple.el (choose-completion): Remove now obsolete binding for
6667 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6669 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6670 in order to avoid "Stack overflow in regexp matcher".
6672 2012-05-31 Glenn Morris <rgm@gnu.org>
6674 * image.el: For clarity, call imagemagick-register-types at
6675 top-level, rather than relying on a custom :initialize.
6676 (imagemagick-types-enable): New option. (Bug#11557)
6677 (imagemagick-filter-types): New function. (Bug#7406)
6678 (imagemagick-register-types): Use imagemagick-filter-types.
6679 If disabling support, remove elements altogether rather
6680 than using an impossible regexp.
6681 (imagemagick-types-inhibit): Give it the default init function.
6683 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6686 Handle arbitrary file name lengths (Bug#11585).
6688 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6690 * desktop.el (desktop-read): Clear previous and next buffers for
6691 all windows and bury *Messages* buffer (bug#11556).
6693 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6695 Add `declare' for `defun'. Align `defmacro's with it.
6696 * emacs-lisp/easy-mmode.el (define-minor-mode)
6697 (define-globalized-minor-mode): Don't autoload the var definitions.
6698 * emacs-lisp/byte-run.el: Use lexical-binding.
6699 (defun-declarations-alist, macro-declarations-alist): New vars.
6700 (defmacro, defun): Use them.
6701 (make-obsolete, define-obsolete-function-alias)
6702 (make-obsolete-variable, define-obsolete-variable-alias):
6704 (macro-declaration-function): Mark obsolete.
6705 * emacs-lisp/autoload.el: Use lexical-binding.
6706 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6708 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6710 * textmodes/ispell.el (ispell-with-no-warnings):
6712 (ispell-kill-ispell, ispell-change-dictionary):
6713 Use `called-interactively-p' for Emacs instead of obsolete
6716 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6719 (macro-declaration-function): Move var from C code.
6720 (macro-declaration-function): Define function with defalias.
6721 * emacs-lisp/macroexp.el (macroexpand-all-1):
6722 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6723 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6724 defun/defmacro any more.
6725 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6726 Provide fallback for unknown arglist.
6727 (byte-compile-arglist-warn): Change calling convention.
6728 (byte-compile-output-file-form): Move print-vars binding.
6729 (byte-compile-output-docform): Simplify accordingly.
6730 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6731 (byte-compile-defmacro-declaration): Remove.
6732 (byte-compile-file-form-defmumble): Generalize to defalias.
6733 (byte-compile-output-as-comment): Return byte-positions.
6734 Simplify callers accordingly.
6735 (byte-compile-lambda): Use `assert'.
6736 (byte-compile-defun, byte-compile-defmacro): Remove.
6737 (byte-compile-file-form-defalias):
6738 Use byte-compile-file-form-defmumble.
6739 (byte-compile-defalias-warn): Remove.
6741 2012-05-29 Stefan Merten <smerten@oekonux.de>
6743 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6744 possible. Fix authors. Improve comments. Improve loading of `cl'.
6746 (rst-mode-abbrev-table): Merge definition.
6747 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6748 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6750 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6752 * calendar/icalendar.el
6753 (icalendar-export-region): Export UID properly.
6755 2012-05-29 Leo Liu <sdl.web@gmail.com>
6756 * calendar/icalendar.el (icalendar-import-format):
6757 Add `icalendar-import-format-uid' (Bug#11525).
6758 (icalendar-import-format-uid): New.
6759 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6762 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6765 different alternative patterns.
6766 (pcase-codegen): Be more careful to preserve identity.
6767 (pcase--u1): Don't forget to mark vars as used.
6769 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6770 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6771 (byte-compile-from-buffer): ...rather than here.
6773 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6774 functions from byte-compile-function-environment.
6776 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6778 * window.el (window-deletable-p): Avoid deleting the root window
6779 of a frame with an active minibuffer.
6781 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6783 * simple.el (choose-completion): Use quit-window (Bug#11567).
6785 2012-05-29 Chong Yidong <cyd@gnu.org>
6787 * whitespace.el (whitespace-cleanup): Fix usage of
6788 whitespace-empty-at-bob-regexp (Bug#11492).
6790 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6792 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6795 2012-05-29 Juri Linkov <juri@jurta.org>
6797 * isearch.el (isearch-mode-map): Bind `M-s _' to
6798 `isearch-toggle-symbol'. Bind `M-s c' to
6799 `isearch-toggle-case-fold'.
6800 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6801 (isearch-forward): Add `M-s _' to the docstring.
6802 (isearch-forward-symbol, isearch-toggle-case-fold)
6803 (isearch-symbol-regexp): New functions. (Bug#11381)
6805 2012-05-29 Juri Linkov <juri@jurta.org>
6807 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6808 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6809 a function, call it to get the regexp.
6810 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6811 property `isearch-message-prefix' instead of the string "word ".
6812 (isearch-search-fun-default): For the case of `isearch-word',
6813 return a lambda that calls re-search-forward/re-search-backward
6814 with a regexp returned by `word-search-regexp' or by the function
6817 2012-05-29 Juri Linkov <juri@jurta.org>
6819 * isearch.el (isearch-search-fun-default): New function.
6820 (isearch-search-fun): Move default part to the new function
6821 `isearch-search-fun-default'.
6822 (isearch-search-fun-function): Set the default value to
6823 `isearch-search-fun-default'. (Bug#11381)
6825 * comint.el (comint-history-isearch-end):
6826 Use `isearch-search-fun-default'.
6827 (comint-history-isearch-search): Use `isearch-search-fun-default'
6828 and remove spacial case for `isearch-word'.
6829 (comint-history-isearch-wrap): Remove spacial case for
6832 * hexl.el (hexl-isearch-search-function):
6833 Use `isearch-search-fun-default'.
6835 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6836 Use `word-search-regexp' for `isearch-word'.
6838 * misearch.el (multi-isearch-search-fun):
6839 Use `isearch-search-fun-default'.
6841 * simple.el (minibuffer-history-isearch-search):
6842 Use `isearch-search-fun-default' and remove spacial case for
6844 (minibuffer-history-isearch-wrap): Remove spacial case for
6847 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6848 Remove spacial case for `isearch-word'.
6849 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6851 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6853 Decrease XEmacs incompatibilities.
6854 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6856 (flyspell-delete-region-overlays): Use alternative definition for
6858 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6859 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6860 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6861 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6862 `define-obsolete-face-alias' under XEmacs, but old method.
6864 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6865 `with-no-warnings' definition or Emacs alias.
6866 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6867 (ispell-word): Do not use `region-p' if XEmacs.
6869 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6871 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6872 Check for `ispell-dictionary-base-alist' instead of full
6873 `ispell-dictionary-alist'.
6874 (ispell-init-process): Show spellchecker when starting new Ispell
6877 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6879 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6880 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6882 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6884 * version.el (motif-version-string, gtk-version-string)
6885 (ns-version-string): Declare.
6887 2012-05-27 Juri Linkov <juri@jurta.org>
6889 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6890 after the `eval-defun-1' specialcaseing
6891 like in `edebug-eval-defun' (bug#10181).
6893 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6894 like in `eval-defun-1'.
6896 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6898 * mail/sendmail.el (mail-yank-region):
6899 Recognize rmail-yank-current-message in addition to insert-buffer.
6900 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6901 a *mail* buffer created through rmail-start-mail with sendmail as
6904 2012-05-27 Chong Yidong <cyd@gnu.org>
6906 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6907 Default to 256 (Bug#11267).
6909 * help.el (describe-mode): Doc fix.
6911 2012-05-26 Glenn Morris <rgm@gnu.org>
6913 * w32-fns.el (w32-init-info): Remove.
6914 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6916 * info.el (info-initialize): For self-contained NS builds, put the
6917 included info/ directory at the front. (Bug#2791)
6919 * paths.el (Info-default-directory-list): Make it a defcustom,
6920 mainly so that we can use custom-initialize-delay.
6922 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * subr.el (buffer-has-markers-at): Mark obsolete.
6926 * subr.el (lambda): Use declare.
6928 * emacs-lisp/lisp-mode.el (lambda):
6929 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6931 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6933 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6935 2012-05-26 Glenn Morris <rgm@gnu.org>
6937 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6939 2012-05-25 Glenn Morris <rgm@gnu.org>
6941 * paths.el: Remove no-byte-compile.
6942 * loadup.el: No need to load paths.el uncompiled.
6944 * image.el (imagemagick-types-inhibit): Doc fix.
6946 * version.el: Remove no-byte-compile and associated formatting.
6947 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6948 is ancient code from when there was an "inc-vers.el".
6950 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * progmodes/gdb-mi.el: Minor style changes.
6953 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6954 Turn into minor modes.
6955 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6956 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6957 (gdb-shell): Remove unneeded let-binding.
6958 (gdb-get-many-fields): Eliminate O(n²) behavior.
6960 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6962 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6963 platforms that don't link in fontset.c.
6965 2012-05-25 Juri Linkov <juri@jurta.org>
6967 Use the same diff color scheme as in modern VCSes (bug#10181).
6969 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6970 to avoid confusion with `diff-added' that now uses green colors.
6971 (diff-removed): Use shades of red.
6972 (diff-added): Use shades of green.
6973 (diff-changed): Leave just the yellow color.
6974 (diff-use-changed-face): New variable.
6975 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6976 how to highlight context diff changes.
6977 (diff-refine-change): Use shades of yellow.
6978 (diff-refine-removed): New face that uses shades of red.
6979 (diff-refine-added): New face that uses shades of green.
6980 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6981 `diff-refine-removed' in the call to `smerge-refine-subst'
6982 depending on the value of `diff-use-changed-face'.
6984 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6985 (smerge-other): Use shades of green.
6986 (smerge-base): Use shades of yellow.
6987 (smerge-refined-change): Empty face.
6988 (smerge-refined-removed): New face that uses shades of red.
6989 (smerge-refined-added): New face that uses shades of green.
6990 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6991 args `props-r' and `props-a', and use them. Doc fix.
6992 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6993 on its value use different faces `smerge-refined-change',
6994 `smerge-refined-removed', `smerge-refined-added' in the call to
6995 `smerge-refine-subst'.
6997 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6998 Add face condition `min-colors 88' with shades of red.
6999 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7000 `min-colors 88' with shades of green.
7001 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7002 `min-colors 88' with shades of yellow.
7004 2012-05-24 Glenn Morris <rgm@gnu.org>
7006 * paths.el (prune-directory-list, remote-shell-program): Move to...
7007 * files.el (prune-directory-list, remote-shell-program): ...here.
7008 For the latter, delay initialization, prefer ssh, just search PATH.
7010 * paths.el (term-file-prefix): Move to faces.el (the only user).
7011 * faces.el (term-file-prefix): Move here, make it a defcustom.
7013 * paths.el (news-directory, news-path, news-inews-program):
7014 Move to gnus/nnspool.el.
7016 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7018 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7019 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7020 Make the latter a defcustom, with a delayed initialization.
7022 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7023 These were deleted from Gnus itself late 2010.
7025 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7027 * progmodes/which-func.el (which-func-ff-hook):
7028 Check against user-error, not error.
7030 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7031 cl-specs.el, which no longer exists.
7033 2012-05-22 Glenn Morris <rgm@gnu.org>
7035 * info.el (info-emacs-bug): New command.
7036 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7037 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7039 2012-05-21 Glenn Morris <rgm@gnu.org>
7041 * makefile.w32-in (update-subdirs-SH):
7042 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7044 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7048 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7049 Simplify Maven regexp, and make sure the file can't start with a space
7052 2012-05-21 Glenn Morris <rgm@gnu.org>
7054 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7055 Scrap superfluous subshells.
7057 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7060 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7062 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7064 * calc/calc.el (calc-ensure-consistent-units): New variable.
7066 * calc/calc-units.el (math-consistent-units-p)
7067 (math-check-unit-consistency): New functions.
7068 (calc-quick-units, calc-convert-units):
7069 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7071 (calc-extract-units): Fix typo.
7073 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7075 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7077 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7078 (flyspell-default-deplacement-commands): Don't spell check after
7079 repeated window/frame switches (e.g. triggered by mouse-movement).
7080 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7081 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7082 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7083 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7085 (flyspell-get-casechars, flyspell-get-not-casechars):
7086 Simplify; Don't bother removing a ] just to add it back.
7087 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7089 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7091 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7093 (math-function-table): Add support for more C functions.
7095 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7097 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7098 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7099 Protect delay handling for otherchars against empty otherchars.
7101 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7104 their respective macro declarations.
7105 * skeleton.el (define-skeleton):
7106 * progmodes/compile.el (define-compilation-mode):
7107 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7108 (define-ibuffer-filter):
7109 * emacs-lisp/generic.el (define-generic-mode):
7110 * emacs-lisp/easy-mmode.el (define-minor-mode)
7111 (define-globalized-minor-mode):
7112 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7113 * emacs-lisp/byte-run.el (defsubst):
7114 * custom.el (deftheme): Add doc-string metadata.
7116 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7120 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7124 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7125 * emacs-lisp/cl-macs.el: Idem.
7126 * emacs-lisp/cl-specs.el: Remove.
7128 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7130 Minor renaming of internal CL functions and variables.
7131 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7132 (cl--position): Rename from cl-position.
7133 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7134 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7135 (cl--random-state): Rename from *random-state*.
7137 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7139 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7140 parens around the arg list (bug#11499).
7142 2012-05-17 Juri Linkov <juri@jurta.org>
7144 * isearch.el (word-search-regexp, word-search-backward)
7145 (word-search-forward, word-search-backward-lax)
7146 (word-search-forward-lax): Move functions from search.c
7147 (bug#10145, bug#11381).
7149 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7151 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7152 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7153 Delay for otherchars as for normal word components.
7155 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * minibuffer.el (completion--sifn-requote): Fix last change.
7158 (minibuffer-local-must-match-filename-map):
7159 Move define-obsolete-variable-alias before its var.
7161 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7165 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7167 (completion--string-equal-p): New function.
7168 (completion--twq-all): Use it to get better assertion failure data.
7170 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7171 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7172 (shell--requote-argument): New functions.
7173 (shell-completion-vars): Use them.
7174 (shell--parse-pcomplete-arguments): Rename from
7175 shell-parse-pcomplete-arguments.
7176 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7177 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7178 Obey comint-file-name-quote-list.
7180 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7181 (smie-indent-keyword): Use it.
7183 2012-05-14 Stefan Merten <smerten@oekonux.de>
7185 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7187 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * net/rlogin.el (rlogin-mode-map): Fix last change.
7191 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7193 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7194 the following \r\n using a single `process-send-string', since the
7195 Lotus SMTP server refuses to accept any commands if they are sent
7196 with two `process-send-string's (Bug#11444).
7198 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * shell.el (shell-parse-pcomplete-arguments):
7201 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7203 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7205 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7206 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7207 (image-transform-width, image-transform-fit-width): New functions.
7208 (image-transform-properties): Use them.
7209 (image-transform-check-size): New function.
7210 (image-toggle-display-image): Use it (for testing).
7211 (image-transform-set-rotation): Reduce angle mod 360.
7212 Delete obsolete comment.
7214 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7216 * image-mode.el: Fix scaling (bug#11399).
7217 (image-transform-resize): Doc fix.
7218 (image-transform-properties): Default scale is 1 and height should
7221 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7223 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7224 than hard-coding `car', to fix misbehavior when moving forward.
7226 2012-05-13 Chong Yidong <cyd@gnu.org>
7228 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7229 (tabulated-list-entries, tabulated-list-padding)
7230 (tabulated-list-sort-key): Make permanent-local.
7232 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7233 (electric-buffer-list): Put electric buffer menu
7234 command descriptions in this docstring, instead of the docstring
7235 of electric-buffer-menu-mode. Code cleanups.
7236 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7237 Electric-buffer-menu-mode.
7238 (electric-buffer-update-highlight): Minor code cleanup.
7240 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7242 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7245 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7247 Move define-obsolete-variable-alias before the var's definition.
7248 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7249 * tooltip.el (tooltip-hook):
7250 * textmodes/reftex-toc.el (reftex-toc-map):
7251 * textmodes/reftex-sel.el (reftex-select-label-map)
7252 (reftex-select-bib-map):
7253 * textmodes/reftex-index.el (reftex-index-map)
7254 (reftex-index-phrases-map):
7255 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7256 * progmodes/meta-mode.el (meta-mode-map):
7257 * novice.el (disabled-command-hook):
7258 * loadhist.el (unload-hook-features-list):
7259 * frame.el (blink-cursor):
7260 * files.el (find-file-not-found-hooks, write-file-hooks)
7261 (write-contents-hooks):
7262 * emulation/tpu-edt.el (GOLD-map):
7263 * emacs-lock.el (emacs-lock-from-exiting):
7264 * emacs-lisp/generic.el (generic-font-lock-defaults):
7265 * emacs-lisp/chart.el (chart-map):
7266 * dos-fns.el (register-name-alist):
7267 * dired-x.el (dired-omit-files-p):
7268 * desktop.el (desktop-enable):
7269 * cus-edit.el (custom-mode-hook):
7270 * buff-menu.el (buffer-menu-mode-hook):
7271 * bookmark.el (bookmark-read-annotation-text-func)
7272 (bookmark-exit-hooks):
7273 * allout.el (allout-mode-deactivate-hook)
7274 (allout-exposure-change-hook, allout-structure-added-hook)
7275 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7276 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7277 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7278 comes before the corresponding variable's definition.
7280 2012-05-12 Chong Yidong <cyd@gnu.org>
7282 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7283 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7284 (Buffer-menu-mode-map): Bind it.
7285 (Buffer-menu--pretty-name): Add a mouse-face property.
7287 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7289 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7290 (prolog-upper-case-string, prolog-lower-case-string)
7291 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7292 (prolog-use-smie, prolog-smie-grammar): New vars.
7293 (prolog-smie-forward-token, prolog-smie-backward-token)
7294 (prolog-smie-rules): New funs.
7295 (prolog-comment-indent): Remove.
7296 (prolog-mode-variables): Use default comment indentation instead.
7298 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7299 (prolog-mode): Don't call them any more.
7300 (prolog-electric-colon, prolog-electric-dash)
7301 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7303 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7305 * minibuffer.el (completion--twq-all): Again, allow case differences.
7307 * term.el: Move keymap initialization code to be more idiomatic.
7308 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7309 (term-terminal-menu): Move initialization into declaration.
7310 (term-escape-char): Let the user set it in her .emacs.
7312 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7313 Provide SMIE-based indentation (not enabled by default yet).
7314 (sh-mode-map): Don't bind electric keys.
7315 Use electric-pair-mode instead of skeleton-pair.
7316 (sh-assignment-regexp): Fit within 80 columns.
7317 (sh-indent-supported): Specify actual shell name instead of boolean.
7318 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7319 (sh-maybe-here-document): Use it. Make obsolete.
7320 (sh-electric-here-document-mode) New minor mode.
7321 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7322 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7323 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7324 (sh-smie-rc-grammar, sh-use-smie): New vars.
7325 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7326 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7327 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7328 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7329 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7330 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7331 (sh-set-shell): Use smie-setup if requested.
7333 * term.el (term-set-escape-char): Properly set term-escape-char.
7334 See http://stackoverflow.com/questions/10524656.
7336 2012-05-10 Chong Yidong <cyd@gnu.org>
7338 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7339 Use url-generic-parse-url, and handle host names and Windows
7341 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7342 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7343 URL schemes to work on.
7344 (ffap--toggle-read-only): New function.
7345 (ffap-read-only, ffap-read-only-other-window)
7346 (ffap-read-only-other-frame): Use it.
7347 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7348 necessary for ffap-url-unwrap-remote.
7350 2012-05-10 Dave Abrahams <dave@boostpro.com>
7352 * cus-start.el (create-lockfiles): Add it.
7354 2012-05-09 Chong Yidong <cyd@gnu.org>
7356 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7357 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7359 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7361 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7363 2012-05-09 Chong Yidong <cyd@gnu.org>
7365 * ansi-color.el (ansi-color-process-output): Check for validity of
7366 comint-last-output-start before using it. This avoids a bad
7367 interaction with gdb-mi's input/output buffer.
7369 2012-05-09 Glenn Morris <rgm@gnu.org>
7371 * files.el (dir-locals-read-from-file):
7372 Mention dir-locals in any error message.
7374 2012-05-09 Chong Yidong <cyd@gnu.org>
7376 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7377 package (Bug#11410).
7379 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7380 variables into description.
7382 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7385 shell-delimiter-argument-list (bug#11348).
7386 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7388 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7390 * textmodes/rst.el: Silence byte-compiler warnings.
7391 (rst-re-alist, rst-reset-section-caches): Move around.
7392 (rst-re): Use `characterp', not `char-valid-p'.
7393 (font-lock-beg, font-lock-end): Declare.
7395 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7396 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7398 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7400 2012-05-08 Glenn Morris <rgm@gnu.org>
7402 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7404 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7406 * vc/log-edit.el: Add GNU coding standards highlighting.
7407 (log-edit-font-lock-gnu-style)
7408 (log-edit-font-lock-gnu-keywords): New vars.
7409 (log-edit-font-lock-keywords): New fun.
7410 (log-edit-mode): Don't fold case in font-lock.
7411 (log-edit-font-lock-keywords): Do not assume case-folding.
7413 * imenu.el: Misc cleanup. Make docstrings out of comments.
7414 Use lexical-binding.
7415 (imenu--index-alist, imenu--last-menubar-index-alist)
7416 (imenu-menubar-modified-tick): Use defvar-local.
7417 (imenu--split-menu): Remove unused var.
7418 (imenu--cleanup-seen): Declare as global.
7419 (imenu--cleanup): Use dolist.
7421 * subr.el (defvar-local): Add debug spec and doc-string position.
7423 2012-05-08 Glenn Morris <rgm@gnu.org>
7425 * language/burmese.el, language/cham.el, language/czech.el:
7426 * language/english.el, language/georgian.el, language/greek.el:
7427 * language/japanese.el, language/khmer.el, language/korean.el:
7428 * language/lao.el, language/misc-lang.el, language/romanian.el:
7429 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7430 * language/thai.el, language/utf-8-lang.el:
7431 Remove no-byte-compile setting.
7433 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7435 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7437 * progmodes/make-mode.el (makefile-browse):
7438 Remove unnecessary interactive. (Bug#11324)
7440 2012-05-07 Glenn Morris <rgm@gnu.org>
7442 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7444 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7446 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7448 * loadup.el: Preload newcomment.el.
7449 * newcomment.el: Move autoload-only code to toplevel.
7451 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7452 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7453 Handle new :right-align column property.
7454 (tabulated-list-print-col): Idem, plus use `display' text-property to
7455 try and preserve alignment for variable pitch fonts.
7457 2012-05-07 Chong Yidong <cyd@gnu.org>
7459 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7460 (tabulated-list-use-header-line): New var.
7461 (tabulated-list-init-header): Use it.
7462 (tabulated-list-print-fake-header): New function.
7463 (tabulated-list-print): Use it.
7464 (tabulated-list-sort-button-map): Add non-header-line commands.
7465 (tabulated-list-init-header): Add column name property to basic
7467 (tabulated-list-col-sort): Handle non-header-line button case.
7468 (tabulated-list--sort-by-column-name): Fix a corner case.
7470 * buff-menu.el (list-buffers--refresh):
7471 Handle Buffer-menu-use-header-line.
7473 2012-05-06 Chong Yidong <cyd@gnu.org>
7475 * buff-menu.el: Convert to Tabulated List mode.
7476 (Buffer-menu-buffer+size-width): Make obsolete.
7477 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7478 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7479 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7480 documentation into docstring of buffer-menu.
7481 (Buffer-menu-toggle-files-only): Add an informative message.
7482 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7483 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7484 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7485 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7486 (Buffer-menu-execute, Buffer-menu-select)
7487 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7488 (Buffer-menu-bury): Use Tabulated List machinery.
7489 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7490 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7492 (list-buffers--refresh): New function.
7493 (list-buffers-noselect): Use it.
7494 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7495 (Buffer-menu--pretty-file-name): New helper functions.
7497 * loadup.el: Preload tabulated-list.
7499 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7500 tabulated-list-sort-column.
7501 (tabulated-list-init-header): Add the initial aligning space even
7502 if tabulated-list-padding is zero.
7504 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7506 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7507 whose cdr is not a cons cell correctly (bug#11038).
7509 2012-05-06 Chong Yidong <cyd@gnu.org>
7511 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7512 Accept additional plist in column descriptors.
7513 (tabulated-list-init-header): Obey it.
7514 (tabulated-list-get-entry): New function.
7515 (tabulated-list-put-tag): Use it. Use string-width instead of
7517 (tabulated-list--column-number): New function.
7518 (tabulated-list-print): Use it.
7519 (tabulated-list-print-col): New function.
7520 Set `tabulated-list-column-name' property on each column's text.
7521 (tabulated-list-print-entry): Use it.
7522 (tabulated-list-delete-entry, tabulated-list-set-col):
7524 (tabulated-list-sort-column): New command (Bug#11337).
7526 * buff-menu.el (list-buffers): Move C-x C-b binding from
7527 buff-menu.el to bindings.el.
7529 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7530 :advertised-binding feature.
7532 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7534 * progmodes/compile.el (compilation-internal-error-properties):
7535 Calculate start position correctly when end-col is set but
7536 end-line is not (Bug#11382).
7538 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7540 * man.el (Man-unindent): Use text-property-default-nonsticky to
7541 prevent untabify from inheriting face properties (Bug#11408).
7543 2012-05-05 Stefan Merten <smerten@oekonux.de>
7545 * textmodes/rst.el: Major merge with upstream development up to
7546 Docutils SVN r7399 / rst.el V1.2.1.
7548 Clarify maintainership and authors.
7550 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7551 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7552 (rst-official-version, rst-official-cvs-rev, rst-version)
7553 (rst-package-emacs-version-alist): New functions and variables
7554 for version information.
7556 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7557 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7558 (rst-mode-syntax-table, rst-mode): New and corrected functions
7559 and variables representing reStructuredText features.
7561 (rst-re): New function for reStructuredText regexes. Use in
7564 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7565 (rst-mode-map): Rebind keys.
7567 (rst-mode-lazy, rst-font-lock-keywords)
7568 (rst-font-lock-extend-region)
7569 (rst-font-lock-extend-region-internal)
7570 (rst-font-lock-extend-region-extend)
7571 (rst-font-lock-find-unindented-line-limit)
7572 (rst-font-lock-find-unindented-line-match)
7573 (rst-adornment-level, rst-font-lock-adornment-level)
7574 (rst-font-lock-adornment-match)
7575 (rst-font-lock-handle-adornment-pre-match-form)
7576 (rst-font-lock-handle-adornment-matcher): Major revision of
7577 font-locking. Integrate with other code. Use `jit-lock-mode'.
7579 (rst-preferred-adornments, rst-adjust-hook)
7580 (rst-new-adornment-down, rst-preferred-bullets)
7581 (rst-preferred-bullets, rst-indent, rst-indent-width)
7582 (rst-indent-field, rst-indent-literal-normal)
7583 (rst-indent-literal-minimized, rst-indent-comment): Change,
7584 extend and improve customization.
7586 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7587 (rst-normalize-cursor-position, rst-get-decoration)
7588 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7589 (rst-rstrip, rst-toc-insert-find-delete-contents)
7590 (rst-shift-fill-region, rst-compute-bullet-tabs)
7591 (rst-debug-print-tabs, rst-debug-mark-found)
7592 (rst-shift-region-guts, rst-shift-region-right)
7593 (rst-shift-region-left, rst-use-char-classes)
7594 (rst-font-lock-keywords-function)
7595 (rst-font-lock-indentation-point)
7596 (rst-font-lock-find-unindented-line-begin)
7597 (rst-font-lock-find-unindented-line-end)
7598 (rst-font-lock-find-unindented-line)
7599 (rst-font-lock-adornment-point, rst-font-lock-level)
7600 (rst-adornment-level-alist): Remove functions and variables.
7602 (rst-compare-adornments, rst-get-adornment-match)
7603 (rst-suggest-new-adornment, rst-get-adornments-around)
7604 (rst-adornment-complete-p, rst-get-next-adornment)
7605 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7606 (rst-straighten-adornments): Standardize function names to
7607 use "adornment" instead of "decoration". Correct callers.
7608 Similar standardizing in many places.
7610 (rst-update-section, rst-adjust, rst-promote-region)
7611 (rst-enumerate-region, rst-bullet-list-region)
7612 (rst-repeat-last-character): Correct use of `interactive'.
7614 (rst-classify-adornment, rst-find-all-adornments)
7615 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7616 (rst-find-leftmost-column, rst-repeat-last-character):
7619 (rst-find-title-line, rst-reset-section-caches)
7620 (rst-get-adornments-around, rst-adjust-adornment-work)
7621 (rst-arabic-to-roman, rst-roman-to-arabic)
7622 (rst-insert-list-pos, rst-insert-list-new-item)
7623 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7626 (rst-all-sections, rst-section-hierarchy)
7627 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7630 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7631 configuration instead of only buffer. Change where necessary.
7633 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7634 (rst-shift-region, rst-adaptive-fill): New functions for
7635 indentation and filling.
7637 (rst-comment-line-break, rst-comment-indent)
7638 (rst-comment-insert-comment, rst-comment-region)
7639 (rst-uncomment-region): New functions for handling comments.
7641 (rst-compile): Quote shell arguments.
7643 (rst-compile-pdf-preview, rst-compile-slides-preview):
7644 Delete temporary files after use.
7646 2012-05-05 Glenn Morris <rgm@gnu.org>
7648 * calendar/cal-html.el: Optionally include holidays in the output.
7649 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7650 (cal-html-holidays): New option.
7651 (cal-html-css-default): Add holiday entry.
7652 (holiday-in-range): Autoload it.
7653 (cal-html-htmlify-entry): Add optional class argument.
7654 (cal-html-htmlify-list): Add optional holidays argument.
7655 (cal-html-insert-agenda-days): Include holidays in the output.
7656 (cal-html-one-month): Maybe include holidays.
7658 * calendar/holidays.el (holiday-in-range):
7659 Move here from cal-tex-list-holidays.
7660 * calendar/cal-tex.el (cal-tex-list-holidays):
7661 Make it an obsolete alias for holiday-in-range. Update all callers.
7663 2012-05-05 Chong Yidong <cyd@gnu.org>
7665 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7668 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7670 * files.el (file-auto-mode-skip): New var.
7671 (set-auto-mode-1): Use it.
7673 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * repeat.el: Use lexical-binding.
7676 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7677 (repeat-undo-count): Remove.
7679 * progmodes/octave-mod.el (octave-abbrev-start):
7680 * progmodes/f90.el (f90-abbrev-start):
7681 * face-remap.el (text-scale-adjust):
7682 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7684 * emacs-lisp/pcase.el (pcase--let*): New function.
7685 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7687 (pcase--split-pred): Be more clever about ruling out overlap between
7688 a predicate and some constant pattern.
7689 (pcase--q1): Use `null' instead of (eq foo nil).
7691 * subr.el (setq-local, defvar-local): New macros.
7692 (kbd): Redefine as an alias.
7693 (with-selected-window): Leave unrelated frames alone.
7694 (set-temporary-overlay-map): New function.
7696 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * subr.el (user-error): New function.
7699 * window.el (switch-to-buffer):
7700 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7701 (smerge-match-conflict):
7702 * simple.el (previous-matching-history-element)
7703 (next-matching-history-element, goto-history-element, undo-more)
7705 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7706 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7707 (next-file, tags-loop-scan, list-tags, complete-tag):
7708 * progmodes/compile.el (compilation-loop):
7709 * mouse.el (mouse-minibuffer-check):
7710 * man.el (Man-bgproc-sentinel, Man-goto-page):
7711 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7712 (Info-history-forward, Info-follow-reference, Info-menu)
7713 (Info-extract-menu-item, Info-extract-menu-counting)
7714 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7715 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7716 (Info-next-reference, Info-prev-reference, Info-index)
7717 (Info-index-next, Info-follow-nearest-node)
7718 (Info-copy-current-node-name):
7719 * imenu.el (imenu--make-index-alist)
7720 (imenu-default-create-index-function, imenu-add-to-menubar):
7721 * files.el (basic-save-buffer, recover-file):
7722 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7723 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7724 (checkdoc-message-text, checkdoc-defun):
7725 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7726 * cus-edit.el (customize-changed-options, customize-rogue)
7727 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7728 (custom-variable-mark-to-reset-standard)
7729 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7731 * completion.el (check-completion-length):
7732 * comint.el (comint-search-arg)
7733 (comint-previous-matching-input-string-position)
7734 (comint-previous-matching-input)
7735 (comint-replace-by-expanded-history-before-point, comint-send-input)
7736 (comint-copy-old-input, comint-backward-matching-input)
7737 (comint-goto-process-mark, comint-set-process-mark):
7738 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7739 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7741 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7743 * dabbrev.el (dabbrev--ignore-case-p): New function.
7744 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7747 * files.el (automount-dir-prefix): Mark as obsolete.
7749 2012-05-04 Glenn Morris <rgm@gnu.org>
7751 * patcomp.el, play/bruce.el: Move to obsolete/.
7753 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7755 Fix minor Y10k bugs.
7756 * arc-mode.el (archive-unixdate):
7757 * autoinsert.el (auto-insert-alist):
7758 * calc/calc-forms.el (math-this-year):
7759 * emacs-lisp/copyright.el (copyright-current-year)
7760 (copyright-update-year, copyright):
7761 * tar-mode.el (tar-clip-time-string):
7762 * time.el (display-time-update):
7763 Don't assume years have 4 digits.
7765 2012-05-04 Chong Yidong <cyd@gnu.org>
7767 * dos-w32.el (file-name-buffer-file-type-alist)
7768 (direct-print-region-use-command-dot-com):
7769 * ffap.el (ffap-menu-regexp):
7770 * find-file.el (ff-special-constructs):
7771 * follow.el (follow-debug):
7772 * forms.el (forms--debug):
7773 * iswitchb.el (iswitchb-all-frames):
7774 * ido.el (ido-all-frames):
7775 * emacs-lisp/timer.el (timer-max-repeats):
7776 * mail/feedmail.el (feedmail-mail-send-hook)
7777 (feedmail-mail-send-hook-queued):
7778 * mail/footnote.el (footnote-signature-separator):
7779 * mail/mailabbrev.el (mail-alias-separator-string)
7780 (mail-abbrev-mode-regexp):
7781 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7782 * progmodes/idlwave.el (idlwave-libinfo-file)
7783 (idlwave-default-completion-case-is-down)
7784 (idlwave-library-routines): Convert defvars to defcustoms.
7786 * mail/rmail.el (rmail-decode-mime-charset):
7787 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7788 (idlwave-shell-fix-inserted-breaks)
7789 (idlwave-shell-activate-alt-keybindings)
7790 (idlwave-shell-use-breakpoint-glyph):
7791 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7793 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7797 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7799 * progmodes/verilog-mode.el (font-lock-keywords):
7800 Fix mis-highligting auto. Reported by Craig Barner.
7801 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7802 defines from global name space. Reported by Dan Dever.
7803 (verilog-auto-reset, verilog-auto-reset-widths)
7804 (verilog-auto-tieoff): Support using unbased numbers for
7805 AUTORESET and AUTOTIEOFF.
7806 (verilog-submit-bug-report): Update variable list.
7807 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7808 parenthesis from not matching. Reported by Michael Rytting.
7809 (verilog-auto-template-lint): Fix hash error when linting modules
7810 with no used templates.
7811 (verilog-warn, verilog-warn-error)
7812 (verilog-warn-fatal): When non-interactive report multiple
7813 warnings before exiting. Suggested by Brad Dobbie.
7814 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7815 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7816 to report unused template errors. Reported by Brad Dobbie.
7817 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7818 nets, bug438. Reported by Vns Blore.
7819 (verilog-auto-inout-module, verilog-auto-reg)
7820 (verilog-read-decls, verilog-read-sub-decls-sig)
7821 (verilog-signals-edit-wire-reg, verilog-signals-with):
7822 Fix passing of Verilog data types in ANSI input/output ports
7823 such as "output logic" into the AUTOs. Special case "wire" and
7824 "reg" for backwards compatibility presuming Verilog 2001.
7825 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7826 (verilog-preprocess): Fix replication of preprocess output.
7827 Reported by Brad Dobbie.
7828 (verilog-auto-inst-interfaced-ports):
7829 Create verilog-auto-inst-interfaced-ports, bug429.
7830 Reported by Julian Gorfajn.
7831 (verilog-after-save-font-hook)
7832 (verilog-before-save-font-hook): New variable.
7833 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7834 (verilog-save-font-mods): Wrap disabling fontification, reported
7836 (verilog-do-indent, verilog-pretty-declarations-auto)
7837 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7838 Reported by Pierre-David Pfister.
7839 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7840 of class declarations, bug292. Reported by Kevin Heilman.
7841 (verilog-read-decls): Fix 'parameter type' not appearing in
7842 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7843 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7844 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7845 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7846 Reported by David Kravitz.
7848 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7850 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7851 assignment with tests in ifs and for loops.
7852 (verilog-extended-complete-re, verilog-complete-reg): Change so
7853 that DPI inport functions don't look like fuction declarations.
7854 (verilog-pretty-expr): Don't line up assignment
7855 operations to the test and increment in if and for loops
7856 (verilog-extended-complete-re, verilog-complete-reg): Change so
7857 that DPI inport functions don't look like fuction declarations.
7859 2012-05-03 Kenichi Handa <handa@m17n.org>
7861 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7862 decoding, and show a warning message without signaling an error
7865 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7867 * emacs-lisp/bytecomp.el
7868 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7869 since cconv.el might have introduced :fun-body, internal-make-closure,
7870 and friends for bytecomp to handle (bug#11391).
7871 * custom.el (defcustom): Avoid ((λ ..) ..).
7873 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7877 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7879 * notifications.el (dbus-debug):
7880 * term/linux.el (gpm-mouse-enable):
7881 * term/screen.el (xterm-register-default-colors): Declare.
7883 2012-05-02 Chong Yidong <cyd@gnu.org>
7885 * cus-start.el (gc-cons-percentage, exec-suffixes)
7886 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7887 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7888 (make-cursor-line-fully-visible, void-text-area-pointer)
7889 (font-list-limit): Add customization data.
7891 * allout.el (allout-exposure-change-functions)
7892 (allout-structure-added-functions)
7893 (allout-structure-deleted-functions)
7894 (allout-structure-shifted-functions): Rename abnormal hooks from
7895 *-hook, and convert to defcustoms.
7896 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7897 Convert to defcustoms.
7898 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7900 * allout-widgets.el: Hook callers changed.
7902 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7904 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7905 the yanked message in preference to the default value of
7906 buffer-file-coding-system.
7908 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7910 * window.el (display-buffer--action-function-custom-type):
7913 2012-05-02 Alan Mackenzie <acm@muc.de>
7915 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7917 2012-05-01 Glenn Morris <rgm@gnu.org>
7919 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7921 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7923 * cus-edit.el (custom-variable-documentation): Simplify with format.
7925 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7926 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * simple.el (suggest-key-bindings, execute-extended-command):
7929 Move from keyboard.c.
7931 2012-05-01 Chong Yidong <cyd@gnu.org>
7933 * follow.el: Eliminate advice.
7934 (set-process-filter, process-filter, sit-for): Advice deleted.
7935 (follow-mode-off-hook): Obsolete hook removed.
7936 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7938 (follow-auto): Use a :set function.
7939 (follow-mode): Rewritten. Don't advise process filters.
7940 (follow-switch-to-current-buffer-all, follow-scroll-up)
7941 (follow-scroll-down): Assume follow-mode is bound.
7942 (follow-comint-scroll-to-bottom)
7943 (follow-align-compilation-windows): New functions.
7944 (follow--window-sorter): New function.
7945 (follow-all-followers): Use it to explicitly sort windows by their
7946 positions; don't make assumptions about next-window order.
7947 (follow-windows-start-end, follow-delete-other-windows-and-split)
7948 (follow-calc-win-start): Doc fix.
7949 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7950 vertical-motion unnecessarily.
7951 (follow-adjust-window): New function.
7952 (follow-post-command-hook): Use it.
7953 (follow-call-set-process-filter, follow-call-process-filter)
7954 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7955 (follow-stop-intercept-process-output, follow-generic-filter):
7957 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7958 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7959 New functions, replacing advice on scroll-bar-* commands.
7960 (follow-mwheel-scroll): New function (Bug#4112).
7962 * comint.el (comint-adjust-point): New function.
7963 (comint-postoutput-scroll-to-bottom): Use it.
7964 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7966 2012-05-01 Glenn Morris <rgm@gnu.org>
7968 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7969 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7970 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7971 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7972 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7973 Remove no-byte-compile setting.
7975 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7977 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7978 all-completions code to not return a number in the last cdr.
7980 2012-04-30 Leo Liu <sdl.web@gmail.com>
7982 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7985 2012-04-29 Chong Yidong <cyd@gnu.org>
7987 * follow.el (follow-calc-win-end): Rewrite to handle partial
7988 screen lines correctly (Bug#8390).
7989 (follow-avoid-tail-recenter): Minor cleanup.
7991 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7993 Avoid the obsolete `assoc' package.
7994 * speedbar.el (speedbar-refresh): Avoid adelete.
7995 (speedbar-file-lists): Simplify and avoid aput.
7996 * man.el (Man--sections, Man--refpages): New vars, replacing
7997 Man-sections-alist and Man-refpages-alist.
7998 (Man-build-section-alist, Man-build-references-alist):
7999 Use them; avoid aput.
8000 (Man--last-section, Man--last-refpage): New vars.
8001 (Man-follow-manual-reference): Use them.
8002 Use the `default' arg of completing-read.
8003 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8005 2012-04-27 Chong Yidong <cyd@gnu.org>
8007 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8009 * startup.el (x-apply-session-resources): New function.
8011 * term/ns-win.el (ns-initialize-window-system):
8012 * term/w32-win.el (w32-initialize-window-system):
8013 * term/x-win.el (x-initialize-window-system): Use it to properly
8014 set menu-bar-mode and other vars from X resources, even if the
8015 initial frame is not a window-system frame (Bug#2299).
8017 * subr.el (read-key): Avoid running filter function when setting
8018 up temporary tool bar entries (Bug#9922).
8020 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8022 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8025 2012-04-27 Chong Yidong <cyd@gnu.org>
8027 * select.el (xselect--encode-string): New function, split from
8028 xselect-convert-to-string.
8029 (xselect-convert-to-string): Use it.
8030 (xselect-convert-to-filename, xselect-convert-to-os)
8031 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8032 returned strings are properly encoded (Bug#11315).
8034 2012-04-27 Chong Yidong <cyd@gnu.org>
8036 * simple.el (delete-active-region): Move to killing custom group.
8038 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8040 * progmodes/which-func.el (which-func-current): Quote %
8041 characters for mode-line processing.
8043 2012-04-27 Chong Yidong <cyd@gnu.org>
8045 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8046 reaching eob (Bug#11286).
8048 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8050 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8051 (gdb): Make it buffer-local and init to zero.
8052 (gdb-control-commands-regexp): New variable.
8053 (gdb-send): Don't wrap in "-interpreter-exec console" if
8054 gdb-control-level is positive. Increment gdb-control-level
8055 whenever the command matches gdb-control-commands-regexp, and
8056 decrement it each time the command is "end". (Bug#11279)
8058 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8060 * window.el (adjust-window-trailing-edge, enlarge-window)
8061 (shrink-window, window-resize):
8062 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8063 windows (Bug#11276).
8065 2012-04-27 Chong Yidong <cyd@gnu.org>
8067 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8068 fix "missing prefix" warning. All callers changed.
8070 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * emacs-lisp/assoc.el: Move to obsolete/.
8074 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8078 * term/ns-win.el (ns-define-service):
8079 * progmodes/pascal.el (pascal-goto-defun):
8080 * progmodes/js.el (js--read-tab):
8081 * progmodes/etags.el (tags-lazy-completion-table):
8082 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8083 * emacs-lisp/ewoc.el (ewoc--wrap):
8084 * emacs-lisp/assoc.el (aput, adelete, amake):
8085 * doc-view.el (doc-view-convert-current-doc):
8086 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8088 2012-04-26 Chong Yidong <cyd@gnu.org>
8090 * image.el (image-type-from-buffer): Only return supported image
8093 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8094 value, for symmetry with diff-end-of-hunk.
8095 (diff-split-hunk, diff-find-source-location)
8096 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8097 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8098 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8099 compute the relevant hunk or file properly (Bug#6005).
8100 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8102 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * vc/vc.el: Replace lexical-let by lexical-binding.
8112 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8113 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8114 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8116 2012-04-26 Chong Yidong <cyd@gnu.org>
8118 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8119 (diff-mode-shared-map): Bind it to / and [remap undo].
8121 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8122 (ediff-window-setup-function): Use it as the default, to set up
8123 windows based on whether the current frame is graphical (Bug#2138).
8124 (ediff-choose-window-setup-function-automatically): Make obsolete.
8126 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8128 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * ffap.el: Remove old code for obsolete package.
8131 (ffap-complete-as-file-p): Remove.
8133 Use completion-table-with-quoting for comint and pcomplete.
8134 * comint.el (comint--unquote&requote-argument)
8135 (comint--unquote-argument, comint--requote-argument): New functions.
8136 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8137 (comint-quote-filename): Use regexp-opt-charset.
8138 (comint--common-suffix, comint--common-quoted-suffix)
8139 (comint--table-subvert): Remove.
8140 (comint-unquote-function, comint-requote-function): New vars.
8141 (comint--complete-file-name-data): Use them with
8142 completion-table-with-quoting.
8143 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8144 * pcomplete.el (pcomplete-arg-quote-list)
8145 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8146 (pcomplete-unquote-argument-function): Default to non-nil.
8147 (pcomplete-unquote-argument): Simplify.
8148 (pcomplete--common-quoted-suffix): Remove.
8149 (pcomplete-requote-argument-function): New var.
8150 (pcomplete--common-suffix): New function.
8151 (pcomplete-completions-at-point): Use completion-table-with-quoting
8152 and completion-table-subvert.
8154 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8155 (minibuffer--double-dollars): Preserve properties.
8156 (completion--sifn-requote): New function.
8157 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8159 * minibuffer.el: Add support for completion of quoted/escaped data.
8160 (completion-table-with-quoting, completion-table-subvert): New funs.
8161 (completion--twq-try, completion--twq-all): New functions.
8162 (completion--nth-completion): New function.
8163 (completion-try-completion, completion-all-completions): Use it.
8165 2012-04-25 Leo Liu <sdl.web@gmail.com>
8167 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8168 Use compilation-message if available to find real filename.
8170 2012-04-25 Chong Yidong <cyd@gnu.org>
8172 * vc/diff-mode.el (diff-setup-whitespace): New function.
8173 (diff-mode): Use it.
8175 * vc/diff.el (diff-sentinel):
8176 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8177 Whitespace mode variables based on diff style (Bug#8612).
8179 2012-04-25 Leo Liu <sdl.web@gmail.com>
8181 * progmodes/python.el (python-send-region): Add suffix .py to the
8184 * files.el (auto-mode-alist): Use javascript-mode instead.
8186 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8188 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8190 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8191 (soap-resolve-references-for-array-type): Hack to prevent self
8192 references, see Bug#9.
8193 (soap-parse-envelope): Report the contents of the 'detail' node
8194 when receiving a fault reply.
8195 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8197 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8198 (soap-inspect-simple-type): New function.
8200 * net/soap-client.el (soap-simple-type): New struct.
8201 (soap-default-xsd-types, soap-default-soapenc-types)
8202 (soap-decode-basic-type, soap-encode-basic-type):
8203 support unsignedInt and double basic types.
8204 (soap-resolve-references-for-simple-type)
8205 (soap-parse-simple-type, soap-encode-simple-type): New function.
8206 (soap-parse-schema): Parse xsd:simpleType declarations.
8208 * net/soap-client.el (soap-default-xsd-types)
8209 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8210 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8211 the local name of "soapenc:Array".
8212 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8213 decoding integer, byte and anyURI xsd types.
8215 2012-04-25 Chong Yidong <cyd@gnu.org>
8217 * cus-edit.el (custom-buffer-create-internal): Update header text.
8219 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8221 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8222 settings on 'system-type', not on 'window-system'. On MS-Windows,
8223 set interactive-mode on in GDB.
8225 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8228 (ruby-syntax-propertize-regexp): Remove.
8229 (ruby-syntax-propertize-function): Split regexp into chunks.
8230 Match following code directly.
8232 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8234 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8235 (ruby-syntax-propertize-regexp): New function.
8236 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8237 by a special keyword.
8239 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8240 (ruby-syntax-general-delimiters-goto-beg)
8241 (ruby-syntax-propertize-general-delimiters): New functions.
8242 (ruby-syntax-propertize-function): Use them to handle GDL.
8243 (ruby-font-lock-keywords): Move old handling of GDL...
8244 (ruby-font-lock-syntactic-keywords): .. to here.
8245 (ruby-calculate-indent): Adjust indentation for GDL.
8247 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8249 * notifications.el (top): Remove unneeded declarations.
8250 (notifications-specification-version): Change to "1.2".
8251 (notifications-interface, notifications-notify-method)
8252 (notifications-close-notification-method): Fix docstring.
8253 (notifications-get-capabilities-method): New defconst.
8254 (notifications-notify): Add :action-items, :resident and
8255 :transient hints. Change "image_data" to "image-data" and
8256 "image_path" to "image-path".
8257 (notifications-get-capabilities): New defun.
8259 2012-04-24 Leo Liu <sdl.web@gmail.com>
8261 * progmodes/python.el: Move hideshow setup to the end.
8263 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8265 * window.el (handle-select-window): Clear echo area since this is
8266 no more done by read_char (Bug#11304).
8268 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8270 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8271 and `/ M' to filter-derived-mode.
8272 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8273 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8274 (ibuffer-mark-by-mode): Use default rather than initial-input.
8275 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8277 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8279 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8280 (ibuffer-filter-by-derived-mode): New filter.
8281 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8283 2012-04-23 Andreas Politz <politza@fh-trier.de>
8285 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8287 2012-04-23 Chong Yidong <cyd@gnu.org>
8289 * cus-edit.el (customize-apropos, customize-apropos-options):
8290 Disable matching of non-option variables (Bug#11176).
8291 (customize-option, customize-option-other-window)
8292 (customize-changed-options): Doc fix.
8293 (customize-apropos-options, customize-apropos-faces)
8294 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8296 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8297 Fix word list splitting (Bug#11132).
8298 (apropos-symbol, apropos-keybinding, apropos-label)
8299 (apropos-property, apropos-function-button)
8300 (apropos-variable-button, apropos-misc-button): New faces.
8301 (apropos-symbol-face, apropos-keybinding-face)
8302 (apropos-label-face, apropos-property-face, apropos-match-face):
8303 Variables removed (Bug#8396).
8304 (apropos-library-button, apropos-format-plist, apropos-print)
8305 (apropos-print-doc, apropos-describe-plist): Callers changed.
8307 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8309 * net/xesam.el (xesam-mode-map): Use let-bound map in
8310 initialization. (Bug#11292)
8312 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8314 Preserve ispell session localwords when switching back to
8317 * textmodes/ispell.el (ispell-buffer-session-localwords):
8318 New buffer-local variable to hold buffer session localwords.
8319 (ispell-kill-ispell): Add option 'clear to delete session
8321 (ispell-command-loop, ispell-change-dictionary)
8322 (ispell-buffer-local-words): Preserve session localwords when
8325 * textmodes/flyspell.el (flyspell-process-localwords)
8326 (flyspell-do-correct): Preserve session localwords when needed.
8328 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8330 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8331 using obsolete `translation-table-for-input'.
8332 (ispell-word, ispell-process-line, ispell-complete-word):
8333 Use plain `insert' instead of removed `ispell-insert-word'.
8335 2012-04-22 Chong Yidong <cyd@gnu.org>
8337 * cus-edit.el (custom-variable-menu)
8338 (custom-variable-reset-saved, custom-face-menu)
8339 (custom-face-reset-saved): If there is no saved value, make the
8340 "reset-saved" operation bring back the default (Bug#9509).
8341 (custom-face-state): Properly detect themed faces.
8343 * faces.el (face-spec-set): Stop supporting deprecated form of
8346 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8348 Move functions from C to Lisp. Make non-blocking method calls
8349 the default. Implement further D-Bus standard interfaces.
8351 * net/dbus.el (dbus-message-internal): Declare function.
8352 Remove unneeded function declarations.
8353 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8354 (dbus-message-type-method-return, dbus-message-type-error)
8355 (dbus-message-type-signal): Declare variables. Remove local
8357 (dbus-interface-dbus, dbus-interface-peer)
8358 (dbus-interface-introspectable, dbus-interface-properties)
8359 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8361 (dbus-interface-objectmanager): New defconst.
8362 (dbus-call-method, dbus-call-method-asynchronously)
8363 (dbus-send-signal, dbus-method-return-internal)
8364 (dbus-method-error-internal, dbus-register-service)
8365 (dbus-register-signal, dbus-register-method): New defuns, moved
8367 (dbus-call-method-handler, dbus-setenv)
8368 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8370 (dbus-call-method-non-blocking): Make it an obsolete function.
8371 (dbus-unregister-object, dbus-unregister-service)
8372 (dbus-handle-event, dbus-register-property)
8373 (dbus-property-handler): Obey the new structure of
8374 `bus-registered-objects'.
8375 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8376 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8377 Use `dbus-call-method'.
8379 2012-04-22 Chong Yidong <cyd@gnu.org>
8381 * cus-edit.el (custom-commands, custom-reset-menu)
8382 (Custom-reset-standard): Tweak labels.
8383 (custom-reset-button-menu): Change default to t.
8384 (custom-buffer-create-internal): For the custom-reset-button-menu
8385 case, put the revert button first.
8386 (custom-group-subtitle): New face.
8387 (custom-group-value-create): Align docstring to a specific column.
8389 * wid-edit.el (widget-documentation-link-add): Don't handle
8390 indentation in this function.
8391 (widget-documentation-string-indent-to): New function.
8392 (widget-documentation-string-value-create): Use it.
8394 * autorevert.el (auto-revert):
8395 * epg-config.el (epg):
8396 * ibuffer.el (ibuffer):
8399 * eshell/eshell.el (eshell):
8400 * net/ange-ftp.el (ange-ftp):
8401 * progmodes/ebnf2ps.el (postscript):
8402 * progmodes/flymake.el (flymake):
8403 * progmodes/prolog.el (prolog):
8404 * progmodes/verilog-mode.el (verilog-mode):
8405 * progmodes/which-func.el (which-func):
8406 * term/xterm.el (xterm):
8407 * textmodes/picture.el (picture):
8408 * textmodes/tildify.el (tildify):
8409 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8410 customization buffers.
8412 2012-04-22 Alan Mackenzie <acm@muc.de>
8414 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8415 Adding a ) can hide the resulting (..) from searches. Fix it.
8416 Bound the backward search to the position of the existing (.
8418 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8420 * progmodes/verilog-mode.el (verilog-mode): Check whether
8421 which-func-modes is t before adding verilog-mode.
8422 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8424 2012-04-21 Leo Liu <sdl.web@gmail.com>
8426 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8428 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8430 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8431 filling of the last column of a table (Bug#5635).
8432 (woman-find-next-control-line): New arg, specifying an additional
8433 regexp component for the control line.
8434 (woman2-roff-buffer): Use it.
8435 (woman-break-table): New function.
8436 (woman2-TS): Use it.
8438 2012-04-21 Chong Yidong <cyd@gnu.org>
8440 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8441 (woman-horizontal-escapes, woman-negative-vertical-space)
8442 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8443 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8445 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8447 * minibuffer.el (completion-file-name-table): Complete user names.
8449 2012-04-20 Leo Liu <sdl.web@gmail.com>
8451 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8454 2012-04-20 Chong Yidong <cyd@gnu.org>
8456 * server.el (server-execute): Respect initial-buffer-choice if it
8457 is a string and there are no files to open (Bug#2825).
8458 (server-create-window-system-frame, server-create-tty-frame):
8459 Don't switch buffers here.
8460 (server-process-filter): Only try to open a window system frame if
8461 compiled with graphical support (Bug#8314).
8463 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8465 * battery.el (battery-echo-area-format): Display remaining time
8466 for sysfs backend too (Bug#11269).
8467 (battery-linux-sysfs): Fix conditional for the charge.
8469 2012-04-20 Chong Yidong <cyd@gnu.org>
8471 * progmodes/gdb-mi.el (gdb): Revert previous change.
8472 (gdb-inferior-io--init-proc): New function.
8473 (gdb-init-1): Use it.
8474 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8475 responsible for allocating a new pty and hooking it to gdb when
8476 the old pty gets an EIO due to process exit.
8477 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8478 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8479 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8481 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8483 * window.el (window-min-size, window-sizable, window-min-delta)
8484 (window-max-delta, window--resizable, window-resizable)
8485 (window-total-size, window-full-height-p, window-full-width-p)
8486 (window-in-direction, window--resize-mini-window, window-resize)
8487 (window--resize-child-windows-normal)
8488 (window--resize-child-windows, window--resize-siblings)
8489 (window--resize-this-window, adjust-window-trailing-edge)
8490 (enlarge-window, shrink-window): Doc fixes.
8492 2012-04-20 Chong Yidong <cyd@gnu.org>
8494 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8495 New function to call delete-process on the gdb-inferior buffer's pty.
8496 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8497 pty process (Bug#11273).
8498 (gdb-update): New arg to suppress talking to the gdb process.
8499 (gdb-done-or-error): Use it.
8500 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8501 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8502 sentinel not being called.
8504 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8506 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8508 2012-04-20 Glenn Morris <rgm@gnu.org>
8510 * net/network-stream.el (open-network-stream): Doc fix.
8512 2012-04-20 Chong Yidong <cyd@gnu.org>
8514 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8516 2012-04-20 Alan Mackenzie <acm@muc.de>
8518 Ensure searching for keywords is case sensitive.
8520 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8521 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8522 (c-defun-name, c-mark-function, c-cpp-define-name)
8523 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8524 (c-context-line-break): Bind case-fold-search to nil.
8526 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8527 Bind case-fold-search to nil.
8529 2012-04-20 Chong Yidong <cyd@gnu.org>
8531 * mail/sendmail.el (mail-bury): Call return action with the right
8532 Rmail buffer (Bug#11242).
8534 * server.el (server-process-filter): Handle corner case where both
8535 tty and nowait options are present (Bug#11102).
8537 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8539 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8540 (top level): Put into the executable the ident-style '$Id:' tag on
8543 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * electric.el (electric-indent-post-self-insert-function): Check that
8546 electric-indent-mode is enabled in current buffer.
8548 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8550 * imenu.el (imenu-progress-message): Restore; it is "used" in
8551 erc/erc-imenu.el and net/snmp-mode.el.
8553 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8555 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8556 (mouse-avoidance-nudge-mouse): Remove unused binding.
8558 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8560 * descr-text.el (describe-char):
8561 * progmodes/python.el (python-describe-symbol):
8562 Don't call `toggle-read-only', set `buffer-read-only'.
8564 * imenu.el (imenu-default-goto-function): Mark unused args.
8565 (imenu-progress-message): Remove obsolete macro; all callers changed.
8567 * subr.el (keymap-canonicalize): Remove unused binding.
8568 (read-passwd): Mark unused arg.
8570 * tutorial.el (tutorial--display-changes): Remove unused binding.
8571 (tutorial--save-tutorial-to): Remove unused variable.
8573 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8574 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8575 (package-generate-autoloads, package-menu--generate)
8576 (package-menu--find-upgrades): Remove unused bindings.
8578 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8579 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8580 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8581 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8582 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8583 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8584 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8585 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8586 (cua-delete-char-rectangle): Mark unused args.
8587 (cua-align-rectangle): Remove unused binding.
8589 * mail/rmail.el (compilation--message->loc)
8590 (epa--find-coding-system-for-mime-charset): Declare.
8592 * net/dbus.el (dbus-register-service): Declare.
8593 (dbus-name-owner-changed-handler): Remove unused binding.
8595 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8596 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8597 (nxml-scan-backward-within): Mark unused arg.
8598 (nxml-dynamic-markup-word): Remove unused binding.
8600 * mouse.el (mouse-menu-major-mode-map):
8601 * emacs-lisp/authors.el (authors-scan-change-log)
8602 (authors-add-to-author-list):
8603 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8604 * emacs-lisp/smie.el (smie-auto-fill):
8605 * mail/sendmail.el (mail-bury):
8606 * mail/unrmail.el (unrmail):
8607 * net/tls.el (open-tls-stream):
8608 * textmodes/picture.el (picture-mouse-set-point):
8609 Remove unused bindings.
8611 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8613 * net/tramp.el (tramp-action-password): Let-bind
8614 `enable-recursive-minibuffers' to t.
8616 2012-04-18 Sam Steingold <sds@gnu.org>
8618 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8619 instead of 'string to accommodate values like [f11].
8620 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8621 * progmodes/gdb-mi.el: Likewise.
8623 2012-04-18 Leo Liu <sdl.web@gmail.com>
8625 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8627 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8630 2012-04-18 Chong Yidong <cyd@gnu.org>
8632 * simple.el (line-move): Use forward-line if in batch mode
8635 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8637 * files.el (after-find-file): Do not try to add a final newline if
8638 the buffer is read-only (Bug#11156).
8640 2012-04-17 Richard Stallman <rms@gnu.org>
8642 * mail/rmail.el (rmail-start-mail):
8643 Pass (rmail-mail-return...) for the return-action.
8644 Pass (rmail-yank-current-message...) for the yank-action.
8645 (rmail-yank-current-message): New function.
8646 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8647 (rmail-reply): Likewise.
8648 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8650 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8651 buffer, not the last. Reject temp buffers. Use the rmail-mode
8654 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8656 * server.el (server-ensure-safe-dir): Simplify.
8658 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * emacs-lisp/smie.el: Provide smarter auto-filling.
8661 (smie-auto-fill): New function.
8662 (smie-setup): Use it.
8664 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8666 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8668 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8669 (comment-indent): Use it.
8671 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8673 * ses.el: The overall change is to add cell renaming, that is
8674 setting fancy names for cell symbols other than name matching
8675 "\\`[A-Z]+[0-9]+\\'" regexp .
8676 (ses-localvars): Add ses--renamed-cell-symb-list.
8677 (ses-create-cell-variable): New defun.
8678 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8679 (ses-relocate-formula): Relocate formulas only for cells the
8680 symbols of which are not renamed, i.e. symbols whose names do not
8681 match regexp "\\`[A-Z]+[0-9]+\\'".
8682 (ses-relocate-all): Relocate values only for cells the symbols of
8683 which are not renamed.
8684 (ses-load): Create cells variables as the (ses-cell ...) are read,
8685 in order to check row col consistency with cell symbol name only
8686 for cells that are not renamed.
8687 (ses-replace-name-in-formula): New defun.
8688 (ses-rename-cell): New defun.
8690 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8692 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8693 New option (bug#11118).
8694 (perl-calculate-indent): Respect it.
8696 2012-04-17 Glenn Morris <rgm@gnu.org>
8698 * dired-aux.el (dired-mark-read-string): Doc fix.
8700 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8702 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8703 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8705 2012-04-17 Glenn Morris <rgm@gnu.org>
8707 * mouse.el (mouse-drag-track):
8708 * speedbar.el (speedbar-frame-mode):
8709 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8711 2012-04-16 Leo Liu <sdl.web@gmail.com>
8713 * progmodes/python.el: Trivial cleanup.
8715 2012-04-16 Glenn Morris <rgm@gnu.org>
8717 * vc/vc.el (vc-string-prefix-p):
8718 * vc/pcvs-util.el (cvs-string-prefix-p):
8719 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8720 * mpc.el (mpc-string-prefix-p):
8721 Make all of these into obsolete aliases for string-prefix-p.
8723 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8725 * textmodes/two-column.el: Move custom options to the start.
8726 (frame-width): Remove compat definition.
8727 (2C-associate-buffer, 2C-dissociate):
8728 Use with-current-buffer rather than save-excursion.
8729 (2C-dissociate): Force a mode-line update.
8730 (2C-autoscroll): Use ignore-errors.
8732 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8735 * emacs-lisp/cl-extra.el (*random-state*):
8736 Remove unnecessary declaration.
8738 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8740 * play/cookie1.el (cookie-snarf):
8741 Give an explicit error if input file cannot be read.
8743 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8745 * progmodes/perl-mode.el (c-macro-expand):
8746 Remove unnecessary autoload (it is in loaddefs.el).
8748 * textmodes/picture.el (picture-desired-column)
8749 (picture-update-desired-column): Convert comments to doc-strings.
8750 (picture-substitute): Remove function.
8751 (picture-mode-map): Initialize in the defvar.
8753 * woman.el: Remove eval-after-load for tar-mode.
8754 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8755 (woman-tar-extract-file): Autoload it.
8757 * frame.el (automatic-hscrolling): Make this alias obsolete.
8759 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8761 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8762 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8763 (ispell-dictionary-base-alist): Revert to original XEmacs
8764 friendly version for default. [:alpha:] will be added in
8765 `ispell-set-spellchecker-params' if needed.
8767 2012-04-16 Chong Yidong <cyd@gnu.org>
8769 * image.el (imagemagick--file-regexp): New variable.
8770 (imagemagick-register-types): Use it.
8771 (imagemagick-types-inhibit): Add :set function. Allow new value
8772 of t to inhibit all types.
8774 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8775 so we can preload it.
8777 * loadup.el (fboundp): Preload regexp-opt, needed by
8778 imagemagick-register-types.
8780 2012-04-15 Chong Yidong <cyd@gnu.org>
8782 * frame.el (scrolling): Remove nearly unused customization group.
8784 * scroll-all.el (scroll-all-mode): Move to windows group.
8786 2012-04-15 Chong Yidong <cyd@gnu.org>
8788 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8790 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8792 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8793 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8795 2012-04-15 Glenn Morris <rgm@gnu.org>
8797 * simple.el (process-file-side-effects): Doc fix.
8799 2012-04-15 Glenn Morris <rgm@gnu.org>
8801 * international/mule-cmds.el (set-language-environment): Doc fix.
8803 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8805 * server.el (server-auth-key, server-generate-key): Doc fixes.
8806 (server-get-auth-key): Doc fix. Use `string-match-p'.
8807 (server-start): Reflow docstring.
8809 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8811 * server.el (server-generate-key): `called-interactively-p'
8812 requires a parameter.
8814 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8816 * server.el (server-auth-key): New variable.
8817 (server-generate-key, server-get-auth-key): New function.
8818 (server-start): Use the new variable and functions to allow
8819 setting a permanent server key (bug#9423).
8821 2012-04-14 Leo Liu <sdl.web@gmail.com>
8823 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8825 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8828 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8829 Emacs uses American spelling.
8831 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8833 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8834 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8835 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8836 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8838 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8840 * progmodes/which-func.el (which-func-modes): Change default.
8842 2012-04-14 Kim F. Storm <storm@cua.dk>
8844 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8845 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8847 2012-04-14 Chong Yidong <cyd@gnu.org>
8849 * custom.el (custom-theme-set-variables): Doc fix.
8851 2012-04-14 Glenn Morris <rgm@gnu.org>
8853 * international/mule.el (set-auto-coding-for-load): Doc fix.
8855 2012-04-14 Alan Mackenzie <acm@muc.de>
8857 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8858 imenu work again for Objective C Mode. Correct the *-index values,
8859 these having been disturbed by a previous change in 2011-08.
8861 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8862 Correct two search limits.
8864 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8866 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8868 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8870 * international/characters.el: Fix sorting.
8872 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8874 * international/characters.el: Add more missing Latin case pairs.
8876 2012-04-14 Glenn Morris <rgm@gnu.org>
8878 * files.el (dir-locals-set-class-variables): Doc fix.
8880 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8882 * international/characters.el: Add set-case-syntax-pair call for
8883 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8884 counterpart. (Bug#11209)
8886 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8888 2012-04-14 Glenn Morris <rgm@gnu.org>
8890 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8892 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8894 * textmodes/ispell.el (ispell-dictionary-base-alist):
8895 Add data for Hebrew.
8897 2012-04-14 Chong Yidong <cyd@gnu.org>
8899 * net/rcirc.el (rcirc-cmd-quit):
8900 Revert 2012-03-18 change (Bug#11192).
8902 2012-04-14 Glenn Morris <rgm@gnu.org>
8904 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8906 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8908 * minibuffer.el (completion-in-region-mode-map):
8909 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8911 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8913 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8915 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8917 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8918 to allow `C-M-f' and `C-M-b' to move to the nearest path
8919 separator (bug#9511).
8921 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8923 * avoid.el: Require cl when compiling. And also move the
8924 `provide' to the end.
8926 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8928 * avoid.el (mouse-avoidance-banish-position): New variable.
8929 (mouse-avoidance-banish-destination): Use it (bug#10165).
8931 2012-04-13 Leo Liu <sdl.web@gmail.com>
8933 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8935 2012-04-13 Ken Brown <kbrown@cornell.edu>
8937 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8938 this is no longer needed now that cygstart understands file:// URLs.
8939 (browse-url-filename-alist): For the same reason, don't modify
8940 file:// URLs on Cygwin.
8942 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8945 the region on shift if the binding is already shifted (bug#11221).
8947 2012-04-12 Glenn Morris <rgm@gnu.org>
8949 * mail/mailpost.el: Move to obsolete/.
8951 2012-04-12 Drew Adams <drew.adams@oracle.com>
8953 * imenu.el (imenu--generic-function): Ignore invisible definitions
8956 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8958 * hexl.el (hexl-bits): New variable.
8959 (hexl-options): Mention the variable in the doc string.
8960 (hexl-rulerise, hexl-line-displen): New functions.
8961 (hexl-mode): Mention the new variable.
8962 (hexl-mode, hexl-current-address, hexl-current-address):
8964 (hexl-ascii-start-column): New function.
8965 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8966 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8968 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8970 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8971 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8972 the encoding, as expected by hunspell.
8974 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8976 * battery.el (battery--linux-sysfs-regexp): New const.
8977 (battery-status-function): Use it. Remove yeeloong special case.
8978 (battery-yeeloong-sysfs): Remove.
8979 (battery-echo-area-format): Remove yeeloong special case.
8981 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8984 Reported by Noah Friedman.
8986 * subr.el (read-passwd): Use read-string.
8988 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8990 * vcursor.el (vcursor-move): Increase the priority of the overlay
8993 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8995 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8996 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8998 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9000 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9001 define-minor-mode (bug#10760).
9003 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9005 * progmodes/grep.el (rgrep): Tweak the find command line so
9006 that directories matching `grep-find-ignored-files' won't be
9009 2012-04-11 Chong Yidong <cyd@gnu.org>
9011 * startup.el (command-line): Remove support for long-obsolete
9012 variable font-lock-face-attributes.
9014 2012-04-11 Glenn Morris <rgm@gnu.org>
9016 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9018 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * window.el (window--state-get-1): Obey window-point-insertion-type.
9022 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9024 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9025 to previous function when point is on the first character of a
9026 function. Take care of that in `narrow-to-defun' (bug#6157).
9028 2012-04-11 Glenn Morris <rgm@gnu.org>
9030 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9031 not just file-errors.
9033 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9034 (vc-bzr-sha1): Use internal sha1.
9036 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9038 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9040 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9042 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9043 that start in the middle of the line (bug#10496).
9045 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9047 * battery.el (battery-linux-proc-acpi): Only one battery is
9048 discharged at a time, but that seems to confuse battery.el when
9049 computing `rate-type' for the battery not being discharged
9052 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9056 * international/quail.el: Use dolist and simplify.
9057 (quail-define-package, quail-update-keyboard-layout)
9058 (quail-define-rules): Use dolist.
9059 (quail-insert-kbd-layout, quail-get-translation): CSE.
9061 * tmm.el: Use dolist, remove left over hook.
9062 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9064 (calendar-load-hook): Don't mess with it.
9066 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9067 Use derived-mode-p. Run the diff asynchronously.
9069 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9071 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9073 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9075 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9076 (list-dynamic-libraries--loaded): New function.
9077 (list-dynamic-libraries--refresh): Use it.
9079 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9081 * progmodes/python.el (python-fill-paragraph):
9082 Make python-fill-region in a multiline string work when font-lock is
9083 disabled (bug#7018).
9085 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9087 * language/european.el (cp775): Add oem/legacy (en)coding on
9088 DOS/MS Windows for the Baltic languages. There are still plenty
9089 of texts written in this encoding/codepage (bug#6519).
9091 2012-04-10 Glenn Morris <rgm@gnu.org>
9093 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9094 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9096 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9098 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9099 next-line "n" and previous-line "p" in order to make recentf more
9100 consistent with ibuffer, dired or org-mode (bug#9387).
9102 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9104 * image.el (put-image): Return the overlay created instead of the
9105 optional input string (bug#7834). Note that this may break code
9106 that is (for some reason or other) depending on `put-image'
9107 returning the string.
9109 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9111 * simple.el (zap-to-char): Allow zapping using input methods
9114 * textmodes/fill.el (fill-region): Leave point and mark where they
9115 were before filling (bug#5399).
9117 2012-04-09 Glenn Morris <rgm@gnu.org>
9119 * version.el (emacs-bzr-get-version):
9120 Handle lightweight checkouts of local branches.
9122 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9124 * international/characters.el: Recover lost case pairs. (Bug#11209)
9126 2012-04-09 Chong Yidong <cyd@gnu.org>
9128 * custom.el (custom-variable-p): Return nil for non-symbol
9129 arguments instead of signaling an error.
9130 (user-variable-p): Obsolete alias for custom-variable-p.
9132 * apropos.el (apropos-variable):
9133 * files-x.el (read-file-local-variable):
9134 * simple.el (set-variable):
9135 * woman.el (woman-mini-help):
9136 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9138 2012-04-09 Glenn Morris <rgm@gnu.org>
9140 * startup.el (normal-top-level): Don't look for leim-list.el
9141 in places where it will not be found. (Bug#910)
9143 * international/mule-cmds.el (set-default-coding-systems):
9144 * files.el (normal-mode):
9145 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9146 This function was removed with ucs-tables.el in 2008.
9148 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9150 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9151 ispell-encoding8-command to "-i", without a trailing space.
9152 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9153 separate command-line arguments, to specify the encoding, since
9154 that's how hunspell expects it.
9156 2012-04-08 Glenn Morris <rgm@gnu.org>
9158 * loadup.el: Load bindings before cus-start.
9159 This reduces somewhat the number of "rogue" settings in emacs -Q.
9161 2012-04-07 Glenn Morris <rgm@gnu.org>
9163 * version.el (emacs-bzr-get-version): New function.
9164 (emacs-bzr-version): New variable.
9165 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9166 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9168 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9170 * international/uni-bidi.el, international/uni-category.el:
9171 * international/uni-combining.el, international/uni-decimal.el:
9172 * international/uni-decomposition.el, international/uni-digit.el:
9173 * international/uni-lowercase.el, international/uni-mirrored.el:
9174 * international/uni-name.el, international/uni-numeric.el:
9175 * international/uni-titlecase.el, international/uni-uppercase.el:
9176 Update for Unicode 6.1.
9178 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9180 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9182 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9184 * window.el (shrink-window): Mention the `window-min-height'
9185 variable in the doc string.
9187 2012-04-05 Bastien Guerry <bzg@altern.org>
9189 * color.el (color-lighten-name): Fix typo.
9191 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * server.el (server--on-display-p): New function.
9194 (server--on-display-p): Use it.
9196 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9198 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9201 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9203 * comint.el (comint--common-quoted-suffix): Check string boundary
9204 before comparing (bug#11158).
9205 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9207 2012-04-04 Chong Yidong <cyd@gnu.org>
9209 * minibuffer.el (completion-extra-properties): Doc fix.
9211 * subr.el (delayed-warnings-hook): Doc fix.
9213 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9215 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9216 selection (Bug#11159).
9217 (epa-insert-keys): Inform that the default public key will be
9218 exported if no key is selected.
9220 2012-04-04 Richard Stallman <rms@gnu.org>
9222 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9224 2012-04-03 Chong Yidong <cyd@gnu.org>
9226 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9227 mail-insert-file, not its obsolete alias mail-attach-file.
9229 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9231 * notifications.el (notifications-notify): Fix docstring.
9233 2012-04-02 Glenn Morris <rgm@gnu.org>
9235 * emacs-lisp/authors.el (authors-aliases): Another addition.
9237 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9239 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9240 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9241 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9243 2012-04-01 Chong Yidong <cyd@gnu.org>
9245 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9246 Handle root directory properly.
9247 (copy-directory): Caller changed.
9249 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9250 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9252 2012-03-31 Glenn Morris <rgm@gnu.org>
9254 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9256 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9258 * calendar/calendar.el (calendar-window-list)
9259 (calendar-hide-window): Restore. (Bug#11140)
9260 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9262 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9264 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9266 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9267 Check if file is a symlink (Bug#10489).
9269 * files.el (copy-directory): Likewise.
9271 2012-03-30 Chong Yidong <cyd@gnu.org>
9273 * image.el (imagemagick-types-inhibit)
9274 (imagemagick-register-types): Doc fix.
9276 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9278 * textmodes/ispell.el (ispell-get-extended-character-mode):
9279 Disable extended-char-mode for hunspell. hunspell does not support it
9280 and treats ~word as ordinary words in pipe mode.
9282 2012-03-30 Glenn Morris <rgm@gnu.org>
9284 * tutorial.el (help-with-tutorial): Ensure local variables don't
9285 happen to make the buffer read-only. (Bug#11127)
9287 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9290 (perl-calculate-indent): Return `noindent' in strings.
9292 2012-03-28 Sam Steingold <sds@gnu.org>
9294 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9295 instead of the broken adhockery which does not prevent calendar
9296 buffers from being displayed at random after exit.
9297 (calendar-window-list, calendar-hide-window): Remove the broken
9300 2012-03-28 Glenn Morris <rgm@gnu.org>
9302 * replace.el (query-replace-map): Doc fix.
9304 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9306 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9307 contents. (Bug#11109)
9309 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9311 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9313 (avl-tree--check, avl-tree--check-node): New funs.
9315 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9317 * window.el (switch-to-visible-buffer): New option.
9318 (switch-to-prev-buffer, switch-to-next-buffer):
9319 Observe switch-to-visible-buffer. Make sure that checking for a window
9320 showing a buffer already is done on the same frame.
9322 2012-03-27 Glenn Morris <rgm@gnu.org>
9324 * startup.el (mail-host-address): Doc fix.
9326 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9331 2012-03-26 Ami Fischman <ami@fischman.org>
9333 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9335 2012-03-26 Glenn Morris <rgm@gnu.org>
9337 * files.el (save-buffers-kill-emacs): Doc fix.
9339 * startup.el (normal-top-level, command-line, command-line-1):
9340 Give them doc strings.
9342 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9344 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9345 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9347 2012-03-25 Chong Yidong <cyd@gnu.org>
9349 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9350 theme if it was previously enabled before (Bug#11031).
9352 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9353 spec with custom-face-get-current-spec if its :shown-value is not
9354 determined yet (Bug#9337).
9355 (customize-create-theme, custom-theme-revert): Doc fixes.
9357 * button.el (button-at): Minor addition to docstring.
9359 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9361 * vc/vc.el (vc-merge): Fix a prompt.
9363 2012-03-24 Chong Yidong <cyd@gnu.org>
9365 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9368 * button.el (button-at): Minor addition to docstring.
9370 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * newcomment.el (comment-choose-indent): No space after BOL.
9374 2012-03-22 Sam Steingold <sds@gnu.org>
9376 * window.el (switch-to-prev-buffer): Revert last patch because the
9377 bug turned out to be an advertised feature (Elisp manual 28.14).
9379 2012-03-22 Glenn Morris <rgm@gnu.org>
9381 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9382 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9384 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386 * net/network-stream.el (network-stream-open-starttls): Make error
9387 message under Windows be less misleading.
9389 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9391 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9392 understands (bug#9942).
9394 2012-03-22 Chong Yidong <cyd@gnu.org>
9396 * simple.el (end-of-visible-line): Handle return value of
9397 next-single-property-change properly (Bug#9371).
9399 2012-03-22 Kenichi Handa <handa@m17n.org>
9401 * international/quail.el (quail-insert-kbd-layout): Fix previous
9402 change. To avoid unwanted bidi reordering, use
9403 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9405 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9407 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9408 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9409 (ruby-beginning-of-indent): Be more careful with the difference
9410 between word-boundary and symbol boundary.
9411 (ruby-mode-syntax-table): Make : a symbol constituent.
9413 2012-03-21 Andreas Politz <politza@fh-trier.de>
9415 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9417 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * progmodes/etags.el (tags-completion-at-point-function):
9422 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9424 2012-03-21 Sam Steingold <sds@gnu.org>
9426 * progmodes/etags.el (tags-completion-at-point-function):
9427 Avoid the error when point is inside the pattern.
9429 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9431 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9434 2012-03-21 Drew Adams <drew.adams@oracle.com>
9436 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9438 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9440 * ido.el (ido-set-current-directory, ido-read-internal)
9441 (ido-choose-completion-string, ido-completion-help): Handle nil
9442 value of ido-completion-buffer (Bug#11008).
9444 2012-03-21 Sam Steingold <sds@gnu.org>
9446 * window.el (switch-to-prev-buffer): Do not switch to a visible
9447 window previous buffer, just like with the frame previous buffers.
9449 2012-03-21 Chong Yidong <cyd@gnu.org>
9451 * faces.el (make-face, make-empty-face, copy-face):
9452 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9455 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9457 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9458 (widget-complete): Remove broken use of it.
9460 2012-03-20 Chong Yidong <cyd@gnu.org>
9462 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9463 Use string-width and truncate-string-width to handle arbitrary
9466 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9468 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9469 to draw rectangles, not squares. (Regression introduced by revno
9470 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9472 2012-03-18 Chong Yidong <cyd@gnu.org>
9474 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9475 it is not yet defined (for temacs).
9477 2012-03-18 Leo Liu <sdl.web@gmail.com>
9479 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9482 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9484 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9485 (ispell-choices-win-default-height, ispell-silently-savep)
9486 (ispell-dictionary-alist, ispell-encoding8-command)
9487 (ispell-check-version, ispell-aspell-find-dictionary)
9488 (ispell-valid-dictionary-list, ispell-words-keyword)
9489 (ispell-get-word, ispell-internal-change-dictionary)
9490 (ispell-region, ispell-skip-region-list)
9491 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9492 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9493 (ispell-message-text-end, ispell-message)
9494 (ispell-buffer-local-parsing): Doc fix.
9496 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9498 * htmlfontify.el: Add support for code block fontification for ODT
9500 (hfy-optimisations): Define new option
9502 (hfy-fontify-buffer): Honor above setting.
9503 (hfy-begin-span, hfy-end-span): New routines factored out form
9504 `hfy-fontify-buffer'.
9505 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9506 that permit insertion of custom tags.
9507 (hfy-fontify-buffer): Use above handlers.
9508 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9509 (hfy-face-to-css): Re-defined to be a variable.
9510 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9511 over multiple runs. This is made possible by having the caller let
9512 bind a special variable `hfy-user-sheet-assoc'.
9513 (htmlfontify-string): New defun.
9514 (hfy-compile-face-map): Make sure that the last char in the
9515 buffer is correctly fontified.
9516 (hfy-face-resolve-face): Whitespace only change.
9518 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9520 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9523 2012-03-16 Leo Liu <sdl.web@gmail.com>
9525 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9527 2012-03-16 Alan Mackenzie <acm@muc.de>
9529 Further optimise the handling of large macros.
9531 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9532 limit to a call of `c-literal-limits'.
9533 (c-determine-+ve-limit): New function.
9534 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9535 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9536 In CASE 5B, restrict a search limit to 500.
9537 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9539 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9540 Restrict macro bounds to +-500 from after-change's BEG END.
9542 2012-03-16 Leo Liu <sdl.web@gmail.com>
9544 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9546 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9548 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9549 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9551 2012-03-16 Glenn Morris <rgm@gnu.org>
9553 * view.el (view-buffer, view-buffer-other-window)
9554 (view-buffer-other-frame): Doc fixes re special mode-class.
9556 * subr.el (eval-after-load): If named feature is provided not from
9557 a file, run after-load forms. (Bug#10946)
9559 * calendar/calendar.el (calendar-insert-at-column):
9560 Handle non-unit-width characters a bit better. (Bug#10978)
9562 2012-03-15 Chong Yidong <cyd@gnu.org>
9564 * emacs-lisp/ring.el (ring-extend): New function.
9565 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9567 * comint.el (comint-read-input-ring)
9568 (comint-add-to-input-history): Grow comint-input-ring lazily.
9570 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9572 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9573 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9575 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9576 (imenu-add-to-menubar): Don't add a redundant index.
9577 (imenu-update-menubar): Handle a dynamically composed keymap.
9579 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9581 * mail/sendmail.el (mail-encode-header):
9582 Bind rfc2047-encode-encoded-words to nil.
9584 2012-03-13 Glenn Morris <rgm@gnu.org>
9586 * calendar/calendar.el (calendar-string-spread):
9587 Handle non-unit-width characters a bit better. (Bug#10978)
9589 2012-03-13 Leo Liu <sdl.web@gmail.com>
9591 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9592 directory and file as argument (Bug#10822).
9594 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9596 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9597 For dynamically generated code, follow $PC.
9598 (gdb-disassembly-handler-custom): Handle no function name case.
9600 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9602 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9603 * emulation/ws-mode.el (ws-query-replace):
9604 * sort.el (sort-regexp-fields):
9605 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9607 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9609 * dabbrev.el: Fix cycle completion order (bug#10963).
9610 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9611 (dabbrev-completion): Don't use an obarray; provide
9612 a cycle-sort-function.
9614 2012-03-12 Leo Liu <sdl.web@gmail.com>
9616 * simple.el (kill-new): Use equal-including-properties for comparison.
9617 (kill-do-not-save-duplicates): Doc fix.
9619 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * dabbrev.el: Fix cycle completion (bug#10963).
9622 Use lexical binding and wrap to 80 columns.
9623 (dabbrev-completion): Delay computing the list of completions.
9625 2012-03-12 Kenichi Handa <handa@m17n.org>
9627 * international/quail.el (quail-insert-kbd-layout): Surround each
9628 row by LRO and PDF instead of inserting many LRMs. Pad the left
9629 and right of each non-spacing marks. Insert invisible space
9630 between lower and upper characters to prevent composition.
9632 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9634 * minibuffer.el (minibuffer-complete): Don't get confused when the
9635 function is run twice via different commands (bug#10958).
9636 (complete-with-action): Fix docstring.
9638 2012-03-12 Chong Yidong <cyd@gnu.org>
9640 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9641 (nxml-completion-at-point-function): New function.
9642 (nxml-mode): Use it.
9643 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9645 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9646 Load generated autoloads file before byte compiling (Bug#10970).
9647 (package--make-autoloads-and-compile): New helper fun.
9649 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9651 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9653 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9655 * autorevert.el (auto-revert-handler): Ensure, that
9656 file-readable-p is applied only for local files or in
9657 auto-revert-tail-mode.
9659 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9661 * server.el (server-eval-at): Handle non-tcp connections.
9662 Decode result string.
9664 * server.el (server-msg-size): New constant.
9665 (server-reply-print): New function.
9666 (server-eval-and-print): Use it.
9667 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9670 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9672 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9675 2012-03-11 Chong Yidong <cyd@gnu.org>
9677 * simple.el (goto-line): Doc fix (Bug#9938).
9679 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9681 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9682 when finished (Bug#10963).
9684 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9686 * window.el (split-window-below): Fix bug in case where
9687 split-window-keep-point is nil (Bug#10971).
9689 2012-03-11 Juri Linkov <juri@jurta.org>
9691 * replace.el (replace-highlight): Set isearch-word to nil
9692 unconditionally. (Bug#10887)
9694 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9696 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9697 mairix-replace-illegal-chars; all callers changed. Don't remove
9698 ^, ~, and = characters: they are meaningful in mairix search specs.
9699 (mairix-widget-create-query): Add usage information about mairix
9700 search forms: negating words, searching for substrings, etc.
9702 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9704 * international/fontset.el (font-encoding-alist): Add an entry for
9707 2012-03-10 Richard Stallman <rms@gnu.org>
9709 * mail/sendmail.el (mail-encode-header):
9710 Set rfc2047-encode-encoded-words.
9712 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9714 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9715 view buffer means not swapped.
9716 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9717 (rmail-write-region-annotate): Error if real text has disappeared.
9719 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9721 2012-03-10 Chong Yidong <cyd@gnu.org>
9723 * emulation/cua-rect.el (cua--init-rectangles):
9724 * emulation/cua-base.el (cua--init-keymaps):
9725 Add delete-forward-char to remappings (Bug#9666).
9727 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9729 * speedbar.el (speedbar-unhighlight-one-tag-line):
9730 Avoid unhighlighting due to frame switching (Bug#10275).
9732 2012-03-10 Chong Yidong <cyd@gnu.org>
9734 * minibuffer.el (completion-in-region, completion-help-at-point):
9735 Give the completion field overlay a high priority (Bug#6830).
9737 * dired.el (dired-goto-file): Recognize absolute file name
9738 listings (Bug#7126).
9739 (dired-goto-file-1): New helper function.
9740 (dired-toggle-read-only): Inhibit warnings.
9742 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9744 * net/dbus.el (dbus-property-handler): Return empty array if
9745 there are no properties.
9747 2012-03-09 Leo Liu <sdl.web@gmail.com>
9749 * savehist.el (savehist-printable): Stricter check for string
9752 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9754 * mail/smtpmail.el (smtpmail-send-it):
9755 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9758 2012-03-09 Glenn Morris <rgm@gnu.org>
9760 * files.el (dir-locals-find-file):
9761 Don't check result is regular, readable.
9762 (dir-locals-read-from-file): Demote errors.
9764 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9766 * international/quail.el (quail-insert-kbd-layout):
9767 Insert invisible LRM characters before each character in a keyboard
9768 layout cell, to prevent their reordering by bidi display engine.
9769 For details, see the discussion in
9770 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9772 2012-03-08 Alan Mackenzie <acm@muc.de>
9774 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9775 the starting position; make it extend the marked region when
9776 invoked repeatedly - all under appropriate circumstances.
9777 Fixes bugs #5525, #10906.
9779 2012-03-08 Glenn Morris <rgm@gnu.org>
9781 * files.el (locate-dominating-file, dir-locals-find-file):
9782 Undo 2012-03-06 change.
9784 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9786 * international/quail.el (quail-help):
9787 Force bidi-paragraph-direction be left-to-right. See discussion in
9788 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9791 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9793 Avoid superfluous registering of signals. (Bug#10807)
9795 * notifications.el (notifications-on-action-object)
9796 (notifications-on-close-object): New defvars.
9797 (notifications-on-action-signal, notifications-on-closed-signal):
9798 Unregister the signal if not needed any longer.
9799 (notifications-notify): Register `notifications-action-signal' or
9800 `notifications-closed-signal', if :on-action or :on-close has been
9803 2012-03-07 Chong Yidong <cyd@gnu.org>
9805 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9808 2012-03-06 Glenn Morris <rgm@gnu.org>
9810 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9811 (x-disown-selection-internal, x-get-selection-internal):
9812 Doc fix (add arglist signatures). (Bug#10783)
9814 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9816 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9817 Handle breakpoints with no "type".
9819 2012-03-06 Glenn Morris <rgm@gnu.org>
9821 * files.el (locate-dominating-file): Add optional predicate argument.
9822 (dir-locals-find-file): Make use of above change.
9824 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9826 * info.el (Info-insert-dir): Also try "dir.gz".
9828 2012-03-06 Glenn Morris <rgm@gnu.org>
9830 * files.el (dir-locals-find-file):
9831 Ignore non-readable or non-regular files. (Bug#10928)
9833 * files.el (locate-dominating-file): Doc fix.
9835 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9837 * calendar/calendar.el (calendar-set-mode-line):
9838 `getenv' returns a string. (Bug#10951)
9840 2012-03-05 Leo Liu <sdl.web@gmail.com>
9842 * simple.el (backward-delete-char-untabify): Constrain point to
9845 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9847 2012-03-05 Chong Yidong <cyd@gnu.org>
9849 * simple.el (count-words): If called from Lisp, return the word
9850 count, for symmetry with `count-lines'. Arglist changed.
9851 (count-words--message): Args changed. Consolidate counting code
9852 from count-words and count-words-region.
9853 (count-words-region): Caller changed.
9854 (count-lines-region): Make it an obsolete alias.
9856 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9858 * saveplace.el (save-place-to-alist)
9859 (save-place-ignore-files-regexp): Allow value nil to disable this
9862 2012-03-04 Chong Yidong <cyd@gnu.org>
9864 * faces.el (face-spec-reset-face): For the default face, reset the
9865 attributes to default values (Bug#10748).
9867 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9869 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9870 previous patch: Check `message-send-mail-function', and not the
9871 default function (bug#10897).
9873 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9875 * notifications.el (notifications-on-action-signal)
9876 (notifications-on-closed-signal): Check for unique service name of
9877 incoming event. Fix error in removing entry.
9878 (top): Register for signals with wildcard service name.
9879 (notifications-notify): Use daemon unique service name for map entries.
9881 2012-03-04 Chong Yidong <cyd@gnu.org>
9883 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9885 2012-03-04 Glenn Morris <rgm@gnu.org>
9887 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9888 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9889 (expand-abbrev, define-abbrev-table): Doc fixes.
9891 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9894 `message-default-send-mail-function' and not `send-mail-function'
9895 when doing the prompting for `sendmail-query-once' before sending
9896 in Message buffers (bug#10897).
9898 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9899 This is inconsistent with all the other stream functions, which leave
9900 the setting up to the higher levels (if so wanted) (bug#10931).
9902 2012-03-02 Alan Mackenzie <acm@muc.de>
9904 Depessimize the handling of very large macros.
9906 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9907 (c-macro-cache-syntactic): New variables to implement a one
9908 element macro cache.
9909 (c-invalidate-macro-cache): New function.
9910 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9911 Adapt to use the new cache.
9912 (c-state-safe-place): Use better the cache of safe positions.
9913 (c-state-semi-nonlit-pos-cache)
9914 (c-state-semi-nonlit-pos-cache-limit):
9915 New variables for...
9916 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9917 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9918 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9919 Use c-state-semi-safe-place.
9921 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9922 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9924 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9926 * jka-compr.el (jka-compr-call-process):
9927 Apply `file-accessible-directory-p' only when the default directory is
9930 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9932 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9933 access of FILE2, if FILE1 does not exist.
9935 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9936 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9938 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9939 Add "PAGER=" to `process-environment'.
9941 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9943 * progmodes/sql.el: Bug fix
9944 (sql-get-login-ext): Save login values in globals.
9945 (sql-get-login): Use new version of `sql-get-login-ext'.
9946 (sql-interactive-mode): Set global `sql-connection' to nil.
9947 (sql-connect): Set global values for connection.
9948 (sql-product-interactive): Save global values as buffer local.
9950 2012-02-29 Leo Liu <sdl.web@gmail.com>
9952 * abbrev.el (define-abbrevs): Reset sys to nil.
9954 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9956 * files.el (file-equal-p): Rename from `files-equal-p'.
9957 Return nil when one or both files don't exist.
9958 (file-subdir-of-p): Now only top directory must exists,
9959 return nil if it doesn't.
9960 (copy-directory): No need to test with `file-subdir-of-p' after
9962 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9965 2012-02-28 Glenn Morris <rgm@gnu.org>
9967 * shell.el (shell-mode):
9968 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9969 * play/landmark.el (landmark-font-lock-face-O):
9970 * play/handwrite.el (handwrite):
9971 * play/gomoku.el (gomoku-O):
9972 * net/browse-url.el (browse-url-browser-display):
9973 * international/mule.el (define-charset):
9974 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9975 * filesets.el (filesets-find-file-delay):
9976 * eshell/em-xtra.el (eshell-xtra):
9977 * eshell/em-unix.el (eshell-grep):
9978 * emulation/viper.el (viper-mode):
9979 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9980 * emacs-lisp/easymenu.el (easy-menu-define):
9981 * calendar/timeclock.el (timeclock-use-display-time):
9983 * bookmark.el (bookmark-save-flag):
9984 Doc fix (standardize possessive apostrophe usage).
9986 2012-02-27 Chong Yidong <cyd@gnu.org>
9988 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9989 Fix key-binding lookup for ESC key (Bug#9146).
9991 * font-lock.el (font-lock-specified-p): Rename from
9992 font-lock-spec-present. Callers changed.
9994 2012-02-27 Daniel Hackney <dan@haxney.org>
9996 * emacs-lisp/package.el (package-compute-transaction):
9997 Handle holding a package version to t in package-load-list.
9999 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10001 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10002 (tramp-get-inode, tramp-get-device): Use cached values.
10004 2012-02-26 Alan Mackenzie <acm@muc.de>
10006 Check there is a font-lock specification before doing initial
10009 * font-core.el (font-lock-mode): Move the conditional from
10010 :after-hook to font-lock-initial-fontify.
10011 (font-lock-default-function): Move the check for a specification
10012 to font-lock-spec-present.
10014 * font-lock.el (font-lock-initial-fontify): Call ...
10015 (font-lock-spec-present): New function.
10017 2012-02-26 Jim Blandy <jimb@red-bean.com>
10019 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10020 (gdb-send): Apply it to the operand of the '-interpreter-exec
10021 console' command, so that we can pass arguments with (say) quotes
10022 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10024 2012-02-26 Chong Yidong <cyd@gnu.org>
10026 * help-fns.el (describe-function-1): Clarify description of
10027 remapping (Bug#10844).
10029 * files.el (files-equal-p): Doc fix.
10030 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10031 and quit the loop once a mismatch is found.
10033 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10035 * bs.el (bs--show-with-configuration): Don't throw an error
10036 if the window cannot be split; otherwise, subsequent calls to
10037 bs-show fail, restoring a stale window config. (Bug#10882)
10039 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10041 * term/ns-win.el (global-map): Bind ns-drag-file to
10042 ns-find-file (Bug#5855, Bug#10050).
10044 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10046 * calendar/parse-time.el (parse-time-string): Allow extractor to
10049 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10051 * net/tramp.el (tramp-file-name-for-operation):
10052 Add `files-equal-p' and `file-subdir-of-p'.
10054 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10055 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10056 Add COPY-CONTENTS argument.
10058 2012-02-25 Chong Yidong <cyd@gnu.org>
10060 Add custom groups for VC backends, for consistency with vc-bzr.
10062 * vc/vc-arch.el (vc-arch):
10063 * vc/vc-cvs.el (vc-cvs):
10064 * vc/vc-git.el (vc-git):
10065 * vc/vc-hg.el (vc-hg):
10066 * vc/vc-mtn.el (vc-mtn):
10067 * vc/vc-rcs.el (vc-rcs):
10068 * vc/vc-sccs.el (vc-sccs):
10069 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10070 All relevant defcustoms reassigned.
10072 2012-02-25 Chong Yidong <cyd@gnu.org>
10074 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10076 * term/x-win.el (x-initialize-window-system): Reduce default for
10077 x-selection-timeout to 5 seconds (Bug#8869).
10079 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10081 * files.el (files-equal-p, file-subdir-of-p): New functions.
10082 (copy-directory): Error when trying to copy a directory on itself.
10083 Add missing copy-contents arg to tramp handler.
10084 * dired-aux.el (dired-copy-file-recursive): Same.
10085 (dired-create-files): Modify destination when source is equal to
10086 dest when copying files.
10087 Return also when dest is a subdir of source. (Bug#10489)
10089 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10091 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10094 2012-02-23 Alan Mackenzie <acm@muc.de>
10096 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10097 parameter "after-hook:" to allow the expansion to run code after
10098 the execution of the mode hooks.
10100 * font-lock.el (font-lock-initial-fontify): New function extracted
10101 from font-lock-mode-internal.
10103 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10106 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10109 (completion--cache-all-sorted-completions): New function.
10110 (completion-all-sorted-completions): Use it.
10111 (completion--do-completion, minibuffer-force-complete):
10112 Use it to re-instate the flush hook.
10114 * icomplete.el (icomplete-completions): Replace last fix with a better
10117 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10119 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10120 when it might call us back infinitely (bug#10797).
10122 2012-02-23 Glenn Morris <rgm@gnu.org>
10124 * minibuffer.el (completion-category-overrides): Doc fix.
10126 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10129 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10131 2012-02-23 Glenn Morris <rgm@gnu.org>
10133 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10134 (authors-obsolete-files-regexps, authors-ignored-files)
10135 (authors-ambiguous-files, authors-renamed-files-alist):
10138 2012-02-23 Juri Linkov <juri@jurta.org>
10140 * isearch.el (isearch-occur): Sync interactive spec with occur's
10141 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10143 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10145 2012-02-22 Juri Linkov <juri@jurta.org>
10147 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10148 (ucs-insert): Doc fix. Check for hex digits in the string.
10149 Don't display `nil' in the error message. (Bug#10857)
10151 2012-02-22 Alan Mackenzie <acm@muc.de>
10153 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10155 2012-02-22 Glenn Morris <rgm@gnu.org>
10157 * ffap.el (ffap-c-path):
10158 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10160 2012-02-22 Chong Yidong <cyd@gnu.org>
10162 * custom.el (load-theme): Doc fix.
10164 2012-02-22 Glenn Morris <rgm@gnu.org>
10166 * dired-x.el (dired-guess-shell-alist-default):
10167 Remove escape sequences from nroff output. (Bug#172)
10169 2012-02-21 Glenn Morris <rgm@gnu.org>
10171 * vc/emerge.el (emerge-defvar-local):
10172 Set `permanent-local' property rather than unused `preserved'.
10174 * textmodes/picture.el (picture-delete-char): New alias.
10175 (picture-mode-map): Use it. (Bug#10860)
10176 (picture-mode): Doc fix.
10178 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10180 * newcomment.el (uncomment-region-default): Remove unused binding.
10182 2012-02-21 Glenn Morris <rgm@gnu.org>
10184 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10185 (picture-self-insert, picture-tab-chars): Doc fix.
10186 (picture-mode-map): Fix C-a, C-e.
10188 2012-02-20 Glenn Morris <rgm@gnu.org>
10190 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10192 2012-02-20 Leo Liu <sdl.web@gmail.com>
10194 * icomplete.el (icomplete-completions): Check FROM arg before
10195 passing to substring (Bug#10850).
10197 2012-02-19 Chong Yidong <cyd@gnu.org>
10199 * comint.el: Require ansi-color.
10200 (comint-output-filter-functions): Add ansi-color-process-output.
10202 * ansi-color.el: Don't set comint-output-filter-functions; it is
10203 now in the initial value defined in comint.el.
10204 (ansi-color-apply-face-function): New variable.
10205 (ansi-color-apply-on-region): Use it.
10206 (ansi-color-apply-overlay-face): New function.
10208 * shell.el (shell): No need to require ansi-color.
10209 (shell-mode): Use ansi-color-apply-face-function to highlight
10210 color escapes using font-lock-face property (Bug#10835).
10212 2012-02-19 Chong Yidong <cyd@gnu.org>
10214 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10215 mode-line formats (Bug#10839).
10217 2012-02-18 Glenn Morris <rgm@gnu.org>
10219 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10221 * mail/undigest.el (unforward-rmail-message): Doc fix.
10223 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10225 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10227 * international/characters.el (script-list): Sync with the latest
10228 Unicode Character Database.
10230 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10232 * international/titdic-cnv.el: Remove duplicate coding tag.
10233 * language/cham.el: Likewise.
10234 * language/tai-viet.el: Likewise.
10236 2012-02-18 Glenn Morris <rgm@gnu.org>
10238 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10239 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10240 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10241 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10242 * calendar/holidays.el (holiday-bahai-holidays)
10243 (calendar-holidays, list-holidays):
10244 Use utf-8 Bahá'í in doc-strings, menus, etc.
10246 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10248 * saveplace.el (save-place-ignore-files-regexp): New variable
10249 allowing for excluding files from saving their location of point.
10250 The default value matches the temporary commit message editing
10251 files from Git, SVN, Bazaar, and Mercurial.
10252 (save-place-to-alist): Use it.
10254 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10255 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * newcomment.el (uncomment-region-default): Don't leave extra space
10258 when an arg is provided (bug#8150).
10260 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10262 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10264 2012-02-17 Glenn Morris <rgm@gnu.org>
10266 * net/socks.el: Require network-stream. (Bug#10599)
10268 2012-02-17 Kenichi Handa <handa@m17n.org>
10270 * international/charprop.el:
10271 * international/uni-name.el:
10272 * international/uni-old-name.el:
10273 * international/uni-comment.el: Regenerate.
10275 2012-02-16 Glenn Morris <rgm@gnu.org>
10277 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10278 Interactively in calendar buffer, give an error if not on a date.
10280 2012-02-15 Glenn Morris <rgm@gnu.org>
10282 * shell.el (shell-delimiter-argument-list):
10283 Revert 2011-02-17 change. (Bug#8027)
10285 2012-02-15 Chong Yidong <cyd@gnu.org>
10287 * minibuffer.el (completion-at-point-functions): Doc fix.
10289 * custom.el (defcustom): Doc fix; note use of defvar.
10291 2012-02-15 Glenn Morris <rgm@gnu.org>
10293 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10296 2012-02-14 Glenn Morris <rgm@gnu.org>
10298 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10300 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10302 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10303 way the ports list is computed.
10304 (smtpmail-query-smtp-server): Prompt the user for a port number if
10305 we can't connect to any of the standard ports (bug#10810).
10307 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10309 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10311 2012-02-13 Glenn Morris <rgm@gnu.org>
10313 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10315 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10317 * net/gnutls.el (gnutls-trustfiles): New variable.
10318 (gnutls-negotiate): Use it.
10320 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10322 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10323 does its stuff if Gnus is running.
10325 2012-02-13 Alan Mackenzie <acm@muc.de>
10327 Fix a loop in c-set-fl-decl-start.
10329 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10330 c-backward-syntactic-ws actually moves backwards.
10332 2012-02-13 Leo Liu <sdl.web@gmail.com>
10334 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10335 beginning so that all \C-o chars are removed.
10337 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10339 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10341 2012-02-12 Alan Mackenzie <acm@muc.de>
10343 Fix infinite loop with long macros.
10344 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10346 2012-02-12 Chong Yidong <cyd@gnu.org>
10348 * window.el (display-buffer): Doc fix (Bug#10785).
10350 2012-02-12 Glenn Morris <rgm@gnu.org>
10352 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10353 (x-disown-selection-internal, x-get-selection-internal):
10354 Sync docs with the xselect.c versions.
10356 * allout-widgets.el: Add missing license notice.
10358 2012-02-11 Glenn Morris <rgm@gnu.org>
10360 * select.el (x-get-selection-internal, x-own-selection-internal)
10361 (x-disown-selection-internal):
10362 * x-dnd.el (x-get-selection-internal): Update declarations.
10364 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10366 * window.el (window-sides-slots):
10367 * tool-bar.el (tool-bar-position):
10368 * term/xterm.el (xterm-extra-capabilities):
10369 * ses.el (ses-self-reference-early-detection):
10370 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10371 (verilog-auto-wire-type)
10372 (verilog-auto-delete-trailing-whitespace)
10373 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10374 (verilog-auto-tieoff-declaration):
10375 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10376 (sql-oracle-statement-starters, sql-oracle-scan-on):
10377 * progmodes/prolog.el (prolog-align-comments-flag)
10378 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10379 (prolog-left-indent-regexp, prolog-paren-indent-p)
10380 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10381 (prolog-types, prolog-mode-specificators)
10382 (prolog-determinism-specificators, prolog-directives)
10383 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10384 (prolog-electric-dot-flag)
10385 (prolog-electric-dot-full-predicate-template)
10386 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10387 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10388 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10389 (prolog-program-switches, prolog-prompt-regexp)
10390 (prolog-debug-on-string, prolog-debug-off-string)
10391 (prolog-trace-on-string, prolog-trace-off-string)
10392 (prolog-zip-on-string, prolog-zip-off-string)
10393 (prolog-use-standard-consult-compile-method-flag)
10394 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10395 (prolog-imenu-max-lines, prolog-info-predicate-index)
10396 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10397 (prolog-char-quote-workaround):
10398 * progmodes/cc-vars.el (c-defun-tactic):
10399 * net/tramp.el (tramp-encoding-command-interactive)
10400 (tramp-local-end-of-line):
10401 * net/soap-client.el (soap-client):
10402 * net/netrc.el (netrc-file):
10403 * net/gnutls.el (gnutls):
10404 * minibuffer.el (completion-category-overrides)
10405 (completion-cycle-threshold)
10406 (completion-pcm-complete-word-inserts-delimiters):
10407 * man.el (Man-name-local-regexp):
10408 * mail/feedmail.el (feedmail-display-full-frame):
10409 * international/characters.el (glyphless-char-display-control):
10410 * eshell/em-ls.el (eshell-ls-date-format):
10411 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10412 (lisp-lambda-list-keyword-parameter-indentation)
10413 (lisp-lambda-list-keyword-parameter-alignment):
10414 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10415 * dired-x.el (dired-omit-verbose):
10416 * cus-theme.el (custom-theme-allow-multiple-selections):
10417 * calc/calc.el (calc-highlight-selections-with-faces)
10418 (calc-lu-field-reference, calc-lu-power-reference)
10419 (calc-note-threshold):
10420 * battery.el (battery-mode-line-limit):
10421 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10422 (archive-7z-update):
10423 * allout.el (allout-prefixed-keybindings)
10424 (allout-unprefixed-keybindings)
10425 (allout-inhibit-auto-fill-on-headline)
10426 (allout-flattened-numbering-abbreviation):
10427 * allout-widgets.el (allout-widgets-auto-activation)
10428 (allout-widgets-icons-dark-subdir)
10429 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10430 (allout-widgets-theme-dark-background)
10431 (allout-widgets-theme-light-background)
10432 (allout-widgets-item-image-properties-emacs)
10433 (allout-widgets-item-image-properties-xemacs)
10434 (allout-widgets-run-unit-tests-on-load)
10435 (allout-widgets-time-decoration-activity)
10436 (allout-widgets-hook-error-post-time)
10437 (allout-widgets-track-decoration):
10438 Add missing :version tags to new defcustoms and defgroups.
10440 * progmodes/sql.el (sql-ansi-statement-starters)
10441 (sql-oracle-statement-starters): Add custom type.
10443 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10444 (prolog-system-version): Give it a type.
10446 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10448 * term/pc-win.el (x-select-text, x-selection-owner-p)
10449 (x-own-selection-internal, x-disown-selection-internal)
10450 (x-get-selection-internal): Sync doc strings and argument lists
10451 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10453 2012-02-11 Leo Liu <sdl.web@gmail.com>
10455 * progmodes/python.el (python-end-of-statement): Fix infinite
10458 2012-02-10 Glenn Morris <rgm@gnu.org>
10460 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10461 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10463 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10465 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10466 about SMTP before checking the From header.
10468 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10469 into own function for reuse by emacsbug.el.
10471 2012-02-10 Leo Liu <sdl.web@gmail.com>
10473 * subr.el (condition-case-unless-debug): Rename from
10474 condition-case-no-debug. All callers changed.
10475 (with-demoted-errors): Fix caller.
10477 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10478 * nxml/rng-valid.el (rng-do-some-validation):
10479 * emacs-lisp/package.el (package-refresh-contents)
10480 (package-menu-execute):
10481 * desktop.el (desktop-create-buffer):
10482 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10484 2012-02-10 Glenn Morris <rgm@gnu.org>
10486 * textmodes/bibtex.el:
10487 Add missing :version tags for new/changed defcustoms.
10489 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10491 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10493 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10494 (smtpmail-via-smtp): Use it, or fall back on the From address.
10495 (smtpmail-send-it): Ditto.
10497 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10500 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10501 (byte-compile-tmp-var): New const.
10502 (byte-compile-defvar): Use it to minimize .elc size.
10503 Just use `defvar' rather than simulate it (bug#10761).
10505 2012-02-09 Glenn Morris <rgm@gnu.org>
10507 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10509 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10512 * progmodes/compile.el (compilation-error-screen-columns)
10513 (compilation-first-column, compilation-filter-start): Doc fixes.
10515 * vc/log-view.el (log-view-toggle-entry-display):
10516 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10518 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10519 (report-emacs-bug-can-use-xdg-email):
10520 (report-emacs-bug-insert-to-mailer): Doc fixes.
10521 (report-emacs-bug): Message fix.
10523 * net/browse-url.el (browse-url-can-use-xdg-open)
10524 (browse-url-xdg-open): Doc fixes.
10526 * electric.el (electric-indent-mode, electric-pair-mode)
10527 (electric-layout-rules, electric-layout-mode): Doc fixes.
10528 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10530 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10532 * server.el (server-unselect-display): Don't inadvertently kill
10533 the current buffer. (Bug#10729)
10535 2012-02-08 Glenn Morris <rgm@gnu.org>
10537 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10538 (sql-list-table): Doc fixes.
10540 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10541 Comment out (does nothing).
10543 * completion.el (dynamic-completion-mode):
10544 * dirtrack.el (dirtrack-debug-mode):
10545 * electric.el (electric-layout-mode):
10546 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10547 * face-remap.el (text-scale-mode, buffer-face-mode):
10548 * iimage.el (iimage-mode):
10549 * image-mode.el (image-transform-mode):
10550 * minibuffer.el (completion-in-region-mode):
10551 * scroll-lock.el (scroll-lock-mode):
10552 * simple.el (next-error-follow-minor-mode):
10553 * tar-mode.el (tar-subfile-mode):
10554 * tooltip.el (tooltip-mode):
10555 * vcursor.el (vcursor-use-vcursor-map):
10556 * wid-browse.el (widget-minor-mode):
10557 * emulation/tpu-edt.el (tpu-edt-mode):
10558 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10559 * international/iso-ascii.el (iso-ascii-mode):
10560 * language/thai-util.el (thai-word-mode):
10561 * mail/supercite.el (sc-minor-mode):
10562 * net/goto-addr.el (goto-address-mode):
10563 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10564 * progmodes/cwarn.el (cwarn-mode):
10565 * progmodes/flymake.el (flymake-mode):
10566 * progmodes/glasses.el (glasses-mode):
10567 * progmodes/hideshow.el (hs-minor-mode):
10568 * progmodes/pascal.el (pascal-outline-mode):
10569 * textmodes/enriched.el (enriched-mode):
10570 * vc/smerge-mode.el (smerge-mode):
10571 Doc fixes (minor mode argument).
10573 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10575 * ls-lisp.el (ls-lisp-sanitize): New function.
10576 (ls-lisp-insert-directory): Use it to fix or remove any elements
10577 in file-alist with missing attributes. (Bug#4673)
10579 2012-02-07 Alan Mackenzie <acm@muc.de>
10581 Fix spurious recognition of c-in-knr-argdecl.
10583 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10584 putative K&R region.
10586 2012-02-07 Alan Mackenzie <acm@muc.de>
10588 * progmodes/cc-engine.el (c-forward-objc-directive):
10589 Prevent looping in "#pragma mark @implementation".
10591 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10593 * notifications.el (notifications-on-closed-signal): Make `reason'
10594 optional. (Bug#10744)
10596 2012-02-07 Glenn Morris <rgm@gnu.org>
10598 * emacs-lisp/easy-mmode.el (define-minor-mode):
10599 Doc fixes for the macro and the mode it defines.
10601 * image.el (imagemagick-types-inhibit): Doc fix.
10603 * cus-start.el (imagemagick-render-type): Add it.
10605 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10607 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10608 Set the default at load time, too, so that `font-lock-fontify-buffer'
10609 can be called without setting up the entire mode first. This fixes
10610 a bug in `mm-inline-text' with C MIME parts.
10612 2012-02-06 Chong Yidong <cyd@gnu.org>
10614 * simple.el (list-processes--refresh): Delete exited processes
10617 * comint.el (comint-next-prompt): next-single-char-property-change
10618 and prev-single-char-property-change never return nil (Bug#8657).
10620 * custom.el (defcustom): Doc fix (Bug#9711).
10622 2012-02-05 Chong Yidong <cyd@gnu.org>
10624 * cus-edit.el (custom-variable-reset-backup): Quote the value
10625 before storing it in the customized-value property (Bug#6712).
10626 (custom-display): Add a customization type tag.
10627 (custom-buffer-create-internal): Improve tooltip message.
10629 * wid-edit.el (widget-field-value-get): New optional arg to
10630 suppress trailing whitespace truncation.
10631 (character): Use it (Bug#2689).
10633 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10635 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10636 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10638 2012-02-05 Chong Yidong <cyd@gnu.org>
10640 * cus-edit.el (custom-variable-value-create): For mismatched
10641 types, show the current value (Bug#7600).
10643 * custom.el (defcustom): Doc fix.
10645 2012-02-05 Glenn Morris <rgm@gnu.org>
10647 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10649 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10651 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10652 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10653 (pp-last-sexp): Use `looking-at-p'.
10655 2012-02-04 Glenn Morris <rgm@gnu.org>
10657 * files.el (revert-buffer):
10658 Doc fix (mention revert-buffer-in-progress-p).
10660 * emacs-lisp/ert-x.el (ert-simulate-command):
10661 Check deferred-action-list (which is obsolete) is bound.
10663 * subr.el (with-wrapper-hook): Doc fixes.
10665 * simple.el (filter-buffer-substring-functions)
10666 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10668 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10670 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10671 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10673 2012-02-04 Leo Liu <sdl.web@gmail.com>
10675 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10677 2012-02-04 Glenn Morris <rgm@gnu.org>
10679 * image.el (image-extension-data): Add obsolete alias.
10681 * isearch.el (isearch-update): Doc fix.
10683 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10685 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10687 2012-02-03 Glenn Morris <rgm@gnu.org>
10689 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10690 (image-animate-timeout): Doc fix.
10692 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10694 2012-02-02 Glenn Morris <rgm@gnu.org>
10696 * server.el (server-auth-dir): Doc fix.
10697 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10699 * subr.el (run-mode-hooks): Doc fix.
10701 2012-02-02 Juri Linkov <juri@jurta.org>
10703 * image-mode.el (image-toggle-display-image): Remove tautological
10704 `major-mode' from the `derived-mode-p' test.
10706 2012-02-02 Kenichi Handa <handa@m17n.org>
10708 * composite.el (compose-region): Cancel previous change.
10710 2012-02-02 Kenichi Handa <handa@m17n.org>
10712 * composite.el (compose-region, compose-string): Signal error for
10713 a null string component (Bug#6988).
10715 2012-02-01 Chong Yidong <cyd@gnu.org>
10717 * view.el (view-buffer-other-window, view-buffer-other-frame):
10718 Handle special modes like view-buffer (Bug#10650).
10719 (view-buffer): Simplify.
10721 * frame.el (set-frame-font): Tweak meaning of third argument.
10723 * dynamic-setting.el (font-setting-change-default-font):
10724 Use set-frame-font (Bug#9982).
10726 2012-02-01 Glenn Morris <rgm@gnu.org>
10728 * progmodes/compile.el (compilation-internal-error-properties):
10729 Respect compilation-first-column in the "*compilation*" buffer.
10731 * emacs-lisp/easy-mmode.el (define-minor-mode):
10732 Relax :variable's test for a named function.
10734 2012-01-31 Alan Mackenzie <acm@muc.de>
10736 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10739 2012-01-31 Chong Yidong <cyd@gnu.org>
10741 * frame.el (set-frame-font): New arg ALL-FRAMES.
10743 * menu-bar.el (menu-set-font): Use set-frame-font.
10745 * faces.el (face-spec-reset-face): Don't apply unspecified
10746 attribute values to the default face.
10748 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10750 * progmodes/cwarn.el (cwarn): Remove dead link.
10751 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10752 Remove * from defcustom docstrings.
10753 (turn-on-cwarn-mode): Make obsolete.
10754 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10755 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10757 2012-01-31 Glenn Morris <rgm@gnu.org>
10759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10760 Fix :variable handling of mode a symbol not equal to modefun.
10761 Allow named functions to be used as the cdr of :variable.
10763 2012-01-30 Glenn Morris <rgm@gnu.org>
10765 * emacs-lisp/authors.el (authors-fixed-entries):
10766 Remove reference to deleted file rnewspost.el.
10768 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10770 * window.el (window-with-parameter): Remove unused variable `windows'.
10771 (window--side-check): Remove unused variable `code'.
10772 (window--resize-siblings): Remove unused variable `first'.
10773 (adjust-window-trailing-edge): Remove unused variable `failed'.
10774 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10775 Use `let', not `let*'.
10776 (balance-windows-2): Remove unused variable `found'.
10777 (window--state-put-2): Remove unused variable `splits'.
10778 (window-state-put): Remove unused variable `selected'.
10779 (same-window-p): Use `string-match-p'.
10780 (display-buffer-assq-regexp): Remove unused variable `value'.
10781 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10782 Mark argument ALIST as ignored.
10783 (pop-to-buffer): Remove unused variable `old-window'.
10785 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10787 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10788 and .lzma compressed files.
10790 2012-01-29 Chong Yidong <cyd@gnu.org>
10792 * frame.el (window-system-default-frame-alist): Doc fix.
10794 * dynamic-setting.el (font-setting-change-default-font): Don't
10795 change the default face if SET-FONT argument is non-nil (Bug#9982).
10797 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10799 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10801 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10803 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10804 breakpoints in files outside current directory (Bug#6098).
10806 2012-01-29 Chong Yidong <cyd@gnu.org>
10808 * progmodes/python.el: Require ansi-color at top-level.
10810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10811 Define and use in Emacs Lisp mode (Bug#9360).
10812 (lisp-mode-abbrev-table): Add doc.
10813 (lisp-mode-variables): Don't set local-abbrev-table.
10814 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10816 2012-01-28 Roland Winkler <winkler@gnu.org>
10818 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10820 2012-01-28 Roland Winkler <winkler@gnu.org>
10822 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10823 (bibtex-set-dialect): Use it. Either set global values of
10824 dialect-dependent variables or bind these variables buffer-locally
10826 (bibtex-mode): Call bibtex-set-dialect via
10827 hack-local-variables-hook.
10828 (bibtex-dialect): Update docstring.
10829 Add safe-local-variable predicate.
10830 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10831 bibtex-set-dialect.
10832 (bibtex-mode-map): Define menu for each dialect.
10833 (bibtex-entry): Fix docstring.
10835 2012-01-28 Chong Yidong <cyd@gnu.org>
10837 * eshell/esh-arg.el (eshell-quote-argument): New function.
10839 * eshell/esh-ext.el (eshell-invoke-batch-file):
10840 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10841 first arg to eshell-parse-command (Bug#10523).
10843 2012-01-28 Drew Adams <drew.adams@oracle.com>
10845 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10846 `default-directory' is non-nil.
10848 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10850 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10851 line that displays system-configuration-options. (Bug#9924)
10853 2012-01-28 Drew Adams <drew.adams@oracle.com>
10855 * descr-text.el (describe-char): Show information about POS, in
10856 addition to information about the character at POS. Improve and
10857 update the doc string. Change "code point" to "code point in
10858 charset", to avoid confusion with the character's Unicode code
10859 point shown above that. (Bug#10129)
10861 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10863 * descr-text.el (describe-char): Show the raw character, not only
10864 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10865 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10868 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10870 * emacs-lisp/package.el (package-install):
10871 Run package-refresh-contents if there is no archive yet (Bug#9798).
10873 2012-01-28 Chong Yidong <cyd@gnu.org>
10875 * emacs-lisp/package.el (package-maybe-load-descriptor):
10876 New function, split from package-maybe-load-descriptor.
10877 (package-maybe-load-descriptor): Use it.
10878 (package-download-transaction): Fully load required packages
10879 inside the loop, so that `require' calls work (Bug#10593).
10880 (package-install): No need to call package-initialize now.
10882 2012-01-28 Chong Yidong <cyd@gnu.org>
10884 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10886 * tooltip.el (tooltip-mode): Doc fix.
10887 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10889 * frame.el (set-cursor-color): Doc fix (Bug#352).
10891 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10892 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10894 * cus-edit.el (custom-buffer-create-internal): Fix search button
10895 action (Bug#10542).
10896 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10898 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10900 * dired.el (dired-mark-files-regexp):
10901 Include any subdirectory components. (Bug#10445)
10903 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10905 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10906 Handle [host]:port syntax. (Bug#10533)
10908 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10910 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10912 2012-01-26 Glenn Morris <rgm@gnu.org>
10914 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10915 * term.el (term-raw-escape-map): Use Control-X-prefix.
10916 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10918 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10920 * window.el (window-state-get, window--state-get-1): Don't deal
10921 with fixed-sizeness of windows. Simplify code.
10923 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10925 * window.el (window--state-get-1, window--state-put-2):
10926 Don't save and restore the mark.
10928 2012-01-25 Chong Yidong <cyd@gnu.org>
10930 * custom.el (custom-variable-p): Doc fix.
10932 2012-01-25 Glenn Morris <rgm@gnu.org>
10934 * dired.el (dired-goto-file): Handle some of the more common
10935 characters that `ls -b' escapes. (Bug#10596)
10937 * progmodes/compile.el (compilation-next-error-function):
10938 Respect compilation-first-column in the "*compilation*" buffer.
10939 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10941 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10943 2012-01-24 Glenn Morris <rgm@gnu.org>
10945 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10947 2012-01-24 Julien Danjou <julien@danjou.info>
10949 * color.el (color-rgb-to-hsl): Fix value computing.
10950 (color-hue-to-rgb): New function.
10951 (color-hsl-to-rgb): New function.
10952 (color-clamp, color-saturate-hsl, color-saturate-name)
10953 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10954 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10956 2012-01-24 Glenn Morris <rgm@gnu.org>
10958 * vc/vc-rcs.el (vc-rcs-create-tag):
10959 * vc/vc-sccs.el (vc-sccs-create-tag):
10960 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10962 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10964 * eshell/esh-util.el (eshell-read-hosts-file):
10965 Skip comment lines. (Bug#10549)
10967 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10969 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10971 * subr.el (display-delayed-warnings): Doc fix.
10972 (collapse-delayed-warnings): New function to collapse identical
10974 (delayed-warnings-hook): Add it.
10976 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10978 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10980 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10981 (tramp-default-user-alist): Don't add "pscp".
10982 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10983 property "login-as", if set. (Bug#10530)
10985 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10987 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10988 "plink1" and "psftp". (Bug#10530)
10990 2012-01-21 Kenichi Handa <handa@m17n.org>
10992 * international/mule-cmds.el (prefer-coding-system): Show a
10993 warning message if the default value of file-name-coding-system
10996 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10998 * windmove.el (windmove-reference-loc):
10999 Fix windmove-reference-loc miscalculation.
11001 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11003 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11006 2012-01-21 Glenn Morris <rgm@gnu.org>
11008 * international/mule.el (auto-coding-alist): Add .tbz.
11010 * files.el (local-enable-local-variables): Doc fix.
11011 (inhibit-local-variables-regexps): Rename from
11012 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11013 Doc fix. Add some extensions from auto-coding-alist.
11014 (inhibit-local-variables-suffixes):
11015 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11016 (inhibit-local-variables-p):
11017 New function, extracted from set-auto-mode-1.
11018 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11019 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11020 (hack-local-variables): Doc fix. Make the mode-only case
11021 respect enable-local-variables and friends.
11022 Respect inhibit-local-variables-regexps for file-locals, but
11023 not for directory-locals.
11024 (set-visited-file-name):
11025 Take account of inhibit-local-variables-regexps.
11026 Whether it applies may change as the file name is changed.
11027 * jka-cmpr-hook.el (jka-compr-install):
11028 * jka-compr.el (jka-compr-uninstall):
11029 Update for inhibit-first-line-modes-suffixes name change.
11031 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11033 * help-macro.el (make-help-screen): Temporarily restore original
11034 binding for minor-mode-map-alist (Bug#10454).
11036 2012-01-19 Julien Danjou <julien@danjou.info>
11038 * color.el (color-name-to-rgb): Use the white color to find the max
11039 color component value and return correctly computed values.
11040 (color-name-to-rgb): Add missing float conversion for max value.
11042 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11044 * window.el (window--state-get-1, window-state-get): Do not use
11045 special state value for window-persistent-parameters.
11046 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11047 (window--state-put-2): Reset all window parameters to nil before
11048 assigning values of persistent parameters.
11050 2012-01-18 Alan Mackenzie <acm@muc.de>
11052 Eliminate sluggishness and hangs in fontification of "semicolon
11055 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11056 Change value 10000 -> 3000.
11057 (c-state-safe-place): Reformulate so it doesn't stack up an
11058 infinite number of wrong entries in c-state-nonlit-pos-cache.
11059 (c-determine-limit-get-base, c-determine-limit): New functions to
11060 determine backward search limits disregarding literals.
11061 (c-find-decl-spots): Amend commenting.
11062 (c-cheap-inside-bracelist-p): New function which detects "={".
11064 * progmodes/cc-fonts.el
11065 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11067 (c-font-lock-declarations): Fix an occurrence of point being
11068 undefined. Check additionally for point being in a bracelist or
11069 near a macro invocation without a semicolon so as to avoid a
11070 fruitless time consuming search for a declarator. Give a more
11071 precise search limit for declarators using the new
11074 2012-01-18 Glenn Morris <rgm@gnu.org>
11076 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11077 (set-auto-mode): Doc fixes.
11079 2012-01-17 Glenn Morris <rgm@gnu.org>
11081 * isearch.el (search-nonincremental-instead): Fix doc typo.
11083 * dired.el (dired-insert-directory): Handle newlines in directory name.
11084 (dired-build-subdir-alist): Unescape newlines in directory name.
11086 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11088 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11089 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11090 (tramp-action-terminal): Use it. (Bug#10530)
11092 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11094 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11096 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11098 * window.el (window-state-ignored-parameters): Remove variable.
11099 (window--state-get-1): Rename argument MARKERS to IGNORE.
11100 Handle persistent window parameters. Make copy of clone-of
11101 parameter only if requested. (Bug#10348)
11102 (window--state-put-2): Install a window parameter only if it has
11103 a non-nil value or an existing parameter shall be overwritten.
11105 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11107 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11109 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11111 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11112 don't pass the (nil) value of `upnode' to string-match.
11114 2012-01-14 Chong Yidong <cyd@gnu.org>
11116 * startup.el (command-line): Fix X resource class for cursorColor.
11117 Fix values recognized by the cursorBlink resource.
11119 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11121 * epg.el (epg--make-temp-file): Avoid permission race condition
11122 when running on old Emacs versions (bug#10403).
11124 2012-01-14 Glenn Morris <rgm@gnu.org>
11126 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11128 2012-01-13 Alan Mackenzie <acm@muc.de>
11130 Fix filling for when filladapt mode is enabled.
11132 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11133 c-mask-paragraph, pass in `fill-paragraph' rather than
11134 `fill-region-as-paragraph'. (This is a reversion of a previous
11136 * progmodes/cc-mode.el (c-basic-common-init):
11137 Make fill-paragraph-handle-comment buffer local and set it to nil.
11139 2012-01-13 Glenn Morris <rgm@gnu.org>
11141 * dired.el (dired-switches-escape-p): New function.
11142 (dired-insert-directory): Use dired-switches-escape-p.
11143 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11145 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11147 2012-01-12 Glenn Morris <rgm@gnu.org>
11149 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11150 changes in adaptive-fill-regexp. (Bug#10276)
11152 2012-01-11 Alan Mackenzie <acm@muc.de>
11154 Fix Emacs bug #10463 - put `widen's around the critical spots.
11156 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11157 widen around each invocation of c-state-pp-to-literal. Remove an
11158 unused let variable.
11160 2012-01-11 Glenn Morris <rgm@gnu.org>
11162 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11165 2012-01-10 Chong Yidong <cyd@gnu.org>
11167 * net/network-stream.el (network-stream-open-starttls):
11168 Avoid emitting a confusing error message when the server gives a bad
11169 response to the capability command.
11171 2012-01-10 Glenn Morris <rgm@gnu.org>
11173 * mail/unrmail.el (unrmail): Tweak previous change.
11175 2012-01-09 Chong Yidong <cyd@gnu.org>
11177 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11179 2012-01-08 Alan Mackenzie <acm@muc.de>
11181 Optimise font locking in long enum definitions.
11183 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11184 arm to a cond form to handle enums.
11185 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11186 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11188 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11190 * files.el (move-file-to-trash): Preserve default file modes on error.
11193 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11195 * faces.el (set-face-attribute): Clarify the meaning of the nil
11198 * subr.el (with-selected-frame): Mention that the selected frame
11199 is restored (bug#9980).
11201 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11204 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11205 (password-read): Don't autoload unused function.
11207 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11209 * progmodes/which-func.el (which-func-mode): Turn into a
11210 non-interactive function and mark as obsolete (bug#10428).
11212 2012-01-06 Chong Yidong <cyd@gnu.org>
11214 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11215 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11216 functions, along with 1 and -1.
11218 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11220 * time.el (display-time-load-average)
11221 (display-time-default-load-average): Doc fixes. See the thread
11223 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11226 2012-01-06 Glenn Morris <rgm@gnu.org>
11228 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11229 has no messages. (Bug#10377)
11231 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11232 than Info-edit. (Bug#10385)
11234 * time.el (display-time-load-average, display-time-next-load-average):
11237 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11238 local setting of buffer-read-only to the input buffer. (Bug#10419)
11240 * calendar/calendar.el (calendar-mode):
11241 Locally set scroll-margin to 0. (Bug#10379)
11243 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11245 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11247 2012-01-05 Glenn Morris <rgm@gnu.org>
11249 * eshell/em-unix.el (diff-no-select): Autoload it.
11250 (eshell/diff): Use diff-no-select. (Bug#10420)
11252 2012-01-05 Chong Yidong <cyd@gnu.org>
11254 * shell.el (shell-dynamic-complete-functions): Revert last change.
11255 (shell-command-completion-function): New function.
11256 (shell-completion-vars): Use it to implement
11257 shell-completion-execonly (Bug#10417).
11259 * custom.el (enable-theme): Don't set custom-safe-themes.
11261 * cus-theme.el (custom-theme-merge-theme):
11262 Ignore custom-enabled-themes and custom-safe-themes.
11264 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11266 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11267 first prompt in `sql-interacive-mode'.
11268 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11270 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11271 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11272 context of original buffer. Invoke `sql-login-hook'.
11274 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11276 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11277 letters in cite-prefix.
11279 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11281 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11283 2012-01-03 Chong Yidong <cyd@gnu.org>
11285 * shell.el (shell-dynamic-complete-functions):
11286 Put pcomplete-completions-at-point, so as to try
11287 comint-filename-completion first (Bug#10417).
11289 2012-01-02 Richard Stallman <rms@gnu.org>
11291 * battery.el (battery-status-function):
11292 Detect when to use battery-yeeloong-sysfs.
11293 (battery-echo-area-format): Add string for Yeeloong.
11294 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11295 (battery-yeeloong-sysfs): New function.
11297 2012-01-02 Chong Yidong <cyd@gnu.org>
11299 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11300 (dirtrack): Merge code for handling relative filenames in prompt
11301 from shell-dir-cookie-watcher.
11302 (dirtrack-debug-message): New arg to avoid excess format calls.
11304 * shell.el (shell-dir-cookie-re): Variable deleted.
11305 (shell-dir-cookie-watcher): Function deleted.
11306 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11307 with dirtrack-mode.
11309 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11311 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11312 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11315 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11317 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11319 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11321 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11322 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11324 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11326 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11327 also for alternative shells.
11328 (tramp-open-connection-setup-interactive-shell): Check, whether
11329 the shell is a busybox.
11330 (tramp-send-command): Don't suppress multiple prompts for
11331 busyboxes, it hurts.
11333 2011-12-28 Chong Yidong <cyd@gnu.org>
11335 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11336 (gdb-get-source-file): Move mode line update to
11337 gdb-get-source-file (Bug#10087).
11339 2011-12-25 Chong Yidong <cyd@gnu.org>
11341 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11342 gud-gdb-marker-filter without taking it as an argument.
11343 (gud-gdb-run-command-fetch-lines): Caller changed.
11344 (gud-gdb-completion-function): New variable.
11345 (gud-gdb-completion-at-point): Use it.
11346 (gud-gdb-completions-1): Split from gud-gdb-completions.
11348 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11349 function as separate arguments.
11350 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11351 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11352 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11353 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11354 (gdb-stopped, def-gdb-auto-update-trigger)
11355 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11356 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11358 (gud-gdbmi-completions): New function.
11359 (gdb): Use it for generating the completion table.
11361 2011-12-24 Alan Mackenzie <acm@muc.de>
11363 Introduce a mechanism to widen the region used in context font
11364 locking. Use this to protect declarations from losing their contexts.
11366 * progmodes/cc-langs.el (c-before-font-lock-functions):
11367 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11368 (c-before-context-fontification-functions): New defvar, a list of
11369 functions to be run just before context (etc.) font locking.
11371 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11372 New, functionality extracted from
11373 c-neutralize-syntax-in-and-mark-CPP.
11374 (c-in-after-change-fontification): New variable.
11375 (c-after-change): Set c-in-after-change-fontification.
11376 (c-set-fl-decl-start): Rejig its interface, so it can be called
11377 from both after-change and context fontifying.
11378 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11380 (c-standard-font-lock-fontify-region-function): New variable.
11381 (c-font-lock-fontify-region): New function.
11383 2011-12-24 Juri Linkov <juri@jurta.org>
11385 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11388 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11390 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11391 existence of source file. (Bug#10325)
11393 2011-12-23 Alan Mackenzie <acm@muc.de>
11395 Fix unstable fontification inside templates.
11397 * progmodes/cc-langs.el (c-before-font-lock-functions):
11398 Newly created from the singular version. The (c c++ objc) entry now
11399 additionally has c-set-fl-decl-start. The other languages (apart
11400 from AWK) have that as a single entry.
11402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11403 The functionality for "local" declarations has been extracted to
11404 c-set-fl-decl-start.
11406 * progmodes/cc-mode.el (c-common-init, c-after-change):
11407 Changes due to pluralisation of c-before-font-lock-functions.
11408 (c-set-fl-decl-start): New function, extracted from
11409 c-font-lock-enclosing-decls and enhanced.
11411 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11413 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11415 2011-12-22 Juri Linkov <juri@jurta.org>
11417 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11419 2011-12-22 Chong Yidong <cyd@gnu.org>
11421 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11423 2011-12-21 Drew Adams <drew.adams@oracle.com>
11425 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11427 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11429 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11431 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11433 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11434 highlighting and support. Fix up comments for capitalization.
11435 (cfengine-mode-debug): New var.
11436 (cfengine3-mode): Change the modeline indicator to "CFE3".
11437 (cfengine3-font-lock-keywords): Improve defun highlighting.
11438 (cfengine2-actions): Rename from `cfengine-actions'.
11439 (cfengine2-font-lock-keywords): Rename from
11440 `cfengine-font-lock-keywords'.
11441 (cfengine2-imenu-expression): Rename from
11442 `cfengine-imenu-expression'.
11443 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11444 (cfengine2-beginning-of-defun): Rename from
11445 `cfengine-beginning-of-defun'.
11446 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11447 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11448 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11449 modeline indicator to "CFE2".
11450 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11451 (cfengine-mode-abbrevs): Mark obsolete.
11453 2011-12-21 Chong Yidong <cyd@gnu.org>
11455 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11458 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11460 * window.el (window-normalize-buffer-to-display): Remove.
11461 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11463 2011-12-19 Chong Yidong <cyd@gnu.org>
11465 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11466 Don't signal an error in a predicate function; return non-nil.
11467 (vc-dir-mark-file): Move the error here.
11468 (vc-dir-mark-unmark): If acting on the region, keep going if one
11469 of the entries cannot be marked/unmarked.
11470 (vc-dir-mark-all-files): If current entry is a directory, mark
11471 only child files, as documented.
11473 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11475 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11476 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11479 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11481 * term/ns-win.el (ns-get-selection-internal)
11482 (ns-store-selection-internal): Declare.
11483 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11484 Declare as obsolete.
11485 (ns-get-pasteboard, ns-paste-secondary):
11486 Use ns-get-selection-internal.
11487 (ns-set-pasteboard, ns-copy-including-secondary):
11488 Use ns-store-selection-internal.
11490 2011-12-17 Chong Yidong <cyd@gnu.org>
11492 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11493 (vc-deduce-fileset): Doc fix.
11495 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11497 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11499 2011-12-13 Sam Steingold <sds@gnu.org>
11501 * man.el (Man-getpage-in-background): When running under a
11502 window-system, ignore $MANWIDTH and $COLUMNS.
11504 2011-12-15 Kenichi Handa <handa@m17n.org>
11506 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11507 (setup-ethiopic-environment-internal): Comment out key-binding for
11508 ethio-toggle-punctuation.
11510 2011-12-13 Alan Mackenzie <acm@muc.de>
11512 Add the switch statement to AWK Mode.
11514 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11515 "default" to the keywords regexp.
11517 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11518 expression as the rest.
11519 (c-nonlabel-token-key): Allow string literals for AWK.
11520 Refactor for the other modes.
11522 Large brace-block initialisation makes CC Mode slow: Fix.
11523 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11524 routines. Limit backward searching in c-font-lock-enclosing.decl.
11526 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11527 pp-state and literal type in addition to the limits.
11528 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11529 (c-state-literal-at): Use the above new defun.
11530 (c-slow-in-literal, c-fast-in-literal): Remove.
11531 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11534 being in a literal. Add a limit for backward searching.
11536 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11539 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11543 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11545 * window.el (delete-other-windows): Use correct frame in call to
11546 window-with-parameter.
11548 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11550 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11551 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11552 (makefile-gmake-statements, makefile-makepp-statements):
11553 Use it and add new makepp keywords.
11554 (makefile-makepp-font-lock-keywords): Add new patterns.
11555 (makefile-match-function-end): Match new [...] and [[...]].
11557 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11559 * ses.el (ses-call-printer-return, ses-cell-property-get)
11560 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11561 (ses-create-cell-variable, ses-reset-header-string)
11562 (ses-cell-set-formula, ses-repair-cell-reference-all)
11563 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11564 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11565 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11566 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11567 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11568 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11569 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11570 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11571 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11572 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11573 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11574 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11576 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11578 * ses.el: The overall change is to add cell renaming, that is
11579 setting fancy names for cell symbols other than name matching
11580 "\\`[A-Z]+[0-9]+\\'" regexp .
11581 (ses-create-cell-variable): New defun.
11582 (ses-relocate-formula): Relocate formulas only for cells the
11583 symbols of which are not renamed, i.e. symbols whose names do not
11584 match regexp "\\`[A-Z]+[0-9]+\\'".
11585 (ses-relocate-all): Relocate values only for cells the symbols of
11586 which are not renamed.
11587 (ses-load): Create cells variables as the (ses-cell ...) are read,
11588 in order to check row col consistency with cell symbol name only
11589 for cells that are not renamed.
11590 (ses-replace-name-in-formula): New defun.
11591 (ses-rename-cell): New defun.
11593 2011-12-11 Chong Yidong <cyd@gnu.org>
11595 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11596 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11598 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11600 * window.el (other-window): Fix docstring.
11602 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11604 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11605 `from' or `to' address before taking its substring.
11606 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11607 encoded name is chopped in the middle of the encoded string, and
11608 thus displayed encoded.
11610 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11612 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11614 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11616 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11617 to use texinfo-update-node and commands that call it if the
11618 Texinfo file uses @node lines without next/prev/up pointers.
11619 Correct outdated description about texinfo-master-menu.
11620 (texinfo-all-menus-update, texinfo-master-menu)
11621 (texinfo-update-node, texinfo-every-node-update)
11622 (texinfo-multiple-files-update): Doc fix. Warn against updating
11623 all the @node lines.
11624 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11625 argument is numeric. Explain better in the doc string what the
11626 function really does.
11627 (texinfo-insert-master-menu-list): Improve the error message
11628 displayed if there's no menu in the Top node.
11629 (Bug#2975) See also this thread:
11630 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11632 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11634 * speedbar.el (speedbar-supported-extension-expressions):
11635 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11637 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11639 * printing.el (pr-mode-alist):
11640 * simple.el (filter-buffer-substring-functions)
11641 (completion-list-insert-choice-function):
11642 * window.el (window-with-parameter, window-atom-root)
11643 (window-sides-slots, window-size-fixed, window-min-delta)
11644 (window-max-delta, window--resize-mini-window)
11645 (window--resize-child-windows-normal, window-tree)
11646 (delete-other-windows, quit-window, split-window)
11647 (display-buffer-record-window, special-display-buffer-names)
11648 (special-display-regexps, special-display-popup-frame)
11649 (same-window-p, split-window-sensibly)
11650 (display-buffer-overriding-action, display-buffer-alist)
11651 (display-buffer-base-action, display-buffer, switch-to-buffer)
11652 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11653 (fit-window-to-buffer, recenter-positions)
11654 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11655 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11656 and remove unneeded backslashes in docstrings.
11658 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11662 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11663 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11665 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11666 when reading the makefile (bug#10116).
11668 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11670 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11673 2011-12-06 Glenn Morris <rgm@gnu.org>
11675 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11677 2011-12-06 Chong Yidong <cyd@gnu.org>
11679 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11681 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11683 * textmodes/table.el (table-shorten-cell): Fix typo.
11685 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11687 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11689 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11691 * descr-text.el (describe-char): Fix display of strong
11692 right-to-left characters and directional embeddings and overrides.
11694 * simple.el (what-cursor-position): Fix display of codepoints of
11695 strong right-to-left characters.
11697 2011-12-05 Chong Yidong <cyd@gnu.org>
11699 * faces.el (read-color): Doc fix.
11701 2011-12-05 Glenn Morris <rgm@gnu.org>
11703 * align.el (align--set-marker): Add doc-string.
11704 Don't try to move something that is not a marker. (Bug#10216)
11706 2011-12-04 Glenn Morris <rgm@gnu.org>
11708 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11709 overly zealous deletion of trailing whitespace.
11711 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11713 * server.el (server-delete-client): On Windows, do not try to delete
11715 (server-process-filter): On Windows, treat requests for a tty frame as
11716 if they were for a GUI frame if the running server is in GUI mode.
11718 2011-12-03 Glenn Morris <rgm@gnu.org>
11720 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11722 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11724 * electric.el: Streamline electric-indent's hook.
11725 (electric-indent-chars): Revert to simple list.
11726 (electric-indent-functions): New var.
11727 (electric-indent-post-self-insert-function): Use it.
11729 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11730 there's no inferior buffer (bug#10196).
11731 (prolog-consult-compile): Don't use toggle-read-only.
11733 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11735 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11736 interrupt. (Bug#10187)
11738 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11740 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11743 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11746 2011-12-02 Juri Linkov <juri@jurta.org>
11748 * info.el (Info-search): Display "end of manual" when Isearch
11749 reaches the end of single-file Info manual. (Bug#9918)
11751 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11753 * isearch.el (isearch-message-prefix): Run the input method part
11754 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11756 2011-12-02 Juri Linkov <juri@jurta.org>
11758 * isearch.el (isearch-occur): Use `word-search-regexp' for
11760 (isearch-search-and-update): Add condition for `isearch-word' and
11761 call `word-search-regexp'. (Bug#10145)
11763 2011-12-01 Glenn Morris <rgm@gnu.org>
11765 * eshell/em-hist.el (eshell-hist-initialize):
11766 Handle eshell-history-size nil and HISTSIZE set or unset.
11767 (eshell-history-file-name, eshell-history-size): Fix custom type.
11769 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11771 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11773 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11775 * progmodes/verilog-mode.el (verilog-pretty-expr):
11776 Rework verilog-pretty-expr to handle new assignment operators in system
11777 verilog, such as += *= and the like.
11778 (verilog-assignment-operator-re): Regular expression to find the
11779 assigment operator in a verilog assignment.
11780 (verilog-assignment-operation-re): Regular expression to find an
11781 assignment statement for pretty-expr.
11782 (verilog-in-attribute-p): Query returns true if point is in an
11783 attribute context; used to skip these for expression line up from
11785 (verilog-in-parameter-p): Query returns true if point is in an
11786 parameter definition context; used to skip these for expression
11787 line up from pretty-expr.
11788 (verilog-in-parenthesis-p): Query returns true if point is in a
11789 parenthetical expression, specifically ( ) but not [ ] or { };
11790 used by pretty-expr.
11791 (verilog-just-one-space): If there is no space, don't add one.
11792 (verilog-get-lineup-indent-2): Specifically skip just attribute
11793 contexts for expression lineup, rather than skipping all
11794 parenthetical expressions.
11795 (verilog-calculate-indent): Fix comment, and fix indent.
11796 (verilog-do-indent): Indent declarations in lists (suggested by
11798 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11800 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11803 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11805 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11806 parameters with embedded comments. Reported by Ray Stevens.
11807 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11808 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11809 Reported by Tim Holt.
11810 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11811 instantiated by upper module causing wrong expansion until AUTOed a
11812 second time. Reported by K C Buckenmaier.
11813 (verilog-diff-auto): Fix showing .* as a difference when
11814 `verilog-auto-star-save' off. Reported by Dan Dever.
11815 (verilog-auto-reset, verilog-read-always-signals)
11816 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11817 temporary signals in reset list if
11818 verilog-auto-reset-blocking-in-non is nil, and match assignment
11819 style to each signal's assignment type, bug381.
11820 Reported by Thomas Esposito.
11821 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11822 (verilog-uvm-statement-re): Support UVM indentation and
11823 highlighting, with old OVM keywords only.
11824 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11825 Support AUTOTIEOFF creating non-wire data types.
11826 Suggested by Jonathan Greenlaw.
11827 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11828 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11829 (verilog-inject-sense, verilog-read-inst-pins)
11830 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11831 Fix mismatching parenthesis inside commented out code when deleting
11832 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11833 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11834 non-numeric vector width. Reported by Alex Reed.
11835 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11836 detecting signals with parameter widths. Reported by Alex Reed.
11837 (verilog-auto-delete-trailing-whitespace):
11838 With `verilog-auto-delete-trailing-whitespace' remove trailing
11839 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11840 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11841 Fix verilog-scan-cache corruption when running user AUTO expansion
11842 hooks that call indentation routines.
11843 (verilog-simplify-range-expression): Fix typo ignoring lower case
11845 (verilog-delete-auto): Fix delete-autos to also remove user created
11846 automatics, as long as they start with AUTO.
11847 (verilog-batch-diff-auto, verilog-diff-auto)
11848 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11849 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11850 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11851 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11852 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11853 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11854 is disabled and its cache will get corrupt, causing AUTOS not to
11855 expand. Instead use only -quick functions.
11856 (verilog-scan-region): Fix scanning over escaped quotes.
11857 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11858 (verilog-re-search-backward-quick)
11859 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11860 related functions now ignore strings, to fix misparsing of strings
11861 with magic comments embedded in them.
11862 (verilog-read-auto-template):
11863 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11864 Reported by Brad Dobbie.
11865 (verilog-read-auto-template):
11866 Fix 'verilog-auto-inst-template-numbers' with comments.
11867 Reported by Brad Dobbie.
11868 (verilog-auto-inst, verilog-auto-inst-param)
11869 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11870 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11871 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11872 debugging templates without merge conflicts, bug357.
11873 Reported by Brad Dobbie.
11874 (verilog-read-auto-template):
11875 Fix verilog-auto-inst-template-numbers with multiple templates.
11876 Reported by Brad Dobbie.
11877 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11878 abbrevs so user won't be asked to save.
11879 (verilog-read-auto-lisp-present): Fix to start at beginning of
11880 buffer in case called outside of verilog-auto.
11881 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11882 to "X-2". Reported by Matthew Myers.
11883 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11884 all inputs from module templates. Reported by Leith Johnson.
11885 (verilog-module-inside-filename-p): Fix locating programs as with
11887 (verilog-auto-inst-port): Fix vl-width expressions when using
11888 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11889 (verilog-decls-get-regs, verilog-decls-get-signals,
11890 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11891 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11892 verilog-read-decls): Combine reg and wire structures into one var
11893 structure to represent SystemVerilog concepts.
11894 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11895 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11896 (verilog-auto-wire-type, verilog-insert-definition):
11897 Add verilog-auto-wire-type and AUTOLOGIC to support using
11898 SystemVerilog "logic" keyword instead of "wire"/"reg".
11899 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11900 to declares outputs that also have assignments (presumably in an
11901 ifdef or generate if so there's not a driver conflict).
11902 Reported by Matthew Myers.
11903 (verilog-auto-declare-nettype, verilog-insert-definition):
11904 Add verilog-auto-declare-nettype to fix declarations using
11905 `default_nettype none. Reported by Julian Gorfajn.
11906 (verilog-read-always-signals-recurse, verilog-read-decls)
11907 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11908 malformed end statement, bug325. Reported by Joshua Wise and
11910 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11911 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11912 when expanding .* in interfaces, bug320.
11913 Reported by Pierre-David Pfister.
11914 (verilog-read-module-name): Fix import statements between module
11915 name and open parenthesis, bug317.
11916 Reported by Pierre-David Pfister.
11917 (verilog-simplify-range-expression): Fix simplification of
11918 multiplications inside AUTOWIRE connections, bug303.
11919 (verilog-auto-inst-port): Support parameter expansion in
11920 multidimensional arrays.
11921 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11922 after "assert property". Reported by Julian Gorfajn.
11923 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11924 with multiplication, bug303.
11925 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11926 Reported by Jan Frode Lonnum.
11928 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11930 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11931 (hfy-shell-file-name, hfy-shell):
11932 * international/fontset.el (x-decompose-font-name): Fix typos.
11934 2011-11-29 Ken Brown <kbrown@cornell.edu>
11936 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11937 (gdb-version): Remove defvar.
11938 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11939 (gdb-gud-context-command, gdb-non-stop-handler)
11940 (gdb-current-context-command, gdb-stopped): Use it.
11941 (gdb-init-1): Enable pretty printing here.
11942 (gdb-non-stop-handler): Don't enable pretty-printing here.
11943 Check to see if the target supports non-stop mode; if not, turn off
11944 non-stop mode. Use the following.
11945 (gdb-check-target-async): New defun.
11946 (gud-watch, gdb-stopped): Fix whitespace.
11947 (gdb-get-source-file): Don't try to display the source file if
11948 `gdb-main-file' is nil.
11950 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11952 * align.el: Try to generate fewer markers (bug#10047).
11953 (align--set-marker): New macro.
11954 (align-region): Use it.
11956 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11960 2011-11-29 Chong Yidong <cyd@gnu.org>
11962 * indent.el (indent-for-tab-command, indent-according-to-mode):
11964 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11966 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11968 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11969 aware of remote file names. (Bug#10124)
11971 2011-11-29 Chong Yidong <cyd@gnu.org>
11973 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11975 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11977 * files.el (find-file): Don't use force-same-window (bug#10144).
11978 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11979 use pop-to-buffer if the selected window can't be used.
11980 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11982 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11984 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11987 2011-11-28 Chong Yidong <cyd@gnu.org>
11989 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11991 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11993 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11994 gdb-get-source-file-list on gdb-create-source-file-list.
11996 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11998 * whitespace.el (whitespace-newline): Use a different foreground
11999 color for 16-color light-background displays.
12001 2011-11-24 Chong Yidong <cyd@gnu.org>
12003 * window.el (display-buffer--special-action): Doc fix.
12005 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12007 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12008 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12009 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12010 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12011 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12012 (avl-tree-stack-first):
12013 * emacs-lisp/cconv.el (cconv--analyse-use):
12014 * net/gnutls.el (gnutls-negotiate): Fix typos.
12016 2011-11-24 Glenn Morris <rgm@gnu.org>
12018 * lpr.el (lpr-windows-system, lpr-lp-system):
12019 * mail/binhex.el (binhex-begin-line):
12020 * progmodes/grep.el (grep-history, grep-find-history):
12021 * textmodes/flyspell.el:
12022 * vc/pcvs-defs.el (cvs-global-menu):
12023 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12024 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12025 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12027 * net/tls.el: Fix case of "GnuTLS".
12029 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12031 * version.el (emacs-build-system): Give it a doc-string.
12033 2011-11-24 Juri Linkov <juri@jurta.org>
12035 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12037 2011-11-24 Glenn Morris <rgm@gnu.org>
12039 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12040 if called on a non-mime message just toggle the headers. (Bug#8006)
12042 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12044 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12045 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12046 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12047 (allout-rebullet-heading, allout-open-sibtopic)
12048 (allout-toggle-current-subtree-encryption)
12049 (allout-toggle-subtree-encryption, allout-encrypt-string)
12050 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12051 (allout-distinctive-bullets-string, allout-auto-activation):
12052 * window.el (window-normalize-buffer-to-display):
12053 * progmodes/verilog-mode.el (verilog-batch-indent):
12054 * textmodes/bibtex.el (bibtex-field-braces-opt)
12055 (bibtex-field-strings-opt):
12056 * vc/cvs-status.el (cvs-tree-merge):
12059 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12061 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12062 `non-essential' to t, in order to avoid remote connections.
12064 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12066 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12067 On MS-DOS and MS-Windows, compare with loaddefs.el
12068 case-insensitively.
12070 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12072 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12074 2011-11-23 Glenn Morris <rgm@gnu.org>
12076 * paths.el (rmail-file-name): Reformat the doc-string so that it
12079 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12080 (rmail-auto-file): Ignore case in the "special" field names,
12081 as mail-fetch-field does for all others.
12083 * mail/rmail.el (rmail-forward):
12084 * mail/rmailkwd.el (rmail-set-label):
12085 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12086 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12088 * mail/rmail.el (rmail-current-message): Doc fix.
12090 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12092 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12096 2011-11-22 Glenn Morris <rgm@gnu.org>
12098 * mail/rmailmm.el (test-rmail-mime-handler)
12099 (test-rmail-mime-bulk-handler)
12100 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12102 2011-11-21 Juri Linkov <juri@jurta.org>
12104 * calc/calc.el (calc-read-key-sequence):
12105 Let-bind `input-method-function' to nil. (Bug#10018)
12107 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12109 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12110 Tell the caller that the next line needs recomputation, even
12111 though it doesn't start a sexp (bug#10094).
12113 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12117 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12119 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12120 Use force-same-window.
12122 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12124 * descr-text.el (describe-char-unicode-data):
12125 * json.el (json-string-escape):
12126 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12127 (Footnote-unicode, Footnote-style-p):
12128 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12130 2011-11-20 Chong Yidong <cyd@gnu.org>
12132 * window.el (replace-buffer-in-windows): Restore interactive spec.
12134 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12138 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12139 (byte-compile-global-not-obsolete-vars): New var.
12140 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12142 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12144 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12146 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12147 * progmodes/pascal.el (electric-pascal-equal):
12148 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12149 * xml.el (xml-substitute-special): Fix typos.
12151 2011-11-20 Glenn Morris <rgm@gnu.org>
12153 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12154 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12156 (rmail-decode-mime-charset): Mark as obsolete.
12158 * mail/rmailsum.el (rmail-message-regexp-p-1):
12159 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12160 Before using mime functions, check they are set. (Bug#10077)
12162 2011-11-19 Juri Linkov <juri@jurta.org>
12164 * info.el (Info-finder-find-node): Use `package--builtins' instead
12165 of `package-alist'. Use node names formed by the pattern "Keyword "
12166 and the keyword name.
12168 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12170 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12172 2011-11-19 Juri Linkov <juri@jurta.org>
12174 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12175 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12176 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12177 `old-history', `old-history-forward'. Add let-binding
12178 `window-selected'. Remove calls to `kill-buffer',
12179 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12180 before calling `Info-find-node', so `Info-find-node-2' will reread
12181 the Info file. Restore window positions only when `window-selected'
12184 2011-11-19 Juri Linkov <juri@jurta.org>
12186 * isearch.el (isearch-lazy-highlight-new-loop):
12187 Remove condition `(not isearch-error)'. (Bug#9918)
12189 * misearch.el (multi-isearch-search-fun): Add condition
12190 `(not bound)' to ignore lazy-highlighting search.
12191 Add the search-failed message "end of multi" when the end of
12192 multi-sequence is reached. Uncapitalize the search-failed
12193 message "Repeat for next buffer".
12195 * info.el (Info-search): Add the search-failed message
12196 "end of the manual" when the end of the manual is reached
12199 2011-11-19 Juri Linkov <juri@jurta.org>
12201 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12202 Use non-destructive `remove' instead of `delete' because
12203 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12204 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12206 2011-11-19 Juri Linkov <juri@jurta.org>
12208 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12209 to nil instead of binding `search-ring' and `regexp-search-ring'.
12212 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12214 * simple.el (line-move): Force movement by logical lines for any
12215 hscrolled window, not only when auto-hscroll-mode is on.
12216 (line-move-visual): Update doc string to that effect. (Bug#10076)
12218 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12220 * language/european.el (macintosh): Define as alias for mac-roman.
12222 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12224 * mail/rmailmm.el (rmail-mime-display-header)
12225 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12226 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12227 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12228 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12229 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12231 (rmail-mime-entity-segment): To get past the tagline, move forward
12232 2 more lines, to account for the 2 empty lines that precede and
12233 follow the line with the buttons.
12234 (rmail-mime-update-tagline): Move one more line, to get past the
12235 empty line that follows the buttons in the tagline. (Bug#9520)
12237 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12239 * window.el (window-max-delta-1, window-min-delta-1)
12240 (window-min-size-1, window-state-get-1, window-state-put-1)
12241 (window-state-put-2): Use "window--" prefix.
12243 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12246 (smie-warning-count): New var.
12247 (smie-set-prec2tab): Use it.
12248 (smie-bnf->prec2): Improve warnings. Add docstring.
12249 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12250 (smie-bnf--set-class): New function.
12251 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12254 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12255 (compilation-error-properties, compilation-move-to-column):
12256 Handle compilation-first-column while in the target buffer.
12258 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12259 Don't hardcode point-min==1.
12261 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12262 (eshell-rewrite-for-command): Remove workaround.
12263 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12264 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12265 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12267 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12269 2011-11-17 Glenn Morris <rgm@gnu.org>
12271 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12272 Ignore buffer-local generated-autoload-file if it is the same
12273 as the global value. (Bug#10049)
12275 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12277 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12278 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12279 (reftex-toc-previous-heading, reftex-toc-max-level)
12280 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12281 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12282 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12283 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12284 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12285 (reftex-toc-rename-label, reftex-toc-visit-location)
12286 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12287 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12288 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12289 leaving "*toc*" only for references to the buffer.
12291 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12293 * window.el (window-resize, delete-window, split-window):
12294 Replace window-splits by window-combination-resize.
12295 * cus-start.el (window-splits): Replace by window-combination-resize.
12297 2011-11-17 Glenn Morris <rgm@gnu.org>
12299 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12300 Make bash entry derive from sh entry, not shell entry.
12302 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12304 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12307 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12309 * menu-bar.el (menu-bar-file-menu):
12310 * printing.el (pr-ps-utility):
12311 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12312 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12313 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12314 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12315 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12316 (icalendar--convert-cyclic-to-ical)
12317 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12318 (icalendar--convert-ical-to-diary)
12319 (icalendar--convert-recurring-to-diary)
12320 (icalendar--convert-non-recurring-all-day-to-diary)
12321 (icalendar-import-format-sample):
12322 * progmodes/idlw-shell.el (idlwave-shell-mode):
12323 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12324 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12325 (vhdl-ps-print-init): Fix typos.
12327 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12329 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12330 FSF and collapse date sequence, obscure author/maintainer email address
12331 better, remove extra version line, track relocation of author's webpage.
12333 * progmodes/python.el (python-pdbtrack-input-prompt)
12334 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12335 regular python pdb prompts. Adjustments shamelessly taken exactly as
12336 suggested in EmacsWiki page (tiny change):
12337 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12339 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12341 * expand.el (expand-pos, expand-index, expand-point):
12342 Remove redundant info from docstring.
12343 (expand-add-abbrevs): Doc fix.
12344 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12345 (expand-sample-perl-mode-expand-list): Fix typos.
12347 * net/dbus.el (dbus-event-member-name):
12348 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12349 * term/pc-win.el (msdos-create-frame-with-faces):
12350 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12352 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12354 * window.el (split-window, window-state-get-1)
12355 (window-state-put-1, window-state-put-2): Rename occurrences of
12356 window-nest to window-combination-limit.
12357 * cus-start.el (window-nest): Rename to window-combination-limit.
12359 2011-11-16 Chong Yidong <cyd@gnu.org>
12361 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12362 regexp (Bug#10033).
12364 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12367 `completing-read' will remove *Completions* and will preserve
12368 current-buffer for us.
12369 (tmm-add-prompt): Users of *Completions* will always (re)set its
12371 (tmm-old-comp-map): Remove.
12373 2011-11-16 Glenn Morris <rgm@gnu.org>
12375 * mail/rmailedit.el: Require rmailmm when compiling.
12376 (rmail-old-mime-state): New declaration.
12377 (rmail-edit-current-message): If editing a mime message,
12378 edit the "raw" message from the mbox buffer.
12379 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12381 2011-11-15 Glenn Morris <rgm@gnu.org>
12383 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12384 which wasn't being used. Add optional arg to force given state.
12385 (rmail-mime): Add optional arg to force given state.
12387 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12389 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12390 * frame.el (display-mm-dimensions-alist):
12391 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12392 (outline-move-subtree-down):
12393 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12394 (newsticker--treeview-do-get-node):
12395 * net/quickurl.el (quickurl-list-buffer-name):
12396 * progmodes/dcl-mode.el (dcl-mode):
12397 * progmodes/gdb-mi.el (gdb-mapcar*):
12398 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12400 2011-11-15 Glenn Morris <rgm@gnu.org>
12402 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12403 in a boolean sense, so just make it a boolean, and fix the doc.
12404 (rmail-show-mime-function, rmail-mime-feature)
12405 (rmail-require-mime-maybe): Doc fixes.
12406 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12408 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12410 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12412 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12413 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12414 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12415 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12417 2011-11-15 Glenn Morris <rgm@gnu.org>
12419 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12420 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12421 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12422 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12423 (rmail-mime, rmail-show-mime): Doc fixes.
12425 * term/ns-win.el (mode-line-frame-identification):
12426 Leave it alone. (Bug#10051)
12428 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12430 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12431 Handle empty buffers. (Bug#9978)
12433 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12435 * international/mule.el (define-charset):
12436 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12437 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12438 * progmodes/verilog-mode.el (verilog-backward-token):
12439 * textmodes/ispell.el (lookup-words):
12440 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12442 2011-11-14 Glenn Morris <rgm@gnu.org>
12444 * progmodes/executable.el
12445 (executable-make-buffer-file-executable-if-script-p):
12446 Handle file-modes returning nil.
12448 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12449 message - not necessary, and causes problems. (Bug#9831)
12451 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12453 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12455 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12456 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12457 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12459 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12461 * window.el (window-resize, delete-window): Use window-splits
12462 variable instead of function.
12463 (window-state-get-1, window-state-put-2, window-state-put):
12464 Don't deal with windows' splits status.
12466 2011-11-12 Glenn Morris <rgm@gnu.org>
12468 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12469 (apropos-documentation): Doc fixes.
12471 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12473 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12474 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12476 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * electric.el (electric-indent-post-self-insert-function): Make it
12479 possible for a char to only indent in some circumstances.
12480 (electric-indent-mode): Simplify.
12482 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12484 * window.el (windows-with-parameter): Remove unused function.
12485 (windows-at-side): Rename to window-at-side-list.
12486 (window-check, window-atom-check, window-atom-check-1)
12487 (window-side-check, window-size-ignore, window-size-fixed-1)
12488 (window-in-direction-2): Prefix with "window--".
12489 (window-tree-1): Rename to window--subtree, fix doc-string.
12491 2011-11-11 Glenn Morris <rgm@gnu.org>
12493 * subr.el (eval-after-load): If FILE is already loaded,
12494 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12496 2011-11-10 Glenn Morris <rgm@gnu.org>
12498 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12499 Call svn via vc-svn-command rather than vc-do-command.
12500 (vc-svn-command): Add --non-interactive. (Bug#9993)
12501 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12503 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12504 Add toggle-read-only. (Bug#7292)
12505 * files.el (toggle-read-only): Mention that it should only
12506 be used interactively. (Bug#10006)
12508 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12511 Adjust regexp for OCaml warnings.
12513 * electric.el (electric-pair-post-self-insert-function): Let user
12514 turn it off buffer-locally (bug#9932).
12516 * progmodes/python.el (python-beginning-of-statement):
12517 Rewrite (bug#2703).
12519 * progmodes/compile.el: Better handle TABs (bug#9749).
12520 (compilation-internal-error-properties)
12521 (compilation-next-error-function): Obey the target buffer's
12522 compilation-error-screen-columns.
12524 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12526 * progmodes/meta-mode.el: Remove obsolete comments.
12527 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12528 Fix typos in docstrings.
12530 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12532 * window.el (window-size-fixed-p): Rewrite doc-string.
12533 (window-resizable-p): Rename to window--resizable-p. Update callers.
12534 (window--resizable): New function. Make all callers of
12535 window-resizable call window--resizable instead.
12536 (window-resizable): Rewrite in terms of window--resizable.
12538 2011-11-08 Glenn Morris <rgm@gnu.org>
12540 * progmodes/delphi.el (delphi-mode-syntax-table):
12541 Let define-derived-mode define a proper syntax table. (Bug#9994)
12543 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * window.el: Stay away from defsubst.
12546 (window-list-no-nils): Remove.
12547 (window-state-get-1, window-state-get): Use backquote instead.
12549 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12551 * emacs-lisp/find-func.el (find-function-read):
12552 Fix incorrect use of default argument in `completing-read'.
12554 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12556 * window.el (display-buffer-function, special-display-function):
12557 Mention display-buffer-record-window but do not mention
12558 help-setup parameter in doc-strings.
12559 (window-min-delta): Fix doc-string typo.
12561 2011-11-08 Chong Yidong <cyd@gnu.org>
12563 * window.el (window-total-height, window-total-width): Doc fix.
12564 (window-body-size): Move from C.
12565 (window-body-height, window-body-width): Move to C.
12567 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * window.el: Make special-display like display-buffer-alist (bug#9532).
12570 (display-buffer--special-action): New function, morphed
12571 from display-buffer--special.
12572 (display-buffer): Use it to handle special-display-buffers at higher
12573 priority (just after display-buffer-alist).
12574 (display-buffer-fallback-action, display-buffer--other-frame-action)
12575 (pop-to-buffer-same-window): Remove display-buffer--special.
12577 2011-11-07 Glenn Morris <rgm@gnu.org>
12579 * calendar/cal-menu.el (cal-menu-set-date-title):
12580 Do nothing if not in a calendar. (Bug#9976)
12582 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * files.el (find-file): Always use selected-window.
12586 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12588 * window.el (window-combinations): Make WINDOW argument
12589 mandatory. Rewrite doc-string.
12590 (walk-window-subtree, window-atom-check, window-min-delta)
12591 (window-max-delta, window--resize-this-window)
12592 (window--resize-root-window-vertically, window-tree)
12593 (balance-windows, window-state-put): Rewrite doc-strings as to
12594 not mention the term "subwindow".
12595 (window--resize-subwindows-skip-p): Rename to
12596 window--resize-child-windows-skip-p.
12597 (window--resize-subwindows-normal): Rename to
12598 window--resize-child-windows-normal.
12599 (window--resize-subwindows): Rename to
12600 window--resize-child-windows.
12601 (window-or-subwindow-p): Rename to window--in-subtree-p.
12603 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12605 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12606 Ensure that mbox format messages end in two newlines (Bug#9974).
12608 2011-11-06 Chong Yidong <cyd@gnu.org>
12610 * window.el (window-combination-p): Function deleted; its
12611 side-effect is not used in any existing code.
12612 (window-combinations, window-combined-p): Call window-*-child
12615 2011-11-05 Chong Yidong <cyd@gnu.org>
12617 * window.el (window-valid-p): Rename from window-any-p.
12618 (window-size-ignore, window-state-get): Callers changed.
12619 (window-normalize-window): Rename from window-normalize-any-window.
12620 New arg LIVE-ONLY, replacing window-normalize-live-window.
12621 (window-normalize-live-window): Delete.
12622 (window-combination-p, window-combined-p, window-combinations)
12623 (walk-window-subtree, window-atom-root, window-min-size)
12624 (window-sizable, window-sizable-p, window-size-fixed-p)
12625 (window-min-delta, window-max-delta, window-resizable)
12626 (window-resizable-p, window-full-height-p, window-full-width-p)
12627 (window-current-scroll-bars, window-point-1, set-window-point-1)
12628 (window-at-side-p, window-in-direction, window-resize)
12629 (adjust-window-trailing-edge, maximize-window, minimize-window)
12630 (window-deletable-p, delete-window, delete-other-windows)
12631 (record-window-buffer, unrecord-window-buffer)
12632 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12633 (quit-window, split-window, window-state-put)
12634 (set-window-text-height, fit-window-to-buffer)
12635 (shrink-window-if-larger-than-buffer): Callers changed.
12637 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12639 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12640 rfc2047-decode-string.
12641 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12644 * window.el (window-body-height, window-body-width): Mention in
12645 the doc string that the return values are in frame's canonical
12648 2011-11-03 Alan Mackenzie <acm@muc.de>
12650 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12651 change in cc-engine.el.
12653 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12655 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12657 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12659 * window.el (quit-window): Call unrecord-window-buffer after
12660 showing another buffer in the window. (Bug#9937)
12661 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12663 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12665 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12666 Accept status with more than 9 shelves. (Bug#9935)
12667 Reported by Colin D Bennett <colin@gibibit.com>.
12669 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12671 * help.el (with-help-window): Don't reference
12672 temp-buffer-show-specifiers in doc-string.
12674 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12676 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12679 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12681 * whitespace.el: New version 13.2.2.
12682 (whitespace-newline-mode): Disable properly. Reported by Sarah
12685 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12687 * net/newst-treeview.el: Remove "Time-stamp".
12688 (newsticker--group-manage-orphan-feeds): Do not call
12689 newsticker--treeview-tree-update.
12690 (newsticker-treeview-update, newsticker-treeview):
12691 Call newsticker--treeview-tree-update if necessary.
12693 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12695 * window.el (window-iso-combination-p, window-iso-combined-p)
12696 (window-iso-combinations): Remove "iso-" infix.
12697 Suggested by Chong Yidong.
12698 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12699 (window-max-delta-1, window-resize, window--resize-siblings)
12700 (window--resize-this-window, adjust-window-trailing-edge)
12701 (split-window, balance-windows-1)
12702 (shrink-window-if-larger-than-buffer):
12703 * calendar/calendar.el (calendar-generate-window):
12704 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12706 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12708 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12709 in place (bug#9907).
12710 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12711 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12712 (eshell-structure-basic-command, eshell-rewrite-while-command)
12713 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12714 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12715 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12716 (eshell-do-pipelines-synchronously, eshell-eval-command):
12717 Use backquotes and prefer setq to set.
12718 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12719 (eshell-macrop): Use functionp.
12720 (eshell-do-eval): Handle multiple expressions in `while' body.
12722 2011-10-30 Chong Yidong <cyd@gnu.org>
12724 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12725 instead of set-mark (Bug#9810).
12727 2011-10-30 Chong Yidong <cyd@gnu.org>
12729 * window.el (split-window-below, split-window-right): Rename from
12730 split-window-above-each-other and split-window-side-by-side
12731 respectively. All callers changed.
12732 (split-window-sensibly, split-window-sensibly): Use them.
12733 (split-window-keep-point): Doc fix.
12735 * isearch.el: Add isearch-scroll property to split-window-below
12736 and split-window-right.
12738 * follow.el (follow-mode):
12739 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12740 * progmodes/ada-xref.el (ada-gdb-application):
12741 * emulation/vip.el (vip-buffer-in-two-windows):
12742 * image-dired.el (image-dired-dired-with-window-configuration):
12743 * dired-x.el (dired-do-find-marked-files):
12744 * dired.el (dired-pop-to-buffer):
12745 * bs.el (bs--show-with-configuration):
12746 * vc/emerge.el (emerge-setup-windows):
12747 * textmodes/two-column.el (2C-two-columns):
12748 * textmodes/reftex-toc.el (reftex-toc):
12749 * progmodes/gdb-mi.el (gdb-setup-windows):
12750 * progmodes/fortran.el (fortran-window-create):
12751 * net/newst-treeview.el (newsticker--treeview-window-init):
12752 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12753 * emulation/tpu-edt.el (tpu-gold-map):
12754 * emulation/crisp.el (crisp-mode-map):
12755 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12757 2011-10-29 Chong Yidong <cyd@gnu.org>
12759 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12761 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12763 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12764 forged Ispell output (Bug#7904).
12766 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12768 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12770 * doc-view.el: Avoid ugly errors about not finding nil.
12771 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12772 (doc-view-dvipdf-program, doc-view-unoconv-program)
12773 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12774 Avoid nil or absolute file name as default value.
12775 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12777 2011-10-28 Alan Mackenzie <acm@muc.de>
12779 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12781 2011-10-28 Alan Mackenzie <acm@muc.de>
12783 Amend the handling of c-beginning/end-of-defun in nested declaration
12786 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12787 cc-langs.el. Change it to a defcustom.
12789 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12792 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12793 Prevent "class foo : bar" being spuriously recognized as a label.
12795 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12796 Add parameter `inclusive' (to include enclosing braces in the region).
12797 (c-widen-to-enclosing-decl-scope): New function.
12798 (c-while-widening-to-decl-block): New macro.
12799 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12800 outward for defun boundaries, and correspondingly change symbol
12801 `respect-enclosure' to `go-outward'.
12802 (c-declaration-limits): Change algorithm to report only the "innermost"
12803 defun's boundaries.
12805 2011-10-28 Deniz Dogan <deniz@dogan.se>
12807 * net/rcirc.el (rcirc-mode): Use hard newlines.
12809 2011-10-28 Alan Mackenzie <acm@muc.de>
12811 Amend to indent and fontify macros "which include their own semicolon"
12812 correctly, using the "virtual semicolon" mechanism.
12814 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12816 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12817 Recode to scan one line at a time rather than having \n and \r
12818 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12819 (c-forward-label): Amend for virtual semicolons.
12820 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12822 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12823 of the new C macros.
12825 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12826 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12827 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12828 (c-opt-cpp-macro-define): Make into a full language variable.
12829 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12830 AWK Mode (including \n, \r) removed, no longer needed.
12832 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12833 Invoke c-make-macro-with-semi-re.
12835 * progmodes/cc-vars.el (c-macro-with-semi-re):
12836 (c-macro-names-with-semicolon): New variables.
12837 (c-make-macro-with-semi-re): New function.
12839 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12841 * vc/log-edit.el: Fill empty field rather than adding new one.
12842 (log-edit-add-field): New function.
12843 (log-edit-insert-changelog): Use it.
12845 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12847 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12849 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12851 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12852 (gdb--check-interpreter): New function.
12855 2011-10-27 Glenn Morris <rgm@gnu.org>
12857 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12858 (least-positive-float, least-negative-float)
12859 (least-positive-normalized-float, least-negative-normalized-float)
12860 (float-epsilon, float-negative-epsilon):
12861 Remove unnecessary declarations.
12863 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12864 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12865 (least-positive-float, least-negative-float)
12866 (least-positive-normalized-float, least-negative-normalized-float)
12867 (float-epsilon, float-negative-epsilon): Add doc-strings,
12868 based on those in cl.texi.
12870 * files.el (set-visited-file-name): If the major-mode changed,
12871 reload the local variables. (Bug#9796)
12873 2011-10-27 Chong Yidong <cyd@gnu.org>
12875 * subr.el (change-major-mode-after-body-hook): New hook.
12876 (run-mode-hooks): Run it.
12878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12879 Use change-major-mode-before-body-hook.
12881 * simple.el (fundamental-mode):
12882 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12883 change introducing fundamental-mode-hook.
12885 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12887 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12889 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12891 * ido.el (ido-file-name-all-completions-1): Do not require
12892 tramp.el explicitly. (Bug#7583)
12894 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * progmodes/octave-mod.el:
12897 * progmodes/octave-inf.el: Update maintainer.
12899 2011-10-26 Chong Yidong <cyd@gnu.org>
12901 * subr.el (with-wrapper-hook): Rewrite doc.
12903 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12905 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12906 filenames "/method:foo:". (Bug#9793)
12908 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12910 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12913 2011-10-24 Glenn Morris <rgm@gnu.org>
12915 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12917 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12919 * notifications.el: Add the requirement of a running D-Bus session
12920 bus to the Commentary.
12922 2011-10-24 Juri Linkov <juri@jurta.org>
12924 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12925 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12928 2011-10-24 Juri Linkov <juri@jurta.org>
12930 * info.el (Info-following-node-name-re): Add newline to the list
12931 of allowed characters for leading space. (Bug#9824)
12933 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12935 * progmodes/octave-inf.el (inferior-octave-mode-map):
12936 Fix C-c C-h binding.
12937 * progmodes/octave-mod.el (octave-help): Remove.
12939 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12941 Sync with Tramp 2.2.3.
12943 * net/tramp-cache.el (top): Pacify byte-compiler using
12944 `init-file-user' and `site-run-file'.
12946 * net/trampver.el: Update release number.
12948 2011-10-23 Chong Yidong <cyd@gnu.org>
12950 * files.el (toggle-read-only): Remove obsolete comment about
12953 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12954 for toggle-read-only. Note that this hasn't called vc-next-action
12955 since 2008-05-02, though it wasn't documented at the time.
12957 * vc/ediff-init.el (ediff-toggle-read-only-function):
12958 Use toggle-read-only.
12960 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12962 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12965 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12966 correct faulty logical expression.
12967 (c-parse-state-state, c-record-parse-state-state):
12968 (c-replay-parse-state-state): New defvar/defuns.
12969 (c-debug-parse-state): Use new functions.
12971 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12973 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12974 last fix. Use window-in-direction correctly.
12976 2011-10-21 Chong Yidong <cyd@gnu.org>
12978 * progmodes/idlwave.el (idlwave-mode):
12979 * progmodes/vera-mode.el (vera-mode): No need to set
12980 require-final-newline; that's done in prog-mode.
12981 Suggested by Stefan Monnier.
12983 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12985 * mouse.el (mouse-drag-window-above)
12986 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12987 (mouse-drag-mode-line-1, mouse-drag-header-line)
12988 (mouse-drag-vertical-line-rightward-window): Remove.
12989 (mouse-drag-line): New function.
12990 (mouse-drag-mode-line, mouse-drag-header-line)
12991 (mouse-drag-vertical-line): Call mouse-drag-line.
12992 * window.el (window-at-side-p, windows-at-side): New functions.
12994 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12996 * tar-mode.el (tar-grind-file-mode):
12997 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12999 2011-10-21 Chong Yidong <cyd@gnu.org>
13001 * progmodes/idlwave.el (idlwave-mode):
13002 * progmodes/vera-mode.el (vera-mode):
13003 Use mode-require-final-newline.
13005 2011-10-20 Glenn Morris <rgm@gnu.org>
13007 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13009 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13011 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13013 2011-10-20 Chong Yidong <cyd@gnu.org>
13015 * emulation/cua-base.el (cua-mode):
13016 * mail/footnote.el (footnote-mode):
13017 * mail/mailabbrev.el (mail-abbrevs-mode):
13018 * net/xesam.el (xesam-minor-mode):
13019 * progmodes/bug-reference.el (bug-reference-mode):
13020 * progmodes/cap-words.el (capitalized-words-mode):
13021 * progmodes/compile.el (compilation-minor-mode)
13022 (compilation-shell-minor-mode):
13023 * progmodes/gud.el (gud-tooltip-mode):
13024 * progmodes/hideif.el (hide-ifdef-mode):
13025 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13026 * progmodes/subword.el (subword-mode):
13027 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13028 * progmodes/which-func.el (which-function-mode):
13029 * term/tvi970.el (tvi970-set-keypad-mode):
13030 * term/vt100.el (vt100-wide-mode):
13031 * textmodes/flyspell.el (flyspell-mode):
13032 * textmodes/ispell.el (ispell-minor-mode):
13033 * textmodes/nroff-mode.el (nroff-electric-mode):
13034 * textmodes/paragraphs.el (use-hard-newlines):
13035 * textmodes/refill.el (refill-mode):
13036 * textmodes/reftex.el (reftex-mode):
13037 * textmodes/rst.el (rst-minor-mode):
13038 * textmodes/sgml-mode.el (html-autoview-mode)
13039 (sgml-electric-tag-pair-mode):
13040 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13041 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13042 * emulation/crisp.el (crisp-mode):
13043 * emacs-lisp/eldoc.el (eldoc-mode):
13044 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13045 minor mode behavior.
13047 2011-10-19 Juri Linkov <juri@jurta.org>
13049 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13050 the list of hard-coded chars with escape-glyph face.
13052 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13054 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13056 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13058 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13061 2011-10-19 Glenn Morris <rgm@gnu.org>
13063 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13064 Ignore ignored files. (Bug#9726)
13066 2011-10-19 Chong Yidong <cyd@gnu.org>
13068 Doc fix for minor modes, stating that an omitted argument enables
13069 the mode unconditionally when called from Lisp.
13071 * abbrev.el (abbrev-mode):
13072 * allout.el (allout-mode):
13073 * autoinsert.el (auto-insert-mode):
13074 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13075 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13076 (global-auto-revert-mode):
13077 * battery.el (display-battery-mode):
13078 * composite.el (global-auto-composition-mode)
13079 (auto-composition-mode):
13080 * delsel.el (delete-selection-mode):
13081 * desktop.el (desktop-save-mode):
13082 * dired-x.el (dired-omit-mode):
13083 * dirtrack.el (dirtrack-mode):
13084 * doc-view.el (doc-view-minor-mode):
13085 * double.el (double-mode):
13086 * electric.el (electric-indent-mode, electric-pair-mode):
13087 * emacs-lock.el (emacs-lock-mode):
13088 * epa-hook.el (auto-encryption-mode):
13089 * follow.el (follow-mode):
13090 * font-core.el (font-lock-mode):
13091 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13092 * help.el (temp-buffer-resize-mode):
13093 * hilit-chg.el (highlight-changes-mode)
13094 (highlight-changes-visible-mode):
13095 * hi-lock.el (hi-lock-mode):
13096 * hl-line.el (hl-line-mode, global-hl-line-mode):
13097 * icomplete.el (icomplete-mode):
13098 * ido.el (ido-everywhere):
13099 * image-file.el (auto-image-file-mode):
13100 * image-mode.el (image-minor-mode):
13101 * iswitchb.el (iswitchb-mode):
13102 * jka-cmpr-hook.el (auto-compression-mode):
13103 * linum.el (linum-mode):
13104 * longlines.el (longlines-mode):
13105 * master.el (master-mode):
13106 * mb-depth.el (minibuffer-depth-indicate-mode):
13107 * menu-bar.el (menu-bar-mode):
13108 * minibuf-eldef.el (minibuffer-electric-default-mode):
13109 * mouse-sel.el (mouse-sel-mode):
13110 * msb.el (msb-mode):
13111 * mwheel.el (mouse-wheel-mode):
13112 * outline.el (outline-minor-mode):
13113 * paren.el (show-paren-mode):
13114 * recentf.el (recentf-mode):
13115 * reveal.el (reveal-mode, global-reveal-mode):
13116 * rfn-eshadow.el (file-name-shadow-mode):
13117 * ruler-mode.el (ruler-mode):
13118 * savehist.el (savehist-mode):
13119 * scroll-all.el (scroll-all-mode):
13120 * scroll-bar.el (scroll-bar-mode):
13121 * server.el (server-mode):
13122 * shell.el (shell-dirtrack-mode):
13123 * simple.el (auto-fill-mode, transient-mark-mode)
13124 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13125 (line-number-mode, column-number-mode, size-indication-mode)
13126 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13127 * strokes.el (strokes-mode):
13128 * time.el (display-time-mode):
13129 * t-mouse.el (gpm-mouse-mode):
13130 * tool-bar.el (tool-bar-mode):
13131 * tooltip.el (tooltip-mode):
13132 * type-break.el (type-break-mode-line-message-mode)
13133 (type-break-query-mode):
13134 * view.el (view-mode):
13135 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13136 (global-whitespace-mode, global-whitespace-newline-mode):
13137 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13140 Fix autogenerated docstring.
13142 2011-10-19 Juri Linkov <juri@jurta.org>
13144 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13145 by checking environment variables "DESKTOP_SESSION" and
13146 "XDG_CURRENT_DESKTOP". (Bug#9779)
13148 2011-10-19 Juri Linkov <juri@jurta.org>
13150 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13151 (browse-url-chromium-program, browse-url-chromium-arguments):
13153 (browse-url-default-browser): Check for `browse-url-chromium' and
13154 call `browse-url-chromium-program'.
13155 (browse-url-chromium): New command. (Bug#9779)
13157 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13159 * facemenu.el (list-colors-duplicates): On Windows, detect more
13160 duplicates by assuming that only colors matching "^System" are
13161 special "system colors". (Bug#9722)
13163 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13166 to distinguish the author from the committer.
13168 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13170 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13172 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13174 * international/mule.el (sgml-html-meta-auto-coding-function):
13175 Add support for detecting encoding in HTML5 specified only as
13176 <meta charset="UTF-8">. Implementation just makes http-equiv and
13177 content-type parts from HTML4 encoding string optional. (Bug#9716)
13179 2011-10-18 Glenn Morris <rgm@gnu.org>
13181 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13183 2011-10-18 Chong Yidong <cyd@gnu.org>
13185 * faces.el (cursor): Doc fix.
13187 2011-10-17 Chong Yidong <cyd@gnu.org>
13189 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13191 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13193 * dirtrack.el (dirtrack): Support shell buffers with path
13194 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13196 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13198 * json.el: Bump version to 1.3 and note change in History.
13199 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13201 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13203 * comint.el (comint-insert-input, comint-send-input)
13204 (comint-get-old-input-default, comint-backward-matching-input)
13205 (comint-next-prompt): Use nil instead of `input' for field property of
13206 past user input (bug#114).
13208 * minibuffer.el (completion--replace): Inherit surrounding properties
13210 (minibuffer-complete-and-exit): Use it.
13212 * comint.el (comint--table-subvert): Quote the all-completions output
13215 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13217 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13219 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13220 window on right of selected. (Bug#9350) Reword other window
13221 entries and separate them from frame entries.
13223 2011-10-15 Glenn Morris <rgm@gnu.org>
13225 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13228 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13230 * net/network-stream.el (network-stream-open-starttls):
13231 Improve detection of failure due to lack of TLS support.
13233 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13234 putting the input text in front and in bold.
13236 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13238 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13240 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13243 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13244 unread-command-events rather than pushing yet-another event.
13246 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13248 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13249 the explanation of the possible choices. Make the options passed
13250 to completing-read shorter.
13252 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13254 * textmodes/flyspell.el (flyspell-large-region): Make sure
13255 extended character mode is used if defined (Bug#1339).
13257 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13259 * simple.el (what-cursor-position): Fix the display of the
13260 character info for LRE, LRO, RLE, and RLO characters by appending
13263 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13265 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13266 even in case of error; add debug spec; simplify data flow.
13267 (with-timeout-handler): Remove.
13269 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13271 Fix Bug#6019, Bug#9315.
13273 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13274 complete `buffer-file-name', the local file name part could look
13275 remotely (for example on VMS).
13277 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13278 `tramp-run-real-handler'.
13279 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13280 already quoted by '"'.
13282 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13283 Let `file-name-handler-alist' be nil, the local file name part
13284 could look remotely (for example on VMS).
13286 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13288 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13290 (flyspell-post-command-hook): ...to here.
13292 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13294 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13296 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13297 using completion. Protect against "slow" callers.
13298 Remove the "message hack".
13300 2011-10-11 Juri Linkov <juri@jurta.org>
13302 * isearch.el (isearch-lazy-highlight-word): New variable.
13303 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13306 2011-10-11 Glenn Morris <rgm@gnu.org>
13308 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13309 like f90-previous-statement does.
13311 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13313 * eshell/eshell.el (eshell-command): History should be saved
13314 only in interactive use, to avoid error.
13316 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13318 * minibuffer.el (completion-file-name-table): Fix last change,
13319 i.e. ignore normal errors but not the other ones.
13321 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13323 * window.el (special-display-buffer-names)
13324 (special-display-regexps): Remove some remnants of earlier
13325 changes from doc-strings.
13326 (quit-windows-on): New function.
13328 * vc/vc.el (vc-revert, vc-rollback):
13329 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13330 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13331 (Bug#6183) (Bug#7074) (Bug#7447)
13333 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13335 * window.el (frame-auto-hide-function): Add version tag.
13338 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13340 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13343 2011-10-09 Leo Liu <sdl.web@gmail.com>
13345 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13348 2011-10-08 Glenn Morris <rgm@gnu.org>
13350 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13351 before the first code statement zero indent. (Bug#9690)
13353 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13355 * simple.el (count-words-region): Always count in the region.
13356 Report the number of lines and characters too.
13357 (count-words): New command, which counts in the buffer if the
13358 region is inactive, as count-words-region used to.
13359 (count-words--message): New function. Handle plurals.
13360 (count-lines-region): Make it an alias for count-words-region.
13362 * bindings.el (esc-map): Replace count-lines-region with
13363 count-words-region.
13365 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13367 * window.el (window--delete): Delete dedicated frame
13368 unconditionally when argument KILL is non-nil. (Bug#9699)
13369 (switch-to-buffer): Fix doc-string typo.
13371 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13373 * eshell/eshell.el (eshell-command): Avoid using hooks.
13375 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13377 * bindings.el ([M-left],[M-right]): Bind to left-word and
13378 right-word respectively.
13380 2011-10-07 Glenn Morris <rgm@gnu.org>
13382 * cus-start.el (debug-on-quit): Fix custom type.
13384 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13386 * subr.el (define-key-after): Clarify that the function is not
13387 useful for non-menu keymaps.
13389 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13391 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13393 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13394 in current minibuffer (Fix bug with recursive minibuffers).
13396 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13398 * progmodes/gdb-mi.el (gdb): Doc fix.
13400 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13402 * window.el (frame-auto-hide-function): New option replacing
13403 frame-auto-delete. Suggested by Stefan Monnier.
13404 (window--delete): Call frame-auto-hide-function instead of
13405 investigating frame-auto-delete.
13406 (window-point-1, set-window-point-1): New functions.
13407 (window-in-direction, record-window-buffer, window-state-get-1)
13408 (display-buffer-record-window): Use window-point-1 instead of
13410 (set-window-buffer-start-and-point): Use set-window-point-1.
13412 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13416 2011-10-05 Glenn Morris <rgm@gnu.org>
13418 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13419 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13421 2011-10-05 Leo Liu <sdl.web@gmail.com>
13423 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13424 works with buffer object.
13426 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13428 * mpc.el (mpc-tool-bar-map): Add labels.
13430 2011-10-04 Glenn Morris <rgm@gnu.org>
13432 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13434 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13436 * window.el (window--delete): New function.
13437 (frame-auto-delete): Resuscitate option.
13438 (bury-buffer, replace-buffer-in-windows)
13439 (quit-window): Rewrite using window--delete.
13440 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13441 Pass display-buffer-mark-dedicated to window--display-buffer-2
13444 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13447 returns a list (bug#9554). Add remote file name completion.
13448 * comint.el (comint--table-subvert): Curry and get quote&unquote
13449 functions as arguments.
13450 (comint--complete-file-name-data): Adjust call accordingly.
13451 * pcomplete.el (pcomplete--table-subvert): Remove.
13452 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13454 * minibuffer.el (completion-table-case-fold): Use currying.
13455 (completion--styles-type, completion--cycling-threshold-type):
13457 (completion-styles, completion-category-overrides)
13458 (completion-cycle-threshold): Use them.
13459 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13460 completion-table-case-fold.
13462 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13464 * minibuffer.el (completion-category-overrides): Fix type of styles
13465 and add more user friendly tags (bug#9660).
13467 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13469 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13470 (mule-input-method-string): New widget.
13471 (default-input-method, language-info-custom-alist): Use it.
13473 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13475 * pcomplete.el: Require comint.
13476 (pcomplete--common-suffix): Remove.
13477 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13478 (pcomplete--table-subvert): Sync with comint--table-subvert.
13479 (pcomplete--entries): Use comint-completion-file-name-table.
13480 * comint.el (comint-unquote-filename): Simplify.
13481 (comint-completion-file-name-table): New function (bug#9616).
13482 (comint--complete-file-name-data): Use it.
13484 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13485 (pcmpl-gnu-tar-buffer): Remove.
13486 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13487 around. Make sure pcomplete-suffix-list is only changed temporarily.
13488 Don't look inside the tar's file if it's too large.
13490 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13492 * cus-edit.el (custom-mode-map):
13493 * epa.el (epa-key-list-mode-map):
13494 * man.el (Man-mode-map):
13495 * startup.el (splash-screen-keymap):
13496 * simple.el (special-mode-map): Use scroll-up-command and
13497 scroll-down-command.
13499 * progmodes/idlw-help.el (idlwave-help-mode-map):
13500 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13501 * net/newst-plainview.el (newsticker-mode-map):
13502 * emulation/ws-mode.el (wordstar-mode-map):
13503 * emulation/vi.el (vi-com-map):
13504 * calc/calc-graph.el (calc-graph-show-dumb):
13505 * term/sun.el (terminal-init-sun):
13506 * term/ns-win.el (global-map):
13507 * progmodes/grep.el (grep-mode-map):
13508 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13509 * mail/rmail.el (rmail-mode-map):
13510 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13512 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13513 custom-safe-themes as special.
13515 2011-10-01 Julien Danjou <julien@danjou.info>
13517 * notifications.el (notifications-notify): Fix docstring.
13519 2011-10-01 Per Starbäck <per@starback.se>
13521 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13523 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13525 * startup.el (command-line-1): Fix last fix by inserting
13526 initial-scratch-message into *scratch* before displaying it.
13527 (Bug#9605) and (Bug#9636)
13529 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13531 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13532 window is hscrolled, move by logical lines. (Bug#9607)
13533 (line-move-visual): Update the doc string to the above effect.
13535 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13537 * window.el (display-buffer-record-window): When WINDOW is the
13538 selected window use `point' instead of `window-point'. (Bug#9626)
13540 * startup.el (command-line-1): Use insert-before-markers when
13541 inserting initial-scratch-message. (Bug#9605)
13543 * help.el (help-window): Remove variable.
13545 2011-09-29 Glenn Morris <rgm@gnu.org>
13547 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13549 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13551 * descr-text.el (describe-char-categories): Accept category
13552 descriptions more than one line long.
13554 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13556 * simple.el (delete-trailing-whitespace): Fix last change.
13558 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13559 Don't confuse "y => 3" as the beginning of a `y' operation.
13561 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13562 object has more than 4 slots (bug#9613).
13564 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13566 * subr.el (with-output-to-temp-buffer):
13567 * net/quickurl.el (quickurl, quickurl-browse-url):
13568 Fix typos in docstrings.
13570 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13572 * minibuffer.el (completion-styles)
13573 (completion-category-overrides): Cross reference each other in doc
13576 2011-09-27 Glenn Morris <rgm@gnu.org>
13578 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13579 to split-string. (Bug#9606)
13581 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13583 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13586 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13588 * emacs-lisp/package.el (list-packages): Fix echo area message.
13590 2011-09-27 Leo Liu <sdl.web@gmail.com>
13592 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13594 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13596 * net/dbus.el (dbus-unregister-object): Don't release services for
13597 registered signals. (Bug#9581)
13599 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13601 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13602 function that picks between cfengine 2 and 3 support
13603 automatically. Update docs accordingly.
13605 2011-09-22 Kenichi Handa <handa@m17n.org>
13607 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13609 (indian-itrans-v5-table-for-tamil): New variable.
13610 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13612 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13614 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13615 that's true if the current command involved collapsing of text.
13616 It's reset to false at the beginning of the next command.
13617 (allout-post-command-business): Move the cursor to the beginning
13618 of entry if the cursor is hidden and collapsing activity just
13621 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13623 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13624 tracking (Bug#9541).
13626 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13628 * net/newst-reader.el (newsticker-html-renderer)
13629 (newsticker-show-news): Automatically load html rendering package
13630 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13631 because w3m-fill-column is let-bound" and the error "Symbol's value
13632 as variable is void: w3m-fill-column".
13634 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13636 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13637 Release services only if they are defined. (Bug#9581)
13639 2011-09-23 Richard Stallman <rms@gnu.org>
13641 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13642 distinguish start of paragraph from start of its text.
13644 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13646 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13647 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13648 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13650 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13652 * international/mule-diag.el (mule-diag): Insert a newline after
13653 each fontset description.
13655 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13657 * simple.el (delete-trailing-whitespace):
13658 Document last change; simplify.
13660 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13662 * simple.el (delete-trailing-whitespace): Also delete
13663 extra newlines at the end of the buffer.
13665 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13666 (picture-newline): Use forward-line so as to ignore fields.
13668 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * subr.el (with-wrapper-hook): Fix edebug spec.
13672 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13674 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13677 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13679 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13680 Fix nasty bug using wrong cached values.
13682 2011-09-23 Alan Mackenzie <acm@muc.de>
13684 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13686 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13688 * window.el (pop-to-buffer): Ensure right window is selected if we
13689 chose another frame.
13691 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13693 * simple.el (what-cursor-position): Use get-char-property-change
13694 and next-single-char-property-change, to be able to show display
13695 properties that come from overlays as well as text properties.
13697 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13699 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13701 * cmuscheme.el (run-scheme, switch-to-scheme):
13702 * cus-edit.el (customize-group, custom-buffer-create)
13703 (customize-browse):
13705 * shell.el (shell):
13706 * mail/sendmail.el (mail):
13707 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13709 2011-09-22 Richard Stallman <rms@gnu.org>
13711 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13712 move back only to line beg, don't move back over blank lines.
13714 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13716 * files.el (copy-directory): Set directory attributes only in case
13717 they could be retrieved from the source directory. (Bug#9565)
13719 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13721 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13722 (hs-find-block-beginning, hs-hide-level-recursive):
13723 Ignore strings as well as comments. (Bug#9502)
13725 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13727 * progmodes/sql.el (sql-comint-postgres):
13728 Convert port number to a string. (Bug#9566)
13730 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13732 * window.el (quit-window): Undedicate window when switching to
13733 previous buffer. Reported by Thierry Volpiatto
13734 <thierry.volpiatto@gmail.com>.
13735 (special-display-popup-frame): When popping up a new frame reset
13736 its previous buffers to nil. Simplify code.
13738 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13740 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13741 and process filter, as done also in `shell-command'.
13743 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13745 * window.el (set-window-buffer-start-and-point):
13746 Call set-window-start with NOFORCE argument t.
13747 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13748 (quit-window): Reword doc-string. Handle new format of
13749 quit-restore parameter. Don't delete window if it has a
13750 previous buffer we can show instead of the present one.
13751 (display-buffer-record-window): Rewrite using a new format for
13752 the quit-restore window parameter
13753 (special-display-popup-frame, display-buffer-same-window)
13754 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13755 (display-buffer-pop-up-window, display-buffer-use-some-window):
13756 Adapt symbol passed to display-buffer-record-window.
13757 * help.el (help-window-setup): Handle new format of quit-restore
13760 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13762 * faces.el (face-list): Fix docstring (bug#9564).
13764 * window.el (display-buffer--action-function-custom-type):
13765 Don't include internal functions in the Custom interface.
13767 2011-09-20 Juri Linkov <juri@jurta.org>
13769 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13770 (Info-forward-node, Info-backward-node, Info-next-preorder)
13771 (Info-last-preorder): Use it. (Bug#9528)
13773 2011-09-20 Juri Linkov <juri@jurta.org>
13775 * info.el (Info-last-preorder): Visit last menu item only when
13776 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13778 2011-09-20 Julien Danjou <julien@danjou.info>
13780 * password-cache.el (password-cache-remove): Remove entries even if the
13781 value is nil, so that password with a nil value (negative caching) is
13782 possible to invalidate.
13784 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13786 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13787 all whitespace around breakpoint. (Bug#9553)
13788 (f90-find-breakpoint): Only break at whitespace inside a comment.
13790 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13792 * minibuffer.el (completion-file-name-table): Keep track of errors.
13793 (completion-table-with-predicate): Handle the case where pred1 is nil.
13794 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13796 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13798 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13799 (debugger-return-value): Signal an error if the debugging context does
13800 not await any return value.
13802 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13803 * image-mode.el (image-toggle-display-text)
13804 (image-toggle-display-image): Stay away from evil `intangible'.
13806 2011-09-19 Leo Liu <sdl.web@gmail.com>
13808 * replace.el (occur-revert-arguments): Make it permanent-local.
13809 (occur-mode): Don't call font-lock-defontify.
13811 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13813 * net/ldap.el (ldap-search-internal): Don't push empty search
13816 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13818 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13820 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13822 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13823 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13825 2011-09-18 Juri Linkov <juri@jurta.org>
13827 * buff-menu.el (Buffer-menu-mode-map):
13828 * dired.el (dired-mode-map):
13829 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13830 (lisp-interaction-mode-map):
13831 * emacs-lisp/package.el (package-menu-mode-map):
13832 * epa.el (epa-key-list-mode-map):
13833 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13834 (menu-bar-options-menu):
13835 * outline.el (outline-mode-menu-bar-map):
13836 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13837 * vc/vc-dir.el (vc-dir-menu-map):
13838 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13839 Capitalize non-function content words in menu item strings.
13841 * dired.el (dired-mode-map): Add menu item for
13842 `image-dired-dired-toggle-marked-thumbs'.
13844 2011-09-18 Juri Linkov <juri@jurta.org>
13846 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13847 to `isearch-case-fold-search' and restore its original value
13848 after the `isearch-mode' call.
13850 2011-09-18 Juri Linkov <juri@jurta.org>
13852 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13853 because `zgrep' returns 1 for successful matches (bug#9226).
13855 2011-09-18 Juri Linkov <juri@jurta.org>
13857 * info.el (Info-extract-menu-node-name): Check the second match
13858 for empty string (second test-case of bug#9528).
13859 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13860 intermediate nodes to the history (first test-case of bug#9528).
13862 2011-09-18 Juri Linkov <juri@jurta.org>
13864 * info.el (Info-mode-syntax-table): New variable.
13865 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13867 2011-09-18 Juri Linkov <juri@jurta.org>
13869 * info.el (Info-file-supports-index-cookies):
13870 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13871 outputs one more line for long file names (bug#4142).
13873 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13875 * newcomment.el (comment-normalize-vars): If prompting for
13876 comment-start, set comment-start-skip too (Bug#8424).
13878 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13880 * icomplete.el: Fix previous fix of Bug#5849.
13881 (icomplete-mode): Don't set completion-show-inline-help.
13882 (icomplete-minibuffer-setup): Set completion-show-inline-help
13883 locally during icompletion.
13885 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13887 * woman.el (woman2-process-escapes): Don't delete unrecognized
13888 escapes (Bug#7843).
13890 * files.el (inhibit-first-line-modes-regexps): Add image files.
13891 (hack-local-variables-prop-line): Return nil for malformed
13892 prop-lines (Bug#9044).
13894 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13896 * net/tramp.el (top): Don't require 'shell.
13897 (tramp-methods): Fix docstring.
13898 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13899 Return complete remote file name. Handle "smb" case.
13900 Use `tramp-tmpdir', if defined for the respective method.
13901 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13903 * net/tramp-compat.el (top): Require 'shell.
13905 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13906 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13907 `tramp-current-host'.
13908 (tramp-get-remote-tmpdir): Remove.
13910 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13911 `tramp-tmpdir' entries.
13912 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13913 (tramp-smb-handle-file-attributes): Ignore errors.
13914 (tramp-smb-wait-for-output): Check also for process end.
13916 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13918 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13919 when sending QUIT (bug#9312).
13921 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13923 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13924 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13925 occur-mode-display-occurrence.
13926 (occur-edit-mode): Add usage message.
13927 (occur-cease-edit): New command.
13928 (occur-after-change-function): Use text properties to find the
13929 position of the prefix text.
13930 (occur-engine): Set stickiness of prefix text properties.
13932 2011-09-17 Glenn Morris <rgm@gnu.org>
13934 * progmodes/etags.el (complete-tag):
13935 Fix call to completion-in-region. (Bug#9526)
13937 2011-09-17 Juri Linkov <juri@jurta.org>
13939 * textmodes/ispell.el (ispell-word): Add to the error message
13940 the word, ispell program name and current dictionary (bug#9121).
13941 (ispell-tex-arg-end): Capitalize "error" in the error message.
13943 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13945 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13948 2011-09-17 Juri Linkov <juri@jurta.org>
13950 * window.el (window-safe-min-height, window-safe-min-width):
13951 Fix typos (followup to bug#9522).
13953 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13955 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13957 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13959 * simple.el (line-move): If goal-column is set, move by logical
13960 lines, not by display lines. (Bug#971)
13961 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13962 to reflect the above change.
13964 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13966 * image.el (imagemagick-register-types): Use regexp-opt.
13968 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13970 * window.el (display-buffer-base-action): Rename from
13971 display-buffer-default-action. Make default value empty.
13972 (display-buffer-overriding-action): Convert to defvar.
13973 (display-buffer-fallback-action): New var.
13975 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13977 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13979 (package--add-to-archive-contents): If there is a duplicate entry
13980 with an older version, remove it.
13981 (package-menu-mark-delete, package-menu-mark-install)
13982 (package-menu-mark-unmark): Make unused args optional.
13983 (package-menu-mark-obsolete-for-deletion):
13984 Use package-menu-get-status instead of a regexp search.
13985 (package-menu-get-status): Use tabulated-list-entry.
13986 (package-menu-mark-upgrades): New command.
13987 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13988 (package-menu-execute): Do installation before deletion.
13989 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13990 instead of checking major-mode.
13991 (package-menu--find-upgrades): New function.
13993 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13995 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13996 passwords in the log buffer.
13997 (smtpmail-process-filter): Update the process marker so that the
13998 "broken by peer" status message is inserted in the right place.
14000 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14002 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14003 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14004 bibtex-completion-at-point-function.
14005 (bibtex-completion-at-point-function): Use them.
14007 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14009 * mpc.el (mpc-constraints-tag-lookup): New function.
14010 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14011 also to browser "album|playlist".
14013 2011-09-14 Juri Linkov <juri@jurta.org>
14015 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14016 (isearch-edit-string): Use length of `isearch-string' when
14017 `isearch-fail-pos' returns nil.
14018 (isearch-message): Remove duplicate code and call
14019 `isearch-fail-pos' with arg `t'.
14021 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14023 * replace.el (occur-mode-goto-occurrence): Don't force using other
14026 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14028 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14030 * window.el (display-buffer-window): Remove.
14031 (display-buffer-record-window): Use help-setup window parameter
14032 instead of variable display-buffer-window.
14033 (display-buffer-function, special-display-buffer-names)
14034 (special-display-function): Mention help-setup parameter instead
14035 of display-buffer-window in doc-string.
14036 * help.el (help-window-setup): New argument help-window.
14037 Use help-window-setup parameter instead of display-buffer-window.
14038 Reword some messages.
14039 (with-help-window): Pass window used for displaying the buffer
14040 to help-window-setup. Don't set display-buffer-window.
14042 2011-09-13 Glenn Morris <rgm@gnu.org>
14044 * emacs-lisp/debug.el (debugger-make-xrefs):
14045 Preserve point. (Bug#9462)
14047 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14049 * window.el (window-deletable-p): Use next-frame.
14051 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14053 * window.el (window-auto-delete): Remove.
14054 (window-deletable-p): Remove argument FORCE. Don't deal with
14055 dedication and previous buffers.
14056 (switch-to-prev-buffer): Don't delete window.
14057 (delete-windows-on): Delete a window's frame if and only if the
14058 window is dedicated.
14059 (replace-buffer-in-windows): Delete buffer's window or frame if
14060 and only if window is dedicated.
14061 (quit-window): Handle quit-restore as before last change.
14062 (bury-buffer): Delete window only if window-deletable-p returns t.
14064 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14066 * window.el (window-deletable-p): Never delete the last frame on a
14069 2011-09-13 Glenn Morris <rgm@gnu.org>
14071 * help.el (describe-key-briefly): Copy previous standard-output change.
14073 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14075 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14077 2011-09-13 Glenn Morris <rgm@gnu.org>
14079 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14080 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14082 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14084 * dired-aux.el (dired-mark-read-string): Don't return default
14085 value on empty input (Bug#9361).
14086 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14087 Omit initial minibuffer contents.
14088 (dired-do-chmod): Signal an error on empty input.
14089 (dired-mark-read-string): Don't return default on empty input.
14091 * files.el (file-modes-symbolic-to-number): Doc fix.
14093 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14095 * international/mule-cmds.el (ucs-completions): Remove.
14096 (read-char-by-name): Use complete-with-action instead; add metadata.
14098 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14100 * window.el (display-buffer--action-function-custom-type)
14101 (display-buffer--action-custom-type): New vars.
14102 (display-buffer-alist, display-buffer-default-action)
14103 (display-buffer-overriding-action): Add defcustom types.
14105 * frame.el (delete-other-frames): Doc fix (Bug#276).
14107 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14109 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14111 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14113 Change modes that used same-window-* vars to use switch-to-buffer.
14115 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14116 Use switch-to-buffer.
14118 * cus-edit.el (customize-group, custom-buffer-create)
14119 (customize-browse, custom-buffer-create-other-window):
14120 Use switch-to-buffer or switch-to-buffer-other-window.
14122 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14123 (Info-prev, Info-up, Info-speedbar-goto-node)
14124 (info-display-manual): Use switch-to-buffer.
14125 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14127 * mail/sendmail.el (mail): Use switch-to-buffer.
14128 (mail-recover): Use switch-to-buffer-other-window.
14130 * cmuscheme.el (run-scheme, switch-to-scheme):
14132 * shell.el (shell):
14133 * net/rlogin.el (rlogin):
14134 * net/telnet.el (telnet, rsh):
14135 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14137 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14139 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14141 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14144 so don't mention it (bug#9301).
14145 (dired-sort-toggle-or-edit): Clarify string further.
14147 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14148 match `x', `w32' and `ns', like the manual says (bug#9029).
14150 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14151 (process-kill-buffer-query-function): Mention the buffer name in
14154 * image-mode.el (image-next-line): The line parameter is mandatory
14157 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14158 which can be useful (bug#9301).
14160 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14162 * subr.el (match-string): Mention that the current buffer should
14163 be the same as the search was done in (bug#9282).
14165 * facemenu.el: Disable the remove-* commands if the mark isn't
14168 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14170 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14172 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14174 * replace.el (occur-mode-goto-occurrence)
14175 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14176 and display-buffer.
14178 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14181 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14182 special-display and same-window variables.
14183 (mail-other-window): Use switch-to-buffer-other-window.
14184 (mail-other-frame): USe switch-to-buffer-other-frame.
14186 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14187 Use display-buffer-other-frame.
14188 (gdb-display-gdb-buffer): Use pop-to-buffer.
14190 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14192 * progmodes/python.el: Don't set same-window-buffer-names.
14194 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14196 * window.el (display-buffer-alist): Add *Python*.
14198 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14200 * window.el (display-buffer-alist): Add entry for buffers
14201 previously handled same-window-*.
14202 (display-buffer-alist, display-buffer-default-action)
14203 (display-buffer-overriding-action): Mark as risky.
14204 (display-buffer-alist): Document action function changes.
14205 (display-buffer--same-window-action)
14206 (display-buffer--other-frame-action): New variables.
14207 (switch-to-buffer, display-buffer-other-frame): Use them.
14208 (display-buffer): Rename reuse-frame entry to reusable-frames.
14209 (display-buffer-reuse-selected-window): Function deleted.
14210 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14211 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14212 (display-buffer-special): New function.
14213 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14214 display-buffer-reuse-or-pop-window. Split off special-display
14215 part into display-buffer-special.
14216 (display-buffer-use-some-window): Don't perform any special
14217 pop-up-frames handling.
14218 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14219 (display-buffer--maybe-same-window): Rename from
14220 display-buffer-maybe-same-window.
14222 * info.el: Don't set same-window-regexps.
14223 (info-setup): New function.
14224 (info-other-window, info): Call it.
14226 * cus-edit.el: Don't set same-window-regexps.
14227 (customize-group): New argument.
14228 (customize-group-other-window): Use it.
14229 (customize-face, customize-face-other-window): Likewise.
14230 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14234 * progmodes/gud.el: Don't set same-window-regexps.
14239 * mail/sendmail.el:
14240 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14242 2011-09-10 Juri Linkov <juri@jurta.org>
14244 * isearch.el (isearch-edit-string): Remove obsolete mention of
14245 `C-w' (`isearch-yank-word-or-char') from docstring.
14246 (isearch-query-replace): Fix typo in docstring (bug#9466).
14248 2011-09-10 Juri Linkov <juri@jurta.org>
14250 * paren.el (show-paren-function): Don't show escaped parens.
14251 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14253 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14255 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14256 (mm-default-file-encoding): Remove autoload forms, they are
14257 replaced with autoload cookies in mml.el and mm-encode.el.
14258 (mail-add-attachment): New command.
14259 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14260 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14262 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14264 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14266 * simple.el (count-words-region): Use buffer if there's no region
14269 2011-09-09 Juri Linkov <juri@jurta.org>
14271 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14272 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14273 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14275 2011-09-09 Alan Mackenzie <acm@muc.de>
14277 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14278 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14280 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14282 Fix for Savannah bug#9392.
14283 * simple.el (mail-encode-mml): New defvar.
14285 * mail/rmail.el (mail-encode-mml): Add a defvar.
14286 (rmail-enable-mime-composing): Default to t.
14287 (rmail-forward): Use MIME method of forwarding only if both
14288 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14289 Set mail-encode-mml non-nil if the MIME method was used.
14291 * mail/sendmail.el (mml-to-mime): Add autoload form.
14292 (mail-encode-mml): Add a defvar.
14293 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14295 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14296 message through mml-to-mime, and reset mail-encode-mml to nil.
14298 2011-09-09 Glenn Morris <rgm@gnu.org>
14300 * woman.el (woman-if-body): When processing an .el block,
14301 do not delete the next .el block as well. (Bug#9447)
14302 (woman-special-characters): Add oq, cq, and hy characters.
14304 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14306 * window.el (window-deletable-p): Make sure window is live before
14307 invoking window-prev-buffers.
14309 2011-09-08 Leo Liu <sdl.web@gmail.com>
14311 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14313 2011-09-08 Juri Linkov <juri@jurta.org>
14315 * progmodes/compile.el (compilation-environment): Make it
14316 a defcustom (bug#8340).
14318 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14320 * window.el (frame-auto-delete): Rename to window-auto-delete.
14321 Make it control auto-deletion of windows and/or frames.
14322 (window-deletable-p): New argument FORCE. Rewrite conditions
14323 for deleting window/frame. (Bug#9419)
14324 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14325 Rewrite handling of case when window/frame can be deleted.
14326 (delete-windows-on): Call window-deletable-p with new FORCE
14327 argument t. (Bug#9456)
14329 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14331 * help-mode.el (help-mode): Restore autoload.
14333 2011-09-07 Juri Linkov <juri@jurta.org>
14335 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14336 `compilation-environment'. Set buffer-local
14337 `compilation-environment' to `thisenv' later after (funcall mode).
14340 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14341 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14342 instead of replacing its value. (Bug#8340)
14344 2011-09-07 Juri Linkov <juri@jurta.org>
14346 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14347 based on text properties put by `grep-filter' instead of matching
14349 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14350 to the value of `grep-error-screen-columns' (bug#9438).
14352 2011-09-07 Juri Linkov <juri@jurta.org>
14354 * simple.el (next-error-highlight, next-error-highlight-no-select):
14355 Doc fix (bug#9432).
14357 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14360 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14362 2011-09-07 Leo Liu <sdl.web@gmail.com>
14364 * net/rcirc.el (rcirc-mode): Conditionally initialize
14367 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14369 * emacs-lisp/find-func.el (find-function-C-source): Only set
14370 find-function-C-source-directory after checking that we found a source
14371 file there (bug#9440).
14373 2011-09-06 Alan Mackenzie <acm@muc.de>
14375 * isearch.el (isearch-other-meta-char): Wherever a key list is
14376 unread, "unread" the prefix arg, too. This fixes bug #8901.
14378 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14380 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14382 2011-09-05 Juri Linkov <juri@jurta.org>
14384 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14386 2011-09-05 Juri Linkov <juri@jurta.org>
14388 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14389 keeping point where processing of grep matches begins, and
14390 continue to delete remaining escape sequences from the same point.
14391 (grep-filter): Make leading zero optional in "0?1;31m" because
14392 git-grep emits "\033[1;31m" escape sequences unlike expected
14393 "\033[01;31m" as GNU Grep does (bug#9408).
14394 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14396 2011-09-05 Juri Linkov <juri@jurta.org>
14398 * subr.el (y-or-n-p): Capitalize "yes".
14400 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14402 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14403 `tramp-cache-unload-hook' where appropriate.
14404 (tramp-methods): Rename `tramp-remote-sh' to
14405 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14406 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14408 * net/tramp-sh.el (top): Don't require 'shell.
14409 (tramp-methods): Add `tramp-remote-shell' and
14410 `tramp-remote-shell-args' entries.
14411 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14412 (tramp-sh-handle-shell-command): Remove.
14413 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14414 Use `tramp-remote-shell'.
14416 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14418 * mail/sendmail.el (sendmail-query-once-function): Delete.
14419 (sendmail-query-once): Save directly to send-mail-function.
14420 Update message-send-mail-function too.
14422 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14424 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14426 * progmodes/python.el (python-mode-map): Use correct function to
14427 start python interpreter from menu-bar (as reported by Geert
14429 (inferior-python-mode-map): Fix typo.
14430 (python-shell-map): Remove.
14432 2011-09-03 Deniz Dogan <deniz@dogan.se>
14434 * net/rcirc.el (rcirc-print): Simplify code for
14435 rcirc-scroll-show-maximum-output. There is no need to walk
14436 through all windows to find the right one.
14438 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14440 * help.el (help-return-method): Doc fix.
14442 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14444 * window.el (window-deletable-p): Don't return a non-nil value
14445 when there's a buffer that was shown in the window before.
14447 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14448 Set window's previous buffers to nil.
14450 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14452 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14453 newline before and after the tag line, so it doesn't interfere
14454 with determining the paragraph direction of bidirectional text.
14456 2011-09-03 Leo Liu <sdl.web@gmail.com>
14458 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14460 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14462 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14463 (pop-to-buffer): Change interactive spec. Pass second argument
14464 directly to display-buffer.
14465 (display-buffer): Fix interactive spec. Use functionp to
14466 distinguish between a function and a list of functions.
14468 * abbrev.el (edit-abbrevs):
14469 * arc-mode.el (archive-extract):
14470 * autoinsert.el (auto-insert):
14471 * bookmark.el (bookmark-bmenu-list):
14472 * files.el (find-file):
14473 * view.el (view-buffer):
14474 * progmodes/compile.el (compilation-goto-locus):
14475 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14477 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14479 * window.el (display-buffer-alist): Doc fix.
14480 (display-buffer): Add docstring. Don't treat
14481 display-buffer-default specially.
14482 (display-buffer-reuse-selected-window)
14483 (display-buffer-same-window, display-buffer-maybe-same-window)
14484 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14485 (display-buffer-pop-up-window)
14486 (display-buffer-reuse-or-pop-window)
14487 (display-buffer-use-some-window): New functions.
14488 (display-buffer-default-action): Use them.
14489 (display-buffer-default): Delete.
14490 (pop-to-buffer-1): Fix choice of actions.
14492 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14494 * minibuffer.el (completion--insert-strings): Don't get confused by
14495 completion entries that end with an LF char.
14497 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14499 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14501 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14503 * window.el (display-buffer): Restore interactive spec.
14504 (display-buffer-same-window, display-buffer-other-window):
14506 (pop-to-buffer-1): New function. Use the above.
14507 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14508 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14510 * view.el (view-buffer-other-window, view-buffer-other-frame):
14511 Just use pop-to-buffer.
14513 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14515 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14517 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14519 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14521 2011-08-31 Richard Stallman <rms@gnu.org>
14523 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14524 of the separation of rmail-view-buffer from rmail-buffer.
14525 If you say no to "replace original", the decrypt is in the
14526 view buffer. If you say yes, the decrypt goes into the
14529 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14531 * window.el (display-buffer-window): Rewrite doc-string.
14532 (display-buffer-record-window): New function.
14533 (display-buffer-macro-specifiers)
14534 (display-buffer-even-window-sizes, display-buffer-set-height)
14535 (display-buffer-set-width, display-buffer-in-window)
14536 (display-buffer-reuse-window, display-buffer-split-specifiers)
14537 (display-buffer-side-specifiers, display-buffer-split-window-1)
14538 (display-buffer-split-window, display-buffer-split-atom-window)
14539 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14540 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14541 (display-buffer-other-window-means-other-frame)
14542 (display-buffer-normalize-special)
14543 (display-buffer-normalize-default)
14544 (display-buffer-normalize-argument)
14545 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14546 (display-buffer-normalize-specifiers, display-buffer-frame)
14547 (display-buffer-same-window, display-buffer-same-frame)
14548 (display-buffer-other-window)
14549 (display-buffer-same-frame-other-window)
14550 (display-buffer-other-frame, pop-to-buffer-same-window)
14551 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14552 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14553 (switch-to-buffer-same-frame)
14554 (switch-to-buffer-other-window-same-frame)
14555 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14556 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14557 (display-buffer-alist-set): Remove.
14558 (display-buffer-function, special-display-buffer-names)
14559 (special-display-regexps, special-display-function):
14560 In doc-string refer to display-buffer-window and quit-restore
14562 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14563 (special-display-frame-alist, special-display-popup-frame)
14564 (same-window-buffer-names, same-window-regexps, same-window-p)
14565 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14566 (split-window-preferred-function, split-height-threshold)
14567 (split-width-threshold, window-splittable-p)
14568 (split-window-sensibly, window--try-to-split-window)
14569 (window--frame-usable-p, even-window-heights)
14570 (window--even-window-heights, window--display-buffer-1)
14571 (window--display-buffer-2, display-buffer-other-frame):
14572 Restore old Emacs 23 code, order and doc-strings where applicable.
14573 (display-buffer-default, display-buffer-assq-regexp): New functions.
14574 (display-buffer-alist): Rewrite doc-string.
14575 (display-buffer-default-action)
14576 (display-buffer-overriding-action): New variables.
14577 (display-buffer, switch-to-buffer): Rewrite.
14578 (pop-to-buffer): Restore Emacs 23 behavior but use
14579 window-normalize-buffer-to-display.
14580 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14581 Restore Emacs 23 behavior but use
14582 window-normalize-buffer-to-switch-to.
14583 (pop-to-buffer-same-window): Rewrite.
14584 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14585 Rewrite using Emacs 23 options.
14587 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14589 * net/tramp.el (tramp-root-regexp): Remove.
14590 (tramp-completion-file-name-regexp-unified)
14591 (tramp-completion-file-name-regexp-separate)
14592 (tramp-completion-file-name-regexp-url): Don't use leading volume
14593 letter on w32 systems. (Bug#5303, Bug#9311)
14594 (tramp-drop-volume-letter): Simplify definition.
14595 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14597 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14599 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14602 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14604 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14606 2011-08-29 Juri Linkov <juri@jurta.org>
14608 * isearch.el (isearch-done): Don't display message "Mark saved"
14609 when arg `edit' is non-nil to prevent its flicker in the echo area.
14611 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14613 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14614 obsolete packages for deletion.
14616 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14618 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14619 (help-mode): Derive help-mode from special-mode. Don't invoke
14620 view-mode from help-mode.
14621 (help-xref-override-view-map): Remove.
14622 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14623 view-mode is not used anymore.
14625 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14627 * server.el (server-port): Doc fix.
14629 * cus-theme.el (custom-theme-choose-mode): Inherit from
14630 special-mode (Bug#9124).
14631 (custom-theme-choose-mode-map): Add special-mode to parent.
14633 2011-08-28 Alan Mackenzie <acm@muc.de>
14635 * progmodes/cc-fonts.el
14636 (c-make-font-lock-BO-decl-search-function): New function.
14637 (c-basic-matchers-after - "Fontify the clauses after various
14638 keywords"): Extract the three keyword lists for the 3 erroneous
14639 constructs from the list of four, and use the new function above
14640 in place of an old one.
14642 2011-08-28 Deniz Dogan <deniz@dogan.se>
14644 * net/rcirc.el (rcirc-insert-prev-input)
14645 (rcirc-insert-next-input): Remove unused argument.
14647 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14649 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14651 2011-08-27 Alan Mackenzie <acm@muc.de>
14653 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14654 handle function pointer parameters properly.
14656 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14658 * window.el (display-buffer-reuse-window): Fix case where
14659 selected window was reused with non-nil OTHER-WINDOW argument.
14662 2011-08-27 Deniz Dogan <deniz@dogan.se>
14664 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14665 oftc's NickServ messages.
14667 2011-08-27 Glenn Morris <rgm@gnu.org>
14669 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14671 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14673 * emacs-lisp/package.el (package-install): Call package-initialize
14674 if called interactively.
14676 2011-08-26 Leo Liu <sdl.web@gmail.com>
14678 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14680 2011-08-25 Juri Linkov <juri@jurta.org>
14682 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14683 `search-whitespace-regexp' (bug#9364).
14685 2011-08-25 Juri Linkov <juri@jurta.org>
14687 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14688 `regexp-search-ring' to their global values to protect from
14689 updating by `read-from-minibuffer' (bug#9185).
14691 2011-08-25 Juri Linkov <juri@jurta.org>
14693 * textmodes/ispell.el (ispell-command-loop): Add newline
14694 at the end of the "Use option `i'..." line.
14696 2011-08-25 Juri Linkov <juri@jurta.org>
14698 * battery.el (display-battery-mode): If `battery-status-function'
14699 or `battery-mode-line-format' is nil, display the message and set
14700 `display-battery-mode' to nil (bug#9363).
14702 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14704 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14705 bidi-string-mark-left-to-right; they are unnecessary now.
14707 2011-08-25 Deniz Dogan <deniz@dogan.se>
14709 * net/quickurl.el: Documentation typo fixes.
14711 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14713 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14715 2011-08-25 Glenn Morris <rgm@gnu.org>
14717 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14719 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14720 (smtpmail-via-smtp): Handle nil response from smtp.
14722 2011-08-24 Juri Linkov <juri@jurta.org>
14724 * proced.el (proced-marked): Inherit from `error' instead of
14725 `font-lock-warning-face'.
14727 * ibuffer.el (ibuffer-marked-face): Change default face from
14728 `font-lock-warning-face' to `warning'.
14729 (ibuffer-deletion-face): Change default face from
14730 `font-lock-type-face' to `error'.
14732 * battery.el (battery-update): Use the face `error' instead of
14733 `font-lock-warning-face' (bug#6117).
14735 2011-08-24 Juri Linkov <juri@jurta.org>
14737 * faces.el (success): Change face color from "Green3" to
14738 "ForestGreen" on light background (bug#9353).
14740 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14742 * window.el (quit-window): Rename from quit-restore-window.
14743 Use same arglist as old quit-window.
14744 (frame-auto-delete): Doc fix.
14746 * view.el (view-mode-exit): Use quit-window.
14748 2011-08-24 Juri Linkov <juri@jurta.org>
14750 * isearch.el (isearch-ring-adjust1): Start visiting previous
14751 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14752 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14753 for empty search string (when the last search string is reused
14754 automatically) to adjust the isearch ring to the last element and
14755 prepare the correct index for further M-p commands (bug#9185).
14757 2011-08-24 Kenichi Handa <handa@m17n.org>
14759 * international/ucs-normalize.el: If decomposition property of
14760 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14762 (nfd, nfkd): Likewise.
14764 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14766 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14767 from process filters aren't reliably transmitted to the surrounding
14768 accept-process-output.
14769 (mpc-proc-check): New function.
14770 (mpc-proc-sync): Use it (bug#8293)
14772 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14774 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14775 Add compatibility functions (bug#9313).
14777 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14779 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14781 * international/uni-bidi.el: Regenerate.
14783 2011-08-23 Kenichi Handa <handa@m17n.org>
14785 * international/charprop.el:
14786 * international/uni-bidi.el:
14787 * international/uni-category.el:
14788 * international/uni-combining.el:
14789 * international/uni-comment.el:
14790 * international/uni-decimal.el:
14791 * international/uni-decomposition.el:
14792 * international/uni-digit.el:
14793 * international/uni-lowercase.el:
14794 * international/uni-mirrored.el:
14795 * international/uni-name.el:
14796 * international/uni-numeric.el:
14797 * international/uni-old-name.el:
14798 * international/uni-titlecase.el:
14799 * international/uni-uppercase.el: Regenerate.
14801 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14803 * help.el (help-window-setup): Fix message displayed when other
14804 window is reused. (Bug#9341)
14806 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14808 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14809 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14811 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14813 * shell.el (shell-parse-pcomplete-arguments): New function.
14814 (shell-completion-vars): Use it instead (bug#9160).
14816 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14818 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14819 strings and comments (bug#9333).
14821 * emacs-lisp/debug.el (debug-arglist): New function.
14822 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14823 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14825 2011-08-22 Juri Linkov <juri@jurta.org>
14827 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14828 Revert regexp that highlights output switches to its old
14829 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14831 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14832 to check for empty output (bug#9226).
14834 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14836 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14837 symbol-constituent as the default, as that stops font-lock from
14838 working properly (Bug#8843).
14840 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14842 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14843 `coding-system-for-*' around the process open call to avoid
14844 auth-source side effects.
14845 (smtpmail-try-auth-methods): Expand the secret password.
14846 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14849 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14851 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14853 * emacs-lisp/find-func.el (find-function-noselect): New arg
14856 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14857 signal an error for built-in functions (Bug#6664).
14859 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14861 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14862 (smtpmail-try-auth-methods): Use it.
14864 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14866 * font-lock.el (font-lock-fontify-region)
14867 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14868 (font-lock-default-unfontify-buffer)
14869 (font-lock-default-fontify-region)
14870 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14872 * progmodes/compile.el (compilation-error-properties):
14873 Fix confusion between file struct and message struct (Bug#9319).
14874 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14877 * net/browse-url.el (browse-url-firefox): Don't call
14878 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14880 2011-08-20 Glenn Morris <rgm@gnu.org>
14882 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14884 * tutorial.el (tutorial--default-keys): Update some default bindings.
14886 * files.el (hack-local-variables): Fully ignore case for "mode:".
14888 2011-08-20 Alan Mackenzie <acm@muc.de>
14890 Resolve invalid use of a regexp in regexp-opt.
14892 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14893 detection for a java annotation.
14895 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14896 detection for a java annotation.
14898 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14900 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14902 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14904 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14907 2011-08-20 Alan Mackenzie <acm@muc.de>
14909 Fontify CPP expressions correctly when starting in the middle of
14910 such a construct. Mainly for when jit-lock etc. starts a chunk
14913 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14915 (c-make-font-lock-search-form): New function, extracted from
14916 c-make-font-lock-search-function.
14917 (c-make-font-lock-search-function): Use the above function.
14918 (c-make-font-lock-context-search-function): New function.
14919 (c-cpp-matchers): Enhance the preprocessor expression case with
14921 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14922 which takes an expression.
14924 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14926 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14928 * window.el (display-buffer-reuse-window)
14929 (display-buffer-pop-up-window): Don't reuse or split a side
14932 2011-08-19 Glenn Morris <rgm@gnu.org>
14934 * files.el (hack-local-variables-prop-line, hack-local-variables):
14935 Downcase "Mode:". (Bug#9331)
14937 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14939 * international/characters.el: Add L and R categories.
14941 * subr.el (bidi-string-mark-left-to-right): Rename from
14942 string-mark-left-to-right. Use category search.
14944 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14946 2011-08-18 Juri Linkov <juri@jurta.org>
14948 * faces.el (error, warning, success): New faces with definitions
14949 copied from old default values of `font-lock-warning-face',
14950 `compilation-warning', `compilation-info' (bug#6117).
14952 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14954 * progmodes/compile.el (compilation-error): Inherit from `error'.
14955 (compilation-warning): Inherit from `warning'.
14956 (compilation-info): Inherit from `success'.
14958 * dired.el (dired-marked): Inherit from `warning'.
14959 (dired-flagged): Inherit from `error'.
14961 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14963 * mail/smtpmail.el (auth-source): Require to avoid problems with
14964 binding variables (bug#9298). Also clean up some unused
14967 * net/network-stream.el (network-stream-open-starttls):
14968 Support using starttls.el without using gnutls-cli.
14970 2011-08-17 Juri Linkov <juri@jurta.org>
14972 * progmodes/grep.el (rgrep): Handle the case when
14973 `grep-find-command' is a cons cell (bug#9278).
14975 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14977 * window.el (display-buffer-pop-up-frame): Run frame creation
14978 function with BUFFER current (as special-display-popup-frame
14979 does). Reported by Drew Adams.
14981 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14983 * epa-mail.el: Simplify GnuPG group expansion using
14985 (epa-mail-group-alist, epa-mail-group-modtime)
14986 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14987 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14988 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14991 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14993 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14995 2011-08-16 Alan Mackenzie <acm@muc.de>
14997 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14998 Correct, to avoid the inside of macros.
15000 2011-08-16 Richard Stallman <rms@gnu.org>
15002 * epa-mail.el: Handle GnuPG group definitions.
15003 (epa-mail-group-alist, epa-mail-group-modtime)
15004 (epa-mail-gnupg-conf-file): New variables.
15005 (epa-mail-parse-groups, epa-mail-sync-groups)
15006 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15007 (epa-mail-expand-recipients): New functions.
15008 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15010 * mail/rmail.el (rmail-epa-decrypt): New command.
15012 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15013 Don't bind buffer-read-only, just inhibit-read-only.
15014 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15015 (epa-decrypt-armor-in-region): Make error message clearer.
15017 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15020 and "a2b" to "ab" for `prefix'.
15022 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15024 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15026 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15027 Fourquet (Bug#8804).
15029 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15031 * startup.el (argi): Declare as global variable (bug#9275).
15033 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15035 * subr.el (string-mark-left-to-right): Search the entire string
15036 for RTL script, not just the terminating character. Doc fix.
15038 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15040 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15042 (js--regexp-literal, js-syntax-propertize-function): Remove.
15043 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15044 (js-mode-map): Don't rebind electric keys.
15045 (js-insert-and-indent): Remove.
15046 (js-mode): Setup electric-layout and electric-indent instead.
15048 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15050 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15052 * epa.el (epa-progress-callback-function): Fix the logic of
15053 displaying progress.
15054 * epa-file.el (epa-file-insert-file-contents): Make progress
15055 display more user-friendly.
15056 (epa-file-write-region): Ditto.
15058 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15060 * subr.el (string-mark-left-to-right): New function.
15062 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15063 Use string-mark-left-to-right.
15064 (list-buffers-noselect): Caller changed.
15066 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15067 Use string-mark-left-to-right.
15068 (tabulated-list-print): Recenter after moving point.
15070 2011-08-10 Juri Linkov <juri@jurta.org>
15072 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15073 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15074 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15076 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15078 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15081 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15083 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15084 character. (Bug#6594)
15086 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15088 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15089 (image-dired--with-db-file): New macro.
15090 (image-dired-write-tags, image-dired-remove-tag)
15091 (image-dired-create-gallery-lists, image-dired-write-comments)
15092 (image-dired-get-comment, image-dired-mark-tagged-files)
15093 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15094 (image-dired-gallery-generate): Use insert-file-contents.
15096 * time.el (display-time-world-list, display-time-world-display):
15097 * time-stamp.el (time-stamp-string):
15098 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15099 set-time-zone-rule (Bug#7337).
15101 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15103 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15104 (epg-error-to-string, epg-errors-to-string): New function.
15105 (epg-wait-for-completion): Reverse errors list.
15106 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15107 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15108 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15109 (epg-sign-keys, epg-generate-key-from-file)
15110 (epg-generate-key-from-string): Format errors by using
15111 epg-errors-to-string (bug#9255).
15112 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15114 2011-08-07 Juri Linkov <juri@jurta.org>
15116 * faces.el (list-faces-display): Remove extra angle bracket
15117 from `help-mode-map'.
15119 * info.el (Info-history-toc-nodes): Doc fix.
15121 * longlines.el (longlines-mode): Doc fix.
15123 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15125 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15126 of statements and in a few more cases (bug#9183).
15128 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15130 (cl-transform-lambda): Use them (bug#9239).
15132 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15134 * window.el (display-buffer-same-window)
15135 (display-buffer-same-frame, display-buffer-other-window)
15136 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15137 (pop-to-buffer-other-window)
15138 (pop-to-buffer-same-frame-other-window)
15139 (pop-to-buffer-other-frame): Make them defuns.
15140 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15142 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15144 * subr.el (make-composed-keymap): Move from C. Change calling
15145 convention, and improve docstring to bring attention to a subtle point.
15146 * minibuffer.el (completing-read-default): Adjust accordingly.
15148 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15150 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15151 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15153 * net/trampver.el: Update release number.
15155 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15157 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15160 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15162 * mail/sendmail.el (sendmail-query-once): Restore the current
15163 buffer after querying (bug#9074).
15165 * dired.el (dired-flagged): Use different faces for marked and
15166 flagged files (bug#6117).
15168 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15171 * ido.el (ido-mode): Switch off the message if called
15174 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15175 before 587, since it appears that that's more likely to work for
15178 * cus-edit.el (custom-file): When running under emacs -q, always
15179 refuse to save the customizations, even if the .emacs file doesn't
15182 * info.el: Remove the `Info-beginning-of-buffer' function
15185 * net/network-stream.el (network-stream-open-starttls):
15186 Use `starttls-available-p' to see whether starttls.el can be used.
15188 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15190 * window.el (display-buffer-in-window): Don't set dedicated status
15191 of window here (Bug#9215).
15192 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15193 (display-buffer-pop-up-side-window)
15194 (display-buffer-in-side-window): Set dedicated status of window here.
15196 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15199 before binding generated-autoload-file.
15201 2011-08-01 Deniz Dogan <deniz@dogan.se>
15203 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15205 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15207 Sync with Tramp 2.2.2.
15209 * net/trampver.el: Update release number.
15211 2011-07-30 Juri Linkov <juri@jurta.org>
15213 * dired-aux.el (dired-touch-initial): Remove function.
15214 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15215 current time, and `default' to the last modification time of the
15216 current marked file (bug#6887).
15218 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15220 * simple.el (goto-line): Use string-to-number to provide a
15221 numeric argument to read-number (bug#9163).
15223 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15225 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15226 connection process, it could be nil.
15228 2011-07-27 Leo Liu <sdl.web@gmail.com>
15230 Simplify url handling in rcirc-mode.
15232 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15233 (rcirc-browse-url-at-mouse): Remove.
15234 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15236 2011-07-26 Alan Mackenzie <acm@muc.de>
15238 Fontify bitfield declarations properly.
15240 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15241 (c-symbol-chars): Now exported as a lang variable.
15242 (c-not-primitive-type-keywords): New lang variable.
15244 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15245 QT keyword "more" to prevent "more slots: ...." being spuriously
15246 parsed as a bitfield declaration.
15248 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15249 Refactor and enhance to handle bitfield declarations.
15250 (c-punctuation-in): New function.
15251 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15252 declarations properly.
15254 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15256 * calendar/icalendar.el (icalendar--all-events): Take care of
15257 multiple vcalendars in a single file.
15258 (icalendar--convert-float-to-ical): Checkdoc fixes.
15260 2011-07-25 Deniz Dogan <deniz@dogan.se>
15262 * image.el (insert-image): Clarifying docstring.
15264 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15266 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15267 `tramp-send-command-and-check' if there is no error.
15268 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15270 2011-07-22 Alan Mackenzie <acm@muc.de>
15272 Prevent cc-langs.elc being loaded at run time.
15274 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15277 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15278 "(require 'cc-langs)". Quote a form so it will evaluate at
15279 (cc-mode's) compilation time.
15281 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15283 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15284 loading. (Bug#9114)
15286 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15288 * window.el (display-buffer-pop-up-window)
15289 (display-buffer-pop-up-side-window)
15290 (display-buffer-in-side-window): Call display-buffer-set-height
15291 and display-buffer-set-width after setting the new window's
15292 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15294 2011-07-20 Sam Steingold <sds@gnu.org>
15296 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15297 (etags-tags-included-tables): Call `convert-standard-filename' on
15298 the file names contained in TAGS so that windows Emacs can handle
15299 TAGS files created by cygwin ctags.
15301 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15303 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15304 which apparently didn't work.
15306 2011-07-19 Roland Winkler <winkler@gnu.org>
15308 * proced.el (proced-send-signal): For *Marked Processes* buffer
15309 put point at beginning of buffer.
15311 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15313 * proced.el (proced-format): Make header lines align with the text
15316 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15318 * view.el (view-buffer): Allow running in `special' modes if we're
15319 visiting a file (bug#8615).
15321 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15323 * window.el (display-buffer-alist-of-strings-p)
15324 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15326 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15329 2011-07-18 Alan Mackenzie <acm@muc.de>
15331 Fontify declarators properly when, e.g., a jit-lock chunk begins
15332 inside a declaration.
15334 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15336 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15338 (c-complex-decl-matchers): Insert reference to
15339 c-font-lock-enclosing-decls.
15341 * progmodes/cc-engine.el (c-backward-single-comment):
15342 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15343 to nil around calls to (forward-comment -1).
15345 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15347 * image.el (put-image): Doc typo fix.
15349 * progmodes/etags.el (tags-search): Doc typo fix.
15351 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15352 password if we get errors 550 to 554.
15354 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15356 * net/gnutls.el (gnutls-log-level): Remove.
15358 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15359 indentation character (bug#6380).
15361 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15363 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15364 to clarify what the problem is (bug#4291).
15366 * simple.el (current-kill): Clarify what
15367 `interprogram-paste-function' does (bug#7500).
15368 (auto-fill-mode): Document `auto-fill-function' in relation to
15369 `auto-fill-mode' (bug#2470).
15371 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15373 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15374 method if slot is read-only (bug#9035).
15376 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15378 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15379 * window.el (pop-to-buffer): Select window used even if it was
15380 selected before, see discussion of (Bug#8615), (Bug#6954).
15381 Pass argument NORECORD on to select-frame-set-input-focus.
15383 2011-07-15 Glenn Morris <rgm@gnu.org>
15385 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15388 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15390 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15391 (gnutls-negotiate): Use it.
15393 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15395 * net/gnutls.el (gnutls-negotiate):
15396 Upcase `gnutls-algorithm-priority'.
15398 2011-07-15 Glenn Morris <rgm@gnu.org>
15400 * jka-compr.el (jka-compr-verbose): Move from here...
15401 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15402 Add missing :version tag.
15403 * info.el: No need to require jka-compr when compiling.
15405 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15407 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15408 (gnutls-negotiate): Use it.
15410 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15412 * info.el (Info-beginning-of-buffer): New command.
15413 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15414 announcing `b' as the key (bug#8325).
15415 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15417 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15419 * international/mule-cmds.el
15420 (describe-specified-language-support): Make the error message
15421 clearer (bug#8905).
15423 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15425 * isearch.el (isearch-barrier): Add a doc string, since it's
15426 mentioned in a function doc string (bug#8678).
15428 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15430 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15431 buffer argument (Bug#9083) and self-identifying label argument.
15433 2011-07-15 Glenn Morris <rgm@gnu.org>
15435 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15437 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15439 * man.el (Man-fontify-manpage): Fix message when formatting the
15440 man page (bug#7929).
15442 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15444 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15445 argument LRM; if non-nil, append an invisible LRM character to the
15447 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15448 last argument non-nil, when formatting buffer names.
15449 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15450 paragraph direction.
15452 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15454 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15455 the man page name (bug#7929).
15457 * image.el (put-image): Mention the `put-image' overlay property
15460 * scroll-bar.el (set-scroll-bar-mode): Mention that
15461 `scroll-bar-mode' lists the values (bug#7772).
15463 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15464 command (bug#7729).
15466 * rect.el (apply-on-rectangle): Return the point after the last
15468 (string-rectangle): Go to the point after the last operation
15471 * printing.el (pr-toggle-region): Clarify the documentation
15472 slightly (bug#7493).
15474 * time.el (display-time-update):
15475 Allow `display-time-mail-function' to return nil (bug#7158).
15476 Fix suggested by Detlev Zundel.
15478 * vc/diff.el (diff): Clarify the order the file names are read
15481 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15482 the doc string (bug#7015).
15484 * font-lock.el (font-lock-maximum-decoration): Mention what
15485 numeric levels mean (bug#6935).
15487 * startup.el (initial-buffer-choice): Don't mention the `none'
15488 selection, which is against policy.
15490 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15492 * window.el (display-buffer-normalize-special):
15493 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15495 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15497 * subr.el (version<, version<=, version=): Mention "-CVS" and
15498 "-12345" alpha version numbers.
15500 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15502 * bindings.el: Add advertised binding for set-mark-command
15505 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15507 * bindings.el (mode-line-other-buffer):
15508 * bookmark.el (bookmark-bmenu-2-window):
15509 * bs.el (bs-cycle-next, bs-cycle-previous):
15510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15513 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15516 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15518 * follow.el (follow-debug-message, follow-redisplay):
15519 * jka-cmpr-hook.el (with-auto-compression-mode):
15520 Fix typos in docstrings.
15522 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15524 * subr.el (with-silent-modifications): Clarify somewhat what the
15525 macro inhibits (bug#6525).
15527 * simple.el (eval-expression): Note what it does if called
15528 interactively (bug#6495).
15530 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15532 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15533 Use pop-to-buffer buffer-or-name if it is nil.
15535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15536 Remove switch-to-buffer.
15538 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540 * files.el (make-directory): Clarify that an error will be raised
15541 if there's an error (bug#6397).
15543 * startup.el (initial-buffer-choice): Add `none' as a choice
15546 * subr.el (add-hook): Clarify section about buffer-local hooks
15549 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15551 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15553 * tabify.el (untabify): Preserve the current column so that point
15554 doesn't move (bug#6032).
15556 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15558 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15559 Rewrite to avoid awkward possessive "s" (bug#5986).
15561 2011-07-13 Glenn Morris <rgm@gnu.org>
15563 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15564 (dired-insert-directory): Give a message the first time
15565 if ls is found not to support --dired.
15567 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15569 * simple.el (toggle-truncate-lines): Clarify what is toggled
15570 (bug#5580). Text by Drew Adams.
15572 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15574 * simple.el (blink-matching-open): Make the error message from the
15575 last change less verbose.
15577 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15579 * font-lock.el (font-lock-comment-face): Use the high contrast
15580 "yellow" color for font-lock-comment-face on low color terminals
15581 using a dark background color (bug#4221).
15583 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15585 * dired.el (dired-insert-set-properties): Make the doc string
15586 reflect what it does now (bug#5325).
15588 * simple.el (blink-matching-open): Say that we were unable to find
15589 the match within the limit, if we're limited (bug#5122).
15591 * international/mule-cmds.el (prefer-coding-system): Add an
15592 example (bug#4869).
15594 * progmodes/etags.el (tags-search): Document `file-list-form'
15597 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15599 * net/browse-url.el (browse-url-default-browser)
15600 (browse-url-browser-function): Make the default browser choice a
15601 bit more logical (bug#4300). Also clean up the doc string.
15603 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15605 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15606 binary endings (bug#4440).
15608 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15610 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15611 which can be pretty annoying (bug#8971).
15613 * jka-compr.el (jka-compr-verbose): New variable, and use
15614 throughout (bug#8971).
15616 * info.el (Info-find-file): Fall back on the installation
15617 directory if we can't find the info node anywhere else.
15619 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15621 * vc/vc.el (vc-revert-file):
15622 Don't set file time-stamp in the past. (Bug#5181)
15624 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15626 * files.el (after-find-file): Give a better error message when
15627 trying to find a symlink that points to a file that doesn't exist
15630 * progmodes/cc-vars.el: Remove (probably) misleading comment
15633 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15635 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15637 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15639 * mouse-sel.el: Hack restoring functionality, while keeping
15640 compatibility with 2010-07-03 changes to mouse selection.
15641 (mouse-sel-primary-overlay): New var.
15642 (mouse-sel-selection-alist): Use it.
15643 (mouse-sel-mode): Doc fix; remove points that are default features
15646 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15649 Fix previous fix (bug#2490).
15651 2011-07-12 Roland Winkler <winkler@gnu.org>
15653 * textmodes/bibtex.el (bibtex-initialize):
15654 Use pop-to-buffer-same-window.
15655 (bibtex-search-entries): Fix interactive call.
15657 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15660 Fontise bytecomp Error lines more correctly (bug#2490).
15661 Fix suggested by Johan Bockgård.
15663 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15665 * dired-x.el (dired-guess-default): Use `delete-dups'.
15667 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15669 * dired.el (dired-mark-prompt):
15670 * dired-aux.el (dired-read-shell-command): Doc fix.
15672 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15674 * mail/sendmail.el (sendmail-query-once):
15675 Use `customize-save-variable' unconditionally, now that it works under
15678 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15680 * cus-edit.el (custom-file): Take an optional no-error variable.
15681 (customize-save-variable): Set the variable, and give a warning if
15682 running under "emacs -q".
15684 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15686 * loadhist.el (unload-feature-special-hooks):
15687 Add `auto-coding-functions', `fill-nobreak-predicate' and
15688 `find-directory-functions' (bug#5327).
15690 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15692 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15694 * cus-edit.el (custom-guess-name-alist): -alist variables should
15695 use the `alist' type (bug#3120). Suggested by Drew Adams.
15697 * printing.el: Add documentation to all the `pr-toggle-' commands.
15699 2011-07-11 Leo Liu <sdl.web@gmail.com>
15701 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15702 backends where it makes sense (bug#2623).
15704 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15706 * dired-x.el (dired-guess-default): Remove duplicate shell command
15707 entries (bug#2028).
15708 (dired-guess-default): Fix grammar in doc string (bug#2028).
15709 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15711 * subr.el (remove-duplicates): New conveniency function.
15713 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15715 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15718 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15720 * window.el (display-buffer-normalize-default): Don't invert
15721 meaning of even-window-heights. Reported by Eli Zaretskii
15724 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15726 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15728 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15730 * window.el (display-buffer): Fix arguments to
15731 display-buffer-reuse-window in last change.
15733 * faces.el (link): Use a less saturated blue on light backgrounds.
15735 * startup.el (fancy-startup-text, fancy-about-text)
15736 (fancy-startup-tail): Use font-lock faces, for background safety.
15738 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15740 * emulation/viper-cmd.el (viper-change-state-to-vi):
15741 Limit triggering of abbrev expansion (Bug#9038).
15743 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15745 * window.el (display-buffer-default-specifiers): Remove.
15746 (display-buffer-macro-specifiers): Remove default specifiers.
15747 (display-buffer-alist): Default to nil.
15748 (display-buffer-reuse-window): New optional argument other-window.
15749 (display-buffer-pop-up-window): Allow splitting internal
15750 windows. Check whether a live window was created.
15751 (display-buffer-other-window-means-other-frame)
15752 (display-buffer-normalize-arguments): Rename to
15753 display-buffer-normalize-argument and rewrite. Set the
15754 other-window specifier.
15755 (display-buffer-normalize-special): New function.
15756 (display-buffer-normalize-options): Rename to
15757 display-buffer-normalize-default and rewrite.
15758 (display-buffer-normalize-options-inhibit): Remove.
15759 (display-buffer-normalize-specifiers): Rewrite.
15760 (display-buffer): Process other-window specifier and call
15761 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15763 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15764 (display-buffer-alist-set): Don't handle 'unset default values.
15765 (display-buffer-in-window, display-buffer-alist-set):
15766 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15767 <tassilo@member.fsf.org>.
15769 2011-07-09 Leo Liu <sdl.web@gmail.com>
15771 * register.el (insert-register): Restore accidental change on
15772 2011-06-26. (Bug#9028)
15774 2011-07-09 Glenn Morris <rgm@gnu.org>
15776 * subr.el (remq): Handle the empty list. (Bug#9024)
15778 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15780 * mail/sendmail.el (send-mail-function): No longer delay custom
15782 * custom.el (custom-initialize-delay): Doc fix.
15784 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15786 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15788 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15790 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15791 human-friendly prompt.
15793 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15795 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15796 provided by a particular plugin.
15798 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15800 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15801 save customizations (with "emacs -Q"), just set the variable
15802 instead of erroring out.
15804 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15806 2011-07-08 Juri Linkov <juri@jurta.org>
15808 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15809 (archive-zip-update-case): Use 7z if found by `executable-find'.
15810 The order of searching the available programs is the same as in
15811 `archive-zip-extract' (bug#8968).
15813 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15815 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15816 (menu-bar-options-menu): Tweak descriptions.
15818 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15820 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15821 menu items into verb phrases (bug#1421). Also refill to fit under
15824 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15826 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15827 (Info-read-node-name): Doc fix (Bug#1084).
15829 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15830 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15831 (end-of-sexp, beginning-of-sexp)
15832 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15833 (forward-symbol, forward-same-syntax, word-at-point)
15834 (sentence-at-point): Doc fix (Bug#1144).
15836 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15838 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15839 should cover it (bug#1281).
15841 * cus-edit.el (custom-show): Mark as obsolete.
15843 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15844 negotiation fails, then possibly try again with a non-encrypted
15845 connection (bug#9017).
15847 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15850 2011-07-07 Richard Stallman <rms@gnu.org>
15852 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15853 property, and handle its changed format.
15854 Look for the correct line number.
15855 Use file's line contents (but not past first =) to find
15856 correct line in message.
15858 2011-07-07 Kenichi Handa <handa@m17n.org>
15860 * international/characters.el (build-unicode-category-table):
15862 (unicode-category-table): Set it by unicode-property-table-internal.
15864 * international/mule-cmds.el (char-code-property-alist): Move to
15866 (get-char-code-property): Call unicode-property-table-internal to
15867 load a file. Call get-unicode-property-internal where necessary.
15868 (put-char-code-property): Call unicode-property-table-internal to
15869 load a file. Call put-unicode-property-internal where necessary.
15870 put-unicode-property-internal where necessary.
15871 (char-code-property-description):
15872 Call unicode-property-table-internal to load a file.
15874 * international/charprop.el:
15875 * international/uni-bidi.el:
15876 * international/uni-category.el:
15877 * international/uni-combining.el:
15878 * international/uni-comment.el:
15879 * international/uni-decimal.el:
15880 * international/uni-decomposition.el:
15881 * international/uni-digit.el:
15882 * international/uni-lowercase.el:
15883 * international/uni-mirrored.el:
15884 * international/uni-name.el:
15885 * international/uni-numeric.el:
15886 * international/uni-old-name.el:
15887 * international/uni-titlecase.el:
15888 * international/uni-uppercase.el: Regenerate.
15890 * loadup.el: Load international/charprop.el before
15891 international/characters.
15893 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15895 * window.el (next-buffer, previous-buffer): Signal an error if
15896 called from a minibuffer window.
15898 * bindings.el: Revert 2011-07-04 change.
15900 2011-07-06 Richard Stallman <rms@gnu.org>
15902 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15903 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15904 Treat markers like ints.
15905 (rmail-mime-entity): Doc fix.
15907 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15909 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15910 defcustom again for backwards compatibility.
15912 * simple.el (shell-command-on-region): Fill.
15914 * dired-aux.el (dired-kill-line): Add a doc string.
15916 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15917 to "\\sw\\|\\s_" (bug#358).
15919 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15920 (dired-unmark-backward): Ditto.
15921 (dired-flag-backup-files): Ditto.
15923 * dired-x.el (dired-mark-sexp): Ditto.
15925 2011-07-06 Richard Stallman <rms@gnu.org>
15927 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15928 (rmail-mime-entity): New arg TRUNCATED.
15929 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15931 (rmail-mime-save): Warn if entity is truncated.
15932 (rmail-mime-toggle-hidden): Likewise, for showing.
15933 (rmail-mime-process-multipart): Record when an entity is truncated.
15935 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15936 if ENTITY is a string.
15938 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15940 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15941 of faces when `M-C-x'-ing their definitions (bug#8378).
15942 Also clean up the code slightly.
15944 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15945 because that makes the colors go away.
15947 * mail/sendmail.el (send-mail-function): Change the default to
15948 `sendmail-query-once'.
15949 (sendmail-query-once): Add an autoload cookie.
15951 * net/network-stream.el (network-stream-open-starttls): Try using
15952 a plain connection even if the server offered STARTTLS, and we
15953 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15954 capability. This should make smtpmail.el work in slightly more
15957 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15959 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15961 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15963 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15965 * progmodes/sql.el: Version 3.0
15966 (sql-product-alist): Add product :completion-object,
15967 :completion-column, and :statement attributes.
15968 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15969 (sql-mode-syntax-table): Mark all punctuation.
15970 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15972 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15973 (sql-mode-oracle-font-lock-keywords): Improve.
15974 (sql-oracle-show-reserved-words): New function for development.
15975 (sql-product-font-lock): Simplify for source code buffers.
15976 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15978 (sql-highlight-product): Set product specific syntax table.
15979 (sql-mode-map): Add statement movement functions.
15980 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15982 (sql-statement-regexp, sql-beginning-of-statement)
15983 (sql-end-of-statement, sql-signum): New functions.
15984 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15985 (sql-show-sqli-buffer): Bug fix.
15986 (sql-interactive-mode): Store connection data as buffer local.
15987 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15988 with sql-interactive-mode.
15989 (sql-save-connection): Save buffer local settings.
15990 (sql-connection-menu-filter): Change menu entry name.
15991 (sql-product-interactive): Bug fix.
15992 (sql-preoutput-hold): New variable.
15993 (sql-interactive-remove-continuation-prompt): Bug fixes.
15994 (sql-debug-redirect): New variable.
15995 (sql-str-literal): New function.
15996 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15998 (sql-oracle-save-settings, sql-oracle-restore-settings)
15999 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16000 (sql-completion-object, sql-completion-column)
16001 (sql-completion-sqlbuf): New variables.
16002 (sql-build-completions-1, sql-build-completions)
16003 (sql-try-completion): New functions.
16004 (sql-read-table-name): Use them.
16005 (sql-contains-names): New buffer local variable.
16006 (sql-list-all, sql-list-table): Use it.
16007 (sql-oracle-completion-types): New variable.
16008 (sql-oracle-completion-object, sql-sqlite-completion-object)
16009 (sql-postgres-completion-object): New functions.
16011 2011-07-06 Glenn Morris <rgm@gnu.org>
16013 * window.el (pop-to-buffer): Doc fix.
16015 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16017 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16019 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16021 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16023 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16025 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16027 * button.el (button): Inherit from link face. Suggested by Dan
16030 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16032 * progmodes/gdb-mi.el: Fit in 80 columns.
16033 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16036 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16037 if imenu is simply not configured (bug#8941).
16039 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16041 * allout.el (allout-post-undo-hook): New allout outline-change
16042 event hook to signal undo activity.
16043 (allout-post-command-business): Run allout-post-undo-hook if an
16044 undo just occurred.
16045 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16046 * allout-widgets.el (allout-widgets-after-undo-function):
16047 Ensure the integrity of the current item's decoration after it has been
16048 in the vicinity of an undo.
16049 (allout-widgets-mode): Include allout-widgets-after-undo-function
16050 on the new allout-post-undo-hook.
16052 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16054 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16055 Let define-derived-mode define it.
16056 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16057 cycles of abbrev-table inheritance (bug#8998).
16059 2011-07-05 Roland Winkler <winkler@gnu.org>
16061 * textmodes/bibtex.el: Add support for biblatex.
16062 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16063 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16064 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16065 (bibtex-entry-alist, bibtex-field-alist): New variables.
16066 (bibtex-entry-field-alist): Obsolete alias for
16067 bibtex-BibTeX-entry-alist.
16068 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16069 (bibtex-set-dialect): New command.
16070 (bibtex-entry-type, bibtex-entry-head)
16071 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16072 Bind via bibtex-set-dialect.
16073 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16074 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16075 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16076 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16077 Define via bibtex-set-dialect.
16078 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16079 Obey bibtex-no-opt-remove-re.
16080 (bibtex-vec-push, bibtex-vec-incr): New functions.
16081 (bibtex-format-entry, bibtex-field-list)
16082 (bibtex-print-help-message, bibtex-validate)
16083 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16085 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16087 * progmodes/compile.el (compilation-goto-locus):
16088 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16089 * bs.el (bs-cycle-next, bs-cycle-previous):
16090 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16091 * bindings.el (mode-line-other-buffer):
16092 * autoinsert.el (auto-insert):
16093 * arc-mode.el (archive-extract):
16094 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16096 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16098 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16099 Fix check of `emacs-lock-unlockable-modes'.
16100 Coerce true values of `emacs-lock--try-unlocking' to t.
16102 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16104 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16105 * emacs-lock.el: New file.
16107 2011-07-05 Julien Danjou <julien@danjou.info>
16109 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16110 than `boundp' to check if face is set.
16112 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16114 * register.el (registerv-make):
16115 * window.el (window-min-height): Fix typos in docstrings.
16117 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16119 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16122 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16124 * server.el (server-execute): Catch quit and call
16125 `server-return-error' to pass the error back to emacsclient and
16126 close the connection (bug#8942).
16128 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16130 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16131 insecure exception for current topic. Also note that auto-saves
16132 are handled differently.
16134 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16135 State variables for tracking auto-save inhibition situation.
16137 (allout-write-contents-hook-handler): Rename from
16138 'allout-write-file-hook-handler', and describe how it depends on
16139 write-contents-functions sensitivity to non-nil value to prevent
16142 (allout-auto-save-hook-handler): Remove. auto-save does not check
16143 this in individual buffers, only in the starting buffer, so this
16144 is not the right way for us to inhibit auto-save in a buffer
16145 according to its condition.
16147 (allout-mode): Use new allout-write-contents-hook-handler, and
16148 only with write-contents-functions. Remove auto-save provisions -
16149 they're implemented elsewhere.
16151 (allout-before-change-handler): If undo is in progress, note that
16152 for attention of allout-post-command-business.
16154 (allout-post-command-business): If the command we're following was
16155 an undo, check for change in the status of encrypted items and
16156 adjust auto-save inhibitions accordingly.
16158 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16159 according to whether there are or aren't any plain-text topics
16160 pending encryption.
16162 (allout-inhibit-auto-save-info-for-decryption):
16163 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16164 if there are plain-text topics pending encryption.
16166 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16167 buffer-saved-size and some allout state to not inhibit auto-saves
16168 if there are no longer any plain-text topics pending encryption.
16170 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16171 No longer provide for exemption of the current topic.
16173 2011-07-04 Juri Linkov <juri@jurta.org>
16175 Add 7z operations to delete and save changed members (bug#8968).
16176 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16178 (archive-7z-write-file-member): New function.
16179 (archive-7z-summarize): Fix the number of dashes in the
16182 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16184 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16187 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16189 * bindings.el: Ignore next-buffer and previous-buffer in
16190 minibuffer-local-map.
16192 * font-lock.el (font-lock-builtin-face): Change light background
16193 color to dark slate blue (Bug#6693).
16195 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16197 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16199 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16201 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16203 Add switch-to-buffer.
16205 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16207 * isearch.el (isearch-search-fun-function): Clarify further the
16208 meaning of the function returned.
16210 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16212 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16214 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16215 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16217 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16218 `tramp-default-remote-path' does not exist.
16219 (tramp-send-command-and-read): New optional argument NOERROR.
16220 (tramp-open-connection-setup-interactive-shell)
16221 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16222 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16223 (tramp-process-sentinel): Flush also process' connection property.
16224 (tramp-sh-handle-start-file-process): Do not set process
16225 sentinel. It is done now ...
16226 (tramp-maybe-open-connection): ... here. (Bug#8929)
16228 2011-07-04 MON KEY <monkey@sandpframing.com>
16230 * play/animate.el (animate-string): Doc fixes and allow changing
16231 the buffer name (bug#5417).
16233 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16235 * play/animate.el (animation-buffer-name): Rename from *animate*.
16237 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16239 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16240 This is simpler and helps future-proof the code.
16241 (timer-until): Use time-subtract and float-time.
16242 (timer--time-less-p): Use time-less-p.
16244 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16246 * type-break.el (timep): Use the value of `float-time' to avoid a
16247 byte-compiler warning.
16249 * server.el (server-eval-and-print): Return any result, even nil.
16251 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16253 * type-break.el: Accept time formats that the builtins accept.
16254 (timep, type-break-time-difference): Accept any format that
16255 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16256 This is simpler and helps future-proof the code.
16257 (type-break-time-difference): Round rather than ignoring
16258 subseconds components.
16260 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16262 * info.el (Info-apropos-matches): Make non-interactive, since it
16263 doesn't seem to do anything useful as a command (bug#8829).
16265 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16267 * frame.el (frame-background-mode, frame-set-background-mode):
16268 Move from faces.el.
16269 (frame-default-terminal-background): New function.
16271 * custom.el (custom-push-theme): Don't record faces in `changed'
16272 theme; this doesn't work correctly for per-frame face settings.
16273 (disable-theme): Use face-set-after-frame-default to reset faces.
16274 (custom--frame-color-default): New function.
16276 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16278 * dired.el (dired-flagging-regexp): Remove unused variable
16281 2011-03-29 Kevin Ryde <user42@zip.com.au>
16283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16284 `perl-Test2' extend to match possible "fail #N" rep count
16287 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16289 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16290 `smtpmail-via-smtp' now returns the error instead of nil.
16292 * isearch.el (isearch-search-fun-function): Clarify the doc string
16295 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16297 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16298 unnecessary spaces (bug#8987).
16300 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16302 * net/network-stream.el (open-network-stream): Use the
16303 :end-of-capability command thoughout.
16305 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16307 * net/network-stream.el (open-network-stream): Add the
16308 :end-of-capability command parameter, used by pop3.el.
16310 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16314 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16315 for list)" (bug#6475).
16317 * files.el (file-expand-wildcards): Ignore non-readable
16318 sub-directories while trying to find matches instead of signaling
16319 an error (bug#6297).
16321 * man.el (Man-reference-regexp): Allow matching possible
16322 word-wrapped references (bug#6289).
16324 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16325 for consistency with the other vc buffers (bug#6197).
16326 (vc-checkin): Ditto.
16328 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16330 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16332 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16334 * custom.el (defcustom): Clarify that :set is only used in the
16335 Customize user interface (bug#6089).
16337 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16338 associated with a file, refuse to run instead of erroring out
16341 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16342 the doc string, since it appears that using `fill-column' always
16343 controls the width (bug#7845).
16345 * simple.el (shell-command-on-region): Say where the error output
16346 went if `shell-command-default-error-buffer' is set (bug#6857).
16348 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16350 * allout.el (allout-yank-processing): Adjust cursor position for
16351 backwards-deleted space.
16353 (allout-rebullet-heading): Register changes with
16354 allout-exposure-changed-hook, so the modified topic is properly
16357 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16359 * minibuffer.el (completion-in-region): Document PREDICATE
16362 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16363 of keyword/argument pairs (bug#6904).
16365 * replace.el (multi-occur):
16366 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16368 2011-07-02 Drew Adams <drew.adams@oracle.com>
16370 * dired.el (dired-mark-if): Make the message about whether it's
16371 marking or unmarking clearer (bug#8523).
16373 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16375 * disp-table.el (display-table-print-array): New function.
16376 (describe-display-table): Use it to print the vectors more pretty
16379 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16381 * window.el (window-state-get-1): Don't assign clone numbers.
16382 Add clone-of item to list of window parameters.
16383 (window-state-put-2): Don't process clone numbers.
16384 (display-buffer-alist): Fix doc-string.
16386 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16388 * subr.el (remq): Don't allocate if it's not needed.
16389 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16390 (keymap--merge-bindings): New functions.
16391 (keymap-canonicalize): Use them to refine the canonicalization.
16392 * minibuffer.el (minibuffer-local-completion-map)
16393 (minibuffer-local-must-match-map): Move initialization from C.
16394 (minibuffer-local-filename-completion-map): Move initialization from C;
16395 don't inherit from anything here.
16396 (minibuffer-local-filename-must-match-map): Make obsolete.
16397 (completing-read-default): Use make-composed-keymap to combine
16398 minibuffer-local-filename-completion-map with either
16399 minibuffer-local-must-match-map or
16400 minibuffer-local-filename-completion-map.
16402 2011-07-01 Glenn Morris <rgm@gnu.org>
16404 * type-break.el (type-break-time-sum): Use dolist.
16406 * textmodes/flyspell.el (flyspell-word-search-backward):
16407 Replace CL function.
16409 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16411 * mouse.el (mouse--strip-first-event): New function.
16412 (function-key-map): Use it to map fringe clicks to normal clicks
16415 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16416 (vc-bzr-revision-completion-table): Add support for annotate and date.
16418 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16419 inherit from parent.
16421 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16423 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16424 (dired-show-file-type): Doc fixup (bug#8818).
16426 * dired.el (dired-mode): Fix up the doc string as suggested by
16427 Drew Adams (bug#8817).
16429 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16430 cookie, since the manual says that it should be possible to add
16431 this function to `find-file-hook' (bug#8709).
16433 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16435 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16436 here. Noted Ted Zlatanov as the maintainer.
16437 (cfengine-common-settings, cfengine-common-syntax): New functions
16438 to set up common things between `cfengine-mode' and
16440 (cfengine3-mode): New mode.
16441 (cfengine3-defuns cfengine3-defuns-regex
16442 (cfengine3-class-selector-regex cfengine3-category-regex)
16443 (cfengine3-vartypes cfengine3-font-lock-keywords)
16444 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16445 (cfengine3-indent-line): Add from cfengine3.el.
16447 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16449 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16451 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16453 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16455 * window.el (same-window-buffer-names, same-window-regexps)
16456 (same-window-p, special-display-frame-alist)
16457 (special-display-popup-frame, special-display-function)
16458 (special-display-buffer-names, special-display-regexps)
16459 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16460 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16461 (split-window-preferred-function, split-height-threshold)
16462 (split-width-threshold, even-window-heights)
16463 (display-buffer-mark-dedicated, window-splittable-p)
16464 (split-window-sensibly, window-safely-shrinkable-p):
16466 (display-buffer): Don't spread args with function specifier
16467 because special-display-popup-frame won't like it.
16469 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16471 Time-stamp simplifications and fixes.
16472 These improve accuracy slightly, and future-proof the code
16473 against some potential changes to current-time format.
16475 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16476 by using time-since and float-time.
16478 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16479 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16480 + NNN microseconds".
16482 * type-break.el (type-break-time-sum): Rewrite using time-add.
16484 * play/hanoi.el (hanoi-current-time-float): Remove.
16485 All uses replaced by float-time.
16487 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16488 This yields a more-accurate answer.
16489 (rng-time-to-float): Remove; no longer needed.
16491 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16493 * calendar/timeclock.el (timeclock-seconds-to-time):
16494 Defalias to seconds-to-time, since they're the same thing.
16496 * emacs-lisp/elp.el (elp-elapsed-time):
16497 * emacs-lisp/benchmark.el (benchmark-elapse):
16498 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16500 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16502 * window.el (bury-buffer): Don't iconify the only frame.
16503 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16504 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16506 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16508 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16509 Add mouse-yank-primary.
16511 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16513 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16515 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16517 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16518 (find-library-name): Use it to find relative load names when provided
16519 absolute file name (bug#8803).
16521 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16523 * textmodes/flyspell.el (flyspell-word): Consider words that
16524 differ only in case as potential doublons (bug#5687).
16526 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16527 Remove two rather uninteresting debugging-like messages to make
16528 debbugs.el more silent.
16530 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16531 a password-like phrase.
16533 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16535 * progmodes/cc-guess.el: New file.
16537 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16539 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16540 derived from `c-basic-common-init'.
16542 * progmodes/cc-mode.el (top-level): Require cc-guess.
16543 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16545 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16547 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16549 2011-06-30 Alan Mackenzie <acm@muc.de>
16551 * progmodes/cc-engine.el (c-guess-continued-construct):
16552 Correct the handling of template-args-cont, particularly for when font
16553 lock is disabled. Name this case as "CASE G".
16555 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16557 * allout.el (allout-yank-processing): Fix injection of extra space
16558 between bullet and non-whitespace character in first topic when
16559 pasting, ensuring that the actual spacing in the pasted topic
16560 following the bullet char is preserved. This extra space was
16561 causing pasted encrypted topics to get a decrypted status even
16562 when the content was actually still encrypted. Now the decryption
16563 status from before the paste is preserved.
16565 (allout-flag-region): Set all allout overlays so they evaporate
16566 when reduced to zero length (evanescent), to prevent overlay
16569 2011-06-30 Glenn Morris <rgm@gnu.org>
16571 * w32-fns.el (w32-charset-info-alist): Declare.
16573 * find-dired.el (find-grep-options): Simplify.
16575 * term/ns-win.el (ns-set-resource): Declare.
16577 * ses.el (row, col): Declare dynamic variables honestly.
16579 * textmodes/reftex-parse.el (index-tags): Declare.
16581 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16583 * cus-edit.el (customize-push-and-save): New function.
16585 * files.el (hack-local-variables-confirm): Use it.
16587 * custom.el (load-theme): New arg NO-CONFIRM.
16588 Use customize-push-and-save (Bug#8720).
16589 (custom-enabled-themes): Doc fix.
16591 * cus-theme.el (customize-create-theme)
16592 (custom-theme-merge-theme): Callers to load-theme changed.
16594 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16596 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16597 short URLs have at least one dot in them (bug #7614).
16599 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16600 nil, because using a pty is apparently too slow (bug #895).
16602 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16604 * mail/sendmail.el (sendmail-query-once): New function.
16605 (sendmail-query-once-function): New variable.
16607 2011-06-29 Glenn Morris <rgm@gnu.org>
16609 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16611 * ses.el (top-level): Require cl when compiling.
16612 (ses-set-localvars): Fix error statement.
16613 Call it at compile time to silence a storm of warnings.
16615 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16617 * window.el (normalize-live-buffer): Rename to
16618 window-normalize-buffer.
16619 (normalize-live-frame): Rename to window-normalize-frame.
16620 (normalize-any-window): Rename to window-normalize-any-window.
16621 (normalize-live-window): Rename to window-normalize-live-window.
16622 (make-window-atom): Rename to window-make-atom.
16623 (window-resize-reset): Rename to window--resize-reset.
16624 (window-resize-reset-1): Rename to window--resize-reset-1.
16625 (resize-mini-window): Rename to window--resize-mini-window.
16626 (resize-subwindows-skip-p): Rename to
16627 window--resize-subwindows-skip-p.
16628 (resize-subwindows-normal): Rename to
16629 window--resize-subwindows-normal.
16630 (resize-subwindows): Rename to window--resize-subwindows.
16631 (resize-other-windows): Rename to window--resize-siblings.
16632 (resize-this-window): Rename to window--resize-this-window.
16633 (resize-root-window): Rename to window--resize-root-window.
16634 (resize-root-window-vertically): Rename to
16635 window--resize-root-window-vertically.
16636 (normalize-buffer-to-display): Rename to
16637 window-normalize-buffer-to-display.
16638 (normalize-buffer-to-switch-to): Rename to
16639 window-normalize-buffer-to-switch-to.
16640 Correspondingly update all callers of the functions listed
16642 (display-buffer-alist, display-buffer-normalize-arguments)
16643 (display-buffer-normalize-options, display-buffer)
16644 (display-buffer-alist-set): Use "function" instead of
16647 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16649 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16650 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16651 debbugs.gnu.org. Mention acknowledgment email.
16653 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16655 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16656 buffer multibyteness, since it shouldn't matter.
16658 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16660 * window.el (display-buffer-in-side-window): Handle dedicated
16661 windows as in display-buffer-reuse-window.
16662 (display-buffer-normalize-alist): Use value of override
16664 (display-buffer-normalize-specifiers): Use value of
16665 other-window-means-other-frame specifier.
16666 (display-buffer-alist): Rewrite some texts in widgets.
16667 (display-buffer): Spread arguments when calling function
16668 specified by fun-with-args.
16670 2011-06-28 Deniz Dogan <deniz@dogan.se>
16672 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16675 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16676 selectors (Bug#5732).
16677 (css-proprietary-nmstart-re): Use `regexp-opt'.
16679 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16681 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16682 (eshell-ls-date-format): New defcustom.
16683 (eshell-ls-file): Use it.
16685 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16689 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16691 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16692 (ange-ftp-make-tmp-name): New arg.
16693 (ange-ftp-file-local-copy): Use it.
16695 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16697 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16698 no-conversion (Bug#8870).
16700 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16702 * window.el (window-right, window-left, window-child)
16703 (window-child-count, window-last-child)
16704 (window-iso-combination-p, walk-window-tree-1)
16705 (window-atom-check-1, window-tree-1, delete-window)
16706 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16707 new naming conventions - window-vchild, window-hchild,
16708 window-next and window-prev are now called window-top-child,
16709 window-left-child, window-next-sibling and window-prev-sibling
16711 (resize-window-reset): Rename to window-resize-reset.
16712 (resize-window-reset-1): Rename to window-resize-reset-1.
16713 (resize-window): Rename to window-resize.
16714 (window-min-height, window-min-width)
16715 (resize-mini-window, resize-this-window, resize-root-window)
16716 (resize-root-window-vertically, adjust-window-trailing-edge)
16717 (enlarge-window, shrink-window, maximize-window)
16718 (minimize-window, delete-window, quit-restore-window)
16719 (split-window, balance-windows, balance-windows-area-adjust)
16720 (balance-windows-area, window-state-put-2)
16721 (display-buffer-even-window-sizes, display-buffer-set-height)
16722 (display-buffer-set-width, set-window-text-height)
16723 (fit-window-to-buffer): Rename all "resize-window" prefixed
16724 calls to use the "window-resize" prefix convention.
16725 (display-buffer-alist): Fix symbol for label specifier.
16726 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16727 corresponding specifier.
16728 Reported by Juanma Barranquero <lekktu@gmail.com>.
16730 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16732 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16734 (ses-call-printer): Does not pass an empty string to formatter when the
16735 cell is empty to keep from barking printer Calc math-format-value.
16737 2011-06-27 Richard Stallman <rms@gnu.org>
16739 * battery.el (battery-mode-line-limit): New variable.
16740 (battery-update): Handle it.
16742 * mail/rmailmm.el (rmail-mime-process-multipart):
16743 Handle truncated messages.
16745 2011-06-27 Glenn Morris <rgm@gnu.org>
16747 * progmodes/flymake.el (flymake-err-line-patterns):
16748 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16750 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16752 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16753 (ses--clean-!, ses--clean-_): New functions.
16754 (ses-range): Add configurability of readout order, and conversion
16757 * ses.el (ses-repair-cell-reference-all): New function.
16758 (ses-cell-symbol): Set macro as safe, so that it can be used in
16761 * ses.el: Update cycle detection algorithm.
16762 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16763 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16764 (ses-set-localvars): New function.
16765 (ses-make-cell): Add property-list as a cell element.
16766 (ses-cell-property-get-fun, ses-cell-property-get)
16767 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16768 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16770 (ses-cell-property-set, ses-cell-property-pop)
16771 (ses-cell-property-get-handle): New macro.
16772 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16773 New aliases, used for code readability.
16774 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16776 (ses-self-reference-early-detection): New defcustom.
16777 (ses-formula-references): Robustify against self-referring cells.
16778 (ses-mode): Use ses-set-localvars.
16779 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16780 before lauching the update processing.
16781 (ses-initialize-Dijkstra-attempt): New function.
16782 (ses-recalculate-cell): Update for cycle detection based on
16783 Dijkstra algorithm.
16785 * ses.el: Fix commenting and indenting convention.
16787 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16789 * bs.el (bs-cycle-next): Complete last change.
16791 2011-06-27 Drew Adams <drew.adams@oracle.com>
16793 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16795 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16797 * net/network-stream.el (network-stream-open-starttls):
16798 Don't re-get capabilities unless we've reestablished connection.
16799 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16801 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16802 to binary to possibly avoid line encoding issues on Windows (among
16805 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16807 * net/network-stream.el (open-network-stream): Return an :error
16808 saying what the problem was, if possible.
16810 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16813 * net/network-stream.el (network-stream-open-starttls): If we
16814 wanted to use STARTTLS, and the server offered it, but we weren't
16815 able to because we had no STARTTLS support, then close the connection.
16816 (open-network-stream): Return an :error element, if present.
16818 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16820 * hl-line.el (hl-line-sticky-flag): Doc fix.
16821 (global-hl-line-sticky-flag): New option (Bug#8323).
16822 (global-hl-line-highlight): Obey it.
16824 * vc/vc.el (vc-revert-show-diff): Default to t.
16826 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16828 * allout-widgets.el (allout-widgets-post-command-business):
16829 Stop decorating intermediate isearch matches. They're not being
16830 undecorated when an isearch is continued past, and isearch
16831 automatically collapses them. This leads to "widget leaks", where
16832 decorated items accumulate in collapsed areas. Lines with lots of
16833 hidden widgets can slow down cursor travel, substantially.
16834 Too much complicated machinery would be needed to ensure undecoration,
16835 so we're doing without this nicety.
16837 (allout-widgets-tally-string): Don't try to do a hash-table-count
16838 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16839 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16840 *Messages* when allout-widgets-maintain-tally is t.
16842 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16844 * window.el (display-buffer-normalize-argument): Rename to
16845 display-buffer-normalize-arguments. Handle special meaning of
16846 LABEL argument. Respect special-display-function when popping up
16847 a new frame. Fix code searching for a window showing the buffer
16849 (display-buffer-normalize-specifiers):
16850 Call display-buffer-normalize-arguments.
16851 (display-buffer-in-window): Don't undedicate the window if its
16852 buffer remains the same.
16853 Reported by Drew Adams <drew.adams@oracle.com>.
16854 (display-buffer-alist): Add choice for same-window macro
16856 (display-buffer): Mention special meaning of LABEL argument in
16857 doc-string. Fix quoting. Don't pop up a new frame even as
16860 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16862 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16863 avoid deleting the current window in some cases (bug#8911).
16865 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16867 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16870 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16872 * net/network-stream.el (network-stream-open-starttls):
16873 Use built-in TLS support if `gnutls-available-p' is true.
16874 (network-stream-open-tls): Ditto.
16876 2011-06-26 Leo Liu <sdl.web@gmail.com>
16878 * register.el (registerv): New struct.
16879 (registerv-make): New function.
16880 (jump-to-register, describe-register-1, insert-register):
16881 Support the jump-func, print-func and insert-func slot of a registerv
16884 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16886 * vc/vc.el (vc-revert-show-diff): New defcustom.
16887 (vc-diff-internal): New arg specifying diff buffer.
16888 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16889 reuse an existing *vc-diff* buffer (Bug#8927).
16891 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16893 2011-06-26 Glenn Morris <rgm@gnu.org>
16895 * progmodes/f90.el (f90-critical-indent): New option.
16896 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16897 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16898 (f90-mode): Doc fix.
16899 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16900 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16901 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16902 (f90-match-end): Handle block, critical.
16904 2011-06-25 Glenn Morris <rgm@gnu.org>
16906 * calendar/diary-lib.el (diary-included-files): Doc fix.
16907 (diary-include-files): New function, extracted from
16908 diary-include-other-diary-files and diary-mark-included-diary-files.
16909 (diary-include-other-diary-files, diary-mark-included-diary-files):
16910 Just call diary-include-files.
16911 (diary-mark-entries): Reset diary-included-files on first call.
16913 * calendar/diary-lib.el (diary-mark-entries)
16914 (diary-mark-included-diary-files):
16915 Visit included diary-files in temp buffers.
16917 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16918 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16919 (f90-start-block-re, f90-imenu-generic-expression)
16920 (f90-looking-at-program-block-start, f90-no-block-limit):
16921 Add support for submodules.
16923 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16924 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16926 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16928 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16929 buffer-file-type before setting its value, to avoid disastrous
16930 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16932 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16934 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16936 * ses.el (ses-unload-function):
16937 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16939 * proced.el (proced-unload-function):
16940 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16942 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16944 * server.el (server-create-window-system-frame): Add parameters arg.
16945 (server-process-filter): Doc fix. Handle frame-parameters.
16947 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16949 Fix bug#8730, bug#8781.
16951 * loadhist.el (unload--set-major-mode): New function.
16952 (unload-feature): Use it.
16954 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16955 (python-unload-function): New function.
16957 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16959 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16961 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16963 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16964 the candidates list.
16966 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16968 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16970 2011-06-23 Richard Stallman <rms@gnu.org>
16972 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16973 (rmail-variables): Set next-error-move-function.
16974 (rmail-what-message): Take argument POS.
16975 (rmail-next-error-move): New function.
16977 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16979 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16980 messages for adjacent non-terminals.
16982 2011-06-23 Richard Stallman <rms@gnu.org>
16984 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16985 (rmail-show-message-1): Preserve buffer modified flag.
16986 (rmail-start-mail): Don't specify use of rmail-mail-return;
16987 that's done by mail-bury now.
16988 (rmail-mail-return): Handle arg NEWBUF.
16990 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16992 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16995 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16997 * window.el (get-lru-window, get-mru-window)
16998 (get-largest-window): Never return a minibuffer window.
16999 (display-buffer-pop-up-window): Fix a bug that could lead to
17000 reusing the minibuffer window.
17001 (display-buffer): Pass original specifier argument to
17002 display-buffer-function instead of the normalized one.
17003 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17005 2011-06-22 Leo Liu <sdl.web@gmail.com>
17007 * minibuffer.el (completing-read-function)
17008 (completing-read-default): Move from minibuf.c.
17010 2011-06-22 Richard Stallman <rms@gnu.org>
17012 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17013 to Rmail even if not started by a special Rmail command.
17015 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17016 Copy the buffer currently showing just one message.
17018 2011-06-22 Roland Winkler <winkler@gnu.org>
17020 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17021 (bibtex-clean-entry): First delete the old key so that a
17022 customized algorithm for generating the new key does not get
17023 confused by the old key.
17024 (bibtex-url): Obey regexp of first step.
17025 (bibtex-search-entries): Do not use add-to-list with local
17028 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17030 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17031 stored a user name, then query for the password first, instead of
17032 waiting for SMTP to give an error message and the trying again.
17034 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17036 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17037 BUFFER in call-process.
17039 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17041 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17043 (smtpmail-try-auth-methods): Require user name and password from
17046 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17048 * window.el (display-buffer-default-specifiers)
17049 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17050 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17051 (split-window): Normalize SIDE argument (Bug#8916).
17053 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17054 (special-display-frame-alist, special-display-popup-frame):
17055 Remove duplicate declarations. These are now in window.el.
17057 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17059 * mail/smtpmail.el (smtpmail-via-smtp):
17060 Set :use-starttls-if-possible so that we always use STARTTLS if the
17061 server supports it. SMTP servers that support STARTTLS commonly
17064 * net/network-stream.el (network-stream-open-starttls): Support
17065 upgrading to STARTTLS always, even if we don't have built-in support.
17066 (open-network-stream): Add the :always-query-capabilities keyword.
17068 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17069 upgrades with `open-network-stream', and rely solely on
17070 auth-source for all credentials. Big changes throughout the file,
17072 (smtpmail-auth-credentials): Remove.
17073 (smtpmail-starttls-credentials): Remove.
17074 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17077 * net/network-stream.el (network-stream-open-starttls):
17078 Provide support for client certificates both for external and built-in
17080 (auth-source): Require.
17081 (open-network-stream): Document the :client-certificate keyword.
17082 (network-stream-certificate): Change cert-cert to cert and
17085 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17087 * net/tramp-cache.el (top): Don't load the persistency file when
17088 "emacs -Q" has been called.
17090 2011-06-21 Tim Harper <timcharper@gmail.com>
17092 * term/ns-win.el (ns-initialize-window-system):
17093 Set application-specific `ApplePressAndHoldEnabled' system
17094 resource to NO as it is not yet supported by the NS port.
17096 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17098 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17099 (list-dynamic-libraries): ...not here.
17101 2011-06-21 Leo Liu <sdl.web@gmail.com>
17103 * subr.el (sha1): Implement sha1 using secure-hash.
17105 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17107 * window.el (display-buffer-alist): In default value do not
17108 enforce searching a window on any but the selected frame.
17109 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17110 (display-buffer-select-window): Remove function.
17111 (display-buffer-in-window): When a window on another frame gets
17112 reused, do not select it any more but just raise its frame if
17113 necessary (Bug#8851) and (Bug#8856).
17114 (display-buffer-normalize-options): Handle pop-up-frames related
17115 options more faithfully.
17116 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17117 window if it is on another frame.
17118 (display-buffer-alist, display-buffer-default-specifiers):
17119 Don't make new frame unsplittable by default.
17120 (display-buffer-normalize-argument): Fix doc-string typo and use
17121 'same-frame-other-window instead of 'other-window when associating
17122 with display-buffer-macro-specifiers.
17124 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17126 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17128 (5x5-mode-map, 5x5-mode-menu): Bind them.
17129 (5x5-draw-grid): Tweak the solver's rendering.
17131 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17133 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17134 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17136 2011-06-21 Drew Adams <drew.adams@oracle.com>
17138 * menu-bar.el: Use function variable instead of switch-to-buffer.
17139 (menu-bar-select-buffer-function): New variable.
17140 (menu-bar-update-buffers): Use it (bug#8876).
17142 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17144 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17147 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17149 * x-dnd.el (x-dnd-version-from-flags)
17150 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17151 and long as number (Bug#8899).
17152 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17154 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17156 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17157 (completion-try-completion, completion-all-completions): Compute the
17158 metadata argument if it's missing; make it optional (bug#8795).
17160 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17161 (widget-complete): Use new :completion-function property.
17162 (widget-completions-at-point): New function.
17163 (default): Use :completion-function instead of :complete.
17164 (widget-default-completions): Rename from widget-default-complete;
17166 (widget-string-complete, widget-file-complete, widget-color-complete):
17168 (file, symbol, function, variable, coding-system, color):
17169 * international/mule-cmds.el (default-input-method, charset)
17170 (language-info-custom-alist):
17171 * cus-edit.el (face): Use new property :completions.
17173 * progmodes/pascal.el (pascal-completions-at-point): New function.
17174 (pascal-mode): Use it.
17175 (pascal-mode-map): Use completion-at-point.
17176 (pascal-toggle-completions): Make obsolete.
17177 (pascal-complete-word, pascal-show-completions):
17178 * progmodes/octave-mod.el (octave-complete-symbol):
17179 Redefine as obsolete alias.
17180 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17181 Signal absence of completion info for old Octave,
17182 (inferior-octave-complete): Redefine as obsolete alias.
17183 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17184 (meta-completions-at-point): Rename from meta-complete-symbol and
17185 adapt it for use on completion-at-point-functions.
17186 (meta-common-mode): Use it.
17187 (meta-looking-at-backward, meta-match-buffer): Remove.
17188 (meta-complete-symbol): Redefine as obsolete alias.
17189 (meta-common-mode-map): Use completion-at-point.
17190 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17191 (makefile-mode-map): Use completion-at-point.
17192 (makefile-completions-at-point): Rename from makefile-complete and
17193 adapt it for use on completion-at-point-functions.
17194 (makefile-mode): Use it.
17195 (makefile-complete): Redefine as obsolete alias.
17197 2011-06-20 Deniz Dogan <deniz@dogan.se>
17199 * net/rcirc.el: Delete trailing whitespaces once and for all.
17201 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17203 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17205 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17207 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17209 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17211 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17213 * window.el (display-buffer-other-window-means-other-frame):
17214 Call display-buffer-normalize-alist.
17215 (display-buffer-normalize-specifiers-1): Rename to
17216 display-buffer-normalize-argument. New argument other-frame.
17218 (display-buffer-normalize-specifiers-2): Rename to
17219 display-buffer-normalize-options.
17220 (display-buffer-normalize-alist-1): New function.
17221 (display-buffer-normalize-specifiers-3): Rename to
17222 display-buffer-normalize-alist.
17223 Call display-buffer-normalize-alist-1.
17224 (display-buffer-normalize-options-inhibit): New variable.
17225 (display-buffer-normalize-specifiers): Rewrite calling
17226 display-buffer-normalize-alist,
17227 display-buffer-normalize-argument, and
17228 display-buffer-normalize-options. Don't call the latter if
17229 display-buffer-normalize-options-inhibit is non-nil.
17230 (frame-auto-delete): New option.
17231 (window-deletable-p): Use frame-auto-delete.
17232 (window-list-no-nils, window-state-ignored-parameters)
17233 (window-state-get-1, window-state-get, window-state-put-list)
17234 (window-state-put-1, window-state-put-2, window-state-put):
17236 (display-buffer-normalize-options): Move special-display-p group
17237 after pop-up-frame group (Bug#8851) and (Bug#8856).
17239 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17241 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17243 (rx-submatch-n): New function.
17246 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17249 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17251 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17253 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17254 anytime existing face settings are present (Bug#8889).
17256 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17257 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17258 Remove unused argument.
17260 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17262 * window.el (display-buffer-default-specifiers):
17263 Remove pop-up-frame. Add pop-up-window-min-height,
17264 pop-up-window-min-width, and another reuse-window specifier
17265 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17266 (display-buffer-normalize-specifiers-2):
17267 Handle split-height-threshold and split-width-threshold also when
17268 pop-up-windows is unset. Add a reuse-window specifier for the
17269 case popping up a new window fails.
17270 (special-display-popup-frame): Remove double quoting.
17271 (display-buffer-normalize-specifiers-1): Fix thinko.
17273 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17275 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17276 according to comint-completion-addsuffix.
17278 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17279 (pcomplete-suffix-list): Mark as obsolete.
17280 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17281 pcomplete-seen in the closure.
17282 (pcomplete-comint-setup): Setup completion-at-point as well.
17283 (pcomplete--entries): New function.
17284 (pcomplete--env-regexp): New var.
17285 (pcomplete-entries): Rewrite to work with partial-completion and
17286 without relying on pcomplete-suffix-list.
17287 (pcomplete-pare-list): Remove, unused.
17289 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17291 * window.el (display-buffer-alist): Set pop-up-window-min-height
17292 and pop-up-window-min-width in default value. Reported by
17293 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17294 other-window-means-other-frame.
17295 (display-buffer-macro-specifiers): Comment out entry for
17296 other-window specifier.
17297 (display-buffer-other-window-means-other-frame): New function.
17298 (display-buffer-normalize-specifiers-1): New arguments
17299 buffer-name and label. Treat other-window case specially.
17300 (display-buffer-normalize-specifiers-2): Treat other-window case
17302 (display-buffer-normalize-specifiers-3): New function.
17303 (display-buffer-normalize-specifiers):
17304 Call display-buffer-normalize-specifiers-3.
17306 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17308 * window.el (same-window-p): Fix two typos introduced when
17309 adding with-no-warnings.
17310 (display-buffer-normalize-specifiers-1): Don't check
17311 pop-up-frames for 'unset initialization.
17312 (display-buffer-normalize-specifiers-2): Major rewrite using
17313 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17314 (pop-up-frames, display-buffer-reuse-frames)
17315 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17316 Suggested by David Engster <deng@randomsample.de>.
17317 (even-window-heights): Initialize to 'unset.
17318 (display-buffer-alist-set): Handle new 'unset initializations.
17319 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17322 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17324 * window.el (display-buffer-normalize-specifiers-1):
17325 Respect current value of pop-up-frames for most reasonable values of
17326 second argument of display-buffer (Bug#8865).
17327 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17328 (switch-to-buffer-other-window-same-frame)
17329 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17331 (display-buffer): Don't check noninteractive when calling
17332 display-buffer-pop-up-frame.
17333 (display-buffer-pop-up-frame): Never pop up a frame in
17334 noninteractive mode (Bug#8857).
17335 (enlarge-window, shrink-window): Don't report an error when the
17336 window can't be resized as requested (Bug#8862).
17338 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17340 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17342 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17344 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17346 2011-06-15 Alan Mackenzie <acm@muc.de>
17348 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17349 for declarators, disable knr checking to speed up for normal files.
17350 2: Refactor, replacing a sequence of nested if forms by a cond form.
17352 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17354 * net/network-stream.el (open-network-stream): Add the keyword
17355 :always-query-capabilities for the case where you want to force a
17356 `plain' network connection, but the protocol still requires the
17357 capabilitiy command (i.e., SMTP and EHLO).
17359 * subr.el (process-live-p): Rename from `process-alive-p' for
17360 consistency with other `-live-p' functions.
17362 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17364 * window.el (same-window-buffer-names, same-window-regexps)
17365 (special-display-frame-alist, special-display-popup-frame)
17366 (special-display-function, special-display-buffer-names)
17367 (special-display-regexps, pop-up-frame-alist)
17368 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17369 (pop-up-windows, split-window-preferred-function)
17370 (split-height-threshold, split-width-threshold, even-window-heights)
17371 (display-buffer-mark-dedicated): Don't encourage the use of
17372 display-buffer-alist from Elisp code.
17374 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17376 * progmodes/python.el (python-mode): Derive from prog-mode.
17377 * progmodes/ps-mode.el (ps-mode):
17378 * progmodes/mixal-mode.el (mixal-mode):
17379 * progmodes/cfengine.el (cfengine-mode):
17380 * progmodes/ld-script.el (ld-script-mode): Likewise.
17382 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17384 * window.el (display-buffer-alist): Trim default value to avoid
17385 popping up a new frame (Bug#8857) or reusing an arbitrary window
17387 (display-buffer): Do not fall back on popping up a new frame in
17388 batch mode (Bug#8857).
17390 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17392 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17393 (custom-theme-summary): New function.
17394 (customize-themes): Use it.
17396 2011-06-13 Glenn Morris <rgm@gnu.org>
17398 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17400 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17402 * help.el (help-window): Remove variable.
17403 (help-window-point-marker, temp-buffer-max-height)
17404 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17405 (help-print-return-message): Don't set help-window.
17406 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17407 (help-window-setup-finish): Remove.
17408 (help-window-display-message, help-window-setup)
17409 (with-help-window): Major rewrite based on new
17410 display-buffer-window variable.
17412 * help-mode.el (help-mode-finish): Remove help-window related
17415 * view.el (view-exits-all-viewing-windows): Remove reference to
17416 view-return-to-alist in doc-string.
17417 (view-return-to-alist): Make obsolete.
17418 (view-buffer): Call pop-to-buffer-same-window and remove
17420 (view-buffer-other-window): Call pop-to-buffer-other-window and
17421 simplify code. Ignore second argument.
17422 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17423 simplify code. Ignore second argument.
17424 (view-return-to-alist-update): Make obsolete.
17425 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17426 Rewrite using quit-restore window parameters.
17427 (view-mode-exit): Rename second argument to EXIT-ONLY.
17428 Rewrite using quit-restore-window.
17429 (View-exit, View-exit-and-edit, View-leave, View-quit)
17430 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17431 appropriate arguments.
17432 (view-end-message): Use quit-restore window parameter.
17434 * window.el (display-buffer-function): Rewrite doc-string.
17435 (display-buffer-window, display-buffer-alist): New variables.
17436 (display-buffer-split-specifiers)
17437 (display-buffer-side-specifiers)
17438 (display-buffer-macro-specifiers): New constants.
17439 (display-buffer-even-window-sizes, display-buffer-set-height)
17440 (display-buffer-set-width, display-buffer-select-window)
17441 (display-buffer-in-window, display-buffer-reuse-window)
17442 (display-buffer-split-window-1, display-buffer-split-window)
17443 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17444 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17445 (display-buffer-in-side-window, normalize-buffer-to-display)
17446 (display-buffer-normalize-specifiers-1)
17447 (display-buffer-normalize-specifiers-2)
17448 (display-buffer-normalize-specifiers, display-buffer-frame):
17450 (display-buffer): Major rewrite.
17451 (display-buffer-other-window, display-buffer-other-frame)
17452 (pop-to-buffer, switch-to-buffer-other-window)
17453 (switch-to-buffer-other-frame): Rewrite.
17454 (display-buffer-same-window, display-buffer-same-frame)
17455 (display-buffer-same-frame-other-window)
17456 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17457 (pop-to-buffer-other-window)
17458 (pop-to-buffer-same-frame-other-window)
17459 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17460 (switch-to-buffer-other-window-same-frame): New functions.
17461 (same-window-p, special-display-p): Rewrite disabling warnings.
17463 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17464 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17466 (same-window-buffer-names, same-window-regexps)
17467 (special-display-frame-alist, special-display-popup-frame)
17468 (special-display-function, special-display-buffer-names)
17469 (special-display-regexps, pop-up-frame-alist)
17470 (pop-up-frame-function, split-window-preferred-function)
17471 (split-height-threshold, split-width-threshold)
17472 (even-window-heights): Make obsolete.
17474 2011-06-12 Glenn Morris <rgm@gnu.org>
17476 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17477 Misc simplifications.
17479 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17481 * window.el (window-safely-shrinkable-p): Restore function which
17482 was inadvertently removed in change from 2011-06-11. Declare as
17485 * calendar/calendar.el (calendar-generate-window):
17486 Use window-iso-combined-p instead of combination of one-window-p and
17487 window-safely-shrinkable-p.
17489 2011-06-12 Glenn Morris <rgm@gnu.org>
17491 * progmodes/fortran.el (fortran-mode-syntax-table):
17492 * progmodes/f90.el (f90-mode-syntax-table):
17493 Set % to punctuation. (Bug#8820)
17494 (f90-find-tag-default): Remove, no longer needed.
17496 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17498 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17500 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17502 * image.el (image-animated-p): Return animation delay in seconds.
17503 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17504 (image-animate-timeout): Remove DELAY argument. Don't assume
17505 every subimage has the same delay; get it from image-animated-p.
17506 (image-animate): Caller changed.
17508 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17510 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17511 to ignored backtrace functions.
17513 2011-06-11 Glenn Morris <rgm@gnu.org>
17515 * calendar/appt.el (appt-disp-window-function): Doc fix.
17516 (appt-check): Handle overlapping appointments. (Bug#8337)
17518 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17520 * window.el (window-tree-1, window-tree): New functions, moving
17521 the latter to window.el.
17522 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17523 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17524 (bw-refresh-edges): Remove.
17525 (balance-windows-1, balance-windows-2): New functions.
17526 (balance-windows): Rewrite in terms of window tree functions,
17527 balance-windows-1 and balance-windows-2.
17528 (bw-adjust-window): Remove.
17529 (balance-windows-area-adjust): New function with functionality of
17530 bw-adjust-window but using resize-window.
17531 (set-window-text-height): Rewrite doc-string.
17532 Use normalize-live-window and resize-window.
17533 (enlarge-window-horizontally, shrink-window-horizontally):
17534 Rename argument to DELTA.
17535 (window-buffer-height): New function.
17536 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17537 Rewrite using new window resize routines.
17538 (kill-buffer-and-window, mouse-autoselect-window-select):
17539 Use ignore-errors instead of condition-case.
17540 (quit-window): Call delete-frame instead of delete-windows-on
17541 for the only buffer on frame.
17543 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17545 * loadup.el (top-level): Load window before files for the sake
17546 of replace-buffer-in-windows.
17548 * files.el (read-buffer-to-switch)
17549 (switch-to-buffer-other-window)
17550 (switch-to-buffer-other-frame, display-buffer-other-frame):
17553 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17554 (previous-buffer): Move to window.el.
17556 * bindings.el (unbury-buffer): Move to window.el.
17558 * window.el (delete-other-windows-vertically): Move after
17559 definition of delete-other-windows.
17560 (other-window, delete-windows-on, replace-buffer-in-windows):
17561 Move here from window.c.
17562 (record-window-buffer, unrecord-window-buffer)
17563 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17564 (switch-to-next-buffer): New functions.
17565 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17566 from simple.el. Call switch-to-next-buffer.
17567 (previous-buffer): Move here from simple.el.
17568 Call switch-to-prev-buffer.
17569 (bury-buffer): Move here from buffer.c. Switch to previous
17570 buffer when window cannot be deleted.
17571 (unbury-buffer): Move here from bindings.el.
17572 (ctl-x-map): Move binding for other-window from window.c to
17574 (read-buffer-to-switch, switch-to-buffer-other-window)
17575 (switch-to-buffer-other-frame): Move here from files.el.
17576 (normalize-buffer-to-switch-to): New functions.
17577 (switch-to-buffer): Move here from buffer.c.
17578 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17580 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17582 * window.el (window-min-height, window-min-width): Move here
17583 from window.c. Add defcustoms and rewrite doc-strings.
17584 (resize-mini-window, resize-window): New functions.
17585 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17586 Move here from window.c.
17587 (maximize-window, minimize-window): New functions.
17588 (delete-window, delete-other-windows, split-window): Move here
17590 (window-split-min-size): New function.
17591 (split-window-keep-point): Mention split-window-above-each-other
17592 instead of split-window-vertically.
17593 (split-window-above-each-other, split-window-vertically):
17594 Rename split-window-vertically to split-window-above-each-other
17595 and provide defalias for old definition.
17596 (split-window-side-by-side, split-window-horizontally):
17597 Rename split-window-horizontally to split-window-side-by-side
17598 and provide defalias for the old definition.
17599 (ctl-x-map): Move bindings for delete-window,
17600 delete-other-windows and enlarge-window here from window.c.
17601 Replace bindings for split-window-vertically and
17602 split-window-horizontally by bindings for
17603 split-window-above-each-other and split-window-side-by-side.
17605 * cus-start.el (all): Remove entries for window-min-height and
17606 window-min-width. Add entries for window-splits and
17609 2011-06-09 Glenn Morris <rgm@gnu.org>
17611 * calendar/appt.el (appt-mode-line): New function.
17612 (appt-check, appt-disp-window): Use it.
17614 * files.el (hack-one-local-variable-eval-safep):
17615 Allow minor-modes with explicit +/-1 arguments.
17617 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17619 * term/xterm.el (xterm): Add defgroup.
17620 (xterm-extra-capabilities): Add defcustom to supply known xterm
17621 capabilities, skip querying them, or query them (default).
17622 (terminal-init-xterm): Use it.
17623 (terminal-init-xterm-modify-other-keys): New function to set up
17624 modifyOtherKeys support to simplify `terminal-init-xterm'.
17626 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17628 * window.el (resize-window-reset, resize-window-reset-1)
17629 (resize-subwindows-skip-p, resize-subwindows-normal)
17630 (resize-subwindows, resize-other-windows, resize-this-window)
17631 (resize-root-window, resize-root-window-vertically)
17632 (window-deletable-p, window-or-subwindow-p)
17633 (frame-root-window-p): New functions.
17635 2011-06-09 Glenn Morris <rgm@gnu.org>
17637 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17638 (ange-ftp-get-files): Use it.
17640 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17642 * mail/sendmail.el (mail-recover-1, mail-recover):
17643 * files.el (recover-file, recover-session):
17644 Handle dired-listing-switches not being just a single short option.
17646 2011-06-09 Glenn Morris <rgm@gnu.org>
17648 * calendar/appt.el (appt-display-message, appt-disp-window):
17649 Handle lists of appointments.
17651 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17653 * window.el (one-window-p): Move down in code.
17654 Rewrite doc-string.
17655 (window-current-scroll-bars): Rewrite doc-string.
17656 Normalize live window argument.
17657 (walk-windows, get-window-with-predicate, count-windows):
17658 Rewrite doc-string. Use window-list-1.
17659 (window-in-direction-2, window-in-direction, get-mru-window):
17662 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17664 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17665 Doc fix (Bug#8713).
17667 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17669 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17671 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17673 * loadhist.el (unload-feature-special-hooks):
17674 Add `comint-output-filter-functions'.
17676 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17678 * calendar/appt.el (appt-check): Move some initializations into the let.
17680 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17682 * window.el (window-height): Defalias to window-total-height.
17683 (window-width): Defalias to window-body-width.
17685 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17687 * image-mode.el (image-toggle-animation): New command.
17688 (image-mode-map): Bind it to RET.
17689 (image-mode): Update message.
17690 (image-toggle-display-image): Avoid a spurious cache flush.
17691 (image-transform-rotation): Doc fix.
17692 (image-transform-properties): Return quickly in the normal case.
17693 (image-animate-loop): Rename from image-animate-max-time.
17695 * image.el (image-animate-max-time): Move to image-mode.el.
17696 (create-animated-image): Remove unnecessary function.
17697 (image-animate): Rename from image-animate-start. New arg.
17698 (image-animate-stop): Remove; just use image-animate-timer.
17699 (image-animate-timer): Use car-safe.
17700 (image-animate-timeout): Rename argument.
17702 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17704 * window.el (get-lru-window, get-largest-window): Move here from
17705 window.c. Rename first argument to ALL-FRAMES.
17706 Rephrase doc-strings.
17707 (get-buffer-window-list): Rewrite using window-list-1.
17708 Rephrase doc-string.
17709 (window-safe-min-height, window-safe-min-width): New constants.
17710 (window-size-ignore, window-min-size, window-min-size-1)
17711 (window-sizable, window-sizable-p, window-size-fixed-1)
17712 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17713 (window-max-delta-1, window-max-delta, window-resizable)
17714 (window-resizable-p, window-total-height, window-total-width)
17715 (window-body-width): New functions.
17716 (window-full-height-p, window-full-width-p): Rewrite using
17718 (window-body-height): Rewrite using window-body-size.
17720 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17722 * window.el (window-right, window-left, window-child)
17723 (window-child-count, window-last-child, window-any-p)
17724 (normalize-live-buffer, normalize-live-frame)
17725 (normalize-any-window, normalize-live-window)
17726 (window-iso-combination-p, window-iso-combined-p)
17727 (window-iso-combinations)
17728 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17729 (windows-with-parameter, window-with-parameter)
17730 (window-atom-root, make-window-atom, window-atom-check-1)
17731 (window-atom-check, window-side-check, window-check):
17733 (ignore-window-parameters, window-sides, window-sides-vertical)
17734 (window-sides-slots): New variables.
17735 (window-size-fixed): Move down in code. Minor doc-string fix.
17737 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17739 * comint.el (comint-dynamic-complete-as-filename)
17740 (comint-dynamic-complete-filename): Correctly call
17741 completion-in-region.
17743 2011-06-05 Deniz Dogan <deniz@dogan.se>
17745 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17748 2011-06-05 Deniz Dogan <deniz@dogan.se>
17750 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17751 (rcirc): Use it to prompt for encryption.
17753 2011-06-05 Roland Winkler <winkler@gnu.org>
17755 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17756 (bibtex-search-entries): New command bound to C-c C-a.
17757 (bibtex-display-entries): New function.
17759 2011-06-05 Roland Winkler <winkler@gnu.org>
17761 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17762 (bibtex-insert-kill): After yanking insert newline if necessary.
17763 (bibtex-initialize): Call bibtex-string-files-init only once.
17764 (bibtex-mode): Do not call easy-menu-add.
17765 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17766 (bibtex-yank): Set arg properly if nil.
17768 2011-06-05 Roland Winkler <winkler@gnu.org>
17770 * textmodes/bibtex.el (bibtex-search-entry-globally):
17772 (bibtex-search-entry): Use it.
17774 2011-06-05 Roland Winkler <winkler@gnu.org>
17776 * textmodes/bibtex.el (bibtex-entry-format): New option
17778 (bibtex-format-entry, bibtex-reformat): Honor this option.
17779 (bibtex-parse-entry): Return fields in proper order.
17781 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17783 * doc-view.el (doc-view-remove-if): Move computation of result out
17784 of `dolist' to silence misleading lexical-binding warning.
17786 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17788 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17789 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17791 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17793 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17796 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17798 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17799 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17800 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17801 (tramp-parse-putty):
17802 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17803 (tramp-completion-function-alist-ssh)
17804 (tramp-completion-function-alist-telnet)
17805 (tramp-completion-function-alist-su)
17806 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17809 * net/tramp-ftp.el:
17811 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17812 load "tramp.el" `tramp-set-completion-function'.
17814 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17816 * shell.el: Require and use pcomplete.
17817 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17818 (shell-completion-vars): Set pcomplete-default-completion-function.
17820 2011-06-04 Deniz Dogan <deniz@dogan.se>
17822 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17825 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17827 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17829 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17831 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17832 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17833 * vc/log-view.el (log-view-beginning-of-defun):
17834 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17835 (smerge-refine-forward, smerge-refine-chopup-region):
17836 Silence warning for unused `dotimes' counter variables.
17838 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17840 * net/tramp.el (tramp-with-progress-reporter): Rename from
17841 with-progress-reporter. Use `declare'.
17842 * net/tramp-smb.el:
17844 * net/tramp-gvfs.el: Update all uses.
17846 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17848 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17849 buffer isn't killed before making it current.
17851 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17853 Silence various byte-compiler warnings.
17854 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17855 `access-type' and new obsolescence format.
17856 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17858 (byte-compile-check-variable): New `access-type' argument.
17859 Only warn if the access-type is obsolete.
17860 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17861 (byte-compile-variable-set): Adjust callers.
17862 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17863 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17864 setting it as obsolete.
17865 * simple.el (minibuffer-completing-symbol):
17866 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17867 access as obsolete.
17868 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17870 * international/quail.el (quail-mouse-choose-completion): Remove unused
17871 code referring to obsolete var.
17872 (quail-choose-completion-string): Remove.
17873 * server.el (server-clients-with, server-kill-buffer-query-function)
17874 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17875 * proced.el (proced-send-signal):
17876 * emacs-lisp/lisp.el (lisp-complete-symbol):
17877 Replace completion-annotate-function with completion-extra-properties.
17879 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * simple.el (goto-line): Use read-number.
17882 (overriding-map-is-bound): Remove.
17883 (saved-overriding-map): Change default.
17884 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17885 Take the map as argument.
17886 (universal-argument, negative-argument, digit-argument): Use it.
17887 (restore-overriding-map): Adjust.
17888 (do-auto-fill): Use fill-forward-paragraph.
17889 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17891 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17892 (minibuffer-inactive-mode): New major mode.
17893 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17894 the *Messages* buffer" hack.
17895 (mouse-popup-menubar): Don't burp if the event is a normal key.
17897 Miscellaneous tweaks.
17898 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17899 lexical scoping as in subr.el's dolist and dotimes.
17900 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17901 Silence compiler warning.
17902 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17903 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17904 * international/ccl.el (ccl-compile): Trivial simplification.
17905 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17906 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17907 `printflag' argument.
17908 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17909 Purecopy the whole obsolescence data.
17911 2011-06-01 Leo Liu <sdl.web@gmail.com>
17913 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17914 improve doc-string as suggested by Marco Pessotto
17915 <melmothx@gmail.com>.
17916 (rcirc-print): Fix last change.
17918 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17920 * minibuffer.el (complete-with-action): Return nil for the metadata and
17921 boundaries of non-functional tables.
17922 (completion-table-dynamic): Return nil for the metadata.
17923 (completion-table-with-terminator): Add default case, using
17924 complete-with-action.
17925 (completion--metadata): New function.
17926 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17927 to try and avoid pathological performance problems.
17928 (completion--embedded-envvar-table): Return `category' metadata.
17930 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17932 * subr.el (process-alive-p): New tiny convenience function.
17934 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17936 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17937 content but also its previous major mode.
17939 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17941 * emacs-lisp/debug.el (debug): Restore the previous content of the
17942 *Backtrace* buffer when we exit with C-M-c.
17944 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17946 * minibuffer.el: Add metadata method to completion tables.
17947 (completion-category-overrides): New defcustom.
17948 (completion-metadata, completion--field-metadata)
17949 (completion-metadata-get, completion--styles)
17950 (completion--cycle-threshold): New functions.
17951 (completion-try-completion, completion-all-completions):
17952 Add `metadata' argument to choose completion-styles.
17953 (completion--do-completion): Use metadata to choose cycling.
17954 (completion-all-sorted-completions): Use metadata for sorting.
17955 Remove :completion-cycle-penalty which is not needed any more.
17956 (completion--try-word-completion): Add `metadata' argument.
17957 (minibuffer-completion-help): Check metadata for annotation function
17959 (completion-file-name-table): Return `category' metadata.
17960 (minibuffer-completing-file-name): Make obsolete.
17961 * simple.el (minibuffer-completing-symbol): Make obsolete.
17962 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17963 completion-try-completion.
17965 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17967 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17969 2011-05-30 Leo Liu <sdl.web@gmail.com>
17971 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17972 (rcirc-print): Decode all incoming messages (bug#8744).
17973 (rcirc-decode-coding-system): Allow value nil for automatic coding
17976 2011-06-01 Glenn Morris <rgm@gnu.org>
17978 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17980 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17982 * image.el (image-animate-max-time): Allow nil and t values.
17984 (create-animated-image): Doc fix.
17985 (image-animate-start): Remove second arg; just use
17986 image-animate-max-time.
17987 (image-animate-timeout): Doc fix. Args changed.
17989 * image-mode.el (image-toggle-display-image): Ensure that the
17990 image spec passed to the animate timer is the same object as in
17991 the buffer's display property (Bug#6981).
17992 (image-transform-properties): Doc fix.
17994 * image.el (image-animate-max-time): Default to nil.
17996 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17998 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17999 entire buffer list (Bug#8184).
18001 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18003 * image.el (imagemagick-types-inhibit)
18004 (imagemagick-register-types): Doc fix.
18006 2011-05-29 Deniz Dogan <deniz@dogan.se>
18008 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18011 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18013 * select.el: Don't perform clipboard-manager saving in hooks;
18014 leave the hooks empty.
18016 2011-05-28 Leo Liu <sdl.web@gmail.com>
18018 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18019 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18020 (occur-edit-mode): New major mode (Bug#8463).
18021 (occur-after-change-function): New function.
18022 (occur-engine): Give Occur tags a read-only property.
18024 2011-05-28 Kevin Ryde <user42@zip.com.au>
18026 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18028 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18030 * bindings.el (help-echo): Make the initial non-indicator dash
18031 empty on graphical terminals (Bug#7295).
18033 * files.el (auto-mode-alist): Move config rule after the
18034 in-stripping one (Bug#8547).
18036 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18038 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18039 setting (Bug#8740).
18041 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18043 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18044 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18047 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18049 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18051 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18053 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18054 (hs-hide-block-at-point, hs-find-block-beginning)
18055 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18058 2011-05-28 Glenn Morris <rgm@gnu.org>
18060 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18062 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18064 * help-fns.el (describe-function-1): If the function is a derived
18065 major mode, print the parent mode.
18067 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18068 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18070 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18072 * minibuffer.el (completion--capf-wrapper): Check applicability before
18073 returning non-nil for non-exclusive completion data.
18074 * progmodes/etags.el (tags-completion-at-point-function):
18075 * info-look.el (info-lookup-completions-at-point): Mark as
18077 (info-complete): Adjust accordingly.
18079 * info-look.el: Convert to lexical-binding and completion-at-point.
18080 (info-lookup-completions-at-point): New function.
18081 (info-complete): Use it and completion-in-region.
18083 2011-05-28 Drew Adams <drew.adams@oracle.com>
18085 * isearch.el: Let M-e start with point at the first mismatched char.
18086 (isearch-fail-pos): New function.
18087 (isearch-edit-string): Use it.
18089 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18091 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18093 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18095 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18096 traversal functions for avl-trees.
18097 (avl-tree--stack): New struct.
18098 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18099 (avl-tree-enter): Add optional `updatefun' arg.
18100 (avl-tree--do-enter): Add optional `updatefun' arg.
18101 Change return value.
18102 (avl-tree-delete): Add optional `test' and `nilflag' args.
18103 (avl-tree--do-delete): Add `test' and `nilflag' args.
18104 Change return value.
18105 (avl-tree-member): Add optional `nilflag'
18106 (avl-tree-member-p): New function.
18107 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18108 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18109 (avl-tree-stack-empty-p): New functions.
18111 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18112 avl-tree--del-balance1 and make it work both ways.
18113 (avl-tree--del-balance2): Remove.
18114 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18115 make it work both ways.
18116 (avl-tree--enter-balance2): Remove.
18117 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18119 (avl-tree--mapc, avl-tree-map): Add direction argument.
18121 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18123 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18125 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18127 * select.el: Support clipboard managers with built-in function
18128 x-clipboard-manager-save, via delete-frame-functions and
18130 (xselect-convert-to-targets): Add MULTIPLE target to list.
18131 (xselect-convert-to-save-targets): New function.
18133 2011-05-27 Kenichi Handa <handa@m17n.org>
18135 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18136 let-binding rfc2047-encode-encoded-words to nil.
18138 2011-05-27 Glenn Morris <rgm@gnu.org>
18140 * mail/emacsbug.el: Don't require url-util.
18142 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18144 * files.el (set-auto-mode):
18145 Also respect mode: entries at the end of the file. (Bug#8586)
18147 2011-05-26 Glenn Morris <rgm@gnu.org>
18149 * files.el (hack-local-variables-prop-line, hack-local-variables):
18150 Downcase mode names, as seems to be traditional.
18151 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18153 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18154 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18156 2011-05-25 Julien Danjou <julien@danjou.info>
18158 * textmodes/rst.el (rst-define-level-faces): Do not define face
18159 symbol if it is already defined.
18161 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18163 * play/5x5.el (5x5-new-game, 5x5-randomize):
18164 Reset 5x5-solver-output to nil when a new grid is cast.
18165 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18166 these debugging traces, as defmacro breaks the compiled code.
18168 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18170 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18172 2011-05-24 Leo Liu <sdl.web@gmail.com>
18174 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18175 (vc-bzr-sha1): Adapt.
18177 * sha1.el: Remove. Function `sha1' is now builtin.
18179 * bindings.el: Provide sha1 feature.
18181 2011-05-24 Kenichi Handa <handa@m17n.org>
18183 * mail/sendmail.el: Require `rfc2047'.
18184 (mail-insert-from-field): Do not perform RFC2047 encoding.
18185 (mail-encode-header): New function.
18186 (sendmail-send-it): Set buffer-file-coding-system of the work
18187 buffer to the return value of select-message-coding-system.
18188 Call mail-encode-header.
18190 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18192 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18194 * mail/supercite.el (sc-default-cite-frame):
18195 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18197 2011-05-24 Glenn Morris <rgm@gnu.org>
18199 * progmodes/python.el (brm-menu): Declare.
18201 * emulation/viper.el (viper-set-hooks): Declare.
18203 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18204 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18205 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18206 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18207 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18208 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18210 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18212 Add an :exit-function for completion-at-point.
18214 * minibuffer.el (completion--done): New fun.
18215 (completion--do-completion): Use it. New arg `expect-exact'.
18216 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18217 since completion--do-completion does it for us now.
18218 (minibuffer-force-complete): Use completion--done and
18219 completion--replace. Handle sole-completion case with more care.
18220 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18221 (completion-extra-properties): New var.
18222 (completion-annotate-function): Make obsolete.
18223 (minibuffer-completion-help): Adjust accordingly.
18224 Use completion-list-insert-choice-function.
18225 (completion-at-point, completion-help-at-point):
18226 Bind completion-extra-properties.
18227 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18228 * simple.el (completion-list-insert-choice-function): New var.
18229 (completion-setup-function): Preserve it.
18230 (choose-completion): Pay attention to it, shuffle the code a bit.
18231 (choose-completion-string): New arg `insert-function'.
18233 * textmodes/bibtex.el: Convert to lexical binding.
18234 (bibtex-mode-map): Use completion-at-point.
18235 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18236 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18237 (bibtex-complete): Define as obsolete alias.
18238 (bibtex-complete-internal): Remove.
18239 (bibtex-format-entry): Remove unused sub-group in regexp.
18240 * shell.el (shell--command-completion-data)
18241 (shell-environment-variable-completion):
18242 * pcomplete.el (pcomplete-completions-at-point):
18243 * comint.el (comint--complete-file-name-data): Use :exit-function
18244 instead of completion-table-with-terminator so it also works for
18247 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18249 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18251 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18254 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18256 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18258 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18259 customization variable and implement: If non-nil, auto-fill will
18260 be inhibited while on topic's header line.
18262 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18264 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18265 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18266 always have a solution in grid size = 5 cases.
18267 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18268 (5x5-solver-output, 5x5-log-buffer): New vars.
18269 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18270 Make these variables buffer local to achieve 5x5 multi-session-ness.
18271 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18272 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18273 (5x5-solve-suggest): New funs.
18274 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18275 randomize a grid so that we ensure that there is always a solution.
18276 (5x5-make-random-grid): Allow other movement than flipping.
18278 2011-05-23 Kevin Ryde <user42@zip.com.au>
18280 * emacs-lisp/advice.el (ad-read-advised-function):
18281 Use `function-called-at-point' as the default, if it has
18282 advice and passes PREDICATE.
18284 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18286 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18287 byte-compile-lambda if it's actually a lambda.
18289 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18290 Fix function quoting. Use backquote better.
18292 2011-05-22 Yuanle Song <sylecn@gmail.com>
18294 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18295 matching (Bug#8516).
18297 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18299 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18300 different face (Bug#8178).
18302 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18304 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18305 defface (Bug#8144).
18307 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18309 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18310 funcall as well (bug#8712). Warn when performing those conversions.
18311 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18313 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18315 2011-05-22 Glenn Morris <rgm@gnu.org>
18317 * files.el (hack-local-variables-prop-line): Small simplifications.
18318 (hack-local-variables, hack-local-variables-prop-line):
18319 If MODE-ONLY, return the mode, rather than just `t'.
18321 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18323 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18325 2011-05-21 Glenn Morris <rgm@gnu.org>
18327 * files.el (hack-local-variables-prop-line, hack-local-variables):
18328 If only interested in the mode, don't bother doing the other stuff.
18330 * image-mode.el (image-after-revert-hook):
18331 Redraw all frames on which the image is visible. (Bug#8567)
18333 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18335 * wid-edit.el (widget-checklist-match-inline):
18336 Fix 2011-04-19 change. (Bug#8649)
18338 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18340 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18341 Also allow singlespace after single-letter capitals followed by a dot.
18343 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18344 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18346 2011-05-20 Nix <nix@esperi.org.uk>
18348 * files.el (basic-save-buffer-2):
18349 Fix handling of break-hardlink-on-save with non-existent files.
18351 2011-05-19 Deniz Dogan <deniz@dogan.se>
18353 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18354 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18356 2011-05-19 Glenn Morris <rgm@gnu.org>
18358 * progmodes/f90.el (f90-type-def-re):
18359 Handle "type, bind(c)". (Bug#8691)
18361 * emacs-lisp/autoload.el (batch-update-autoloads):
18362 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18364 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18366 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18367 property for the correct connection in case of multihops.
18369 2011-05-18 Glenn Morris <rgm@gnu.org>
18371 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18372 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18374 Rationalize calendar handling of day and month abbrev-arrays.
18375 * calendar/calendar.el (calendar-customized-p): New function.
18376 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18377 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18379 (calendar-abbrev-length, calendar-day-abbrev-array)
18380 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18381 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18382 Elements may no longer be nil.
18383 (calendar-day-name, calendar-month-name):
18384 Update for changed nature of abbrev arrays.
18385 * calendar/diary-lib.el (diary-name-pattern):
18386 Update for changed nature of abbrev arrays.
18387 (diary-mark-entries-1): Update calendar-make-alist calls.
18388 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18389 * calendar/cal-html.el (cal-html-day-abbrev-array):
18390 Simply inherit from calendar-day-abbrev-array.
18392 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18394 * progmodes/grep.el (grep-mode): Disable default
18395 compilation-directory-matcher setting (bug#8684).
18397 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18399 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18400 instead of "head" and "tail". There were problems with SunOS 5.9,
18401 and it performs better.
18403 2011-05-17 Glenn Morris <rgm@gnu.org>
18405 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18407 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18408 Replace obsolete function.
18410 * shell.el (pcomplete-parse-arguments-function): Declare.
18412 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18413 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18414 (appt-check): Doc fixes.
18415 (appt-disp-window-function, appt-delete-window-function):
18416 Remove needless special case in custom :type.
18417 (appt-display-count): Default to 0, not nil.
18418 (appt-check): Reset appt-display-count to 0, not nil.
18420 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18422 * progmodes/python.el (python-font-lock-keywords):
18423 Add the Python 3.X keyword "nonlocal" (bug#8639).
18425 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18427 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18429 2011-05-16 Kevin Ryde <user42@zip.com.au>
18431 * info-look.el (makefile-automake-mode): New setups, looking in
18432 automake manual, then makefile-mode.
18433 (makefile-mode): Remove automake manual, have it just in
18434 makefile-automake-mode since there's various things different or
18435 not relevant to plain make.
18436 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18437 believe a hypothetical automake-mode would go to makefile-mode,
18438 not the other way around.
18440 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18442 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18443 hunk-end tags (Bug#8672).
18445 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18446 vc-annotate-show-diff-revision-at-line (Bug#8671).
18448 2011-05-14 Glenn Morris <rgm@gnu.org>
18450 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18451 in the middle of an existing one with multiple authors. (Bug#8645)
18452 (change-log-font-lock-keywords): Also handle multiple author lines
18453 with leading tabs. (Bug#8644)
18455 * calendar/appt.el (appt-check): Rename some local variables.
18456 Some simplification/reordering.
18458 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18459 (feedmail-sendmail-f-doesnt-sell-me-out)
18460 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18461 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18462 (feedmail-queue-runner-message-sender): Set :version.
18463 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18464 (bbdb-dwim-net-address, vm-mail): Declare.
18465 (feedmail-binmail-gnulinuxish-template):
18466 Rename from feedmail-binmail-linuxish-template.
18467 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18468 Use insert-buffer-substring.
18470 2011-05-14 Bill Carpenter <bill@carpenter.org>
18472 * mail/feedmail.el (feedmail-patch-level): Increase.
18473 (feedmail-debug): New custom group.
18474 (feedmail-confirm-outgoing-timeout)
18475 (feedmail-sendmail-f-doesnt-sell-me-out)
18476 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18477 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18478 (feedmail-sender-line, feedmail-from-line)
18479 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18480 (feedmail-spray-this-address)
18481 (feedmail-spray-address-fiddle-plex-list)
18482 (feedmail-queue-use-send-time-for-date)
18483 (feedmail-queue-use-send-time-for-message-id)
18484 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18485 (feedmail-buffer-eating-function):
18487 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18488 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18489 (feedmail-message-action-scroll-down): New functions.
18490 (feedmail-queue-directory, feedmail-queue-draft-directory):
18491 Use expand-file-name.
18492 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18493 Remove C-v help entry.
18494 (feedmail-queue-buffer-file-name): New variable.
18495 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18496 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18497 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18498 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18499 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18500 (feedmail-message-action-toggle-spray)
18501 (feedmail-run-the-queue-no-prompts)
18502 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18503 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18504 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18505 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18506 (feedmail-envelope-deducer, feedmail-fiddle-from)
18507 (feedmail-fiddle-sender, feedmail-default-date-generator)
18508 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18509 (feedmail-fiddle-spray-address)
18510 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18511 (feedmail-fiddle-list-of-fiddle-plexes)
18512 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18513 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18514 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18515 Change default. Doc fix.
18516 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18517 (feedmail-binmail-linuxish-template): New constant.
18518 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18519 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18520 (feedmail-send-it): Add debug call.
18521 Use feedmail-queue-buffer-file-name, and
18522 feedmail-send-it-immediately-wrapper.
18523 (feedmail-message-action-send): Add debug call.
18524 Use feedmail-send-it-immediately-wrapper.
18525 (feedmail-queue-express-to-queue): Add debug call.
18526 Run feedmail-queue-express-hook.
18527 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18528 (feedmail-message-action-help-blat):
18529 Rename from feedmail-queue-send-edit-prompt-help-first.
18530 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18531 Check line-endings. Handle errors better.
18532 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18533 Doc fix. Add debug call.
18534 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18535 Use feedmail-queue-send-edit-prompt-inner.
18536 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18537 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18538 from feedmail-queue-send-edit-prompt.
18539 (feedmail-queue-send-edit-prompt-help)
18540 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18541 (feedmail-tidy-up-slug): Add debug call.
18542 Respect feedmail-queue-slug-suspect-regexp.
18543 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18544 (feedmail-dump-message-to-queue): Add debug call.
18545 Expand queue-directory.
18546 (feedmail-dump-message-to-queue): Change message slightly.
18547 Use feedmail-say-chatter.
18548 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18549 (feedmail-send-it-immediately-wrapper): New function.
18550 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18551 Insert empty string rather than newline. Handle full-frame case.
18552 Use catch/throw. Use feedmail-say-chatter.
18553 (feedmail-fiddle-from): Try mail-host-address.
18554 (feedmail-default-message-id-generator): Doc fix.
18555 Bind system-time-locale. Handle missing end.
18556 (feedmail-fiddle-x-mailer): Add debug call.
18557 Handle feedmail-x-mailer-line being nil.
18558 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18559 Add debug call. Use buffer-substring-no-properties.
18560 (feedmail-say-debug, feedmail-say-chatter): New functions.
18561 (feedmail-find-eoh): Give an explicit error.
18563 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18565 * net/newst-treeview.el (newsticker-treeview-face): Change default
18566 family from helvetica to sans.
18567 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18568 etc/images/newsticker.
18570 * net/newst-reader.el (newsticker-feed-face): Change default
18571 family from helvetica to sans.
18573 * net/newst-plainview.el (newsticker-new-item-face)
18574 (newsticker-old-item-face, newsticker-immortal-item-face)
18575 (newsticker-obsolete-item-face, newsticker-date-face)
18576 (newsticker-statistics-face): Change default family from
18578 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18579 etc/images/newsticker.
18581 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18582 (newsticker--process-auto-mark-filter-match): Tell user about
18585 2011-05-13 Didier Verna <didier@xemacs.org>
18587 Common Lisp indentation improvements on defmethod and lambda-lists.
18588 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18590 (lisp-lambda-list-keyword-parameter-indentation)
18591 (lisp-lambda-list-keyword-parameter-alignment)
18592 (lisp-lambda-list-keyword-alignment): New customizable user options.
18593 (lisp-indent-defun-method): Improve docstring.
18594 (extended-loop-p): Fix comment.
18595 (lisp-indent-lambda-list-keywords-regexp): New variable.
18596 (lisp-indent-lambda-list): New function.
18597 (lisp-indent-259): Use it.
18598 (lisp-indent-defmethod): Support for more than one
18599 method qualifier and properly indent methods lambda-lists.
18600 (defgeneric): Provide a missing common-lisp-indent-function property.
18602 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18604 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18605 bounds for the empty string (bug#8667).
18607 2011-05-13 Glenn Morris <rgm@gnu.org>
18609 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18611 * mail/sendmail.el (sendmail-program): Try executable-find first.
18612 (sendmail-send-it): `sendmail-program' cannot be unbound.
18614 * calendar/appt.el (appt-make-list): Simplify.
18615 (appt-time-msg-list): Doc fix.
18616 (appt-check): Change mode-line message at the time of the appointment.
18618 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18620 * progmodes/ld-script.el (ld-script-keywords)
18621 (ld-script-builtins): Update keywords list.
18623 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18625 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18627 * shell.el (shell-completion-vars): New function.
18629 * simple.el (read-shell-command): Use it.
18630 (blink-matching-open): No need for " [...]" in minibuffer-message.
18632 2011-05-12 Glenn Morris <rgm@gnu.org>
18634 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18635 (appt-check): Simplify.
18637 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18639 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18640 literal "/dev/null".
18642 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18644 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18647 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18649 * progmodes/which-func.el (which-function):
18650 Use add-log-current-defun instead of add-log-current-defun-function,
18651 which might not be defined (Bug#8260).
18653 2011-05-12 Glenn Morris <rgm@gnu.org>
18655 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18656 Let byte-compile-initial-macro-environment always take precedence.
18658 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18660 * net/rcirc.el: Add support for SSL/TLS connections.
18661 (rcirc-server-alist): New field `encryption'.
18662 (rcirc): Check `encryption' settings.
18663 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18664 Merge make-local-variable into `set'.
18665 (rcirc--connection-open-p): New function.
18666 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18667 the process is not a network process (e.g. running gnutls-cli).
18668 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18669 Make rcirc-(en|de)code-coding-system local here.
18670 (rcirc-mode): Merge make-local-variable into `set'.
18671 (rcirc-parent-buffer): Make permanent buffer-local.
18672 (rcirc-multiline-minor-mode): Don't do it here.
18673 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18674 there's no server buffer.
18676 2011-05-11 Glenn Morris <rgm@gnu.org>
18678 * newcomment.el (comment-kill): Prefix "unused" local.
18680 * term/w32console.el (get-screen-color): Declare.
18682 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18683 Handle symbol elements of byte-compile-initial-macro-environment.
18685 2011-05-10 Leo Liu <sdl.web@gmail.com>
18687 * bookmark.el (bookmark-bmenu-mode-map):
18688 Bind bookmark-bmenu-search to `/'.
18690 * mail/footnote.el: Convert to utf-8 encoding.
18691 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18692 (Footnote-unicode): New function.
18693 (footnote-style-alist): Add unicode style to the list.
18694 (footnote-style): Doc fix.
18696 2011-05-10 Jim Meyering <meyering@redhat.com>
18698 Fix doubled-word typos.
18699 * international/quail.el (quail-insert-kbd-layout): and and -> and
18700 * kermit.el: and and -> and
18701 * net/ldap.el (ldap-search-internal): to to -> to
18702 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18703 * progmodes/js.el (js-mode): and and -> and
18704 * textmodes/artist.el (artist-move-to-xy): at at -> at
18705 (artist-draw-region-trim-line-endings): if if -> if
18706 And Safetyc -> Safety.
18707 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18709 2011-05-10 Glenn Morris <rgm@gnu.org>
18710 Stefan Monnier <monnier@iro.umontreal.ca>
18712 * files.el (hack-one-local-variable-eval-safep):
18713 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18715 2011-05-10 Glenn Morris <rgm@gnu.org>
18717 * calendar/diary-lib.el (diary-list-entries-hook)
18718 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18719 (diary-nongregorian-marking-hook, diary-list-entries)
18720 (diary-include-other-diary-files, diary-mark-entries)
18721 (diary-mark-included-diary-files): Doc fixes.
18723 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18725 * misc.el: Require tabulated-list.el during compilation.
18727 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18729 * progmodes/compile.el (compilation-start):
18730 Run compilation-filter-hook for the async case too.
18731 (compilation-filter-hook): Doc fix.
18733 2011-05-09 Deniz Dogan <deniz@dogan.se>
18735 * wdired.el: Remove outdated installation comment. Fix usage
18738 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18740 * misc.el: Implement new command `list-dynamic-libraries'.
18741 (list-dynamic-libraries--loaded-only-p): New variable.
18742 (list-dynamic-libraries--refresh): New function.
18743 (list-dynamic-libraries): New command.
18745 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18747 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18748 Fix the ant regexp to handle end-line and end-column info from jikes.
18749 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18750 higher priority to avoid clobbering by gnu.
18752 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18754 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18755 if the face has existing theme settings (Bug#8454).
18757 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18759 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18760 Only match variables declared via `my' or `our' (Bug#8261).
18762 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18763 special file names `.' and `..' (Bug#8259).
18765 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18767 * progmodes/grep.el (grep-mode-font-lock-keywords):
18768 Remove buffer-changing entries.
18769 (grep-filter): New function.
18770 (grep-mode): Add it to compilation-filter-hook.
18772 * progmodes/compile.el (compilation-filter-hook)
18773 (compilation-filter-start): New defvars.
18774 (compilation-filter): Call compilation-filter-hook prior to
18775 updating the process mark.
18777 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18779 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18781 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18783 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18784 mailclient-send-it even if window-system is nil. (Bug#8595)
18786 * term/w32console.el (terminal-init-w32console):
18787 Call get-screen-color and use its output to set the frame
18788 background-mode. (Bug#8597)
18790 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18792 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18793 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18795 (defgeneric, eieio--defmethod): Use them.
18796 (eieio-defgeneric): Remove.
18797 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18799 2011-05-07 Glenn Morris <rgm@gnu.org>
18801 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18802 Use let rather than let*.
18803 (timeclock-find-discrep): Remove unused local.
18805 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18807 * calendar/appt.el (appt-time-msg-list): Doc fix.
18809 2011-05-06 Noah Friedman <friedman@splode.com>
18811 * apropos.el (apropos-print-doc): Only use
18812 emacs-lisp-docstring-fill-column when it is bound to an integer,
18813 per that variable's documentation.
18815 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18817 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18818 and warnings are not silently discarded (e.g. use -d instead of -P).
18820 2011-05-06 Glenn Morris <rgm@gnu.org>
18822 * calendar/appt.el (appt-message-warning-time): Doc fix.
18823 (appt-warning-time-regexp): New option.
18824 (appt-make-list): Respect appt-message-warning-time.
18826 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18828 (diary-add-to-list): Strip comments from the displayed string.
18829 (diary-mode): Set comment-start and comment-end.
18831 * vc/diff-mode.el (smerge-refine-subst): Declare.
18832 (diff-refine-hunk): Don't require smerge-mode when compiling.
18834 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18836 * simple.el (list-processes): Return nil as the docstring says.
18838 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18840 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18842 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18843 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18844 determining of binary transfer. (Bug#7383)
18846 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18849 Fix port computation bug. (Bug#8618)
18851 2011-05-05 Glenn Morris <rgm@gnu.org>
18853 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18855 * simple.el (shell-dynamic-complete-functions)
18856 (comint-dynamic-complete-functions): Declare.
18858 * net/network-stream.el (gnutls-negotiate):
18859 * simple.el (tabulated-list-print): Fix declarations.
18861 * progmodes/gud.el (syntax-symbol, syntax-point):
18862 Remove unnecessary and incorrect declarations.
18864 * emacs-lisp/check-declare.el (check-declare-scan):
18865 Handle byte-compile-initial-macro-environment in bytecomp.el.
18867 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18869 Fix earlier half-done eieio-defmethod change (bug#8338).
18870 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18871 Streamline and change calling convention.
18872 (defmethod): Adjust accordingly and simplify.
18873 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18874 new eieio--defmethod.
18875 (slot-boundp): Minor CSE simplification.
18877 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18879 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18880 (glasses-make-readable): Use glasses-separate-capital-groups.
18882 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18884 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18885 (warning-series): Doc fix.
18886 (display-warning): Don't try to create the buffer if we just found it.
18888 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18890 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18891 (autoload-find-generated-file): New function.
18892 (generate-file-autoloads): Bind generated-autoload-file to
18894 (update-file-autoloads, update-directory-autoloads):
18895 Use autoload-find-generated-file. If called interactively, prompt for
18896 output file (Bug#7989).
18897 (batch-update-autoloads): Doc fix.
18899 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18901 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18903 2011-05-04 Glenn Morris <rgm@gnu.org>
18905 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18906 function, so it follows changes in calendar-date-style.
18907 (diary-fancy-date-matcher): New function.
18908 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18909 (diary-fancy-font-lock-fontify-region-function):
18910 Use diary-fancy-date-pattern as a function.
18912 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18913 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18915 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18917 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18918 instead of positional arguments. Allow :keylist and :crlfiles
18920 (open-gnutls-stream): Call it.
18922 * net/network-stream.el (network-stream-open-starttls): Adjust to
18923 call `gnutls-negotiate' with :process and :hostname arguments.
18925 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18927 * minibuffer.el (completion--message): New function.
18928 (completion--do-completion, minibuffer-complete)
18929 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18930 (completion--do-completion): Don't ignore completion-auto-help when in
18933 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18934 internal encoding (e.g. tibetan zero is not whitespace).
18935 (global-whitespace-mode): Prefer save-current-buffer.
18936 (whitespace-trailing-regexp): Remove useless save-match-data.
18937 (whitespace-empty-at-bob-regexp): Minor simplification.
18939 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18941 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18943 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18945 * textmodes/ispell.el (ispell-add-per-file-word-list):
18946 Use `concat' to create string for insertion.
18948 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18950 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18951 Avoid open-line which runs post-self-insert-hook.
18952 (bibtex-fill-entry): Remove unused `end' var.
18954 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18956 * textmodes/ispell.el (ispell-add-per-file-word-list):
18957 Protect against `nil' value of `comment-start' (Bug#8579).
18959 2011-05-03 Leo Liu <sdl.web@gmail.com>
18961 * isearch.el (isearch-yank-pop): New command.
18962 (isearch-mode-map): Bind it to `M-y'.
18963 (isearch-forward): Mention it.
18965 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18967 * simple.el (minibuffer-complete-shell-command): Remove.
18968 (minibuffer-local-shell-command-map): Use completion-at-point.
18969 (read-shell-command): Setup completion vars here instead.
18970 (read-expression-map): Bind TAB to symbol completion.
18972 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18973 error directly rather via storing it into `results'.
18975 2011-05-02 Leo Liu <sdl.web@gmail.com>
18977 * vc/diff.el: Fix description.
18979 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18981 * server.el (server-eval-at): New function.
18983 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18985 * net/network-stream.el (open-network-stream): Take a :nowait
18986 parameter and pass it on to `make-network-process'.
18987 (network-stream-open-plain): Ditto.
18989 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18991 * faces.el (face-spec-set-match-display): Don't match toolkit
18992 options on terminal frames.
18994 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * progmodes/pascal.el: Use lexical binding.
18997 (pascal-mode-map): Remove author preferences.
18999 * pcomplete.el (pcomplete-std-complete): Don't abuse
19000 completion-at-point.
19002 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19004 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19005 removing code that has been dead since 1991 or so.
19007 * startup.el (command-line): When warning about "_emacs", use a
19008 delayed warning to allow the user to filter it out.
19010 2011-04-28 Deniz Dogan <deniz@dogan.se>
19012 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19013 user has not joined.
19015 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19017 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19018 aren't any completions at point.
19020 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19022 * subr.el (display-delayed-warnings): New function.
19023 (delayed-warnings-hook): New variable.
19025 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19027 * minibuffer.el (completion-at-point, completion-help-at-point):
19028 Don't presume that a given completion-at-point-function will always
19029 use the same calling convention.
19031 * pcomplete.el (pcomplete-completions-at-point):
19032 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19033 pcomplete-seen is non-nil.
19034 (pcomplete-comint-setup): Also recognize the new comint/shell
19035 completion functions.
19036 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19037 pcomplete-seen is non-nil.
19039 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19041 * calendar/icalendar.el (diary-lib): Add require statement.
19042 (icalendar--create-uid): Read out a uid from a text-property on
19043 the first character in the entry. This allows for code to add its
19044 own uid to the entry.
19045 (icalendar--convert-float-to-ical): Add export of
19046 `diary-float'-entries save for those with the optional DAY
19049 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19051 * subr.el (shell-quote-argument): Use alternate escaping strategy
19052 when we spot a variable reference in a string.
19054 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19056 * cus-start.el (all): Define customization for debug-on-event.
19058 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19060 * subr.el (shell-quote-argument): Escape correctly under Windows.
19062 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19066 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19068 * net/tramp.el (tramp-process-actions): Add POS argument.
19069 Delete region between POS and (pos).
19071 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19072 Use `nil' position in `tramp-process-actions' call.
19073 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19075 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19076 position in `tramp-process-actions' call.
19078 * net/trampver.el: Update release number.
19080 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19082 * custom.el (defcustom): Obey lexical-binding.
19084 Fix octave-inf completion problems reported by Alexander Klimov.
19085 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19086 Inherit from octave-mode-syntax-table.
19087 (inferior-octave-mode): Set info-lookup-mode.
19088 (inferior-octave-completion-at-point): New function.
19089 (inferior-octave-complete): Use it and completion-in-region.
19090 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19091 comint-filename-completion.
19092 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19093 symbol elements which shouldn't be word elements.
19094 (octave-font-lock-keywords, octave-beginning-of-defun)
19095 (octave-function-header-regexp): Adjust regexps accordingly.
19096 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19098 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19100 * net/gnutls.el (gnutls-errorp): Declare before first use.
19102 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19104 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19105 verify-error, and verify-hostname-error parameters. Check whether
19106 default trustfile exists before going to use it. Add missing
19107 argument to gnutls-message-maybe call. Return value.
19108 Reported by Claudio Bley <claudio.bley@gmail.com>.
19109 (open-gnutls-stream): Add usage example.
19111 * net/network-stream.el (network-stream-open-starttls): Give host
19112 parameter to `gnutls-negotiate'.
19113 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19114 * subr.el (shell-quote-argument): Escape correctly under Windows.
19116 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19118 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19119 Use correct match group (bug#8438).
19121 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19123 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19124 (package-menu--generate): New arg specifying packages to show.
19125 (package-menu-refresh, package-menu-execute, list-packages):
19127 (package-show-package-list): New function, replacing deleted
19128 package--list-packages (renamed because it is non-internal).
19130 * finder.el (finder-list-matches): Use package-show-package-list
19131 instead of deleted package--list-packages.
19133 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19134 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19135 (vc-annotate-mode-map): Bind it to RET.
19137 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19139 * progmodes/etags.el (next-file): Don't use set-buffer to change
19140 buffers (Bug#8478).
19142 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19144 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19146 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19147 (apropos-accumulator): Doc fix.
19148 (apropos-function, apropos-macro, apropos-command)
19149 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19150 (apropos-plist): Add face property.
19151 (apropos-symbols-internal): Fix indentation.
19152 (apropos-print): Simplify help, and recognize apropos-multi-type.
19153 (apropos-print-doc): Use button-type-get to extract the button's
19154 face property. Fill docstring (Bug#8352).
19156 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19158 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19160 * play/mpuz.el (mpuz-silent): Doc fix.
19161 (mpuz-mode-map): Use mapc.
19162 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19163 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19164 Fix typos in docstrings.
19166 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19167 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19169 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19171 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19173 * minibuffer.el (completion--do-completion): Avoid the "Next char
19174 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19176 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19177 mouse-2 into unread-command-events, it is interpreted correctly.
19179 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19180 (image-toggle-display): Doc fix.
19182 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19184 * textmodes/page.el (what-page): Use line-number-at-pos to
19185 calculate line number (Bug#6825).
19187 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19189 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19190 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19191 Pass argument NO-DEFAULT to `find-tag-interactive'.
19193 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19195 Lexical-binding cleanup.
19197 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19198 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19199 * progmodes/ada-prj.el (ada-prj-initialize-values)
19200 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19201 (ada-prj-show-value):
19202 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19203 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19204 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19205 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19206 * progmodes/bug-reference.el (bug-reference-push-button):
19207 * progmodes/fortran.el (fortran-line-length):
19208 * progmodes/glasses.el (glasses-change):
19209 * progmodes/octave-mod.el (octave-fill-paragraph):
19210 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19211 (python-pdbtrack-grub-for-buffer, python-sentinel):
19212 * progmodes/sql.el (sql-save-connection):
19213 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19214 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19215 Mark unused parameters.
19217 * progmodes/compile.el (compilation--flush-directory-cache)
19218 (compilation--flush-parse, compile-internal): Mark unused parameters.
19219 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19220 (compilation-next-error-function): Remove unused variable `timestamp'.
19222 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19223 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19225 * progmodes/dcl-mode.el (dcl-end-of-command):
19226 Remove unused variable `start'.
19227 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19228 (dcl-option-value-basic, dcl-option-value-offset)
19229 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19230 Mark unused parameters.
19231 (dcl-save-local-variable): Remove unused variable `val'.
19234 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19235 Mark unused parameters.
19236 (delphi-ignore-changes): Move before first use.
19237 (delphi-charset-token-at): Remove unused variable `start'.
19238 (delphi-else-start): Remove unused variable `if-count'.
19239 (delphi-comment-block-start, delphi-comment-block-end):
19240 Remove unused variable `kind'.
19241 (delphi-indent-line): Remove unused variable `new-point'.
19243 * progmodes/ebrowse.el (ebrowse-files-list)
19244 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19245 Mark unused parameters. Don't quote `lambda'.
19246 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19247 Don't quote `lambda'.
19248 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19249 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19250 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19251 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19252 Use `ignore-errors'.
19253 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19254 (ebrowse-view/find-file-and-search-pattern)
19255 (ebrowse-view/find-member-declaration/definition):
19256 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19257 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19258 Rename parameter PREFIX-ARG to PREFIX.
19259 (ebrowse-tags-read-name): Remove unused variables `start' and
19261 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19264 * progmodes/etags.el (local-find-tag-hook): Declare.
19265 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19266 Mark unused parameters.
19268 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19269 (executable-interpret): Mark unused parameter.
19271 * progmodes/flymake.el (flymake-process-sentinel)
19272 (flymake-after-change-function)
19273 (flymake-create-temp-with-folder-structure)
19274 (flymake-get-include-dirs-dot): Mark unused parameters.
19275 (flymake-safe-delete-directory): Remove unused variable `err'.
19277 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19278 (speedbar-timer-fn, speedbar-line-text)
19279 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19280 (speedbar-center-buffer-smartly): Declare functions.
19281 (gdb-find-watch-expression): Remove unused variable `array'.
19282 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19283 (gdb-starting): Mark unused parameters.
19284 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19285 (gdb-table-string): Remove unused variable `res'.
19286 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19287 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19288 (gdb-display-buffer): Remove unused variable `cur-size'.
19290 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19291 allow lexical-binding compilation.
19292 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19293 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19294 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19295 Mark unused parameters.
19296 (gud-gdb-marker-filter): Remove unused variable `match'.
19297 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19298 lambda expressions and funcall them, instead of using `fset'.
19300 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19301 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19303 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19304 variable `header-beg'; use `let'.
19306 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19307 `restart', `last-sexp' and `at-do'.
19309 * progmodes/js.el (js--debug): Mark unused parameter.
19310 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19311 (js--splice-into-items): Remove unused variable `item'.
19312 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19314 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19315 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19316 (makefile-complete): Remove unused variable `try'.
19317 (makefile-fill-paragraph, makefile-match-function-end):
19318 Mark unused parameters.
19320 * progmodes/octave-inf.el (inferior-octave-complete):
19321 Remove unused variable `proc'.
19322 (inferior-octave-output-digest): Mark unused parameter.
19324 * progmodes/perl-mode.el (perl-calculate-indent):
19325 Remove unused variable `err'.
19327 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19328 (prolog-indent-line): Mark unused parameters.
19329 (prolog-indent-line): Remove unused variable `beg'.
19331 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19332 (reporter-dont-compact-list): Declare.
19334 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19335 Remove unused variable `char'.
19336 (sh-debug): Mark unused parameter.
19337 (sh-get-indent-info): Remove unused variable `start'.
19338 (sh-calculate-indent): Remove unused variable `var'.
19340 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19341 (simula-electric-keyword): Remove unused variable `null'.
19342 (simula-search-backward, simula-search-forward): Remove unused
19343 variables `begin' and `end'.
19345 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19346 Remove unused variable `pos'.
19347 (vera-electric-tab, vera-comment-uncomment-region):
19348 Mark unused parameters.
19349 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19351 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19353 * emacs-lisp/package.el (package--builtins, package-alist)
19354 (package-load-descriptor, package-built-in-p, package-activate)
19355 (define-package, package-installed-p)
19356 (package-compute-transaction, package-buffer-info)
19357 (package--push): Doc fix. Distinguish more clearly between
19358 version strings and version lists.
19360 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19362 Lexical-binding cleanup.
19364 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19365 (5x5-make-mutate-best):
19366 * play/fortune.el (fortune-in-buffer):
19367 * play/gomoku.el (gomoku-init-display):
19368 * play/solitaire.el (solitaire, solitaire-do-check):
19369 * play/tetris.el (tetris-default-update-speed-function):
19370 Mark unused parameters.
19372 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19373 (bubbles--shift): Remove unused variable `char-org'.
19374 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19375 (bubbles--show-images): Remove unused variable `char'.
19377 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19378 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19379 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19380 (decipher-analyze-buffer): Use ?\s.
19381 (decipher-make-checkpoint): Remove unused variable `mapping'.
19383 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19385 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19386 Remove unused variable `result'; use `let'.
19388 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19389 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19390 (gametree-children-shown-p, gametree-compute-reduced-score):
19391 Use `ignore-errors'.
19393 * play/handwrite.el (ps-lpr-switches): Declare.
19394 (handwrite): Remove unused variables `pmin' and `lastp'.
19396 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19398 * play/landmark.el (landmark-init-display)
19399 (landmark-update-naught-weights): Mark unused parameters.
19400 (landmark-y): Remove unused variable `noise'. Simplify.
19401 (landmark-human-plays): Remove unused variable `score'.
19403 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19404 (mpuz-try-proposal): Remove unused variable `game'.
19406 * play/zone.el (life-patterns): Declare.
19408 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19410 * vc/vc.el (ediff-vc-internal): Declare function.
19412 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19414 * shell.el: Use lexical-binding and std completion UI.
19415 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19416 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19417 comint-preoutput-filter-functions rather than on
19418 comint-output-filter-functions.
19419 (shell-command-completion, shell--command-completion-data)
19420 (shell-filename-completion, shell-environment-variable-completion)
19421 (shell-c-a-p-replace-by-expanded-directory): New functions.
19422 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19423 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19424 (shell-dynamic-complete-environment-variable): Use them.
19425 (shell-dynamic-complete-as-environment-variable)
19426 (shell-dynamic-complete-as-command): Remove.
19427 (shell-match-partial-variable): Match past point.
19428 * comint.el: Clean up use of completion-at-point-functions.
19429 (comint-completion-at-point): New function.
19430 (comint-mode): Use it completion-at-point-functions.
19431 (comint-dynamic-complete): Make it obsolete.
19432 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19433 (comint-c-a-p-replace-by-expanded-history): New function.
19434 (comint-dynamic-complete-functions)
19435 (comint-replace-by-expanded-history): Use it.
19436 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19437 termination strings. Try harder to avoid second try-completion.
19438 (completion-in-region-mode-map): Disable bindings that don't work yet.
19440 * comint.el: Use lexical-binding. Require CL.
19441 (comint-dynamic-complete-functions): Use comint-filename-completion.
19442 (comint-completion-addsuffix): Tweak custom type.
19443 (comint-filename-completion, comint--common-suffix)
19444 (comint--common-quoted-suffix, comint--table-subvert)
19445 (comint--complete-file-name-data): New functions.
19446 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19447 (comint-dynamic-list-filename-completions): Use them.
19448 (comint-dynamic-simple-complete): Make obsolete.
19450 * minibuffer.el (completion-in-region-mode):
19451 Keep completion-in-region-mode--predicate global.
19452 (completion-in-region--postch):
19453 Assume completion-in-region-mode--predicate is not null.
19455 * progmodes/flymake.el (flymake-start-syntax-check-process):
19456 Obey `dir'. Simplify.
19458 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19459 we're in VC after all.
19461 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19463 * vc/vc.el (vc-diff-build-argument-list-internal)
19464 (vc-version-ediff, vc-ediff): New commands.
19465 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19467 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19469 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19472 * obsolete/erc-hecomplete.el: Make obsolete.
19473 * obsolete/: Standardize obsolescence info in the header.
19475 2011-04-20 Glenn Morris <rgm@gnu.org>
19477 * calendar/solar.el (solar-horizontal-coordinates):
19478 Use the longitude argument rather than `calendar-longitude'.
19479 (solar-date-next-longitude): Remove unused locals.
19481 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19483 * whitespace.el: New version 13.2.1.
19485 2011-04-20 felix <EmacsWiki> (tiny change)
19487 * whitespace.el (global-whitespace-mode): Keep highlight when
19488 switching between major modes on a file.
19490 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19492 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19493 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19494 multi-line comments as well.
19496 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19498 Lexical-binding cleanup.
19500 * arc-mode.el (archive-mode-revert):
19501 * cmuscheme.el (scheme-interactively-start-process):
19502 * custom.el (custom-initialize-delay):
19503 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19504 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19505 * emacs-lock.el (emacs-lock-clear-sentinel):
19506 * ezimage.el (defezimage):
19507 * follow.el (follow-avoid-tail-recenter):
19508 * fringe.el (set-fringe-mode-1):
19509 * generic-x.el (bat-generic-mode-compile):
19510 * help-mode.el (help-info-variable, help-do-xref)
19511 (help-mode-revert-buffer):
19512 * help.el (view-emacs-todo):
19513 * iswitchb.el (iswitchb-completion-help):
19514 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19515 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19516 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19517 * locate.el (locate-update):
19518 * longlines.el (longlines-encode-region)
19519 (longlines-after-change-function):
19520 * outline.el (outline-isearch-open-invisible):
19521 * ps-def.el (declare-function, charset-dimension, char-width)
19523 * ps-mule.el (ps-mule-plot-string):
19524 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19525 (recentf-edit-list-select, recentf-edit-list-validate)
19526 (recentf-open-files-action):
19527 * rect.el (delete-whitespace-rectangle-line)
19528 (rectangle-number-line-callback):
19529 * register.el (window-configuration-to-register)
19530 (frame-configuration-to-register):
19531 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19532 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19533 (xselect-convert-to-targets, xselect-convert-to-delete)
19534 (xselect-convert-to-filename, xselect-convert-to-charpos)
19535 (xselect-convert-to-lineno, xselect-convert-to-colno)
19536 (xselect-convert-to-os, xselect-convert-to-host)
19537 (xselect-convert-to-user, xselect-convert-to-class)
19538 (xselect-convert-to-name, xselect-convert-to-integer)
19539 (xselect-convert-to-atom, xselect-convert-to-identity):
19540 * subr.el (declare, ignore, process-kill-without-query)
19541 (text-clone-maintain):
19542 * terminal.el (te-get-char, te-tic-sentinel):
19543 * tool-bar.el (tool-bar-make-keymap):
19544 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19545 * type-break.el (type-break-mode, type-break-noninteractive-query):
19546 * view.el (View-back-to-mark):
19547 * wid-browse.el (widget-browse-action, widget-browse-widget)
19548 (widget-browse-widgets, widget-browse-sexp):
19549 * widget.el (define-widget-keywords):
19550 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19551 Mark unused parameters.
19553 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19554 (align-areas): Remove unused variable `look'.
19555 (align-region): Remove unused variables `real-end' and `pos-list'.
19557 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19559 * bindings.el (mode-line-modified, mode-line-remote):
19560 Mark unused parameters.
19561 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19563 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19564 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19566 * comint.el (comint-history-isearch-pop-state)
19567 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19568 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19569 (comint-substitute-in-file-name): Doc fix.
19571 * completion.el (cmpl-statistics-block): Mark unused parameter.
19572 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19573 (save-completions-to-file, load-completions-from-file):
19574 Remove unused local variable `e'.
19576 * composite.el (compose-chars): Remove unused variable `len'.
19577 (lgstring-insert-glyph): Remove unused variable `g'.
19578 (compose-glyph-string): Remove unused variables `ascent',
19579 `descent', `lbearing' and `rbearing'.
19580 (compose-glyph-string-relative): Remove unused variables
19581 `lbearing', `rbearing' and `wadjust'.
19582 (compose-gstring-for-graphic): Remove unused variables `header',
19583 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19584 (compose-gstring-for-terminal): Remove unused variables `header'
19585 and `nchars'. Use `let', not `let*'.
19587 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19588 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19589 (Custom-buffer-done, custom-buffer-create-internal)
19590 (custom-browse-visibility-action, custom-browse-group-tag-action)
19591 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19592 (widget-magic-mouse-down-action, custom-toggle-parent)
19593 (custom-add-parent-links, custom-toggle-hide-variable)
19594 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19595 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19596 (custom-face-menu-create, custom-variable-menu-create, get)
19597 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19598 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19599 (customize-apropos): Remove unused variable `tests'.
19600 (custom-group-value-create): Remove unused variable `hidden-p'.
19601 (sort-fold-case): Declare.
19603 * cus-theme.el (custom-reset-standard-faces-list)
19604 (custom-reset-standard-variables-list): Declare.
19605 (customize-create-theme, custom-theme-revert, custom-theme-write)
19606 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19607 Mark unused parameters.
19609 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19611 * delim-col.el (delimit-columns-max): Move defvar before first use.
19613 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19614 (describe-char): Don't quote `lambda'. Mark unused parameter.
19616 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19617 (auto-insert): Declare.
19618 (desktop-restore-file-buffer): Rename desktop-* parameters;
19620 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19621 (desktop-buffer): Rename desktop-* parameters.
19623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19624 (dframe-reposition-frame-xemacs, dframe-help-echo)
19625 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19626 Mark unused parameters.
19628 * dired-aux.el (backup-extract-version-start, overwrite-query)
19629 (overwrite-backup-query, rename-regexp-query)
19630 (rename-non-directory-query): Declare.
19631 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19632 (dired-add-entry): Remove unused variable `orig-file-name'.
19633 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19634 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19635 `dired-copy-preserve-time' directly.
19636 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19637 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19639 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19640 (dired-virtual-revert, dired-make-relative-symlink):
19641 Mark unused parameters.
19642 (manual-program): Declare.
19643 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19644 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19645 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19647 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19649 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19651 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19654 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19656 * electric.el (Electric-command-loop): Rename parameter
19657 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19659 * expand.el (expand-in-literal): Remove unused variable `here'.
19661 * facemenu.el (facemenu-add-new-color):
19662 Remove unused variable `docstring'.
19664 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19665 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19666 (face-attr-construct): Mark unused parameter. Doc fix.
19667 (read-color): Remove unused variable `hex-string'.
19669 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19670 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19671 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19672 (display-buffer-other-frame): Remove unused variable `old-window'.
19673 (kill-buffer-hook): Declare.
19674 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19675 Mark unused parameters.
19676 (after-find-file): Pass 1 to `auto-save-mode', not t.
19678 * files-x.el (auto-insert): Declare.
19679 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19681 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19682 variable `buf'. Mark unused parameter.
19683 (find-lisp-insert-directory): Mark unused parameter.
19685 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19686 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19687 (format-common-tail): Remove, unused.
19688 (format-deannotate-region): Remove unused variable `loc'.
19689 (format-annotate-region): Remove unused variable `p'.
19690 (format-annotate-single-property-change): Remove unused variables
19691 `default' and `tail'.
19693 * forms.el (read-file-filter): Declare.
19694 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19696 * frame.el (frame-creation-function-alist): Mark unused parameter.
19697 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19699 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19700 Remove unused parameters.
19701 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19702 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19704 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19705 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19706 (hfy-prepare-tag-map): Mark unused parameters.
19707 (htmlfontify-buffer): Use `called-interactively-p'.
19709 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19710 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19711 (ibuffer-do-occur): Mark unused parameters.
19712 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19713 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19715 * ibuffer.el: Don't quote `lambda'.
19716 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19717 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19718 Mark unused parameters.
19720 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19721 (ido-completing-read): Mark unused parameters.
19722 (ido-copy-current-word): Mark unused parameters;
19723 remove unused variable `name'.
19724 (ido-sort-merged-list): Remove unused parameter `dirs'.
19726 * ielm.el (ielm-input-sender): Mark unused parameter.
19727 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19728 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19729 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19730 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19731 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19733 * image-dired.el (image-dired-display-thumbs): Remove unused
19734 variables `curr-file' and `count'.
19735 (image-dired-remove-tag): Remove unused variable `start'.
19736 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19737 variable `curr-file'
19738 (image-dired-rotate-original): Remove unused variable `temp-file'.
19739 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19740 Remove unused variable `file'.
19741 (image-dired-gallery-generate): Remove unused variable `curr'.
19742 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19744 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19746 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19748 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19750 * isearch.el (minibuffer-history-symbol): Declare.
19751 (isearch-edit-string): Remove unused variable `err'.
19752 (isearch-message-prefix, isearch-message-suffix):
19753 Mark unused parameters.
19755 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19757 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19759 * makesum.el (double-column): Remove unused variable `cnt'.
19761 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19762 (ido-ignore-item-temp-list): Declare.
19764 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19765 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19766 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19767 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19770 * mouse-sel.el (mouse-extend-internal):
19771 Remove unused variable `orig-window-frame'.
19773 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19774 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19775 Move declarations before first use.
19776 (pcomplete-opt): Mark unused parameters; doc fix.
19778 * proced.el (proced-revert): Mark unused parameter.
19779 (proced-send-signal): Remove unused variable `err'.
19781 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19782 Rename parameter PREFIX-ARG to ARG.
19783 (ps-basic-plot-string, ps-basic-plot-whitespace):
19784 Mark unused parameters.
19786 * replace.el (replace-count): Define.
19787 (occur-revert-function): Mark unused parameters.
19788 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19789 (isearch-case-fold-search, isearch-string): Declare.
19790 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19791 bind `case-fold-search'. Remove unused variables `beg' and `end',
19793 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19794 COUNT and bind `replace-count'.
19795 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19798 * savehist.el (print-readably, print-string-length): Declare.
19800 * shadowfile.el (shadow-expand-cluster-in-file-name):
19801 Remove unused variable `cluster'.
19802 (shadow-copy-file): Remove unused variable `i'.
19803 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19804 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19805 (shadow-define-literal-group, shadow-define-regexp-group)
19806 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19808 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19809 (shell): Use `called-interactively-p'.
19810 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19812 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19813 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19814 (delete-backward-char): Remove unused variable `ocol'.
19815 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19816 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19817 (event-apply-hyper-modifier, event-apply-shift-modifier)
19818 (event-apply-control-modifier, event-apply-meta-modifier):
19819 Mark unused parameters.
19820 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19821 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19823 * speedbar.el (speedbar-ignored-directory-expressions)
19824 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19825 (speedbar-find-file, speedbar-dir-follow)
19826 (speedbar-directory-buttons-follow, speedbar-tag-find)
19827 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19828 (speedbar-buffers-line-directory, speedbar-buffer-click):
19829 Mark unused parameters.
19830 (speedbar-tag-file): Remove unused variable `mode'.
19831 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19833 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19835 * talk.el (talk): Remove unused variable `display'.
19837 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19838 (tar-write-region-annotate): Mark unused parameter.
19840 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19841 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19842 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19843 warning by another.
19845 * time-stamp.el (time-stamp-string-preprocess):
19846 Remove unused variable `require-padding'.
19848 * tree-widget.el (widget-glyph-enable): Declare.
19849 (tree-widget-action): Mark unused parameter.
19851 * w32-fns.el (x-get-selection): Mark unused parameter.
19852 (autoload-make-program, generated-autoload-file): Declare.
19854 * wdired.el (wdired-revert): Mark unused parameters.
19855 (wdired-xcase-word): Remove unused variable `err'.
19857 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19858 (whitespace-help-scroll): Remove unused variable `data-help'.
19860 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19861 (widget-image-insert, widget-after-change, default)
19862 (widget-default-format-handler, widget-default-notify)
19863 (widget-default-prompt-value, widget-info-link-action)
19864 (widget-url-link-action, widget-function-link-action)
19865 (widget-variable-link-action, widget-file-link-action)
19866 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19867 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19868 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19869 (widget-insert-button-action, widget-delete-button-action, visibility)
19870 (widget-documentation-link-action, widget-documentation-string-action)
19871 (widget-const-prompt-value, widget-regexp-match, symbol)
19872 (widget-coding-system-prompt-value)
19873 (widget-key-sequence-value-to-external, sexp)
19874 (widget-sexp-value-to-internal, character, vector, cons)
19875 (widget-choice-prompt-value, widget-boolean-prompt-value)
19876 (widget-color--choose-action): Mark unused parameters.
19877 (widget-item-match-inline, widget-choice-match-inline)
19878 (widget-checklist-match, widget-checklist-match-inline)
19879 (widget-group-match): Rename parameter VALUES to VALS.
19880 (widget-field-value-set): Remove unused variable `size'.
19881 (widget-color-action): Remove unused variables `value' and `start'.
19883 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19884 variable `dir'. Doc fix.
19885 (windmove-find-other-window): Don't pass it.
19887 * window.el (count-windows): Mark unused parameter.
19888 (bw-adjust-window): Remove unused variable `err'.
19890 * woman.el (woman-file-name): Remove unused variable `default'.
19891 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19892 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19893 (global-font-lock-mode): Declare.
19894 (woman-decode-region): Mark unused parameter.
19895 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19897 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19898 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19899 (x-dnd-handle-moz-url): Remove unused variable `title'.
19900 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19902 * xml.el (xml-parse-tag, xml-parse-attlist):
19903 Remove unused variable `pos'.
19905 2011-04-19 Glenn Morris <rgm@gnu.org>
19907 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19908 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19909 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19910 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19911 * calendar/cal-html.el (cal-html-insert-minical):
19912 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19913 (calendar-mark-date-pattern):
19914 Prefix "unused" locals.
19916 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19917 optional argument `style'.
19919 * calendar/appt.el (appt-make-list):
19920 * calendar/cal-china.el (calendar-chinese-date-string):
19921 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19922 (diary-hebrew-yahrzeit):
19923 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19924 * calendar/calendar.el (calendar-generate-window):
19925 * calendar/time-date.el (time-to-days):
19926 Remove unused local variables.
19928 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19930 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19931 glyphless-char-display table.
19932 (tabulated-list-glyphless-char-display): New var.
19934 2011-04-18 Sam Steingold <sds@gnu.org>
19936 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19937 to acknowledgments.
19939 2011-04-17 Glenn Morris <rgm@gnu.org>
19941 * calendar/diary-lib.el (diary-sexp-entry):
19942 * calendar/holidays.el (holiday-sexp):
19943 Set debug-on-error rather than the removed stack-trace-on-error.
19945 2011-04-16 Glenn Morris <rgm@gnu.org>
19947 * progmodes/f90.el: Use lexical-binding.
19948 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19950 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19952 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19953 (mail-mode): Setup mailalias completion here instead.
19954 * mail/mailalias.el: Use lexical-binding.
19955 (pattern, mailalias-done): Declare dynamic.
19956 (mail-completion-at-point-function): New function, from mail-complete.
19957 (mail-complete): Use it.
19958 (mail-completion-expand): New function.
19959 (mail-get-names): Use it.
19960 (mail-directory, mail-directory-process, mail-directory-stream):
19961 Don't use `pattern' for lexically bound arg.
19963 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19965 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19966 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19967 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19969 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19970 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19971 (byte-interactive-p): Define them again, for use when inlining
19974 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19976 * loadup.el: Use `string-to-number', not `string-to-int'.
19978 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19980 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19981 gud-gdb-complete-command.
19982 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19983 (gud-gdb-completion-at-point): New function.
19984 (gud-gdb-completions): Remove.
19986 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19988 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19989 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19990 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19991 whether `executable-find' is bound.
19993 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19995 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19997 * minibuffer.el (completion-in-region-mode-predicate)
19998 (completion-in-region-mode--predicate): New vars.
19999 (completion-in-region, completion-in-region--postch)
20000 (completion-in-region-mode): Use them.
20001 (completion--capf-wrapper): Also return the hook function.
20002 (completion-at-point, completion-help-at-point):
20003 Adjust and provide a predicate.
20005 Preserve arg names for advice of subr and lexical functions (bug#8457).
20006 * help-fns.el (help-function-arglist): Consolidate the subr and
20007 new-byte-code cases. Add argument `preserve-names' to extract names
20008 from the docstring when needed.
20009 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20010 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20011 (ad-arglist): Use help-function-arglist's new arg.
20012 (ad-definition-type): Use cond.
20014 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20016 * autorevert.el (auto-revert-handler):
20017 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20018 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20019 Don't quote lambda.
20021 * image-mode.el (image-transform-set-scale):
20022 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20024 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20026 * net/network-stream.el (network-stream-open-starttls): Only do
20027 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20028 Upgrades via gnutls-cli are too slow to be done opportunistically.
20030 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20032 * dframe.el (dframe-current-frame): Remove spurious quote.
20034 2011-04-12 Glenn Morris <rgm@gnu.org>
20036 * calendar/cal-tex.el (cal-tex-end-document):
20037 Try to automatically use latin1 input if needed.
20039 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20040 Don't try to cons a mark onto an empty element.
20042 2011-04-11 Leo Liu <sdl.web@gmail.com>
20044 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20046 (ido-kill-buffer-at-head): Support killing virtual buffers.
20048 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20050 * minibuffer.el (completion-show-inline-help): New var.
20051 (completion--do-completion, minibuffer-complete)
20052 (minibuffer-force-complete, minibuffer-complete-word):
20053 Inhibit minibuffer messages if completion-show-inline-help is nil.
20055 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20056 to avoid interference from inline help (Bug#5849).
20058 2011-04-10 Leo Liu <sdl.web@gmail.com>
20060 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20063 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20065 * image-mode.el (image-toggle-display-image): Signal an error if
20067 (image-transform-mode, image-transform-resize)
20068 (image-transform-set-rotation): Doc fix.
20069 (image-transform-set-resize): Delete.
20070 (image-transform-set-scale, image-transform-fit-to-height)
20071 (image-transform-fit-to-width): Handle image-toggle-display-image
20072 and image-transform-resize directly.
20074 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20076 * doc-view.el (doc-view-fit-width-to-window)
20077 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20078 New functions for fitting the shown image to the Emacs window size.
20079 (doc-view-mode-map): Add bindings for the new functions.
20081 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20083 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20084 Fix typo in docstring.
20086 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20088 * files.el (file-size-human-readable): Produce one digit after
20089 decimal, like "ls -lh" does.
20091 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20092 the file size representation.
20094 * simple.el (list-processes): If async subprocesses are not
20095 available, error out with a clear error message.
20097 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20099 * help.el (help-form-show): New function, to be called from C.
20100 Put help-form output in a buffer named differently than *Help*.
20102 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20104 * files.el (file-size-human-readable): New function.
20106 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20107 computing the representation inline. Don't require `cl'.
20109 2011-04-08 Glenn Morris <rgm@gnu.org>
20111 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20113 * net/browse-url.el (browse-url-firefox):
20114 Test system-type, not system-configuration.
20116 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20117 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20118 Use log-edit-empty-buffer-p. (Bug#7598)
20120 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20121 (rlogin-mode-map): Initialize in the defvar.
20122 (rlogin): Use ignore-errors.
20124 * replace.el (occur-mode-map): Some fixes for menu items.
20126 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20128 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20130 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20132 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20133 issuing unused warnings.
20135 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20138 * simple.el: Lisp reimplement of list-processes. Based on an
20139 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20140 (process-menu-mode): New major mode.
20141 (list-processes--refresh, list-processes):
20142 (process-menu-visit-buffer): New functions.
20144 * files.el (save-buffers-kill-emacs): Don't assume any return
20145 value of list-processes, which is undocumented anyway.
20147 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20149 * emacs-lisp/tabulated-list.el: New file.
20151 * emacs-lisp/package.el: Use Tabulated List mode.
20152 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20153 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20154 table format using Tabulated List mode variables.
20155 (package--push): New macro, replacing package-list-maybe-add.
20156 (package-menu--generate): Use package--push. Renamed from
20157 package--generate-package-list.
20158 (package-menu-refresh, list-packages): Use it.
20159 (package-menu--print-info): Rename from package-print-package.
20160 Return insertion data instead of inserting it directly.
20161 (package-menu-describe-package, package-menu-execute):
20162 Use tabulated-list-get-id.
20163 (package-menu-mark-delete, package-menu-mark-install)
20164 (package-menu-mark-unmark, package-menu-backup-unmark)
20165 (package-menu-mark-obsolete-for-deletion):
20166 Use tabulated-list-put-tag.
20167 (package--list-packages, package-menu-revert)
20168 (package-menu-get-package, package-menu-get-version)
20169 (package-menu-sort-by-column): Functions deleted.
20170 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20171 (package-menu--status-predicate, package-menu--version-predicate)
20172 (package-menu--name-predicate)
20173 (package-menu--description-predicate): Handle arguments in the
20174 Tabulated List format.
20175 (package-list-packages-no-fetch): Call list-packages.
20177 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20179 * files.el (after-find-file-from-revert-buffer): Remove variable.
20180 (after-find-file): Don't bind it.
20181 (revert-buffer-in-progress-p): New variable.
20182 (revert-buffer): Bind it.
20183 Pass nil for `after-find-file-from-revert-buffer'.
20185 * saveplace.el (save-place-find-file-hook): Use new variable
20186 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20188 2011-04-06 Glenn Morris <rgm@gnu.org>
20190 * Makefile.in (AUTOGEN_VCS): New variable.
20191 (autoloads): Use $AUTOGEN_VCS.
20193 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20194 * calendar/calendar.el (calendar-mode-map):
20195 Check for toolkit scroll bars. (Bug#8305)
20197 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20199 * minibuffer.el (completion-in-region--postch)
20200 (completion-in-region-mode): Remove unnecessary messages.
20202 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20204 * font-lock.el (font-lock-refresh-defaults):
20205 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20206 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20208 * info.el (Info-directory-list, Info-read-node-name-2)
20209 (Info-split-parameter-string): Doc fixes.
20210 (Info-virtual-nodes): Reflow docstring.
20211 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20212 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20213 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20214 Fix typos in docstrings.
20215 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20216 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20217 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20218 (Info-restore-desktop-buffer): Mark unused parameters.
20219 (Info-directory-find-file, Info-directory-find-node)
20220 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20221 (Info-virtual-index-find-node, Info-apropos-find-file)
20222 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20223 Mark unused parameters; fix typos in docstrings.
20224 (Info-virtual-index): Remove unused local variable `nodename'.
20226 2011-04-05 Deniz Dogan <deniz@dogan.se>
20228 * net/rcirc.el: Update my e-mail address.
20229 (rcirc-mode-map): Remove M-o binding.
20231 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20233 * startup.el (command-line): Save the cursor's theme-face
20234 directly, instead of using face-override-spec.
20236 * custom.el (load-theme): Minor optimization in assigning faces.
20238 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20240 * help-fns.el (describe-variable): Complete all variables having
20241 documentation, including keywords.
20242 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20244 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20246 Convert to lexical-binding.
20248 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20249 (bs--get-marked-string, bs--get-modified-string)
20250 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20251 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20252 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20254 * ehelp.el (electric-help-execute-extended)
20255 (electric-help-ctrl-x-prefix):
20256 * hexl.el (hexl-revert-buffer-function):
20257 * linum.el (linum-after-change, linum-after-scroll):
20258 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20260 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20262 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20269 * epg.el: Use lexical binding.
20271 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20273 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20275 * textmodes/flyspell.el (flyspell-word): Recognize default
20276 dictionary case for flyspell-mark-duplications-exceptions.
20277 Use regexp matching for languages.
20278 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20279 default dictionary (Bug#7926).
20281 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20283 * emacs-lisp/package.el (package--with-work-buffer):
20284 Recognize https URLs.
20286 * net/network-stream.el: Move from gnus/proto-stream.el.
20287 Change prefix to network-stream throughout.
20288 (open-protocol-stream): Merge into open-network-stream, leaving
20289 open-protocol-stream as an alias. Handle nil BUFFER args.
20291 * subr.el (open-network-stream): Move to net/network-stream.el.
20293 2011-04-02 Glenn Morris <rgm@gnu.org>
20295 * find-dired.el (find-exec-terminator): New option.
20296 (find-ls-option): Test for -ls support.
20297 (find-ls-subdir-switches): Test for -b in find-ls-option.
20298 (find-dired, find-grep-dired): Doc fixes.
20299 (find-dired): Use find-exec-terminator.
20301 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20302 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20303 (find-name-arg): Remove purecopy.
20305 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20306 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20307 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20308 accordingly. Don't add the null-device if not needed.
20310 * files.el (save-some-buffers): Doc fix.
20312 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20314 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20316 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20318 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20319 Use `dolist' rather than `mapcar'.
20321 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20323 Add lexical binding.
20325 * subr.el (apply-partially): Use new closures rather than CL.
20326 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20327 (dolist, dotimes): Use slightly different expansion for lexical code.
20328 (functionp): Move to C.
20329 (letrec): New macro.
20330 (with-wrapper-hook): Use it and apply-partially instead of CL.
20331 (eval-after-load): Preserve lexical-binding.
20332 (save-window-excursion, with-output-to-temp-buffer): Turn them
20335 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20337 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20339 (help-add-fundoc-usage): Don't add `Not documented'.
20340 (help-function-arglist): Handle closures, subroutines, and new
20341 byte-code-functions.
20342 (help-make-usage): Remove leading underscores.
20343 (describe-function-1): Handle closures.
20344 (describe-variable): Use special-variable-p for completion.
20346 * files.el (lexical-binding): Declare safe.
20348 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20349 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20350 (pcase): Add `let' pattern.
20351 Change memoization so it actually works.
20352 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20353 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20356 * emacs-lisp/macroexp.el: Use lexical binding.
20357 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20358 Don't convert ' to #' without checking that it's indeed quoting
20361 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20362 Use eval-sexp-add-defvars.
20363 (eval-sexp-add-defvars): New fun.
20365 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20367 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20369 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20370 than the internal `byte-compile-lambda'.
20371 (defmethod): Don't hide code under quotes.
20372 (eieio-defmethod): New `code' argument.
20374 * emacs-lisp/eieio-comp.el: Remove.
20376 * emacs-lisp/edebug.el (edebug-eval-defun)
20377 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20378 (edebug-toggle): Avoid `eval'.
20380 * emacs-lisp/disass.el (disassemble-internal): Handle new
20382 (disassemble-1): Handle new byte codes.
20384 * emacs-lisp/cl.el (pushnew): Silence warning.
20386 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20387 (cl-byte-compile-throw): Remove.
20388 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20390 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20393 * emacs-lisp/cconv.el: New file.
20395 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20396 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20397 (byte-compile-initial-macro-environment):
20398 Handle declare-function here.
20399 (byte-compile--lexical-environment): New var.
20400 (byte-stack-ref, byte-stack-set, byte-discardN)
20401 (byte-discardN-preserve-tos): New lap codes.
20402 (byte-interactive-p): Don't use any more.
20403 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20405 (byte-compile-lapcode): Use them and handle new lap codes.
20406 (byte-compile-obsolete): Remove.
20407 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20408 (byte-compile-arglist-warn): Check late def of inlinable funs.
20409 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20410 since they should have been expanded by now.
20411 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20412 (byte-compile-from-buffer): Remove unused second arg.
20413 (byte-compile-preprocess): New function.
20414 (byte-compile-toplevel-file-form): New function to distinguish
20415 file-form calls from outside from file-form calls from hunk-handlers.
20416 (byte-compile-file-form): Simplify.
20417 (byte-compile-file-form-defsubst): Remove.
20418 (byte-compile-file-form-defmumble): Simplify now that
20419 byte-compile-lambda always returns a byte-code-function.
20420 (byte-compile): Preprocess.
20421 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20422 Remove, not used any more.
20423 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20424 (byte-compile-make-args-desc): New funs.
20425 (byte-compile-lambda): Handle lexical functions. Always return
20426 a byte-code-function.
20427 (byte-compile-reserved-constants): New var, to make up room for
20428 closed-over variables.
20429 (byte-compile-constants-vector): Obey it.
20430 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20431 (byte-compile-macroexpand-declare-function): New function.
20432 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20433 byte-code-functions.
20434 (byte-compile-form): Check obsolescence here.
20435 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20436 (byte-compile-variable-ref): Remove.
20437 (byte-compile-dynamic-variable-op): New fun.
20438 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20439 (byte-compile-variable-set): New funs.
20440 (byte-compile-discard): Add 2 args.
20441 (byte-compile-stack-ref, byte-compile-stack-set)
20442 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20443 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20444 macroexpand-all instead.
20445 (byte-compile-quote-form): Remove.
20446 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20447 (byte-compile-bind, byte-compile-unbind): New funs.
20448 (byte-compile-let): Handle let* and lexical binding.
20449 (byte-compile-let*): Remove.
20450 (byte-compile-catch, byte-compile-unwind-protect)
20451 (byte-compile-track-mouse, byte-compile-condition-case):
20452 Handle a new :fun-body form, used for lexical scoping.
20453 (byte-compile-save-window-excursion)
20454 (byte-compile-with-output-to-temp-buffer): Remove.
20455 (byte-compile-defun): Simplify.
20456 (byte-compile-stack-adjustment): New fun.
20457 (byte-compile-out): Use it.
20458 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20460 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20463 * emacs-lisp/byte-opt.el: Use lexical binding.
20464 (byte-inline-lapcode): Remove (to bytecomp).
20465 (byte-compile-inline-expand): Pay attention to inlining to/from
20466 lexically bound code.
20467 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20469 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20470 any more and don't call compiler-macros.
20471 (byte-compile-splice-in-already-compiled-code): Remove.
20472 (byte-code): Don't inline any more.
20473 (disassemble-offset): Receive `bytes' as argument rather than via
20475 (byte-compile-tag-number): Declare before first use.
20476 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20477 `return' even if make-spliceable.
20478 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20479 obsolete interactive-p.
20480 (byte-optimize-lapcode): Optimize new lap-codes.
20481 Don't trip up on new form of `byte-constant' lap code.
20483 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20485 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20487 * custom.el (custom-initialize-default, custom-declare-variable):
20490 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20492 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20493 (COMPILE_FIRST): Add macroexp and cconv.
20494 * makefile.w32-in: Mirror changes in Makefile.in.
20496 * vc/cvs-status.el:
20500 * vc/smerge-mode.el:
20501 * textmodes/bibtex-style.el:
20502 * textmodes/css-mode.el:
20510 * emacs-lisp/smie.el:
20513 * abbrev.el: Use lexical binding.
20515 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20517 * info.el (info-display-manual): New function.
20519 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20521 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20523 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20525 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20526 an entry for that server in rcirc-authinfo. (Bug#8385)
20528 2011-03-31 Glenn Morris <rgm@gnu.org>
20530 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20532 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20534 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20536 * progmodes/python.el (python-default-interpreter)
20537 (python-python-command-args, python-jython-command-args)
20538 (python-which-shell, python-which-args, python-which-bufname)
20539 (python-file-queue, python-comint-output-filter-function)
20540 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20541 variables and functions.
20543 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20545 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20546 (completion-in-region-mode): New minor mode.
20547 (completion-in-region): Use it.
20548 (completion-in-region--data, completion-in-region-mode-map): New vars.
20549 (completion-in-region--postch): New function.
20550 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20552 (completion--capf-wrapper): New function.
20553 (completion-at-point): Use it to track well-behavedness of
20555 (completion-help-at-point): New command.
20557 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20559 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20560 syntax class to search for whitespace on a single line
20561 (Message-ID: <4D938140.4030905@redhat.com>).
20563 2011-03-30 Leo Liu <sdl.web@gmail.com>
20565 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20567 (edit-abbrevs-map): Bind them here.
20568 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20570 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20572 * allout.el (allout-hide-by-annotation, allout-flag-region):
20573 Reduce possibility of overlay leakage by making them volatile.
20575 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20576 hash is not shared between buffers. Mode initialization is
20577 responsible for giving it a useful starting value.
20578 (allout-item-span): Reduce possibility of overlay leakage by
20579 making them volatile.
20580 (allout-widgets-count-buttons-in-region): Add diagnostic function
20581 for tracking down button overlay leaks.
20583 2011-03-29 Leo Liu <sdl.web@gmail.com>
20585 * ido.el (ido-read-internal): Use the default history var
20586 minibuffer-history if no HISTORY is specified.
20588 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20590 * net/imap.el (imap-shell-open, imap-process-connection-type):
20591 Use imap-process-connection-type for 'shell' streams as well as
20592 Kerberos, SSL, other subprocesses.
20594 2011-03-28 Leo Liu <sdl.web@gmail.com>
20596 * abbrev.el (abbrev-table-empty-p): New function.
20597 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20598 nonempty ones. (Bug#5937)
20600 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20602 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20604 2011-03-27 Leo Liu <sdl.web@gmail.com>
20606 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20607 for foreground and background colors.
20608 (ansi-color-make-color-map): Adapt.
20610 2011-03-25 Leo Liu <sdl.web@gmail.com>
20612 * midnight.el (midnight-time-float): Remove. Note it calculates
20613 the microsecond component incorrectly and seconds-to-time does the
20615 Remove redundant (require 'timer).
20617 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20618 (ido-completions): Remove unused arguments. (Bug#8329)
20620 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20622 * minibuffer.el (completion--flush-all-sorted-completions):
20623 Remove itself from hook.
20624 (completion-at-point): Let the functions perform the completion
20625 immediately and return nil or t.
20626 * comint.el (comint-dynamic-complete-functions): Now identical to
20627 completion-at-point-functions.
20628 (comint-dynamic-list-input-ring): Remove unused var `index'.
20629 (comint--match-partial-filename, comint--unquote&expand-filename):
20630 New funs, split from comint-match-partial-filename.
20631 (comint-dynamic-complete): Use completion-at-point.
20632 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20634 2011-03-24 Drew Adams <drew.adams@oracle.com>
20636 * thingatpt.el: Support `defun'.
20638 2011-03-23 Leo Liu <sdl.web@gmail.com>
20640 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20642 * help-mode.el (help-mode-finish): Tweak regexp.
20644 2011-03-23 Glenn Morris <rgm@gnu.org>
20646 * eshell/esh-opt.el (eshell-eval-using-options):
20647 Do not bind unused local variable `eshell-option-stub'.
20649 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20651 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20653 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20654 keymap variable in `with-no-warnings' to avoid a warning when the
20655 keymap has been already `defconst'ed.
20657 2011-03-22 Leo Liu <sdl.web@gmail.com>
20659 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20660 encode all chars in abbrevs; otherwise use emacs-mule or
20661 utf-8-emacs. (Bug#8308)
20663 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20665 * simple.el (backward-delete-char-untabify):
20666 Avoid warning about using `delete-backward-char'.
20668 * image.el (image-type-file-name-regexps): Make it variable.
20669 `imagemagick-register-types' modifies it, and the user may want
20670 to add new extensions for known image types.
20671 (imagemagick-register-types): Throw error if not using ImageMagick.
20673 2011-03-22 Leo Liu <sdl.web@gmail.com>
20675 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20676 located before rcirc-prompt-end-marker.
20677 (rcirc-complete): Error if point is not after rcirc prompt.
20678 Handle the case when table is nil.
20679 (rcirc-user-authenticated): Define to fix compiler warning.
20681 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20683 * custom.el (custom--inhibit-theme-enable): Make it affect only
20684 custom-theme-set-variables and custom-theme-set-faces.
20685 (provide-theme): Ignore custom--inhibit-theme-enable.
20686 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20687 (custom-enabling-themes): Delete variable.
20688 (enable-theme): Accept only loaded themes as arguments.
20689 Ignore the special custom-enabled-themes variable.
20690 (custom-enabled-themes): Forbid themes from setting this.
20691 Eliminate use of custom-enabling-themes.
20692 (custom-push-theme): Quote "changed" custom var entry.
20694 2011-03-21 Leo Liu <sdl.web@gmail.com>
20696 * ido.el (ido-read-internal): Add ido-selected to history instead
20699 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20701 * subr.el (deferred-action-list, deferred-action-function):
20704 2011-03-21 Leo Liu <sdl.web@gmail.com>
20706 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20707 change on 2011-02-13 (bug#8309).
20709 * minibuffer.el (read-file-name-function): Change default value.
20710 (read-file-name--defaults): Rename from read-file-name-defaults.
20711 (read-file-name-default): Rename from read-file-name.
20712 (read-file-name): Call read-file-name-function.
20714 2011-03-21 Glenn Morris <rgm@gnu.org>
20716 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20719 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20721 * cus-theme.el: Add missing provide statement.
20722 (customize-create-theme): Extract theme value correctly.
20723 (custom-theme-visit-theme): Autoload.
20724 (customize-create-theme): Prompt before inserting default faces.
20726 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20728 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20729 units and musical notes.
20731 2011-03-20 Leo Liu <sdl.web@gmail.com>
20733 * ido.el (ido-read-internal): Use completing-read-default.
20734 (ido-completing-read): Fix compatibility with completing-read.
20736 2011-03-20 Christian Ohler <ohler@gnu.org>
20738 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20739 (ert-delete-all-tests): Use `called-interactively-p' rather than
20741 (ert--make-xrefs-region): Respect END.
20743 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20745 * dired-aux.el (dired-create-directory): Signal an error if the
20746 directory already exists (Bug#8246).
20748 * facemenu.el (list-colors-display): Call list-faces-display
20749 inside with-help-window.
20750 (list-colors-print): Use display property to align the final
20751 column, instead of checking window-width.
20753 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20755 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20756 windows-nt systems.
20757 (emerge-protect-metachars): Quote correctly for ms-dos and
20758 windows-nt systems.
20760 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20762 * info.el (info-initialize): Replace all uses of `:' with
20763 path-separator for compatibility with non-Unix systems.
20764 Cache quoting of path-separator. (Bug#8258)
20766 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20768 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20769 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20770 (mouse-avoidance-mode): Fix typos in docstrings.
20772 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20774 * startup.el (package-subdirectory-regexp): Move from package.el.
20775 Omit \\` and \\', and let callers add them.
20777 * emacs-lisp/package.el (package-strip-version)
20778 (package-load-all-descriptors): Add \\` and \\' to
20779 package-subdirectory-regexp before using it.
20780 (package-untar-buffer): New arg DIR; ensure that file untars only
20781 into this expected directory. Remove superfluous delete-region.
20782 (package-unpack): Caller changed.
20783 (package-tar-file-info): Use package-subdirectory-regexp.
20785 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20787 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20788 diff-mode-shared-map (bug#8284).
20789 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20791 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20793 * calendar/time-date.el (format-seconds): Use assoc instead of
20794 assoc-string, since assoc-string doesn't exist in XEmacs.
20796 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20798 * custom.el (custom-known-themes): Reflow docstring.
20799 (custom-theme-load-path): Fix typo in docstring.
20800 (load-theme): Fix typo in error message.
20801 (custom-available-themes, custom-variable-theme-value):
20802 Use `let', not `let*'.
20804 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20806 * calc/README: Mention inclusion of musical notes.
20808 * calc/calc-units.el (calc-lu-quant): Rename from
20809 `calc-logunits-quantity'.
20810 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20811 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20812 (calc-db): Rename from `calc-dblevel'.
20813 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20814 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20815 (calc-np): Rename from `calc-nplevel'.
20816 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20817 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20818 (calc-lu-plus): Rename from `calc-logunits-add'.
20819 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20820 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20821 (calc-lu-minus): Rename from `calc-logunits-sub'.
20822 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20823 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20824 (calc-lu-times): Rename from `calc-logunits-mul'.
20825 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20826 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20827 (calc-lu-divide): Rename from `calc-logunits-div'.
20828 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20829 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20831 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20832 functions being autoloaded.
20834 * calc/calc.el (calc-lu-power-reference): Rename from
20835 `calc-logunits-power-reference'.
20836 (calc-lu-field-reference): Rename from
20837 `calc-logunits-field-reference'.
20839 * calc/calc-help.el (calc-l-prefix-help):
20840 Mention musical note functions.
20842 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20844 * minibuffer.el (completion-all-sorted-completions):
20845 Use :completion-cycle-penalty text property if present.
20847 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20849 * allout.el (allout-yank-processing): Adjust for new rebulleting
20850 regime so bullet being yanked is used without prompting the user
20853 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20855 * startup.el (command-line): Warn the user that _emacs is deprecated.
20857 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20859 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20860 (delphi-verbose, delphi-comment-face, delphi-string-face)
20861 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20862 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20863 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20864 (delphi-new-comment-line, delphi-font-lock-defaults)
20865 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20866 Fix typos in docstrings.
20868 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20870 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20871 Invert the roles of character and string values for INSTEAD, so a
20872 string is used for the more common case of a defaulting prompt.
20874 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20876 * progmodes/ruby-mode.el (ruby-backward-sexp):
20877 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20878 * play/gamegrid.el (gamegrid-make-face):
20879 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20880 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20881 * notifications.el (notifications-notify):
20882 * net/xesam.el (xesam-search-engines):
20883 * net/quickurl.el (quickurl-list-insert):
20884 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20886 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20888 * startup.el (command-line): Update package subdirectory regexp.
20890 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20892 * allout.el (allout-abbreviate-flattened-numbering)
20893 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20895 * subr.el (read-char-choice): Only show the cursor after the prompt,
20896 not after the answer.
20898 2011-03-15 Kevin Ryde <user42@zip.com.au>
20900 * help-fns.el (variable-at-point): Skip leading quotes, if any
20903 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20905 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20908 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20910 * shell.el (shell): When called interactively, offer to change the
20911 shell file name on remote hosts.
20913 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20915 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20916 integration for LDAP parameters. The host, base, user or binddn,
20917 and secret tokens can be specified in a netrc file, for instance.
20918 This is optional because an `auth-source' parameter must be
20919 specified in the search attributes.
20921 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20923 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20925 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20927 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20928 into declaration. Remove redundant and harmful binding.
20930 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20932 * files.el (file-ownership-preserved-p): Pass `integer' as an
20933 explicit 2nd argument to `file-attributes'. If the file's owner
20934 is the Administrators group on Windows, and the current user is
20935 Administrator, consider that a match.
20937 * server.el (server-ensure-safe-dir): Consider server directory
20938 safe on MS-Windows if its owner is the Administrators group while
20939 the current Emacs user is Administrator. Use `=' to compare
20940 numerical UIDs, since they could be integers or floats.
20942 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20944 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20946 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20948 Sync with Tramp 2.2.1.
20950 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20952 * net/trampver.el: Update release number.
20954 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20956 * progmodes/compile.el (compilation--previous-directory): Fix up
20957 various nil/dead-marker mismatches (bug#8014).
20958 (compilation-directory-properties, compilation-error-properties):
20959 Don't call it at a position past the one we're about to change.
20961 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20962 Disable obsolescence warnings in the file that declares it.
20964 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20966 * allout-widgets.el (allout-widgets-tally):
20967 Initialize allout-widgets-tally as a hash table rather than nil to
20968 prevent mode-line redisplay warnings. Also, clarify the module
20969 description and fix a comment typo.
20971 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20973 * help-fns.el (describe-variable): Don't complete keywords.
20974 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20976 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20978 * emacs-lisp/package.el (package-version-join): Impose a standard
20979 string representation for pre/alpha/beta version lists.
20980 (package-unpack-single): Standardize the directory name by passing
20981 it through package-version-join.
20982 (package-strip-rcs-id): Accept any version string that does not
20983 signal an error in version-to-list.
20985 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20987 * simple.el (delete-trailing-whitespace): Return nil for the
20988 benefit of `write-file-functions'.
20990 2011-03-10 Glenn Morris <rgm@gnu.org>
20992 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20994 * vc/vc-git.el (vc-git-program): New option.
20995 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20996 (vc-git--call): Use it.
20998 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21000 * cus-edit.el (Custom-newline): If no button at point, look
21001 for a subgroup button at start-of-line. (Bug#2298)
21003 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21005 2011-03-10 Julien Danjou <julien@danjou.info>
21007 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21008 `cursor-type' is nil.
21010 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21012 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21014 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21016 * allout.el: Change so yank of distinctive-bullet items
21017 preserves the existing header prefix, rebulleting it if necessary,
21018 rather than replacing it. This is necessary for proper operation
21019 of cooperative addons like allout-widgets.
21020 (allout-make-topic-prefix, allout-rebullet-heading):
21021 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21022 value as alternate bullet to be used, instead of prompting the user
21023 for a bullet character.
21025 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21027 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21028 Do not use `tramp-file-name-port', because this returns also
21029 `tramp-default-port'.
21031 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21033 * net/rcirc.el (rcirc-handler-001): Remove useless
21034 with-rcirc-process-buffer.
21035 (rcirc-check-auth-status): Swap arguments to string-match.
21037 2011-03-09 Glenn Morris <rgm@gnu.org>
21039 * shell.el (shell-mode):
21040 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21042 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21043 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21045 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21047 * emacs-lisp/package.el (package-refresh-contents)
21048 (package-menu-execute): Use condition-case-no-debug.
21050 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21052 * simple.el (shell-command-to-string): Use `process-file'.
21054 * emacs-lisp/package.el (package-tar-file-info): Handle also
21057 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21058 Use `equal' for upload base check.
21060 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21062 * textmodes/texinfo.el (texinfo-environments):
21063 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21065 2011-03-08 Glenn Morris <rgm@gnu.org>
21067 * cus-start.el (cursor-in-non-selected-windows):
21068 Fix :set quoting oddness. (Bug#8192)
21070 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21071 in some setf expressions. (Bug#2159)
21073 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21075 * custom.el (custom-available-themes): Return themes in
21076 alphabetical order.
21078 See ChangeLog.15 for earlier changes.
21080 ;; Local Variables:
21084 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21086 This file is part of GNU Emacs.
21088 GNU Emacs is free software: you can redistribute it and/or modify
21089 it under the terms of the GNU General Public License as published by
21090 the Free Software Foundation, either version 3 of the License, or
21091 (at your option) any later version.
21093 GNU Emacs is distributed in the hope that it will be useful,
21094 but WITHOUT ANY WARRANTY; without even the implied warranty of
21095 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21096 GNU General Public License for more details.
21098 You should have received a copy of the GNU General Public License
21099 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.