1 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/advice.el: Remove support for freezing.
4 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6 Remove support for `freeze'.
8 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
10 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
12 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
15 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
17 (advice--strip-macro): New function.
18 (advice--defalias-fset): Use them to handle macros.
19 (advice-add): Use them.
20 (advice-member-p): Correctly handle macros.
22 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
24 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
25 Never font-lock the beginning of singleton class as heredoc.
27 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
29 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
31 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
33 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
34 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
35 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
37 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
39 Fix end-of-defun misbehavior.
40 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
41 python-beginning-of-defun-function. Handle nested defuns
43 (python-nav-end-of-defun): Rename from
44 python-end-of-defun-function. Ensure forward movement.
45 (python-info-current-defun): Reimplement to work as intended
46 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
47 parent defuns as soon as possible.
49 2012-11-13 Glenn Morris <rgm@gnu.org>
51 * progmodes/flymake.el (flymake-error-bitmap)
52 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
53 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
55 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
57 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
58 backward, always stop at indentation. Reverts the change from
59 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
61 2012-11-13 Glenn Morris <rgm@gnu.org>
63 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
64 Add ibuffer-filter-by-derived-mode.
66 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
67 the same name shadowing each other.
69 * window.el (with-temp-buffer-window): Doc tweak.
71 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
73 * help.el (temp-buffer-max-height):
74 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
75 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
77 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
79 * emacs-lisp/nadvice.el: New package.
80 * subr.el (special-form-p): New function.
81 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
82 (elp-all-instrumented-list): Remove var.
83 (elp-not-profilable): Remove elp-wrapper.
84 (elp-profilable-p): Use autoloadp and special-form-p.
85 (elp--advice-name): New const.
86 (elp-instrument-function): Use advice-add.
87 (elp--instrumented-p): New predicate.
88 (elp-restore-function): Use advice-remove.
89 (elp-restore-all, elp-reset-all): Use mapatoms.
90 (elp-set-master): Use elp--instrumented-p.
91 (elp--make-wrapper): Rename from elp-wrapper, return a function
92 suitable for advice-add. Use cl-inf.
93 (elp-results): Use mapatoms+elp--instrumented-p.
94 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
95 (debug-function-list): Remove var.
96 (debug): Rename arg, and then let-bind it explicitly inside.
97 (debugger-setup-buffer): Rename arg.
98 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
99 (debugger-frame-number): Adjust to new debug-on-entry setup.
100 (debug--implement-debug-on-entry): Rename from
101 implement-debug-on-entry, add argument.
102 (debugger-special-form-p): Remove, use special-form-p instead.
103 (debug-on-entry): Use advice-add.
104 (debug--function-list): New function.
105 (cancel-debug-on-entry): Use it, along with advice-remove.
106 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
107 (debugger-list-functions): Use debug--function-list instead of
109 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
110 (ad-special-form-p): Remove, use special-form-p instead.
111 (ad-set-advice-info): Use add-function and remove-function.
112 (ad--defalias-fset): Adjust accordingly.
114 2012-11-10 Glenn Morris <rgm@gnu.org>
116 * mail/emacsbug.el (report-emacs-bug-tracker-url)
117 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
118 (report-emacs-bug-create-existing-bugs-buffer)
119 (report-emacs-bug-parse-query-results)
120 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
122 * term.el (term-default-fg-color, term-default-bg-color):
123 Make obsolete, rather than just saying "deprecated" in the doc.
125 * term.el (term): Rename from `term-face'.
126 (term-current-face, ansi-term-color-vector)
127 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
130 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
132 * server.el (server-create-window-system-frame): Handle Nextstep
133 specially (Bug#12780).
135 2012-11-10 Glenn Morris <rgm@gnu.org>
137 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
138 Unautoload, and make obsolete. (Bug#7449)
140 2012-11-10 Chong Yidong <cyd@gnu.org>
142 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
143 rename from diff-remove-trailing-whitespace (Bug#12831).
145 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
147 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
148 miscompilation of trace.el.
150 2012-11-10 Glenn Morris <rgm@gnu.org>
152 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
154 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
156 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
159 2012-11-10 Chong Yidong <cyd@gnu.org>
161 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
162 a defcustom with an appropriate :set function.
163 (minibuffer-default--in-prompt-regexps): New function.
165 2012-11-10 Glenn Morris <rgm@gnu.org>
167 * emacs-lisp/cl.el (define-setf-expander, defsetf)
168 (define-modify-macro): Doc fixes.
170 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
171 (gv-define-simple-setter): Update doc of `fix-return'.
173 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
175 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
176 twice when `fix-return' is set (bug#12813).
178 * emacs-lisp/cl.el (defsetf): Pass the third arg to
179 gv-define-simple-setter (bug#12812).
181 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
184 2012-11-10 Glenn Morris <rgm@gnu.org>
186 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
188 * emacs-lisp/cl-extra.el (cl-prettyexpand):
189 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
190 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
191 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
193 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
195 2012-11-10 Leo Liu <sdl.web@gmail.com>
197 * ido.el (ido-set-matches-1): Improve flex matching performance by
198 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
200 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
203 (ad--defalias-fset): New function.
204 (ad-safe-fset): Remove.
205 (ad-make-freeze-definition): Use cl-letf*.
207 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
209 * subr.el (dolist): Don't bind VAR in RESULT.
211 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
212 (fset, documentation): Don't save real def since we don't advise.
213 (ad-do-advised-functions): Remove problematic `result-form'.
214 (ad-safe-fset): `ad-real-fset' => `fset'.
215 (ad-read-advised-function): Don't assume that ad-do-advised-functions
216 uses CL's dolist internally.
217 (ad-arglist): Remove unused arg `name'.
218 (ad-docstring, ad-make-advised-docstring):
219 `ad-real-documentation' => `documentation'.
220 (warning-suppress-types): Declare.
221 (ad-set-arguments): Simple CSE.
222 (ad-recover-normality): Sanity check.
224 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
225 (funcall '(lambda ..) ..) into ((lambda ..) ..).
227 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
229 * ses.el: symbol to coordinate mapping is made by symbol property
230 `ses-cell'. This means that the same mapping is done for all SES
231 sheets. That is good enough for cells with standard A1 names, but
232 not for named cell. So a hash map is added for the latter.
233 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
234 (ses-sym-rowcol): Use hashmap for named cell.
235 (ses-is-cell-sym-p): New defun.
236 (ses-decode-cell-symbol): New defun.
237 (ses-create-cell-variable): Add cell to hashmap when name is not
239 (ses-rename-cell): Check that cell new name is not already in
240 spreadsheet with the use of ses-is-cell-sym-p
241 (ses-rename-cell): Use hash map for named cells, but accept also
242 renaming back to A1-like.
244 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
246 * emacs-lisp/advice.el: Use new dynamic docstrings.
247 (ad-make-advised-definition-docstring, ad-advised-definition-p):
248 Use dynamic-docstring-function instead of ad-advice-info.
249 (ad--make-advised-docstring): New function extracted from
250 ad-make-advised-docstring.
251 (ad-make-advised-docstring): Use it.
252 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
254 (sql-help): Use it with dynamic-docstring-function.
256 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
258 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
260 * files.el (hack-one-local-variable--obsolete): New function.
261 (hack-one-local-variable): Use it for obsolete settings.
263 * subr.el (locate-user-emacs-file): If both old and new name exist, use
266 * progmodes/js.el (js--filling-paragraph): New var.
267 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
268 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
271 2012-11-08 Julien Danjou <julien@danjou.info>
273 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
274 `auto-mode-alist' (Bug#12835).
276 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
278 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
279 (perl--prettify-symbols-alist): New const.
280 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
282 (perl-font-lock-keywords-2): Use them.
283 (perl-electric-noindent-p): New function.
284 (perl-mode): Use it to set up electric-indent-mode.
285 (perl-electric-terminator, perl-indent-command): Mark obsolete.
286 (perl-mode-map): Remove bindings for them.
287 (perl-imenu-generic-expression, perl-outline-level):
288 Match functions&packages in column>0.
290 * env.el (env--substitute-vars-regexp): New const.
291 (substitute-env-vars): Use it. Add `only-defined' arg.
292 * net/tramp.el (tramp-replace-environment-variables): Use it.
294 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
295 Byte-compile *before* eval in eval-and-compile.
296 (byte-compile-log-warning): Remove redundant inhibit-read-only.
297 (byte-compile-file-form-autoload): Don't hide actual definition.
298 (byte-compile-maybe-guarded): Accept `functionp' as well.
300 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
302 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
304 * notifications.el (notifications-get-server-information-method):
306 (notifications-get-capabilities): Fix docstring.
307 (notifications-get-server-information): New defun.
309 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
311 * textmodes/ispell.el (ispell-region): Standard re-indent for better
314 * textmodes/ispell.el: Experimental support for support debugging.
315 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
317 (ispell-print-if-debug): New function to print stuff to
318 `ispell-debug-buffer' if debugging is enabled.
319 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
320 show some debugging info.
321 (ispell-buffer-with-debug): New function that creates a debugging
322 buffer and calls `ispell-buffer' with debugging enabled.
324 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
325 comment in autoconf mode. (Bug#12768)
327 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
329 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
330 frame-first-window, frame-root-window, frame-selected-window,
331 minibuffer-selected-window, minibuffer-window,
332 window-absolute-pixel-edges, window-at, window-body-height,
333 window-body-width, window-display-table, window-combination-limit,
334 window-frame, window-fringes, window-inside-absolute-pixel-edges,
335 window-inside-edges, window-inside-pixel-edges, window-left-child,
336 window-left-column, window-margins, window-next-buffers,
337 window-next-sibling, window-new-normal, window-new-total,
338 window-normal-size, window-parameter, window-parameters, window-parent,
339 window-pixel-edges, window-point, window-prev-buffers,
340 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
341 window-start, window-text-height, window-top-child, window-top-line,
342 window-total-height, window-total-width and window-use-time to the list
343 of functions without side-effects.
344 (toplevel): Add window-valid-p to the list of error-free functions
345 without side-effects.
347 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
349 * textmodes/ispell.el (ispell-program-name):
350 Update spellchecker parameters when customized.
352 2012-11-04 Glenn Morris <rgm@gnu.org>
354 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
356 2012-11-04 Chong Yidong <cyd@gnu.org>
358 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
359 same-window-* variables.
361 2012-11-04 Juri Linkov <juri@jurta.org>
363 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
364 (isearch-describe-key, isearch-describe-mode): Use a display
365 action instead of binding same-window-* variables (Bug#10040).
367 2012-11-03 Glenn Morris <rgm@gnu.org>
369 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
370 Rename handler properties back from cl-- to cl-. (Bug#12788)
372 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
374 2012-11-03 Eli Zaretskii <eliz@gnu.org>
376 * term/pc-win.el: Don't load term/internal from here.
378 * loadup.el: Load term/internal from here.
380 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
382 * progmodes/python.el (inferior-python-mode): Fix hang in
383 jit-lock (Bug#12645).
385 2012-11-03 Martin Rudalics <rudalics@gmx.at>
387 * window.el (switch-to-visible-buffer)
388 (switch-to-buffer-preserve-window-point): Fix doc-strings.
390 2012-11-03 Glenn Morris <rgm@gnu.org>
392 * emacs-lisp/cl-lib.el (cl--random-time):
393 Rename from cl-random-time. (Bug#12773)
394 (cl--gensym-counter, cl--random-state): Update callers.
395 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
397 2012-11-03 Chong Yidong <cyd@gnu.org>
399 * cus-start.el: Make cursor-type customizable (Bug#11633).
401 2012-11-02 Glenn Morris <rgm@gnu.org>
403 * filecache.el: No need to load find-lisp when compiling.
404 (find-lisp-find-files): Autoload it.
405 (file-cache-add-directory-recursively): Don't require find-lisp.
407 * image.el (image-type-from-file-name): Trivial simplification.
409 * emacs-lisp/bytecomp.el (byte-compile-eval):
410 Decouple "noruntime" and "cl-functions" warnings.
412 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
414 * play/gomoku.el (gomoku-display-statistics): Update mode line
415 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
417 2012-10-31 Martin Rudalics <rudalics@gmx.at>
419 * window.el (quit-restore-window): If the window has been
420 created on an existing frame and ended up as the sole window on
421 that frame, do not delete it (Bug#12764).
423 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
425 * progmodes/sh-script.el (sh--inside-noncommand-expression):
426 Rename from sh--inside-arithmetic-expression, handle more cases
429 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
430 (sh-font-lock-open-heredoc): Use it (bug#12770).
432 2012-10-30 Glenn Morris <rgm@gnu.org>
434 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
436 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
438 2012-10-29 Chong Yidong <cyd@gnu.org>
440 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
441 function key is stored in a keyboard macro (Bug#4894).
443 * thingatpt.el (number-at-point): Apply a thing-at-point property.
445 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
447 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
449 (diff-unified->context, diff-context->unified)
450 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
452 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
454 * files.el (find-alternate-file): Only ask one question (bug#12487).
456 2012-10-29 Chong Yidong <cyd@gnu.org>
458 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
459 Suggested by Dan Nicolaescu (Bug#6326).
461 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
463 * startup.el (fancy-about-screen): Don't message (Bug#12680).
465 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
467 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
469 * face-remap.el (face-remap-add-relative): Handle the case where a
470 face-remapping-alist entry is a cons cell (Bug#12762).
472 2012-10-29 Kevin Ryde <user42@zip.com.au>
474 * woman.el (woman-parse-numeric-value): Handle picas correctly
477 2012-10-29 Glenn Morris <rgm@gnu.org>
479 * emacs-lisp/cl.el (defsetf): Doc fix.
481 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
483 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
484 syntax to the matching opener, if any (bug#12547).
485 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
486 matching open as a "case-(".
487 (sh-smie-rc-grammar): Add a corresponding rule for it.
489 2012-10-28 Daniel Hackney <dan@haxney.org>
491 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
492 "PKGNAME-autoloads.el" in case we created it.
494 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
496 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
497 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
498 (completion--twq-all): Disable too-strict assertions.
500 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
502 2012-10-27 Eli Zaretskii <eliz@gnu.org>
504 * profiler.el (profiler-report-make-entry-part): Fix help-echo
505 text to match the real keybindings.
507 2012-10-27 Juri Linkov <juri@jurta.org>
509 * wdired.el (wdired-keep-marker-rename): New defcustom.
510 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
513 * dired.el (dired-keep-marker-rename): Add reference to
514 `wdired-keep-marker-rename' in the docstring.
515 Add default character value ?R to display initially in
516 Customization UI instead of ?@.
518 2012-10-27 Martin Rudalics <rudalics@gmx.at>
520 * window.el (display-buffer): In doc-string describe
521 window-height and window-width alist entries.
523 * time.el (display-time-world): Restore fit-window-to-buffer
526 2012-10-27 Chong Yidong <cyd@gnu.org>
528 * subr.el (insert-buffer-substring-as-yank): Doc fix.
530 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
532 * minibuffer.el (completion-category-overrides): New completion
533 category `bookmark' (bug#11131).
535 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
537 * emacs-lisp/advice.el (ad-assemble-advised-definition):
538 Silence bogus compiler warnings for ad-do-it.
540 * bookmark.el (bookmark-completing-read): Set the completion category
541 to `bookmark' (bug#11131).
543 2012-10-26 Bastien <bzg@altern.org>
544 Stefan Monnier <monnier@iro.umontreal.ca>
546 * face-remap.el: Use lexical-binding.
547 (text-scale-adjust): Improve docstring. Use itself for the temporary
548 overlay-map bindings, so as to repeat the "Use..." message each time.
550 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
552 * emacs-lisp/macroexp.el (macroexp--expand-all):
553 Obey byte-compile-warning-enabled-p (bug#12486).
555 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
556 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
558 2012-10-26 Martin Rudalics <rudalics@gmx.at>
560 * mouse.el (mouse-drag-line): Move last form into preceding when
563 * help.el (resize-temp-buffer-window): Fix doc-string.
565 2012-10-25 David Engster <deng@randomsample.de>
567 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
568 Remove. This feature is already integrated in imenu.
570 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
571 always loaded. Require `speedbar' unconditionally.
573 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
575 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
577 * minibuffer.el (minibuffer-force-complete): Fix thinko.
579 * net/ldap.el (ldap-search-internal): The official ldif format starts
580 with a "version: 1" header (bug#12724).
582 * emacs-lisp/package.el (package-installed-p): Warn if not ready
585 2012-10-25 Glenn Morris <rgm@gnu.org>
587 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
589 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
591 * minibuffer.el (minibuffer-force-complete): Use one more marker
592 for the temporary-overlay-map command (bug#12619).
594 2012-10-24 Chong Yidong <cyd@gnu.org>
596 * time.el (display-time-world-mode): Derive from special-mode.
597 (display-time-world): Use display-buffer (Bug#12708).
598 (display-time-world-mode-map): Variable deleted.
599 (display-time-world-display): Wrap the final delete-char inside
602 2012-10-24 Chong Yidong <cyd@gnu.org>
604 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
607 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
609 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
611 * minibuffer.el (completion--all-sorted-completions-location): New var.
612 (completion--cache-all-sorted-completions)
613 (completion--flush-all-sorted-completions): Use it.
614 (completion-in-region, completion-in-region--postch)
615 (completion-at-point, completion-help-at-point): Use markers in
616 completion-in-region--data (bug#12619).
618 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
620 * progmodes/compile.el (compilation-start): Try to handle common
621 quoting of `cd' argument (bug#12640).
623 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
626 2012-10-23 Glenn Morris <rgm@gnu.org>
628 * progmodes/gud.el (gud-menu-map):
629 Check gdb-active-process is bound. (Bug#12358)
631 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
633 * repeat.el (repeat): Set real-this-command (bug#12232).
635 * htmlfontify.el (hfy-post-html-hook):
636 * filesets.el (filesets-cache-fill-content-hook):
637 * arc-mode.el (archive-extract-hook):
638 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
639 * net/rcirc.el (rcirc-sentinel-functions)
640 (rcirc-receive-message-functions, rcirc-activity-functions)
641 (rcirc-print-functions):
642 * net/dbus.el (dbus-event-error-functions):
643 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
644 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
645 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
646 * term/sun.el (sun-raw-prefix-hooks):
647 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
649 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
651 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
652 Set `tramp-chunksize' to 1. This improves the performance.
653 (tramp-smb-wait-for-output): Add timeout to
654 `tramp-accept-process-output' calls.
656 2012-10-23 Chong Yidong <cyd@gnu.org>
658 * faces.el (font-list-limit): Define as an obsolete variable.
660 * startup.el (command-line):
661 * cus-start.el: Don't refer to font-list-limit.
663 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
665 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
667 * subr.el (internal-temp-output-buffer-show): Rename from
668 temp-output-buffer-show, since previously compiled files expect this name.
670 2012-10-23 Glenn Morris <rgm@gnu.org>
672 * image.el (image-type-from-file-name): If multiple types match,
673 return the first one that is supported. (Bug#9045)
675 2012-10-22 Glenn Morris <rgm@gnu.org>
677 * image.el (imagemagick-enabled-types): Doc fix.
679 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
681 * progmodes/which-func.el (which-func-current): The hash-table may have
682 an explicit nil (bug#12338).
684 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
686 * electric.el (electric-pair-delete-selection-self-insert-function):
687 Rename to electric-pair-will-use-region, return a boolean.
688 (electric-pair-mode): Adjust accordingly. Don't require delsel.
690 * delsel.el (delete-selection-helper): Use a function instead of a hook.
691 (delete-selection-pre-hook): Use use-region-p.
692 (delete-selection-self-insert-function): Remove.
693 (self-insert-command): Obey self-insert-uses-region-functions.
694 (self-insert-iso): Revert to previous setting, since we don't actually
695 know what that command does.
696 (delete-selection-self-insert-hooks): Remove.
698 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
700 * delsel.el (delete-selection-helper): New function, extracted from
701 delete-selection-pre-hook.
702 (delete-selection-pre-hook): Use it.
703 (delete-selection-self-insert-function): New function.
704 (delete-selection-self-insert-hooks): New hook.
705 (self-insert-command, self-insert-iso): Use it.
706 * electric.el (electric-pair-syntax): New function, extracted from
707 electric-pair-post-self-insert-function.
708 (electric-pair-post-self-insert-function): Use it.
709 (electric-pair-delete-selection-self-insert-function): New function.
710 (electric-pair-mode): Require delsel and setup
711 delete-selection-self-insert-hooks (bug#11520).
713 2012-10-20 Chong Yidong <cyd@gnu.org>
715 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
716 no changes to show (Bug#12586).
718 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
719 list explicitly (Bug#12571).
721 2012-10-20 Arne Jørgensen <arne@arnested.dk>
723 * progmodes/flymake.el (flymake-create-temp-inplace):
726 2012-10-20 Eli Zaretskii <eliz@gnu.org>
728 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
730 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
732 * calc/calc-units.el (math-extract-units): Properly extract powers
735 2012-10-20 Daniel Colascione <dancol@dancol.org>
737 * frame.el (make-frame): Set x-display-name as we used to in order
738 to unbreak creating an X11 frame from an Emacs daemon started
741 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
743 * minibuffer.el (minibuffer-force-complete): Make the next completion use
744 the same completion-field (bug#12221).
746 2012-10-19 Martin Rudalics <rudalics@gmx.at>
748 * emacs-lisp/debug.el (debug): Record height of debugger window
749 also when debugger will be back (Bug#8789).
751 2012-10-18 Chong Yidong <cyd@gnu.org>
753 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
754 Convert to defcustom.
755 (gdb-get-source-file): Don't bind pop-up-windows.
757 * progmodes/gud.el (gud-display-line): Don't specially re-use
758 other frames for the gdb-mi case (Bug#12648).
760 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
762 * emacs-lisp/advice.el: Clean up commentary a bit.
763 (ad-do-advised-functions, ad-with-originals): Use `declare'.
764 (byte-code-function-p): Never redefine.
766 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
768 2012-10-18 Glenn Morris <rgm@gnu.org>
770 * dired.el (dired-sort-toggle): Some ls implementations only allow
771 a single option string. (Bug#12666)
773 * minibuffer.el (completion-cycle-threshold): Doc fix.
775 2012-10-17 Kenichi Handa <handa@gnu.org>
777 * international/mule.el (set-keyboard-coding-system):
778 Recover input meta mode when the new coding system doesn not use 8-bit.
779 Supply TERMINAL arg to set-input-meta-mode.
781 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
783 * wdired.el (wdired-old-marks): New variable.
784 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
785 (wdired-do-renames): Move point with renamed file and don't lose
786 mark status (Bug#11795).
788 2012-10-16 Juri Linkov <juri@jurta.org>
790 * replace.el (query-replace-help): Mention multi-buffer replacement
791 keys in the Help message. (Bug#12655)
793 2012-10-15 Chong Yidong <cyd@gnu.org>
795 * emacs-lisp/byte-run.el (defsubst): Doc fix.
797 2012-10-14 Eli Zaretskii <eliz@gnu.org>
799 * window.el (display-buffer): Doc fix.
801 * progmodes/compile.el (compilation-error-regexp-alist-alist):
802 Adjust the msft regexp to the output of Studio 2010, and move msft
803 before edg-1. See the discussion on emacs-devel,
804 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
807 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
809 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
810 (oset): Move uses of object-class-fast macro after its definition.
812 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
814 2012-10-13 Chong Yidong <cyd@gnu.org>
816 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
817 enabled, re-enable it (Bug#11963).
819 2012-10-13 Martin Rudalics <rudalics@gmx.at>
821 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
822 non-nil, restore window configuration (Bug#12623).
824 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
826 * help-fns.el (describe-variable, describe-function-1):
827 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
829 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
831 2012-10-12 Glenn Morris <rgm@gnu.org>
833 * mail/rmailsum.el (rmail-header-summary):
834 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
836 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
838 * progmodes/python.el (python-mode-map):
839 Replace subtitute-key-definition with proper command remapping.
840 (python-nav--up-list): Fix behavior for blocks on the same level.
842 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
844 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
846 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
847 changes to the format of load-history.
849 * international/mule-cmds.el (read-char-by-name): Move let-binding of
850 completion-ignore-case in case that var is buffer-local (bug#12615).
852 2012-10-11 Kenichi Handa <handa@gnu.org>
854 * international/eucjp-ms.el: Re-generated.
856 2012-10-10 Kenichi Handa <handa@gnu.org>
858 * select.el (xselect--encode-string): If a coding is specified for
859 selection, and that is compatible with COMPOUND_TEXT, use it.
861 2012-10-10 Martin Rudalics <rudalics@gmx.at>
863 * window.el (switch-to-buffer-preserve-window-point): New option.
865 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
867 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
869 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
870 Don't document nil as a useful value (bug#12583).
872 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
874 * net/tramp.el (tramp-debug-message):
875 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
876 (with-tramp-progress-reporter): Rename from
877 `tramp-with-progress-reporter'.
878 (with-tramp-file-property, with-tramp-connection-property):
879 Move from tramp-cache.el, rename from `with-file-property' and
880 `with-connection-property', respectively.
882 * net/tramp-cache.el: Remove `with-file-property' and
883 `with-connection-property'.
888 * net/tramp-smb.el: Adapt callees.
890 * net/trampver.el: Update release number.
892 2012-10-09 Glenn Morris <rgm@gnu.org>
894 * w32-fns.el (set-message-beep):
895 * term/w32-win.el (set-message-beep): Update declarations.
897 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
899 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
900 (mode-line-widen, mode-line-input-method-map)
901 (mode-line-coding-system-map, mode-line-remote)
902 (mode-line-unbury-buffer, mode-line-bury-buffer)
903 (mode-line-next-buffer, mode-line-previous-buffer):
904 Replace save-selected-window+select-window => with-selected-window.
906 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
907 * progmodes/cc-vars.el (bq-process): Remove, unused.
909 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
911 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
913 Implemented `backward-up-list'-like navigation.
914 * progmodes/python.el (python-nav-up-list)
915 (python-nav-backward-up-list): New functions.
916 (python-mode-map): Define substitute key for backward-up-list to
917 python-nav-backward-up-list.
919 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
921 * progmodes/python.el (python-fill-paragraph): Rename from
922 python-fill-paragraph-function. Fixed fill-paragraph for
923 decorators (Bug#12605).
925 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
927 * progmodes/python.el (python-shell-output-filter): Handle extra
928 carriage return in OSX (Bug#12409).
930 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
932 Fix shell handling of unbalanced quotes and parens in output.
933 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
934 (python-syntax-propertize-function): Use it.
935 (python-shell-output-syntax-table): New var.
936 (inferior-python-mode): Prevent unbalanced parens/quotes from
937 previous output mess with current input context.
939 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
941 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
942 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
944 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
946 * ffap.el (ffap-replace-file-component): Support Tramp file name
947 syntax, not only ange-ftp's one.
949 2012-10-08 Glenn Morris <rgm@gnu.org>
951 * cus-start.el (message-log-max): Set :version.
953 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
955 2012-10-08 Martin Rudalics <rudalics@gmx.at>
957 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
958 the minibuffer window (Bug#10851).
960 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
962 Enhancements on forward-sexp movement.
963 * progmodes/python.el (python-nav-beginning-of-statement)
964 (python-nav-end-of-statement): Return point-marker.
965 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
966 (python-info-current-symbol)
967 (python-info-statement-starts-block-p): Rename from
968 python-info-beginning-of-block-p.
969 (python-info-statement-ends-block-p): Rename from
970 python-info-end-of-block-p.
971 (python-info-beginning-of-statement-p)
972 (python-info-end-of-statement-p)
973 (python-info-beginning-of-block-p, python-info-end-of-block-p):
976 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
978 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
979 frame-selected-windows.
981 2012-10-08 Daniel Colascione <dancol@dancol.org>
983 * battery.el (battery-status-function): Check for
984 w32-battery-status itself, not system-time windows-nt.
986 * frame.el: Require cl-lib.
987 (display-format-alist): New variable mapping frame types to
988 functions that initialize them.
989 (window-system-for-display): New function: interprets
990 display-format-alist.
991 (make-frame-on-display): Remove existing display-selection logic
992 and just forward to make-frame, which will now DTRT.
993 (make-frame): Restructure to use window-system-for-display to
994 figure out how to create a frame on a given display.
995 (display-mouse-p): Look for frame-type w32, not a particular
998 * loadup.el: Load w32 lisp code when we have the w32 feature.
1000 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1001 system-type windows-nt.
1003 * server.el (server-create-window-system-frame): Look for window
1005 (server-proces-filter): Only force a window system when windows-nt
1006 _and_ w32. Explain why.
1008 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1009 of window systems we configure for the mode.
1011 * startup.el (command-line): Mark window system is initialized
1012 after we've done it.
1014 * common-win.el (x-select-text): Look for w32, not windows-nt.
1016 * ns-win.el: Require cl-lib. Add ourselves to
1017 display-format-alist.
1018 (ns-initialize-window-system): Assert we're not initialized twice.
1020 * w32-win.el: Enable lexical binding; require cl-lib; add
1021 ourselves to display-format-alist.
1022 (w32-handle-dropped-file): Convert incoming dropped files from
1023 Windows paths to Cygwin ones before passing them on to the rest of
1025 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1026 (w32-initialize-window-system): Assert we're not initialized twice.
1028 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1029 (x-initialize-window-system): Assert we're not initialized twice.
1031 * w32-common-fns.el: New File.
1032 (w32-version, w32-using-nt, w32-get-clipboard-data)
1033 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1034 (w32-charset-info-alist, x-last-selected, text)
1035 (x-get-selection-value, x-selection-value): Move here.
1037 * w32-fns.el: Require w32-common-fns.
1038 (w32-version, w32-using-nt, w32-get-clipboard-data)
1039 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1040 (w32-charset-info-alist, x-last-selected, text)
1041 (x-get-selection-value, x-selection-value): Move to
1045 (w32-allow-system-shell, w32-system-shells): Define only in
1048 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1051 (read-passwd): Remove a few more potential sources of leaks.
1053 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1055 * progmodes/python.el (inferior-python-mode)
1056 (python-shell-make-comint): Fix initialization of local
1057 variables copied from parent buffer.
1059 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1061 * term/ns-win.el (ns-read-file-name): Update declaration to match
1063 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1064 it is set when font is acted upon.
1066 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1068 Enhancements to indentation.
1069 * progmodes/python.el (python-indent-context): Give priority to
1070 inside-string context. Make comments indentation markers.
1071 (python-indent-region): Do not mess with strings, unless it's the
1072 enclosing set of quotes.
1074 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1076 * window.el (internal--before-save-selected-window)
1077 (internal--after-save-selected-window): New functions extracted from
1078 save-selected-window. Make sure we return the `alist' we construct.
1079 (save-selected-window): Use them.
1081 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1082 Use with-selected-window.
1084 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1085 forms that define macros (bug#12593).
1087 2012-10-07 Kenichi Handa <handa@gnu.org>
1089 * international/mule-conf.el (compound-text-with-extensions):
1090 Add :mime-charset property as x-ctext.
1092 2012-10-07 Stefan Merten <smerten@oekonux.de>
1094 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1095 (rst-indent-literal-normal, rst-indent-literal-minimized)
1096 (rst-indent-comment): Correct :version tag.
1097 (rst-official-cvs-rev): Correct version string.
1099 2012-10-07 Glenn Morris <rgm@gnu.org>
1101 * mail/rmailmm.el (rmail-mime-process-multipart):
1102 Do not confuse a multipart message with an epilogue
1103 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1105 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1107 Fix shell output retrieval and comint-prompt-regexp init.
1108 * progmodes/python.el (inferior-python-mode):
1109 (python-shell-make-comint): Fix initialization of
1110 comint-prompt-regexp from copied file local variables.
1111 (python-shell-fetched-lines): Remove var.
1112 (python-shell-output-filter-in-progress): Rename from
1113 python-shell-fetch-lines-in-progress.
1114 (python-shell-output-filter-buffer): Rename from
1115 python-shell-fetch-lines-string.
1116 (python-shell-fetch-lines-filter): Delete function.
1117 (python-shell-output-filter): New function.
1118 (python-shell-send-string-no-output): Use them.
1120 2012-10-07 Glenn Morris <rgm@gnu.org>
1122 * hi-lock.el (hi-lock-process-phrase):
1123 Try to make it less fragile. (Bug#7161)
1125 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1127 2012-10-06 Glenn Morris <rgm@gnu.org>
1129 * ehelp.el (electric-help-mode): Use help-mode rather than
1130 non-existent mode `help'.
1131 (electric-help-map): Use button-buffer-map. (Bug#10917)
1133 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1134 (reftex-create-bibtex-footer): Fix custom types.
1136 * progmodes/sh-script.el (sh-indent-after-continuation):
1137 Add explicit :group.
1139 * textmodes/rst.el (rst-preferred-decorations)
1140 (rst-shift-basic-offset): Clarify obsolescence versions.
1142 * profiler.el (profiler): Add missing group :version tag.
1143 * avoid.el (mouse-avoidance-banish-position):
1144 * proced.el (proced-renice-command):
1145 * calc/calc.el (calc-ensure-consistent-units):
1146 * calendar/icalendar.el (icalendar-import-format-uid):
1147 * net/tramp.el (tramp-save-ad-hoc-proxies):
1148 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1149 * progmodes/flymake.el (flymake-error-bitmap)
1150 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1151 * progmodes/sh-script.el (sh-indent-after-continuation):
1152 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1153 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1154 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1155 (vhdl-array-index-record-field-in-sensitivity-list)
1156 (vhdl-indent-comment-like-next-code-line):
1157 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1158 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1159 (reftex-cite-key-separator, reftex-create-bibtex-header)
1160 (reftex-create-bibtex-footer):
1161 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1162 (rst-indent-literal-normal, rst-indent-literal-minimized)
1163 (rst-indent-comment): Add missing custom :version tags.
1165 * calendar/timeclock.el (timeclock-modeline-display):
1166 Add missing obsolete alias for renamed user option.
1168 * strokes.el (strokes-modeline-string):
1169 * emulation/crisp.el (crisp-mode-modeline-string):
1170 * eshell/esh-mode.el (eshell-status-in-modeline):
1171 Aliases to defcustoms must come before the defcustom.
1173 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1174 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1175 (cal-tex-cursor-week-monday): Doc fixes.
1176 (cal-tex-cursor-week2-summary): Doc fix.
1177 Rename from cal-tex-cursor-week-at-a-glance.
1179 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1180 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1182 * calendar/calendar.el (calendar-mode-map):
1183 Add cal-tex-cursor-week2-summary.
1185 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1189 * subr.el (read-passwd-map): New var.
1190 (read-passwd): Use `read-string' again.
1191 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1193 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1195 * register.el (append-to-register, prepend-to-register):
1196 Deactivate mark, as does `copy-to-register' (bug#12389).
1198 2012-10-06 Chong Yidong <cyd@gnu.org>
1200 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1202 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1204 * international/characters.el: Fix simple mistake ((car chars) ->
1205 elt), delete duplicated code.
1207 2012-10-06 Glenn Morris <rgm@gnu.org>
1209 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1211 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1213 * color.el (color-hsl-to-rgb): Fix incorrect results for
1214 small and large hue values. (Bug#12559)
1216 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1218 Enhancements to docstring formatting when filling paragraphs.
1219 * progmodes/python.el (python-fill-docstring-style): Rename from
1220 python-fill-string-style. Added new style.
1221 (python-fill-string): Use new style. Better checks for
1224 2012-10-05 Glenn Morris <rgm@gnu.org>
1226 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1228 * color.el (color-name-to-rgb, color-rgb-to-hex)
1229 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1230 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1231 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1232 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1234 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1236 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1238 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1239 to get the correct size across symlinks.
1241 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1243 2012-10-04 Juri Linkov <juri@jurta.org>
1245 * replace.el (query-replace-interactive): Declare obsolete.
1246 (query-replace-read-from): Add the last incremental search string
1247 to the list of default values accessible via M-n.
1248 (map-query-replace-regexp): Use `read-regexp'.
1249 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1250 (map-query-replace-regexp, replace-string, replace-regexp):
1251 Fix docstrings to replace mentions of `query-replace-interactive'
1252 with alternatives. (Bug#12526)
1254 2012-10-04 Juri Linkov <juri@jurta.org>
1256 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1257 (dired-pop-to-buffer): Declare obsolete.
1258 (dired-mark-pop-up): Doc fix.
1260 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1262 Allow user to set docstring style for fill-paragraph.
1263 * progmodes/python.el
1264 (python-fill-comment-function, python-fill-string-function)
1265 (python-fill-decorator-function, python-fill-paren-function):
1266 Remove :safe for defcustoms.
1267 (python-fill-string-style): New defcustom
1268 (python-fill-paragraph-function): Enhance context detection.
1269 (python-fill-string): Honor python-fill-string-style settings.
1271 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1273 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1274 after setting its buffer (Bug#10805).
1276 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1278 Fix cornercase for string syntax.
1279 * progmodes/python.el (python-syntax-propertize-function):
1280 Simplify and enhance the regexp for unescaped quotes. Now it also
1281 matches quotes in weird situations like the single quote in
1283 (python-syntax-stringify): Simplify num-quotes detecting code.
1285 2012-10-03 Glenn Morris <rgm@gnu.org>
1287 * help-macro.el (three-step-help):
1288 Revert 2012-09-29 change. (Bug#12567)
1290 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1292 * menu-bar.el (kill-this-buffer): Don't do anything when
1293 `menu-frame' is not alive or visible (Bug#8184).
1295 * emacs-lisp/debug.el (debug): When quitting the debugger window
1296 restore current buffer (Bug#12502).
1298 2012-10-02 Chong Yidong <cyd@gnu.org>
1300 * progmodes/hideif.el (hif-lookup, hif-defined):
1301 Handle semantic-c-takeover-hideif.
1303 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1305 Change sampling interval units from ms to ns.
1306 * profiler.el (profiler-sampling-interval): Change units
1307 from ms to ns, multiplying the default by 1000000 so that
1309 (profiler-report-cpu-line-format): Give enough room for
1310 the maximum counters on 64-bit hosts.
1311 (profiler-report-render-calltree-1): Call them "CPU samples",
1312 not "Time (ms)", since they are not milliseconds now (and
1315 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1317 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1318 Fix querying BBDB for entries without a last name (Bug#11580).
1320 2012-10-02 Chong Yidong <cyd@gnu.org>
1322 * emacs-lisp/eieio.el: Restore Version header.
1324 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * vc/diff-mode.el (diff--auto-refine-data): New var.
1327 (diff-hunk): Use it to delay refinement.
1328 (diff-mode): Remove overlays when we turn off font-lock.
1330 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1331 (table-initialize-table-fixed-width-mode)
1332 (table-set-table-fixed-width-mode): Remove functions.
1333 (table-command-list): Move initialization into declaration.
1334 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1335 (table-with-cache-buffer): Use `declare'.
1336 (table-span-cell): Simplify via CSE.
1337 (table-fixed-width-mode): Use define-minor-mode.
1338 (table-call-interactively, table-funcall, table-apply): Remove.
1339 (table-function): New function, to replace them.
1341 * bookmark.el (bookmark-search-pattern): Remove var.
1342 (bookmark-read-search-input): Remove function.
1343 (bookmark-bmenu-search): Reimplement using a minibuffer.
1345 * faces.el (modeline): Remove obsolete face name.
1347 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1348 and give a non-nil default value.
1349 (add-change-log-entry): Simplify accordingly.
1351 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1353 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1354 (vc-git-log-edit-toggle-amend): New function.
1355 (vc-git-log-edit-toggle-signoff): New function.
1356 (vc-git-log-edit-mode): New major mode.
1357 (vc-git-log-edit-mode-map): Keymap for it.
1358 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1360 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1362 (log-edit-toggle-header): New function.
1363 (log-edit-extract-headers): Accept function values in HEADERS alist.
1365 2012-10-01 David Engster <deng@randomsample.de>
1367 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1368 from symbol property and change message to be more consistent with
1370 (eieio-describe-generic): Add filename for each implementation.
1371 Fix indices for generic and normal methods.
1372 (eieio-method-def, eieio-class-def): New buttons.
1373 (eieio-help-find-method-definition)
1374 (eieio-help-find-class-definition): New functions.
1375 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1376 class, constructor and method definitions.
1378 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1379 information in symbol property.
1380 (scoped-class): Remove.
1381 (eieio-slot-name-index, call-next-method): Check if it is bound.
1383 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1385 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1386 (eieio-custom-mode): New major mode.
1387 (eieio-customize-object): Use it.
1389 2012-10-01 Eric Ludlam <zappo@gnu.org>
1391 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1392 specifying the expected class, and whether subclassing is allowed.
1393 (eieio-persistent-convert-list-to-object):
1394 (eieio-persistent-validate/fix-slot-value)
1395 (eieio-persistent-slot-type-is-class-p): New functions.
1396 (eieio-named::slot-missing): Doc fix.
1398 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1399 Stop using unused publd variable.
1401 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1402 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1403 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1404 (eieio-speedbar-handle-click): Do not specify a class for the
1405 method. Fixes method invocation order problems with EDE.
1407 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1410 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1412 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1414 * bookmark.el (bookmark-version-control): Give tags in the
1415 :type choices (Bug#12309), and improve doc string.
1416 (bookmark-write-file): Bind `print-circle' to `t' to allow
1417 circular custom bookmark types. (Bug#12503)
1419 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1421 Revert the FOLLOW-SYMLINKS change for file-attributes.
1422 * files.el (remote-file-name-inhibit-cache, after-find-file):
1423 * time.el (display-time-file-nonempty-p): Undo last change.
1425 * profiler.el (profiler-sampling-interval): Change default back to 1.
1426 See Stefan Monnier in
1427 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1429 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1431 Shell output catching a la gud-gdb.
1432 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1433 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1435 (python-shell-fetch-lines-filter): New function.
1436 (python-shell-send-string-no-output): Use them.
1438 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1440 * profiler.el (profiler-sampling-interval): Rename from
1441 profiler-sample-interval.
1442 (profiler-sampling-interval): Default to 10.
1443 (profiler-find-profile): New command (was profiler-find-log).
1444 (profiler-find-profile-other-window): New command.
1445 (profiler-find-profile-other-frame): New command.
1446 (profiler-profile): Introduce API-level data structure.
1448 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1450 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1451 * files.el (remote-file-name-inhibit-cache):
1452 * time.el (display-time-file-nonempty-p): Use it.
1453 * files.el (after-find-file): Don't chase links before calling
1454 file-exists-p, as file-exists-p already does the right thing.
1456 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1458 Merge from standalone RefTeX repository.
1460 The following ChangeLog entries are shortened versions of the
1461 original ones with file paths adapted. A not so strongly edited
1462 version of the original ChangeLog can be found in the commit log.
1464 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1465 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1466 Correctly handle new value type returned by `reftex-citation'.
1468 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1469 that entries with whitespace at various places are found.
1470 Doc fix. Include entries that are cross-referenced from cited entries.
1471 Include @String definitions in the resulting bib file. Add header
1472 and footer defined in `reftex-create-bibtex-header' and
1473 `reftex-create-bibtex-footer'.
1474 (reftex-do-citation): Make it possible again to insert
1475 non-existent entries. Save match data when asking for optional
1476 arguments. Return all keys, not just the first one.
1477 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1478 all citations in the same line.
1479 (reftex-parse-bibtex-entry): Accept additional optional argument
1480 `raw' and keep quotes or braces if it is non-nil. Match fields
1481 containing hyphens besides word constituents.
1482 (reftex-get-string-refs): New function.
1483 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1484 and ask if it should be reread in case it did.
1485 (reftex-pop-to-bibtex-entry)
1486 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1487 entries with spaces or tabs in front of arguments.
1488 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1489 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1490 Match entries containing numbers and symbol constituents.
1491 (reftex-do-citation, reftex-figure-out-cite-format):
1492 Use `reftex-cite-key-separator'.
1494 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1495 (reftex-mouse-view-crossref): Explain why point is set.
1497 * textmodes/reftex-global.el: Whitespace changes.
1499 * textmodes/reftex-index.el: Move provide statement to end of
1501 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1502 (reftex-index-visit-phrases-buffer): Set marker when visiting
1503 buffer. This allows for returning from the phrases file to the
1504 file one was just editing instead of the file where the last
1505 phrases was added from.
1506 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1507 punctuation syntax as it usually is not used as string quote in
1508 TeX-related modes and may occur unmatched. The change also
1509 prevents fontification of quoted content.
1510 (reftex-index-phrases-mode): Use it.
1512 * textmodes/reftex-parse.el (reftex-parse-from-file):
1513 Move backward one char if a `\' was matched after a section macro.
1514 (reftex-parse-from-file): Use beginning of match instead of end as
1517 * textmodes/reftex-ref.el: Adapt creation of
1518 `reftex-<package>-<macro>' functions to new structure of
1519 `reftex-ref-style-alist'.
1520 (reftex-reference): Use `reftex-ref-style-list' function.
1521 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1522 reference macro if `reftex-ref-macro-prompt' is non-nil.
1523 (reftex-reference): Pass refstyle to `reftex-format-special'.
1524 Determine reference macro by looking at
1525 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1526 Use only one special format function.
1527 (reftex-varioref-vref, reftex-fancyref-fref)
1528 (reftex-fancyref-Fref): Remove definitions. The functions are now
1529 generated from `reftex-ref-style-alist'.
1530 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1532 (reftex-format-special): New function.
1534 * textmodes/reftex-sel.el
1535 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1536 of `reftex-ref-style-alist'. Remove code for testing macro type.
1537 (reftex-select-toggle-varioref)
1538 (reftex-select-toggle-fancyref): Remove.
1539 (reftex-select-cycle-ref-style-internal)
1540 (reftex-select-cycle-ref-style-forward)
1541 (reftex-select-cycle-ref-style-backward): New functions.
1542 (reftex-select-label-map): Use `v' and `V' for general cycling
1543 through reference styles. Add `p' for switching between number
1544 and page reference types.
1546 * textmodes/reftex-toc.el (reftex-re-enlarge):
1547 Call `enlarge-window' only if there is something to do because in Emacs
1548 the horizontal version throws an error even if the parameter is 0.
1550 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1551 (reftex-plug-into-AUCTeX): Doc fix.
1552 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1553 string. Adapt to new name.
1554 (reftex-ref-style-alist): Change structure so that it is not
1555 possible to use multiple different package names within a style.
1556 Remove the symbols for symbols for macro type distinction.
1557 Add characters for macro selection.
1558 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1559 (reftex-create-bibtex-footer): New variables.
1560 (reftex-format-ref-function): Mention third argument of special
1562 (reftex-ref-style-alist, reftex-ref-style-default-list):
1564 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1565 to new implementation. Mark as obsolete. Add compatibility code
1566 for honoring the variable values in case they are set.
1567 (reftex-cite-format-builtin, reftex-bibliography-commands):
1568 Add support for ConTeXt.
1569 (reftex-format-ref-function, reftex-format-cite-function):
1571 (reftex-cite-key-separator): New variable.
1573 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1574 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1575 `reftex-syntax-table' because parens have to retain their paren
1576 syntax in order for parsing of BibTeX entries like @book(...) to
1578 (reftex-in-comment): Do not error out if `comment-start-skip' is
1579 not set. Deal correctly with escaped comment characters.
1580 (reftex-tie-multifile-symbols): Add doc string.
1581 Initialize `reftex-ref-style-list'.
1582 (reftex-untie-multifile-symbols): Add doc string.
1583 (reftex-add-index-macros): Doc fix.
1584 (reftex-ref-style-activate, reftex-ref-style-toggle)
1585 (reftex-ref-style-list): New functions.
1586 (reftex-mode-menu): Use them. Adapt to new structure of
1587 `reftex-ref-style-alist'.
1588 (reftex-select-with-char): Kill the RefTeX Select buffer when
1590 (reftex-remove-if): New function.
1591 (reftex-erase-all-selection-and-index-buffers)
1592 (reftex-mode-menu): Reference styles are now computed from
1593 `reftex-ref-style-alist'. Fix typo.
1594 (reftex-report-bug): New function.
1595 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1596 algorithms with O(n log n). Introduce optional argument SORT (not
1599 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1601 Enhancements for triple-quote string syntax.
1602 * progmodes/python.el (python-syntax-propertize-function):
1603 Match both quote cases in one regexp.
1604 (python-syntax-stringify): Handle matches properly.
1606 2012-09-30 Juri Linkov <juri@jurta.org>
1608 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1609 to nil around the call to `insert' to prevent
1610 directory time modification by lock_file. (Bug#2295)
1611 * tar-mode.el (tar-summarize-buffer): Idem.
1613 2012-09-30 Juri Linkov <juri@jurta.org>
1615 * facemenu.el (list-colors-sort): Add option "Luminance".
1616 (list-colors-sort-key): Implement it.
1618 * vc/diff-mode.el (diff-refine-removed):
1619 * vc/ediff-init.el (ediff-fine-diff-A):
1620 * vc/smerge-mode.el (smerge-refined-removed):
1621 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1623 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1625 * term/ns-win.el (x-file-dialog): New function.
1627 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1629 * ido.el (ido-max-directory-size): Default to nil; the current
1630 default is small for POSIX systems, and impractical on Windows 7
1631 now that lstat returns directory sizes for NTFS.
1633 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1635 In buffer display functions handle window-height/window-width
1636 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1637 * window.el (window--display-buffer): New argument ALIST.
1638 Obey window-height and window-width alist entries.
1639 (window--try-to-split-window): New argument ALIST.
1640 Bind window-combination-limit to t when the window's size shall be
1641 changed and window-combination-limit equals `window-size'.
1642 (display-buffer-in-atom-window)
1643 (display-buffer-in-major-side-window)
1644 (display-buffer-in-side-window, display-buffer-same-window)
1645 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1646 (display-buffer-pop-up-window, display-buffer-below-selected)
1647 (display-buffer-at-bottom, display-buffer-in-previous-window)
1648 (display-buffer-use-some-window): Adjust all callers of
1649 window--display-buffer and window--try-to-split-window.
1650 (fit-frame-to-buffer): New option.
1651 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1653 (display-buffer-in-major-side-window): Evaluate window-height /
1654 window-width alist entries.
1656 * help.el (temp-buffer-resize-frames)
1657 (temp-buffer-resize-regexps): Remove options.
1658 (temp-buffer-resize-mode): Adjust doc-string.
1659 (resize-temp-buffer-window): Don't consult
1660 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1661 temp-buffer-resize-frames.
1663 * dired.el (dired-mark-pop-up):
1664 Call display-buffer-below-selected with a fit-window-to-buffer alist
1667 2012-09-30 Chong Yidong <cyd@gnu.org>
1669 * server.el (server-host): Document the security implications.
1670 (server-auth-key): Doc fix.
1672 * startup.el (initial-buffer-choice): Doc fix.
1674 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1676 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1679 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1681 * help-fns.el (help-fns--obsolete): Fix last change.
1683 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1686 (minor-mode-map-alist): Remove redundant code.
1688 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1689 visited in a buffer.
1690 (cvs-insert-visited-file): New function.
1691 (find-file-hook): Use it.
1693 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1695 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1697 (log-edit-empty-buffer-p): Don't require a space after a header.
1699 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1701 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1703 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1704 a proper minor-mode.
1706 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1708 2012-09-29 Glenn Morris <rgm@gnu.org>
1710 * winner.el (winner-mode): Remove variable (let define-minor-mode
1712 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1714 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1715 (winner-mode): Use define-minor-mode.
1717 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1718 the full definition in loaddefs, rather than duplicating it.
1720 * help-macro.el (three-step-help): No need to autoload defcustom.
1722 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1723 (inferior-lisp-program, inferior-lisp-load-command)
1724 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1725 No need to autoload defcustoms.
1727 * hippie-exp.el (hippie-expand-try-functions-list)
1728 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1729 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1730 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1731 (hippie-expand-only-buffers): No need to autoload defcustoms.
1732 * progmodes/vhdl-mode.el (vhdl-line-expand):
1733 Explicitly load hippie-exp, so it does not get autoloaded
1734 while hippie-expand-try-functions-list is let-bound.
1736 2012-09-28 Glenn Morris <rgm@gnu.org>
1738 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1740 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1741 Only "cl.el" counts as cl these days.
1743 2012-09-28 Juri Linkov <juri@jurta.org>
1745 Display archive errors in the echo area instead of inserting
1748 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1749 to STDERR-TEST that can be a regexp matching a successful output.
1750 Create a temporary file and redirect stderr to it. Search for
1751 STDERR-TEST in the stderr output and display it in the echo area
1752 if no match is found.
1753 (archive-extract-by-file): New function like
1754 `archive-extract-by-stdout' but extracting archives to files
1755 and looking for successful matches in stdout. Function body is
1756 mostly copied from `archive-rar-extract'.
1757 (archive-rar-extract): Use `archive-extract-by-file'.
1758 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1760 2012-09-28 Leo Liu <sdl.web@gmail.com>
1762 * pcomplete.el (pcomplete-show-completions):
1763 Use minibuffer-message to make pcomplete usable in minibuffer.
1765 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1767 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * type-break.el: Use lexical-binding.
1770 (type-break-mode): Use define-minor-mode.
1772 * emacs-lisp/pcase.el (pcase--mark-used): New.
1773 (pcase--u1): Use it (bug#12512).
1775 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1776 in load-history with the right file name.
1778 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1780 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1781 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1782 (doc-view-get-bounding-box): Make bounding box slicing work for
1783 ODF and DVI documents.
1785 2012-09-28 Glenn Morris <rgm@gnu.org>
1787 * type-break.el (type-break-mode, type-break-interval)
1788 (type-break-good-rest-interval, type-break-keystroke-threshold):
1789 No need to autoload.
1790 (type-break-good-rest-interval, type-break-keystroke-threshold):
1793 2012-09-28 Chong Yidong <cyd@gnu.org>
1795 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1798 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1802 2012-09-27 Glenn Morris <rgm@gnu.org>
1804 * faces.el (x-display-name): Declare (for without-x builds).
1806 * linum.el (linum-format): Don't autoload it. Improve :type.
1808 * progmodes/tcl.el: Don't require outline when compiling.
1809 (outline-regexp, outline-level): Declare.
1810 * textmodes/sgml-mode.el: Don't require outline when compiling.
1811 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1813 * term.el (term-ansi-reset):
1814 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1816 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1817 files for RCS and SCCS. (Bug#9781)
1819 2012-09-27 Chong Yidong <cyd@gnu.org>
1821 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1822 change; value should be t.
1824 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * image-mode.el: Use lexical-binding.
1827 (image-mode-winprops): Use t to stand for the window of
1828 a buffer that's not displayed.
1829 * doc-view.el (doc-view-new-window-function): Handle the new
1831 (doc-view-enlarge): Make it a real nop if the size is not changed.
1832 (doc-view-display): Handle the case where the buffer is not (yet?)
1833 displayed in any window.
1834 (doc-view-saved-settings): New var.
1835 (doc-view-mode): Use it.
1836 (doc-view-fallback-mode): Set it.
1838 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1839 Set lexical-binding.
1840 (minibuffer-eldef-shorten-default): New var.
1841 (minibuffer-default-in-prompt-regexps): Use it for new default.
1842 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1844 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1846 * international/uni-bidi.el:
1847 * international/uni-category.el:
1848 * international/uni-name.el:
1849 * international/uni-numeric.el: Regenerate.
1851 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1852 Stefan Monnier <monnier@iro.umontreal.ca>
1854 * profiler.el: New file.
1856 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1859 (testcover-reinstrument): Simplify with CSE.
1861 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1863 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1865 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1867 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1868 (verilog-auto-input, verilog-auto-insert-lisp)
1869 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1870 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1871 (verilog-auto-unused, verilog-auto-wire)
1872 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1873 newline. Reported by Andrew Jones.
1874 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1875 Reported by Brad Dobbie.
1876 (verilog-batch-delete-trailing-whitespace):
1877 Create verilog-batch-delete-trailing-whitespace.
1878 Reported by Brad Dobbie.
1879 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1880 parameters from another module. Reported by Dan Katz.
1881 (verilog-auto, verilog-auto-assign-modport)
1882 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1883 AUTOINOUTMODPORT for UVM interface module shell generation.
1884 Reported by Brad Dobbie.
1885 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1887 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1888 Reported by Matt Martin.
1890 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1892 * window.el (window--resize-child-windows): When resizing child
1893 windows proportionally, process them in reverse order to
1894 preserve the "when splitting a window the new one gets the odd
1896 (window--resize-root-window-vertically): When resizing the
1897 minibuffer window try to affect only windows at the bottom of the
1900 2012-09-25 Chong Yidong <cyd@gnu.org>
1902 * subr.el (declare): Doc fix.
1904 * help-fns.el (help-fns--obsolete): Handle macros properly.
1906 2012-09-25 Chong Yidong <cyd@gnu.org>
1908 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1909 this function obsolete.
1911 * calendar/cal-x.el (calendar-two-frame-setup)
1912 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1913 * calendar/calendar.el (american-calendar, european-calendar)
1914 (calendar-for-loop):
1915 * comint.el (comint-dynamic-simple-complete)
1916 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1917 * desktop.el (desktop-load-default):
1918 * dired-x.el (dired-omit-here-always)
1919 (dired-hack-local-variables, dired-default-directory):
1920 * emacs-lisp/derived.el (derived-mode-class):
1921 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1922 * emacs-lock.el (toggle-emacs-lock):
1923 * epa.el (epa-display-verify-result):
1924 * epg.el (epg-sign-keys, epg-start-sign-keys)
1925 (epg-passphrase-callback-function):
1926 * eshell/esh-util.el (eshell-for):
1927 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1928 (eshell-add-to-window-buffer-names):
1929 * files.el (locate-file-completion):
1930 * imenu.el (imenu-example--create-c-index)
1931 (imenu-example--create-lisp-index)
1932 (imenu-example--lisp-extract-index-name)
1933 (imenu-example--name-and-position):
1934 * international/mule-cmds.el (princ-list):
1935 * international/mule-diag.el (decode-codepage-char):
1936 * international/mule-util.el (detect-coding-with-priority):
1937 * iswitchb.el (iswitchb-read-buffer):
1938 * mail/mailalias.el (mail-complete):
1939 * mail/sendmail.el (mail-sent-via):
1940 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1941 (mouse-major-mode-menu):
1942 * password-cache.el (password-read-and-add):
1943 * pcomplete.el (pcomplete-parse-comint-arguments):
1944 * progmodes/sh-script.el (sh-maybe-here-document):
1945 * replace.el (query-replace-regexp-eval):
1946 * savehist.el (savehist-load):
1947 * simple.el (choose-completion-delete-max-match):
1948 * term.el (term-dynamic-simple-complete):
1949 * vc/ediff-init.el (ediff-check-version):
1950 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1951 * vc/vc.el (vc-diff-switches-list):
1952 * view.el (view-return-to-alist-update): Likewise.
1954 * subr.el (eval-next-after-load, makehash, insert-string)
1955 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1957 (mode-line-inverse-video): Variable deleted.
1959 * international/mule-util.el (string-to-sequence): Remove.
1961 * calendar/calendar.el (calendar-version):
1962 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1963 (icalendar-convert-diary-to-ical):
1964 * cus-edit.el (custom-mode):
1965 * ansi-color.el (ansi-color-unfontify-region):
1966 * international/latin1-disp.el (latin1-char-displayable-p):
1967 * progmodes/cwarn.el (turn-on-cwarn-mode):
1968 * progmodes/which-func.el (which-func-update-1):
1969 Use define-obsolete-function-alias.
1971 * net/newst-backend.el (newsticker-cache-filename):
1972 * net/newst-treeview.el (newsticker-groups-filename):
1973 Fix incorrect obsolescence declaration.
1975 * allout.el (allout-passphrase-hint-string): Likewise.
1976 (allout-init): Use a declare form to mark obsolete.
1978 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1979 this applies to functions.
1981 * iswitchb.el (iswitchb-read-buffer): Move code of
1982 iswitchb-define-mode-map here, and delete that obsolete function.
1984 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1985 font-lock-reference-face.
1987 2012-09-25 Glenn Morris <rgm@gnu.org>
1989 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1992 * eshell/em-term.el (eshell-term-name):
1993 Default to term-term-name. (Bug#12485)
1995 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1997 * progmodes/python.el (python-shell-send-buffer): Better handling
1998 of "if __name__ == '__main__':" conditionals when sending the buffer.
2000 2012-09-24 Glenn Morris <rgm@gnu.org>
2002 * eshell/esh-cmd.el (eshell-find-alias-function):
2003 Tighten up file-name regexp. (Bug#12499)
2005 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2007 Enhancements for triple-quote string syntax.
2008 * progmodes/python.el (python-quote-syntax): Remove.
2009 (python-syntax-propertize-function): New value.
2010 (python-syntax-count-quotes, python-syntax-stringify):
2013 2012-09-24 Chong Yidong <cyd@gnu.org>
2015 * mail/supercite.el (sc-version): Remove obsolete function.
2016 (sc-describe): Don't mark as obsolete, since it is bound.
2017 (sc-submit-bug-report): Remove.
2019 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2020 (cvs-commit-buffer-require-final-newline): Remove.
2021 (log-edit-require-final-newline)
2022 (log-edit-changelog-full-paragraphs): Default to t.
2024 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2025 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2026 * vc/vc.el (vc-checkout-carefully): Likewise.
2028 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2029 (emerge-version): Remove.
2031 * progmodes/compile.el (compile-internal): Remove.
2032 (compilation-parse-errors-function): Fix typo.
2034 * international/mule.el (set-char-table-default): Remove.
2035 (set-coding-priority, make-coding-system, generic-char-p)
2036 (charset-list, charset-bytes, charset-id): Use declare to mark
2037 functions as obsolete.
2039 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2040 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2041 * vc/vc-hooks.el (vc-default-registered): Don't use
2042 vc-master-templates.
2044 * font-lock.el (font-lock-reference-face):
2045 Use define-obsolete-variable-alias.
2047 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2048 * calendar/calendar.el (calendar-font-lock-keywords):
2049 * calendar/diary-lib.el (diary-font-lock-keywords)
2050 (diary-fancy-font-lock-keywords):
2051 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2052 * textmodes/reftex-index.el (reftex-insert-index):
2053 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2054 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2055 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2056 * progmodes/prolog.el (prolog-font-lock-keywords):
2057 * progmodes/idlwave.el (idlwave-idl-keywords):
2058 * progmodes/ada-mode.el (ada-font-lock-keywords):
2059 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2061 2012-09-24 Glenn Morris <rgm@gnu.org>
2063 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2065 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2067 * progmodes/python.el (python-indent-line): More consistent cursor
2070 2012-09-23 Stefan Merten <smerten@oekonux.de>
2072 * textmodes/rst.el: Fix compiler warning.
2074 2012-09-23 Roland Winkler <winkler@gnu.org>
2076 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2077 Transcribe also LaTeX hyphenation.
2078 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2079 bibtex-reformat-previous-options.
2081 2012-09-23 Roland Winkler <winkler@gnu.org>
2083 * proced.el (proced-renice-command): New variable.
2084 (proced-marked-processes): New function.
2085 (proced-with-processes-buffer): New macro.
2086 (proced-send-signal): Use them.
2087 (proced-renice): New command bound to r.
2089 2012-09-23 Roland Winkler <winkler@gnu.org>
2091 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2092 ibuffer-saved-filter-groups has one element, shortcut the call of
2093 completing-read. (Bug#12331)
2095 2012-09-23 Chong Yidong <cyd@gnu.org>
2097 * bindings.el (mode-line-toggle-read-only):
2098 * bs.el (bs-toggle-readonly):
2099 * buff-menu.el (Buffer-menu-toggle-read-only):
2100 * dired.el (dired-toggle-read-only):
2101 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2103 2012-09-23 Chong Yidong <cyd@gnu.org>
2105 * image.el (image-type-available-p): Adapt to init-image-library
2108 2012-09-22 Juri Linkov <juri@jurta.org>
2110 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2111 `dired-toggle-read-only'. (Bug#12462)
2113 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2115 * subr.el (temp-output-buffer-show): New function.
2116 (with-output-to-temp-buffer): Call temp-output-buffer-show
2117 instead of internal-temp-output-buffer-show.
2119 2012-09-22 Chong Yidong <cyd@gnu.org>
2121 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2124 * repeat.el (repeat): Doc fix (Bug#12348).
2126 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2129 * simple.el (shell-command-on-region): Doc fix.
2130 (read-only-mode): Doc fix.
2132 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2134 * emacs-lisp/timer.el (run-with-idle-timer)
2135 (timer-activate-when-idle): Warn against reinvoking an idle timer
2136 from within its own timer action. (Bug#12447)
2138 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2140 * cus-start.el (window-combination-limit): Add new optional
2142 * window.el (temp-buffer-window-show)
2143 (window--try-to-split-window): Handle new values of
2144 window-combination-limit (Bug#1806).
2145 (split-window): Test window-combination-limit for t instead of
2147 (display-buffer-at-bottom): New buffer display action function.
2148 * help.el (temp-buffer-resize-regexps): New option.
2149 (temp-buffer-resize-mode): Rewrite doc-string.
2150 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2151 Don't resize reused window. Suggested by Glenn Morris.
2153 2012-09-22 Stefan Merten <smerten@oekonux.de>
2155 * textmodes/rst.el: Revamp section title faces.
2156 (rst-official-version)
2157 (rst-package-emacs-version-alist): Sync with official version
2159 (rst-faces-defaults, rst-set-level-default)
2160 (rst-level-face-max, rst-level-face-base-color)
2161 (rst-level-face-base-light, rst-level-face-format-light)
2162 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2163 (rst-adornment-faces-alist): Match new setup.
2164 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2165 (rst-level-5, rst-level-6): New faces.
2167 2012-09-22 Chong Yidong <cyd@gnu.org>
2169 * simple.el (undo): Handle indirect buffers (Bug#8207).
2171 2012-09-21 Leo Liu <sdl.web@gmail.com>
2173 IDO: Disable match re-ordering for buffer switching.
2174 * ido.el (ido-buffer-disable-smart-matches): New variable.
2175 (ido-set-matches-1): Use it. (Bug#2042)
2177 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2179 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2180 Fix 2011-05-17 change. (Bug#12418)
2182 2012-09-21 Leo Liu <sdl.web@gmail.com>
2184 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2186 2012-09-21 Glenn Morris <rgm@gnu.org>
2188 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2189 Be more robust about locating simple.el.
2191 2012-09-21 Glenn Morris <rgm@gnu.org>
2193 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2195 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2197 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2199 2012-09-20 Juri Linkov <juri@jurta.org>
2201 * replace.el (query-replace-read-from): Use `read-regexp' instead
2202 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2203 (occur-read-primary-args): Use `read-regexp' instead of
2205 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2206 `read-from-minibuffer'.
2207 * isearch.el (isearch-occur): Use `read-regexp' instead of
2209 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2210 `read-from-minibuffer'.
2211 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2212 of `read-string'. (Bug#7567)
2214 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2215 and allow accepting a list of strings prepended to a list of
2216 standard default values. Doc fix. (Bug#12321)
2218 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2220 * replace.el (read-regexp): Don't add ": " when PROMPT already
2221 ends with a colon and space. (Bug#12321)
2223 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2225 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2228 2012-09-20 Stefan Merten <smerten@oekonux.de>
2230 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2231 Fixes feature request bug#11711.
2232 (rst-mode): Create `imenu-create-index-function'.
2233 (rst-get-stripped-line): Delete after refactoring.
2234 (rst-section-tree, rst-section-tree-rec)
2235 (rst-section-tree-point): Refactor and document properly.
2236 (rst-imenu-find-adornments-for-position)
2237 (rst-imenu-convert-cell, rst-imenu-create-index):
2240 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2243 (macroexp--expand-all): Use it.
2244 (macroexp--funcall-and-return): Remove by folding it into its sole
2245 caller (macroexp--warn-and-return).
2246 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2247 Use macroexp--obsolete-warning.
2249 * calc/calc.el: Fix last change by removing the whole chunk, since it
2250 was only needed back when Calc was not bundled.
2252 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2254 * emacs-lisp/debug.el (debug): Restore assignment to
2255 debugger-old-buffer removed on 2012-09-08.
2257 2012-09-20 Juri Linkov <juri@jurta.org>
2259 * dired-aux.el (dired-diff): Remove (require 'diff) since
2260 `diff-latest-backup-file' is now autoloaded.
2262 2012-09-20 Chong Yidong <cyd@gnu.org>
2264 * vc/diff.el (diff-latest-backup-file): Autoload.
2266 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * calc/calc.el: Remove redundant autoload shape check.
2269 (sel-mode): Don't defvar.
2270 (calc-get-stack-element): Add `sel-mode' arg instead.
2271 (calc-top, calc-top-list): Pass it this additional argument.
2272 * calc/calc-store.el (calc-store-map):
2273 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2274 (calc-map-equation, calc-outer-product, calc-inner-product):
2275 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2277 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2279 2012-09-19 Juri Linkov <juri@jurta.org>
2281 * dired-aux.el (dired-diff): Add (require 'diff) because
2282 `diff-latest-backup-file' is not autoloaded.
2283 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2284 of `dired-get-filename' to t to not report error when there is
2285 no default file on the current line.
2287 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2289 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2290 macroexp--eval-if-compile.
2291 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2292 (macroexp--expand-all): Use them (bug#12371).
2294 * doc-view.el (doc-view-guess-paper-size)
2295 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2297 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2299 New feature: set optimal slice from BoundingBox information.
2300 * doc-view.el (doc-view-mode-map): Add keybinding.
2301 (doc-view-menu): Add menu entry.
2302 (doc-view-set-slice): Adapt docstring.
2303 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2304 (doc-view-scale-bounding-box)
2305 (doc-view-set-slice-from-bounding-box): New functions.
2306 (doc-view-paper-sizes): New defvar.
2308 2012-09-19 Glenn Morris <rgm@gnu.org>
2310 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2311 (byte-compile-log-warning): Autoload. (Bug#12371)
2313 * calendar/calendar.el (calendar-american-month-header)
2314 (calendar-european-month-header, calendar-iso-month-header)
2315 (calendar-month-header): New options.
2316 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2317 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2319 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2321 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2323 2012-09-18 Juri Linkov <juri@jurta.org>
2325 * dired-aux.el (dired-diff): Restore original functionality of
2326 getting the default value, but keep new feature of using the
2327 latest existing backup file (`diff-latest-backup-file').
2329 2012-09-18 Juri Linkov <juri@jurta.org>
2331 * dired.el (dired-mark): If the region is active in Transient Mark
2332 mode, mark all files in the active region. Doc fix.
2333 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2334 Doc fix. (Bug#10624)
2336 2012-09-18 Juri Linkov <juri@jurta.org>
2338 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2339 attributes for M-n are pulled from the file at point.
2340 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2341 Suggested by Drew Adams. (Bug#10624)
2343 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2345 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2346 whitespace after "end".
2347 (ruby-do-end-to-brace): Collapse block to one line if it fits
2350 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2352 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2354 (debug): Don't remove debugger window when debugger is expected
2357 2012-09-18 Chong Yidong <cyd@gnu.org>
2359 * custom.el (defface): Doc fix.
2361 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2363 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2365 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2366 to initialize query-on-exit; then test that instead (bug#12288).
2368 2012-09-17 Stefan Merten <smerten@oekonux.de>
2370 * textmodes/rst.el: Add support for `testcover'.
2371 (rst-defcustom-testcover, rst-testcover-add-compose)
2372 (rst-testcover-add-1value): New functions.
2373 (rst-portable-mark-active-p): Replace by `use-region-p'.
2374 (rst-update-section, rst-classify-adornment)
2375 (rst-find-title-line): Mark `1value' forms.
2376 (rst-classify-adornment): Remove superfluous form.
2377 (rst-update-section, rst-get-adornments-around)
2378 (rst-adornment-complete-p, rst-get-next-adornment)
2379 (rst-adjust, rst-promote-region)
2380 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2381 (rst-find-pfx-in-region, rst-section-tree-rec)
2382 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2383 (rst-toc-node, rst-toc, rst-forward-section)
2384 (rst-iterate-leftmost-paragraphs)
2385 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2386 (rst-bullet-list-region)
2387 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2388 (rst-compile-find-conf, rst-compile)
2389 (rst-repeat-last-character): Fix style.
2391 2012-09-17 Chong Yidong <cyd@gnu.org>
2393 * comint.el (comint--complete-file-name-data): Don't add a space
2394 if the status is `sole'; that adds a gratuitous space in the
2395 completion-cycling case (Bug#12092).
2397 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2399 2012-09-17 Richard Stallman <rms@gnu.org>
2401 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2402 only in the mime-shown mode, not in raw mode.
2403 (rmail-mime): Toggle off mime by displaying the message without
2404 mime processing. (Bug#12305)
2406 * mail/rmail.el (rmail-retry-failure):
2407 Turn off mime processing first. (Bug#12037)
2409 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2411 2012-09-17 Chong Yidong <cyd@gnu.org>
2413 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2414 (shell-dynamic-complete-functions): Convert to defcustom.
2415 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2417 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2418 * comint.el (comint-prompt-read-only):
2419 * custom.el (defcustom):
2420 * hi-lock.el (hi-lock-mode):
2421 * ibuffer.el (ibuffer-formats):
2422 * ielm.el (ielm-prompt-read-only):
2423 * novice.el (disable-command):
2424 * saveplace.el (toggle-save-place):
2425 * speedbar.el (speedbar-supported-extension-expressions):
2426 * startup.el (auto-save-list-file-prefix, init-file-user)
2427 (after-init-hook, inhibit-startup-echo-area-message):
2428 * strokes.el (strokes-help):
2429 * time-stamp.el (time-stamp):
2430 * calendar/calendar.el (calendar, diary-file):
2431 * calendar/diary-lib.el (diary-mail-entries, diary)
2432 (diary-list-entries-hook):
2433 * calendar/holidays.el (holidays, calendar-holidays):
2434 * calendar/lunar.el (lunar-phases):
2435 * calendar/solar.el (sunrise-sunset):
2436 * emulation/edt.el (edt-load-keys):
2437 * emulation/viper.el (viper-mode):
2438 * eshell/em-alias.el (eshell-command-aliases-list):
2439 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2440 * international/ogonek.el (ogonek-information):
2441 * net/tramp-cmds.el (tramp-bug):
2442 * net/quickurl.el (quickurl-reread-hook-postfix):
2443 * play/decipher.el (decipher-font-lock-keywords):
2444 * progmodes/cc-styles.el (c-set-style):
2445 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2446 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2447 * progmodes/octave-mod.el (octave-mode):
2448 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2449 * progmodes/verilog-mode.el (verilog-read-defines):
2450 * textmodes/two-column.el (2C-mode): Likewise.
2452 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2454 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2455 that holds many addresses.
2457 2012-09-16 Chong Yidong <cyd@gnu.org>
2459 * align.el (align-areas): Call the indication function with
2460 positions instead of markers for arguments (Bug#12343).
2462 * files.el (parse-colon-path): Use split-string (Bug#12351).
2464 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2465 (display-buffer-function): Mark as obsolete.
2467 * progmodes/compile.el (compilation-parse-errors): Accept list
2468 values similar to font-lock-keywords (Bug#12136).
2469 Suggested by Oleksandr Manzyuk.
2470 (compilation-error-regexp-alist): Doc fix.
2472 2012-09-15 Glenn Morris <rgm@gnu.org>
2474 * version.el (emacs-bzr-version-bzr): New function.
2475 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2477 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2478 checkouts, check the parent dirstate matches the branch.
2479 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2482 * version.el (emacs-bzr-version): Doc fix.
2483 (emacs-bzr-version-dirstate): New function.
2484 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2485 is local try and check that it matches the branch. If not, just
2486 use dirstate information. (Bug#12441)
2488 2012-09-14 Juri Linkov <juri@jurta.org>
2490 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2493 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2495 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2497 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2498 Remove obsolete byte-compiler hack that tried to silence some warnings.
2499 (edebug-submit-bug-report): Remove.
2500 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2501 Remove aliases, use the un-prefixed name instead.
2502 (edebug-pop-to-buffer): Consider other frames.
2503 (edebug-original-read):: Make it more obvious that it's always defined.
2504 (edebug--make-form-data-entry, edebug--form-data-name)
2505 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2506 single-dashed name, and implement with cl-defstruct.
2507 (edebug-set-form-data-entry): Use the standard accessors.
2508 (edebug-make-top-form-data-entry): Use push.
2509 (edebug-no-match): Drop useless `funcall'.
2510 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2512 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2513 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2514 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2515 (easy-menu-define, with-custom-print): Remove redundant specs.
2516 (edebug-outside-overriding-local-map)
2517 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2518 (edebug--display): Bind unread-command-events directly to nil rather
2519 than binding it to unread-command-events and later setting it to nil.
2520 (edebug--display): Kill edebug-eval-buffer here...
2521 (edebug--recursive-edit): ...rather than here.
2522 Bind standard-output and standard-input.
2523 (edebug-eval): Check cl-macroexpand-all is fboundp.
2524 (edebug-temp-display-freq-count): Fix last change.
2526 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2527 * subr.el (noreturn, 1value): Add `debug' spec.
2528 * emacs-lisp/advice.el: Require cl-lib.
2529 (ad-copy-tree): Remove, use copy-tree instead.
2530 (ad-dolist): Remove use dolist or cl-dolist instead.
2531 (ad-do-return): Remove, use cl-return instead.
2532 (defadvice): Add `debug' spec.
2534 2012-09-13 Juri Linkov <juri@jurta.org>
2536 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2539 2012-09-13 Glenn Morris <rgm@gnu.org>
2541 * calc/calc.el (math-compose-expr):
2542 * calc/calc-ext.el (math-compose-expr):
2543 * progmodes/cc-defs.el (cl-macroexpand-all):
2544 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2545 (cl-macroexpand-all): Update declarations.
2547 * vc/vc.el: No need to require ediff.
2548 (ediff-load-version-control): Declare.
2549 (ediff-vc-internal): Fix declaration.
2550 (vc-version-ediff): Require ediff.
2552 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2554 Use a more backwards-compatible timer format (Bug#12430).
2555 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2556 being right after USECS, as that better supports old code that
2557 inadvisedly looked directly at the timer vector.
2559 2012-09-13 Kenichi Handa <handa@gnu.org>
2561 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2562 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2563 `coding-priority' property of these language environment.
2565 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2567 Fix glitches caused by addition of psec to timers (Bug#12430).
2568 * image.el (image-animate-timer):
2569 * time.el (display-time-world-timer):
2570 Use timer--function and timer--args rather than raw access to
2573 2012-09-13 Glenn Morris <rgm@gnu.org>
2575 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2576 If not compiling a file, try using load-file-name.
2578 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2582 (edebug-update-eval-list): Use `push'.
2584 * emacs-lisp/edebug.el: Use lexical-binding.
2585 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2586 Mark unused args with underscore.
2587 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2588 (edebug-form-data): Use defvar-local.
2589 (edebug-make-before-and-after-form, edebug-make-after-form):
2591 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2592 Not dynamically scoped any more.
2593 (edebug--enter-trace): Add arguments `function' and `args'.
2594 Rename from edebug-enter-trace.
2595 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2596 (edebug--update-coverage): Add `after-index' and `value' args.
2597 Rename from edebug-update-coverage.
2598 (edebug-slow-after): Call it accordingly.
2599 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2600 edebug-recursive-edit.
2601 (edebug--display): Call it accordingly. Add args `value',
2602 `offset-index', and `arg-mode'. Rename from edebug-display.
2603 (edebug-debugger, edebug): Call it accordingly.
2604 (edebug-eval-display-list): Use dolist.
2606 2012-09-12 Juri Linkov <juri@jurta.org>
2608 * info.el (Info-search): Don't check for isearch-mode and
2609 isearch-regexp before let-binding search-spaces-regexp to
2610 Info-search-whitespace-regexp.
2611 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2612 search-whitespace-regexp if isearch-lax-whitespace or
2613 isearch-regexp-lax-whitespace is non-nil.
2614 (Info-mode): Don't set local variable search-whitespace-regexp.
2615 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2617 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2620 (debugger-env-macro): Remove support for unread-command-char.
2622 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2623 the temporary map re-appearing on emulation-mode-map-alists.
2625 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2628 * ehelp.el (with-electric-help): Accept functions in
2629 electric-help-form-to-execute.
2630 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2631 And replace unread-command-char -> unread-command-events.
2633 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2635 Sync with Tramp 2.2.6.
2637 * net/tramp.el (tramp-accept-process-output): Don't use
2638 JUST-THIS-ONE in the XEmacs case.
2640 * net/trampver.el: Update release number.
2642 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2644 * emacs-lisp/debug.el (debugger-previous-window-height):
2646 (debug): When debugger-jumping-flag is non-nil try to restore
2647 height of debugger window. (Bug#8789)
2649 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2651 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2652 overriding-local-map and pre/post-command-hook here.
2653 (edebug-recursive-edit): Do it here instead (bug#12345).
2654 (edebug-outside-unread-command-char): Remove all uses of
2655 unread-command-char.
2657 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2658 inhibit-debugger is bound instead.
2660 2012-09-11 Bastien Guerry <bzg@gnu.org>
2662 * subr.el (set-temporary-overlay-map): Add a docstring.
2665 2012-09-11 Bastien Guerry <bzg@gnu.org>
2667 * minibuffer.el (completion-table-subvert): Fix docstring.
2670 2012-09-11 Bastien Guerry <bzg@gnu.org>
2672 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2674 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2676 * progmodes/sql.el: Version 3.1
2677 (sql-db2-escape-newlines): New variable.
2678 (sql-escape-newlines-filter): Use it.
2680 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2682 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2684 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2686 * vc/diff-mode.el (diff-mode-menu):
2687 Bind diff-remove-trailing-whitespace.
2689 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2692 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2693 (emacs-lisp-byte-code-mode): New functions.
2694 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2695 (eval-defun-2): Remove bogus interactive spec.
2696 (lisp-indent-line): Remove redundant whole-exp code, now done in
2697 indent-according-to-mode.
2698 (save-match-data): Remove redundant indent data.
2700 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2703 2012-09-09 Juri Linkov <juri@jurta.org>
2705 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2706 (replace-lax-whitespace, query-replace-regexp)
2707 (query-replace-regexp-eval, replace-regexp): Doc fix.
2708 (perform-replace, replace-highlight): Let-bind
2709 isearch-lax-whitespace to replace-lax-whitespace and
2710 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2712 * isearch.el (isearch-query-replace): Let-bind
2713 replace-lax-whitespace to isearch-lax-whitespace and
2714 replace-regexp-lax-whitespace to
2715 isearch-regexp-lax-whitespace. (Bug#10885)
2717 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2721 2012-09-09 Alan Mackenzie <acm@muc.de>
2723 * progmodes/cc-engine.el (c-state-cache-init):
2724 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2725 (c-record-parse-state-state):
2726 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2728 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2730 * register.el (register-separator): Rename from
2731 separator-register. All uses changed. Doc fix.
2732 (register): Fix version.
2734 2012-09-09 Chong Yidong <cyd@gnu.org>
2736 * replace.el (query-replace-map): Bind four new symbols for
2737 requesting window scrolling.
2739 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2740 query-replace-map (Bug#8948).
2742 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2744 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2745 since they are now in query-replace-map.
2747 * window.el (scroll-other-window-down): Make the arg optional.
2749 2012-09-09 Chong Yidong <cyd@gnu.org>
2751 * files.el (hack-local-variables-confirm): Use quit-window to kill
2752 the *Local Variables* buffer.
2754 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2756 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2757 not just expect to be at its beginning. Adjust callees.
2758 Succeed when do-end block has no space before the pipe character.
2759 (ruby-brace-to-do-end): When the original block is one-liner,
2760 convert to multiline. Reindent the result.
2762 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2764 * register.el (register): New group.
2765 (separator-register): New user option.
2766 (increment-register): Route it to `append-to-register', if
2767 register contains text. Implication is that `C-x r +' can now be
2768 used for appending to a text register (bug#12217).
2769 (append-to-register, prepend-to-register): Add separator based on
2770 `separator-register'.
2772 2012-09-08 Alan Mackenzie <acm@muc.de>
2774 AWK Mode: make auto-newline work when there's "==" in the pattern.
2775 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2777 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2778 Test more rigorously for "=" token.
2780 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2782 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2783 Only fail when reached LIMIT.
2785 2012-09-08 Chong Yidong <cyd@gnu.org>
2787 * dired.el (dired-mode-map): Don't bind M-=.
2789 * dired-aux.el (dired-diff): Use backup file as default.
2791 2012-09-08 Drew Adams <drew.adams@oracle.com>
2793 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2795 2012-09-08 Chong Yidong <cyd@gnu.org>
2797 * subr.el (syntax-after, syntax-class): Doc fix.
2799 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2801 * window.el (display-buffer-in-previous-window): New buffer
2802 display action function.
2804 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2805 (debugger-previous-window): New variable.
2806 (debug): Rewrite using display-buffer-in-previous-window,
2807 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2809 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2813 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2815 * progmodes/python.el (python-shell-send-string):
2816 When default-directory is remote, create temp file on remote
2818 (python-shell-send-file): When file is remote, pass local view of
2819 file paths to remote Python interpreter. (Bug#12340)
2821 2012-09-07 Chong Yidong <cyd@gnu.org>
2823 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2825 * files.el (after-find-file): Don't fail on a read-only buffer if
2826 require-final-newline is `visit' or `visit-save' (Bug#11156).
2828 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2830 * userlock.el (ask-user-about-supersession-threat):
2831 Use read-char-choice (Bug#12093).
2833 2012-09-07 Chong Yidong <cyd@gnu.org>
2835 * subr.el (buffer-narrowed-p): New function.
2837 * ses.el (ses-widen):
2838 * simple.el (count-words--buffer-message):
2839 * net/browse-url.el (browse-url-of-buffer): Use it.
2841 * simple.el (count-words-region): Don't signal an error if there
2842 is a non-nil prefix arg and the mark is not set.
2844 * help.el (describe-key-briefly): Allow the message to be seen
2845 when invoked from the minibuffer (Bug#7014).
2847 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2849 * progmodes/ruby-mode.el (ruby-end-of-defun)
2850 (ruby-beginning-of-defun): Simplify, allow indentation before
2851 block beginning and end keywords.
2852 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2853 (ruby-end-of-defun): Expect that the point is at the beginning of
2856 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2860 (cl--make-usage-args): Strip _ from argument names.
2862 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2864 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2865 obsolete alias speedbar-key-map.
2866 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2867 (vhdl-index-menu-init): Don't use obsolete variable
2868 font-lock-maximum-size.
2870 2012-09-06 Chong Yidong <cyd@gnu.org>
2872 * frame.el (window-system-version): Mark as obsolete.
2874 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2875 of obsolete variable speedbar-key-map.
2877 2012-09-06 Juri Linkov <juri@jurta.org>
2879 * replace.el (replace-lax-whitespace): New defcustom.
2880 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2881 (replace-string, replace-regexp): Mention it in docstrings.
2882 (perform-replace, replace-highlight): Let-bind
2883 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2884 to the values of replace-lax-whitespace and regexp-flag.
2885 Don't let-bind search-whitespace-regexp. (Bug#10885)
2887 * isearch.el (isearch-query-replace): Let-bind
2888 replace-lax-whitespace instead of let-binding
2889 replace-search-function and replace-re-search-function.
2890 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2891 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2892 (isearch-toggle-symbol): Set isearch-regexp to nil
2893 in isearch-word mode (like in isearch-toggle-word).
2895 2012-09-06 Juri Linkov <juri@jurta.org>
2897 * replace.el (replace-search-function)
2898 (replace-re-search-function): Set default values to nil.
2899 (perform-replace): Let-bind isearch-related variables based on
2900 replace-related values, call `isearch-search-fun' and let-bind
2901 the result to `search-function'. Remove code that sets
2902 `search-function' and `search-string' separately for
2904 (replace-highlight): Add new argument `delimited-flag' and
2905 rename other arguments to the names used in `perform-replace'.
2906 Let-bind `isearch-word' to the argument `delimited-flag'.
2907 (Bug#10885, bug#10887)
2909 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2911 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2912 ruby-beginning-of-indent, simplify, allow all keywords to have
2913 indentation before them.
2914 (ruby-beginning-of-indent): Adjust for above. Search until the
2915 found point is not inside a string or comment.
2916 (ruby-font-lock-keywords): Allow symbols to start with "@"
2917 character, give them higher priority than variables.
2918 (ruby-syntax-propertize-function)
2919 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2920 matchers. Expression expansions are not comments when inside a
2921 string, and there comment syntax status is irrelevant.
2922 (ruby-match-expression-expansion): New function. Check that
2923 expression expansion is inside a string, and it's not escaped.
2924 (ruby-font-lock-keywords): Use it.
2926 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2928 * help.el (temp-buffer-max-height): New default value.
2929 (temp-buffer-resize-frames): New option.
2930 (resize-temp-buffer-window): Optionally resize frame.
2932 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2933 (fit-frame-to-buffer): New function.
2935 2012-09-05 Glenn Morris <rgm@gnu.org>
2937 * emulation/cua-rect.el (cua--init-rectangles):
2938 * textmodes/picture.el (picture-mode-map):
2939 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2940 like forward-char and backward-char. (Bug#12317)
2942 2012-09-05 Leo Liu <sdl.web@gmail.com>
2944 * progmodes/flymake.el (flymake-warning-re): New variable.
2945 (flymake-parse-line): Use it.
2947 2012-09-05 Glenn Morris <rgm@gnu.org>
2949 * calendar/holidays.el (holiday-christian-holidays):
2950 Rename an entry. (Bug#12289)
2952 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2954 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2957 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * loadup.el: Load macroexp. Remove hack.
2960 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2961 (macroexp--expand-all): Use it to get better warnings.
2962 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2963 (internal-macroexpand-for-load): New functions.
2964 (macroexp--pending-eager-loads): New var.
2965 (emacs-startup-hook): New hack to replace one in loadup.el.
2966 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2967 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2968 (cl-psetf): Simplify.
2969 (cl-defstruct): Add indent rule.
2971 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2973 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2974 over `user-mail-address' for the SMTP MAIL FROM envelope.
2975 (smtpmail-via-smtp): Ditto.
2977 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2979 * progmodes/ruby-mode.el: Clean up keybindings.
2980 (ruby-mode-map): Don't bind ruby-electric-brace,
2981 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2982 backward-kill-word, reindent-then-newline-and-indent.
2983 (ruby-mark-defun): Remove.
2984 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2985 (ruby-mode): Set local beginning-of-defun-function and
2986 end-of-defun-function values.
2988 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2990 * window.el (temp-buffer-window-setup-hook)
2991 (temp-buffer-window-show-hook): New hooks.
2992 (temp-buffer-window-setup, temp-buffer-window-show)
2993 (with-temp-buffer-window): New functions.
2994 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2995 (special-display-popup-frame): Make sure the window used shows BUFFER.
2997 * help.el (temp-buffer-resize-mode): Fix doc-string.
2998 (resize-temp-buffer-window): New optional argument WINDOW.
3000 * files.el (recover-file, save-buffers-kill-emacs):
3001 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3003 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3005 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3006 remote definition of `default-directory', ensure we can connect.
3008 2012-09-02 Juri Linkov <juri@jurta.org>
3010 Toggle whitespace matching mode with M-s SPC.
3011 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3013 * isearch.el (search-whitespace-regexp): Doc fix.
3014 Remove cons cell customization.
3015 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3016 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3018 (isearch-forward, isearch-forward-regexp): Doc fix.
3019 (isearch-toggle-lax-whitespace): New command.
3020 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3021 (re-search-forward-lax-whitespace)
3022 (re-search-backward-lax-whitespace): New functions.
3023 (isearch-whitespace-regexp): Remove function.
3024 (isearch-query-replace): Let-bind replace-search-function and
3025 replace-re-search-function.
3026 (isearch-occur): Let-bind search-spaces-regexp according to the
3027 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3028 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3029 condition for C-q SPC.
3030 (isearch-search-fun-default): Use new functions mentioned above.
3031 (isearch-search-forward, isearch-search-backward): Remove functions.
3032 (isearch-search): Don't let-bind search-spaces-regexp.
3033 (isearch-lazy-highlight-space-regexp): Remove variable.
3034 (isearch-lazy-highlight-lax-whitespace)
3035 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3036 (isearch-lazy-highlight-new-loop): Use them.
3037 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3039 2012-09-02 Chong Yidong <cyd@gnu.org>
3041 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3043 2012-09-02 Glenn Morris <rgm@gnu.org>
3045 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3047 2012-09-01 Glenn Morris <rgm@gnu.org>
3049 * term.el: Tidy up menu definitions.
3050 (term-mode-map): Use easymenu for In/Out, Complete menus.
3051 (term-pager-break-map): Initialize in the defvar.
3052 (term-terminal-menu, term-signals-menu): Define with easymenu.
3053 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3054 (term-pager-menu): New, extracted from term-process-pager.
3055 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3056 (term-update-mode-line): Propertize line/char and page items.
3057 (term-process-pager): Move keymap initialization elsewhere.
3059 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3061 * window.el (switch-to-prev-buffer): Handle additional values of
3062 BURY-OR-KILL argument. Don't switch in minibuffer window.
3063 (switch-to-next-buffer): Don't switch in minibuffer window.
3064 (quit-restore-window): New function based on quit-window.
3065 Handle additional values of former KILL argument.
3066 (quit-window): Call quit-restore-window with appropriate
3067 interpretation of KILL argument.
3068 (display-buffer-below-selected): New buffer display action
3071 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * minibuffer.el (completion-at-point-functions): Complete docstring
3076 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3078 Better seed support for (random).
3079 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3080 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3081 * play/mpuz.el, play/tetris.el, play/zone.el:
3082 * calc/calc-comb.el (math-init-random-base):
3083 * play/blackbox.el (bb-init-board):
3084 * play/life.el (life):
3085 * server.el (server-use-tcp):
3086 * type-break.el (type-break):
3087 Remove unnecessary call to (random t).
3088 * net/sasl.el (sasl-unique-id-function):
3089 Change (random t) to (random), now that the latter is more random.
3090 * play/life.el (life-initialized): Remove no-longer-needed var.
3092 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3094 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3095 Consider frame's buffer predicate when choosing the buffer.
3098 2012-08-30 Richard Stallman <rms@gnu.org>
3100 * simple.el (special-mode-map): Delete binding for `z'.
3102 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3104 * progmodes/compile.el (compilation-always-kill): Doc fix.
3106 2012-08-30 Chong Yidong <cyd@gnu.org>
3108 * window.el (display-buffer-reuse-frames): Make the obsolescence
3109 message more informative.
3111 2012-08-30 Glenn Morris <rgm@gnu.org>
3113 * paren.el (show-paren-delay):
3114 Add a :set function. Doc fix. (Bug#12297)
3116 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3118 * progmodes/compile.el (compilation-always-kill): New var.
3119 (compilation-start): Use it.
3121 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3124 * files.el (read-only-mode): Move to simple.el.
3126 * files.el (read-only-mode): New minor mode.
3127 (toggle-read-only): Use it and mark obsolete.
3128 (find-file--read-only):
3129 * vc/vc.el (vc-next-action, vc-checkout):
3130 * vc/vc-cvs.el (vc-cvs-checkout):
3131 * obsolete/vc-mcvs.el (vc-mcvs-update):
3132 * ffap.el (ffap--toggle-read-only): Update callers.
3134 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3136 * eshell/esh-ext.el (eshell-external-command): Do not examine
3137 remote shell scripts.
3138 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3140 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3143 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3147 2012-08-28 Leo Liu <sdl.web@gmail.com>
3149 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3150 completion-at-point. (Bug#12220)
3152 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3154 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3156 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3159 be buffer-local; add delete-trailing-whitespace (bug#12259).
3161 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3163 * progmodes/hideif.el (hif-compress-define-list):
3164 Fix typo. (Bug#11951)
3166 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3168 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3169 buffer local setting.
3171 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3172 rcirc-encode-coding-system.
3174 2012-08-28 Leo Liu <sdl.web@gmail.com>
3176 * net/rcirc.el (rcirc-split-message): New function.
3177 (rcirc-send-message): Use it. (Bug#12051)
3179 2012-08-28 Juri Linkov <juri@jurta.org>
3181 * info.el (Info-fontify-node): Hide empty lines at the end of
3182 the node. (Bug#12272)
3184 2012-08-27 Drew Adams <drew.adams@oracle.com>
3186 * dired.el (dired-pop-to-buffer): Make window start at beginning
3187 of buffer (Bug#12281).
3189 2012-08-26 Chong Yidong <cyd@gnu.org>
3191 * window.el (special-display-regexps, special-display-frame-alist)
3192 (special-display-buffer-names, special-display-function)
3193 (display-buffer-reuse-frames): Mark as obsolete.
3195 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3197 * help.el (help-print-return-message): Don't treat
3198 display-buffer-reuse-frames specially.
3200 2012-08-26 Chong Yidong <cyd@gnu.org>
3202 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3203 New variable, replacing gdb-frame-parameters.
3204 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3205 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3206 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3207 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3208 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3209 the functions directly with gdb-display-buffer-other-frame-action.
3210 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3211 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3212 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3213 (gdb-display-registers-buffer): Define directly.
3214 (def-gdb-display-buffer): Macro deleted.
3215 (gdb-display-buffer): Remove second and third args, callers don't
3216 use them. Defer to the default display-buffer behavior, apart
3217 from making windows dedicated.
3218 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3220 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3222 * window.el (display-buffer-pop-up-frame): Handle a
3223 pop-up-frame-parameters alist entry.
3224 (display-buffer): Document it.
3226 2012-08-26 Chong Yidong <cyd@gnu.org>
3228 * isearch.el (search-whitespace-regexp): Make string and nil
3229 values apply to both ordinary and regexp search. Allow a cons
3230 cell value to distinguish between the two.
3231 (isearch-whitespace-regexp, isearch-search-forward)
3232 (isearch-search-backward): New functions.
3233 (isearch-occur, isearch-search-fun-default, isearch-search)
3234 (isearch-lazy-highlight-new-loop): Use them.
3235 (isearch-forward, isearch-forward-regexp): Doc fix.
3237 2012-08-26 Chong Yidong <cyd@gnu.org>
3239 * faces.el (help-argument-name): Always inherit from italic
3242 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3244 * window.el (window--even-window-heights): Even heights when
3245 WINDOW and the selected window form a vertical combination.
3246 (display-buffer-use-some-window): Provide that window used gets
3247 sized back by quit-window. (Bug#11880) and (Bug#12091)
3249 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3251 Fix file time stamp problem with bzr and CVS (Bug#12001).
3252 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3253 in the file's time stamp, since the version control system loses
3256 2012-08-22 Juri Linkov <juri@jurta.org>
3258 * info.el (Info-fontify-node): Hide the suffix of the
3259 Info file name in the header line. (Bug#12187)
3261 2012-08-22 Glenn Morris <rgm@gnu.org>
3263 * calendar/cal-tex.el (cal-tex-weekly-common):
3264 Restore leading blank page.
3266 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3268 * misc.el (forward-to-word, backward-to-word): Activate or extend
3269 the region under `shift-select-mode'. (Bug#12231)
3271 2012-08-22 Bastien Guerry <bzg@gnu.org>
3273 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3274 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3275 gives details on why the space is never needed.
3277 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3279 * window.el (walk-window-tree, window-with-parameter):
3280 New optional argument MINIBUF to control whether these functions
3281 should run on the minibuffer window.
3282 (window-at-side-list): Don't operate on minibuffer window.
3283 (window-in-direction): Simplify and rewrite doc-string.
3284 (window--size-ignore): Rename to window--size-ignore-p.
3286 (display-buffer-in-atom-window, window--major-non-side-window)
3287 (window--major-side-window, display-buffer-in-major-side-window)
3288 (delete-side-window, display-buffer-in-side-window):
3290 (window--side-check, window-deletable-p, delete-window)
3291 (delete-other-windows, split-window): Handle side windows and
3292 atomic windows appropriately.
3293 (window--display-buffer): Call display-buffer-record-window also
3294 when the window buffer did not change.
3296 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3298 * help-fns.el (help-fns--key-bindings):
3299 Abbreviate non-symbol remap targets. (Bug#12174)
3301 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3303 * dired.el (dired-mark-remembered): Don't clobber point.
3306 2012-08-22 Glenn Morris <rgm@gnu.org>
3308 * progmodes/bug-reference.el (bug-reference): New custom group.
3309 (bug-reference-bug-regexp): Make it a defcustom.
3311 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3313 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3314 (js-paren-indent-offset, js-square-indent-offset)
3315 (js-curly-indent-offset): Add :safe (Bug#12257).
3317 2012-08-22 Edward O'Connor <hober0@gmail.com>
3319 * json.el (json-key-format): Add error properties.
3320 (json-encode-key): New function.
3321 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3322 Use json-encode-key.
3324 2012-08-22 Glenn Morris <rgm@gnu.org>
3326 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3327 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3328 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3329 Update for above change.
3331 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3333 * cus-face.el (custom-face-attributes): Fix customize type for the
3334 :underline attribute. (Bug#11805)
3336 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3338 * window.el (window-point-1, set-window-point-1): Remove.
3339 (window-in-direction, record-window-buffer)
3340 (set-window-buffer-start-and-point, split-window-below)
3341 (window--state-get-1, display-buffer-record-window):
3342 Replace calls to window-point-1 and set-window-point-1 by calls to
3343 window-point and set-window-point respectively.
3345 2012-08-21 Glenn Morris <rgm@gnu.org>
3347 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3348 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3351 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3352 (cal-tex-shortday): New function.
3353 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3354 (cal-tex-cursor-filofax-daily): Use the above.
3356 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3358 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3359 (cal-tex-cursor-filofax-week): Use them.
3361 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3363 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3364 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3366 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3367 (cal-tex-end-document): Don't rely on buffer name.
3369 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3371 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3372 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3373 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3376 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3377 (cal-tex-cursor-week, cal-tex-cursor-week2)
3378 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3379 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3380 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3381 (cal-tex-insert-preamble, cal-tex-b-document)
3382 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3383 Improve cal-tex-cmd usage.
3385 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3386 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3387 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3388 (cal-tex-weekly-paper): New function.
3389 (cal-tex-cursor-week, cal-tex-cursor-week2)
3390 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3391 (cal-tex-cursor-day): Use it.
3393 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3394 (cal-tex-cursor-filofax-week): Remove leading blank page.
3396 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3397 Add autoload cookie. For now at least, don't use color, since
3398 no other cal-tex function does.
3400 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3401 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3402 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3404 2012-08-21 Juri Linkov <juri@jurta.org>
3406 * info.el (Info-file-attributes): New variable.
3407 (info-insert-file-contents): Add file attributes to
3408 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3409 `Info-toc-nodes' when previous modtime of the Info file is less
3411 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3412 of info.el. (Bug#12230)
3414 2012-08-20 Glenn Morris <rgm@gnu.org>
3416 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3417 * calendar/holidays.el (calendar-holiday-list):
3418 Report errors with display-warning rather than beep'n'sleep.
3420 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3422 * net/tramp.el (tramp-accept-process-output): Accept only output
3423 from PROC. Otherwise, process filters and sentinels might be
3424 confused. (Bug#12145)
3426 2012-08-20 Chong Yidong <cyd@gnu.org>
3428 * descr-text.el (describe-text-properties-1): Use overlays-in to
3429 report on empty overlays (Bug#3322).
3431 2012-08-20 Glenn Morris <rgm@gnu.org>
3433 * mail/rmailout.el (rmail-output-read-file-name):
3434 Trap and report errors in rmail-output-file-alist elements.
3436 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3437 since most non-font-lock faces are not also variables).
3439 2012-08-20 Edward Reingold <reingold@iit.edu>
3441 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3442 New function. (Bug12160)
3444 2012-08-19 Glenn Morris <rgm@gnu.org>
3446 * mail/rmailout.el (rmail-output-read-file-name):
3447 Fix previous change (when the alist is nil or does not match).
3449 2012-08-19 Chong Yidong <cyd@gnu.org>
3451 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3454 2012-08-18 Chong Yidong <cyd@gnu.org>
3456 * simple.el (yank-handled-properties): New defcustom.
3457 (yank-excluded-properties): Add font-lock-face and category.
3460 * subr.el (remove-yank-excluded-properties):
3461 Obey yank-handled-properties. The special handling of font-lock-face
3462 and category is now done this way, instead of being hard-coded.
3463 (insert-for-yank-1): Remove font-lock-face handling.
3464 (yank-handle-font-lock-face-property)
3465 (yank-handle-category-property): New function.
3467 2012-08-17 Glenn Morris <rgm@gnu.org>
3469 * mail/rmailout.el (rmail-output-read-file-name):
3470 Check rmail-output-file-alist against the full message body
3471 in the correct rmail buffer. (Bug#12214)
3473 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3475 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3476 Eliminate superfluous prompt. (Bug#12203)
3478 2012-08-17 Chong Yidong <cyd@gnu.org>
3480 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3481 font spec, set the font directly (Bug#3228).
3483 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3485 * window.el (delete-window): Fix last fix.
3487 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3489 * window.el (window-valid-p): Move to window.c.
3490 (window-child, window-child-count, window-last-child)
3491 (window-normalize-window, window-combined-p)
3492 (window-combinations, window-atom-root, window-min-size)
3493 (window-sizable, window-sizable-p, window-size-fixed-p)
3494 (window-min-delta, window-max-delta, window--resizable)
3495 (window--resizable-p, window-resizable, window-total-size)
3496 (window-full-height-p, window-full-width-p, window-body-size)
3497 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3498 (minimize-window, window-deletable-p, delete-window)
3499 (delete-other-windows, set-window-buffer-start-and-point)
3500 (next-buffer, previous-buffer, split-window, balance-windows-2)
3501 (set-window-text-height, window-buffer-height)
3502 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3503 (truncated-partial-width-window-p): Minor code adjustments.
3504 In doc-strings state whether the argument window has to denote a
3505 live, valid or any window.
3507 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3509 * progmodes/subword.el (subword-forward-function)
3510 (subword-backward-function, subword-forward-regexp)
3511 (subword-backward-regexp): New variables.
3512 (subword-forward, subword-forward-internal, subword-backward-internal):
3513 Use new variables, eg so that different "word" definitions
3514 can be easily used. (Bug#11411)
3516 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3519 for composite selectors.
3520 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3521 operation just because we can't find a previous revision.
3523 2012-08-15 Chong Yidong <cyd@gnu.org>
3525 * frame.el (set-frame-font): Accept font objects.
3527 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3531 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3533 * man.el (Man-overstrike-face, Man-underline-face)
3534 (Man-reverse-face): Remove variables.
3535 (Man-overstrike, Man-underline, Man-reverse): New faces.
3536 (Man-fontify-manpage): Use them instead of the variables.
3537 (Man-cleanup-manpage): Comment change.
3538 (Man-ansi-color-map): New variable.
3539 (Man-fontify-manpage): Use it.
3540 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3542 Implement ANSI SGR parameters 22-27 (bug#12146).
3543 * ansi-color.el (ansi-colors): Doc fix.
3544 (ansi-color-context, ansi-color-context-region): Doc fix.
3545 (ansi-color--find-face): New function.
3546 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3547 Rename the local variable `face' to `codes' since it is now a list of
3548 ansi codes. Doc fix.
3549 (ansi-color-get-face): Remove.
3550 (ansi-color-parse-sequence): New function, derived from
3551 ansi-color-get-face.
3552 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3555 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * subr.el (read-passwd): Allow use from a minibuffer.
3559 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3561 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3562 inside comments and strings as identifiers.
3564 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3565 expression to evaluate. This allows to evaluate expressions with
3566 embedded whitespace.
3567 (gud-tooltip-tips): Add a blank before the newline in the
3568 message-box text, for the benefit of message-box emulation on
3571 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3572 messages from GDB, pop them up in a tooltip to give feedback to
3574 (gdb-tooltip-print-1): Quote the expression to evaluate.
3575 This allows to evaluate expressions with embedded whitespace.
3576 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3577 if the TTY name is nil or empty (which happens when communicating
3578 with the inferior via pipes, e.g. on MS-Windows).
3579 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3580 don't send that to the GUD buffer.
3582 2012-08-14 Glenn Morris <rgm@gnu.org>
3584 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3585 Optimize away setq-default with no args, as for setq. (Bug#12195)
3587 2012-08-14 Chong Yidong <cyd@gnu.org>
3589 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3591 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3594 2012-08-14 Glenn Morris <rgm@gnu.org>
3596 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3598 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3600 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3601 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3602 Use cached shell name.
3604 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3606 * progmodes/python.el (python-shell-send-string):
3607 (python-shell-send-setup-code): Do not use `format' with `message'.
3609 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3611 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3612 (ruby-percent-literal-beg-re): New constant.
3613 (ruby-syntax-general-delimiters-goto-beg): Rename to
3614 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3615 (ruby-syntax-propertize-general-delimiters): Rename to
3616 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3617 popular term. Adjust comments everywhere.
3618 (ruby-syntax-propertize-percent-literal): Only propertize when not
3619 inside a simple string or comment. When the literal is unclosed,
3620 leave the text after it unpropertized.
3621 (ruby-syntax-methods-before-regexp): New constant.
3622 (ruby-syntax-propertize-function): Use it to recognize regexps.
3623 Don't look at the text after regexp, just use the whitelist.
3625 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3627 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3628 non-nil always load the compiled file if it exists. (Bug#12197)
3630 2012-08-14 Chong Yidong <cyd@gnu.org>
3632 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3633 (hi-lock-set-pattern): When deciding whether to use font lock or
3634 overlays, look at font-lock-mode instead of font-lock-fontified
3636 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3637 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3639 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3641 * subr.el (internal--after-with-selected-window): Fix typo
3644 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3646 Use `completion-table-dynamic' for completion functions.
3647 * progmodes/python.el
3648 (python-shell-completion--do-completion-at-point)
3649 (python-shell-completion--get-completions):
3651 (python-shell-completion-complete-at-point): New function.
3652 (python-completion-complete-at-point): Use it.
3654 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3656 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3657 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3659 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3661 * subr.el (function-get): Refine `autoload' arg so it can also
3662 autoload functions for gv.el (bug#12191).
3663 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3666 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3667 Prefer pcase-let over destructuring-bind.
3668 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3669 Also, remove whitespace as we go, rather than after accumulating the
3672 * subr.el (internal--before-with-selected-window)
3673 (internal--after-with-selected-window): Fix typo seleted->selected.
3674 (with-selected-window): Adjust callers.
3675 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3677 2012-08-13 Bastien Guerry <bzg@gnu.org>
3679 * window.el (special-display-popup-frame): Minor docstring
3680 enhancement. (Bug#12172)
3682 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3684 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3686 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3689 * files.el (hack-local-variables-filter): Remove useless eval.
3691 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3693 * subr.el (with-selected-window): Fix last change.
3695 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * subr.el (internal--before-with-seleted-window)
3698 (internal--after-with-seleted-window): New functions.
3699 (with-selected-window): Use them, to replace dependency on
3702 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3704 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3705 binding for `newline'.
3706 (ruby-move-to-block): When moving backward, stop at block opening,
3708 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3709 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3710 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3711 `ruby-toggle-block'.
3713 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * ibuffer.el (ibuffer-do-toggle-read-only):
3716 * dired.el (dired-toggle-read-only):
3717 * buff-menu.el (Buffer-menu-toggle-read-only):
3718 * bindings.el (mode-line-toggle-read-only):
3719 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3721 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3723 * descr-text.el (describe-char): Put the overlays over the
3724 "displayed as" character.
3726 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3728 * calc/calc-units.el (math-default-units-table): Give an
3730 (math-put-default-units): Add options to put composite units and
3731 unit systems in the default units table.
3732 (calc-convert-units): Send composite units to
3733 `math-put-default-units' when appropriate.
3735 2012-08-11 Glenn Morris <rgm@gnu.org>
3737 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3739 * tutorial.el (help-with-tutorial):
3740 * emacs-lisp/copyright.el (copyright-update-directory):
3741 * emacs-lisp/autoload.el (autoload-find-generated-file)
3742 (autoload-find-file): Disable local eval: (for insurance).
3744 * files.el (hack-local-variables-filter): If an eval: form is not
3745 known to be safe, and enable-local-variables is :safe, then ignore
3746 the form totally, as is done for non-eval forms. (Bug#12155)
3747 This is CVE-2012-3479.
3749 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3752 (rx-form): Simplify.
3754 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3756 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3757 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3758 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3759 (ruby-syntax-propertize-function): Adjust for changes in
3760 `ruby-syntax-propertize-heredoc'.
3762 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3764 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3765 binding (use `M-;' instead).
3766 (ruby-singleton-class-p): New function.
3767 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3769 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3773 2012-08-10 Chong Yidong <cyd@gnu.org>
3775 * progmodes/python.el (python-shell-get-process-name): Don't mess
3776 with same-window-buffer-names.
3778 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3779 (eshell-remove-from-window-buffer-names): Make obsolete.
3780 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3781 (eshell): Just use pop-to-buffer-same-window instead.
3783 2012-08-10 Chong Yidong <cyd@gnu.org>
3785 * bindings.el: Bind M-= back to count-words-region.
3787 * simple.el (count-words-region): Accept a prefix arg for acting
3788 on the entire buffer.
3789 (count-words--buffer-message): New helper function.
3791 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3794 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3795 (event-start, event-end): Use posn-at-point to return a more
3797 (posnp): New function.
3798 * mouse.el (popup-menu-normalize-position): Use it.
3800 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3802 * mouse.el (popup-menu-normalize-position): New function.
3803 (popup-menu): Use `popup-menu-normalize-position' to normalize
3804 the form for POSITION argument.
3806 * term/x-win.el (x-menu-bar-open):
3807 Use the value returend from (posn-at-point) as position
3808 passed to `popup-menu'.
3810 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3812 * calc/calccomp.el (math-compose-expr): Add extra argument
3813 indicating that parentheses should be put around products in
3814 denominators. Give multiplication precedence over division during
3817 2012-08-09 Chong Yidong <cyd@gnu.org>
3819 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3820 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3821 (Man-untabify-command, manual-program): Convert to defcustom
3824 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3826 * descr-text.el (describe-char): Don't insert extra newlines
3829 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3830 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3832 * align.el (align-region): Delete temporary markers (Bug#10047).
3833 Plus some code cleanups.
3835 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3837 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3838 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3839 (python-shell-internal-last-output): Use make-local-variable
3840 instead of make-variable-buffer-local.
3842 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3844 * progmodes/python.el: Enhancements to forward-sexp.
3845 (python-nav-forward-sexp): Rename from
3846 python-nav-forward-sexp-function.
3847 (python-nav--forward-sexp, python-nav--backward-sexp):
3850 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3852 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3853 modes and simplification modes.
3855 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * delsel.el (delete-selection-pre-hook): Don't propagate the
3858 file-supersession signals (bug#12161).
3860 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3863 (cl-map-extents): Add compatibility aliases (bug#12135).
3865 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3867 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3868 tests by `ignore-error'.
3869 (tramp-find-shell): Open also a new shell, when cache is already
3870 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3872 2012-08-08 Juri Linkov <juri@jurta.org>
3874 * bookmark.el: Add `defaults' property to the bookmark record.
3875 (bookmark-current-buffer): Doc fix.
3876 (bookmark-make-record): Add `defaults' property with default values
3877 to the bookmark record.
3878 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3879 with `bookmark-insert-current-bookmark'.
3880 (bookmark-set): Get `defaults' property from the bookmark record
3881 and use it in `read-from-minibuffer'.
3882 (bookmark-insert-current-bookmark): Remove function.
3884 * info.el (Info-bookmark-make-record): Add `defaults' property
3885 with values of canonical Info node name, the current Info file
3886 name and the current Info node name. (Bug#12107)
3888 2012-08-08 Juri Linkov <juri@jurta.org>
3890 * files.el (basic-save-buffer): Use `buffer-name' as the default
3891 of `read-file-name' when buffer is not visiting a file (bug#12128).
3893 2012-08-08 Juri Linkov <juri@jurta.org>
3895 * info.el (Info-isearch-search): Doc fix.
3896 (Info-search): Change search-failed message from "initial node" to
3897 "end of node" (bug#12078).
3898 (Info-isearch-search): Change `isearch-string-state' to
3899 `isearch--state-string'.
3901 2012-08-08 Glenn Morris <rgm@gnu.org>
3903 * language/persian.el: Remove file.
3904 * language/misc-lang.el: Move unique part of persian.el here.
3905 * loadup.el: Remove language/persian.
3907 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3909 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3911 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3913 * progmodes/python.el Fixed defsubst warning.
3914 (python-syntax-context) Rename from python-info-ppss-context.
3915 (python-syntax-context-type): Rename from
3916 python-info-ppss-context-type.
3917 (python-syntax-comment-or-string-p): Rename from
3918 python-info-ppss-comment-or-string-p.
3920 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3922 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3924 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3926 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3927 a defcustom that is quoted with backquote.
3929 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3930 Fix handling of interactive spec when the body uses return.
3931 (math-do-arg-check, math-define-function-body): Use backquote forms.
3932 * calc/calc-ext.el (math-defcache): Likewise.
3933 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3934 * allout.el (allout-new-exposure): Likewise.
3935 * calc/calcalg2.el (math-tracing-integral): Likewise.
3936 * info.el (Info-last-menu-item): Likewise.
3937 * emulation/vip.el (vip-loop): Likewise.
3938 * textmodes/artist.el (artist-funcall): Likewise.
3939 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3940 Construct menu-item directly.
3942 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3945 2012-08-07 Chong Yidong <cyd@gnu.org>
3947 * simple.el (deactivate-mark): Preserve text properties when
3948 saving the primary selection (Bug#8384).
3950 2012-08-07 Kevin Ryde <user42@zip.com.au>
3952 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3953 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3954 and continue processing (Bug#12110).
3956 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3959 syntax-propertize-function (bug#10095).
3961 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3963 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3964 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3965 describe-function-1.
3966 (describe-function-1): Use them. Move compiler macro after sig.
3967 (help-fns--compiler-macro): Use function-get. Assume we're already in
3968 standard-output. Adjust layout to new call order.
3970 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3971 re-binding a symbol that has a symbol-macro (bug#12119).
3973 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3975 * language/persian.el: New file. (Bug#11812)
3976 * loadup.el: Add language/persian.el.
3978 2012-08-06 Chong Yidong <cyd@gnu.org>
3980 * window.el (window--maybe-raise-frame): New function.
3981 (window--display-buffer): Split off from here.
3982 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3983 (display-buffer-pop-up-window, display-buffer-use-some-window):
3984 Obey an inhibit-switch-frame action alist entry.
3985 (display-buffer): Update doc.
3987 * replace.el (occur-after-change-function): Avoid losing focus by
3988 using the inhibit-switch-frame display parameter (Bug#12139).
3990 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3992 Make internal shell process buffer names start with space.
3993 * progmodes/python.el (python-shell-make-comint): Add optional
3995 (run-python-internal): Use it.
3996 (python-shell-internal-get-or-create-process): Check for new
3997 internal buffer names.
3999 2012-08-06 Glenn Morris <rgm@gnu.org>
4001 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4002 Do less getting and setting of environment variables.
4004 2012-08-05 Chong Yidong <cyd@gnu.org>
4006 * proced.el (proced): Add substitution string to docstring to
4007 trigger autoloading of the proced library on C-h f (Bug#1768).
4009 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4010 Don't show defvars which have no second argument (Bug#8638).
4012 * imenu.el (imenu-generic-expression): Move documentation here
4013 from imenu--generic-function.
4014 (imenu--generic-function): Refer to imenu-generic-expression.
4016 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4018 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4019 indentation declaration.
4020 (viper-loop): Add indentation declaration (Bug#7025).
4022 2012-08-05 Chong Yidong <cyd@gnu.org>
4024 * help-fns.el (describe-variable): Add hyperlink for
4025 directory-local variables files. Improve buffer-local and
4026 permanent-local reporting; suggested by MON KEY (Bug#6644).
4028 * help-mode.el (help-dir-local-var-def): New button type.
4030 * files.el (kill-buffer-hook): Provide a defvar.
4032 2012-08-05 Glenn Morris <rgm@gnu.org>
4034 * eshell/esh-ext.el (eshell/addpath):
4035 Also update eshell-path-env. (Bug#12013)
4037 2012-08-05 Chong Yidong <cyd@gnu.org>
4039 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4041 * fringe.el (fringe-styles): Add docstring.
4042 (fringe--check-mode): New function.
4043 (set-fringe-mode, set-fringe-style): Use it.
4044 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4046 * files.el (set-auto-mode): Fix invalid setq call.
4048 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4050 * isearch.el: Misc simplification; use defstruct.
4051 (isearch-mode-map): Dense maps now work like sparse ones.
4052 (isearch--state): New defstruct.
4053 (isearch-string-state, isearch-message-state, isearch-point-state)
4054 (isearch-success-state, isearch-forward-state)
4055 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4056 (isearch-wrapped-state, isearch-barrier-state)
4057 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4058 replaced by defstruct's accessors.
4059 (isearch--set-state): Rename from isearch-top-state and change
4061 (isearch-push-state): Use new isearch--get-state.
4062 (isearch-toggle-word): Disable regexp when enabling word.
4063 (isearch-message-prefix): Remove unused arg _c-q-hack.
4064 (isearch-message-suffix): Remove unused arg _ellipsis.
4066 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4068 * simple.el (list-processes--refresh): For a server use :host or
4069 :local as the address.
4070 (list-processes): Doc fix.
4072 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4074 * lisp/mpc.el: Support password in host argument.
4075 (mpc--proc-connect): Parse and use new password element.
4076 Set mpc-proc variable instead of returning process.
4077 (mpc-proc): Adjust accordingly.
4079 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4081 * whitespace.el (whitespace-display-mappings): Use Unicode
4082 codepoints, instead of emacs-mule codepoints. See
4083 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4086 * files.el (file-truename): Don't skip symlink-chasing part on
4087 windows-nt. Incorporate the resolution of 8+3 short aliases on
4088 Windows into the loop that recursively chases symlinks.
4089 Compare directory and its parent case-insensitively on MS-Windows and
4092 2012-08-03 Chong Yidong <cyd@gnu.org>
4094 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4096 * sort.el (sort-regexp-fields): Doc fix.
4098 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4100 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4101 labels regex position point at the expected place.
4103 2012-08-03 MON KEY <monkey@sandpframing.com>
4105 * net/imap.el (imap-interactive-login, imap-authenticate)
4106 (imap-mailbox-lsub, imap-mailbox-list)
4107 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4108 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4109 (imap-parse-response): Doc fix.
4111 2012-08-03 João Távora <joaotavora@gmail.com>
4113 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4114 if sexp scanning does not move point (Bug#5734).
4116 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4118 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4119 Add listings, minted, and ctable packages.
4120 (reftex-label-alist-builtin): Move listings, minted, and ctable
4121 entries before LaTeX.
4122 (reftex-label-alist): Docfix.
4124 2012-08-02 Bastien Guerry <bzg@gnu.org>
4126 * replace.el (occur): Fix docstring (bug#12122).
4128 2012-08-02 Glenn Morris <rgm@gnu.org>
4130 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4132 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4134 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4135 * international/mule-cmds.el: Create
4136 inactivate-current-input-method-function as an obsolete alias for
4137 deactivate-current-input-method-function. See Katsumi Yamaoka in
4138 <http://bugs.gnu.org/10150#46>.
4140 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4142 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4145 2012-08-01 Glenn Morris <rgm@gnu.org>
4147 * progmodes/autoconf.el (autoconf-definition-regexp):
4148 Add AH_TEMPLATE, adjust submatch numbering.
4149 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4150 (autoconf-current-defun-function): Update for above change.
4151 (autoconf-current-defun-function): First skip to end of current word.
4153 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4155 * calendar/cal-html.el (cal-html-insert-agenda-days):
4156 Fix typo. (Bug#12018)
4158 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4160 Shell processes: enhancements to startup and CEDET compatibility.
4161 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4162 (python-shell-make-comint): accept-process-output at startup.
4163 (run-python-internal): Set inferior-python-mode-hook to nil.
4164 (python-shell-internal-get-or-create-process): call sit-for.
4165 (python-preoutput-result): Add obsolete alias.
4166 (python-shell-internal-send-string): Use it.
4167 (python-shell-send-setup-code): Remove call to
4168 accept-process-output.
4170 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4172 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4175 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4177 * calc-mode.el (calc-basic-simplification-mode): Rename from
4178 `calc-limited-simplification-mode'.
4179 (calc-alg-simplification-mode): New function.
4180 (calc-set-simplify-mode): Adjust message.
4182 * calc.el (calc-set-mode-line): Adjust mode line display for
4183 basic simplification mode.
4185 * calc-help.el (calc-m-prefix-help): Update help message.
4187 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4188 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4190 2012-07-31 Bastien Guerry <bzg@gnu.org>
4192 * man.el (man): Fix comment. (bug#12101)
4194 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4196 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4197 Don't return a non-nil value when no suitable buffer was found.
4199 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4201 * progmodes/python.el (run-python-internal): Disable font lock for
4204 2012-07-30 Stefan Merten <smerten@oekonux.de>
4206 * textmodes/rst.el: Silence `checkdoc-ispell'.
4207 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4208 (rst-official-version, rst-official-cvs-rev)
4209 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4210 (rst-mode-map): New key binding.
4212 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4214 Update .PHONY listings in makefiles.
4215 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4216 autoloads, update-subdirs, updates, bzr-update, update-authors,
4217 compile-onefile, compile-calc, backup-compiled-files,
4218 compile-after-backup, compile-one-process, mh-autoloads,
4219 bootstrap-clean, distclean, maintainer-clean.
4221 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4223 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4224 (calc-set-mode-line): Don't display "AlgSimp ".
4226 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4227 (calc-lim-simplify-mode): New function.
4228 (calc-set-simplify-mode): Default to 'alg.
4229 (calc-default-simplify-mode): Make algebraic simplifications
4232 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4233 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4235 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4236 indicate new simplification modes.
4238 * calc/README: Mention new default simplification mode.
4240 * calc/calc.el (math-normalize-error): New variable.
4241 (math-normalize): Set `math-normalize-error' to t
4242 when there's an error.
4244 * calc/calc-alg.el (math-simplify): Don't simplify when
4245 `math-normalize' returns an error.
4247 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4249 * international/mule-cmds.el (set-locale-environment): Revert last
4250 change, since display-graphic-p returns nil when this function is
4251 called during startup. Instead...
4253 * term/w32console.el (terminal-init-w32console): ...setup the
4254 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4256 2012-07-29 Juri Linkov <juri@jurta.org>
4258 * simple.el (goto-line): Don't display default line number in the
4259 prompt because it should be displayed by `read-number' (bug#9952).
4260 Add the current line number to the defaults of `goto-line' to
4261 allow its easier modification by users with `M-n' (bug#9201).
4263 * subr.el (read-number): Support multiple default values like in
4264 other minibuffer reading functions. Replace `read' with
4265 `string-to-number' for consistency with `number-to-string'.
4267 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4269 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4270 * emulation/viper-init.el (viper-deactivate-input-method-action):
4271 Rename from viper-inactivate-input-method-action.
4272 (viper-deactivate-input-method):
4273 Rename from viper-inactivate-input-method.
4274 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4275 * international/mule-cmds.el (deactivate-input-method):
4276 Rename from inactivate-input-method.
4277 Also run input-method-deactivate-hook.
4278 (deactivate-current-input-method-function):
4279 Rename from inactivate-current-input-method-function.
4280 (input-method-deactivate-hook): New hook.
4281 (input-method-inactivate-hook): Mark obsolete.
4282 (inactivate-input-method): Mark obsolete.
4284 * international/quail.el (quail-activate):
4285 Also run quail-deactivate-hook.
4286 (quail-deactivate): Rename from quail-inactivate.
4287 * international/robin.el (robin-activate):
4288 Also run robin-deactivate-hook.
4289 (robin-deactivate): Rename from robin-inactivate.
4291 2012-07-29 Chong Yidong <cyd@gnu.org>
4293 * simple.el (indicate-copied-region): New function.
4294 (kill-ring-save): Split off from here.
4296 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4297 (kill-rectangle): Set deactivate-mark to t on read-only error.
4299 * register.el (copy-to-register, copy-rectangle-to-register):
4300 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4301 (append-to-register, prepend-to-register): Call indicate-copied-region.
4303 2012-07-29 Juri Linkov <juri@jurta.org>
4305 * simple.el (async-shell-command-buffer): New defcustom.
4306 (shell-command): Use it. (Bug#4719)
4308 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4310 * international/mule-cmds.el (set-locale-environment): In a
4311 console session on MS-Windows, set up keyboard and terminal
4312 encoding from the OEM codepage, not the ANSI codepage.
4315 2012-07-28 Chong Yidong <cyd@gnu.org>
4317 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4320 2012-07-28 Leo Liu <sdl.web@gmail.com>
4322 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4323 the alist (bug#12029).
4325 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4327 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4328 (compile-always, compile-first)
4329 ($(lisp)/calendar/cal-loaddefs.el)
4330 ($(lisp)/calendar/diary-loaddefs.el)
4331 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4332 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4333 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4334 instead of on update-subdirs.
4335 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4337 2012-07-28 Chong Yidong <cyd@gnu.org>
4339 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4340 directory if vc-deduce-backend returns nil (Bug#7350).
4342 * simple.el (delete-trailing-lines): New option.
4343 (delete-trailing-whitespace): Obey it (Bug#11879).
4345 2012-07-28 David Engster <deng@randomsample.de>
4347 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4348 Explanation of new 'symbol-qnames feature in doc-strings.
4349 (xml-maybe-do-ns): Return expanded names as plain symbols if
4350 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4351 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4353 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4355 Consistent completion in inferior python with emacs -nw.
4356 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4357 binding in inferior-python-mode-map with "\t".
4358 (python-shell-completion-complete-at-point)
4359 (python-completion-complete-at-point): Remove interactive spec.
4361 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4363 * calc/calccomp.el (math-compose-expr): Undo previous change.
4365 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4367 * progmodes/python.el (python-mode-map): Add keybinding for
4369 (python-shell-make-comint): Fix pop-to-buffer call.
4370 (run-python): Autoload. New arg SHOW.
4371 (python-shell-get-or-create-process): Do not pop python process
4374 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4376 * notifications.el (notifications-on-action-signal)
4377 (notifications-on-closed-signal): Use also the bus address for the map.
4378 (notifications-notify, notifications-close-notification)
4379 (notifications-get-capabilities): Add optional argument BUS.
4381 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4383 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4384 Add support for the lstlisting and minted environments, and for the
4386 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4387 labels written in keyvals syntax.
4389 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4391 * calc/calccomp.el (math-compose-expr): Use parentheses when
4392 there is a product in the denominator of a fraction.
4394 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4396 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4397 ($(lisp)/calendar/diary-loaddefs.el)
4398 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4399 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4400 Fixes failures in parallel bootstrap because subdirs.el is being
4401 rewritten while the autoload files are built at the same time,
4402 which needs to load subdirs.el.
4404 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4406 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4407 (mouse-drag-line): Don't exit tracking when a switch-frame or
4408 switch-window event occurs (Bug#12006).
4410 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * mouse.el (popup-menu): Fix last change.
4414 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4416 Autoload from Lisp with more care. Follow aliases when looking for
4417 function properties.
4418 * subr.el (autoloadp): New function.
4419 (symbol-file): Use it.
4420 (function-get): New function.
4421 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4423 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4424 (lisp-indent-function):
4425 * emacs-lisp/gv.el (gv-get):
4426 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4427 * emacs-lisp/byte-opt.el (byte-optimize-form):
4428 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4429 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4431 * emacs-lisp/cl.el: Don't propagate function properties any more.
4433 * speedbar.el (speedbar-add-localized-speedbar-support):
4434 * emacs-lisp/disass.el (disassemble-internal):
4435 * desktop.el (desktop-load-file):
4436 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4437 (describe-function-1):
4438 * emacs-lisp/find-func.el (find-function-noselect):
4439 * emacs-lisp/elp.el (elp-instrument-function):
4440 * emacs-lisp/advice.el (ad-has-proper-definition):
4441 * apropos.el (apropos-safe-documentation, apropos-macrop):
4442 * emacs-lisp/debug.el (debug-on-entry):
4443 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4444 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4445 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4447 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4449 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4450 function, not an obsolete variable (Bug#12046).
4452 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4454 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4456 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4458 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4459 window only if it is still live (Bug#12034).
4461 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4463 * subr.el (redirect-frame-focus): Add advertised calling
4464 convention (Bug#12030).
4466 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4468 Prefer typical American spelling for "acknowledgment".
4469 * vc/add-log.el (change-log-acknowledgment): Rename from
4470 change-log-acknowledgement, with an alias for the old name.
4472 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4474 * calc-alg.el (math-simplify-divide): Don't cross multiply
4475 in an equation when the lhs is a variable.
4477 2012-07-24 Julien Danjou <julien@danjou.info>
4479 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4482 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4484 * startup.el (command-line): Don't display an empty user name in
4485 the error message about non-existent home directory, when
4486 init-file-user was set to an empty string. See
4487 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4488 for the details and context.
4490 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4492 * ses.el (ses-cell-formula-aset): New macro.
4493 (ses-cell-references-aset): New macro.
4494 (ses-cell-p): New function.
4495 (ses-rename-cell): Do no longer rely on complex operations like
4496 ses-cell-set-formula or ses-set-cell to change the cell and handle
4497 the undo at the same time, but rather use lower level new macros
4498 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4499 the undo directly. Refresh the mode line.
4501 2012-07-21 Leo Liu <sdl.web@gmail.com>
4503 * progmodes/cc-cmds.el (c-defun-name):
4504 Use match-string-no-properties instead for consistency.
4506 2012-07-20 Leo Liu <sdl.web@gmail.com>
4508 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4511 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4513 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4516 * progmodes/bug-reference.el, misearch.el: Provide themselves
4519 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4520 of narrowed buffer (bug#11966).
4522 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4524 * ses.el (ses-rename-cell): Set new name also in reference list of
4525 cells of which the renamed cell depends.
4527 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4529 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4530 to check whether menu-bar is shown or not. If not shown,
4531 show the menu-bar as a popup menu instead of using tmm.
4532 * mouse.el (popup-menu): Accept `point' as `position' argument.
4534 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4536 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4537 up inside string symbol literal (bug#11923).
4539 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4541 * startup.el (fancy-startup-text): Read the whole tutorial, not
4542 just its first 256 bytes. Prevents gibberish in display of the
4545 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4547 Drop idle buffer compaction due to an absence of the
4549 * compact.el: Remove.
4551 2012-07-19 Sam Steingold <sds@gnu.org>
4553 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4554 vc-bzr-pull & vc-bzr-merge-branch.
4555 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4556 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4557 for consistency with compilation-error-regexp-alist.
4558 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4559 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4560 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4561 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4563 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * emacs-lisp/chart.el: Use lexical-binding.
4566 (chart-emacs-storage): Don't hardcode the list of entries.
4568 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4570 Next round of tweaks caused by Fgarbage_collect changes.
4571 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4573 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4575 Compact buffers when idle.
4576 * compact.el: New file.
4578 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4580 * subr.el (eventp): Presume that if it looks vaguely like an event,
4581 it's an event (bug#10190).
4583 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4585 Enhancements to ppss related code (thanks Stefan).
4586 * progmodes/python.el (python-indent-context)
4587 (python-indent-calculate-indentation, python-indent-dedent-line)
4588 (python-indent-electric-colon, python-nav-forward-block)
4589 (python-mode-abbrev-table)
4590 (python-info-assignment-continuation-line-p): Simplify checks
4592 (python-info-continuation-line-p): Cleanup.
4593 (python-info-ppss-context): Do not catch 'quote.
4594 (python-info-ppss-context-type)
4595 (python-info-ppss-comment-or-string-p): Simplify.
4597 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4599 * progmodes/python.el: Enhancements to eldoc support.
4600 (python-info-current-symbol): New function.
4601 (python-eldoc-at-point): Use python-info-current-symbol.
4602 (python-info-current-defun): Fix cornercase on first defun scan.
4603 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4604 and signal error when no inferior python process is available.
4606 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4608 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4609 assume it's always t.
4610 (vc-git-registered): Remove caching, the function is only called
4612 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4614 2012-07-18 Chong Yidong <cyd@gnu.org>
4616 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4618 * simple.el (count-words): Report on narrowing (Bug#9959).
4620 * bindings.el: Bind M-= to count-words.
4622 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4624 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4626 * progmodes/sh-script.el (sh-imenu-generic-expression):
4627 Capture a function with `function' keyword and without parentheses
4628 like "function FOO" (bug#11856).
4630 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4632 * window.el (split-window-sensibly): Make WINDOW argument
4635 2012-07-18 Chong Yidong <cyd@gnu.org>
4637 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4639 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4640 and make C-x 8 RET exit isearch (Bug#11439).
4642 * international/iso-transl.el: Move isearch-mode-map key
4643 definitions to isearch.el.
4645 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4647 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4648 (eieio-defclass): Use gv-define-setter when possible.
4650 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4652 Reflect recent changes in Fgarbage_collect.
4653 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4654 reflect new format of data returned by Fgarbage_collect.
4656 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4658 New utility functions + python-info-ppss-context fix (Bug#11910).
4659 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4660 (python-info-ppss-comment-or-string-p): New functions.
4661 (python-info-ppss-context): Small fix for string check.
4663 2012-07-17 Juri Linkov <juri@jurta.org>
4665 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4666 (dired-do-async-shell-command): Don't add `*' at the end of the
4667 command (Bug#11815).
4668 (dired-do-shell-command): Doc fix.
4669 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4670 Join the individual commands using either "&" or ";" as the
4671 separator depending on the values of these trailing characters.
4672 At the end re-add the trailing "&". (Bug#10598)
4674 * simple.el (async-shell-command): Sync the interactive spec with
4675 `shell-command'. Doc fix.
4676 (shell-command): Doc fix.
4678 2012-07-17 Juri Linkov <juri@jurta.org>
4680 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4682 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4684 Final renames and doc fixes for movement commands (bug#11899).
4685 * progmodes/python.el (python-nav-beginning-of-statement):
4686 Rename from python-nav-statement-start.
4687 (python-nav-end-of-statement): Rename from
4688 python-nav-statement-end.
4689 (python-nav-beginning-of-block): Rename from
4690 python-nav-block-start.
4691 (python-nav-end-of-block): Rename from python-nav-block-end.
4693 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4695 * progmodes/python.el (python-shell-send-string-no-output):
4696 Allow accept-process-output to quit, keeping shell process ready for
4697 future interactions (Bug#11868).
4699 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4703 * emacs-lisp/elint.el (elint-find-args-in-code):
4704 Use help-function-arglist, so as to handle lexical byte-code.
4706 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4709 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4712 Avoid spuriously marking the buffer as modified because of c-is-sws.
4714 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4715 as not-a-comment (bug#11946).
4717 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4718 for uninterned vars.
4720 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4721 Use read-event since we don't really want to read chars but bytes.
4723 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4724 $$..$$ but also $..$ using regexps (bug#11953).
4725 Use tex-verbatim for \url and \path.
4726 (tex-font-lock-keywords): Define as defconst like the others.
4727 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4729 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4731 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4732 alias for insert-char.
4734 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4736 * progmodes/python.el: Simplified imenu implementation.
4737 (python-nav-jump-to-defun): Remove command.
4738 (python-mode-map): Use `imenu' instead.
4739 (python-nav-list-defun-positions-cache)
4740 (python-imenu-include-defun-type, python-imenu-make-tree)
4741 (python-imenu-subtree-root-label, python-imenu-index-alist):
4743 (python-nav-list-defun-positions, python-nav-read-defun)
4744 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4745 (python-imenu-make-tree, python-imenu-create-index):
4747 (python-mode): Update to interact with imenu by setting
4748 `imenu-extract-index-name-function' only.
4750 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4752 * progmodes/python.el: Enhancements to navigation commands.
4753 (python-nav-backward-sentence)
4754 (python-nav-forward-sentence): Remove.
4755 (python-nav-backward-statement, python-nav-forward-statement)
4756 (python-nav-statement-start, python-nav-statement-end)
4757 (python-nav-backward-block, python-nav-forward-block)
4758 (python-nav-block-start, python-nav-block-end)
4759 (python-nav-forward-sexp-function)
4760 (python-info-current-line-comment-p)
4761 (python-info-current-line-empty-p): New functions.
4762 (python-indent-context): Use `python-nav-statement-start'.
4764 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4766 * eshell/em-ls.el (eshell/ls): Use `apply'.
4768 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4769 multi-hops, instead of Tramp internals.
4771 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4773 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4774 when F1 and F2 are located on different hosts.
4776 2012-07-14 Chong Yidong <cyd@gnu.org>
4778 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4779 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4780 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4781 (xterm-mouse--read-event-sequence-1000)
4782 (xterm-mouse--read-event-sequence-1006): New functions. For old
4783 mouse protocol, handle M-mouse-X events correctly.
4784 (xterm-mouse-event): New arg specifying mouse protocol.
4785 (turn-on-xterm-mouse-tracking-on-terminal)
4786 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4787 sequence to toggle extended coordinates on newer XTerms.
4788 This appears to be harmless on terminals which do not support this.
4790 2012-07-14 Leo Liu <sdl.web@gmail.com>
4792 Add fringe bitmap indicators for flymake. (Bug#11253)
4793 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4794 (flymake-make-overlay): New arg BITMAP.
4795 (flymake-error-bitmap, flymake-warning-bitmap)
4796 (flymake-fringe-indicator-position): New user variables.
4798 * fringe.el: New bitmap exclamation-mark.
4800 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4802 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4805 2012-07-14 Chong Yidong <cyd@gnu.org>
4807 * electric.el (electric-pair-post-self-insert-function): Fix pair
4808 insertion in empty-region case (Bug#11520).
4810 2012-07-14 Chong Yidong <cyd@gnu.org>
4812 * bindings.el: Consolidate ctl-x-r-map bindings.
4813 Bind copy-rectangle-as-kill to C-x r w.
4815 * rect.el, register.el: Move bindings to bindings.el.
4817 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4819 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4821 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4823 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4825 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4827 * bindings.el (top): Use `mapc' instead of `mapcar'.
4829 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4831 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4833 * progmodes/sql.el (sql-comint): Suppress the check for program on
4834 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4837 2012-07-13 Chong Yidong <cyd@gnu.org>
4839 * bindings.el: Assign a non-nil permanent-local property to
4840 per-buffer variables which lack a default value (Bug#11930).
4842 * help-fns.el (describe-variable): In the "automatically becomes
4843 local" notice, take note of permanent-local variables.
4845 2012-07-13 Chong Yidong <cyd@gnu.org>
4847 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4848 to allow printing the message when called from Lisp.
4850 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4851 Remove toggle-read-only.
4853 * bs.el (bs-toggle-readonly):
4854 * buff-menu.el (Buffer-menu-toggle-read-only):
4855 Remove with-no-warnings around toggle-read-only.
4857 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4858 Remove with-no-warnings around toggle-read-only.
4859 (ffap-read-only, ffap-read-only-other-window)
4860 (ffap-read-only-other-frame): Callers changed.
4862 * help-mode.el: Don't require view package.
4863 (help-mode-finish): Set buffer-read-only instead of calling
4866 * bindings.el (mode-line-toggle-read-only):
4867 * dired.el (dired-toggle-read-only):
4868 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4869 with non-nil second arg.
4871 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4872 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4875 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4877 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4880 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4882 More CL cleanups and reduction of use of cl.el.
4883 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4884 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4885 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4886 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4887 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4888 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4889 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4890 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4891 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4892 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4893 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4894 * eshell/em-cmpl.el, eshell/em-banner.el:
4895 * calendar/parse-time.el: Use cl-lib.
4896 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4897 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4898 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4899 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4900 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4901 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4902 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4903 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4904 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4905 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4906 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4907 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4908 `lambda' rather than with `quote'.
4909 (eshell-do-opt): Adjust accordingly.
4910 (eshell-process-option): Simplify.
4911 * eshell/esh-var.el:
4912 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4913 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4914 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4915 to `pcase--dontcare'.
4916 * emacs-lisp/cl.el (labels): Mark obsolete.
4917 (cl--letf, letf): Move to cl-lib.
4918 (cl--letf*, letf*): Remove.
4919 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4920 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4921 (cl-progv): Rewrite.
4922 (cl--letf, cl-letf): Move from cl.el.
4923 (cl-letf*): New macro.
4924 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4926 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4928 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4930 2012-07-11 Chong Yidong <cyd@gnu.org>
4932 * vc/log-edit.el (log-edit-vc-backend): New variable.
4933 (log-edit): Doc fix.
4935 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4936 argument of log-edit to set up all local variables.
4937 (vc-start-logentry): New optional arg specifying VC backend.
4939 * vc/vc.el (vc-checkin): Use it.
4940 (vc-deduce-fileset): Handle Log Edit buffers.
4941 (vc-diff): Make first argument optional too.
4943 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4945 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4947 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4948 command, just in case. The function is not needed anymore.
4949 (eshell-external-command): Do not call `eshell-remote-command'.
4951 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4953 Reduce use of (require 'cl).
4954 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4955 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4956 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4957 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4958 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4959 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4960 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4961 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4962 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4963 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4964 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4965 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4966 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4967 (byte-compile-unfold-bcf, byte-compile-check-variable):
4968 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4969 (byte-compile-nilconstp):
4970 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4971 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4973 * emacs-lisp/gv.el (cond): Make it a valid place.
4974 (if): Simplify slightly.
4976 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4977 (pcase--self-quoting-p): New function.
4978 (pcase--u1): Use it.
4980 2012-07-10 Glenn Morris <rgm@gnu.org>
4982 * emacs-lisp/authors.el (authors-fixed-entries):
4983 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4985 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4987 Rename configure.in to configure.ac (Bug#11603).
4988 * emacs-lisp/authors.el (authors-canonical-file-name):
4989 * progmodes/autoconf.el (autoconf-mode):
4990 Prefer configure.ac to configure.in.
4992 2012-07-08 Chong Yidong <cyd@gnu.org>
4994 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4995 Implement the mouse-1-click-follows-link handling properly.
4997 * info.el (Info-link-keymap): Use follow-link mechanism for
4998 header-line links (Bug#374).
5000 * simple.el (deactivate-mark): Do not set the primary selection
5001 if another program has acquired it (Bug#11772).
5003 2012-07-07 Kevin Ryde <user42@zip.com.au>
5005 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5006 (woman-decode-region): Replace escaped-escapes without destroying
5007 bold or underline (Bug#11552).
5008 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5010 2012-07-07 Chong Yidong <cyd@gnu.org>
5012 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5013 (interprogram-cut-function, interprogram-paste-function):
5014 Mention that we typically mean the clipboard.
5016 2012-07-06 Glenn Morris <rgm@gnu.org>
5018 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5020 * files.el (toggle-read-only): Restrict message to interactive use.
5022 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5024 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5026 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5028 2012-07-06 Glenn Morris <rgm@gnu.org>
5030 * Makefile.in (compile-one-process): Rename from "recompile".
5032 * Makefile.in (bzr-update): "compile" is the same as "recompile
5033 autoloads", but parallelizable, so use that instead.
5035 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5037 * window.el (quit-window): Always restore window height when
5038 it's saved in quit-restore parameter (Bug#11810).
5040 2012-07-06 Glenn Morris <rgm@gnu.org>
5042 * simple.el (kill-whole-line): Doc tweak.
5044 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5046 * files.el (file-relative-name): Compare file names
5047 case-insensitively if on MS-Windows or MS-DOS, or if
5048 read-file-name-completion-ignore-case is non-nil. Don't use
5049 case-fold-search for this purpose. (Bug#11827)
5051 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5053 * calendar/cal-dst.el (calendar-current-time-zone):
5054 Return calendar-current-time-zone-cache if non-nil.
5056 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5057 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5059 * calendar/cal-dst.el (calendar-current-time-zone):
5060 Return calendar-current-time-zone-cache if non-nil.
5062 2012-07-06 Glenn Morris <rgm@gnu.org>
5064 * Makefile.in (cvs-update): Remove old alias.
5066 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5068 Sync with Tramp 2.2.6-pre.
5070 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5071 compatible declaration.
5073 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5074 Protect `list-load-path-shadows' call.
5076 * net/tramp-compat.el (top): Require packages, which aren't
5077 autoloaded anymore for XEmacs. Protect call of
5078 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5079 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5080 it hurts at least for SXEmacs.
5081 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5082 standard-value for `temporary-file-directory'.
5084 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5085 Redirect stderr to /dev/null.
5086 (tramp-sh-handle-write-region): uid and gid can be floats.
5087 Reported by Russell Sim <russell.sim@gmail.com>.
5088 (tramp-sh-handle-vc-registered): Hide errors.
5089 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5090 and `start-file-process'.
5091 (tramp-maybe-open-connection): Check also whether `non-essential'
5094 2012-07-04 Chong Yidong <cyd@gnu.org>
5096 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5097 (xml-parse-tag): Likewise, and avoid changing entity tables.
5098 (xml-syntax-table): Define from scratch, making sure not to give
5099 x2000 and other Unicode spaces whitespace syntax, since those are
5101 (xml-parse-fragment): Delete unused function.
5102 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5103 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5104 (xml-entity-ref, xml-pe-reference-re)
5105 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5106 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5107 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5108 (xml-entity-value-re): Use syntax references in regexps where
5109 possible; no need to define inside a let-binding.
5110 (xml-parse-dtd): Use xml-pe-reference-re.
5111 (xml-entity-or-char-ref-re): New defconst.
5112 (xml-parse-string, xml-substitute-special): Use it.
5114 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5117 (find-file--read-only): New function.
5118 (find-file-read-only, find-file-read-only-other-window)
5119 (find-file-read-only-other-frame): Use it.
5120 (insert-file-contents-literally): Don't `fset'.
5121 (get-free-disk-space): Use locate-dominating-file.
5123 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5124 function is already compiled.
5126 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5128 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5130 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5131 files on the same host.
5133 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5135 * help-fns.el (describe-function-1): Only call
5136 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5138 2012-07-03 Chong Yidong <cyd@gnu.org>
5140 * xml.el: Protect parser against XML bombs.
5141 (xml-entity-expansion-limit): New variable.
5142 (xml-parse-string, xml-substitute-special): Use it.
5143 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5145 2012-07-03 Glenn Morris <rgm@gnu.org>
5147 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5148 Allow linking to specific messages in debbugs reports (eg 123#5).
5150 2012-07-02 Chong Yidong <cyd@gnu.org>
5152 * xml.el: Fix entity and character reference expansion, allowing
5153 them to expand into markup as per XML spec.
5154 (xml-default-ns): New variable.
5155 (xml-entity-alist): Use XML spec definitions for lt and amp.
5156 (xml-parse-region): Make first two arguments optional.
5157 Discard text properties.
5158 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5159 All callers changed.
5160 (xml-parse-tag): Call xml-parse-tag-1. For backward
5161 compatibility, this function should not modify buffer contents.
5162 (xml-parse-tag-1): Fix opening-tag regexp.
5163 (xml-parse-string): Rewrite, handling entity and character
5164 references properly.
5165 (xml--entity-replacement-text): Signal an error if a parameter
5166 entity is undefined.
5168 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * comint.el (comint-output-filter): Filter out repeated prompts.
5172 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5173 and file-name-absolute-p.
5174 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5177 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5180 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5181 Rename from byte-compile--refiy-function. All uses changed.
5183 2012-07-01 Chong Yidong <cyd@gnu.org>
5185 * xml.el (xml--parse-buffer): New function. Move most of
5186 xml-parse-region here.
5187 (xml-parse-region): Copy region into a temporary buffer, since
5188 parameter entity substitution requires changing buffer contents.
5189 Use xml--parse-buffer.
5190 (xml-parse-file): Use xml--parse-buffer.
5191 (xml-parse-dtd): Make parameter entity substitution work right.
5192 Use proper regexps for ELEMENT declarations (Bug#7172).
5194 2012-06-30 Glenn Morris <rgm@gnu.org>
5196 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5198 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5199 Remove outdated and unnecessary dbus declarations.
5201 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5203 * emacs-lisp/timer.el (timer-until): Subtract results of
5204 float-time, instead of taking float-time of the result of
5205 time-subtract, since float-time signals an error for negative time
5208 2012-06-30 Chong Yidong <cyd@gnu.org>
5210 * xml.el (xml-*-re): Convert defvars into defconsts, and
5211 eval-and-compile them so eval-and-compile works on derivatives.
5212 (xml--entity-replacement-text): Use eval-and-comple.
5214 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5216 * vc/vc-git.el (vc-git-registered): Use cache property
5218 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5219 `vc-git-working-revision' in order to benefit from the cache.
5220 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5222 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5224 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5225 removed (likely outside Emacs). (Bug#11757)
5227 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * emacs-lisp/cl-lib.el: Require macroexp.
5231 2012-06-30 Chong Yidong <cyd@gnu.org>
5233 * xml.el: Implement XML parameter entities.
5234 (xml-parameter-entity-alist): New variable.
5235 (xml-parse-region, xml-parse-fragment): Preserve previous values
5236 of xml-entity-alist and xml-parameter-entity-alist, so that
5237 repeated calls on different documents do not change them.
5238 (xml-parse-tag): Fix doctype regexp.
5239 (xml--entity-replacement-text): New function.
5240 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5241 properly requires url retrieval which is unimplemented.
5242 (xml-escape-string): Doc fix.
5244 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5248 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5250 * fringe.el (fringe-mode): Doc fix.
5252 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5254 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5256 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5257 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5259 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5261 * calendar/cal-dst.el (calendar-current-time-zone):
5262 Return calendar-current-time-zone-cache if non-nil.
5264 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5266 * progmodes/which-func.el (which-func-format):
5267 Add mouse-face. (Bug#11698)
5269 2012-06-29 Leo Liu <sdl.web@gmail.com>
5271 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5273 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * minibuffer.el (minibuffer-confirm-exit-commands):
5276 Add completion-at-point (bug#11725).
5278 2012-06-29 Glenn Morris <rgm@gnu.org>
5280 * progmodes/f90.el (f90-font-lock-keywords-2):
5281 Add some preprocessor elements. (Bug#10499)
5283 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5286 Use syntax-propertize (bug#11739).
5288 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5290 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5292 2012-06-28 Julien Danjou <julien@danjou.info>
5294 * term.el (term-handle-colors-array): Use a set of new faces to
5295 color the terminal. Also uses :inverse-video property.
5296 (term-default-fg-color): Set to nil by default, deprecate in favor
5298 (term-default-bg-color): Set to nil by default, deprecate in favor
5300 (term-current-face): Use `term-face' by default.
5301 (term-bold-attribute): Variable deleted.
5303 2012-06-28 Glenn Morris <rgm@gnu.org>
5305 * simple.el (completion-list-mode-finish):
5306 Don't use toggle-read-only. (Since completion-list-mode has
5307 a special mode-class, it wasn't doing anything extra anyway.)
5309 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5311 Make inlining of other-mode interpreted functions work (bug#11799).
5312 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5313 (byte-compile): Use it to fix compilation of lexical-binding closures.
5314 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5315 function, if needed.
5317 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * help-mode.el (help-make-xrefs): Don't just withstand
5320 cyclic-variable-indirection but any error in documentation-property.
5322 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5324 * bindings.el (bindings--define-key): New function.
5325 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5326 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5327 * bindings.el: Use it to purecopy define-key bindings.
5329 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5331 * emacs-lisp/cl.el (flet): Mark obsolete.
5332 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5333 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5334 * progmodes/js.el (js-c-fill-paragraph):
5335 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5336 (ebrowse-switch-member-buffer-to-derived-class):
5337 * play/5x5.el (5x5-solver): Use cl-flet.
5339 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5340 (cl--symbol-function): New macro.
5341 (cl--letf, cl--letf*): Use it.
5343 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5344 Strip "toggle-" if any.
5346 2012-06-27 Glenn Morris <rgm@gnu.org>
5348 * info.el (Info-default-directory-list): Move here from paths.el.
5349 * paths.el: Remove file, which is now empty.
5350 * loadup.el: No longer load "paths".
5352 * custom.el (custom-initialize-delay): Doc fix.
5354 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5355 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5356 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5357 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5358 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5359 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5360 * eshell/eshell.el (eshell-defgroup): Remove alias.
5362 2012-06-27 Chong Yidong <cyd@gnu.org>
5364 * help.el (help-enable-auto-load): New variable.
5366 * help-fns.el (help-fns--autoloaded-p): New function.
5367 (describe-function-1): Refer to a function as "autoloaded" if it
5368 was autoloaded at any time in the past. Perform autoloading if
5369 help-enable-auto-load is non-nil.
5371 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5373 * makefile.w32-in (compile, compile-always): Depend on
5374 update-subdirs, not on subdirs.el. Otherwise, several different
5375 sub-targets of 'bootstrap' running in parallel could
5376 simultaneously write to subdirs.el, producing a garbled file.
5378 2012-06-26 Sam Steingold <sds@gnu.org>
5380 * files.el (file-name-base): New convenience function.
5381 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5382 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5383 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5384 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5385 * textmodes/ispell.el, textmodes/reftex-ref.el:
5386 * textmodes/tex-mode.el: Use it.
5387 Did not touch cedet and org because they are maintained elsewhere.
5389 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5391 * calendar/calendar.el (calendar-exit): Don't try to delete or
5392 iconify last frame. See:
5393 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5395 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5397 * server.el (server-process-filter): Remember dir in the
5398 process's `server-client-directory' properties.
5400 2012-06-24 Chong Yidong <cyd@gnu.org>
5402 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5405 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5407 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5409 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * help-fns.el (describe-variable): Don't croak when doc is not found.
5412 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5413 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5414 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5415 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5416 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5418 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5420 2012-06-23 Chong Yidong <cyd@gnu.org>
5422 * info.el (Info-mouse-follow-link): Accept symbol values of
5423 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5424 (Info-fontify-node): Use Info-link-keymap for all navigation
5425 buttons, with link-args property to perform the desired action.
5426 (Info-link-keymap): Doc fix.
5427 (Info-next-link-keymap, Info-prev-link-keymap)
5428 (Info-up-link-keymap): Delete now-unused keymaps.
5430 2012-06-23 Chong Yidong <cyd@gnu.org>
5432 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5434 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5437 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5439 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5444 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5445 the requote function doesn't work properly (bug#11714).
5447 2012-06-23 Glenn Morris <rgm@gnu.org>
5449 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5451 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5453 Further GV/CL cleanups.
5454 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5456 (gv--defun-declaration): New function.
5457 (defun-declarations-alist): Use it.
5458 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5459 (gv-place): Autoload.
5460 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5461 original definition of dotimes and dolist.
5462 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5463 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5464 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5465 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5466 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5467 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5468 to the function's definition.
5469 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5473 * env.el: Don't use CL.
5475 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5477 Support higher-resolution time stamps (Bug#9000).
5479 * calendar/time-date.el (with-decoded-time-value): New arg
5480 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5481 (encode-time-value): New optional arg PICO. New type 3.
5482 (time-to-seconds) [!float-time]: Support the new picoseconds
5483 component if it's used.
5484 (seconds-to-time, time-subtract, time-add):
5485 Support ps-resolution time stamps as well.
5487 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5488 (timerp): Timer vectors now have length 9, not 8.
5489 (timer--time): Support new-style (4-part) time stamps.
5490 (timer-next-integral-multiple-of-time): Time stamps now have
5491 picosecond resolution, so take a bit more care about rounding.
5492 (timer-relative-time, timer-inc-time): New optional arg psecs.
5493 (timer-set-time-with-usecs): Set psecs to 0.
5494 (timer--activate): Check psecs component, too.
5496 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5498 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5500 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5501 Move the non-essential binding to the post/pre-command-hook where it is
5502 more obviously correct.
5504 * subr.el (read-passwd): Don't use a history at all.
5505 * savehist.el (savehist-save): Remove password saved accidentally
5506 because of the above bug.
5508 2012-06-22 Bastien Guerry <bzg@gnu.org>
5510 * files.el (toggle-read-only): Display a message telling whether
5511 the buffer is read-only or not (bug#11726).
5513 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * emacs-lisp/gv.el: New file.
5516 * subr.el (push, pop): Extend to generalized variables.
5517 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5518 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5519 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5520 gv-define-simple-setter, and gv-define-expander.
5521 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5522 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5523 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5524 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5525 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5527 (cl-defstruct): Don't define setf-method any more.
5528 * emacs-lisp/cl.el (flet): Don't autoload.
5529 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5530 (define-setf-expander, defsetf, define-modify-macro)
5531 (cl-struct-setf-expander): Move from cl-lib.el.
5532 * emacs-lisp/syntax.el:
5533 * emacs-lisp/ewoc.el:
5534 * emacs-lisp/smie.el:
5535 * emacs-lisp/cconv.el:
5536 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5537 (timer--time): Use gv-define-simple-setter.
5538 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5539 to avoid coding-system problems in subr.el. Adjust all users.
5540 (macroexp--maxsize, macroexp-small-p): New functions.
5541 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5542 * scroll-bar.el (scroll-bar-mode):
5543 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5544 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5545 * winner.el (winner-configuration, winner-make-point-alist)
5546 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5547 * files.el (locate-file-completion-table): Avoid list*.
5549 2012-06-22 Chong Yidong <cyd@gnu.org>
5551 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5552 (dired-create-files): Doc fix (Bug#11329).
5553 (dired-do-copy): Doc fix (Bug#11334).
5554 (dired-mark-read-string): Doc fix (Bug#11553).
5556 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5557 Doc fix (Bug#11326).
5558 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5559 (dired-dwim-target): Doc fix.
5561 * wdired.el (wdired-mode): Doc fix.
5563 2012-06-22 Glenn Morris <rgm@gnu.org>
5565 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5566 (pcmpl-rpm-cache-stamp-file): New constant.
5567 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5568 (pcmpl-rpm-packages): Optionally cache list of packages.
5570 * pcmpl-rpm.el (pcmpl-rpm): New group.
5571 (pcmpl-rpm-query-options): New option.
5572 (pcmpl-rpm-packages): No need to inline it.
5573 Use pcmpl-rpm-query-options.
5575 * calendar/calendar.el (calendar-in-read-only-buffer):
5576 Avoid some needless mode changes.
5578 2012-06-21 Chong Yidong <cyd@gnu.org>
5580 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5581 (desktop-path): Remove . from the default value (Bug#10977).
5582 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5584 2012-06-20 Chong Yidong <cyd@gnu.org>
5586 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5588 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5590 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5593 2012-06-20 Chong Yidong <cyd@gnu.org>
5595 * term.el (term-window-width): Handle the case of a missing right
5597 (term-check-size): Use window-text-height (Bug#5445).
5598 (term-mode): Use define-derived-mode. Minor cleanups.
5599 Set font-lock-defaults (Bug#7692).
5600 (term-move-columns, term-insert-char, term-emulate-terminal)
5601 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5603 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5605 * net/ange-ftp.el (ange-ftp-get-passwd):
5606 Bind `enable-recursive-minibuffers'.
5607 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5609 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5611 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5613 2012-06-19 Glenn Morris <rgm@gnu.org>
5615 * progmodes/python.el (python-mode): Derive from prog-mode.
5617 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5619 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5620 (edt-user-menu-bar-update-buffers): New functions.
5621 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5623 2012-06-19 Chong Yidong <cyd@gnu.org>
5625 * subr.el (with-selected-window): Preserve the selected window's
5626 terminal's top-frame (Bug#4702).
5628 * window.el (save-selected-window): Likewise.
5630 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * progmodes/python.el (python-rx-constituents): Move backquote.
5633 (python-skeleton-define, python-define-auxiliary-skeleton):
5636 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5638 * minibuffer.el (read-file-name-default): Revert the patch from
5641 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5644 (pcase--u1, pcase--q1): Don't use apply-partially.
5646 2012-06-18 Glenn Morris <rgm@gnu.org>
5648 * progmodes/python.el (python-proc, python-buffer)
5649 (python-send-receive, python-send-string): Fix obsolete versions.
5651 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5653 * window.el (special-display-p): Completely remove stringp
5654 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5656 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5658 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5660 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5662 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5663 * net/tramp-sh.el (tramp-maybe-open-connection):
5664 Throw if `non-essential' is non-nil.
5666 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5668 * window.el (special-display-p): Signal an error if BUFFER-NAME
5669 is not a string (Bug#11713).
5671 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5673 * progmodes/python.el (python-info-beginning-of-backslash):
5674 Rename from python-info-beginning-of-backlash, as a spelling fix.
5676 2012-06-17 Chong Yidong <cyd@gnu.org>
5678 * term.el (term-emulate-terminal): If term-check-size is called,
5679 move point to the process mark without resetting point (Bug#4635).
5681 2012-06-17 Glenn Morris <rgm@gnu.org>
5683 * international/mule-cmds.el (mule-menu-keymap)
5684 (set-language-environment, set-locale-environment): Doc tweaks.
5686 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5688 * cus-face.el (custom-face-attributes): Add wave-style underline
5690 * faces.el (set-face-attribute): Update docstring to describe
5691 wave-style underline attribute.
5693 2012-06-16 Chong Yidong <cyd@gnu.org>
5695 * term/xterm.el (terminal-init-xterm): Discard input before
5696 querying background mode (Bug#10959).
5698 2012-06-16 Stefan Merten <smerten@oekonux.de>
5700 * textmodes/rst.el: Added and corrected some comments.
5701 (rst-re-alist-def): Improve symbol syntax.
5702 (rst-mode-syntax-table): Correct syntax entries.
5703 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5704 (rst-official-version, rst-official-cvs-rev): Update version
5707 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5709 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5710 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5712 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5714 * progmodes/python.el: New python.el merge.
5715 (python-guess-indent): Obsolete var.
5716 (python-indent-guess-indent-offset): New defcustom.
5717 (python-indent): Obsolete var.
5718 (python-indent-offset): New defcustom.
5719 (python-python-command, python-jython-command): Delete var.
5720 (python-shell-interpreter): New defcustom.
5721 (python-pdbtrack-do-tracking-p): Delete var.
5722 (python-pdbtrack-activate): New defcustom.
5723 (python-use-skeletons): Obsolete var.
5724 (python-skeleton-autoinsert): New defcustom.
5725 (inferior-python-filter-regexp, python-continuation-offset)
5726 (python-honour-comment-indentation, python-indent-string-contents)
5727 (python-jython-packages, python-mode-hook)
5728 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5729 (python-shell-prompt-alist)
5730 (python-source-modes): Delete defcustoms.
5731 (python-check-buffer-name, python-eldoc-setup-code)
5732 (python-eldoc-string-code, python-ffap-setup-code)
5733 (python-ffap-string-code, python-fill-comment-function)
5734 (python-fill-decorator-function, python-fill-paren-function)
5735 (python-fill-string-function, python-imenu-include-defun-type)
5736 (python-imenu-make-tree, python-imenu-subtree-root-label)
5737 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5738 (python-shell-compilation-regexp-alist)
5739 (python-shell-completion-module-string-code)
5740 (python-shell-completion-pdb-string-code)
5741 (python-shell-completion-setup-code)
5742 (python-shell-completion-string-code)
5743 (python-shell-enable-font-lock, python-shell-exec-path)
5744 (python-shell-extra-pythonpaths)
5745 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5746 (python-shell-process-environment)
5747 (python-shell-prompt-block-regexp)
5748 (python-shell-prompt-output-regexp)
5749 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5750 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5751 (python-shell-virtualenv-path): New defcustoms.
5752 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5753 (inferior-python-mode-syntax-table, python--prompt-regexp)
5754 (python-buffer, python-command python-python-command)
5755 (python-default-template, python-imports, python-indent-index)
5756 (python-indent-list, python-indent-list-length)
5757 (python-mode-running, python-pdbtrack-is-tracking-p)
5758 (python-preoutput-continuation, python-preoutput-leftover)
5759 (python-preoutput-result, python-preoutput-skip-next-prompt)
5760 (python-prev-dir/file, python-recursing)
5761 (python-saved-check-command, python-version-checked)
5762 (python-which-func-length-limit)
5763 (view-return-to-alist): Delete vars.
5764 (python-check-custom-command, python-dotty-syntax-table)
5765 (python-imenu-index-alist, python-indent-current-level)
5766 (python-indent-dedenters, python-indent-levels)
5767 (python-nav-beginning-of-defun-regexp)
5768 (python-nav-list-defun-positions-cache)
5769 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5770 (python-shell-internal-buffer)
5771 (python-skeleton-available): New vars.
5772 (def-python-skeleton): Delete macro.
5773 (python-skeleton-define): New macro.
5774 (python-define-auxiliary-skeleton, python-rx): New macros.
5775 (python-insert-class): Delete command.
5776 (python-skeleton-class): New command.
5777 (python-insert-def): Delete command.
5778 (python-skeleton-def): New command.
5779 (python-insert-for): Delete command.
5780 (python-skeleton-for): New command.
5781 (python-insert-if): Delete command.
5782 (python-skeleton-if): New command.
5783 (python-insert-try/except, python-insert-try/finally): Delete commands.
5784 (python-skeleton-try): New command.
5785 (python-insert-while): Delete command.
5786 (python-skeleton-while): New command.
5787 (python-backspace): Delete command.
5788 (python-indent-dedent-line-backspace): New command.
5789 (python-electric-colon): Delete command.
5790 (python-indent-electric-colon): New command.
5791 (python-guess-indent): Delete command.
5792 (python-indent-guess-indent-offset): New command.
5793 (python-shift-left): Delete command.
5794 (python-indent-shift-left): New command.
5795 (python-shift-right): Delete command.
5796 (python-indent-shift-right): New command.
5797 (python-find-function): Delete command.
5798 (python-nav-jump-to-defun): New command.
5799 (python-next-statement): Delete command.
5800 (python-nav-forward-sentence): New command.
5801 (python-previous-statement): Delete command.
5802 (python-nav-backward-sentence): New command.
5803 (python-fill-paragraph): Delete command.
5804 (python-fill-paragraph-function): New command.
5805 (python-send-buffer): Delete command.
5806 (python-shell-send-buffer): New command.
5807 (python-send-defun): Delete command.
5808 (python-shell-send-defun): New command.
5809 (python-send-region, python-send-region-and-go): Delete commands.
5810 (python-shell-send-region)
5811 (python-shell-switch-to-shell): New commands.
5812 (python-send-string): Delete command.
5813 (python-shell-send-string): New command.
5814 (python-switch-to-python): Delete command.
5815 (python-shell-switch-to-shell): New command.
5816 (python-describe-symbol): Delete command.
5817 (python-eldoc-at-point): New command.
5818 (python--set-prompt-regexp, python-args-to-list)
5819 (python-after-info-look, python-check-version)
5820 (python-check-comint-prompt, python-find-imports)
5821 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5822 (python-unload-function, python-expand-template)
5823 (python-maybe-jython, python-preoutput-filter)
5824 (python-pdbtrack-get-source-buffer)
5825 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5826 (python-pdbtrack-toggle-stack-tracking)
5827 (python-pdbtrack-track-stack-file, python-initial-text)
5828 (python-first-word, python-comment-line-p, python-send-command)
5829 (python-setup-brm, python-sentinel, python-set-proc)
5830 (python-skip-out, python-input-filter, python-outdent-p)
5831 (python-outline-level, python-backslash-continuation-line-p)
5832 (python-end-of-block, python-end-of-statement, python-mark-block)
5833 (python-beginning-of-block, python-beginning-of-statement)
5834 (python-blank-line-p, python-beginning-of-string)
5835 (python-open-block-statement-p): Delete functions.
5836 (python-indent-line, python-indent-line-1): Delete functions.
5837 (python-indent-line): New function.
5838 (python-indentation-levels): Delete function.
5839 (python-indent-calculate-levels): New function.
5840 (python-proc): Delete function.
5841 (python-shell-get-process): New function.
5842 (python-send-receive): Delete function.
5843 (python-shell-send-string-no-output): New function.
5844 (python-module-path): Delete function.
5845 (python-ffap-module-path): New function.
5846 (python-completion-at-point)
5847 (python-symbol-completions): Delete functions.
5848 (python-completion-complete-at-point): New function.
5849 (python-load-file): Delete function.
5850 (python-shell-send-file): New function.
5851 (python-calculate-indentation): Delete function.
5852 (python-indent-calculate-indentation): New function.
5853 (python-skip-comments/blanks): Delete function.
5854 (python-util-forward-comment): New function.
5855 (python-continuation-line-p): Delete function.
5856 (python-info-continuation-line-p): New function.
5857 (python-which-func, python-current-defun): Delete function.
5858 (python-info-current-defun): New function.
5859 (python-beginning-of-defun): Delete function.
5860 (python-nav-beginning-of-defun): New function.
5861 (python-close-block-statement-p)
5862 (python-block-end-p): Delete function.
5863 (python-info-closing-block): New function.
5864 (python-comint-output-filter-function)
5865 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5866 (python-fill-comment, python-fill-decorator, python-fill-paren)
5867 (python-fill-string, python-imenu-make-element-tree)
5868 (python-imenu-make-tree, python-imenu-tree-assoc)
5869 (python-indent-context, python-indent-dedent-line)
5870 (python-indent-line-function)
5871 (python-indent-post-self-insert-function)
5872 (python-indent-toggle-levels)
5873 (python-info-assignment-continuation-line-p)
5874 (python-info-beginning-of-backlash)
5875 (python-info-block-continuation-line-p)
5876 (python-info-closing-block-message)
5877 (python-info-line-ends-backslash-p)
5878 (python-info-looking-at-beginning-of-defun)
5879 (python-info-ppss-context, python-info-ppss-context-type)
5880 (python-nav-list-defun-positions, python-nav-read-defun)
5881 (python-nav-sentence-end, python-nav-sentence-start)
5882 (python-pdbtrack-comint-output-filter-function)
5883 (python-pdbtrack-set-tracked-buffer)
5884 (python-shell-calculate-exec-path)
5885 (python-shell-calculate-process-environment)
5886 (python-shell-completion--do-completion-at-point)
5887 (python-shell-completion--get-completions)
5888 (python-shell-completion-complete-at-point)
5889 (python-shell-completion-complete-or-indent)
5890 (python-shell-get-or-create-process)
5891 (python-shell-get-process-name)
5892 (python-shell-internal-get-or-create-process)
5893 (python-shell-internal-get-process-name)
5894 (python-shell-internal-send-string, python-shell-make-comint)
5895 (python-shell-parse-command, python-shell-send-setup-code)
5896 (python-skeleton-add-menu-items)
5897 (python-util-clone-local-variables, python-util-position)
5898 (run-python-internal, python-indentation-levels)
5899 (python-nav-beginning-of-defun)
5900 (python-completion-complete-at-point): New functions.
5901 (run-python): Change arguments. New API requirements.
5903 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5908 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5909 (macroexp--expand-all): Use it.
5911 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5912 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5913 Use `cl-function' instead.
5915 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5917 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5918 Suggested by Stefan Monnier while discussing bug#11657.
5920 2012-06-14 Sam Steingold <sds@gnu.org>
5922 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5924 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5926 * play/doctor.el (doctor-doc): Remove parameter and use
5927 doctor-sent instead of sent.
5928 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5930 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * files.el: Require cl-lib.
5933 (file-name-non-special): Replace case -> cl-case.
5935 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5937 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5938 mapping from #' to function*.
5940 2012-06-13 Chong Yidong <cyd@gnu.org>
5942 * mouse.el (mouse-drag-track): Do not set the mark if the user
5943 releases the mouse without selecting anything (Bug#11588).
5945 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5947 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5948 as well (bug#11646).
5950 * loadup.el: Count byte-code functions as well.
5952 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5953 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5955 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5956 (bug#11649). Add cl-defun and cl-defmacro.
5958 2012-06-13 Drew Adams <drew.adams@oracle.com>
5960 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5963 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5965 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5966 Otherwise, it blocks in batch mode.
5968 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5970 * help-mode.el (bookmark-make-record-default): Declare.
5972 2012-06-13 Chong Yidong <cyd@gnu.org>
5974 * emacs-lisp/package.el (list-packages): Compute a list of
5975 packages that are newly-available since the last list-packages
5977 (package-menu--new-package-list): New var.
5978 (package-menu--generate, package-menu--print-info)
5979 (package-menu--status-predicate, package-menu-mark-install):
5980 Handle new status label "new".
5982 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5985 conversion to backquotes.
5987 2012-06-12 Chong Yidong <cyd@gnu.org>
5989 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5990 Rename from gud-inhibit-global-bindings.
5992 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5994 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5995 hook from nxml-glyph-set-hook.
5997 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6000 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6002 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6003 Convert to defcustom.
6005 2012-06-12 Drew Adams <drew.adams@oracle.com>
6007 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6009 (help-mode): Use them.
6011 2012-06-11 Glenn Morris <rgm@gnu.org>
6013 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6014 Use preprocessor face for directives.
6015 (fortran-directive-re): Doc fix.
6017 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6020 conversion to backquotes (bug#11652).
6022 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6023 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6024 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6025 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6026 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6027 (cl-ninth, cl-tenth): Mark them as inlinable.
6028 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6029 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6030 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6031 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6032 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6033 (cl-list*, cl-adjoin): Don't put an autoload manually.
6034 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6035 (cl--compiler-macro-list*): Add autoload cookie.
6036 (cl--compiler-macro-cXXr): New function.
6038 * help-fns.el (help-fns--compiler-macro): New function extracted from
6039 describe-function-1; follow aliases and use `compiler-macro' property.
6040 (describe-function-1): Use it.
6042 2012-06-11 Chong Yidong <cyd@gnu.org>
6044 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6045 is uninstalled, if imagemagick is installed.
6047 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6049 * emacs-lisp/cl-lib.el: Use lexical-binding.
6050 (cl-map-extents, cl-maclisp-member): Remove.
6051 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6052 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6053 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6054 * emacs-lisp/cl-extra.el: Use lexical-binding.
6055 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6056 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6057 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6058 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6059 * emacs-lisp/cl-seq.el: Use lexical-binding.
6060 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6061 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6062 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6063 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6064 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6067 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6069 Sync with Tramp 2.2.6-pre.
6071 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6072 `print-length' and `print-level' to nil, in order to avoid
6073 truncation. Reported by Christopher Schmidt
6074 <christopher@ristopher.com>.
6076 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6078 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6080 (tramp-compat-copy-directory): Add optional argument
6081 COPY-CONTENTS. It is not handled yet.
6083 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6084 (tramp-ftp-file-name-p): Simplify.
6086 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6087 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6090 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6091 (tramp-methods): Do not use `tramp-password-end-of-line'.
6092 (tramp-completion-function-alist-putty): Handle UNIX case.
6093 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6094 (tramp-do-file-attributes-with-stat)
6095 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6096 gid as real numbers. They could run out of integer range on cygwin.
6097 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6098 (tramp-sh-handle-expand-file-name): Handle hops.
6099 (tramp-open-connection-setup-interactive-shell):
6100 Use `tramp-cleanup'. Move check for busyboxes ...
6101 (tramp-find-shell): ... here. Simplify implementation.
6102 Set "remote-shell" property also for alternative shells.
6103 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6104 If failing, a regular file would be written otherwise.
6105 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6106 (tramp-find-inline-encoding): Cache the coding commands in the
6107 process cache. Apply test command on the remote side, if defined.
6108 (tramp-find-inline-compress): Cache the compress commands in the
6110 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6111 when requested. Handle hops.
6112 (tramp-current-connection): New defvar.
6113 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6114 Throw `suppress', if there was a failed connection shortly before.
6115 Handle user interrupt. (Bug#10187)
6116 (tramp-get-inline-compress, tramp-get-inline-coding):
6117 Read connection properties from the process cache.
6119 * net/tramp-smb.el (tramp-smb-server-version)
6120 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6122 (tramp-smb-prompt): Extend for powershell prompt.
6123 (tramp-smb-file-name-handler-alist): Add handlers for
6124 `process-file', `shell-command' and `start-file-process'.
6125 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6126 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6127 (tramp-smb-file-name-p): Simplify.
6128 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6129 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6130 (tramp-smb-shell-quote-argument): New defuns.
6131 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6132 Implement using "tar". By this, time-stamps are preserved.
6133 (tramp-smb-handle-copy-file): Handle also the case of directories.
6134 (tramp-smb-do-file-attributes-with-stat)
6135 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6136 Use `tramp-get-connection-buffer').
6137 (tramp-smb-handle-rename-file): Use "rename", when source and
6138 target are on the same share.
6139 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6140 Use `tramp-smb-server-version'.
6141 (tramp-smb-wait-for-output): Remove prompt.
6143 * net/tramp.el (top): Require 'cl.
6144 (tramp-methods, tramp-rsh-end-of-line):
6145 Remove `tramp-password-end-of-line' from docstring.
6146 (tramp-save-ad-hoc-proxies): New defcustom.
6147 (tramp-completion-function-alist): Adapt docstring.
6148 (tramp-default-password-end-of-line): Remove defcustom.
6149 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6150 (tramp-user-regexp, tramp-file-name-regexp-unified)
6151 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6152 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6153 (tramp-remote-file-name-spec-regexp): New defconst.
6154 (tramp-file-name-structure): Extend structure for hops.
6155 (tramp-get-method-parameter): Move up.
6156 (tramp-file-name-p, tramp-dissect-file-name)
6157 (with-parsed-tramp-file-name): Handle hops.
6158 (tramp-file-name-hop): New defun.
6159 (tramp-make-tramp-file-name): New optional arg HOP.
6160 (tramp-message-show-progress-reporter-message): New defvar.
6161 (tramp-with-progress-reporter): Use it. We cannot use
6162 `tramp-message-show-message' here, because this suppresses also
6164 (tramp-error-with-buffer): Suppress buffer view, if
6165 `tramp-message-show-message' is nil.
6166 Use `tramp-get-connection-buffer'.
6167 (tramp-cleanup): New defun.
6168 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6169 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6171 (tramp-completion-handle-file-name-all-completions): Handle hops.
6172 Fix an error when called from ido.
6173 (tramp-completion-dissect-file-name): Use better local variable
6174 name. Add hop to the vector.
6175 (tramp-handle-insert-file-contents): Use progress-reporter for the
6177 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6179 (tramp-check-for-regexp): Simplify search.
6180 (tramp-enter-password): Remove it. Move implementation ...
6181 (tramp-action-password): ... here.
6182 (tramp-mode-string-to-int, tramp-local-host-p)
6183 (tramp-make-tramp-temp-file, tramp-read-passwd)
6184 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6185 Set tramp-autoload cookie.
6187 * net/trampver.el: Update release number.
6189 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6190 Michael Albinus <michael.albinus@gmx.de>
6192 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6193 (tramp-parse-group, tramp-parse-file)
6194 (tramp-parse-shostkeys-sknownhosts): New defuns.
6195 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6196 (tramp-parse-shosts-group, tramp-parse-sconfig)
6197 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6198 (tramp-parse-sknownhosts, tramp-parse-hosts)
6199 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6201 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6202 (tramp-parse-putty-group): Don't narrow.
6203 (tramp-parse-putty): Make a loop.
6204 (tramp-file-name-handler): Catch the `suppress' signal.
6206 2012-06-11 Chong Yidong <cyd@gnu.org>
6208 * image.el (imagemagick-register-types): Put the ImageMagick entry
6209 at the end of image-type-file-name-regexps.
6211 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6213 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6214 (pcase, pcase-let*, pcase-dolist): Use them.
6216 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * emacs-lisp/pcase.el (pcase--let*): New function.
6219 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6220 (pcase--expand): Use macroexp-let².
6222 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6225 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6226 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6227 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6228 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6229 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6231 2012-06-10 Glenn Morris <rgm@gnu.org>
6233 * mail/rmail.el (rmail-yank-current-message): Leave point at
6234 correct position. (Bug#11660)
6236 2012-06-10 Chong Yidong <cyd@gnu.org>
6238 * allout-widgets.el: Fix code header.
6240 2012-06-10 Chong Yidong <cyd@gnu.org>
6242 * cus-edit.el (customize-changed-options-previous-release):
6245 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6247 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6249 2012-06-09 Chong Yidong <cyd@gnu.org>
6251 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6253 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6255 * window.el (special-display-popup-frame): Don't use
6256 window--display-buffer (Bug#11651).
6258 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6260 Fix parallel builds: make sure loaddefs.el is not being written
6261 while Lisp files are compiled.
6262 (compile): Don't depend on 'mh-autoloads'.
6263 (compile-CMD, compile-SH): Depend on 'autoloads'.
6264 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6266 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6268 2012-06-09 Chong Yidong <cyd@gnu.org>
6270 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6271 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6272 Doc fixes (Bug#11225).
6274 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6277 a function if there's a clear indication that it has a compiler-macro.
6278 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6279 (macro-declarations-alist): Add arglist to declaration functions.
6280 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6281 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6282 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6283 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6284 Also add autoload to find the compiler macro.
6285 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6286 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6287 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6288 (cl--compiler-macro-get): New functions, replacing calls to
6289 cl-define-compiler-macro.
6290 (cl-typep) [compiler-macro]: Use macroexp-let².
6292 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6294 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6295 string properly, fixes Bug#11473.
6297 2012-06-08 Chong Yidong <cyd@gnu.org>
6299 * faces.el (set-face-attribute): Doc fix.
6300 (modify-face): Don't use :bold and :italic.
6301 (error, warning, success): Tweak definitions.
6303 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6304 (custom-modified, custom-set, custom-changed, custom-themed)
6305 (custom-saved, custom-button, custom-button-mouse)
6306 (custom-button-pressed, custom-state, custom-comment-tag)
6307 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6308 (custom-group-subtitle): Use new-style face specs.
6309 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6310 (custom-set-face, custom-changed-face, custom-saved-face)
6311 (custom-button-face, custom-button-pressed-face)
6312 (custom-documentation-face, custom-state-face)
6313 (custom-comment-face, custom-comment-tag-face)
6314 (custom-variable-tag-face, custom-variable-button-face)
6315 (custom-face-tag-face, custom-group-tag-face-1)
6316 (custom-group-tag-face): Remove obsolete face alias.
6318 * epa.el (epa-validity-high, epa-validity-medium)
6319 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6320 (epa-field-name, epa-field-body):
6321 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6322 (font-lock-keyword-face, font-lock-builtin-face)
6323 (font-lock-function-name-face, font-lock-variable-name-face)
6324 (font-lock-type-face, font-lock-constant-face):
6325 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6326 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6327 * speedbar.el (speedbar-button-face, speedbar-file-face)
6328 (speedbar-directory-face, speedbar-tag-face)
6329 (speedbar-selected-face, speedbar-highlight-face)
6330 (speedbar-separator-face):
6331 * whitespace.el (whitespace-newline, whitespace-space)
6332 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6333 (whitespace-line, whitespace-space-before-tab)
6334 (whitespace-space-after-tab, whitespace-indentation)
6336 * emulation/cua-base.el (cua-global-mark):
6337 * eshell/em-prompt.el (eshell-prompt):
6338 * net/newst-plainview.el (newsticker-new-item-face)
6339 (newsticker-old-item-face, newsticker-immortal-item-face)
6340 (newsticker-obsolete-item-face, newsticker-date-face)
6341 (newsticker-statistics-face, newsticker-default-face):
6342 * net/newst-reader.el (newsticker-feed-face)
6343 (newsticker-extra-face, newsticker-enclosure-face):
6344 * net/newst-treeview.el (newsticker-treeview-face)
6345 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6346 (newsticker-treeview-immortal-face)
6347 (newsticker-treeview-obsolete-face)
6348 (newsticker-treeview-selection-face):
6349 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6350 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6351 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6352 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6353 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6354 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6355 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6357 * progmodes/vera-mode.el (vera-font-lock-number)
6358 (vera-font-lock-function, vera-font-lock-interface):
6359 * textmodes/table.el (table-cell): Use new-style face specs, and
6360 don't use the old :bold and :italic attributes.
6362 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6363 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6364 (ebrowse-member-class, ebrowse-progress): Likewise.
6365 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6366 (ebrowse-file-name-face, ebrowse-default-face)
6367 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6368 (ebrowse-progress-face): Remove obsolete faces.
6370 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6371 Inherit from error and warning faces respectively.
6373 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6375 (flyspell-incorrect-face, flyspell-duplicate-face):
6376 Remove obsolete aliases.
6378 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6380 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6383 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6385 * startup.el (argv, argi): Make lexically scoped.
6386 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6387 * emacs-lisp/cl-macs.el: Use lexical-binding.
6388 Rename cl-bind-* to cl--bind-*.
6389 * files.el: Don't require `cl' since it doesn't use it.
6390 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6392 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6394 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6395 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6396 instead of calling external sort utility.
6397 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6399 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6401 * descr-text.el (describe-char): Mention how to insert the
6402 character, if the current input method doesn't support it.
6403 See the discussion in this thread for the details:
6404 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6406 2012-06-08 Sam Steingold <sds@gnu.org>
6408 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6409 XF86Back to previous-buffer.
6410 (minibuffer-local-map): Bind them to next-history-element and
6411 previous-history-element respectively.
6412 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6413 help-go-back respectively.
6414 * info.el (Info-mode-map): Bind them to Info-history-forward and
6415 Info-history-back respectively.
6416 These are the keys next to Up on the ThinkPad keyboard.
6418 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6420 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6421 * emacs-lisp/cl-macs.el: Provide itself.
6422 (cl--labels-convert-cache): New var.
6423 (cl--labels-convert): New function.
6424 (cl-flet, cl-labels): New implementation with new semantics, relying on
6426 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6427 (cl-closure-vars, cl--function-convert-cache)
6428 (cl--function-convert): Move from cl-macs.el.
6429 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6430 rename by removing the "cl-" prefix.
6431 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6433 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6436 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6437 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6438 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6439 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6440 (cl-hash-table-count): Add old compatibility aliases.
6442 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6443 Use macroexpand-all-environment instead.
6444 (cl--old-macroexpand): New var.
6445 (cl--sm-macroexpand): New function.
6446 (cl-symbol-macrolet): Use it during macro expansion.
6447 (cl--function-convert-cache): New var.
6448 (cl--function-convert): New function, extracted from
6450 (cl-lexical-let): Use it.
6452 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6453 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6454 (cl-member): Remove old alias.
6456 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6457 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6458 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6459 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6460 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6461 (cl-macroexpand-cmacs): Remove var.
6462 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6463 Use macroexpand-all instead.
6465 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6468 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6469 (macroexp-copyable-p): New functions and macros.
6470 * emacs-lisp/edebug.el (edebug-unwrap):
6471 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6472 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6473 (pcase--let*): Remove.
6474 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6475 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6476 macroexp-const-p instead.
6477 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6479 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6480 instead of "cl-" for internal definitions. Use macroexp-const-p.
6481 (cl-old-bc-file-form): Remove var.
6482 (cl-const-exprs-p): Remove fun.
6483 (cl-labels, cl-macrolet): Use backquote.
6484 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6485 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6486 (cl-define-setf-expander): Rename from cl-define-setf-method.
6487 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6489 * international/mule-cmds.el: Don't require CL.
6490 (view-hello-file): Don't use `letf'.
6492 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6494 * tmm.el (tmm-prompt): Use string-prefix-p.
6495 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6496 (tmm-add-prompt): Use minibuffer-completion-help.
6497 (tmm-delete-map): Remove.
6499 * subr.el (kbd): Make it its own function.
6501 2012-06-07 Stefan Merten <smerten@oekonux.de>
6503 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6504 Silence compiler warnings. Fix versions.
6505 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6506 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6507 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6508 (rst-package-emacs-version-alist): Correct Emacs version to
6509 represent major merge with upstream.
6510 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6512 2012-06-06 Glenn Morris <rgm@gnu.org>
6514 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6515 Only print environment variables if set.
6517 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6519 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6520 (macroexp--cons): Rename from maybe-cons.
6521 (macroexp--accumulate): Rename from macroexp-accumulate.
6522 (macroexp--all-forms): Rename from macroexpand-all-forms.
6523 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6524 (macroexp--expand-all): Rename from macroexpand-all-1.
6526 2012-06-06 Sam Steingold <sds@gnu.org>
6528 * calendar/calendar.el (calendar-in-read-only-buffer):
6529 Call `special-mode' to enable the standard read-only keybindings.
6531 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6533 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6534 with "loading" messages (bug#11635).
6536 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6538 * files.el (enable-remote-dir-locals): New option.
6539 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6541 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6542 Ensure, that the temp directory is local.
6544 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6545 `temporary-file-directory'.
6547 * progmodes/python.el (python-send-region): Ensure, that the
6548 temporary file is created also in the remote case.
6550 2012-06-06 Glenn Morris <rgm@gnu.org>
6552 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6553 (vc-rcs-update-changelog): Use it.
6555 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6557 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6558 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6559 (vc-sccs-diff): Replace use of the external vcdiff script.
6561 2012-06-05 Glenn Morris <rgm@gnu.org>
6563 * ledit.el: Move to obsolete/.
6565 2012-06-05 Sam Steingold <sds@gnu.org>
6567 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6570 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * emacs-lisp/cust-print.el: Move to obsolete.
6574 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6575 compiler-macro expansion.
6577 Add native compiler-macro support.
6578 * emacs-lisp/macroexp.el (macroexpand-all-1):
6579 Support compiler-macros directly. Properly follow aliases and apply
6580 the compiler macros more thoroughly.
6581 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6582 macroexpand now properly follows aliases.
6583 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6584 (cl-compiler-macroexpand): Use new prop.
6585 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6587 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6589 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6591 * window.el (get-lru-window, get-mru-window, get-largest-window):
6592 New argument NOT-SELECTED to avoid picking the selected window.
6593 (window--display-buffer-1, window--display-buffer-2): Replace by
6594 new function window--display-buffer
6595 (display-buffer-same-window, display-buffer-reuse-window)
6596 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6597 Use window--display-buffer.
6598 (display-buffer-use-some-window): Remove temporary dedication
6599 hack by calling get-lru-window and get-largest-window with
6600 NOT-SELECTED argument non-nil. Call window--display-buffer.
6602 2012-06-05 Glenn Morris <rgm@gnu.org>
6604 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6605 Replace external vcdiff script.
6607 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6609 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6611 2012-06-04 Chong Yidong <cyd@gnu.org>
6613 * image.el (imagemagick-types-inhibit): Revert last change.
6615 (imagemagick-enabled-types): Remove CIN and EPS*.
6617 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * emacs-lisp/cl-lib.el: Rename from cl.el.
6620 * emacs-lisp/cl.el: New compatibility file.
6621 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6622 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6623 to obey the "cl-" prefix.
6624 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6626 2012-06-03 Glenn Morris <rgm@gnu.org>
6628 * emacs-lisp/authors.el (authors-aliases): Addition.
6630 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6633 2012-06-03 Stefan Merten <smerten@oekonux.de>
6635 * textmodes/rst.el: Add comments.
6636 (rst-transition, rst-adornment): New faces.
6637 (rst-adornment-faces-alist): Make default safe to reevaluate.
6639 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6640 Improve customization tags.
6641 (rst-define-level-faces): Clarify meaning.
6643 2012-06-03 Chong Yidong <cyd@gnu.org>
6645 * progmodes/compile.el (compilation-mode-line-fail)
6646 (compilation-mode-line-run, compilation-mode-line-exit):
6648 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6650 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6652 * progmodes/which-func.el (which-func-update-ediff-windows):
6653 New function. Use it in ediff-select-hook (Bug#11478).
6655 2012-06-03 Chong Yidong <cyd@gnu.org>
6657 * bindings.el: Remove explicit help text from format-mode-line.
6658 It is now supplied by mode-line-default-help-echo.
6659 (mode-line-front-space, mode-line-end-spaces)
6660 (mode-line-misc-info): New variables.
6661 (mode-line-modes, mode-line-position): Move the default value to
6662 the variable definition.
6663 (mode-line-default-help-echo): New defcustom.
6664 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6665 (mode-line-modified-help-echo): New functions.
6666 (mode-line-mule-info, mode-line-modified): Use them.
6667 (mode-line-eol-desc, propertized-buffer-identification):
6668 Consistency fixes for help text.
6669 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6670 set-buffer-file-coding-system (Bug#289).
6671 (mode-line-mule-info-help-echo): Update help text.
6673 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * simple.el (execute-extended-command): Set real-this-command
6678 2012-06-02 Chong Yidong <cyd@gnu.org>
6680 Remove incorrect uses of "modeline" in comments, docstrings, and
6681 function/variable names (Bug#10329).
6683 * cus-edit.el (mode-line):
6684 * dframe.el (dframe-mouse-hscroll):
6685 * emacs-lisp/re-builder.el:
6686 * emacs-lisp/easy-mmode.el (define-minor-mode):
6687 * frame.el (set-frame-name):
6688 * help.el (lookup-minor-mode-from-indicator):
6689 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6690 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6691 (c-toggle-hungry-state):
6692 * progmodes/antlr-mode.el (antlr-language-alist):
6693 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6694 * progmodes/vhdl-mode.el (vhdl-mode):
6695 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6696 * term/ns-win.el (ns-face-at-pos):
6697 * term/sup-mouse.el (sup-mouse-report):
6698 * textmodes/flyspell.el (flyspell-mode-line-string):
6699 * textmodes/ispell.el (ispell-highlight-face):
6700 * textmodes/reftex-global.el:
6701 * vc/vc-arch.el (vc-arch-mode-line-string):
6702 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6703 * vc/vc-git.el (vc-git-mode-line-string):
6704 * vc/vc-hooks.el (vc-display-status)
6705 (vc-default-mode-line-string):
6706 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6708 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6710 * dired.el (dired-sort-set-mode-line): Rename from
6711 dired-sort-set-modeline. All callers changed.
6713 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6714 eshell-status-in-modeline.
6716 * foldout.el (foldout-mode-line-string): Rename from
6717 foldout-modeline-string. All callers changed.
6718 (foldout-update-mode-line): Rename from foldout-update-modeline.
6720 * subr.el (redraw-modeline): Make into obsolete alias.
6722 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6723 timeclock-modeline-display. Make old name an alias.
6724 (timeclock-update-mode-line): Likewise. All callers changed.
6725 (timeclock-mode-line-display): No need to check before using
6727 (timeclock-relative, timeclock-day-over-hook)
6728 (timeclock-use-elapsed, timeclock-mode-string)
6729 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6731 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6732 crisp-mode-modeline-string.
6734 * play/solitaire.el (solitaire-build-mode-line): Rename from
6735 solitaire-build-modeline. All callers changed.
6737 * play/zone.el (zone-hiding-mode-line): Rename from
6738 zone-hiding-modeline. All callers changed.
6739 (zone): Remove unusued `modeline-hidden-level' property.
6741 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6742 xscheme-modeline-initialize. All callers changed.
6744 * strokes.el (strokes-lighter): Rename from
6745 strokes-modeline-string.
6747 * textmodes/sgml-mode.el (html-face-tag-alist)
6748 (html-tag-face-alist): Use mode-line face instead of obsolete
6751 2012-06-02 Stefan Merten <smerten@oekonux.de>
6753 * textmodes/rst.el: Always require `cl'.
6754 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6756 2012-06-02 Chong Yidong <cyd@gnu.org>
6758 * image.el (imagemagick-enabled-types): Rename from
6759 imagemagick-types-enable. Add many more types.
6760 (imagemagick-types-inhibit): Change default to nil.
6761 (imagemagick-filter-types): Caller changed.
6763 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/cl-macs.el: Use backquotes.
6766 (cl-transform-function-property): Use eval-and-compile rather than
6768 (defstruct): Use declare-function instead of with-no-warnings.
6770 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6771 (byte-compile-output-docform): Re-add the print-circle bindings.
6772 (byte-compile-fix-header): Use #$ just because it's shorter.
6773 (byte-compile-output-file-form): Remove defun/defmacro.
6775 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6777 * simple.el (choose-completion): Remove now obsolete binding for
6780 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6782 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6783 in order to avoid "Stack overflow in regexp matcher".
6785 2012-05-31 Glenn Morris <rgm@gnu.org>
6787 * image.el: For clarity, call imagemagick-register-types at
6788 top-level, rather than relying on a custom :initialize.
6789 (imagemagick-types-enable): New option. (Bug#11557)
6790 (imagemagick-filter-types): New function. (Bug#7406)
6791 (imagemagick-register-types): Use imagemagick-filter-types.
6792 If disabling support, remove elements altogether rather
6793 than using an impossible regexp.
6794 (imagemagick-types-inhibit): Give it the default init function.
6796 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6799 Handle arbitrary file name lengths (Bug#11585).
6801 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6803 * desktop.el (desktop-read): Clear previous and next buffers for
6804 all windows and bury *Messages* buffer (bug#11556).
6806 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6808 Add `declare' for `defun'. Align `defmacro's with it.
6809 * emacs-lisp/easy-mmode.el (define-minor-mode)
6810 (define-globalized-minor-mode): Don't autoload the var definitions.
6811 * emacs-lisp/byte-run.el: Use lexical-binding.
6812 (defun-declarations-alist, macro-declarations-alist): New vars.
6813 (defmacro, defun): Use them.
6814 (make-obsolete, define-obsolete-function-alias)
6815 (make-obsolete-variable, define-obsolete-variable-alias):
6817 (macro-declaration-function): Mark obsolete.
6818 * emacs-lisp/autoload.el: Use lexical-binding.
6819 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6821 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6823 * textmodes/ispell.el (ispell-with-no-warnings):
6825 (ispell-kill-ispell, ispell-change-dictionary):
6826 Use `called-interactively-p' for Emacs instead of obsolete
6829 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6832 (macro-declaration-function): Move var from C code.
6833 (macro-declaration-function): Define function with defalias.
6834 * emacs-lisp/macroexp.el (macroexpand-all-1):
6835 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6836 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6837 defun/defmacro any more.
6838 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6839 Provide fallback for unknown arglist.
6840 (byte-compile-arglist-warn): Change calling convention.
6841 (byte-compile-output-file-form): Move print-vars binding.
6842 (byte-compile-output-docform): Simplify accordingly.
6843 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6844 (byte-compile-defmacro-declaration): Remove.
6845 (byte-compile-file-form-defmumble): Generalize to defalias.
6846 (byte-compile-output-as-comment): Return byte-positions.
6847 Simplify callers accordingly.
6848 (byte-compile-lambda): Use `assert'.
6849 (byte-compile-defun, byte-compile-defmacro): Remove.
6850 (byte-compile-file-form-defalias):
6851 Use byte-compile-file-form-defmumble.
6852 (byte-compile-defalias-warn): Remove.
6854 2012-05-29 Stefan Merten <smerten@oekonux.de>
6856 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6857 possible. Fix authors. Improve comments. Improve loading of `cl'.
6859 (rst-mode-abbrev-table): Merge definition.
6860 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6861 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6863 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6865 * calendar/icalendar.el
6866 (icalendar-export-region): Export UID properly.
6868 2012-05-29 Leo Liu <sdl.web@gmail.com>
6869 * calendar/icalendar.el (icalendar-import-format):
6870 Add `icalendar-import-format-uid' (Bug#11525).
6871 (icalendar-import-format-uid): New.
6872 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6875 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6878 different alternative patterns.
6879 (pcase-codegen): Be more careful to preserve identity.
6880 (pcase--u1): Don't forget to mark vars as used.
6882 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6883 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6884 (byte-compile-from-buffer): ...rather than here.
6886 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6887 functions from byte-compile-function-environment.
6889 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6891 * window.el (window-deletable-p): Avoid deleting the root window
6892 of a frame with an active minibuffer.
6894 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6896 * simple.el (choose-completion): Use quit-window (Bug#11567).
6898 2012-05-29 Chong Yidong <cyd@gnu.org>
6900 * whitespace.el (whitespace-cleanup): Fix usage of
6901 whitespace-empty-at-bob-regexp (Bug#11492).
6903 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6905 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6908 2012-05-29 Juri Linkov <juri@jurta.org>
6910 * isearch.el (isearch-mode-map): Bind `M-s _' to
6911 `isearch-toggle-symbol'. Bind `M-s c' to
6912 `isearch-toggle-case-fold'.
6913 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6914 (isearch-forward): Add `M-s _' to the docstring.
6915 (isearch-forward-symbol, isearch-toggle-case-fold)
6916 (isearch-symbol-regexp): New functions. (Bug#11381)
6918 2012-05-29 Juri Linkov <juri@jurta.org>
6920 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6921 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6922 a function, call it to get the regexp.
6923 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6924 property `isearch-message-prefix' instead of the string "word ".
6925 (isearch-search-fun-default): For the case of `isearch-word',
6926 return a lambda that calls re-search-forward/re-search-backward
6927 with a regexp returned by `word-search-regexp' or by the function
6930 2012-05-29 Juri Linkov <juri@jurta.org>
6932 * isearch.el (isearch-search-fun-default): New function.
6933 (isearch-search-fun): Move default part to the new function
6934 `isearch-search-fun-default'.
6935 (isearch-search-fun-function): Set the default value to
6936 `isearch-search-fun-default'. (Bug#11381)
6938 * comint.el (comint-history-isearch-end):
6939 Use `isearch-search-fun-default'.
6940 (comint-history-isearch-search): Use `isearch-search-fun-default'
6941 and remove spacial case for `isearch-word'.
6942 (comint-history-isearch-wrap): Remove spacial case for
6945 * hexl.el (hexl-isearch-search-function):
6946 Use `isearch-search-fun-default'.
6948 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6949 Use `word-search-regexp' for `isearch-word'.
6951 * misearch.el (multi-isearch-search-fun):
6952 Use `isearch-search-fun-default'.
6954 * simple.el (minibuffer-history-isearch-search):
6955 Use `isearch-search-fun-default' and remove spacial case for
6957 (minibuffer-history-isearch-wrap): Remove spacial case for
6960 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6961 Remove spacial case for `isearch-word'.
6962 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6964 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6966 Decrease XEmacs incompatibilities.
6967 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6969 (flyspell-delete-region-overlays): Use alternative definition for
6971 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6972 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6973 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6974 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6975 `define-obsolete-face-alias' under XEmacs, but old method.
6977 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6978 `with-no-warnings' definition or Emacs alias.
6979 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6980 (ispell-word): Do not use `region-p' if XEmacs.
6982 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6984 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6985 Check for `ispell-dictionary-base-alist' instead of full
6986 `ispell-dictionary-alist'.
6987 (ispell-init-process): Show spellchecker when starting new Ispell
6990 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6992 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6993 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6995 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6997 * version.el (motif-version-string, gtk-version-string)
6998 (ns-version-string): Declare.
7000 2012-05-27 Juri Linkov <juri@jurta.org>
7002 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7003 after the `eval-defun-1' specialcaseing
7004 like in `edebug-eval-defun' (bug#10181).
7006 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7007 like in `eval-defun-1'.
7009 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7011 * mail/sendmail.el (mail-yank-region):
7012 Recognize rmail-yank-current-message in addition to insert-buffer.
7013 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7014 a *mail* buffer created through rmail-start-mail with sendmail as
7017 2012-05-27 Chong Yidong <cyd@gnu.org>
7019 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7020 Default to 256 (Bug#11267).
7022 * help.el (describe-mode): Doc fix.
7024 2012-05-26 Glenn Morris <rgm@gnu.org>
7026 * w32-fns.el (w32-init-info): Remove.
7027 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7029 * info.el (info-initialize): For self-contained NS builds, put the
7030 included info/ directory at the front. (Bug#2791)
7032 * paths.el (Info-default-directory-list): Make it a defcustom,
7033 mainly so that we can use custom-initialize-delay.
7035 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * subr.el (buffer-has-markers-at): Mark obsolete.
7039 * subr.el (lambda): Use declare.
7041 * emacs-lisp/lisp-mode.el (lambda):
7042 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7044 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7046 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7048 2012-05-26 Glenn Morris <rgm@gnu.org>
7050 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7052 2012-05-25 Glenn Morris <rgm@gnu.org>
7054 * paths.el: Remove no-byte-compile.
7055 * loadup.el: No need to load paths.el uncompiled.
7057 * image.el (imagemagick-types-inhibit): Doc fix.
7059 * version.el: Remove no-byte-compile and associated formatting.
7060 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7061 is ancient code from when there was an "inc-vers.el".
7063 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * progmodes/gdb-mi.el: Minor style changes.
7066 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7067 Turn into minor modes.
7068 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7069 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7070 (gdb-shell): Remove unneeded let-binding.
7071 (gdb-get-many-fields): Eliminate O(n²) behavior.
7073 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7075 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7076 platforms that don't link in fontset.c.
7078 2012-05-25 Juri Linkov <juri@jurta.org>
7080 Use the same diff color scheme as in modern VCSes (bug#10181).
7082 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7083 to avoid confusion with `diff-added' that now uses green colors.
7084 (diff-removed): Use shades of red.
7085 (diff-added): Use shades of green.
7086 (diff-changed): Leave just the yellow color.
7087 (diff-use-changed-face): New variable.
7088 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7089 how to highlight context diff changes.
7090 (diff-refine-change): Use shades of yellow.
7091 (diff-refine-removed): New face that uses shades of red.
7092 (diff-refine-added): New face that uses shades of green.
7093 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7094 `diff-refine-removed' in the call to `smerge-refine-subst'
7095 depending on the value of `diff-use-changed-face'.
7097 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7098 (smerge-other): Use shades of green.
7099 (smerge-base): Use shades of yellow.
7100 (smerge-refined-change): Empty face.
7101 (smerge-refined-removed): New face that uses shades of red.
7102 (smerge-refined-added): New face that uses shades of green.
7103 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7104 args `props-r' and `props-a', and use them. Doc fix.
7105 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7106 on its value use different faces `smerge-refined-change',
7107 `smerge-refined-removed', `smerge-refined-added' in the call to
7108 `smerge-refine-subst'.
7110 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7111 Add face condition `min-colors 88' with shades of red.
7112 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7113 `min-colors 88' with shades of green.
7114 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7115 `min-colors 88' with shades of yellow.
7117 2012-05-24 Glenn Morris <rgm@gnu.org>
7119 * paths.el (prune-directory-list, remote-shell-program): Move to...
7120 * files.el (prune-directory-list, remote-shell-program): ...here.
7121 For the latter, delay initialization, prefer ssh, just search PATH.
7123 * paths.el (term-file-prefix): Move to faces.el (the only user).
7124 * faces.el (term-file-prefix): Move here, make it a defcustom.
7126 * paths.el (news-directory, news-path, news-inews-program):
7127 Move to gnus/nnspool.el.
7129 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7131 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7132 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7133 Make the latter a defcustom, with a delayed initialization.
7135 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7136 These were deleted from Gnus itself late 2010.
7138 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7140 * progmodes/which-func.el (which-func-ff-hook):
7141 Check against user-error, not error.
7143 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7144 cl-specs.el, which no longer exists.
7146 2012-05-22 Glenn Morris <rgm@gnu.org>
7148 * info.el (info-emacs-bug): New command.
7149 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7150 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7152 2012-05-21 Glenn Morris <rgm@gnu.org>
7154 * makefile.w32-in (update-subdirs-SH):
7155 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7157 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7159 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7161 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7162 Simplify Maven regexp, and make sure the file can't start with a space
7165 2012-05-21 Glenn Morris <rgm@gnu.org>
7167 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7168 Scrap superfluous subshells.
7170 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7173 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7175 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7177 * calc/calc.el (calc-ensure-consistent-units): New variable.
7179 * calc/calc-units.el (math-consistent-units-p)
7180 (math-check-unit-consistency): New functions.
7181 (calc-quick-units, calc-convert-units):
7182 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7184 (calc-extract-units): Fix typo.
7186 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7190 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7191 (flyspell-default-deplacement-commands): Don't spell check after
7192 repeated window/frame switches (e.g. triggered by mouse-movement).
7193 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7194 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7195 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7196 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7198 (flyspell-get-casechars, flyspell-get-not-casechars):
7199 Simplify; Don't bother removing a ] just to add it back.
7200 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7202 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7204 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7206 (math-function-table): Add support for more C functions.
7208 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7210 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7211 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7212 Protect delay handling for otherchars against empty otherchars.
7214 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7217 their respective macro declarations.
7218 * skeleton.el (define-skeleton):
7219 * progmodes/compile.el (define-compilation-mode):
7220 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7221 (define-ibuffer-filter):
7222 * emacs-lisp/generic.el (define-generic-mode):
7223 * emacs-lisp/easy-mmode.el (define-minor-mode)
7224 (define-globalized-minor-mode):
7225 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7226 * emacs-lisp/byte-run.el (defsubst):
7227 * custom.el (deftheme): Add doc-string metadata.
7229 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7233 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7235 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7237 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7238 * emacs-lisp/cl-macs.el: Idem.
7239 * emacs-lisp/cl-specs.el: Remove.
7241 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7243 Minor renaming of internal CL functions and variables.
7244 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7245 (cl--position): Rename from cl-position.
7246 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7247 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7248 (cl--random-state): Rename from *random-state*.
7250 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7253 parens around the arg list (bug#11499).
7255 2012-05-17 Juri Linkov <juri@jurta.org>
7257 * isearch.el (word-search-regexp, word-search-backward)
7258 (word-search-forward, word-search-backward-lax)
7259 (word-search-forward-lax): Move functions from search.c
7260 (bug#10145, bug#11381).
7262 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7264 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7265 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7266 Delay for otherchars as for normal word components.
7268 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * minibuffer.el (completion--sifn-requote): Fix last change.
7271 (minibuffer-local-must-match-filename-map):
7272 Move define-obsolete-variable-alias before its var.
7274 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7278 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7280 (completion--string-equal-p): New function.
7281 (completion--twq-all): Use it to get better assertion failure data.
7283 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7284 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7285 (shell--requote-argument): New functions.
7286 (shell-completion-vars): Use them.
7287 (shell--parse-pcomplete-arguments): Rename from
7288 shell-parse-pcomplete-arguments.
7289 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7290 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7291 Obey comint-file-name-quote-list.
7293 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7294 (smie-indent-keyword): Use it.
7296 2012-05-14 Stefan Merten <smerten@oekonux.de>
7298 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7300 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * net/rlogin.el (rlogin-mode-map): Fix last change.
7304 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7306 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7307 the following \r\n using a single `process-send-string', since the
7308 Lotus SMTP server refuses to accept any commands if they are sent
7309 with two `process-send-string's (Bug#11444).
7311 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * shell.el (shell-parse-pcomplete-arguments):
7314 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7316 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7318 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7319 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7320 (image-transform-width, image-transform-fit-width): New functions.
7321 (image-transform-properties): Use them.
7322 (image-transform-check-size): New function.
7323 (image-toggle-display-image): Use it (for testing).
7324 (image-transform-set-rotation): Reduce angle mod 360.
7325 Delete obsolete comment.
7327 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7329 * image-mode.el: Fix scaling (bug#11399).
7330 (image-transform-resize): Doc fix.
7331 (image-transform-properties): Default scale is 1 and height should
7334 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7336 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7337 than hard-coding `car', to fix misbehavior when moving forward.
7339 2012-05-13 Chong Yidong <cyd@gnu.org>
7341 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7342 (tabulated-list-entries, tabulated-list-padding)
7343 (tabulated-list-sort-key): Make permanent-local.
7345 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7346 (electric-buffer-list): Put electric buffer menu
7347 command descriptions in this docstring, instead of the docstring
7348 of electric-buffer-menu-mode. Code cleanups.
7349 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7350 Electric-buffer-menu-mode.
7351 (electric-buffer-update-highlight): Minor code cleanup.
7353 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7355 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7358 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7360 Move define-obsolete-variable-alias before the var's definition.
7361 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7362 * tooltip.el (tooltip-hook):
7363 * textmodes/reftex-toc.el (reftex-toc-map):
7364 * textmodes/reftex-sel.el (reftex-select-label-map)
7365 (reftex-select-bib-map):
7366 * textmodes/reftex-index.el (reftex-index-map)
7367 (reftex-index-phrases-map):
7368 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7369 * progmodes/meta-mode.el (meta-mode-map):
7370 * novice.el (disabled-command-hook):
7371 * loadhist.el (unload-hook-features-list):
7372 * frame.el (blink-cursor):
7373 * files.el (find-file-not-found-hooks, write-file-hooks)
7374 (write-contents-hooks):
7375 * emulation/tpu-edt.el (GOLD-map):
7376 * emacs-lock.el (emacs-lock-from-exiting):
7377 * emacs-lisp/generic.el (generic-font-lock-defaults):
7378 * emacs-lisp/chart.el (chart-map):
7379 * dos-fns.el (register-name-alist):
7380 * dired-x.el (dired-omit-files-p):
7381 * desktop.el (desktop-enable):
7382 * cus-edit.el (custom-mode-hook):
7383 * buff-menu.el (buffer-menu-mode-hook):
7384 * bookmark.el (bookmark-read-annotation-text-func)
7385 (bookmark-exit-hooks):
7386 * allout.el (allout-mode-deactivate-hook)
7387 (allout-exposure-change-hook, allout-structure-added-hook)
7388 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7389 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7390 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7391 comes before the corresponding variable's definition.
7393 2012-05-12 Chong Yidong <cyd@gnu.org>
7395 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7396 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7397 (Buffer-menu-mode-map): Bind it.
7398 (Buffer-menu--pretty-name): Add a mouse-face property.
7400 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7402 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7403 (prolog-upper-case-string, prolog-lower-case-string)
7404 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7405 (prolog-use-smie, prolog-smie-grammar): New vars.
7406 (prolog-smie-forward-token, prolog-smie-backward-token)
7407 (prolog-smie-rules): New funs.
7408 (prolog-comment-indent): Remove.
7409 (prolog-mode-variables): Use default comment indentation instead.
7411 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7412 (prolog-mode): Don't call them any more.
7413 (prolog-electric-colon, prolog-electric-dash)
7414 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7416 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7418 * minibuffer.el (completion--twq-all): Again, allow case differences.
7420 * term.el: Move keymap initialization code to be more idiomatic.
7421 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7422 (term-terminal-menu): Move initialization into declaration.
7423 (term-escape-char): Let the user set it in her .emacs.
7425 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7426 Provide SMIE-based indentation (not enabled by default yet).
7427 (sh-mode-map): Don't bind electric keys.
7428 Use electric-pair-mode instead of skeleton-pair.
7429 (sh-assignment-regexp): Fit within 80 columns.
7430 (sh-indent-supported): Specify actual shell name instead of boolean.
7431 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7432 (sh-maybe-here-document): Use it. Make obsolete.
7433 (sh-electric-here-document-mode) New minor mode.
7434 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7435 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7436 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7437 (sh-smie-rc-grammar, sh-use-smie): New vars.
7438 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7439 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7440 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7441 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7442 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7443 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7444 (sh-set-shell): Use smie-setup if requested.
7446 * term.el (term-set-escape-char): Properly set term-escape-char.
7447 See http://stackoverflow.com/questions/10524656.
7449 2012-05-10 Chong Yidong <cyd@gnu.org>
7451 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7452 Use url-generic-parse-url, and handle host names and Windows
7454 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7455 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7456 URL schemes to work on.
7457 (ffap--toggle-read-only): New function.
7458 (ffap-read-only, ffap-read-only-other-window)
7459 (ffap-read-only-other-frame): Use it.
7460 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7461 necessary for ffap-url-unwrap-remote.
7463 2012-05-10 Dave Abrahams <dave@boostpro.com>
7465 * cus-start.el (create-lockfiles): Add it.
7467 2012-05-09 Chong Yidong <cyd@gnu.org>
7469 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7470 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7472 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7476 2012-05-09 Chong Yidong <cyd@gnu.org>
7478 * ansi-color.el (ansi-color-process-output): Check for validity of
7479 comint-last-output-start before using it. This avoids a bad
7480 interaction with gdb-mi's input/output buffer.
7482 2012-05-09 Glenn Morris <rgm@gnu.org>
7484 * files.el (dir-locals-read-from-file):
7485 Mention dir-locals in any error message.
7487 2012-05-09 Chong Yidong <cyd@gnu.org>
7489 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7490 package (Bug#11410).
7492 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7493 variables into description.
7495 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7498 shell-delimiter-argument-list (bug#11348).
7499 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7501 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7503 * textmodes/rst.el: Silence byte-compiler warnings.
7504 (rst-re-alist, rst-reset-section-caches): Move around.
7505 (rst-re): Use `characterp', not `char-valid-p'.
7506 (font-lock-beg, font-lock-end): Declare.
7508 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7509 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7511 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7513 2012-05-08 Glenn Morris <rgm@gnu.org>
7515 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7517 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * vc/log-edit.el: Add GNU coding standards highlighting.
7520 (log-edit-font-lock-gnu-style)
7521 (log-edit-font-lock-gnu-keywords): New vars.
7522 (log-edit-font-lock-keywords): New fun.
7523 (log-edit-mode): Don't fold case in font-lock.
7524 (log-edit-font-lock-keywords): Do not assume case-folding.
7526 * imenu.el: Misc cleanup. Make docstrings out of comments.
7527 Use lexical-binding.
7528 (imenu--index-alist, imenu--last-menubar-index-alist)
7529 (imenu-menubar-modified-tick): Use defvar-local.
7530 (imenu--split-menu): Remove unused var.
7531 (imenu--cleanup-seen): Declare as global.
7532 (imenu--cleanup): Use dolist.
7534 * subr.el (defvar-local): Add debug spec and doc-string position.
7536 2012-05-08 Glenn Morris <rgm@gnu.org>
7538 * language/burmese.el, language/cham.el, language/czech.el:
7539 * language/english.el, language/georgian.el, language/greek.el:
7540 * language/japanese.el, language/khmer.el, language/korean.el:
7541 * language/lao.el, language/misc-lang.el, language/romanian.el:
7542 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7543 * language/thai.el, language/utf-8-lang.el:
7544 Remove no-byte-compile setting.
7546 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7548 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7550 * progmodes/make-mode.el (makefile-browse):
7551 Remove unnecessary interactive. (Bug#11324)
7553 2012-05-07 Glenn Morris <rgm@gnu.org>
7555 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7557 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7559 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7561 * loadup.el: Preload newcomment.el.
7562 * newcomment.el: Move autoload-only code to toplevel.
7564 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7565 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7566 Handle new :right-align column property.
7567 (tabulated-list-print-col): Idem, plus use `display' text-property to
7568 try and preserve alignment for variable pitch fonts.
7570 2012-05-07 Chong Yidong <cyd@gnu.org>
7572 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7573 (tabulated-list-use-header-line): New var.
7574 (tabulated-list-init-header): Use it.
7575 (tabulated-list-print-fake-header): New function.
7576 (tabulated-list-print): Use it.
7577 (tabulated-list-sort-button-map): Add non-header-line commands.
7578 (tabulated-list-init-header): Add column name property to basic
7580 (tabulated-list-col-sort): Handle non-header-line button case.
7581 (tabulated-list--sort-by-column-name): Fix a corner case.
7583 * buff-menu.el (list-buffers--refresh):
7584 Handle Buffer-menu-use-header-line.
7586 2012-05-06 Chong Yidong <cyd@gnu.org>
7588 * buff-menu.el: Convert to Tabulated List mode.
7589 (Buffer-menu-buffer+size-width): Make obsolete.
7590 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7591 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7592 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7593 documentation into docstring of buffer-menu.
7594 (Buffer-menu-toggle-files-only): Add an informative message.
7595 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7596 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7597 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7598 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7599 (Buffer-menu-execute, Buffer-menu-select)
7600 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7601 (Buffer-menu-bury): Use Tabulated List machinery.
7602 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7603 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7605 (list-buffers--refresh): New function.
7606 (list-buffers-noselect): Use it.
7607 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7608 (Buffer-menu--pretty-file-name): New helper functions.
7610 * loadup.el: Preload tabulated-list.
7612 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7613 tabulated-list-sort-column.
7614 (tabulated-list-init-header): Add the initial aligning space even
7615 if tabulated-list-padding is zero.
7617 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7619 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7620 whose cdr is not a cons cell correctly (bug#11038).
7622 2012-05-06 Chong Yidong <cyd@gnu.org>
7624 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7625 Accept additional plist in column descriptors.
7626 (tabulated-list-init-header): Obey it.
7627 (tabulated-list-get-entry): New function.
7628 (tabulated-list-put-tag): Use it. Use string-width instead of
7630 (tabulated-list--column-number): New function.
7631 (tabulated-list-print): Use it.
7632 (tabulated-list-print-col): New function.
7633 Set `tabulated-list-column-name' property on each column's text.
7634 (tabulated-list-print-entry): Use it.
7635 (tabulated-list-delete-entry, tabulated-list-set-col):
7637 (tabulated-list-sort-column): New command (Bug#11337).
7639 * buff-menu.el (list-buffers): Move C-x C-b binding from
7640 buff-menu.el to bindings.el.
7642 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7643 :advertised-binding feature.
7645 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7647 * progmodes/compile.el (compilation-internal-error-properties):
7648 Calculate start position correctly when end-col is set but
7649 end-line is not (Bug#11382).
7651 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7653 * man.el (Man-unindent): Use text-property-default-nonsticky to
7654 prevent untabify from inheriting face properties (Bug#11408).
7656 2012-05-05 Stefan Merten <smerten@oekonux.de>
7658 * textmodes/rst.el: Major merge with upstream development up to
7659 Docutils SVN r7399 / rst.el V1.2.1.
7661 Clarify maintainership and authors.
7663 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7664 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7665 (rst-official-version, rst-official-cvs-rev, rst-version)
7666 (rst-package-emacs-version-alist): New functions and variables
7667 for version information.
7669 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7670 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7671 (rst-mode-syntax-table, rst-mode): New and corrected functions
7672 and variables representing reStructuredText features.
7674 (rst-re): New function for reStructuredText regexes. Use in
7677 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7678 (rst-mode-map): Rebind keys.
7680 (rst-mode-lazy, rst-font-lock-keywords)
7681 (rst-font-lock-extend-region)
7682 (rst-font-lock-extend-region-internal)
7683 (rst-font-lock-extend-region-extend)
7684 (rst-font-lock-find-unindented-line-limit)
7685 (rst-font-lock-find-unindented-line-match)
7686 (rst-adornment-level, rst-font-lock-adornment-level)
7687 (rst-font-lock-adornment-match)
7688 (rst-font-lock-handle-adornment-pre-match-form)
7689 (rst-font-lock-handle-adornment-matcher): Major revision of
7690 font-locking. Integrate with other code. Use `jit-lock-mode'.
7692 (rst-preferred-adornments, rst-adjust-hook)
7693 (rst-new-adornment-down, rst-preferred-bullets)
7694 (rst-preferred-bullets, rst-indent, rst-indent-width)
7695 (rst-indent-field, rst-indent-literal-normal)
7696 (rst-indent-literal-minimized, rst-indent-comment): Change,
7697 extend and improve customization.
7699 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7700 (rst-normalize-cursor-position, rst-get-decoration)
7701 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7702 (rst-rstrip, rst-toc-insert-find-delete-contents)
7703 (rst-shift-fill-region, rst-compute-bullet-tabs)
7704 (rst-debug-print-tabs, rst-debug-mark-found)
7705 (rst-shift-region-guts, rst-shift-region-right)
7706 (rst-shift-region-left, rst-use-char-classes)
7707 (rst-font-lock-keywords-function)
7708 (rst-font-lock-indentation-point)
7709 (rst-font-lock-find-unindented-line-begin)
7710 (rst-font-lock-find-unindented-line-end)
7711 (rst-font-lock-find-unindented-line)
7712 (rst-font-lock-adornment-point, rst-font-lock-level)
7713 (rst-adornment-level-alist): Remove functions and variables.
7715 (rst-compare-adornments, rst-get-adornment-match)
7716 (rst-suggest-new-adornment, rst-get-adornments-around)
7717 (rst-adornment-complete-p, rst-get-next-adornment)
7718 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7719 (rst-straighten-adornments): Standardize function names to
7720 use "adornment" instead of "decoration". Correct callers.
7721 Similar standardizing in many places.
7723 (rst-update-section, rst-adjust, rst-promote-region)
7724 (rst-enumerate-region, rst-bullet-list-region)
7725 (rst-repeat-last-character): Correct use of `interactive'.
7727 (rst-classify-adornment, rst-find-all-adornments)
7728 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7729 (rst-find-leftmost-column, rst-repeat-last-character):
7732 (rst-find-title-line, rst-reset-section-caches)
7733 (rst-get-adornments-around, rst-adjust-adornment-work)
7734 (rst-arabic-to-roman, rst-roman-to-arabic)
7735 (rst-insert-list-pos, rst-insert-list-new-item)
7736 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7739 (rst-all-sections, rst-section-hierarchy)
7740 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7743 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7744 configuration instead of only buffer. Change where necessary.
7746 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7747 (rst-shift-region, rst-adaptive-fill): New functions for
7748 indentation and filling.
7750 (rst-comment-line-break, rst-comment-indent)
7751 (rst-comment-insert-comment, rst-comment-region)
7752 (rst-uncomment-region): New functions for handling comments.
7754 (rst-compile): Quote shell arguments.
7756 (rst-compile-pdf-preview, rst-compile-slides-preview):
7757 Delete temporary files after use.
7759 2012-05-05 Glenn Morris <rgm@gnu.org>
7761 * calendar/cal-html.el: Optionally include holidays in the output.
7762 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7763 (cal-html-holidays): New option.
7764 (cal-html-css-default): Add holiday entry.
7765 (holiday-in-range): Autoload it.
7766 (cal-html-htmlify-entry): Add optional class argument.
7767 (cal-html-htmlify-list): Add optional holidays argument.
7768 (cal-html-insert-agenda-days): Include holidays in the output.
7769 (cal-html-one-month): Maybe include holidays.
7771 * calendar/holidays.el (holiday-in-range):
7772 Move here from cal-tex-list-holidays.
7773 * calendar/cal-tex.el (cal-tex-list-holidays):
7774 Make it an obsolete alias for holiday-in-range. Update all callers.
7776 2012-05-05 Chong Yidong <cyd@gnu.org>
7778 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7781 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7783 * files.el (file-auto-mode-skip): New var.
7784 (set-auto-mode-1): Use it.
7786 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * repeat.el: Use lexical-binding.
7789 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7790 (repeat-undo-count): Remove.
7792 * progmodes/octave-mod.el (octave-abbrev-start):
7793 * progmodes/f90.el (f90-abbrev-start):
7794 * face-remap.el (text-scale-adjust):
7795 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7797 * emacs-lisp/pcase.el (pcase--let*): New function.
7798 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7800 (pcase--split-pred): Be more clever about ruling out overlap between
7801 a predicate and some constant pattern.
7802 (pcase--q1): Use `null' instead of (eq foo nil).
7804 * subr.el (setq-local, defvar-local): New macros.
7805 (kbd): Redefine as an alias.
7806 (with-selected-window): Leave unrelated frames alone.
7807 (set-temporary-overlay-map): New function.
7809 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * subr.el (user-error): New function.
7812 * window.el (switch-to-buffer):
7813 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7814 (smerge-match-conflict):
7815 * simple.el (previous-matching-history-element)
7816 (next-matching-history-element, goto-history-element, undo-more)
7818 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7819 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7820 (next-file, tags-loop-scan, list-tags, complete-tag):
7821 * progmodes/compile.el (compilation-loop):
7822 * mouse.el (mouse-minibuffer-check):
7823 * man.el (Man-bgproc-sentinel, Man-goto-page):
7824 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7825 (Info-history-forward, Info-follow-reference, Info-menu)
7826 (Info-extract-menu-item, Info-extract-menu-counting)
7827 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7828 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7829 (Info-next-reference, Info-prev-reference, Info-index)
7830 (Info-index-next, Info-follow-nearest-node)
7831 (Info-copy-current-node-name):
7832 * imenu.el (imenu--make-index-alist)
7833 (imenu-default-create-index-function, imenu-add-to-menubar):
7834 * files.el (basic-save-buffer, recover-file):
7835 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7836 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7837 (checkdoc-message-text, checkdoc-defun):
7838 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7839 * cus-edit.el (customize-changed-options, customize-rogue)
7840 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7841 (custom-variable-mark-to-reset-standard)
7842 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7844 * completion.el (check-completion-length):
7845 * comint.el (comint-search-arg)
7846 (comint-previous-matching-input-string-position)
7847 (comint-previous-matching-input)
7848 (comint-replace-by-expanded-history-before-point, comint-send-input)
7849 (comint-copy-old-input, comint-backward-matching-input)
7850 (comint-goto-process-mark, comint-set-process-mark):
7851 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7852 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7854 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7856 * dabbrev.el (dabbrev--ignore-case-p): New function.
7857 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7860 * files.el (automount-dir-prefix): Mark as obsolete.
7862 2012-05-04 Glenn Morris <rgm@gnu.org>
7864 * patcomp.el, play/bruce.el: Move to obsolete/.
7866 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7868 Fix minor Y10k bugs.
7869 * arc-mode.el (archive-unixdate):
7870 * autoinsert.el (auto-insert-alist):
7871 * calc/calc-forms.el (math-this-year):
7872 * emacs-lisp/copyright.el (copyright-current-year)
7873 (copyright-update-year, copyright):
7874 * tar-mode.el (tar-clip-time-string):
7875 * time.el (display-time-update):
7876 Don't assume years have 4 digits.
7878 2012-05-04 Chong Yidong <cyd@gnu.org>
7880 * dos-w32.el (file-name-buffer-file-type-alist)
7881 (direct-print-region-use-command-dot-com):
7882 * ffap.el (ffap-menu-regexp):
7883 * find-file.el (ff-special-constructs):
7884 * follow.el (follow-debug):
7885 * forms.el (forms--debug):
7886 * iswitchb.el (iswitchb-all-frames):
7887 * ido.el (ido-all-frames):
7888 * emacs-lisp/timer.el (timer-max-repeats):
7889 * mail/feedmail.el (feedmail-mail-send-hook)
7890 (feedmail-mail-send-hook-queued):
7891 * mail/footnote.el (footnote-signature-separator):
7892 * mail/mailabbrev.el (mail-alias-separator-string)
7893 (mail-abbrev-mode-regexp):
7894 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7895 * progmodes/idlwave.el (idlwave-libinfo-file)
7896 (idlwave-default-completion-case-is-down)
7897 (idlwave-library-routines): Convert defvars to defcustoms.
7899 * mail/rmail.el (rmail-decode-mime-charset):
7900 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7901 (idlwave-shell-fix-inserted-breaks)
7902 (idlwave-shell-activate-alt-keybindings)
7903 (idlwave-shell-use-breakpoint-glyph):
7904 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7906 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7908 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7910 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7912 * progmodes/verilog-mode.el (font-lock-keywords):
7913 Fix mis-highligting auto. Reported by Craig Barner.
7914 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7915 defines from global name space. Reported by Dan Dever.
7916 (verilog-auto-reset, verilog-auto-reset-widths)
7917 (verilog-auto-tieoff): Support using unbased numbers for
7918 AUTORESET and AUTOTIEOFF.
7919 (verilog-submit-bug-report): Update variable list.
7920 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7921 parenthesis from not matching. Reported by Michael Rytting.
7922 (verilog-auto-template-lint): Fix hash error when linting modules
7923 with no used templates.
7924 (verilog-warn, verilog-warn-error)
7925 (verilog-warn-fatal): When non-interactive report multiple
7926 warnings before exiting. Suggested by Brad Dobbie.
7927 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7928 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7929 to report unused template errors. Reported by Brad Dobbie.
7930 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7931 nets, bug438. Reported by Vns Blore.
7932 (verilog-auto-inout-module, verilog-auto-reg)
7933 (verilog-read-decls, verilog-read-sub-decls-sig)
7934 (verilog-signals-edit-wire-reg, verilog-signals-with):
7935 Fix passing of Verilog data types in ANSI input/output ports
7936 such as "output logic" into the AUTOs. Special case "wire" and
7937 "reg" for backwards compatibility presuming Verilog 2001.
7938 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7939 (verilog-preprocess): Fix replication of preprocess output.
7940 Reported by Brad Dobbie.
7941 (verilog-auto-inst-interfaced-ports):
7942 Create verilog-auto-inst-interfaced-ports, bug429.
7943 Reported by Julian Gorfajn.
7944 (verilog-after-save-font-hook)
7945 (verilog-before-save-font-hook): New variable.
7946 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7947 (verilog-save-font-mods): Wrap disabling fontification, reported
7949 (verilog-do-indent, verilog-pretty-declarations-auto)
7950 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7951 Reported by Pierre-David Pfister.
7952 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7953 of class declarations, bug292. Reported by Kevin Heilman.
7954 (verilog-read-decls): Fix 'parameter type' not appearing in
7955 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7956 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7957 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7958 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7959 Reported by David Kravitz.
7961 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7963 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7964 assignment with tests in ifs and for loops.
7965 (verilog-extended-complete-re, verilog-complete-reg): Change so
7966 that DPI inport functions don't look like fuction declarations.
7967 (verilog-pretty-expr): Don't line up assignment
7968 operations to the test and increment in if and for loops
7969 (verilog-extended-complete-re, verilog-complete-reg): Change so
7970 that DPI inport functions don't look like fuction declarations.
7972 2012-05-03 Kenichi Handa <handa@m17n.org>
7974 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7975 decoding, and show a warning message without signaling an error
7978 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7980 * emacs-lisp/bytecomp.el
7981 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7982 since cconv.el might have introduced :fun-body, internal-make-closure,
7983 and friends for bytecomp to handle (bug#11391).
7984 * custom.el (defcustom): Avoid ((λ ..) ..).
7986 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7988 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7990 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7992 * notifications.el (dbus-debug):
7993 * term/linux.el (gpm-mouse-enable):
7994 * term/screen.el (xterm-register-default-colors): Declare.
7996 2012-05-02 Chong Yidong <cyd@gnu.org>
7998 * cus-start.el (gc-cons-percentage, exec-suffixes)
7999 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8000 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8001 (make-cursor-line-fully-visible, void-text-area-pointer)
8002 (font-list-limit): Add customization data.
8004 * allout.el (allout-exposure-change-functions)
8005 (allout-structure-added-functions)
8006 (allout-structure-deleted-functions)
8007 (allout-structure-shifted-functions): Rename abnormal hooks from
8008 *-hook, and convert to defcustoms.
8009 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8010 Convert to defcustoms.
8011 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8013 * allout-widgets.el: Hook callers changed.
8015 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8017 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8018 the yanked message in preference to the default value of
8019 buffer-file-coding-system.
8021 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8023 * window.el (display-buffer--action-function-custom-type):
8026 2012-05-02 Alan Mackenzie <acm@muc.de>
8028 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8030 2012-05-01 Glenn Morris <rgm@gnu.org>
8032 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8034 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8036 * cus-edit.el (custom-variable-documentation): Simplify with format.
8038 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8039 Stefan Monnier <monnier@iro.umontreal.ca>
8041 * simple.el (suggest-key-bindings, execute-extended-command):
8042 Move from keyboard.c.
8044 2012-05-01 Chong Yidong <cyd@gnu.org>
8046 * follow.el: Eliminate advice.
8047 (set-process-filter, process-filter, sit-for): Advice deleted.
8048 (follow-mode-off-hook): Obsolete hook removed.
8049 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8051 (follow-auto): Use a :set function.
8052 (follow-mode): Rewritten. Don't advise process filters.
8053 (follow-switch-to-current-buffer-all, follow-scroll-up)
8054 (follow-scroll-down): Assume follow-mode is bound.
8055 (follow-comint-scroll-to-bottom)
8056 (follow-align-compilation-windows): New functions.
8057 (follow--window-sorter): New function.
8058 (follow-all-followers): Use it to explicitly sort windows by their
8059 positions; don't make assumptions about next-window order.
8060 (follow-windows-start-end, follow-delete-other-windows-and-split)
8061 (follow-calc-win-start): Doc fix.
8062 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8063 vertical-motion unnecessarily.
8064 (follow-adjust-window): New function.
8065 (follow-post-command-hook): Use it.
8066 (follow-call-set-process-filter, follow-call-process-filter)
8067 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8068 (follow-stop-intercept-process-output, follow-generic-filter):
8070 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8071 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8072 New functions, replacing advice on scroll-bar-* commands.
8073 (follow-mwheel-scroll): New function (Bug#4112).
8075 * comint.el (comint-adjust-point): New function.
8076 (comint-postoutput-scroll-to-bottom): Use it.
8077 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8079 2012-05-01 Glenn Morris <rgm@gnu.org>
8081 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8082 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8083 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8084 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8085 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8086 Remove no-byte-compile setting.
8088 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8090 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8091 all-completions code to not return a number in the last cdr.
8093 2012-04-30 Leo Liu <sdl.web@gmail.com>
8095 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8098 2012-04-29 Chong Yidong <cyd@gnu.org>
8100 * follow.el (follow-calc-win-end): Rewrite to handle partial
8101 screen lines correctly (Bug#8390).
8102 (follow-avoid-tail-recenter): Minor cleanup.
8104 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8106 Avoid the obsolete `assoc' package.
8107 * speedbar.el (speedbar-refresh): Avoid adelete.
8108 (speedbar-file-lists): Simplify and avoid aput.
8109 * man.el (Man--sections, Man--refpages): New vars, replacing
8110 Man-sections-alist and Man-refpages-alist.
8111 (Man-build-section-alist, Man-build-references-alist):
8112 Use them; avoid aput.
8113 (Man--last-section, Man--last-refpage): New vars.
8114 (Man-follow-manual-reference): Use them.
8115 Use the `default' arg of completing-read.
8116 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8118 2012-04-27 Chong Yidong <cyd@gnu.org>
8120 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8122 * startup.el (x-apply-session-resources): New function.
8124 * term/ns-win.el (ns-initialize-window-system):
8125 * term/w32-win.el (w32-initialize-window-system):
8126 * term/x-win.el (x-initialize-window-system): Use it to properly
8127 set menu-bar-mode and other vars from X resources, even if the
8128 initial frame is not a window-system frame (Bug#2299).
8130 * subr.el (read-key): Avoid running filter function when setting
8131 up temporary tool bar entries (Bug#9922).
8133 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8135 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8138 2012-04-27 Chong Yidong <cyd@gnu.org>
8140 * select.el (xselect--encode-string): New function, split from
8141 xselect-convert-to-string.
8142 (xselect-convert-to-string): Use it.
8143 (xselect-convert-to-filename, xselect-convert-to-os)
8144 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8145 returned strings are properly encoded (Bug#11315).
8147 2012-04-27 Chong Yidong <cyd@gnu.org>
8149 * simple.el (delete-active-region): Move to killing custom group.
8151 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8153 * progmodes/which-func.el (which-func-current): Quote %
8154 characters for mode-line processing.
8156 2012-04-27 Chong Yidong <cyd@gnu.org>
8158 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8159 reaching eob (Bug#11286).
8161 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8163 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8164 (gdb): Make it buffer-local and init to zero.
8165 (gdb-control-commands-regexp): New variable.
8166 (gdb-send): Don't wrap in "-interpreter-exec console" if
8167 gdb-control-level is positive. Increment gdb-control-level
8168 whenever the command matches gdb-control-commands-regexp, and
8169 decrement it each time the command is "end". (Bug#11279)
8171 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8173 * window.el (adjust-window-trailing-edge, enlarge-window)
8174 (shrink-window, window-resize):
8175 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8176 windows (Bug#11276).
8178 2012-04-27 Chong Yidong <cyd@gnu.org>
8180 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8181 fix "missing prefix" warning. All callers changed.
8183 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * emacs-lisp/assoc.el: Move to obsolete/.
8187 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8189 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8191 * term/ns-win.el (ns-define-service):
8192 * progmodes/pascal.el (pascal-goto-defun):
8193 * progmodes/js.el (js--read-tab):
8194 * progmodes/etags.el (tags-lazy-completion-table):
8195 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8196 * emacs-lisp/ewoc.el (ewoc--wrap):
8197 * emacs-lisp/assoc.el (aput, adelete, amake):
8198 * doc-view.el (doc-view-convert-current-doc):
8199 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8201 2012-04-26 Chong Yidong <cyd@gnu.org>
8203 * image.el (image-type-from-buffer): Only return supported image
8206 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8207 value, for symmetry with diff-end-of-hunk.
8208 (diff-split-hunk, diff-find-source-location)
8209 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8210 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8211 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8212 compute the relevant hunk or file properly (Bug#6005).
8213 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8215 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * vc/vc.el: Replace lexical-let by lexical-binding.
8225 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8226 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8227 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8229 2012-04-26 Chong Yidong <cyd@gnu.org>
8231 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8232 (diff-mode-shared-map): Bind it to / and [remap undo].
8234 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8235 (ediff-window-setup-function): Use it as the default, to set up
8236 windows based on whether the current frame is graphical (Bug#2138).
8237 (ediff-choose-window-setup-function-automatically): Make obsolete.
8239 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8241 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * ffap.el: Remove old code for obsolete package.
8244 (ffap-complete-as-file-p): Remove.
8246 Use completion-table-with-quoting for comint and pcomplete.
8247 * comint.el (comint--unquote&requote-argument)
8248 (comint--unquote-argument, comint--requote-argument): New functions.
8249 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8250 (comint-quote-filename): Use regexp-opt-charset.
8251 (comint--common-suffix, comint--common-quoted-suffix)
8252 (comint--table-subvert): Remove.
8253 (comint-unquote-function, comint-requote-function): New vars.
8254 (comint--complete-file-name-data): Use them with
8255 completion-table-with-quoting.
8256 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8257 * pcomplete.el (pcomplete-arg-quote-list)
8258 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8259 (pcomplete-unquote-argument-function): Default to non-nil.
8260 (pcomplete-unquote-argument): Simplify.
8261 (pcomplete--common-quoted-suffix): Remove.
8262 (pcomplete-requote-argument-function): New var.
8263 (pcomplete--common-suffix): New function.
8264 (pcomplete-completions-at-point): Use completion-table-with-quoting
8265 and completion-table-subvert.
8267 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8268 (minibuffer--double-dollars): Preserve properties.
8269 (completion--sifn-requote): New function.
8270 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8272 * minibuffer.el: Add support for completion of quoted/escaped data.
8273 (completion-table-with-quoting, completion-table-subvert): New funs.
8274 (completion--twq-try, completion--twq-all): New functions.
8275 (completion--nth-completion): New function.
8276 (completion-try-completion, completion-all-completions): Use it.
8278 2012-04-25 Leo Liu <sdl.web@gmail.com>
8280 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8281 Use compilation-message if available to find real filename.
8283 2012-04-25 Chong Yidong <cyd@gnu.org>
8285 * vc/diff-mode.el (diff-setup-whitespace): New function.
8286 (diff-mode): Use it.
8288 * vc/diff.el (diff-sentinel):
8289 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8290 Whitespace mode variables based on diff style (Bug#8612).
8292 2012-04-25 Leo Liu <sdl.web@gmail.com>
8294 * progmodes/python.el (python-send-region): Add suffix .py to the
8297 * files.el (auto-mode-alist): Use javascript-mode instead.
8299 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8301 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8303 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8304 (soap-resolve-references-for-array-type): Hack to prevent self
8305 references, see Bug#9.
8306 (soap-parse-envelope): Report the contents of the 'detail' node
8307 when receiving a fault reply.
8308 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8310 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8311 (soap-inspect-simple-type): New function.
8313 * net/soap-client.el (soap-simple-type): New struct.
8314 (soap-default-xsd-types, soap-default-soapenc-types)
8315 (soap-decode-basic-type, soap-encode-basic-type):
8316 support unsignedInt and double basic types.
8317 (soap-resolve-references-for-simple-type)
8318 (soap-parse-simple-type, soap-encode-simple-type): New function.
8319 (soap-parse-schema): Parse xsd:simpleType declarations.
8321 * net/soap-client.el (soap-default-xsd-types)
8322 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8323 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8324 the local name of "soapenc:Array".
8325 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8326 decoding integer, byte and anyURI xsd types.
8328 2012-04-25 Chong Yidong <cyd@gnu.org>
8330 * cus-edit.el (custom-buffer-create-internal): Update header text.
8332 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8334 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8335 settings on 'system-type', not on 'window-system'. On MS-Windows,
8336 set interactive-mode on in GDB.
8338 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8340 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8341 (ruby-syntax-propertize-regexp): Remove.
8342 (ruby-syntax-propertize-function): Split regexp into chunks.
8343 Match following code directly.
8345 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8347 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8348 (ruby-syntax-propertize-regexp): New function.
8349 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8350 by a special keyword.
8352 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8353 (ruby-syntax-general-delimiters-goto-beg)
8354 (ruby-syntax-propertize-general-delimiters): New functions.
8355 (ruby-syntax-propertize-function): Use them to handle GDL.
8356 (ruby-font-lock-keywords): Move old handling of GDL...
8357 (ruby-font-lock-syntactic-keywords): .. to here.
8358 (ruby-calculate-indent): Adjust indentation for GDL.
8360 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8362 * notifications.el (top): Remove unneeded declarations.
8363 (notifications-specification-version): Change to "1.2".
8364 (notifications-interface, notifications-notify-method)
8365 (notifications-close-notification-method): Fix docstring.
8366 (notifications-get-capabilities-method): New defconst.
8367 (notifications-notify): Add :action-items, :resident and
8368 :transient hints. Change "image_data" to "image-data" and
8369 "image_path" to "image-path".
8370 (notifications-get-capabilities): New defun.
8372 2012-04-24 Leo Liu <sdl.web@gmail.com>
8374 * progmodes/python.el: Move hideshow setup to the end.
8376 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8378 * window.el (handle-select-window): Clear echo area since this is
8379 no more done by read_char (Bug#11304).
8381 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8383 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8384 and `/ M' to filter-derived-mode.
8385 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8386 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8387 (ibuffer-mark-by-mode): Use default rather than initial-input.
8388 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8390 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8392 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8393 (ibuffer-filter-by-derived-mode): New filter.
8394 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8396 2012-04-23 Andreas Politz <politza@fh-trier.de>
8398 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8400 2012-04-23 Chong Yidong <cyd@gnu.org>
8402 * cus-edit.el (customize-apropos, customize-apropos-options):
8403 Disable matching of non-option variables (Bug#11176).
8404 (customize-option, customize-option-other-window)
8405 (customize-changed-options): Doc fix.
8406 (customize-apropos-options, customize-apropos-faces)
8407 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8409 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8410 Fix word list splitting (Bug#11132).
8411 (apropos-symbol, apropos-keybinding, apropos-label)
8412 (apropos-property, apropos-function-button)
8413 (apropos-variable-button, apropos-misc-button): New faces.
8414 (apropos-symbol-face, apropos-keybinding-face)
8415 (apropos-label-face, apropos-property-face, apropos-match-face):
8416 Variables removed (Bug#8396).
8417 (apropos-library-button, apropos-format-plist, apropos-print)
8418 (apropos-print-doc, apropos-describe-plist): Callers changed.
8420 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8422 * net/xesam.el (xesam-mode-map): Use let-bound map in
8423 initialization. (Bug#11292)
8425 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8427 Preserve ispell session localwords when switching back to
8430 * textmodes/ispell.el (ispell-buffer-session-localwords):
8431 New buffer-local variable to hold buffer session localwords.
8432 (ispell-kill-ispell): Add option 'clear to delete session
8434 (ispell-command-loop, ispell-change-dictionary)
8435 (ispell-buffer-local-words): Preserve session localwords when
8438 * textmodes/flyspell.el (flyspell-process-localwords)
8439 (flyspell-do-correct): Preserve session localwords when needed.
8441 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8443 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8444 using obsolete `translation-table-for-input'.
8445 (ispell-word, ispell-process-line, ispell-complete-word):
8446 Use plain `insert' instead of removed `ispell-insert-word'.
8448 2012-04-22 Chong Yidong <cyd@gnu.org>
8450 * cus-edit.el (custom-variable-menu)
8451 (custom-variable-reset-saved, custom-face-menu)
8452 (custom-face-reset-saved): If there is no saved value, make the
8453 "reset-saved" operation bring back the default (Bug#9509).
8454 (custom-face-state): Properly detect themed faces.
8456 * faces.el (face-spec-set): Stop supporting deprecated form of
8459 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8461 Move functions from C to Lisp. Make non-blocking method calls
8462 the default. Implement further D-Bus standard interfaces.
8464 * net/dbus.el (dbus-message-internal): Declare function.
8465 Remove unneeded function declarations.
8466 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8467 (dbus-message-type-method-return, dbus-message-type-error)
8468 (dbus-message-type-signal): Declare variables. Remove local
8470 (dbus-interface-dbus, dbus-interface-peer)
8471 (dbus-interface-introspectable, dbus-interface-properties)
8472 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8474 (dbus-interface-objectmanager): New defconst.
8475 (dbus-call-method, dbus-call-method-asynchronously)
8476 (dbus-send-signal, dbus-method-return-internal)
8477 (dbus-method-error-internal, dbus-register-service)
8478 (dbus-register-signal, dbus-register-method): New defuns, moved
8480 (dbus-call-method-handler, dbus-setenv)
8481 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8483 (dbus-call-method-non-blocking): Make it an obsolete function.
8484 (dbus-unregister-object, dbus-unregister-service)
8485 (dbus-handle-event, dbus-register-property)
8486 (dbus-property-handler): Obey the new structure of
8487 `bus-registered-objects'.
8488 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8489 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8490 Use `dbus-call-method'.
8492 2012-04-22 Chong Yidong <cyd@gnu.org>
8494 * cus-edit.el (custom-commands, custom-reset-menu)
8495 (Custom-reset-standard): Tweak labels.
8496 (custom-reset-button-menu): Change default to t.
8497 (custom-buffer-create-internal): For the custom-reset-button-menu
8498 case, put the revert button first.
8499 (custom-group-subtitle): New face.
8500 (custom-group-value-create): Align docstring to a specific column.
8502 * wid-edit.el (widget-documentation-link-add): Don't handle
8503 indentation in this function.
8504 (widget-documentation-string-indent-to): New function.
8505 (widget-documentation-string-value-create): Use it.
8507 * autorevert.el (auto-revert):
8508 * epg-config.el (epg):
8509 * ibuffer.el (ibuffer):
8512 * eshell/eshell.el (eshell):
8513 * net/ange-ftp.el (ange-ftp):
8514 * progmodes/ebnf2ps.el (postscript):
8515 * progmodes/flymake.el (flymake):
8516 * progmodes/prolog.el (prolog):
8517 * progmodes/verilog-mode.el (verilog-mode):
8518 * progmodes/which-func.el (which-func):
8519 * term/xterm.el (xterm):
8520 * textmodes/picture.el (picture):
8521 * textmodes/tildify.el (tildify):
8522 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8523 customization buffers.
8525 2012-04-22 Alan Mackenzie <acm@muc.de>
8527 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8528 Adding a ) can hide the resulting (..) from searches. Fix it.
8529 Bound the backward search to the position of the existing (.
8531 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8533 * progmodes/verilog-mode.el (verilog-mode): Check whether
8534 which-func-modes is t before adding verilog-mode.
8535 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8537 2012-04-21 Leo Liu <sdl.web@gmail.com>
8539 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8541 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8543 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8544 filling of the last column of a table (Bug#5635).
8545 (woman-find-next-control-line): New arg, specifying an additional
8546 regexp component for the control line.
8547 (woman2-roff-buffer): Use it.
8548 (woman-break-table): New function.
8549 (woman2-TS): Use it.
8551 2012-04-21 Chong Yidong <cyd@gnu.org>
8553 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8554 (woman-horizontal-escapes, woman-negative-vertical-space)
8555 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8556 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8558 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8560 * minibuffer.el (completion-file-name-table): Complete user names.
8562 2012-04-20 Leo Liu <sdl.web@gmail.com>
8564 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8567 2012-04-20 Chong Yidong <cyd@gnu.org>
8569 * server.el (server-execute): Respect initial-buffer-choice if it
8570 is a string and there are no files to open (Bug#2825).
8571 (server-create-window-system-frame, server-create-tty-frame):
8572 Don't switch buffers here.
8573 (server-process-filter): Only try to open a window system frame if
8574 compiled with graphical support (Bug#8314).
8576 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8578 * battery.el (battery-echo-area-format): Display remaining time
8579 for sysfs backend too (Bug#11269).
8580 (battery-linux-sysfs): Fix conditional for the charge.
8582 2012-04-20 Chong Yidong <cyd@gnu.org>
8584 * progmodes/gdb-mi.el (gdb): Revert previous change.
8585 (gdb-inferior-io--init-proc): New function.
8586 (gdb-init-1): Use it.
8587 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8588 responsible for allocating a new pty and hooking it to gdb when
8589 the old pty gets an EIO due to process exit.
8590 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8591 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8592 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8594 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8596 * window.el (window-min-size, window-sizable, window-min-delta)
8597 (window-max-delta, window--resizable, window-resizable)
8598 (window-total-size, window-full-height-p, window-full-width-p)
8599 (window-in-direction, window--resize-mini-window, window-resize)
8600 (window--resize-child-windows-normal)
8601 (window--resize-child-windows, window--resize-siblings)
8602 (window--resize-this-window, adjust-window-trailing-edge)
8603 (enlarge-window, shrink-window): Doc fixes.
8605 2012-04-20 Chong Yidong <cyd@gnu.org>
8607 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8608 New function to call delete-process on the gdb-inferior buffer's pty.
8609 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8610 pty process (Bug#11273).
8611 (gdb-update): New arg to suppress talking to the gdb process.
8612 (gdb-done-or-error): Use it.
8613 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8614 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8615 sentinel not being called.
8617 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8619 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8621 2012-04-20 Glenn Morris <rgm@gnu.org>
8623 * net/network-stream.el (open-network-stream): Doc fix.
8625 2012-04-20 Chong Yidong <cyd@gnu.org>
8627 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8629 2012-04-20 Alan Mackenzie <acm@muc.de>
8631 Ensure searching for keywords is case sensitive.
8633 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8634 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8635 (c-defun-name, c-mark-function, c-cpp-define-name)
8636 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8637 (c-context-line-break): Bind case-fold-search to nil.
8639 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8640 Bind case-fold-search to nil.
8642 2012-04-20 Chong Yidong <cyd@gnu.org>
8644 * mail/sendmail.el (mail-bury): Call return action with the right
8645 Rmail buffer (Bug#11242).
8647 * server.el (server-process-filter): Handle corner case where both
8648 tty and nowait options are present (Bug#11102).
8650 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8652 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8653 (top level): Put into the executable the ident-style '$Id:' tag on
8656 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8658 * electric.el (electric-indent-post-self-insert-function): Check that
8659 electric-indent-mode is enabled in current buffer.
8661 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8663 * imenu.el (imenu-progress-message): Restore; it is "used" in
8664 erc/erc-imenu.el and net/snmp-mode.el.
8666 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8668 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8669 (mouse-avoidance-nudge-mouse): Remove unused binding.
8671 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8673 * descr-text.el (describe-char):
8674 * progmodes/python.el (python-describe-symbol):
8675 Don't call `toggle-read-only', set `buffer-read-only'.
8677 * imenu.el (imenu-default-goto-function): Mark unused args.
8678 (imenu-progress-message): Remove obsolete macro; all callers changed.
8680 * subr.el (keymap-canonicalize): Remove unused binding.
8681 (read-passwd): Mark unused arg.
8683 * tutorial.el (tutorial--display-changes): Remove unused binding.
8684 (tutorial--save-tutorial-to): Remove unused variable.
8686 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8687 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8688 (package-generate-autoloads, package-menu--generate)
8689 (package-menu--find-upgrades): Remove unused bindings.
8691 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8692 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8693 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8694 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8695 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8696 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8697 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8698 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8699 (cua-delete-char-rectangle): Mark unused args.
8700 (cua-align-rectangle): Remove unused binding.
8702 * mail/rmail.el (compilation--message->loc)
8703 (epa--find-coding-system-for-mime-charset): Declare.
8705 * net/dbus.el (dbus-register-service): Declare.
8706 (dbus-name-owner-changed-handler): Remove unused binding.
8708 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8709 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8710 (nxml-scan-backward-within): Mark unused arg.
8711 (nxml-dynamic-markup-word): Remove unused binding.
8713 * mouse.el (mouse-menu-major-mode-map):
8714 * emacs-lisp/authors.el (authors-scan-change-log)
8715 (authors-add-to-author-list):
8716 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8717 * emacs-lisp/smie.el (smie-auto-fill):
8718 * mail/sendmail.el (mail-bury):
8719 * mail/unrmail.el (unrmail):
8720 * net/tls.el (open-tls-stream):
8721 * textmodes/picture.el (picture-mouse-set-point):
8722 Remove unused bindings.
8724 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8726 * net/tramp.el (tramp-action-password): Let-bind
8727 `enable-recursive-minibuffers' to t.
8729 2012-04-18 Sam Steingold <sds@gnu.org>
8731 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8732 instead of 'string to accommodate values like [f11].
8733 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8734 * progmodes/gdb-mi.el: Likewise.
8736 2012-04-18 Leo Liu <sdl.web@gmail.com>
8738 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8740 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8743 2012-04-18 Chong Yidong <cyd@gnu.org>
8745 * simple.el (line-move): Use forward-line if in batch mode
8748 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8750 * files.el (after-find-file): Do not try to add a final newline if
8751 the buffer is read-only (Bug#11156).
8753 2012-04-17 Richard Stallman <rms@gnu.org>
8755 * mail/rmail.el (rmail-start-mail):
8756 Pass (rmail-mail-return...) for the return-action.
8757 Pass (rmail-yank-current-message...) for the yank-action.
8758 (rmail-yank-current-message): New function.
8759 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8760 (rmail-reply): Likewise.
8761 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8763 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8764 buffer, not the last. Reject temp buffers. Use the rmail-mode
8767 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8769 * server.el (server-ensure-safe-dir): Simplify.
8771 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8773 * emacs-lisp/smie.el: Provide smarter auto-filling.
8774 (smie-auto-fill): New function.
8775 (smie-setup): Use it.
8777 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8779 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8781 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8782 (comment-indent): Use it.
8784 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8786 * ses.el: The overall change is to add cell renaming, that is
8787 setting fancy names for cell symbols other than name matching
8788 "\\`[A-Z]+[0-9]+\\'" regexp .
8789 (ses-localvars): Add ses--renamed-cell-symb-list.
8790 (ses-create-cell-variable): New defun.
8791 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8792 (ses-relocate-formula): Relocate formulas only for cells the
8793 symbols of which are not renamed, i.e. symbols whose names do not
8794 match regexp "\\`[A-Z]+[0-9]+\\'".
8795 (ses-relocate-all): Relocate values only for cells the symbols of
8796 which are not renamed.
8797 (ses-load): Create cells variables as the (ses-cell ...) are read,
8798 in order to check row col consistency with cell symbol name only
8799 for cells that are not renamed.
8800 (ses-replace-name-in-formula): New defun.
8801 (ses-rename-cell): New defun.
8803 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8805 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8806 New option (bug#11118).
8807 (perl-calculate-indent): Respect it.
8809 2012-04-17 Glenn Morris <rgm@gnu.org>
8811 * dired-aux.el (dired-mark-read-string): Doc fix.
8813 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8815 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8816 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8818 2012-04-17 Glenn Morris <rgm@gnu.org>
8820 * mouse.el (mouse-drag-track):
8821 * speedbar.el (speedbar-frame-mode):
8822 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8824 2012-04-16 Leo Liu <sdl.web@gmail.com>
8826 * progmodes/python.el: Trivial cleanup.
8828 2012-04-16 Glenn Morris <rgm@gnu.org>
8830 * vc/vc.el (vc-string-prefix-p):
8831 * vc/pcvs-util.el (cvs-string-prefix-p):
8832 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8833 * mpc.el (mpc-string-prefix-p):
8834 Make all of these into obsolete aliases for string-prefix-p.
8836 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8838 * textmodes/two-column.el: Move custom options to the start.
8839 (frame-width): Remove compat definition.
8840 (2C-associate-buffer, 2C-dissociate):
8841 Use with-current-buffer rather than save-excursion.
8842 (2C-dissociate): Force a mode-line update.
8843 (2C-autoscroll): Use ignore-errors.
8845 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8848 * emacs-lisp/cl-extra.el (*random-state*):
8849 Remove unnecessary declaration.
8851 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8853 * play/cookie1.el (cookie-snarf):
8854 Give an explicit error if input file cannot be read.
8856 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8858 * progmodes/perl-mode.el (c-macro-expand):
8859 Remove unnecessary autoload (it is in loaddefs.el).
8861 * textmodes/picture.el (picture-desired-column)
8862 (picture-update-desired-column): Convert comments to doc-strings.
8863 (picture-substitute): Remove function.
8864 (picture-mode-map): Initialize in the defvar.
8866 * woman.el: Remove eval-after-load for tar-mode.
8867 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8868 (woman-tar-extract-file): Autoload it.
8870 * frame.el (automatic-hscrolling): Make this alias obsolete.
8872 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8874 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8875 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8876 (ispell-dictionary-base-alist): Revert to original XEmacs
8877 friendly version for default. [:alpha:] will be added in
8878 `ispell-set-spellchecker-params' if needed.
8880 2012-04-16 Chong Yidong <cyd@gnu.org>
8882 * image.el (imagemagick--file-regexp): New variable.
8883 (imagemagick-register-types): Use it.
8884 (imagemagick-types-inhibit): Add :set function. Allow new value
8885 of t to inhibit all types.
8887 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8888 so we can preload it.
8890 * loadup.el (fboundp): Preload regexp-opt, needed by
8891 imagemagick-register-types.
8893 2012-04-15 Chong Yidong <cyd@gnu.org>
8895 * frame.el (scrolling): Remove nearly unused customization group.
8897 * scroll-all.el (scroll-all-mode): Move to windows group.
8899 2012-04-15 Chong Yidong <cyd@gnu.org>
8901 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8903 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8905 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8906 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8908 2012-04-15 Glenn Morris <rgm@gnu.org>
8910 * simple.el (process-file-side-effects): Doc fix.
8912 2012-04-15 Glenn Morris <rgm@gnu.org>
8914 * international/mule-cmds.el (set-language-environment): Doc fix.
8916 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8918 * server.el (server-auth-key, server-generate-key): Doc fixes.
8919 (server-get-auth-key): Doc fix. Use `string-match-p'.
8920 (server-start): Reflow docstring.
8922 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8924 * server.el (server-generate-key): `called-interactively-p'
8925 requires a parameter.
8927 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8929 * server.el (server-auth-key): New variable.
8930 (server-generate-key, server-get-auth-key): New function.
8931 (server-start): Use the new variable and functions to allow
8932 setting a permanent server key (bug#9423).
8934 2012-04-14 Leo Liu <sdl.web@gmail.com>
8936 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8938 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8941 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8942 Emacs uses American spelling.
8944 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8946 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8947 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8948 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8949 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8951 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * progmodes/which-func.el (which-func-modes): Change default.
8955 2012-04-14 Kim F. Storm <storm@cua.dk>
8957 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8958 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8960 2012-04-14 Chong Yidong <cyd@gnu.org>
8962 * custom.el (custom-theme-set-variables): Doc fix.
8964 2012-04-14 Glenn Morris <rgm@gnu.org>
8966 * international/mule.el (set-auto-coding-for-load): Doc fix.
8968 2012-04-14 Alan Mackenzie <acm@muc.de>
8970 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8971 imenu work again for Objective C Mode. Correct the *-index values,
8972 these having been disturbed by a previous change in 2011-08.
8974 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8975 Correct two search limits.
8977 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8981 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8983 * international/characters.el: Fix sorting.
8985 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8987 * international/characters.el: Add more missing Latin case pairs.
8989 2012-04-14 Glenn Morris <rgm@gnu.org>
8991 * files.el (dir-locals-set-class-variables): Doc fix.
8993 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8995 * international/characters.el: Add set-case-syntax-pair call for
8996 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8997 counterpart. (Bug#11209)
8999 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9001 2012-04-14 Glenn Morris <rgm@gnu.org>
9003 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9005 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9007 * textmodes/ispell.el (ispell-dictionary-base-alist):
9008 Add data for Hebrew.
9010 2012-04-14 Chong Yidong <cyd@gnu.org>
9012 * net/rcirc.el (rcirc-cmd-quit):
9013 Revert 2012-03-18 change (Bug#11192).
9015 2012-04-14 Glenn Morris <rgm@gnu.org>
9017 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9019 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9021 * minibuffer.el (completion-in-region-mode-map):
9022 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9024 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9026 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9028 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9030 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9031 to allow `C-M-f' and `C-M-b' to move to the nearest path
9032 separator (bug#9511).
9034 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9036 * avoid.el: Require cl when compiling. And also move the
9037 `provide' to the end.
9039 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9041 * avoid.el (mouse-avoidance-banish-position): New variable.
9042 (mouse-avoidance-banish-destination): Use it (bug#10165).
9044 2012-04-13 Leo Liu <sdl.web@gmail.com>
9046 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9048 2012-04-13 Ken Brown <kbrown@cornell.edu>
9050 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9051 this is no longer needed now that cygstart understands file:// URLs.
9052 (browse-url-filename-alist): For the same reason, don't modify
9053 file:// URLs on Cygwin.
9055 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9057 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9058 the region on shift if the binding is already shifted (bug#11221).
9060 2012-04-12 Glenn Morris <rgm@gnu.org>
9062 * mail/mailpost.el: Move to obsolete/.
9064 2012-04-12 Drew Adams <drew.adams@oracle.com>
9066 * imenu.el (imenu--generic-function): Ignore invisible definitions
9069 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9071 * hexl.el (hexl-bits): New variable.
9072 (hexl-options): Mention the variable in the doc string.
9073 (hexl-rulerise, hexl-line-displen): New functions.
9074 (hexl-mode): Mention the new variable.
9075 (hexl-mode, hexl-current-address, hexl-current-address):
9077 (hexl-ascii-start-column): New function.
9078 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9079 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9081 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9083 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9084 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9085 the encoding, as expected by hunspell.
9087 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * battery.el (battery--linux-sysfs-regexp): New const.
9090 (battery-status-function): Use it. Remove yeeloong special case.
9091 (battery-yeeloong-sysfs): Remove.
9092 (battery-echo-area-format): Remove yeeloong special case.
9094 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9097 Reported by Noah Friedman.
9099 * subr.el (read-passwd): Use read-string.
9101 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103 * vcursor.el (vcursor-move): Increase the priority of the overlay
9106 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9108 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9109 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9111 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9113 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9114 define-minor-mode (bug#10760).
9116 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9118 * progmodes/grep.el (rgrep): Tweak the find command line so
9119 that directories matching `grep-find-ignored-files' won't be
9122 2012-04-11 Chong Yidong <cyd@gnu.org>
9124 * startup.el (command-line): Remove support for long-obsolete
9125 variable font-lock-face-attributes.
9127 2012-04-11 Glenn Morris <rgm@gnu.org>
9129 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9131 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * window.el (window--state-get-1): Obey window-point-insertion-type.
9135 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9137 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9138 to previous function when point is on the first character of a
9139 function. Take care of that in `narrow-to-defun' (bug#6157).
9141 2012-04-11 Glenn Morris <rgm@gnu.org>
9143 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9144 not just file-errors.
9146 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9147 (vc-bzr-sha1): Use internal sha1.
9149 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9153 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9155 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9156 that start in the middle of the line (bug#10496).
9158 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9160 * battery.el (battery-linux-proc-acpi): Only one battery is
9161 discharged at a time, but that seems to confuse battery.el when
9162 computing `rate-type' for the battery not being discharged
9165 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9169 * international/quail.el: Use dolist and simplify.
9170 (quail-define-package, quail-update-keyboard-layout)
9171 (quail-define-rules): Use dolist.
9172 (quail-insert-kbd-layout, quail-get-translation): CSE.
9174 * tmm.el: Use dolist, remove left over hook.
9175 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9177 (calendar-load-hook): Don't mess with it.
9179 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9180 Use derived-mode-p. Run the diff asynchronously.
9182 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9184 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9186 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9188 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9189 (list-dynamic-libraries--loaded): New function.
9190 (list-dynamic-libraries--refresh): Use it.
9192 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9194 * progmodes/python.el (python-fill-paragraph):
9195 Make python-fill-region in a multiline string work when font-lock is
9196 disabled (bug#7018).
9198 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9200 * language/european.el (cp775): Add oem/legacy (en)coding on
9201 DOS/MS Windows for the Baltic languages. There are still plenty
9202 of texts written in this encoding/codepage (bug#6519).
9204 2012-04-10 Glenn Morris <rgm@gnu.org>
9206 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9207 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9209 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9211 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9212 next-line "n" and previous-line "p" in order to make recentf more
9213 consistent with ibuffer, dired or org-mode (bug#9387).
9215 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9217 * image.el (put-image): Return the overlay created instead of the
9218 optional input string (bug#7834). Note that this may break code
9219 that is (for some reason or other) depending on `put-image'
9220 returning the string.
9222 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9224 * simple.el (zap-to-char): Allow zapping using input methods
9227 * textmodes/fill.el (fill-region): Leave point and mark where they
9228 were before filling (bug#5399).
9230 2012-04-09 Glenn Morris <rgm@gnu.org>
9232 * version.el (emacs-bzr-get-version):
9233 Handle lightweight checkouts of local branches.
9235 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9237 * international/characters.el: Recover lost case pairs. (Bug#11209)
9239 2012-04-09 Chong Yidong <cyd@gnu.org>
9241 * custom.el (custom-variable-p): Return nil for non-symbol
9242 arguments instead of signaling an error.
9243 (user-variable-p): Obsolete alias for custom-variable-p.
9245 * apropos.el (apropos-variable):
9246 * files-x.el (read-file-local-variable):
9247 * simple.el (set-variable):
9248 * woman.el (woman-mini-help):
9249 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9251 2012-04-09 Glenn Morris <rgm@gnu.org>
9253 * startup.el (normal-top-level): Don't look for leim-list.el
9254 in places where it will not be found. (Bug#910)
9256 * international/mule-cmds.el (set-default-coding-systems):
9257 * files.el (normal-mode):
9258 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9259 This function was removed with ucs-tables.el in 2008.
9261 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9263 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9264 ispell-encoding8-command to "-i", without a trailing space.
9265 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9266 separate command-line arguments, to specify the encoding, since
9267 that's how hunspell expects it.
9269 2012-04-08 Glenn Morris <rgm@gnu.org>
9271 * loadup.el: Load bindings before cus-start.
9272 This reduces somewhat the number of "rogue" settings in emacs -Q.
9274 2012-04-07 Glenn Morris <rgm@gnu.org>
9276 * version.el (emacs-bzr-get-version): New function.
9277 (emacs-bzr-version): New variable.
9278 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9279 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9281 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9283 * international/uni-bidi.el, international/uni-category.el:
9284 * international/uni-combining.el, international/uni-decimal.el:
9285 * international/uni-decomposition.el, international/uni-digit.el:
9286 * international/uni-lowercase.el, international/uni-mirrored.el:
9287 * international/uni-name.el, international/uni-numeric.el:
9288 * international/uni-titlecase.el, international/uni-uppercase.el:
9289 Update for Unicode 6.1.
9291 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9293 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9295 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297 * window.el (shrink-window): Mention the `window-min-height'
9298 variable in the doc string.
9300 2012-04-05 Bastien Guerry <bzg@altern.org>
9302 * color.el (color-lighten-name): Fix typo.
9304 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * server.el (server--on-display-p): New function.
9307 (server--on-display-p): Use it.
9309 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9311 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9314 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9316 * comint.el (comint--common-quoted-suffix): Check string boundary
9317 before comparing (bug#11158).
9318 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9320 2012-04-04 Chong Yidong <cyd@gnu.org>
9322 * minibuffer.el (completion-extra-properties): Doc fix.
9324 * subr.el (delayed-warnings-hook): Doc fix.
9326 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9328 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9329 selection (Bug#11159).
9330 (epa-insert-keys): Inform that the default public key will be
9331 exported if no key is selected.
9333 2012-04-04 Richard Stallman <rms@gnu.org>
9335 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9337 2012-04-03 Chong Yidong <cyd@gnu.org>
9339 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9340 mail-insert-file, not its obsolete alias mail-attach-file.
9342 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9344 * notifications.el (notifications-notify): Fix docstring.
9346 2012-04-02 Glenn Morris <rgm@gnu.org>
9348 * emacs-lisp/authors.el (authors-aliases): Another addition.
9350 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9352 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9353 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9354 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9356 2012-04-01 Chong Yidong <cyd@gnu.org>
9358 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9359 Handle root directory properly.
9360 (copy-directory): Caller changed.
9362 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9363 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9365 2012-03-31 Glenn Morris <rgm@gnu.org>
9367 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9369 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9371 * calendar/calendar.el (calendar-window-list)
9372 (calendar-hide-window): Restore. (Bug#11140)
9373 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9375 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9377 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9379 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9380 Check if file is a symlink (Bug#10489).
9382 * files.el (copy-directory): Likewise.
9384 2012-03-30 Chong Yidong <cyd@gnu.org>
9386 * image.el (imagemagick-types-inhibit)
9387 (imagemagick-register-types): Doc fix.
9389 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9391 * textmodes/ispell.el (ispell-get-extended-character-mode):
9392 Disable extended-char-mode for hunspell. hunspell does not support it
9393 and treats ~word as ordinary words in pipe mode.
9395 2012-03-30 Glenn Morris <rgm@gnu.org>
9397 * tutorial.el (help-with-tutorial): Ensure local variables don't
9398 happen to make the buffer read-only. (Bug#11127)
9400 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9402 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9403 (perl-calculate-indent): Return `noindent' in strings.
9405 2012-03-28 Sam Steingold <sds@gnu.org>
9407 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9408 instead of the broken adhockery which does not prevent calendar
9409 buffers from being displayed at random after exit.
9410 (calendar-window-list, calendar-hide-window): Remove the broken
9413 2012-03-28 Glenn Morris <rgm@gnu.org>
9415 * replace.el (query-replace-map): Doc fix.
9417 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9419 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9420 contents. (Bug#11109)
9422 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9424 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9426 (avl-tree--check, avl-tree--check-node): New funs.
9428 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9430 * window.el (switch-to-visible-buffer): New option.
9431 (switch-to-prev-buffer, switch-to-next-buffer):
9432 Observe switch-to-visible-buffer. Make sure that checking for a window
9433 showing a buffer already is done on the same frame.
9435 2012-03-27 Glenn Morris <rgm@gnu.org>
9437 * startup.el (mail-host-address): Doc fix.
9439 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9444 2012-03-26 Ami Fischman <ami@fischman.org>
9446 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9448 2012-03-26 Glenn Morris <rgm@gnu.org>
9450 * files.el (save-buffers-kill-emacs): Doc fix.
9452 * startup.el (normal-top-level, command-line, command-line-1):
9453 Give them doc strings.
9455 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9457 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9458 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9460 2012-03-25 Chong Yidong <cyd@gnu.org>
9462 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9463 theme if it was previously enabled before (Bug#11031).
9465 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9466 spec with custom-face-get-current-spec if its :shown-value is not
9467 determined yet (Bug#9337).
9468 (customize-create-theme, custom-theme-revert): Doc fixes.
9470 * button.el (button-at): Minor addition to docstring.
9472 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9474 * vc/vc.el (vc-merge): Fix a prompt.
9476 2012-03-24 Chong Yidong <cyd@gnu.org>
9478 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9481 * button.el (button-at): Minor addition to docstring.
9483 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * newcomment.el (comment-choose-indent): No space after BOL.
9487 2012-03-22 Sam Steingold <sds@gnu.org>
9489 * window.el (switch-to-prev-buffer): Revert last patch because the
9490 bug turned out to be an advertised feature (Elisp manual 28.14).
9492 2012-03-22 Glenn Morris <rgm@gnu.org>
9494 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9495 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9497 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9499 * net/network-stream.el (network-stream-open-starttls): Make error
9500 message under Windows be less misleading.
9502 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9504 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9505 understands (bug#9942).
9507 2012-03-22 Chong Yidong <cyd@gnu.org>
9509 * simple.el (end-of-visible-line): Handle return value of
9510 next-single-property-change properly (Bug#9371).
9512 2012-03-22 Kenichi Handa <handa@m17n.org>
9514 * international/quail.el (quail-insert-kbd-layout): Fix previous
9515 change. To avoid unwanted bidi reordering, use
9516 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9518 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9520 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9521 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9522 (ruby-beginning-of-indent): Be more careful with the difference
9523 between word-boundary and symbol boundary.
9524 (ruby-mode-syntax-table): Make : a symbol constituent.
9526 2012-03-21 Andreas Politz <politza@fh-trier.de>
9528 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9530 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * progmodes/etags.el (tags-completion-at-point-function):
9535 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9537 2012-03-21 Sam Steingold <sds@gnu.org>
9539 * progmodes/etags.el (tags-completion-at-point-function):
9540 Avoid the error when point is inside the pattern.
9542 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9544 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9547 2012-03-21 Drew Adams <drew.adams@oracle.com>
9549 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9551 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9553 * ido.el (ido-set-current-directory, ido-read-internal)
9554 (ido-choose-completion-string, ido-completion-help): Handle nil
9555 value of ido-completion-buffer (Bug#11008).
9557 2012-03-21 Sam Steingold <sds@gnu.org>
9559 * window.el (switch-to-prev-buffer): Do not switch to a visible
9560 window previous buffer, just like with the frame previous buffers.
9562 2012-03-21 Chong Yidong <cyd@gnu.org>
9564 * faces.el (make-face, make-empty-face, copy-face):
9565 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9568 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9571 (widget-complete): Remove broken use of it.
9573 2012-03-20 Chong Yidong <cyd@gnu.org>
9575 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9576 Use string-width and truncate-string-width to handle arbitrary
9579 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9581 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9582 to draw rectangles, not squares. (Regression introduced by revno
9583 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9585 2012-03-18 Chong Yidong <cyd@gnu.org>
9587 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9588 it is not yet defined (for temacs).
9590 2012-03-18 Leo Liu <sdl.web@gmail.com>
9592 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9595 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9597 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9598 (ispell-choices-win-default-height, ispell-silently-savep)
9599 (ispell-dictionary-alist, ispell-encoding8-command)
9600 (ispell-check-version, ispell-aspell-find-dictionary)
9601 (ispell-valid-dictionary-list, ispell-words-keyword)
9602 (ispell-get-word, ispell-internal-change-dictionary)
9603 (ispell-region, ispell-skip-region-list)
9604 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9605 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9606 (ispell-message-text-end, ispell-message)
9607 (ispell-buffer-local-parsing): Doc fix.
9609 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9611 * htmlfontify.el: Add support for code block fontification for ODT
9613 (hfy-optimisations): Define new option
9615 (hfy-fontify-buffer): Honor above setting.
9616 (hfy-begin-span, hfy-end-span): New routines factored out form
9617 `hfy-fontify-buffer'.
9618 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9619 that permit insertion of custom tags.
9620 (hfy-fontify-buffer): Use above handlers.
9621 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9622 (hfy-face-to-css): Re-defined to be a variable.
9623 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9624 over multiple runs. This is made possible by having the caller let
9625 bind a special variable `hfy-user-sheet-assoc'.
9626 (htmlfontify-string): New defun.
9627 (hfy-compile-face-map): Make sure that the last char in the
9628 buffer is correctly fontified.
9629 (hfy-face-resolve-face): Whitespace only change.
9631 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9633 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9636 2012-03-16 Leo Liu <sdl.web@gmail.com>
9638 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9640 2012-03-16 Alan Mackenzie <acm@muc.de>
9642 Further optimise the handling of large macros.
9644 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9645 limit to a call of `c-literal-limits'.
9646 (c-determine-+ve-limit): New function.
9647 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9648 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9649 In CASE 5B, restrict a search limit to 500.
9650 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9652 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9653 Restrict macro bounds to +-500 from after-change's BEG END.
9655 2012-03-16 Leo Liu <sdl.web@gmail.com>
9657 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9659 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9661 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9662 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9664 2012-03-16 Glenn Morris <rgm@gnu.org>
9666 * view.el (view-buffer, view-buffer-other-window)
9667 (view-buffer-other-frame): Doc fixes re special mode-class.
9669 * subr.el (eval-after-load): If named feature is provided not from
9670 a file, run after-load forms. (Bug#10946)
9672 * calendar/calendar.el (calendar-insert-at-column):
9673 Handle non-unit-width characters a bit better. (Bug#10978)
9675 2012-03-15 Chong Yidong <cyd@gnu.org>
9677 * emacs-lisp/ring.el (ring-extend): New function.
9678 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9680 * comint.el (comint-read-input-ring)
9681 (comint-add-to-input-history): Grow comint-input-ring lazily.
9683 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9685 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9686 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9688 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9689 (imenu-add-to-menubar): Don't add a redundant index.
9690 (imenu-update-menubar): Handle a dynamically composed keymap.
9692 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9694 * mail/sendmail.el (mail-encode-header):
9695 Bind rfc2047-encode-encoded-words to nil.
9697 2012-03-13 Glenn Morris <rgm@gnu.org>
9699 * calendar/calendar.el (calendar-string-spread):
9700 Handle non-unit-width characters a bit better. (Bug#10978)
9702 2012-03-13 Leo Liu <sdl.web@gmail.com>
9704 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9705 directory and file as argument (Bug#10822).
9707 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9709 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9710 For dynamically generated code, follow $PC.
9711 (gdb-disassembly-handler-custom): Handle no function name case.
9713 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9715 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9716 * emulation/ws-mode.el (ws-query-replace):
9717 * sort.el (sort-regexp-fields):
9718 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9720 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * dabbrev.el: Fix cycle completion order (bug#10963).
9723 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9724 (dabbrev-completion): Don't use an obarray; provide
9725 a cycle-sort-function.
9727 2012-03-12 Leo Liu <sdl.web@gmail.com>
9729 * simple.el (kill-new): Use equal-including-properties for comparison.
9730 (kill-do-not-save-duplicates): Doc fix.
9732 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9734 * dabbrev.el: Fix cycle completion (bug#10963).
9735 Use lexical binding and wrap to 80 columns.
9736 (dabbrev-completion): Delay computing the list of completions.
9738 2012-03-12 Kenichi Handa <handa@m17n.org>
9740 * international/quail.el (quail-insert-kbd-layout): Surround each
9741 row by LRO and PDF instead of inserting many LRMs. Pad the left
9742 and right of each non-spacing marks. Insert invisible space
9743 between lower and upper characters to prevent composition.
9745 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9747 * minibuffer.el (minibuffer-complete): Don't get confused when the
9748 function is run twice via different commands (bug#10958).
9749 (complete-with-action): Fix docstring.
9751 2012-03-12 Chong Yidong <cyd@gnu.org>
9753 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9754 (nxml-completion-at-point-function): New function.
9755 (nxml-mode): Use it.
9756 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9758 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9759 Load generated autoloads file before byte compiling (Bug#10970).
9760 (package--make-autoloads-and-compile): New helper fun.
9762 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9764 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9766 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9768 * autorevert.el (auto-revert-handler): Ensure, that
9769 file-readable-p is applied only for local files or in
9770 auto-revert-tail-mode.
9772 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9774 * server.el (server-eval-at): Handle non-tcp connections.
9775 Decode result string.
9777 * server.el (server-msg-size): New constant.
9778 (server-reply-print): New function.
9779 (server-eval-and-print): Use it.
9780 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9783 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9785 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9788 2012-03-11 Chong Yidong <cyd@gnu.org>
9790 * simple.el (goto-line): Doc fix (Bug#9938).
9792 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9794 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9795 when finished (Bug#10963).
9797 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9799 * window.el (split-window-below): Fix bug in case where
9800 split-window-keep-point is nil (Bug#10971).
9802 2012-03-11 Juri Linkov <juri@jurta.org>
9804 * replace.el (replace-highlight): Set isearch-word to nil
9805 unconditionally. (Bug#10887)
9807 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9809 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9810 mairix-replace-illegal-chars; all callers changed. Don't remove
9811 ^, ~, and = characters: they are meaningful in mairix search specs.
9812 (mairix-widget-create-query): Add usage information about mairix
9813 search forms: negating words, searching for substrings, etc.
9815 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9817 * international/fontset.el (font-encoding-alist): Add an entry for
9820 2012-03-10 Richard Stallman <rms@gnu.org>
9822 * mail/sendmail.el (mail-encode-header):
9823 Set rfc2047-encode-encoded-words.
9825 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9827 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9828 view buffer means not swapped.
9829 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9830 (rmail-write-region-annotate): Error if real text has disappeared.
9832 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9834 2012-03-10 Chong Yidong <cyd@gnu.org>
9836 * emulation/cua-rect.el (cua--init-rectangles):
9837 * emulation/cua-base.el (cua--init-keymaps):
9838 Add delete-forward-char to remappings (Bug#9666).
9840 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9842 * speedbar.el (speedbar-unhighlight-one-tag-line):
9843 Avoid unhighlighting due to frame switching (Bug#10275).
9845 2012-03-10 Chong Yidong <cyd@gnu.org>
9847 * minibuffer.el (completion-in-region, completion-help-at-point):
9848 Give the completion field overlay a high priority (Bug#6830).
9850 * dired.el (dired-goto-file): Recognize absolute file name
9851 listings (Bug#7126).
9852 (dired-goto-file-1): New helper function.
9853 (dired-toggle-read-only): Inhibit warnings.
9855 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9857 * net/dbus.el (dbus-property-handler): Return empty array if
9858 there are no properties.
9860 2012-03-09 Leo Liu <sdl.web@gmail.com>
9862 * savehist.el (savehist-printable): Stricter check for string
9865 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9867 * mail/smtpmail.el (smtpmail-send-it):
9868 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9871 2012-03-09 Glenn Morris <rgm@gnu.org>
9873 * files.el (dir-locals-find-file):
9874 Don't check result is regular, readable.
9875 (dir-locals-read-from-file): Demote errors.
9877 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9879 * international/quail.el (quail-insert-kbd-layout):
9880 Insert invisible LRM characters before each character in a keyboard
9881 layout cell, to prevent their reordering by bidi display engine.
9882 For details, see the discussion in
9883 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9885 2012-03-08 Alan Mackenzie <acm@muc.de>
9887 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9888 the starting position; make it extend the marked region when
9889 invoked repeatedly - all under appropriate circumstances.
9890 Fixes bugs #5525, #10906.
9892 2012-03-08 Glenn Morris <rgm@gnu.org>
9894 * files.el (locate-dominating-file, dir-locals-find-file):
9895 Undo 2012-03-06 change.
9897 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9899 * international/quail.el (quail-help):
9900 Force bidi-paragraph-direction be left-to-right. See discussion in
9901 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9904 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9906 Avoid superfluous registering of signals. (Bug#10807)
9908 * notifications.el (notifications-on-action-object)
9909 (notifications-on-close-object): New defvars.
9910 (notifications-on-action-signal, notifications-on-closed-signal):
9911 Unregister the signal if not needed any longer.
9912 (notifications-notify): Register `notifications-action-signal' or
9913 `notifications-closed-signal', if :on-action or :on-close has been
9916 2012-03-07 Chong Yidong <cyd@gnu.org>
9918 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9921 2012-03-06 Glenn Morris <rgm@gnu.org>
9923 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9924 (x-disown-selection-internal, x-get-selection-internal):
9925 Doc fix (add arglist signatures). (Bug#10783)
9927 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9929 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9930 Handle breakpoints with no "type".
9932 2012-03-06 Glenn Morris <rgm@gnu.org>
9934 * files.el (locate-dominating-file): Add optional predicate argument.
9935 (dir-locals-find-file): Make use of above change.
9937 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9939 * info.el (Info-insert-dir): Also try "dir.gz".
9941 2012-03-06 Glenn Morris <rgm@gnu.org>
9943 * files.el (dir-locals-find-file):
9944 Ignore non-readable or non-regular files. (Bug#10928)
9946 * files.el (locate-dominating-file): Doc fix.
9948 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9950 * calendar/calendar.el (calendar-set-mode-line):
9951 `getenv' returns a string. (Bug#10951)
9953 2012-03-05 Leo Liu <sdl.web@gmail.com>
9955 * simple.el (backward-delete-char-untabify): Constrain point to
9958 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9960 2012-03-05 Chong Yidong <cyd@gnu.org>
9962 * simple.el (count-words): If called from Lisp, return the word
9963 count, for symmetry with `count-lines'. Arglist changed.
9964 (count-words--message): Args changed. Consolidate counting code
9965 from count-words and count-words-region.
9966 (count-words-region): Caller changed.
9967 (count-lines-region): Make it an obsolete alias.
9969 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9971 * saveplace.el (save-place-to-alist)
9972 (save-place-ignore-files-regexp): Allow value nil to disable this
9975 2012-03-04 Chong Yidong <cyd@gnu.org>
9977 * faces.el (face-spec-reset-face): For the default face, reset the
9978 attributes to default values (Bug#10748).
9980 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9982 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9983 previous patch: Check `message-send-mail-function', and not the
9984 default function (bug#10897).
9986 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9988 * notifications.el (notifications-on-action-signal)
9989 (notifications-on-closed-signal): Check for unique service name of
9990 incoming event. Fix error in removing entry.
9991 (top): Register for signals with wildcard service name.
9992 (notifications-notify): Use daemon unique service name for map entries.
9994 2012-03-04 Chong Yidong <cyd@gnu.org>
9996 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9998 2012-03-04 Glenn Morris <rgm@gnu.org>
10000 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10001 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10002 (expand-abbrev, define-abbrev-table): Doc fixes.
10004 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10006 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10007 `message-default-send-mail-function' and not `send-mail-function'
10008 when doing the prompting for `sendmail-query-once' before sending
10009 in Message buffers (bug#10897).
10011 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10012 This is inconsistent with all the other stream functions, which leave
10013 the setting up to the higher levels (if so wanted) (bug#10931).
10015 2012-03-02 Alan Mackenzie <acm@muc.de>
10017 Depessimize the handling of very large macros.
10019 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10020 (c-macro-cache-syntactic): New variables to implement a one
10021 element macro cache.
10022 (c-invalidate-macro-cache): New function.
10023 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10024 Adapt to use the new cache.
10025 (c-state-safe-place): Use better the cache of safe positions.
10026 (c-state-semi-nonlit-pos-cache)
10027 (c-state-semi-nonlit-pos-cache-limit):
10028 New variables for...
10029 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10030 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10031 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10032 Use c-state-semi-safe-place.
10034 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10035 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10037 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10039 * jka-compr.el (jka-compr-call-process):
10040 Apply `file-accessible-directory-p' only when the default directory is
10043 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10045 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10046 access of FILE2, if FILE1 does not exist.
10048 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10049 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10051 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10052 Add "PAGER=" to `process-environment'.
10054 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10056 * progmodes/sql.el: Bug fix
10057 (sql-get-login-ext): Save login values in globals.
10058 (sql-get-login): Use new version of `sql-get-login-ext'.
10059 (sql-interactive-mode): Set global `sql-connection' to nil.
10060 (sql-connect): Set global values for connection.
10061 (sql-product-interactive): Save global values as buffer local.
10063 2012-02-29 Leo Liu <sdl.web@gmail.com>
10065 * abbrev.el (define-abbrevs): Reset sys to nil.
10067 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10069 * files.el (file-equal-p): Rename from `files-equal-p'.
10070 Return nil when one or both files don't exist.
10071 (file-subdir-of-p): Now only top directory must exists,
10072 return nil if it doesn't.
10073 (copy-directory): No need to test with `file-subdir-of-p' after
10075 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10078 2012-02-28 Glenn Morris <rgm@gnu.org>
10080 * shell.el (shell-mode):
10081 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10082 * play/landmark.el (landmark-font-lock-face-O):
10083 * play/handwrite.el (handwrite):
10084 * play/gomoku.el (gomoku-O):
10085 * net/browse-url.el (browse-url-browser-display):
10086 * international/mule.el (define-charset):
10087 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10088 * filesets.el (filesets-find-file-delay):
10089 * eshell/em-xtra.el (eshell-xtra):
10090 * eshell/em-unix.el (eshell-grep):
10091 * emulation/viper.el (viper-mode):
10092 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10093 * emacs-lisp/easymenu.el (easy-menu-define):
10094 * calendar/timeclock.el (timeclock-use-display-time):
10096 * bookmark.el (bookmark-save-flag):
10097 Doc fix (standardize possessive apostrophe usage).
10099 2012-02-27 Chong Yidong <cyd@gnu.org>
10101 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10102 Fix key-binding lookup for ESC key (Bug#9146).
10104 * font-lock.el (font-lock-specified-p): Rename from
10105 font-lock-spec-present. Callers changed.
10107 2012-02-27 Daniel Hackney <dan@haxney.org>
10109 * emacs-lisp/package.el (package-compute-transaction):
10110 Handle holding a package version to t in package-load-list.
10112 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10114 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10115 (tramp-get-inode, tramp-get-device): Use cached values.
10117 2012-02-26 Alan Mackenzie <acm@muc.de>
10119 Check there is a font-lock specification before doing initial
10122 * font-core.el (font-lock-mode): Move the conditional from
10123 :after-hook to font-lock-initial-fontify.
10124 (font-lock-default-function): Move the check for a specification
10125 to font-lock-spec-present.
10127 * font-lock.el (font-lock-initial-fontify): Call ...
10128 (font-lock-spec-present): New function.
10130 2012-02-26 Jim Blandy <jimb@red-bean.com>
10132 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10133 (gdb-send): Apply it to the operand of the '-interpreter-exec
10134 console' command, so that we can pass arguments with (say) quotes
10135 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10137 2012-02-26 Chong Yidong <cyd@gnu.org>
10139 * help-fns.el (describe-function-1): Clarify description of
10140 remapping (Bug#10844).
10142 * files.el (files-equal-p): Doc fix.
10143 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10144 and quit the loop once a mismatch is found.
10146 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10148 * bs.el (bs--show-with-configuration): Don't throw an error
10149 if the window cannot be split; otherwise, subsequent calls to
10150 bs-show fail, restoring a stale window config. (Bug#10882)
10152 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10154 * term/ns-win.el (global-map): Bind ns-drag-file to
10155 ns-find-file (Bug#5855, Bug#10050).
10157 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10159 * calendar/parse-time.el (parse-time-string): Allow extractor to
10162 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10164 * net/tramp.el (tramp-file-name-for-operation):
10165 Add `files-equal-p' and `file-subdir-of-p'.
10167 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10168 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10169 Add COPY-CONTENTS argument.
10171 2012-02-25 Chong Yidong <cyd@gnu.org>
10173 Add custom groups for VC backends, for consistency with vc-bzr.
10175 * vc/vc-arch.el (vc-arch):
10176 * vc/vc-cvs.el (vc-cvs):
10177 * vc/vc-git.el (vc-git):
10178 * vc/vc-hg.el (vc-hg):
10179 * vc/vc-mtn.el (vc-mtn):
10180 * vc/vc-rcs.el (vc-rcs):
10181 * vc/vc-sccs.el (vc-sccs):
10182 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10183 All relevant defcustoms reassigned.
10185 2012-02-25 Chong Yidong <cyd@gnu.org>
10187 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10189 * term/x-win.el (x-initialize-window-system): Reduce default for
10190 x-selection-timeout to 5 seconds (Bug#8869).
10192 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10194 * files.el (files-equal-p, file-subdir-of-p): New functions.
10195 (copy-directory): Error when trying to copy a directory on itself.
10196 Add missing copy-contents arg to tramp handler.
10197 * dired-aux.el (dired-copy-file-recursive): Same.
10198 (dired-create-files): Modify destination when source is equal to
10199 dest when copying files.
10200 Return also when dest is a subdir of source. (Bug#10489)
10202 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10204 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10207 2012-02-23 Alan Mackenzie <acm@muc.de>
10209 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10210 parameter "after-hook:" to allow the expansion to run code after
10211 the execution of the mode hooks.
10213 * font-lock.el (font-lock-initial-fontify): New function extracted
10214 from font-lock-mode-internal.
10216 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10219 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10222 (completion--cache-all-sorted-completions): New function.
10223 (completion-all-sorted-completions): Use it.
10224 (completion--do-completion, minibuffer-force-complete):
10225 Use it to re-instate the flush hook.
10227 * icomplete.el (icomplete-completions): Replace last fix with a better
10230 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10232 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10233 when it might call us back infinitely (bug#10797).
10235 2012-02-23 Glenn Morris <rgm@gnu.org>
10237 * minibuffer.el (completion-category-overrides): Doc fix.
10239 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10242 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10244 2012-02-23 Glenn Morris <rgm@gnu.org>
10246 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10247 (authors-obsolete-files-regexps, authors-ignored-files)
10248 (authors-ambiguous-files, authors-renamed-files-alist):
10251 2012-02-23 Juri Linkov <juri@jurta.org>
10253 * isearch.el (isearch-occur): Sync interactive spec with occur's
10254 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10256 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10258 2012-02-22 Juri Linkov <juri@jurta.org>
10260 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10261 (ucs-insert): Doc fix. Check for hex digits in the string.
10262 Don't display `nil' in the error message. (Bug#10857)
10264 2012-02-22 Alan Mackenzie <acm@muc.de>
10266 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10268 2012-02-22 Glenn Morris <rgm@gnu.org>
10270 * ffap.el (ffap-c-path):
10271 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10273 2012-02-22 Chong Yidong <cyd@gnu.org>
10275 * custom.el (load-theme): Doc fix.
10277 2012-02-22 Glenn Morris <rgm@gnu.org>
10279 * dired-x.el (dired-guess-shell-alist-default):
10280 Remove escape sequences from nroff output. (Bug#172)
10282 2012-02-21 Glenn Morris <rgm@gnu.org>
10284 * vc/emerge.el (emerge-defvar-local):
10285 Set `permanent-local' property rather than unused `preserved'.
10287 * textmodes/picture.el (picture-delete-char): New alias.
10288 (picture-mode-map): Use it. (Bug#10860)
10289 (picture-mode): Doc fix.
10291 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10293 * newcomment.el (uncomment-region-default): Remove unused binding.
10295 2012-02-21 Glenn Morris <rgm@gnu.org>
10297 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10298 (picture-self-insert, picture-tab-chars): Doc fix.
10299 (picture-mode-map): Fix C-a, C-e.
10301 2012-02-20 Glenn Morris <rgm@gnu.org>
10303 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10305 2012-02-20 Leo Liu <sdl.web@gmail.com>
10307 * icomplete.el (icomplete-completions): Check FROM arg before
10308 passing to substring (Bug#10850).
10310 2012-02-19 Chong Yidong <cyd@gnu.org>
10312 * comint.el: Require ansi-color.
10313 (comint-output-filter-functions): Add ansi-color-process-output.
10315 * ansi-color.el: Don't set comint-output-filter-functions; it is
10316 now in the initial value defined in comint.el.
10317 (ansi-color-apply-face-function): New variable.
10318 (ansi-color-apply-on-region): Use it.
10319 (ansi-color-apply-overlay-face): New function.
10321 * shell.el (shell): No need to require ansi-color.
10322 (shell-mode): Use ansi-color-apply-face-function to highlight
10323 color escapes using font-lock-face property (Bug#10835).
10325 2012-02-19 Chong Yidong <cyd@gnu.org>
10327 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10328 mode-line formats (Bug#10839).
10330 2012-02-18 Glenn Morris <rgm@gnu.org>
10332 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10334 * mail/undigest.el (unforward-rmail-message): Doc fix.
10336 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10338 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10340 * international/characters.el (script-list): Sync with the latest
10341 Unicode Character Database.
10343 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10345 * international/titdic-cnv.el: Remove duplicate coding tag.
10346 * language/cham.el: Likewise.
10347 * language/tai-viet.el: Likewise.
10349 2012-02-18 Glenn Morris <rgm@gnu.org>
10351 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10352 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10353 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10354 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10355 * calendar/holidays.el (holiday-bahai-holidays)
10356 (calendar-holidays, list-holidays):
10357 Use utf-8 Bahá'í in doc-strings, menus, etc.
10359 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10361 * saveplace.el (save-place-ignore-files-regexp): New variable
10362 allowing for excluding files from saving their location of point.
10363 The default value matches the temporary commit message editing
10364 files from Git, SVN, Bazaar, and Mercurial.
10365 (save-place-to-alist): Use it.
10367 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10368 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * newcomment.el (uncomment-region-default): Don't leave extra space
10371 when an arg is provided (bug#8150).
10373 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10375 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10377 2012-02-17 Glenn Morris <rgm@gnu.org>
10379 * net/socks.el: Require network-stream. (Bug#10599)
10381 2012-02-17 Kenichi Handa <handa@m17n.org>
10383 * international/charprop.el:
10384 * international/uni-name.el:
10385 * international/uni-old-name.el:
10386 * international/uni-comment.el: Regenerate.
10388 2012-02-16 Glenn Morris <rgm@gnu.org>
10390 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10391 Interactively in calendar buffer, give an error if not on a date.
10393 2012-02-15 Glenn Morris <rgm@gnu.org>
10395 * shell.el (shell-delimiter-argument-list):
10396 Revert 2011-02-17 change. (Bug#8027)
10398 2012-02-15 Chong Yidong <cyd@gnu.org>
10400 * minibuffer.el (completion-at-point-functions): Doc fix.
10402 * custom.el (defcustom): Doc fix; note use of defvar.
10404 2012-02-15 Glenn Morris <rgm@gnu.org>
10406 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10409 2012-02-14 Glenn Morris <rgm@gnu.org>
10411 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10413 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10415 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10416 way the ports list is computed.
10417 (smtpmail-query-smtp-server): Prompt the user for a port number if
10418 we can't connect to any of the standard ports (bug#10810).
10420 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10422 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10424 2012-02-13 Glenn Morris <rgm@gnu.org>
10426 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10428 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10430 * net/gnutls.el (gnutls-trustfiles): New variable.
10431 (gnutls-negotiate): Use it.
10433 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10435 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10436 does its stuff if Gnus is running.
10438 2012-02-13 Alan Mackenzie <acm@muc.de>
10440 Fix a loop in c-set-fl-decl-start.
10442 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10443 c-backward-syntactic-ws actually moves backwards.
10445 2012-02-13 Leo Liu <sdl.web@gmail.com>
10447 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10448 beginning so that all \C-o chars are removed.
10450 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10452 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10454 2012-02-12 Alan Mackenzie <acm@muc.de>
10456 Fix infinite loop with long macros.
10457 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10459 2012-02-12 Chong Yidong <cyd@gnu.org>
10461 * window.el (display-buffer): Doc fix (Bug#10785).
10463 2012-02-12 Glenn Morris <rgm@gnu.org>
10465 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10466 (x-disown-selection-internal, x-get-selection-internal):
10467 Sync docs with the xselect.c versions.
10469 * allout-widgets.el: Add missing license notice.
10471 2012-02-11 Glenn Morris <rgm@gnu.org>
10473 * select.el (x-get-selection-internal, x-own-selection-internal)
10474 (x-disown-selection-internal):
10475 * x-dnd.el (x-get-selection-internal): Update declarations.
10477 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10479 * window.el (window-sides-slots):
10480 * tool-bar.el (tool-bar-position):
10481 * term/xterm.el (xterm-extra-capabilities):
10482 * ses.el (ses-self-reference-early-detection):
10483 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10484 (verilog-auto-wire-type)
10485 (verilog-auto-delete-trailing-whitespace)
10486 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10487 (verilog-auto-tieoff-declaration):
10488 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10489 (sql-oracle-statement-starters, sql-oracle-scan-on):
10490 * progmodes/prolog.el (prolog-align-comments-flag)
10491 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10492 (prolog-left-indent-regexp, prolog-paren-indent-p)
10493 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10494 (prolog-types, prolog-mode-specificators)
10495 (prolog-determinism-specificators, prolog-directives)
10496 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10497 (prolog-electric-dot-flag)
10498 (prolog-electric-dot-full-predicate-template)
10499 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10500 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10501 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10502 (prolog-program-switches, prolog-prompt-regexp)
10503 (prolog-debug-on-string, prolog-debug-off-string)
10504 (prolog-trace-on-string, prolog-trace-off-string)
10505 (prolog-zip-on-string, prolog-zip-off-string)
10506 (prolog-use-standard-consult-compile-method-flag)
10507 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10508 (prolog-imenu-max-lines, prolog-info-predicate-index)
10509 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10510 (prolog-char-quote-workaround):
10511 * progmodes/cc-vars.el (c-defun-tactic):
10512 * net/tramp.el (tramp-encoding-command-interactive)
10513 (tramp-local-end-of-line):
10514 * net/soap-client.el (soap-client):
10515 * net/netrc.el (netrc-file):
10516 * net/gnutls.el (gnutls):
10517 * minibuffer.el (completion-category-overrides)
10518 (completion-cycle-threshold)
10519 (completion-pcm-complete-word-inserts-delimiters):
10520 * man.el (Man-name-local-regexp):
10521 * mail/feedmail.el (feedmail-display-full-frame):
10522 * international/characters.el (glyphless-char-display-control):
10523 * eshell/em-ls.el (eshell-ls-date-format):
10524 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10525 (lisp-lambda-list-keyword-parameter-indentation)
10526 (lisp-lambda-list-keyword-parameter-alignment):
10527 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10528 * dired-x.el (dired-omit-verbose):
10529 * cus-theme.el (custom-theme-allow-multiple-selections):
10530 * calc/calc.el (calc-highlight-selections-with-faces)
10531 (calc-lu-field-reference, calc-lu-power-reference)
10532 (calc-note-threshold):
10533 * battery.el (battery-mode-line-limit):
10534 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10535 (archive-7z-update):
10536 * allout.el (allout-prefixed-keybindings)
10537 (allout-unprefixed-keybindings)
10538 (allout-inhibit-auto-fill-on-headline)
10539 (allout-flattened-numbering-abbreviation):
10540 * allout-widgets.el (allout-widgets-auto-activation)
10541 (allout-widgets-icons-dark-subdir)
10542 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10543 (allout-widgets-theme-dark-background)
10544 (allout-widgets-theme-light-background)
10545 (allout-widgets-item-image-properties-emacs)
10546 (allout-widgets-item-image-properties-xemacs)
10547 (allout-widgets-run-unit-tests-on-load)
10548 (allout-widgets-time-decoration-activity)
10549 (allout-widgets-hook-error-post-time)
10550 (allout-widgets-track-decoration):
10551 Add missing :version tags to new defcustoms and defgroups.
10553 * progmodes/sql.el (sql-ansi-statement-starters)
10554 (sql-oracle-statement-starters): Add custom type.
10556 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10557 (prolog-system-version): Give it a type.
10559 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10561 * term/pc-win.el (x-select-text, x-selection-owner-p)
10562 (x-own-selection-internal, x-disown-selection-internal)
10563 (x-get-selection-internal): Sync doc strings and argument lists
10564 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10566 2012-02-11 Leo Liu <sdl.web@gmail.com>
10568 * progmodes/python.el (python-end-of-statement): Fix infinite
10571 2012-02-10 Glenn Morris <rgm@gnu.org>
10573 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10574 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10576 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10578 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10579 about SMTP before checking the From header.
10581 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10582 into own function for reuse by emacsbug.el.
10584 2012-02-10 Leo Liu <sdl.web@gmail.com>
10586 * subr.el (condition-case-unless-debug): Rename from
10587 condition-case-no-debug. All callers changed.
10588 (with-demoted-errors): Fix caller.
10590 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10591 * nxml/rng-valid.el (rng-do-some-validation):
10592 * emacs-lisp/package.el (package-refresh-contents)
10593 (package-menu-execute):
10594 * desktop.el (desktop-create-buffer):
10595 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10597 2012-02-10 Glenn Morris <rgm@gnu.org>
10599 * textmodes/bibtex.el:
10600 Add missing :version tags for new/changed defcustoms.
10602 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10604 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10606 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10607 (smtpmail-via-smtp): Use it, or fall back on the From address.
10608 (smtpmail-send-it): Ditto.
10610 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10612 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10613 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10614 (byte-compile-tmp-var): New const.
10615 (byte-compile-defvar): Use it to minimize .elc size.
10616 Just use `defvar' rather than simulate it (bug#10761).
10618 2012-02-09 Glenn Morris <rgm@gnu.org>
10620 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10622 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10625 * progmodes/compile.el (compilation-error-screen-columns)
10626 (compilation-first-column, compilation-filter-start): Doc fixes.
10628 * vc/log-view.el (log-view-toggle-entry-display):
10629 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10631 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10632 (report-emacs-bug-can-use-xdg-email):
10633 (report-emacs-bug-insert-to-mailer): Doc fixes.
10634 (report-emacs-bug): Message fix.
10636 * net/browse-url.el (browse-url-can-use-xdg-open)
10637 (browse-url-xdg-open): Doc fixes.
10639 * electric.el (electric-indent-mode, electric-pair-mode)
10640 (electric-layout-rules, electric-layout-mode): Doc fixes.
10641 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10643 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10645 * server.el (server-unselect-display): Don't inadvertently kill
10646 the current buffer. (Bug#10729)
10648 2012-02-08 Glenn Morris <rgm@gnu.org>
10650 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10651 (sql-list-table): Doc fixes.
10653 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10654 Comment out (does nothing).
10656 * completion.el (dynamic-completion-mode):
10657 * dirtrack.el (dirtrack-debug-mode):
10658 * electric.el (electric-layout-mode):
10659 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10660 * face-remap.el (text-scale-mode, buffer-face-mode):
10661 * iimage.el (iimage-mode):
10662 * image-mode.el (image-transform-mode):
10663 * minibuffer.el (completion-in-region-mode):
10664 * scroll-lock.el (scroll-lock-mode):
10665 * simple.el (next-error-follow-minor-mode):
10666 * tar-mode.el (tar-subfile-mode):
10667 * tooltip.el (tooltip-mode):
10668 * vcursor.el (vcursor-use-vcursor-map):
10669 * wid-browse.el (widget-minor-mode):
10670 * emulation/tpu-edt.el (tpu-edt-mode):
10671 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10672 * international/iso-ascii.el (iso-ascii-mode):
10673 * language/thai-util.el (thai-word-mode):
10674 * mail/supercite.el (sc-minor-mode):
10675 * net/goto-addr.el (goto-address-mode):
10676 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10677 * progmodes/cwarn.el (cwarn-mode):
10678 * progmodes/flymake.el (flymake-mode):
10679 * progmodes/glasses.el (glasses-mode):
10680 * progmodes/hideshow.el (hs-minor-mode):
10681 * progmodes/pascal.el (pascal-outline-mode):
10682 * textmodes/enriched.el (enriched-mode):
10683 * vc/smerge-mode.el (smerge-mode):
10684 Doc fixes (minor mode argument).
10686 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10688 * ls-lisp.el (ls-lisp-sanitize): New function.
10689 (ls-lisp-insert-directory): Use it to fix or remove any elements
10690 in file-alist with missing attributes. (Bug#4673)
10692 2012-02-07 Alan Mackenzie <acm@muc.de>
10694 Fix spurious recognition of c-in-knr-argdecl.
10696 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10697 putative K&R region.
10699 2012-02-07 Alan Mackenzie <acm@muc.de>
10701 * progmodes/cc-engine.el (c-forward-objc-directive):
10702 Prevent looping in "#pragma mark @implementation".
10704 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10706 * notifications.el (notifications-on-closed-signal): Make `reason'
10707 optional. (Bug#10744)
10709 2012-02-07 Glenn Morris <rgm@gnu.org>
10711 * emacs-lisp/easy-mmode.el (define-minor-mode):
10712 Doc fixes for the macro and the mode it defines.
10714 * image.el (imagemagick-types-inhibit): Doc fix.
10716 * cus-start.el (imagemagick-render-type): Add it.
10718 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10720 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10721 Set the default at load time, too, so that `font-lock-fontify-buffer'
10722 can be called without setting up the entire mode first. This fixes
10723 a bug in `mm-inline-text' with C MIME parts.
10725 2012-02-06 Chong Yidong <cyd@gnu.org>
10727 * simple.el (list-processes--refresh): Delete exited processes
10730 * comint.el (comint-next-prompt): next-single-char-property-change
10731 and prev-single-char-property-change never return nil (Bug#8657).
10733 * custom.el (defcustom): Doc fix (Bug#9711).
10735 2012-02-05 Chong Yidong <cyd@gnu.org>
10737 * cus-edit.el (custom-variable-reset-backup): Quote the value
10738 before storing it in the customized-value property (Bug#6712).
10739 (custom-display): Add a customization type tag.
10740 (custom-buffer-create-internal): Improve tooltip message.
10742 * wid-edit.el (widget-field-value-get): New optional arg to
10743 suppress trailing whitespace truncation.
10744 (character): Use it (Bug#2689).
10746 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10748 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10749 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10751 2012-02-05 Chong Yidong <cyd@gnu.org>
10753 * cus-edit.el (custom-variable-value-create): For mismatched
10754 types, show the current value (Bug#7600).
10756 * custom.el (defcustom): Doc fix.
10758 2012-02-05 Glenn Morris <rgm@gnu.org>
10760 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10762 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10764 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10765 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10766 (pp-last-sexp): Use `looking-at-p'.
10768 2012-02-04 Glenn Morris <rgm@gnu.org>
10770 * files.el (revert-buffer):
10771 Doc fix (mention revert-buffer-in-progress-p).
10773 * emacs-lisp/ert-x.el (ert-simulate-command):
10774 Check deferred-action-list (which is obsolete) is bound.
10776 * subr.el (with-wrapper-hook): Doc fixes.
10778 * simple.el (filter-buffer-substring-functions)
10779 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10781 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10783 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10784 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10786 2012-02-04 Leo Liu <sdl.web@gmail.com>
10788 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10790 2012-02-04 Glenn Morris <rgm@gnu.org>
10792 * image.el (image-extension-data): Add obsolete alias.
10794 * isearch.el (isearch-update): Doc fix.
10796 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10798 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10800 2012-02-03 Glenn Morris <rgm@gnu.org>
10802 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10803 (image-animate-timeout): Doc fix.
10805 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10807 2012-02-02 Glenn Morris <rgm@gnu.org>
10809 * server.el (server-auth-dir): Doc fix.
10810 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10812 * subr.el (run-mode-hooks): Doc fix.
10814 2012-02-02 Juri Linkov <juri@jurta.org>
10816 * image-mode.el (image-toggle-display-image): Remove tautological
10817 `major-mode' from the `derived-mode-p' test.
10819 2012-02-02 Kenichi Handa <handa@m17n.org>
10821 * composite.el (compose-region): Cancel previous change.
10823 2012-02-02 Kenichi Handa <handa@m17n.org>
10825 * composite.el (compose-region, compose-string): Signal error for
10826 a null string component (Bug#6988).
10828 2012-02-01 Chong Yidong <cyd@gnu.org>
10830 * view.el (view-buffer-other-window, view-buffer-other-frame):
10831 Handle special modes like view-buffer (Bug#10650).
10832 (view-buffer): Simplify.
10834 * frame.el (set-frame-font): Tweak meaning of third argument.
10836 * dynamic-setting.el (font-setting-change-default-font):
10837 Use set-frame-font (Bug#9982).
10839 2012-02-01 Glenn Morris <rgm@gnu.org>
10841 * progmodes/compile.el (compilation-internal-error-properties):
10842 Respect compilation-first-column in the "*compilation*" buffer.
10844 * emacs-lisp/easy-mmode.el (define-minor-mode):
10845 Relax :variable's test for a named function.
10847 2012-01-31 Alan Mackenzie <acm@muc.de>
10849 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10852 2012-01-31 Chong Yidong <cyd@gnu.org>
10854 * frame.el (set-frame-font): New arg ALL-FRAMES.
10856 * menu-bar.el (menu-set-font): Use set-frame-font.
10858 * faces.el (face-spec-reset-face): Don't apply unspecified
10859 attribute values to the default face.
10861 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10863 * progmodes/cwarn.el (cwarn): Remove dead link.
10864 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10865 Remove * from defcustom docstrings.
10866 (turn-on-cwarn-mode): Make obsolete.
10867 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10868 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10870 2012-01-31 Glenn Morris <rgm@gnu.org>
10872 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10873 Fix :variable handling of mode a symbol not equal to modefun.
10874 Allow named functions to be used as the cdr of :variable.
10876 2012-01-30 Glenn Morris <rgm@gnu.org>
10878 * emacs-lisp/authors.el (authors-fixed-entries):
10879 Remove reference to deleted file rnewspost.el.
10881 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10883 * window.el (window-with-parameter): Remove unused variable `windows'.
10884 (window--side-check): Remove unused variable `code'.
10885 (window--resize-siblings): Remove unused variable `first'.
10886 (adjust-window-trailing-edge): Remove unused variable `failed'.
10887 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10888 Use `let', not `let*'.
10889 (balance-windows-2): Remove unused variable `found'.
10890 (window--state-put-2): Remove unused variable `splits'.
10891 (window-state-put): Remove unused variable `selected'.
10892 (same-window-p): Use `string-match-p'.
10893 (display-buffer-assq-regexp): Remove unused variable `value'.
10894 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10895 Mark argument ALIST as ignored.
10896 (pop-to-buffer): Remove unused variable `old-window'.
10898 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10900 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10901 and .lzma compressed files.
10903 2012-01-29 Chong Yidong <cyd@gnu.org>
10905 * frame.el (window-system-default-frame-alist): Doc fix.
10907 * dynamic-setting.el (font-setting-change-default-font): Don't
10908 change the default face if SET-FONT argument is non-nil (Bug#9982).
10910 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10912 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10914 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10916 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10917 breakpoints in files outside current directory (Bug#6098).
10919 2012-01-29 Chong Yidong <cyd@gnu.org>
10921 * progmodes/python.el: Require ansi-color at top-level.
10923 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10924 Define and use in Emacs Lisp mode (Bug#9360).
10925 (lisp-mode-abbrev-table): Add doc.
10926 (lisp-mode-variables): Don't set local-abbrev-table.
10927 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10929 2012-01-28 Roland Winkler <winkler@gnu.org>
10931 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10933 2012-01-28 Roland Winkler <winkler@gnu.org>
10935 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10936 (bibtex-set-dialect): Use it. Either set global values of
10937 dialect-dependent variables or bind these variables buffer-locally
10939 (bibtex-mode): Call bibtex-set-dialect via
10940 hack-local-variables-hook.
10941 (bibtex-dialect): Update docstring.
10942 Add safe-local-variable predicate.
10943 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10944 bibtex-set-dialect.
10945 (bibtex-mode-map): Define menu for each dialect.
10946 (bibtex-entry): Fix docstring.
10948 2012-01-28 Chong Yidong <cyd@gnu.org>
10950 * eshell/esh-arg.el (eshell-quote-argument): New function.
10952 * eshell/esh-ext.el (eshell-invoke-batch-file):
10953 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10954 first arg to eshell-parse-command (Bug#10523).
10956 2012-01-28 Drew Adams <drew.adams@oracle.com>
10958 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10959 `default-directory' is non-nil.
10961 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10963 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10964 line that displays system-configuration-options. (Bug#9924)
10966 2012-01-28 Drew Adams <drew.adams@oracle.com>
10968 * descr-text.el (describe-char): Show information about POS, in
10969 addition to information about the character at POS. Improve and
10970 update the doc string. Change "code point" to "code point in
10971 charset", to avoid confusion with the character's Unicode code
10972 point shown above that. (Bug#10129)
10974 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10976 * descr-text.el (describe-char): Show the raw character, not only
10977 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10978 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10981 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10983 * emacs-lisp/package.el (package-install):
10984 Run package-refresh-contents if there is no archive yet (Bug#9798).
10986 2012-01-28 Chong Yidong <cyd@gnu.org>
10988 * emacs-lisp/package.el (package-maybe-load-descriptor):
10989 New function, split from package-maybe-load-descriptor.
10990 (package-maybe-load-descriptor): Use it.
10991 (package-download-transaction): Fully load required packages
10992 inside the loop, so that `require' calls work (Bug#10593).
10993 (package-install): No need to call package-initialize now.
10995 2012-01-28 Chong Yidong <cyd@gnu.org>
10997 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10999 * tooltip.el (tooltip-mode): Doc fix.
11000 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11002 * frame.el (set-cursor-color): Doc fix (Bug#352).
11004 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11005 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11007 * cus-edit.el (custom-buffer-create-internal): Fix search button
11008 action (Bug#10542).
11009 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11011 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11013 * dired.el (dired-mark-files-regexp):
11014 Include any subdirectory components. (Bug#10445)
11016 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11018 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11019 Handle [host]:port syntax. (Bug#10533)
11021 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11023 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11025 2012-01-26 Glenn Morris <rgm@gnu.org>
11027 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11028 * term.el (term-raw-escape-map): Use Control-X-prefix.
11029 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11031 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11033 * window.el (window-state-get, window--state-get-1): Don't deal
11034 with fixed-sizeness of windows. Simplify code.
11036 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11038 * window.el (window--state-get-1, window--state-put-2):
11039 Don't save and restore the mark.
11041 2012-01-25 Chong Yidong <cyd@gnu.org>
11043 * custom.el (custom-variable-p): Doc fix.
11045 2012-01-25 Glenn Morris <rgm@gnu.org>
11047 * dired.el (dired-goto-file): Handle some of the more common
11048 characters that `ls -b' escapes. (Bug#10596)
11050 * progmodes/compile.el (compilation-next-error-function):
11051 Respect compilation-first-column in the "*compilation*" buffer.
11052 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11054 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11056 2012-01-24 Glenn Morris <rgm@gnu.org>
11058 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11060 2012-01-24 Julien Danjou <julien@danjou.info>
11062 * color.el (color-rgb-to-hsl): Fix value computing.
11063 (color-hue-to-rgb): New function.
11064 (color-hsl-to-rgb): New function.
11065 (color-clamp, color-saturate-hsl, color-saturate-name)
11066 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11067 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11069 2012-01-24 Glenn Morris <rgm@gnu.org>
11071 * vc/vc-rcs.el (vc-rcs-create-tag):
11072 * vc/vc-sccs.el (vc-sccs-create-tag):
11073 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11075 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11077 * eshell/esh-util.el (eshell-read-hosts-file):
11078 Skip comment lines. (Bug#10549)
11080 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11082 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11084 * subr.el (display-delayed-warnings): Doc fix.
11085 (collapse-delayed-warnings): New function to collapse identical
11087 (delayed-warnings-hook): Add it.
11089 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11091 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11093 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11094 (tramp-default-user-alist): Don't add "pscp".
11095 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11096 property "login-as", if set. (Bug#10530)
11098 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11100 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11101 "plink1" and "psftp". (Bug#10530)
11103 2012-01-21 Kenichi Handa <handa@m17n.org>
11105 * international/mule-cmds.el (prefer-coding-system): Show a
11106 warning message if the default value of file-name-coding-system
11109 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11111 * windmove.el (windmove-reference-loc):
11112 Fix windmove-reference-loc miscalculation.
11114 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11116 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11119 2012-01-21 Glenn Morris <rgm@gnu.org>
11121 * international/mule.el (auto-coding-alist): Add .tbz.
11123 * files.el (local-enable-local-variables): Doc fix.
11124 (inhibit-local-variables-regexps): Rename from
11125 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11126 Doc fix. Add some extensions from auto-coding-alist.
11127 (inhibit-local-variables-suffixes):
11128 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11129 (inhibit-local-variables-p):
11130 New function, extracted from set-auto-mode-1.
11131 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11132 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11133 (hack-local-variables): Doc fix. Make the mode-only case
11134 respect enable-local-variables and friends.
11135 Respect inhibit-local-variables-regexps for file-locals, but
11136 not for directory-locals.
11137 (set-visited-file-name):
11138 Take account of inhibit-local-variables-regexps.
11139 Whether it applies may change as the file name is changed.
11140 * jka-cmpr-hook.el (jka-compr-install):
11141 * jka-compr.el (jka-compr-uninstall):
11142 Update for inhibit-first-line-modes-suffixes name change.
11144 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11146 * help-macro.el (make-help-screen): Temporarily restore original
11147 binding for minor-mode-map-alist (Bug#10454).
11149 2012-01-19 Julien Danjou <julien@danjou.info>
11151 * color.el (color-name-to-rgb): Use the white color to find the max
11152 color component value and return correctly computed values.
11153 (color-name-to-rgb): Add missing float conversion for max value.
11155 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11157 * window.el (window--state-get-1, window-state-get): Do not use
11158 special state value for window-persistent-parameters.
11159 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11160 (window--state-put-2): Reset all window parameters to nil before
11161 assigning values of persistent parameters.
11163 2012-01-18 Alan Mackenzie <acm@muc.de>
11165 Eliminate sluggishness and hangs in fontification of "semicolon
11168 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11169 Change value 10000 -> 3000.
11170 (c-state-safe-place): Reformulate so it doesn't stack up an
11171 infinite number of wrong entries in c-state-nonlit-pos-cache.
11172 (c-determine-limit-get-base, c-determine-limit): New functions to
11173 determine backward search limits disregarding literals.
11174 (c-find-decl-spots): Amend commenting.
11175 (c-cheap-inside-bracelist-p): New function which detects "={".
11177 * progmodes/cc-fonts.el
11178 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11180 (c-font-lock-declarations): Fix an occurrence of point being
11181 undefined. Check additionally for point being in a bracelist or
11182 near a macro invocation without a semicolon so as to avoid a
11183 fruitless time consuming search for a declarator. Give a more
11184 precise search limit for declarators using the new
11187 2012-01-18 Glenn Morris <rgm@gnu.org>
11189 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11190 (set-auto-mode): Doc fixes.
11192 2012-01-17 Glenn Morris <rgm@gnu.org>
11194 * isearch.el (search-nonincremental-instead): Fix doc typo.
11196 * dired.el (dired-insert-directory): Handle newlines in directory name.
11197 (dired-build-subdir-alist): Unescape newlines in directory name.
11199 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11201 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11202 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11203 (tramp-action-terminal): Use it. (Bug#10530)
11205 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11207 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11209 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11211 * window.el (window-state-ignored-parameters): Remove variable.
11212 (window--state-get-1): Rename argument MARKERS to IGNORE.
11213 Handle persistent window parameters. Make copy of clone-of
11214 parameter only if requested. (Bug#10348)
11215 (window--state-put-2): Install a window parameter only if it has
11216 a non-nil value or an existing parameter shall be overwritten.
11218 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11220 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11222 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11224 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11225 don't pass the (nil) value of `upnode' to string-match.
11227 2012-01-14 Chong Yidong <cyd@gnu.org>
11229 * startup.el (command-line): Fix X resource class for cursorColor.
11230 Fix values recognized by the cursorBlink resource.
11232 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11234 * epg.el (epg--make-temp-file): Avoid permission race condition
11235 when running on old Emacs versions (bug#10403).
11237 2012-01-14 Glenn Morris <rgm@gnu.org>
11239 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11241 2012-01-13 Alan Mackenzie <acm@muc.de>
11243 Fix filling for when filladapt mode is enabled.
11245 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11246 c-mask-paragraph, pass in `fill-paragraph' rather than
11247 `fill-region-as-paragraph'. (This is a reversion of a previous
11249 * progmodes/cc-mode.el (c-basic-common-init):
11250 Make fill-paragraph-handle-comment buffer local and set it to nil.
11252 2012-01-13 Glenn Morris <rgm@gnu.org>
11254 * dired.el (dired-switches-escape-p): New function.
11255 (dired-insert-directory): Use dired-switches-escape-p.
11256 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11258 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11260 2012-01-12 Glenn Morris <rgm@gnu.org>
11262 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11263 changes in adaptive-fill-regexp. (Bug#10276)
11265 2012-01-11 Alan Mackenzie <acm@muc.de>
11267 Fix Emacs bug #10463 - put `widen's around the critical spots.
11269 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11270 widen around each invocation of c-state-pp-to-literal. Remove an
11271 unused let variable.
11273 2012-01-11 Glenn Morris <rgm@gnu.org>
11275 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11278 2012-01-10 Chong Yidong <cyd@gnu.org>
11280 * net/network-stream.el (network-stream-open-starttls):
11281 Avoid emitting a confusing error message when the server gives a bad
11282 response to the capability command.
11284 2012-01-10 Glenn Morris <rgm@gnu.org>
11286 * mail/unrmail.el (unrmail): Tweak previous change.
11288 2012-01-09 Chong Yidong <cyd@gnu.org>
11290 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11292 2012-01-08 Alan Mackenzie <acm@muc.de>
11294 Optimise font locking in long enum definitions.
11296 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11297 arm to a cond form to handle enums.
11298 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11299 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11301 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11303 * files.el (move-file-to-trash): Preserve default file modes on error.
11306 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11308 * faces.el (set-face-attribute): Clarify the meaning of the nil
11311 * subr.el (with-selected-frame): Mention that the selected frame
11312 is restored (bug#9980).
11314 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11317 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11318 (password-read): Don't autoload unused function.
11320 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11322 * progmodes/which-func.el (which-func-mode): Turn into a
11323 non-interactive function and mark as obsolete (bug#10428).
11325 2012-01-06 Chong Yidong <cyd@gnu.org>
11327 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11328 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11329 functions, along with 1 and -1.
11331 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11333 * time.el (display-time-load-average)
11334 (display-time-default-load-average): Doc fixes. See the thread
11336 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11339 2012-01-06 Glenn Morris <rgm@gnu.org>
11341 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11342 has no messages. (Bug#10377)
11344 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11345 than Info-edit. (Bug#10385)
11347 * time.el (display-time-load-average, display-time-next-load-average):
11350 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11351 local setting of buffer-read-only to the input buffer. (Bug#10419)
11353 * calendar/calendar.el (calendar-mode):
11354 Locally set scroll-margin to 0. (Bug#10379)
11356 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11358 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11360 2012-01-05 Glenn Morris <rgm@gnu.org>
11362 * eshell/em-unix.el (diff-no-select): Autoload it.
11363 (eshell/diff): Use diff-no-select. (Bug#10420)
11365 2012-01-05 Chong Yidong <cyd@gnu.org>
11367 * shell.el (shell-dynamic-complete-functions): Revert last change.
11368 (shell-command-completion-function): New function.
11369 (shell-completion-vars): Use it to implement
11370 shell-completion-execonly (Bug#10417).
11372 * custom.el (enable-theme): Don't set custom-safe-themes.
11374 * cus-theme.el (custom-theme-merge-theme):
11375 Ignore custom-enabled-themes and custom-safe-themes.
11377 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11379 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11380 first prompt in `sql-interacive-mode'.
11381 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11383 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11384 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11385 context of original buffer. Invoke `sql-login-hook'.
11387 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11389 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11390 letters in cite-prefix.
11392 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11394 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11396 2012-01-03 Chong Yidong <cyd@gnu.org>
11398 * shell.el (shell-dynamic-complete-functions):
11399 Put pcomplete-completions-at-point, so as to try
11400 comint-filename-completion first (Bug#10417).
11402 2012-01-02 Richard Stallman <rms@gnu.org>
11404 * battery.el (battery-status-function):
11405 Detect when to use battery-yeeloong-sysfs.
11406 (battery-echo-area-format): Add string for Yeeloong.
11407 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11408 (battery-yeeloong-sysfs): New function.
11410 2012-01-02 Chong Yidong <cyd@gnu.org>
11412 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11413 (dirtrack): Merge code for handling relative filenames in prompt
11414 from shell-dir-cookie-watcher.
11415 (dirtrack-debug-message): New arg to avoid excess format calls.
11417 * shell.el (shell-dir-cookie-re): Variable deleted.
11418 (shell-dir-cookie-watcher): Function deleted.
11419 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11420 with dirtrack-mode.
11422 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11424 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11425 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11428 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11430 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11432 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11434 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11435 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11437 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11439 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11440 also for alternative shells.
11441 (tramp-open-connection-setup-interactive-shell): Check, whether
11442 the shell is a busybox.
11443 (tramp-send-command): Don't suppress multiple prompts for
11444 busyboxes, it hurts.
11446 2011-12-28 Chong Yidong <cyd@gnu.org>
11448 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11449 (gdb-get-source-file): Move mode line update to
11450 gdb-get-source-file (Bug#10087).
11452 2011-12-25 Chong Yidong <cyd@gnu.org>
11454 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11455 gud-gdb-marker-filter without taking it as an argument.
11456 (gud-gdb-run-command-fetch-lines): Caller changed.
11457 (gud-gdb-completion-function): New variable.
11458 (gud-gdb-completion-at-point): Use it.
11459 (gud-gdb-completions-1): Split from gud-gdb-completions.
11461 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11462 function as separate arguments.
11463 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11464 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11465 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11466 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11467 (gdb-stopped, def-gdb-auto-update-trigger)
11468 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11469 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11471 (gud-gdbmi-completions): New function.
11472 (gdb): Use it for generating the completion table.
11474 2011-12-24 Alan Mackenzie <acm@muc.de>
11476 Introduce a mechanism to widen the region used in context font
11477 locking. Use this to protect declarations from losing their contexts.
11479 * progmodes/cc-langs.el (c-before-font-lock-functions):
11480 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11481 (c-before-context-fontification-functions): New defvar, a list of
11482 functions to be run just before context (etc.) font locking.
11484 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11485 New, functionality extracted from
11486 c-neutralize-syntax-in-and-mark-CPP.
11487 (c-in-after-change-fontification): New variable.
11488 (c-after-change): Set c-in-after-change-fontification.
11489 (c-set-fl-decl-start): Rejig its interface, so it can be called
11490 from both after-change and context fontifying.
11491 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11493 (c-standard-font-lock-fontify-region-function): New variable.
11494 (c-font-lock-fontify-region): New function.
11496 2011-12-24 Juri Linkov <juri@jurta.org>
11498 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11501 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11503 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11504 existence of source file. (Bug#10325)
11506 2011-12-23 Alan Mackenzie <acm@muc.de>
11508 Fix unstable fontification inside templates.
11510 * progmodes/cc-langs.el (c-before-font-lock-functions):
11511 Newly created from the singular version. The (c c++ objc) entry now
11512 additionally has c-set-fl-decl-start. The other languages (apart
11513 from AWK) have that as a single entry.
11515 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11516 The functionality for "local" declarations has been extracted to
11517 c-set-fl-decl-start.
11519 * progmodes/cc-mode.el (c-common-init, c-after-change):
11520 Changes due to pluralisation of c-before-font-lock-functions.
11521 (c-set-fl-decl-start): New function, extracted from
11522 c-font-lock-enclosing-decls and enhanced.
11524 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11526 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11528 2011-12-22 Juri Linkov <juri@jurta.org>
11530 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11532 2011-12-22 Chong Yidong <cyd@gnu.org>
11534 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11536 2011-12-21 Drew Adams <drew.adams@oracle.com>
11538 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11540 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11542 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11544 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11546 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11547 highlighting and support. Fix up comments for capitalization.
11548 (cfengine-mode-debug): New var.
11549 (cfengine3-mode): Change the modeline indicator to "CFE3".
11550 (cfengine3-font-lock-keywords): Improve defun highlighting.
11551 (cfengine2-actions): Rename from `cfengine-actions'.
11552 (cfengine2-font-lock-keywords): Rename from
11553 `cfengine-font-lock-keywords'.
11554 (cfengine2-imenu-expression): Rename from
11555 `cfengine-imenu-expression'.
11556 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11557 (cfengine2-beginning-of-defun): Rename from
11558 `cfengine-beginning-of-defun'.
11559 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11560 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11561 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11562 modeline indicator to "CFE2".
11563 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11564 (cfengine-mode-abbrevs): Mark obsolete.
11566 2011-12-21 Chong Yidong <cyd@gnu.org>
11568 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11571 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11573 * window.el (window-normalize-buffer-to-display): Remove.
11574 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11576 2011-12-19 Chong Yidong <cyd@gnu.org>
11578 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11579 Don't signal an error in a predicate function; return non-nil.
11580 (vc-dir-mark-file): Move the error here.
11581 (vc-dir-mark-unmark): If acting on the region, keep going if one
11582 of the entries cannot be marked/unmarked.
11583 (vc-dir-mark-all-files): If current entry is a directory, mark
11584 only child files, as documented.
11586 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11588 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11589 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11592 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11594 * term/ns-win.el (ns-get-selection-internal)
11595 (ns-store-selection-internal): Declare.
11596 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11597 Declare as obsolete.
11598 (ns-get-pasteboard, ns-paste-secondary):
11599 Use ns-get-selection-internal.
11600 (ns-set-pasteboard, ns-copy-including-secondary):
11601 Use ns-store-selection-internal.
11603 2011-12-17 Chong Yidong <cyd@gnu.org>
11605 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11606 (vc-deduce-fileset): Doc fix.
11608 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11610 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11612 2011-12-13 Sam Steingold <sds@gnu.org>
11614 * man.el (Man-getpage-in-background): When running under a
11615 window-system, ignore $MANWIDTH and $COLUMNS.
11617 2011-12-15 Kenichi Handa <handa@m17n.org>
11619 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11620 (setup-ethiopic-environment-internal): Comment out key-binding for
11621 ethio-toggle-punctuation.
11623 2011-12-13 Alan Mackenzie <acm@muc.de>
11625 Add the switch statement to AWK Mode.
11627 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11628 "default" to the keywords regexp.
11630 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11631 expression as the rest.
11632 (c-nonlabel-token-key): Allow string literals for AWK.
11633 Refactor for the other modes.
11635 Large brace-block initialisation makes CC Mode slow: Fix.
11636 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11637 routines. Limit backward searching in c-font-lock-enclosing.decl.
11639 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11640 pp-state and literal type in addition to the limits.
11641 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11642 (c-state-literal-at): Use the above new defun.
11643 (c-slow-in-literal, c-fast-in-literal): Remove.
11644 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11646 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11647 being in a literal. Add a limit for backward searching.
11649 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11652 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11654 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11656 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11658 * window.el (delete-other-windows): Use correct frame in call to
11659 window-with-parameter.
11661 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11663 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11664 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11665 (makefile-gmake-statements, makefile-makepp-statements):
11666 Use it and add new makepp keywords.
11667 (makefile-makepp-font-lock-keywords): Add new patterns.
11668 (makefile-match-function-end): Match new [...] and [[...]].
11670 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11672 * ses.el (ses-call-printer-return, ses-cell-property-get)
11673 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11674 (ses-create-cell-variable, ses-reset-header-string)
11675 (ses-cell-set-formula, ses-repair-cell-reference-all)
11676 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11677 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11678 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11679 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11680 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11681 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11682 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11683 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11684 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11685 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11686 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11687 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11689 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11691 * ses.el: The overall change is to add cell renaming, that is
11692 setting fancy names for cell symbols other than name matching
11693 "\\`[A-Z]+[0-9]+\\'" regexp .
11694 (ses-create-cell-variable): New defun.
11695 (ses-relocate-formula): Relocate formulas only for cells the
11696 symbols of which are not renamed, i.e. symbols whose names do not
11697 match regexp "\\`[A-Z]+[0-9]+\\'".
11698 (ses-relocate-all): Relocate values only for cells the symbols of
11699 which are not renamed.
11700 (ses-load): Create cells variables as the (ses-cell ...) are read,
11701 in order to check row col consistency with cell symbol name only
11702 for cells that are not renamed.
11703 (ses-replace-name-in-formula): New defun.
11704 (ses-rename-cell): New defun.
11706 2011-12-11 Chong Yidong <cyd@gnu.org>
11708 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11709 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11711 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11713 * window.el (other-window): Fix docstring.
11715 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11717 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11718 `from' or `to' address before taking its substring.
11719 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11720 encoded name is chopped in the middle of the encoded string, and
11721 thus displayed encoded.
11723 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11725 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11727 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11729 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11730 to use texinfo-update-node and commands that call it if the
11731 Texinfo file uses @node lines without next/prev/up pointers.
11732 Correct outdated description about texinfo-master-menu.
11733 (texinfo-all-menus-update, texinfo-master-menu)
11734 (texinfo-update-node, texinfo-every-node-update)
11735 (texinfo-multiple-files-update): Doc fix. Warn against updating
11736 all the @node lines.
11737 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11738 argument is numeric. Explain better in the doc string what the
11739 function really does.
11740 (texinfo-insert-master-menu-list): Improve the error message
11741 displayed if there's no menu in the Top node.
11742 (Bug#2975) See also this thread:
11743 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11745 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11747 * speedbar.el (speedbar-supported-extension-expressions):
11748 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11750 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11752 * printing.el (pr-mode-alist):
11753 * simple.el (filter-buffer-substring-functions)
11754 (completion-list-insert-choice-function):
11755 * window.el (window-with-parameter, window-atom-root)
11756 (window-sides-slots, window-size-fixed, window-min-delta)
11757 (window-max-delta, window--resize-mini-window)
11758 (window--resize-child-windows-normal, window-tree)
11759 (delete-other-windows, quit-window, split-window)
11760 (display-buffer-record-window, special-display-buffer-names)
11761 (special-display-regexps, special-display-popup-frame)
11762 (same-window-p, split-window-sensibly)
11763 (display-buffer-overriding-action, display-buffer-alist)
11764 (display-buffer-base-action, display-buffer, switch-to-buffer)
11765 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11766 (fit-window-to-buffer, recenter-positions)
11767 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11768 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11769 and remove unneeded backslashes in docstrings.
11771 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11773 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11775 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11776 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11778 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11779 when reading the makefile (bug#10116).
11781 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11786 2011-12-06 Glenn Morris <rgm@gnu.org>
11788 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11790 2011-12-06 Chong Yidong <cyd@gnu.org>
11792 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11794 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11796 * textmodes/table.el (table-shorten-cell): Fix typo.
11798 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11800 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11802 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11804 * descr-text.el (describe-char): Fix display of strong
11805 right-to-left characters and directional embeddings and overrides.
11807 * simple.el (what-cursor-position): Fix display of codepoints of
11808 strong right-to-left characters.
11810 2011-12-05 Chong Yidong <cyd@gnu.org>
11812 * faces.el (read-color): Doc fix.
11814 2011-12-05 Glenn Morris <rgm@gnu.org>
11816 * align.el (align--set-marker): Add doc-string.
11817 Don't try to move something that is not a marker. (Bug#10216)
11819 2011-12-04 Glenn Morris <rgm@gnu.org>
11821 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11822 overly zealous deletion of trailing whitespace.
11824 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11826 * server.el (server-delete-client): On Windows, do not try to delete
11828 (server-process-filter): On Windows, treat requests for a tty frame as
11829 if they were for a GUI frame if the running server is in GUI mode.
11831 2011-12-03 Glenn Morris <rgm@gnu.org>
11833 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11835 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * electric.el: Streamline electric-indent's hook.
11838 (electric-indent-chars): Revert to simple list.
11839 (electric-indent-functions): New var.
11840 (electric-indent-post-self-insert-function): Use it.
11842 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11843 there's no inferior buffer (bug#10196).
11844 (prolog-consult-compile): Don't use toggle-read-only.
11846 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11848 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11849 interrupt. (Bug#10187)
11851 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11853 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11856 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11859 2011-12-02 Juri Linkov <juri@jurta.org>
11861 * info.el (Info-search): Display "end of manual" when Isearch
11862 reaches the end of single-file Info manual. (Bug#9918)
11864 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11866 * isearch.el (isearch-message-prefix): Run the input method part
11867 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11869 2011-12-02 Juri Linkov <juri@jurta.org>
11871 * isearch.el (isearch-occur): Use `word-search-regexp' for
11873 (isearch-search-and-update): Add condition for `isearch-word' and
11874 call `word-search-regexp'. (Bug#10145)
11876 2011-12-01 Glenn Morris <rgm@gnu.org>
11878 * eshell/em-hist.el (eshell-hist-initialize):
11879 Handle eshell-history-size nil and HISTSIZE set or unset.
11880 (eshell-history-file-name, eshell-history-size): Fix custom type.
11882 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11886 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11888 * progmodes/verilog-mode.el (verilog-pretty-expr):
11889 Rework verilog-pretty-expr to handle new assignment operators in system
11890 verilog, such as += *= and the like.
11891 (verilog-assignment-operator-re): Regular expression to find the
11892 assigment operator in a verilog assignment.
11893 (verilog-assignment-operation-re): Regular expression to find an
11894 assignment statement for pretty-expr.
11895 (verilog-in-attribute-p): Query returns true if point is in an
11896 attribute context; used to skip these for expression line up from
11898 (verilog-in-parameter-p): Query returns true if point is in an
11899 parameter definition context; used to skip these for expression
11900 line up from pretty-expr.
11901 (verilog-in-parenthesis-p): Query returns true if point is in a
11902 parenthetical expression, specifically ( ) but not [ ] or { };
11903 used by pretty-expr.
11904 (verilog-just-one-space): If there is no space, don't add one.
11905 (verilog-get-lineup-indent-2): Specifically skip just attribute
11906 contexts for expression lineup, rather than skipping all
11907 parenthetical expressions.
11908 (verilog-calculate-indent): Fix comment, and fix indent.
11909 (verilog-do-indent): Indent declarations in lists (suggested by
11911 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11913 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11916 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11918 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11919 parameters with embedded comments. Reported by Ray Stevens.
11920 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11921 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11922 Reported by Tim Holt.
11923 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11924 instantiated by upper module causing wrong expansion until AUTOed a
11925 second time. Reported by K C Buckenmaier.
11926 (verilog-diff-auto): Fix showing .* as a difference when
11927 `verilog-auto-star-save' off. Reported by Dan Dever.
11928 (verilog-auto-reset, verilog-read-always-signals)
11929 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11930 temporary signals in reset list if
11931 verilog-auto-reset-blocking-in-non is nil, and match assignment
11932 style to each signal's assignment type, bug381.
11933 Reported by Thomas Esposito.
11934 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11935 (verilog-uvm-statement-re): Support UVM indentation and
11936 highlighting, with old OVM keywords only.
11937 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11938 Support AUTOTIEOFF creating non-wire data types.
11939 Suggested by Jonathan Greenlaw.
11940 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11941 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11942 (verilog-inject-sense, verilog-read-inst-pins)
11943 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11944 Fix mismatching parenthesis inside commented out code when deleting
11945 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11946 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11947 non-numeric vector width. Reported by Alex Reed.
11948 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11949 detecting signals with parameter widths. Reported by Alex Reed.
11950 (verilog-auto-delete-trailing-whitespace):
11951 With `verilog-auto-delete-trailing-whitespace' remove trailing
11952 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11953 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11954 Fix verilog-scan-cache corruption when running user AUTO expansion
11955 hooks that call indentation routines.
11956 (verilog-simplify-range-expression): Fix typo ignoring lower case
11958 (verilog-delete-auto): Fix delete-autos to also remove user created
11959 automatics, as long as they start with AUTO.
11960 (verilog-batch-diff-auto, verilog-diff-auto)
11961 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11962 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11963 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11964 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11965 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11966 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11967 is disabled and its cache will get corrupt, causing AUTOS not to
11968 expand. Instead use only -quick functions.
11969 (verilog-scan-region): Fix scanning over escaped quotes.
11970 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11971 (verilog-re-search-backward-quick)
11972 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11973 related functions now ignore strings, to fix misparsing of strings
11974 with magic comments embedded in them.
11975 (verilog-read-auto-template):
11976 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11977 Reported by Brad Dobbie.
11978 (verilog-read-auto-template):
11979 Fix 'verilog-auto-inst-template-numbers' with comments.
11980 Reported by Brad Dobbie.
11981 (verilog-auto-inst, verilog-auto-inst-param)
11982 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11983 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11984 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11985 debugging templates without merge conflicts, bug357.
11986 Reported by Brad Dobbie.
11987 (verilog-read-auto-template):
11988 Fix verilog-auto-inst-template-numbers with multiple templates.
11989 Reported by Brad Dobbie.
11990 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11991 abbrevs so user won't be asked to save.
11992 (verilog-read-auto-lisp-present): Fix to start at beginning of
11993 buffer in case called outside of verilog-auto.
11994 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11995 to "X-2". Reported by Matthew Myers.
11996 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11997 all inputs from module templates. Reported by Leith Johnson.
11998 (verilog-module-inside-filename-p): Fix locating programs as with
12000 (verilog-auto-inst-port): Fix vl-width expressions when using
12001 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12002 (verilog-decls-get-regs, verilog-decls-get-signals,
12003 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12004 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12005 verilog-read-decls): Combine reg and wire structures into one var
12006 structure to represent SystemVerilog concepts.
12007 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12008 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12009 (verilog-auto-wire-type, verilog-insert-definition):
12010 Add verilog-auto-wire-type and AUTOLOGIC to support using
12011 SystemVerilog "logic" keyword instead of "wire"/"reg".
12012 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12013 to declares outputs that also have assignments (presumably in an
12014 ifdef or generate if so there's not a driver conflict).
12015 Reported by Matthew Myers.
12016 (verilog-auto-declare-nettype, verilog-insert-definition):
12017 Add verilog-auto-declare-nettype to fix declarations using
12018 `default_nettype none. Reported by Julian Gorfajn.
12019 (verilog-read-always-signals-recurse, verilog-read-decls)
12020 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12021 malformed end statement, bug325. Reported by Joshua Wise and
12023 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12024 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12025 when expanding .* in interfaces, bug320.
12026 Reported by Pierre-David Pfister.
12027 (verilog-read-module-name): Fix import statements between module
12028 name and open parenthesis, bug317.
12029 Reported by Pierre-David Pfister.
12030 (verilog-simplify-range-expression): Fix simplification of
12031 multiplications inside AUTOWIRE connections, bug303.
12032 (verilog-auto-inst-port): Support parameter expansion in
12033 multidimensional arrays.
12034 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12035 after "assert property". Reported by Julian Gorfajn.
12036 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12037 with multiplication, bug303.
12038 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12039 Reported by Jan Frode Lonnum.
12041 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12043 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12044 (hfy-shell-file-name, hfy-shell):
12045 * international/fontset.el (x-decompose-font-name): Fix typos.
12047 2011-11-29 Ken Brown <kbrown@cornell.edu>
12049 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12050 (gdb-version): Remove defvar.
12051 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12052 (gdb-gud-context-command, gdb-non-stop-handler)
12053 (gdb-current-context-command, gdb-stopped): Use it.
12054 (gdb-init-1): Enable pretty printing here.
12055 (gdb-non-stop-handler): Don't enable pretty-printing here.
12056 Check to see if the target supports non-stop mode; if not, turn off
12057 non-stop mode. Use the following.
12058 (gdb-check-target-async): New defun.
12059 (gud-watch, gdb-stopped): Fix whitespace.
12060 (gdb-get-source-file): Don't try to display the source file if
12061 `gdb-main-file' is nil.
12063 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12065 * align.el: Try to generate fewer markers (bug#10047).
12066 (align--set-marker): New macro.
12067 (align-region): Use it.
12069 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12071 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12073 2011-11-29 Chong Yidong <cyd@gnu.org>
12075 * indent.el (indent-for-tab-command, indent-according-to-mode):
12077 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12079 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12081 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12082 aware of remote file names. (Bug#10124)
12084 2011-11-29 Chong Yidong <cyd@gnu.org>
12086 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12088 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12090 * files.el (find-file): Don't use force-same-window (bug#10144).
12091 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12092 use pop-to-buffer if the selected window can't be used.
12093 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12095 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12097 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12100 2011-11-28 Chong Yidong <cyd@gnu.org>
12102 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12104 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12106 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12107 gdb-get-source-file-list on gdb-create-source-file-list.
12109 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12111 * whitespace.el (whitespace-newline): Use a different foreground
12112 color for 16-color light-background displays.
12114 2011-11-24 Chong Yidong <cyd@gnu.org>
12116 * window.el (display-buffer--special-action): Doc fix.
12118 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12120 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12121 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12122 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12123 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12124 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12125 (avl-tree-stack-first):
12126 * emacs-lisp/cconv.el (cconv--analyse-use):
12127 * net/gnutls.el (gnutls-negotiate): Fix typos.
12129 2011-11-24 Glenn Morris <rgm@gnu.org>
12131 * lpr.el (lpr-windows-system, lpr-lp-system):
12132 * mail/binhex.el (binhex-begin-line):
12133 * progmodes/grep.el (grep-history, grep-find-history):
12134 * textmodes/flyspell.el:
12135 * vc/pcvs-defs.el (cvs-global-menu):
12136 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12137 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12138 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12140 * net/tls.el: Fix case of "GnuTLS".
12142 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12144 * version.el (emacs-build-system): Give it a doc-string.
12146 2011-11-24 Juri Linkov <juri@jurta.org>
12148 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12150 2011-11-24 Glenn Morris <rgm@gnu.org>
12152 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12153 if called on a non-mime message just toggle the headers. (Bug#8006)
12155 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12157 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12158 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12159 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12160 (allout-rebullet-heading, allout-open-sibtopic)
12161 (allout-toggle-current-subtree-encryption)
12162 (allout-toggle-subtree-encryption, allout-encrypt-string)
12163 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12164 (allout-distinctive-bullets-string, allout-auto-activation):
12165 * window.el (window-normalize-buffer-to-display):
12166 * progmodes/verilog-mode.el (verilog-batch-indent):
12167 * textmodes/bibtex.el (bibtex-field-braces-opt)
12168 (bibtex-field-strings-opt):
12169 * vc/cvs-status.el (cvs-tree-merge):
12172 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12174 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12175 `non-essential' to t, in order to avoid remote connections.
12177 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12179 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12180 On MS-DOS and MS-Windows, compare with loaddefs.el
12181 case-insensitively.
12183 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12185 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12187 2011-11-23 Glenn Morris <rgm@gnu.org>
12189 * paths.el (rmail-file-name): Reformat the doc-string so that it
12192 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12193 (rmail-auto-file): Ignore case in the "special" field names,
12194 as mail-fetch-field does for all others.
12196 * mail/rmail.el (rmail-forward):
12197 * mail/rmailkwd.el (rmail-set-label):
12198 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12199 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12201 * mail/rmail.el (rmail-current-message): Doc fix.
12203 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12205 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12207 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12209 2011-11-22 Glenn Morris <rgm@gnu.org>
12211 * mail/rmailmm.el (test-rmail-mime-handler)
12212 (test-rmail-mime-bulk-handler)
12213 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12215 2011-11-21 Juri Linkov <juri@jurta.org>
12217 * calc/calc.el (calc-read-key-sequence):
12218 Let-bind `input-method-function' to nil. (Bug#10018)
12220 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12222 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12223 Tell the caller that the next line needs recomputation, even
12224 though it doesn't start a sexp (bug#10094).
12226 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12228 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12230 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12233 Use force-same-window.
12235 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12237 * descr-text.el (describe-char-unicode-data):
12238 * json.el (json-string-escape):
12239 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12240 (Footnote-unicode, Footnote-style-p):
12241 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12243 2011-11-20 Chong Yidong <cyd@gnu.org>
12245 * window.el (replace-buffer-in-windows): Restore interactive spec.
12247 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12249 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12251 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12252 (byte-compile-global-not-obsolete-vars): New var.
12253 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12255 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12257 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12259 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12260 * progmodes/pascal.el (electric-pascal-equal):
12261 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12262 * xml.el (xml-substitute-special): Fix typos.
12264 2011-11-20 Glenn Morris <rgm@gnu.org>
12266 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12267 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12269 (rmail-decode-mime-charset): Mark as obsolete.
12271 * mail/rmailsum.el (rmail-message-regexp-p-1):
12272 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12273 Before using mime functions, check they are set. (Bug#10077)
12275 2011-11-19 Juri Linkov <juri@jurta.org>
12277 * info.el (Info-finder-find-node): Use `package--builtins' instead
12278 of `package-alist'. Use node names formed by the pattern "Keyword "
12279 and the keyword name.
12281 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12283 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12285 2011-11-19 Juri Linkov <juri@jurta.org>
12287 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12288 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12289 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12290 `old-history', `old-history-forward'. Add let-binding
12291 `window-selected'. Remove calls to `kill-buffer',
12292 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12293 before calling `Info-find-node', so `Info-find-node-2' will reread
12294 the Info file. Restore window positions only when `window-selected'
12297 2011-11-19 Juri Linkov <juri@jurta.org>
12299 * isearch.el (isearch-lazy-highlight-new-loop):
12300 Remove condition `(not isearch-error)'. (Bug#9918)
12302 * misearch.el (multi-isearch-search-fun): Add condition
12303 `(not bound)' to ignore lazy-highlighting search.
12304 Add the search-failed message "end of multi" when the end of
12305 multi-sequence is reached. Uncapitalize the search-failed
12306 message "Repeat for next buffer".
12308 * info.el (Info-search): Add the search-failed message
12309 "end of the manual" when the end of the manual is reached
12312 2011-11-19 Juri Linkov <juri@jurta.org>
12314 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12315 Use non-destructive `remove' instead of `delete' because
12316 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12317 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12319 2011-11-19 Juri Linkov <juri@jurta.org>
12321 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12322 to nil instead of binding `search-ring' and `regexp-search-ring'.
12325 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12327 * simple.el (line-move): Force movement by logical lines for any
12328 hscrolled window, not only when auto-hscroll-mode is on.
12329 (line-move-visual): Update doc string to that effect. (Bug#10076)
12331 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12333 * language/european.el (macintosh): Define as alias for mac-roman.
12335 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12337 * mail/rmailmm.el (rmail-mime-display-header)
12338 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12339 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12340 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12341 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12342 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12344 (rmail-mime-entity-segment): To get past the tagline, move forward
12345 2 more lines, to account for the 2 empty lines that precede and
12346 follow the line with the buttons.
12347 (rmail-mime-update-tagline): Move one more line, to get past the
12348 empty line that follows the buttons in the tagline. (Bug#9520)
12350 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12352 * window.el (window-max-delta-1, window-min-delta-1)
12353 (window-min-size-1, window-state-get-1, window-state-put-1)
12354 (window-state-put-2): Use "window--" prefix.
12356 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12358 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12359 (smie-warning-count): New var.
12360 (smie-set-prec2tab): Use it.
12361 (smie-bnf->prec2): Improve warnings. Add docstring.
12362 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12363 (smie-bnf--set-class): New function.
12364 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12367 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12368 (compilation-error-properties, compilation-move-to-column):
12369 Handle compilation-first-column while in the target buffer.
12371 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12372 Don't hardcode point-min==1.
12374 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12375 (eshell-rewrite-for-command): Remove workaround.
12376 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12377 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12378 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12380 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12382 2011-11-17 Glenn Morris <rgm@gnu.org>
12384 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12385 Ignore buffer-local generated-autoload-file if it is the same
12386 as the global value. (Bug#10049)
12388 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12390 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12391 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12392 (reftex-toc-previous-heading, reftex-toc-max-level)
12393 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12394 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12395 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12396 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12397 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12398 (reftex-toc-rename-label, reftex-toc-visit-location)
12399 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12400 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12401 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12402 leaving "*toc*" only for references to the buffer.
12404 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12406 * window.el (window-resize, delete-window, split-window):
12407 Replace window-splits by window-combination-resize.
12408 * cus-start.el (window-splits): Replace by window-combination-resize.
12410 2011-11-17 Glenn Morris <rgm@gnu.org>
12412 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12413 Make bash entry derive from sh entry, not shell entry.
12415 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12417 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12420 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12422 * menu-bar.el (menu-bar-file-menu):
12423 * printing.el (pr-ps-utility):
12424 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12425 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12426 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12427 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12428 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12429 (icalendar--convert-cyclic-to-ical)
12430 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12431 (icalendar--convert-ical-to-diary)
12432 (icalendar--convert-recurring-to-diary)
12433 (icalendar--convert-non-recurring-all-day-to-diary)
12434 (icalendar-import-format-sample):
12435 * progmodes/idlw-shell.el (idlwave-shell-mode):
12436 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12437 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12438 (vhdl-ps-print-init): Fix typos.
12440 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12442 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12443 FSF and collapse date sequence, obscure author/maintainer email address
12444 better, remove extra version line, track relocation of author's webpage.
12446 * progmodes/python.el (python-pdbtrack-input-prompt)
12447 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12448 regular python pdb prompts. Adjustments shamelessly taken exactly as
12449 suggested in EmacsWiki page (tiny change):
12450 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12452 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12454 * expand.el (expand-pos, expand-index, expand-point):
12455 Remove redundant info from docstring.
12456 (expand-add-abbrevs): Doc fix.
12457 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12458 (expand-sample-perl-mode-expand-list): Fix typos.
12460 * net/dbus.el (dbus-event-member-name):
12461 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12462 * term/pc-win.el (msdos-create-frame-with-faces):
12463 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12465 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12467 * window.el (split-window, window-state-get-1)
12468 (window-state-put-1, window-state-put-2): Rename occurrences of
12469 window-nest to window-combination-limit.
12470 * cus-start.el (window-nest): Rename to window-combination-limit.
12472 2011-11-16 Chong Yidong <cyd@gnu.org>
12474 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12475 regexp (Bug#10033).
12477 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12480 `completing-read' will remove *Completions* and will preserve
12481 current-buffer for us.
12482 (tmm-add-prompt): Users of *Completions* will always (re)set its
12484 (tmm-old-comp-map): Remove.
12486 2011-11-16 Glenn Morris <rgm@gnu.org>
12488 * mail/rmailedit.el: Require rmailmm when compiling.
12489 (rmail-old-mime-state): New declaration.
12490 (rmail-edit-current-message): If editing a mime message,
12491 edit the "raw" message from the mbox buffer.
12492 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12494 2011-11-15 Glenn Morris <rgm@gnu.org>
12496 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12497 which wasn't being used. Add optional arg to force given state.
12498 (rmail-mime): Add optional arg to force given state.
12500 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12502 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12503 * frame.el (display-mm-dimensions-alist):
12504 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12505 (outline-move-subtree-down):
12506 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12507 (newsticker--treeview-do-get-node):
12508 * net/quickurl.el (quickurl-list-buffer-name):
12509 * progmodes/dcl-mode.el (dcl-mode):
12510 * progmodes/gdb-mi.el (gdb-mapcar*):
12511 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12513 2011-11-15 Glenn Morris <rgm@gnu.org>
12515 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12516 in a boolean sense, so just make it a boolean, and fix the doc.
12517 (rmail-show-mime-function, rmail-mime-feature)
12518 (rmail-require-mime-maybe): Doc fixes.
12519 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12521 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12523 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12525 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12526 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12527 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12528 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12530 2011-11-15 Glenn Morris <rgm@gnu.org>
12532 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12533 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12534 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12535 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12536 (rmail-mime, rmail-show-mime): Doc fixes.
12538 * term/ns-win.el (mode-line-frame-identification):
12539 Leave it alone. (Bug#10051)
12541 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12543 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12544 Handle empty buffers. (Bug#9978)
12546 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12548 * international/mule.el (define-charset):
12549 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12550 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12551 * progmodes/verilog-mode.el (verilog-backward-token):
12552 * textmodes/ispell.el (lookup-words):
12553 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12555 2011-11-14 Glenn Morris <rgm@gnu.org>
12557 * progmodes/executable.el
12558 (executable-make-buffer-file-executable-if-script-p):
12559 Handle file-modes returning nil.
12561 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12562 message - not necessary, and causes problems. (Bug#9831)
12564 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12566 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12568 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12569 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12570 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12572 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12574 * window.el (window-resize, delete-window): Use window-splits
12575 variable instead of function.
12576 (window-state-get-1, window-state-put-2, window-state-put):
12577 Don't deal with windows' splits status.
12579 2011-11-12 Glenn Morris <rgm@gnu.org>
12581 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12582 (apropos-documentation): Doc fixes.
12584 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12586 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12587 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12589 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12591 * electric.el (electric-indent-post-self-insert-function): Make it
12592 possible for a char to only indent in some circumstances.
12593 (electric-indent-mode): Simplify.
12595 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12597 * window.el (windows-with-parameter): Remove unused function.
12598 (windows-at-side): Rename to window-at-side-list.
12599 (window-check, window-atom-check, window-atom-check-1)
12600 (window-side-check, window-size-ignore, window-size-fixed-1)
12601 (window-in-direction-2): Prefix with "window--".
12602 (window-tree-1): Rename to window--subtree, fix doc-string.
12604 2011-11-11 Glenn Morris <rgm@gnu.org>
12606 * subr.el (eval-after-load): If FILE is already loaded,
12607 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12609 2011-11-10 Glenn Morris <rgm@gnu.org>
12611 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12612 Call svn via vc-svn-command rather than vc-do-command.
12613 (vc-svn-command): Add --non-interactive. (Bug#9993)
12614 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12616 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12617 Add toggle-read-only. (Bug#7292)
12618 * files.el (toggle-read-only): Mention that it should only
12619 be used interactively. (Bug#10006)
12621 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12624 Adjust regexp for OCaml warnings.
12626 * electric.el (electric-pair-post-self-insert-function): Let user
12627 turn it off buffer-locally (bug#9932).
12629 * progmodes/python.el (python-beginning-of-statement):
12630 Rewrite (bug#2703).
12632 * progmodes/compile.el: Better handle TABs (bug#9749).
12633 (compilation-internal-error-properties)
12634 (compilation-next-error-function): Obey the target buffer's
12635 compilation-error-screen-columns.
12637 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12639 * progmodes/meta-mode.el: Remove obsolete comments.
12640 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12641 Fix typos in docstrings.
12643 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12645 * window.el (window-size-fixed-p): Rewrite doc-string.
12646 (window-resizable-p): Rename to window--resizable-p. Update callers.
12647 (window--resizable): New function. Make all callers of
12648 window-resizable call window--resizable instead.
12649 (window-resizable): Rewrite in terms of window--resizable.
12651 2011-11-08 Glenn Morris <rgm@gnu.org>
12653 * progmodes/delphi.el (delphi-mode-syntax-table):
12654 Let define-derived-mode define a proper syntax table. (Bug#9994)
12656 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * window.el: Stay away from defsubst.
12659 (window-list-no-nils): Remove.
12660 (window-state-get-1, window-state-get): Use backquote instead.
12662 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12664 * emacs-lisp/find-func.el (find-function-read):
12665 Fix incorrect use of default argument in `completing-read'.
12667 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12669 * window.el (display-buffer-function, special-display-function):
12670 Mention display-buffer-record-window but do not mention
12671 help-setup parameter in doc-strings.
12672 (window-min-delta): Fix doc-string typo.
12674 2011-11-08 Chong Yidong <cyd@gnu.org>
12676 * window.el (window-total-height, window-total-width): Doc fix.
12677 (window-body-size): Move from C.
12678 (window-body-height, window-body-width): Move to C.
12680 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12682 * window.el: Make special-display like display-buffer-alist (bug#9532).
12683 (display-buffer--special-action): New function, morphed
12684 from display-buffer--special.
12685 (display-buffer): Use it to handle special-display-buffers at higher
12686 priority (just after display-buffer-alist).
12687 (display-buffer-fallback-action, display-buffer--other-frame-action)
12688 (pop-to-buffer-same-window): Remove display-buffer--special.
12690 2011-11-07 Glenn Morris <rgm@gnu.org>
12692 * calendar/cal-menu.el (cal-menu-set-date-title):
12693 Do nothing if not in a calendar. (Bug#9976)
12695 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * files.el (find-file): Always use selected-window.
12699 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12701 * window.el (window-combinations): Make WINDOW argument
12702 mandatory. Rewrite doc-string.
12703 (walk-window-subtree, window-atom-check, window-min-delta)
12704 (window-max-delta, window--resize-this-window)
12705 (window--resize-root-window-vertically, window-tree)
12706 (balance-windows, window-state-put): Rewrite doc-strings as to
12707 not mention the term "subwindow".
12708 (window--resize-subwindows-skip-p): Rename to
12709 window--resize-child-windows-skip-p.
12710 (window--resize-subwindows-normal): Rename to
12711 window--resize-child-windows-normal.
12712 (window--resize-subwindows): Rename to
12713 window--resize-child-windows.
12714 (window-or-subwindow-p): Rename to window--in-subtree-p.
12716 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12718 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12719 Ensure that mbox format messages end in two newlines (Bug#9974).
12721 2011-11-06 Chong Yidong <cyd@gnu.org>
12723 * window.el (window-combination-p): Function deleted; its
12724 side-effect is not used in any existing code.
12725 (window-combinations, window-combined-p): Call window-*-child
12728 2011-11-05 Chong Yidong <cyd@gnu.org>
12730 * window.el (window-valid-p): Rename from window-any-p.
12731 (window-size-ignore, window-state-get): Callers changed.
12732 (window-normalize-window): Rename from window-normalize-any-window.
12733 New arg LIVE-ONLY, replacing window-normalize-live-window.
12734 (window-normalize-live-window): Delete.
12735 (window-combination-p, window-combined-p, window-combinations)
12736 (walk-window-subtree, window-atom-root, window-min-size)
12737 (window-sizable, window-sizable-p, window-size-fixed-p)
12738 (window-min-delta, window-max-delta, window-resizable)
12739 (window-resizable-p, window-full-height-p, window-full-width-p)
12740 (window-current-scroll-bars, window-point-1, set-window-point-1)
12741 (window-at-side-p, window-in-direction, window-resize)
12742 (adjust-window-trailing-edge, maximize-window, minimize-window)
12743 (window-deletable-p, delete-window, delete-other-windows)
12744 (record-window-buffer, unrecord-window-buffer)
12745 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12746 (quit-window, split-window, window-state-put)
12747 (set-window-text-height, fit-window-to-buffer)
12748 (shrink-window-if-larger-than-buffer): Callers changed.
12750 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12752 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12753 rfc2047-decode-string.
12754 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12757 * window.el (window-body-height, window-body-width): Mention in
12758 the doc string that the return values are in frame's canonical
12761 2011-11-03 Alan Mackenzie <acm@muc.de>
12763 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12764 change in cc-engine.el.
12766 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12768 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12770 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12772 * window.el (quit-window): Call unrecord-window-buffer after
12773 showing another buffer in the window. (Bug#9937)
12774 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12776 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12778 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12779 Accept status with more than 9 shelves. (Bug#9935)
12780 Reported by Colin D Bennett <colin@gibibit.com>.
12782 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12784 * help.el (with-help-window): Don't reference
12785 temp-buffer-show-specifiers in doc-string.
12787 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12789 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12792 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12794 * whitespace.el: New version 13.2.2.
12795 (whitespace-newline-mode): Disable properly. Reported by Sarah
12798 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12800 * net/newst-treeview.el: Remove "Time-stamp".
12801 (newsticker--group-manage-orphan-feeds): Do not call
12802 newsticker--treeview-tree-update.
12803 (newsticker-treeview-update, newsticker-treeview):
12804 Call newsticker--treeview-tree-update if necessary.
12806 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12808 * window.el (window-iso-combination-p, window-iso-combined-p)
12809 (window-iso-combinations): Remove "iso-" infix.
12810 Suggested by Chong Yidong.
12811 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12812 (window-max-delta-1, window-resize, window--resize-siblings)
12813 (window--resize-this-window, adjust-window-trailing-edge)
12814 (split-window, balance-windows-1)
12815 (shrink-window-if-larger-than-buffer):
12816 * calendar/calendar.el (calendar-generate-window):
12817 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12819 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12822 in place (bug#9907).
12823 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12824 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12825 (eshell-structure-basic-command, eshell-rewrite-while-command)
12826 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12827 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12828 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12829 (eshell-do-pipelines-synchronously, eshell-eval-command):
12830 Use backquotes and prefer setq to set.
12831 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12832 (eshell-macrop): Use functionp.
12833 (eshell-do-eval): Handle multiple expressions in `while' body.
12835 2011-10-30 Chong Yidong <cyd@gnu.org>
12837 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12838 instead of set-mark (Bug#9810).
12840 2011-10-30 Chong Yidong <cyd@gnu.org>
12842 * window.el (split-window-below, split-window-right): Rename from
12843 split-window-above-each-other and split-window-side-by-side
12844 respectively. All callers changed.
12845 (split-window-sensibly, split-window-sensibly): Use them.
12846 (split-window-keep-point): Doc fix.
12848 * isearch.el: Add isearch-scroll property to split-window-below
12849 and split-window-right.
12851 * follow.el (follow-mode):
12852 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12853 * progmodes/ada-xref.el (ada-gdb-application):
12854 * emulation/vip.el (vip-buffer-in-two-windows):
12855 * image-dired.el (image-dired-dired-with-window-configuration):
12856 * dired-x.el (dired-do-find-marked-files):
12857 * dired.el (dired-pop-to-buffer):
12858 * bs.el (bs--show-with-configuration):
12859 * vc/emerge.el (emerge-setup-windows):
12860 * textmodes/two-column.el (2C-two-columns):
12861 * textmodes/reftex-toc.el (reftex-toc):
12862 * progmodes/gdb-mi.el (gdb-setup-windows):
12863 * progmodes/fortran.el (fortran-window-create):
12864 * net/newst-treeview.el (newsticker--treeview-window-init):
12865 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12866 * emulation/tpu-edt.el (tpu-gold-map):
12867 * emulation/crisp.el (crisp-mode-map):
12868 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12870 2011-10-29 Chong Yidong <cyd@gnu.org>
12872 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12874 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12876 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12877 forged Ispell output (Bug#7904).
12879 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12881 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12883 * doc-view.el: Avoid ugly errors about not finding nil.
12884 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12885 (doc-view-dvipdf-program, doc-view-unoconv-program)
12886 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12887 Avoid nil or absolute file name as default value.
12888 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12890 2011-10-28 Alan Mackenzie <acm@muc.de>
12892 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12894 2011-10-28 Alan Mackenzie <acm@muc.de>
12896 Amend the handling of c-beginning/end-of-defun in nested declaration
12899 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12900 cc-langs.el. Change it to a defcustom.
12902 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12905 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12906 Prevent "class foo : bar" being spuriously recognized as a label.
12908 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12909 Add parameter `inclusive' (to include enclosing braces in the region).
12910 (c-widen-to-enclosing-decl-scope): New function.
12911 (c-while-widening-to-decl-block): New macro.
12912 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12913 outward for defun boundaries, and correspondingly change symbol
12914 `respect-enclosure' to `go-outward'.
12915 (c-declaration-limits): Change algorithm to report only the "innermost"
12916 defun's boundaries.
12918 2011-10-28 Deniz Dogan <deniz@dogan.se>
12920 * net/rcirc.el (rcirc-mode): Use hard newlines.
12922 2011-10-28 Alan Mackenzie <acm@muc.de>
12924 Amend to indent and fontify macros "which include their own semicolon"
12925 correctly, using the "virtual semicolon" mechanism.
12927 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12929 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12930 Recode to scan one line at a time rather than having \n and \r
12931 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12932 (c-forward-label): Amend for virtual semicolons.
12933 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12935 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12936 of the new C macros.
12938 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12939 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12940 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12941 (c-opt-cpp-macro-define): Make into a full language variable.
12942 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12943 AWK Mode (including \n, \r) removed, no longer needed.
12945 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12946 Invoke c-make-macro-with-semi-re.
12948 * progmodes/cc-vars.el (c-macro-with-semi-re):
12949 (c-macro-names-with-semicolon): New variables.
12950 (c-make-macro-with-semi-re): New function.
12952 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * vc/log-edit.el: Fill empty field rather than adding new one.
12955 (log-edit-add-field): New function.
12956 (log-edit-insert-changelog): Use it.
12958 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12960 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12962 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12964 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12965 (gdb--check-interpreter): New function.
12968 2011-10-27 Glenn Morris <rgm@gnu.org>
12970 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12971 (least-positive-float, least-negative-float)
12972 (least-positive-normalized-float, least-negative-normalized-float)
12973 (float-epsilon, float-negative-epsilon):
12974 Remove unnecessary declarations.
12976 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12977 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12978 (least-positive-float, least-negative-float)
12979 (least-positive-normalized-float, least-negative-normalized-float)
12980 (float-epsilon, float-negative-epsilon): Add doc-strings,
12981 based on those in cl.texi.
12983 * files.el (set-visited-file-name): If the major-mode changed,
12984 reload the local variables. (Bug#9796)
12986 2011-10-27 Chong Yidong <cyd@gnu.org>
12988 * subr.el (change-major-mode-after-body-hook): New hook.
12989 (run-mode-hooks): Run it.
12991 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12992 Use change-major-mode-before-body-hook.
12994 * simple.el (fundamental-mode):
12995 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12996 change introducing fundamental-mode-hook.
12998 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13000 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13002 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13004 * ido.el (ido-file-name-all-completions-1): Do not require
13005 tramp.el explicitly. (Bug#7583)
13007 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * progmodes/octave-mod.el:
13010 * progmodes/octave-inf.el: Update maintainer.
13012 2011-10-26 Chong Yidong <cyd@gnu.org>
13014 * subr.el (with-wrapper-hook): Rewrite doc.
13016 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13018 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13019 filenames "/method:foo:". (Bug#9793)
13021 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13023 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13026 2011-10-24 Glenn Morris <rgm@gnu.org>
13028 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13030 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13032 * notifications.el: Add the requirement of a running D-Bus session
13033 bus to the Commentary.
13035 2011-10-24 Juri Linkov <juri@jurta.org>
13037 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13038 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13041 2011-10-24 Juri Linkov <juri@jurta.org>
13043 * info.el (Info-following-node-name-re): Add newline to the list
13044 of allowed characters for leading space. (Bug#9824)
13046 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * progmodes/octave-inf.el (inferior-octave-mode-map):
13049 Fix C-c C-h binding.
13050 * progmodes/octave-mod.el (octave-help): Remove.
13052 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13054 Sync with Tramp 2.2.3.
13056 * net/tramp-cache.el (top): Pacify byte-compiler using
13057 `init-file-user' and `site-run-file'.
13059 * net/trampver.el: Update release number.
13061 2011-10-23 Chong Yidong <cyd@gnu.org>
13063 * files.el (toggle-read-only): Remove obsolete comment about
13066 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13067 for toggle-read-only. Note that this hasn't called vc-next-action
13068 since 2008-05-02, though it wasn't documented at the time.
13070 * vc/ediff-init.el (ediff-toggle-read-only-function):
13071 Use toggle-read-only.
13073 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13075 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13078 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13079 correct faulty logical expression.
13080 (c-parse-state-state, c-record-parse-state-state):
13081 (c-replay-parse-state-state): New defvar/defuns.
13082 (c-debug-parse-state): Use new functions.
13084 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13086 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13087 last fix. Use window-in-direction correctly.
13089 2011-10-21 Chong Yidong <cyd@gnu.org>
13091 * progmodes/idlwave.el (idlwave-mode):
13092 * progmodes/vera-mode.el (vera-mode): No need to set
13093 require-final-newline; that's done in prog-mode.
13094 Suggested by Stefan Monnier.
13096 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13098 * mouse.el (mouse-drag-window-above)
13099 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13100 (mouse-drag-mode-line-1, mouse-drag-header-line)
13101 (mouse-drag-vertical-line-rightward-window): Remove.
13102 (mouse-drag-line): New function.
13103 (mouse-drag-mode-line, mouse-drag-header-line)
13104 (mouse-drag-vertical-line): Call mouse-drag-line.
13105 * window.el (window-at-side-p, windows-at-side): New functions.
13107 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13109 * tar-mode.el (tar-grind-file-mode):
13110 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13112 2011-10-21 Chong Yidong <cyd@gnu.org>
13114 * progmodes/idlwave.el (idlwave-mode):
13115 * progmodes/vera-mode.el (vera-mode):
13116 Use mode-require-final-newline.
13118 2011-10-20 Glenn Morris <rgm@gnu.org>
13120 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13122 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13124 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13126 2011-10-20 Chong Yidong <cyd@gnu.org>
13128 * emulation/cua-base.el (cua-mode):
13129 * mail/footnote.el (footnote-mode):
13130 * mail/mailabbrev.el (mail-abbrevs-mode):
13131 * net/xesam.el (xesam-minor-mode):
13132 * progmodes/bug-reference.el (bug-reference-mode):
13133 * progmodes/cap-words.el (capitalized-words-mode):
13134 * progmodes/compile.el (compilation-minor-mode)
13135 (compilation-shell-minor-mode):
13136 * progmodes/gud.el (gud-tooltip-mode):
13137 * progmodes/hideif.el (hide-ifdef-mode):
13138 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13139 * progmodes/subword.el (subword-mode):
13140 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13141 * progmodes/which-func.el (which-function-mode):
13142 * term/tvi970.el (tvi970-set-keypad-mode):
13143 * term/vt100.el (vt100-wide-mode):
13144 * textmodes/flyspell.el (flyspell-mode):
13145 * textmodes/ispell.el (ispell-minor-mode):
13146 * textmodes/nroff-mode.el (nroff-electric-mode):
13147 * textmodes/paragraphs.el (use-hard-newlines):
13148 * textmodes/refill.el (refill-mode):
13149 * textmodes/reftex.el (reftex-mode):
13150 * textmodes/rst.el (rst-minor-mode):
13151 * textmodes/sgml-mode.el (html-autoview-mode)
13152 (sgml-electric-tag-pair-mode):
13153 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13154 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13155 * emulation/crisp.el (crisp-mode):
13156 * emacs-lisp/eldoc.el (eldoc-mode):
13157 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13158 minor mode behavior.
13160 2011-10-19 Juri Linkov <juri@jurta.org>
13162 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13163 the list of hard-coded chars with escape-glyph face.
13165 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13167 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13169 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13171 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13174 2011-10-19 Glenn Morris <rgm@gnu.org>
13176 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13177 Ignore ignored files. (Bug#9726)
13179 2011-10-19 Chong Yidong <cyd@gnu.org>
13181 Doc fix for minor modes, stating that an omitted argument enables
13182 the mode unconditionally when called from Lisp.
13184 * abbrev.el (abbrev-mode):
13185 * allout.el (allout-mode):
13186 * autoinsert.el (auto-insert-mode):
13187 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13188 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13189 (global-auto-revert-mode):
13190 * battery.el (display-battery-mode):
13191 * composite.el (global-auto-composition-mode)
13192 (auto-composition-mode):
13193 * delsel.el (delete-selection-mode):
13194 * desktop.el (desktop-save-mode):
13195 * dired-x.el (dired-omit-mode):
13196 * dirtrack.el (dirtrack-mode):
13197 * doc-view.el (doc-view-minor-mode):
13198 * double.el (double-mode):
13199 * electric.el (electric-indent-mode, electric-pair-mode):
13200 * emacs-lock.el (emacs-lock-mode):
13201 * epa-hook.el (auto-encryption-mode):
13202 * follow.el (follow-mode):
13203 * font-core.el (font-lock-mode):
13204 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13205 * help.el (temp-buffer-resize-mode):
13206 * hilit-chg.el (highlight-changes-mode)
13207 (highlight-changes-visible-mode):
13208 * hi-lock.el (hi-lock-mode):
13209 * hl-line.el (hl-line-mode, global-hl-line-mode):
13210 * icomplete.el (icomplete-mode):
13211 * ido.el (ido-everywhere):
13212 * image-file.el (auto-image-file-mode):
13213 * image-mode.el (image-minor-mode):
13214 * iswitchb.el (iswitchb-mode):
13215 * jka-cmpr-hook.el (auto-compression-mode):
13216 * linum.el (linum-mode):
13217 * longlines.el (longlines-mode):
13218 * master.el (master-mode):
13219 * mb-depth.el (minibuffer-depth-indicate-mode):
13220 * menu-bar.el (menu-bar-mode):
13221 * minibuf-eldef.el (minibuffer-electric-default-mode):
13222 * mouse-sel.el (mouse-sel-mode):
13223 * msb.el (msb-mode):
13224 * mwheel.el (mouse-wheel-mode):
13225 * outline.el (outline-minor-mode):
13226 * paren.el (show-paren-mode):
13227 * recentf.el (recentf-mode):
13228 * reveal.el (reveal-mode, global-reveal-mode):
13229 * rfn-eshadow.el (file-name-shadow-mode):
13230 * ruler-mode.el (ruler-mode):
13231 * savehist.el (savehist-mode):
13232 * scroll-all.el (scroll-all-mode):
13233 * scroll-bar.el (scroll-bar-mode):
13234 * server.el (server-mode):
13235 * shell.el (shell-dirtrack-mode):
13236 * simple.el (auto-fill-mode, transient-mark-mode)
13237 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13238 (line-number-mode, column-number-mode, size-indication-mode)
13239 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13240 * strokes.el (strokes-mode):
13241 * time.el (display-time-mode):
13242 * t-mouse.el (gpm-mouse-mode):
13243 * tool-bar.el (tool-bar-mode):
13244 * tooltip.el (tooltip-mode):
13245 * type-break.el (type-break-mode-line-message-mode)
13246 (type-break-query-mode):
13247 * view.el (view-mode):
13248 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13249 (global-whitespace-mode, global-whitespace-newline-mode):
13250 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13252 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13253 Fix autogenerated docstring.
13255 2011-10-19 Juri Linkov <juri@jurta.org>
13257 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13258 by checking environment variables "DESKTOP_SESSION" and
13259 "XDG_CURRENT_DESKTOP". (Bug#9779)
13261 2011-10-19 Juri Linkov <juri@jurta.org>
13263 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13264 (browse-url-chromium-program, browse-url-chromium-arguments):
13266 (browse-url-default-browser): Check for `browse-url-chromium' and
13267 call `browse-url-chromium-program'.
13268 (browse-url-chromium): New command. (Bug#9779)
13270 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13272 * facemenu.el (list-colors-duplicates): On Windows, detect more
13273 duplicates by assuming that only colors matching "^System" are
13274 special "system colors". (Bug#9722)
13276 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13279 to distinguish the author from the committer.
13281 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13283 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13285 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13287 * international/mule.el (sgml-html-meta-auto-coding-function):
13288 Add support for detecting encoding in HTML5 specified only as
13289 <meta charset="UTF-8">. Implementation just makes http-equiv and
13290 content-type parts from HTML4 encoding string optional. (Bug#9716)
13292 2011-10-18 Glenn Morris <rgm@gnu.org>
13294 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13296 2011-10-18 Chong Yidong <cyd@gnu.org>
13298 * faces.el (cursor): Doc fix.
13300 2011-10-17 Chong Yidong <cyd@gnu.org>
13302 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13304 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13306 * dirtrack.el (dirtrack): Support shell buffers with path
13307 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13309 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13311 * json.el: Bump version to 1.3 and note change in History.
13312 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13314 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13316 * comint.el (comint-insert-input, comint-send-input)
13317 (comint-get-old-input-default, comint-backward-matching-input)
13318 (comint-next-prompt): Use nil instead of `input' for field property of
13319 past user input (bug#114).
13321 * minibuffer.el (completion--replace): Inherit surrounding properties
13323 (minibuffer-complete-and-exit): Use it.
13325 * comint.el (comint--table-subvert): Quote the all-completions output
13328 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13330 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13332 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13333 window on right of selected. (Bug#9350) Reword other window
13334 entries and separate them from frame entries.
13336 2011-10-15 Glenn Morris <rgm@gnu.org>
13338 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13341 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13343 * net/network-stream.el (network-stream-open-starttls):
13344 Improve detection of failure due to lack of TLS support.
13346 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13347 putting the input text in front and in bold.
13349 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13351 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13353 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13356 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13357 unread-command-events rather than pushing yet-another event.
13359 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13361 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13362 the explanation of the possible choices. Make the options passed
13363 to completing-read shorter.
13365 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13367 * textmodes/flyspell.el (flyspell-large-region): Make sure
13368 extended character mode is used if defined (Bug#1339).
13370 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13372 * simple.el (what-cursor-position): Fix the display of the
13373 character info for LRE, LRO, RLE, and RLO characters by appending
13376 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13378 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13379 even in case of error; add debug spec; simplify data flow.
13380 (with-timeout-handler): Remove.
13382 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13384 Fix Bug#6019, Bug#9315.
13386 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13387 complete `buffer-file-name', the local file name part could look
13388 remotely (for example on VMS).
13390 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13391 `tramp-run-real-handler'.
13392 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13393 already quoted by '"'.
13395 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13396 Let `file-name-handler-alist' be nil, the local file name part
13397 could look remotely (for example on VMS).
13399 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13401 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13403 (flyspell-post-command-hook): ...to here.
13405 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13409 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13410 using completion. Protect against "slow" callers.
13411 Remove the "message hack".
13413 2011-10-11 Juri Linkov <juri@jurta.org>
13415 * isearch.el (isearch-lazy-highlight-word): New variable.
13416 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13419 2011-10-11 Glenn Morris <rgm@gnu.org>
13421 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13422 like f90-previous-statement does.
13424 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13426 * eshell/eshell.el (eshell-command): History should be saved
13427 only in interactive use, to avoid error.
13429 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13431 * minibuffer.el (completion-file-name-table): Fix last change,
13432 i.e. ignore normal errors but not the other ones.
13434 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13436 * window.el (special-display-buffer-names)
13437 (special-display-regexps): Remove some remnants of earlier
13438 changes from doc-strings.
13439 (quit-windows-on): New function.
13441 * vc/vc.el (vc-revert, vc-rollback):
13442 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13443 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13444 (Bug#6183) (Bug#7074) (Bug#7447)
13446 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13448 * window.el (frame-auto-hide-function): Add version tag.
13451 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13453 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13456 2011-10-09 Leo Liu <sdl.web@gmail.com>
13458 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13461 2011-10-08 Glenn Morris <rgm@gnu.org>
13463 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13464 before the first code statement zero indent. (Bug#9690)
13466 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13468 * simple.el (count-words-region): Always count in the region.
13469 Report the number of lines and characters too.
13470 (count-words): New command, which counts in the buffer if the
13471 region is inactive, as count-words-region used to.
13472 (count-words--message): New function. Handle plurals.
13473 (count-lines-region): Make it an alias for count-words-region.
13475 * bindings.el (esc-map): Replace count-lines-region with
13476 count-words-region.
13478 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13480 * window.el (window--delete): Delete dedicated frame
13481 unconditionally when argument KILL is non-nil. (Bug#9699)
13482 (switch-to-buffer): Fix doc-string typo.
13484 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13486 * eshell/eshell.el (eshell-command): Avoid using hooks.
13488 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13490 * bindings.el ([M-left],[M-right]): Bind to left-word and
13491 right-word respectively.
13493 2011-10-07 Glenn Morris <rgm@gnu.org>
13495 * cus-start.el (debug-on-quit): Fix custom type.
13497 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13499 * subr.el (define-key-after): Clarify that the function is not
13500 useful for non-menu keymaps.
13502 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13504 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13506 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13507 in current minibuffer (Fix bug with recursive minibuffers).
13509 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13511 * progmodes/gdb-mi.el (gdb): Doc fix.
13513 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13515 * window.el (frame-auto-hide-function): New option replacing
13516 frame-auto-delete. Suggested by Stefan Monnier.
13517 (window--delete): Call frame-auto-hide-function instead of
13518 investigating frame-auto-delete.
13519 (window-point-1, set-window-point-1): New functions.
13520 (window-in-direction, record-window-buffer, window-state-get-1)
13521 (display-buffer-record-window): Use window-point-1 instead of
13523 (set-window-buffer-start-and-point): Use set-window-point-1.
13525 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13527 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13529 2011-10-05 Glenn Morris <rgm@gnu.org>
13531 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13532 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13534 2011-10-05 Leo Liu <sdl.web@gmail.com>
13536 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13537 works with buffer object.
13539 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13541 * mpc.el (mpc-tool-bar-map): Add labels.
13543 2011-10-04 Glenn Morris <rgm@gnu.org>
13545 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13547 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13549 * window.el (window--delete): New function.
13550 (frame-auto-delete): Resuscitate option.
13551 (bury-buffer, replace-buffer-in-windows)
13552 (quit-window): Rewrite using window--delete.
13553 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13554 Pass display-buffer-mark-dedicated to window--display-buffer-2
13557 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13559 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13560 returns a list (bug#9554). Add remote file name completion.
13561 * comint.el (comint--table-subvert): Curry and get quote&unquote
13562 functions as arguments.
13563 (comint--complete-file-name-data): Adjust call accordingly.
13564 * pcomplete.el (pcomplete--table-subvert): Remove.
13565 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13567 * minibuffer.el (completion-table-case-fold): Use currying.
13568 (completion--styles-type, completion--cycling-threshold-type):
13570 (completion-styles, completion-category-overrides)
13571 (completion-cycle-threshold): Use them.
13572 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13573 completion-table-case-fold.
13575 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13577 * minibuffer.el (completion-category-overrides): Fix type of styles
13578 and add more user friendly tags (bug#9660).
13580 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13582 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13583 (mule-input-method-string): New widget.
13584 (default-input-method, language-info-custom-alist): Use it.
13586 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * pcomplete.el: Require comint.
13589 (pcomplete--common-suffix): Remove.
13590 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13591 (pcomplete--table-subvert): Sync with comint--table-subvert.
13592 (pcomplete--entries): Use comint-completion-file-name-table.
13593 * comint.el (comint-unquote-filename): Simplify.
13594 (comint-completion-file-name-table): New function (bug#9616).
13595 (comint--complete-file-name-data): Use it.
13597 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13598 (pcmpl-gnu-tar-buffer): Remove.
13599 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13600 around. Make sure pcomplete-suffix-list is only changed temporarily.
13601 Don't look inside the tar's file if it's too large.
13603 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13605 * cus-edit.el (custom-mode-map):
13606 * epa.el (epa-key-list-mode-map):
13607 * man.el (Man-mode-map):
13608 * startup.el (splash-screen-keymap):
13609 * simple.el (special-mode-map): Use scroll-up-command and
13610 scroll-down-command.
13612 * progmodes/idlw-help.el (idlwave-help-mode-map):
13613 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13614 * net/newst-plainview.el (newsticker-mode-map):
13615 * emulation/ws-mode.el (wordstar-mode-map):
13616 * emulation/vi.el (vi-com-map):
13617 * calc/calc-graph.el (calc-graph-show-dumb):
13618 * term/sun.el (terminal-init-sun):
13619 * term/ns-win.el (global-map):
13620 * progmodes/grep.el (grep-mode-map):
13621 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13622 * mail/rmail.el (rmail-mode-map):
13623 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13625 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13626 custom-safe-themes as special.
13628 2011-10-01 Julien Danjou <julien@danjou.info>
13630 * notifications.el (notifications-notify): Fix docstring.
13632 2011-10-01 Per Starbäck <per@starback.se>
13634 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13636 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13638 * startup.el (command-line-1): Fix last fix by inserting
13639 initial-scratch-message into *scratch* before displaying it.
13640 (Bug#9605) and (Bug#9636)
13642 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13644 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13645 window is hscrolled, move by logical lines. (Bug#9607)
13646 (line-move-visual): Update the doc string to the above effect.
13648 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13650 * window.el (display-buffer-record-window): When WINDOW is the
13651 selected window use `point' instead of `window-point'. (Bug#9626)
13653 * startup.el (command-line-1): Use insert-before-markers when
13654 inserting initial-scratch-message. (Bug#9605)
13656 * help.el (help-window): Remove variable.
13658 2011-09-29 Glenn Morris <rgm@gnu.org>
13660 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13662 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13664 * descr-text.el (describe-char-categories): Accept category
13665 descriptions more than one line long.
13667 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13669 * simple.el (delete-trailing-whitespace): Fix last change.
13671 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13672 Don't confuse "y => 3" as the beginning of a `y' operation.
13674 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13675 object has more than 4 slots (bug#9613).
13677 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13679 * subr.el (with-output-to-temp-buffer):
13680 * net/quickurl.el (quickurl, quickurl-browse-url):
13681 Fix typos in docstrings.
13683 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13685 * minibuffer.el (completion-styles)
13686 (completion-category-overrides): Cross reference each other in doc
13689 2011-09-27 Glenn Morris <rgm@gnu.org>
13691 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13692 to split-string. (Bug#9606)
13694 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13696 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13699 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13701 * emacs-lisp/package.el (list-packages): Fix echo area message.
13703 2011-09-27 Leo Liu <sdl.web@gmail.com>
13705 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13707 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13709 * net/dbus.el (dbus-unregister-object): Don't release services for
13710 registered signals. (Bug#9581)
13712 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13714 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13715 function that picks between cfengine 2 and 3 support
13716 automatically. Update docs accordingly.
13718 2011-09-22 Kenichi Handa <handa@m17n.org>
13720 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13722 (indian-itrans-v5-table-for-tamil): New variable.
13723 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13725 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13727 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13728 that's true if the current command involved collapsing of text.
13729 It's reset to false at the beginning of the next command.
13730 (allout-post-command-business): Move the cursor to the beginning
13731 of entry if the cursor is hidden and collapsing activity just
13734 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13736 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13737 tracking (Bug#9541).
13739 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13741 * net/newst-reader.el (newsticker-html-renderer)
13742 (newsticker-show-news): Automatically load html rendering package
13743 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13744 because w3m-fill-column is let-bound" and the error "Symbol's value
13745 as variable is void: w3m-fill-column".
13747 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13749 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13750 Release services only if they are defined. (Bug#9581)
13752 2011-09-23 Richard Stallman <rms@gnu.org>
13754 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13755 distinguish start of paragraph from start of its text.
13757 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13759 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13760 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13761 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13763 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13765 * international/mule-diag.el (mule-diag): Insert a newline after
13766 each fontset description.
13768 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13770 * simple.el (delete-trailing-whitespace):
13771 Document last change; simplify.
13773 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13775 * simple.el (delete-trailing-whitespace): Also delete
13776 extra newlines at the end of the buffer.
13778 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13779 (picture-newline): Use forward-line so as to ignore fields.
13781 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13783 * subr.el (with-wrapper-hook): Fix edebug spec.
13785 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13790 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13792 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13793 Fix nasty bug using wrong cached values.
13795 2011-09-23 Alan Mackenzie <acm@muc.de>
13797 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13799 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13801 * window.el (pop-to-buffer): Ensure right window is selected if we
13802 chose another frame.
13804 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13806 * simple.el (what-cursor-position): Use get-char-property-change
13807 and next-single-char-property-change, to be able to show display
13808 properties that come from overlays as well as text properties.
13810 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13812 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13814 * cmuscheme.el (run-scheme, switch-to-scheme):
13815 * cus-edit.el (customize-group, custom-buffer-create)
13816 (customize-browse):
13818 * shell.el (shell):
13819 * mail/sendmail.el (mail):
13820 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13822 2011-09-22 Richard Stallman <rms@gnu.org>
13824 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13825 move back only to line beg, don't move back over blank lines.
13827 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13829 * files.el (copy-directory): Set directory attributes only in case
13830 they could be retrieved from the source directory. (Bug#9565)
13832 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13834 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13835 (hs-find-block-beginning, hs-hide-level-recursive):
13836 Ignore strings as well as comments. (Bug#9502)
13838 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13840 * progmodes/sql.el (sql-comint-postgres):
13841 Convert port number to a string. (Bug#9566)
13843 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13845 * window.el (quit-window): Undedicate window when switching to
13846 previous buffer. Reported by Thierry Volpiatto
13847 <thierry.volpiatto@gmail.com>.
13848 (special-display-popup-frame): When popping up a new frame reset
13849 its previous buffers to nil. Simplify code.
13851 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13853 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13854 and process filter, as done also in `shell-command'.
13856 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13858 * window.el (set-window-buffer-start-and-point):
13859 Call set-window-start with NOFORCE argument t.
13860 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13861 (quit-window): Reword doc-string. Handle new format of
13862 quit-restore parameter. Don't delete window if it has a
13863 previous buffer we can show instead of the present one.
13864 (display-buffer-record-window): Rewrite using a new format for
13865 the quit-restore window parameter
13866 (special-display-popup-frame, display-buffer-same-window)
13867 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13868 (display-buffer-pop-up-window, display-buffer-use-some-window):
13869 Adapt symbol passed to display-buffer-record-window.
13870 * help.el (help-window-setup): Handle new format of quit-restore
13873 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13875 * faces.el (face-list): Fix docstring (bug#9564).
13877 * window.el (display-buffer--action-function-custom-type):
13878 Don't include internal functions in the Custom interface.
13880 2011-09-20 Juri Linkov <juri@jurta.org>
13882 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13883 (Info-forward-node, Info-backward-node, Info-next-preorder)
13884 (Info-last-preorder): Use it. (Bug#9528)
13886 2011-09-20 Juri Linkov <juri@jurta.org>
13888 * info.el (Info-last-preorder): Visit last menu item only when
13889 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13891 2011-09-20 Julien Danjou <julien@danjou.info>
13893 * password-cache.el (password-cache-remove): Remove entries even if the
13894 value is nil, so that password with a nil value (negative caching) is
13895 possible to invalidate.
13897 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13899 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13900 all whitespace around breakpoint. (Bug#9553)
13901 (f90-find-breakpoint): Only break at whitespace inside a comment.
13903 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13905 * minibuffer.el (completion-file-name-table): Keep track of errors.
13906 (completion-table-with-predicate): Handle the case where pred1 is nil.
13907 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13909 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13911 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13912 (debugger-return-value): Signal an error if the debugging context does
13913 not await any return value.
13915 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13916 * image-mode.el (image-toggle-display-text)
13917 (image-toggle-display-image): Stay away from evil `intangible'.
13919 2011-09-19 Leo Liu <sdl.web@gmail.com>
13921 * replace.el (occur-revert-arguments): Make it permanent-local.
13922 (occur-mode): Don't call font-lock-defontify.
13924 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13926 * net/ldap.el (ldap-search-internal): Don't push empty search
13929 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13933 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13935 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13936 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13938 2011-09-18 Juri Linkov <juri@jurta.org>
13940 * buff-menu.el (Buffer-menu-mode-map):
13941 * dired.el (dired-mode-map):
13942 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13943 (lisp-interaction-mode-map):
13944 * emacs-lisp/package.el (package-menu-mode-map):
13945 * epa.el (epa-key-list-mode-map):
13946 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13947 (menu-bar-options-menu):
13948 * outline.el (outline-mode-menu-bar-map):
13949 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13950 * vc/vc-dir.el (vc-dir-menu-map):
13951 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13952 Capitalize non-function content words in menu item strings.
13954 * dired.el (dired-mode-map): Add menu item for
13955 `image-dired-dired-toggle-marked-thumbs'.
13957 2011-09-18 Juri Linkov <juri@jurta.org>
13959 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13960 to `isearch-case-fold-search' and restore its original value
13961 after the `isearch-mode' call.
13963 2011-09-18 Juri Linkov <juri@jurta.org>
13965 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13966 because `zgrep' returns 1 for successful matches (bug#9226).
13968 2011-09-18 Juri Linkov <juri@jurta.org>
13970 * info.el (Info-extract-menu-node-name): Check the second match
13971 for empty string (second test-case of bug#9528).
13972 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13973 intermediate nodes to the history (first test-case of bug#9528).
13975 2011-09-18 Juri Linkov <juri@jurta.org>
13977 * info.el (Info-mode-syntax-table): New variable.
13978 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13980 2011-09-18 Juri Linkov <juri@jurta.org>
13982 * info.el (Info-file-supports-index-cookies):
13983 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13984 outputs one more line for long file names (bug#4142).
13986 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13988 * newcomment.el (comment-normalize-vars): If prompting for
13989 comment-start, set comment-start-skip too (Bug#8424).
13991 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13993 * icomplete.el: Fix previous fix of Bug#5849.
13994 (icomplete-mode): Don't set completion-show-inline-help.
13995 (icomplete-minibuffer-setup): Set completion-show-inline-help
13996 locally during icompletion.
13998 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14000 * woman.el (woman2-process-escapes): Don't delete unrecognized
14001 escapes (Bug#7843).
14003 * files.el (inhibit-first-line-modes-regexps): Add image files.
14004 (hack-local-variables-prop-line): Return nil for malformed
14005 prop-lines (Bug#9044).
14007 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14009 * net/tramp.el (top): Don't require 'shell.
14010 (tramp-methods): Fix docstring.
14011 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14012 Return complete remote file name. Handle "smb" case.
14013 Use `tramp-tmpdir', if defined for the respective method.
14014 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14016 * net/tramp-compat.el (top): Require 'shell.
14018 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14019 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14020 `tramp-current-host'.
14021 (tramp-get-remote-tmpdir): Remove.
14023 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14024 `tramp-tmpdir' entries.
14025 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14026 (tramp-smb-handle-file-attributes): Ignore errors.
14027 (tramp-smb-wait-for-output): Check also for process end.
14029 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14031 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14032 when sending QUIT (bug#9312).
14034 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14036 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14037 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14038 occur-mode-display-occurrence.
14039 (occur-edit-mode): Add usage message.
14040 (occur-cease-edit): New command.
14041 (occur-after-change-function): Use text properties to find the
14042 position of the prefix text.
14043 (occur-engine): Set stickiness of prefix text properties.
14045 2011-09-17 Glenn Morris <rgm@gnu.org>
14047 * progmodes/etags.el (complete-tag):
14048 Fix call to completion-in-region. (Bug#9526)
14050 2011-09-17 Juri Linkov <juri@jurta.org>
14052 * textmodes/ispell.el (ispell-word): Add to the error message
14053 the word, ispell program name and current dictionary (bug#9121).
14054 (ispell-tex-arg-end): Capitalize "error" in the error message.
14056 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14058 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14061 2011-09-17 Juri Linkov <juri@jurta.org>
14063 * window.el (window-safe-min-height, window-safe-min-width):
14064 Fix typos (followup to bug#9522).
14066 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14068 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14070 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14072 * simple.el (line-move): If goal-column is set, move by logical
14073 lines, not by display lines. (Bug#971)
14074 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14075 to reflect the above change.
14077 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14079 * image.el (imagemagick-register-types): Use regexp-opt.
14081 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14083 * window.el (display-buffer-base-action): Rename from
14084 display-buffer-default-action. Make default value empty.
14085 (display-buffer-overriding-action): Convert to defvar.
14086 (display-buffer-fallback-action): New var.
14088 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14090 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14092 (package--add-to-archive-contents): If there is a duplicate entry
14093 with an older version, remove it.
14094 (package-menu-mark-delete, package-menu-mark-install)
14095 (package-menu-mark-unmark): Make unused args optional.
14096 (package-menu-mark-obsolete-for-deletion):
14097 Use package-menu-get-status instead of a regexp search.
14098 (package-menu-get-status): Use tabulated-list-entry.
14099 (package-menu-mark-upgrades): New command.
14100 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14101 (package-menu-execute): Do installation before deletion.
14102 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14103 instead of checking major-mode.
14104 (package-menu--find-upgrades): New function.
14106 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14109 passwords in the log buffer.
14110 (smtpmail-process-filter): Update the process marker so that the
14111 "broken by peer" status message is inserted in the right place.
14113 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14115 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14116 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14117 bibtex-completion-at-point-function.
14118 (bibtex-completion-at-point-function): Use them.
14120 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14122 * mpc.el (mpc-constraints-tag-lookup): New function.
14123 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14124 also to browser "album|playlist".
14126 2011-09-14 Juri Linkov <juri@jurta.org>
14128 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14129 (isearch-edit-string): Use length of `isearch-string' when
14130 `isearch-fail-pos' returns nil.
14131 (isearch-message): Remove duplicate code and call
14132 `isearch-fail-pos' with arg `t'.
14134 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14136 * replace.el (occur-mode-goto-occurrence): Don't force using other
14139 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14141 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14143 * window.el (display-buffer-window): Remove.
14144 (display-buffer-record-window): Use help-setup window parameter
14145 instead of variable display-buffer-window.
14146 (display-buffer-function, special-display-buffer-names)
14147 (special-display-function): Mention help-setup parameter instead
14148 of display-buffer-window in doc-string.
14149 * help.el (help-window-setup): New argument help-window.
14150 Use help-window-setup parameter instead of display-buffer-window.
14151 Reword some messages.
14152 (with-help-window): Pass window used for displaying the buffer
14153 to help-window-setup. Don't set display-buffer-window.
14155 2011-09-13 Glenn Morris <rgm@gnu.org>
14157 * emacs-lisp/debug.el (debugger-make-xrefs):
14158 Preserve point. (Bug#9462)
14160 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14162 * window.el (window-deletable-p): Use next-frame.
14164 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14166 * window.el (window-auto-delete): Remove.
14167 (window-deletable-p): Remove argument FORCE. Don't deal with
14168 dedication and previous buffers.
14169 (switch-to-prev-buffer): Don't delete window.
14170 (delete-windows-on): Delete a window's frame if and only if the
14171 window is dedicated.
14172 (replace-buffer-in-windows): Delete buffer's window or frame if
14173 and only if window is dedicated.
14174 (quit-window): Handle quit-restore as before last change.
14175 (bury-buffer): Delete window only if window-deletable-p returns t.
14177 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14179 * window.el (window-deletable-p): Never delete the last frame on a
14182 2011-09-13 Glenn Morris <rgm@gnu.org>
14184 * help.el (describe-key-briefly): Copy previous standard-output change.
14186 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14188 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14190 2011-09-13 Glenn Morris <rgm@gnu.org>
14192 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14193 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14195 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14197 * dired-aux.el (dired-mark-read-string): Don't return default
14198 value on empty input (Bug#9361).
14199 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14200 Omit initial minibuffer contents.
14201 (dired-do-chmod): Signal an error on empty input.
14202 (dired-mark-read-string): Don't return default on empty input.
14204 * files.el (file-modes-symbolic-to-number): Doc fix.
14206 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14208 * international/mule-cmds.el (ucs-completions): Remove.
14209 (read-char-by-name): Use complete-with-action instead; add metadata.
14211 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14213 * window.el (display-buffer--action-function-custom-type)
14214 (display-buffer--action-custom-type): New vars.
14215 (display-buffer-alist, display-buffer-default-action)
14216 (display-buffer-overriding-action): Add defcustom types.
14218 * frame.el (delete-other-frames): Doc fix (Bug#276).
14220 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14222 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14224 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14226 Change modes that used same-window-* vars to use switch-to-buffer.
14228 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14229 Use switch-to-buffer.
14231 * cus-edit.el (customize-group, custom-buffer-create)
14232 (customize-browse, custom-buffer-create-other-window):
14233 Use switch-to-buffer or switch-to-buffer-other-window.
14235 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14236 (Info-prev, Info-up, Info-speedbar-goto-node)
14237 (info-display-manual): Use switch-to-buffer.
14238 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14240 * mail/sendmail.el (mail): Use switch-to-buffer.
14241 (mail-recover): Use switch-to-buffer-other-window.
14243 * cmuscheme.el (run-scheme, switch-to-scheme):
14245 * shell.el (shell):
14246 * net/rlogin.el (rlogin):
14247 * net/telnet.el (telnet, rsh):
14248 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14250 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14252 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14254 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14256 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14257 so don't mention it (bug#9301).
14258 (dired-sort-toggle-or-edit): Clarify string further.
14260 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14261 match `x', `w32' and `ns', like the manual says (bug#9029).
14263 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14264 (process-kill-buffer-query-function): Mention the buffer name in
14267 * image-mode.el (image-next-line): The line parameter is mandatory
14270 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14271 which can be useful (bug#9301).
14273 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14275 * subr.el (match-string): Mention that the current buffer should
14276 be the same as the search was done in (bug#9282).
14278 * facemenu.el: Disable the remove-* commands if the mark isn't
14281 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14283 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14285 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14287 * replace.el (occur-mode-goto-occurrence)
14288 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14289 and display-buffer.
14291 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14294 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14295 special-display and same-window variables.
14296 (mail-other-window): Use switch-to-buffer-other-window.
14297 (mail-other-frame): USe switch-to-buffer-other-frame.
14299 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14300 Use display-buffer-other-frame.
14301 (gdb-display-gdb-buffer): Use pop-to-buffer.
14303 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14305 * progmodes/python.el: Don't set same-window-buffer-names.
14307 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14309 * window.el (display-buffer-alist): Add *Python*.
14311 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14313 * window.el (display-buffer-alist): Add entry for buffers
14314 previously handled same-window-*.
14315 (display-buffer-alist, display-buffer-default-action)
14316 (display-buffer-overriding-action): Mark as risky.
14317 (display-buffer-alist): Document action function changes.
14318 (display-buffer--same-window-action)
14319 (display-buffer--other-frame-action): New variables.
14320 (switch-to-buffer, display-buffer-other-frame): Use them.
14321 (display-buffer): Rename reuse-frame entry to reusable-frames.
14322 (display-buffer-reuse-selected-window): Function deleted.
14323 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14324 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14325 (display-buffer-special): New function.
14326 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14327 display-buffer-reuse-or-pop-window. Split off special-display
14328 part into display-buffer-special.
14329 (display-buffer-use-some-window): Don't perform any special
14330 pop-up-frames handling.
14331 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14332 (display-buffer--maybe-same-window): Rename from
14333 display-buffer-maybe-same-window.
14335 * info.el: Don't set same-window-regexps.
14336 (info-setup): New function.
14337 (info-other-window, info): Call it.
14339 * cus-edit.el: Don't set same-window-regexps.
14340 (customize-group): New argument.
14341 (customize-group-other-window): Use it.
14342 (customize-face, customize-face-other-window): Likewise.
14343 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14347 * progmodes/gud.el: Don't set same-window-regexps.
14352 * mail/sendmail.el:
14353 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14355 2011-09-10 Juri Linkov <juri@jurta.org>
14357 * isearch.el (isearch-edit-string): Remove obsolete mention of
14358 `C-w' (`isearch-yank-word-or-char') from docstring.
14359 (isearch-query-replace): Fix typo in docstring (bug#9466).
14361 2011-09-10 Juri Linkov <juri@jurta.org>
14363 * paren.el (show-paren-function): Don't show escaped parens.
14364 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14366 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14368 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14369 (mm-default-file-encoding): Remove autoload forms, they are
14370 replaced with autoload cookies in mml.el and mm-encode.el.
14371 (mail-add-attachment): New command.
14372 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14373 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14375 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14377 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14379 * simple.el (count-words-region): Use buffer if there's no region
14382 2011-09-09 Juri Linkov <juri@jurta.org>
14384 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14385 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14386 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14388 2011-09-09 Alan Mackenzie <acm@muc.de>
14390 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14391 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14393 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14395 Fix for Savannah bug#9392.
14396 * simple.el (mail-encode-mml): New defvar.
14398 * mail/rmail.el (mail-encode-mml): Add a defvar.
14399 (rmail-enable-mime-composing): Default to t.
14400 (rmail-forward): Use MIME method of forwarding only if both
14401 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14402 Set mail-encode-mml non-nil if the MIME method was used.
14404 * mail/sendmail.el (mml-to-mime): Add autoload form.
14405 (mail-encode-mml): Add a defvar.
14406 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14408 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14409 message through mml-to-mime, and reset mail-encode-mml to nil.
14411 2011-09-09 Glenn Morris <rgm@gnu.org>
14413 * woman.el (woman-if-body): When processing an .el block,
14414 do not delete the next .el block as well. (Bug#9447)
14415 (woman-special-characters): Add oq, cq, and hy characters.
14417 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14419 * window.el (window-deletable-p): Make sure window is live before
14420 invoking window-prev-buffers.
14422 2011-09-08 Leo Liu <sdl.web@gmail.com>
14424 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14426 2011-09-08 Juri Linkov <juri@jurta.org>
14428 * progmodes/compile.el (compilation-environment): Make it
14429 a defcustom (bug#8340).
14431 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14433 * window.el (frame-auto-delete): Rename to window-auto-delete.
14434 Make it control auto-deletion of windows and/or frames.
14435 (window-deletable-p): New argument FORCE. Rewrite conditions
14436 for deleting window/frame. (Bug#9419)
14437 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14438 Rewrite handling of case when window/frame can be deleted.
14439 (delete-windows-on): Call window-deletable-p with new FORCE
14440 argument t. (Bug#9456)
14442 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14444 * help-mode.el (help-mode): Restore autoload.
14446 2011-09-07 Juri Linkov <juri@jurta.org>
14448 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14449 `compilation-environment'. Set buffer-local
14450 `compilation-environment' to `thisenv' later after (funcall mode).
14453 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14454 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14455 instead of replacing its value. (Bug#8340)
14457 2011-09-07 Juri Linkov <juri@jurta.org>
14459 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14460 based on text properties put by `grep-filter' instead of matching
14462 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14463 to the value of `grep-error-screen-columns' (bug#9438).
14465 2011-09-07 Juri Linkov <juri@jurta.org>
14467 * simple.el (next-error-highlight, next-error-highlight-no-select):
14468 Doc fix (bug#9432).
14470 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14472 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14473 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14475 2011-09-07 Leo Liu <sdl.web@gmail.com>
14477 * net/rcirc.el (rcirc-mode): Conditionally initialize
14480 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14482 * emacs-lisp/find-func.el (find-function-C-source): Only set
14483 find-function-C-source-directory after checking that we found a source
14484 file there (bug#9440).
14486 2011-09-06 Alan Mackenzie <acm@muc.de>
14488 * isearch.el (isearch-other-meta-char): Wherever a key list is
14489 unread, "unread" the prefix arg, too. This fixes bug #8901.
14491 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14493 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14495 2011-09-05 Juri Linkov <juri@jurta.org>
14497 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14499 2011-09-05 Juri Linkov <juri@jurta.org>
14501 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14502 keeping point where processing of grep matches begins, and
14503 continue to delete remaining escape sequences from the same point.
14504 (grep-filter): Make leading zero optional in "0?1;31m" because
14505 git-grep emits "\033[1;31m" escape sequences unlike expected
14506 "\033[01;31m" as GNU Grep does (bug#9408).
14507 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14509 2011-09-05 Juri Linkov <juri@jurta.org>
14511 * subr.el (y-or-n-p): Capitalize "yes".
14513 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14515 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14516 `tramp-cache-unload-hook' where appropriate.
14517 (tramp-methods): Rename `tramp-remote-sh' to
14518 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14519 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14521 * net/tramp-sh.el (top): Don't require 'shell.
14522 (tramp-methods): Add `tramp-remote-shell' and
14523 `tramp-remote-shell-args' entries.
14524 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14525 (tramp-sh-handle-shell-command): Remove.
14526 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14527 Use `tramp-remote-shell'.
14529 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14531 * mail/sendmail.el (sendmail-query-once-function): Delete.
14532 (sendmail-query-once): Save directly to send-mail-function.
14533 Update message-send-mail-function too.
14535 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14537 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14539 * progmodes/python.el (python-mode-map): Use correct function to
14540 start python interpreter from menu-bar (as reported by Geert
14542 (inferior-python-mode-map): Fix typo.
14543 (python-shell-map): Remove.
14545 2011-09-03 Deniz Dogan <deniz@dogan.se>
14547 * net/rcirc.el (rcirc-print): Simplify code for
14548 rcirc-scroll-show-maximum-output. There is no need to walk
14549 through all windows to find the right one.
14551 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14553 * help.el (help-return-method): Doc fix.
14555 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14557 * window.el (window-deletable-p): Don't return a non-nil value
14558 when there's a buffer that was shown in the window before.
14560 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14561 Set window's previous buffers to nil.
14563 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14565 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14566 newline before and after the tag line, so it doesn't interfere
14567 with determining the paragraph direction of bidirectional text.
14569 2011-09-03 Leo Liu <sdl.web@gmail.com>
14571 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14573 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14575 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14576 (pop-to-buffer): Change interactive spec. Pass second argument
14577 directly to display-buffer.
14578 (display-buffer): Fix interactive spec. Use functionp to
14579 distinguish between a function and a list of functions.
14581 * abbrev.el (edit-abbrevs):
14582 * arc-mode.el (archive-extract):
14583 * autoinsert.el (auto-insert):
14584 * bookmark.el (bookmark-bmenu-list):
14585 * files.el (find-file):
14586 * view.el (view-buffer):
14587 * progmodes/compile.el (compilation-goto-locus):
14588 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14590 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14592 * window.el (display-buffer-alist): Doc fix.
14593 (display-buffer): Add docstring. Don't treat
14594 display-buffer-default specially.
14595 (display-buffer-reuse-selected-window)
14596 (display-buffer-same-window, display-buffer-maybe-same-window)
14597 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14598 (display-buffer-pop-up-window)
14599 (display-buffer-reuse-or-pop-window)
14600 (display-buffer-use-some-window): New functions.
14601 (display-buffer-default-action): Use them.
14602 (display-buffer-default): Delete.
14603 (pop-to-buffer-1): Fix choice of actions.
14605 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14607 * minibuffer.el (completion--insert-strings): Don't get confused by
14608 completion entries that end with an LF char.
14610 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14612 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14614 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14616 * window.el (display-buffer): Restore interactive spec.
14617 (display-buffer-same-window, display-buffer-other-window):
14619 (pop-to-buffer-1): New function. Use the above.
14620 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14621 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14623 * view.el (view-buffer-other-window, view-buffer-other-frame):
14624 Just use pop-to-buffer.
14626 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14628 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14630 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14632 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14634 2011-08-31 Richard Stallman <rms@gnu.org>
14636 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14637 of the separation of rmail-view-buffer from rmail-buffer.
14638 If you say no to "replace original", the decrypt is in the
14639 view buffer. If you say yes, the decrypt goes into the
14642 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14644 * window.el (display-buffer-window): Rewrite doc-string.
14645 (display-buffer-record-window): New function.
14646 (display-buffer-macro-specifiers)
14647 (display-buffer-even-window-sizes, display-buffer-set-height)
14648 (display-buffer-set-width, display-buffer-in-window)
14649 (display-buffer-reuse-window, display-buffer-split-specifiers)
14650 (display-buffer-side-specifiers, display-buffer-split-window-1)
14651 (display-buffer-split-window, display-buffer-split-atom-window)
14652 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14653 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14654 (display-buffer-other-window-means-other-frame)
14655 (display-buffer-normalize-special)
14656 (display-buffer-normalize-default)
14657 (display-buffer-normalize-argument)
14658 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14659 (display-buffer-normalize-specifiers, display-buffer-frame)
14660 (display-buffer-same-window, display-buffer-same-frame)
14661 (display-buffer-other-window)
14662 (display-buffer-same-frame-other-window)
14663 (display-buffer-other-frame, pop-to-buffer-same-window)
14664 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14665 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14666 (switch-to-buffer-same-frame)
14667 (switch-to-buffer-other-window-same-frame)
14668 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14669 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14670 (display-buffer-alist-set): Remove.
14671 (display-buffer-function, special-display-buffer-names)
14672 (special-display-regexps, special-display-function):
14673 In doc-string refer to display-buffer-window and quit-restore
14675 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14676 (special-display-frame-alist, special-display-popup-frame)
14677 (same-window-buffer-names, same-window-regexps, same-window-p)
14678 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14679 (split-window-preferred-function, split-height-threshold)
14680 (split-width-threshold, window-splittable-p)
14681 (split-window-sensibly, window--try-to-split-window)
14682 (window--frame-usable-p, even-window-heights)
14683 (window--even-window-heights, window--display-buffer-1)
14684 (window--display-buffer-2, display-buffer-other-frame):
14685 Restore old Emacs 23 code, order and doc-strings where applicable.
14686 (display-buffer-default, display-buffer-assq-regexp): New functions.
14687 (display-buffer-alist): Rewrite doc-string.
14688 (display-buffer-default-action)
14689 (display-buffer-overriding-action): New variables.
14690 (display-buffer, switch-to-buffer): Rewrite.
14691 (pop-to-buffer): Restore Emacs 23 behavior but use
14692 window-normalize-buffer-to-display.
14693 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14694 Restore Emacs 23 behavior but use
14695 window-normalize-buffer-to-switch-to.
14696 (pop-to-buffer-same-window): Rewrite.
14697 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14698 Rewrite using Emacs 23 options.
14700 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14702 * net/tramp.el (tramp-root-regexp): Remove.
14703 (tramp-completion-file-name-regexp-unified)
14704 (tramp-completion-file-name-regexp-separate)
14705 (tramp-completion-file-name-regexp-url): Don't use leading volume
14706 letter on w32 systems. (Bug#5303, Bug#9311)
14707 (tramp-drop-volume-letter): Simplify definition.
14708 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14710 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14712 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14715 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14717 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14719 2011-08-29 Juri Linkov <juri@jurta.org>
14721 * isearch.el (isearch-done): Don't display message "Mark saved"
14722 when arg `edit' is non-nil to prevent its flicker in the echo area.
14724 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14726 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14727 obsolete packages for deletion.
14729 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14731 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14732 (help-mode): Derive help-mode from special-mode. Don't invoke
14733 view-mode from help-mode.
14734 (help-xref-override-view-map): Remove.
14735 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14736 view-mode is not used anymore.
14738 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14740 * server.el (server-port): Doc fix.
14742 * cus-theme.el (custom-theme-choose-mode): Inherit from
14743 special-mode (Bug#9124).
14744 (custom-theme-choose-mode-map): Add special-mode to parent.
14746 2011-08-28 Alan Mackenzie <acm@muc.de>
14748 * progmodes/cc-fonts.el
14749 (c-make-font-lock-BO-decl-search-function): New function.
14750 (c-basic-matchers-after - "Fontify the clauses after various
14751 keywords"): Extract the three keyword lists for the 3 erroneous
14752 constructs from the list of four, and use the new function above
14753 in place of an old one.
14755 2011-08-28 Deniz Dogan <deniz@dogan.se>
14757 * net/rcirc.el (rcirc-insert-prev-input)
14758 (rcirc-insert-next-input): Remove unused argument.
14760 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14764 2011-08-27 Alan Mackenzie <acm@muc.de>
14766 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14767 handle function pointer parameters properly.
14769 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14771 * window.el (display-buffer-reuse-window): Fix case where
14772 selected window was reused with non-nil OTHER-WINDOW argument.
14775 2011-08-27 Deniz Dogan <deniz@dogan.se>
14777 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14778 oftc's NickServ messages.
14780 2011-08-27 Glenn Morris <rgm@gnu.org>
14782 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14784 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14786 * emacs-lisp/package.el (package-install): Call package-initialize
14787 if called interactively.
14789 2011-08-26 Leo Liu <sdl.web@gmail.com>
14791 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14793 2011-08-25 Juri Linkov <juri@jurta.org>
14795 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14796 `search-whitespace-regexp' (bug#9364).
14798 2011-08-25 Juri Linkov <juri@jurta.org>
14800 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14801 `regexp-search-ring' to their global values to protect from
14802 updating by `read-from-minibuffer' (bug#9185).
14804 2011-08-25 Juri Linkov <juri@jurta.org>
14806 * textmodes/ispell.el (ispell-command-loop): Add newline
14807 at the end of the "Use option `i'..." line.
14809 2011-08-25 Juri Linkov <juri@jurta.org>
14811 * battery.el (display-battery-mode): If `battery-status-function'
14812 or `battery-mode-line-format' is nil, display the message and set
14813 `display-battery-mode' to nil (bug#9363).
14815 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14817 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14818 bidi-string-mark-left-to-right; they are unnecessary now.
14820 2011-08-25 Deniz Dogan <deniz@dogan.se>
14822 * net/quickurl.el: Documentation typo fixes.
14824 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14826 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14828 2011-08-25 Glenn Morris <rgm@gnu.org>
14830 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14832 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14833 (smtpmail-via-smtp): Handle nil response from smtp.
14835 2011-08-24 Juri Linkov <juri@jurta.org>
14837 * proced.el (proced-marked): Inherit from `error' instead of
14838 `font-lock-warning-face'.
14840 * ibuffer.el (ibuffer-marked-face): Change default face from
14841 `font-lock-warning-face' to `warning'.
14842 (ibuffer-deletion-face): Change default face from
14843 `font-lock-type-face' to `error'.
14845 * battery.el (battery-update): Use the face `error' instead of
14846 `font-lock-warning-face' (bug#6117).
14848 2011-08-24 Juri Linkov <juri@jurta.org>
14850 * faces.el (success): Change face color from "Green3" to
14851 "ForestGreen" on light background (bug#9353).
14853 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14855 * window.el (quit-window): Rename from quit-restore-window.
14856 Use same arglist as old quit-window.
14857 (frame-auto-delete): Doc fix.
14859 * view.el (view-mode-exit): Use quit-window.
14861 2011-08-24 Juri Linkov <juri@jurta.org>
14863 * isearch.el (isearch-ring-adjust1): Start visiting previous
14864 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14865 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14866 for empty search string (when the last search string is reused
14867 automatically) to adjust the isearch ring to the last element and
14868 prepare the correct index for further M-p commands (bug#9185).
14870 2011-08-24 Kenichi Handa <handa@m17n.org>
14872 * international/ucs-normalize.el: If decomposition property of
14873 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14875 (nfd, nfkd): Likewise.
14877 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14879 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14880 from process filters aren't reliably transmitted to the surrounding
14881 accept-process-output.
14882 (mpc-proc-check): New function.
14883 (mpc-proc-sync): Use it (bug#8293)
14885 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14887 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14888 Add compatibility functions (bug#9313).
14890 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14892 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14894 * international/uni-bidi.el: Regenerate.
14896 2011-08-23 Kenichi Handa <handa@m17n.org>
14898 * international/charprop.el:
14899 * international/uni-bidi.el:
14900 * international/uni-category.el:
14901 * international/uni-combining.el:
14902 * international/uni-comment.el:
14903 * international/uni-decimal.el:
14904 * international/uni-decomposition.el:
14905 * international/uni-digit.el:
14906 * international/uni-lowercase.el:
14907 * international/uni-mirrored.el:
14908 * international/uni-name.el:
14909 * international/uni-numeric.el:
14910 * international/uni-old-name.el:
14911 * international/uni-titlecase.el:
14912 * international/uni-uppercase.el: Regenerate.
14914 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14916 * help.el (help-window-setup): Fix message displayed when other
14917 window is reused. (Bug#9341)
14919 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14921 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14922 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14924 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14926 * shell.el (shell-parse-pcomplete-arguments): New function.
14927 (shell-completion-vars): Use it instead (bug#9160).
14929 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14932 strings and comments (bug#9333).
14934 * emacs-lisp/debug.el (debug-arglist): New function.
14935 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14936 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14938 2011-08-22 Juri Linkov <juri@jurta.org>
14940 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14941 Revert regexp that highlights output switches to its old
14942 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14944 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14945 to check for empty output (bug#9226).
14947 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14949 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14950 symbol-constituent as the default, as that stops font-lock from
14951 working properly (Bug#8843).
14953 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14955 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14956 `coding-system-for-*' around the process open call to avoid
14957 auth-source side effects.
14958 (smtpmail-try-auth-methods): Expand the secret password.
14959 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14962 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14964 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14966 * emacs-lisp/find-func.el (find-function-noselect): New arg
14969 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14970 signal an error for built-in functions (Bug#6664).
14972 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14974 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14975 (smtpmail-try-auth-methods): Use it.
14977 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14979 * font-lock.el (font-lock-fontify-region)
14980 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14981 (font-lock-default-unfontify-buffer)
14982 (font-lock-default-fontify-region)
14983 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14985 * progmodes/compile.el (compilation-error-properties):
14986 Fix confusion between file struct and message struct (Bug#9319).
14987 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14990 * net/browse-url.el (browse-url-firefox): Don't call
14991 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14993 2011-08-20 Glenn Morris <rgm@gnu.org>
14995 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14997 * tutorial.el (tutorial--default-keys): Update some default bindings.
14999 * files.el (hack-local-variables): Fully ignore case for "mode:".
15001 2011-08-20 Alan Mackenzie <acm@muc.de>
15003 Resolve invalid use of a regexp in regexp-opt.
15005 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15006 detection for a java annotation.
15008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15009 detection for a java annotation.
15011 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15013 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15015 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15017 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15020 2011-08-20 Alan Mackenzie <acm@muc.de>
15022 Fontify CPP expressions correctly when starting in the middle of
15023 such a construct. Mainly for when jit-lock etc. starts a chunk
15026 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15028 (c-make-font-lock-search-form): New function, extracted from
15029 c-make-font-lock-search-function.
15030 (c-make-font-lock-search-function): Use the above function.
15031 (c-make-font-lock-context-search-function): New function.
15032 (c-cpp-matchers): Enhance the preprocessor expression case with
15034 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15035 which takes an expression.
15037 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15039 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15041 * window.el (display-buffer-reuse-window)
15042 (display-buffer-pop-up-window): Don't reuse or split a side
15045 2011-08-19 Glenn Morris <rgm@gnu.org>
15047 * files.el (hack-local-variables-prop-line, hack-local-variables):
15048 Downcase "Mode:". (Bug#9331)
15050 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15052 * international/characters.el: Add L and R categories.
15054 * subr.el (bidi-string-mark-left-to-right): Rename from
15055 string-mark-left-to-right. Use category search.
15057 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15059 2011-08-18 Juri Linkov <juri@jurta.org>
15061 * faces.el (error, warning, success): New faces with definitions
15062 copied from old default values of `font-lock-warning-face',
15063 `compilation-warning', `compilation-info' (bug#6117).
15065 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15067 * progmodes/compile.el (compilation-error): Inherit from `error'.
15068 (compilation-warning): Inherit from `warning'.
15069 (compilation-info): Inherit from `success'.
15071 * dired.el (dired-marked): Inherit from `warning'.
15072 (dired-flagged): Inherit from `error'.
15074 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15076 * mail/smtpmail.el (auth-source): Require to avoid problems with
15077 binding variables (bug#9298). Also clean up some unused
15080 * net/network-stream.el (network-stream-open-starttls):
15081 Support using starttls.el without using gnutls-cli.
15083 2011-08-17 Juri Linkov <juri@jurta.org>
15085 * progmodes/grep.el (rgrep): Handle the case when
15086 `grep-find-command' is a cons cell (bug#9278).
15088 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15090 * window.el (display-buffer-pop-up-frame): Run frame creation
15091 function with BUFFER current (as special-display-popup-frame
15092 does). Reported by Drew Adams.
15094 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15096 * epa-mail.el: Simplify GnuPG group expansion using
15098 (epa-mail-group-alist, epa-mail-group-modtime)
15099 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15100 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15101 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15104 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15106 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15108 2011-08-16 Alan Mackenzie <acm@muc.de>
15110 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15111 Correct, to avoid the inside of macros.
15113 2011-08-16 Richard Stallman <rms@gnu.org>
15115 * epa-mail.el: Handle GnuPG group definitions.
15116 (epa-mail-group-alist, epa-mail-group-modtime)
15117 (epa-mail-gnupg-conf-file): New variables.
15118 (epa-mail-parse-groups, epa-mail-sync-groups)
15119 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15120 (epa-mail-expand-recipients): New functions.
15121 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15123 * mail/rmail.el (rmail-epa-decrypt): New command.
15125 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15126 Don't bind buffer-read-only, just inhibit-read-only.
15127 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15128 (epa-decrypt-armor-in-region): Make error message clearer.
15130 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15132 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15133 and "a2b" to "ab" for `prefix'.
15135 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15137 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15139 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15140 Fourquet (Bug#8804).
15142 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15144 * startup.el (argi): Declare as global variable (bug#9275).
15146 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15148 * subr.el (string-mark-left-to-right): Search the entire string
15149 for RTL script, not just the terminating character. Doc fix.
15151 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15153 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15155 (js--regexp-literal, js-syntax-propertize-function): Remove.
15156 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15157 (js-mode-map): Don't rebind electric keys.
15158 (js-insert-and-indent): Remove.
15159 (js-mode): Setup electric-layout and electric-indent instead.
15161 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15163 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15165 * epa.el (epa-progress-callback-function): Fix the logic of
15166 displaying progress.
15167 * epa-file.el (epa-file-insert-file-contents): Make progress
15168 display more user-friendly.
15169 (epa-file-write-region): Ditto.
15171 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15173 * subr.el (string-mark-left-to-right): New function.
15175 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15176 Use string-mark-left-to-right.
15177 (list-buffers-noselect): Caller changed.
15179 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15180 Use string-mark-left-to-right.
15181 (tabulated-list-print): Recenter after moving point.
15183 2011-08-10 Juri Linkov <juri@jurta.org>
15185 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15186 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15187 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15189 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15191 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15194 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15196 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15197 character. (Bug#6594)
15199 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15201 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15202 (image-dired--with-db-file): New macro.
15203 (image-dired-write-tags, image-dired-remove-tag)
15204 (image-dired-create-gallery-lists, image-dired-write-comments)
15205 (image-dired-get-comment, image-dired-mark-tagged-files)
15206 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15207 (image-dired-gallery-generate): Use insert-file-contents.
15209 * time.el (display-time-world-list, display-time-world-display):
15210 * time-stamp.el (time-stamp-string):
15211 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15212 set-time-zone-rule (Bug#7337).
15214 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15216 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15217 (epg-error-to-string, epg-errors-to-string): New function.
15218 (epg-wait-for-completion): Reverse errors list.
15219 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15220 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15221 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15222 (epg-sign-keys, epg-generate-key-from-file)
15223 (epg-generate-key-from-string): Format errors by using
15224 epg-errors-to-string (bug#9255).
15225 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15227 2011-08-07 Juri Linkov <juri@jurta.org>
15229 * faces.el (list-faces-display): Remove extra angle bracket
15230 from `help-mode-map'.
15232 * info.el (Info-history-toc-nodes): Doc fix.
15234 * longlines.el (longlines-mode): Doc fix.
15236 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15238 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15239 of statements and in a few more cases (bug#9183).
15241 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15243 (cl-transform-lambda): Use them (bug#9239).
15245 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15247 * window.el (display-buffer-same-window)
15248 (display-buffer-same-frame, display-buffer-other-window)
15249 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15250 (pop-to-buffer-other-window)
15251 (pop-to-buffer-same-frame-other-window)
15252 (pop-to-buffer-other-frame): Make them defuns.
15253 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15255 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15257 * subr.el (make-composed-keymap): Move from C. Change calling
15258 convention, and improve docstring to bring attention to a subtle point.
15259 * minibuffer.el (completing-read-default): Adjust accordingly.
15261 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15263 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15264 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15266 * net/trampver.el: Update release number.
15268 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15270 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15273 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15275 * mail/sendmail.el (sendmail-query-once): Restore the current
15276 buffer after querying (bug#9074).
15278 * dired.el (dired-flagged): Use different faces for marked and
15279 flagged files (bug#6117).
15281 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15284 * ido.el (ido-mode): Switch off the message if called
15287 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15288 before 587, since it appears that that's more likely to work for
15291 * cus-edit.el (custom-file): When running under emacs -q, always
15292 refuse to save the customizations, even if the .emacs file doesn't
15295 * info.el: Remove the `Info-beginning-of-buffer' function
15298 * net/network-stream.el (network-stream-open-starttls):
15299 Use `starttls-available-p' to see whether starttls.el can be used.
15301 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15303 * window.el (display-buffer-in-window): Don't set dedicated status
15304 of window here (Bug#9215).
15305 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15306 (display-buffer-pop-up-side-window)
15307 (display-buffer-in-side-window): Set dedicated status of window here.
15309 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15311 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15312 before binding generated-autoload-file.
15314 2011-08-01 Deniz Dogan <deniz@dogan.se>
15316 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15318 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15320 Sync with Tramp 2.2.2.
15322 * net/trampver.el: Update release number.
15324 2011-07-30 Juri Linkov <juri@jurta.org>
15326 * dired-aux.el (dired-touch-initial): Remove function.
15327 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15328 current time, and `default' to the last modification time of the
15329 current marked file (bug#6887).
15331 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15333 * simple.el (goto-line): Use string-to-number to provide a
15334 numeric argument to read-number (bug#9163).
15336 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15338 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15339 connection process, it could be nil.
15341 2011-07-27 Leo Liu <sdl.web@gmail.com>
15343 Simplify url handling in rcirc-mode.
15345 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15346 (rcirc-browse-url-at-mouse): Remove.
15347 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15349 2011-07-26 Alan Mackenzie <acm@muc.de>
15351 Fontify bitfield declarations properly.
15353 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15354 (c-symbol-chars): Now exported as a lang variable.
15355 (c-not-primitive-type-keywords): New lang variable.
15357 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15358 QT keyword "more" to prevent "more slots: ...." being spuriously
15359 parsed as a bitfield declaration.
15361 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15362 Refactor and enhance to handle bitfield declarations.
15363 (c-punctuation-in): New function.
15364 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15365 declarations properly.
15367 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15369 * calendar/icalendar.el (icalendar--all-events): Take care of
15370 multiple vcalendars in a single file.
15371 (icalendar--convert-float-to-ical): Checkdoc fixes.
15373 2011-07-25 Deniz Dogan <deniz@dogan.se>
15375 * image.el (insert-image): Clarifying docstring.
15377 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15379 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15380 `tramp-send-command-and-check' if there is no error.
15381 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15383 2011-07-22 Alan Mackenzie <acm@muc.de>
15385 Prevent cc-langs.elc being loaded at run time.
15387 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15390 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15391 "(require 'cc-langs)". Quote a form so it will evaluate at
15392 (cc-mode's) compilation time.
15394 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15396 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15397 loading. (Bug#9114)
15399 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15401 * window.el (display-buffer-pop-up-window)
15402 (display-buffer-pop-up-side-window)
15403 (display-buffer-in-side-window): Call display-buffer-set-height
15404 and display-buffer-set-width after setting the new window's
15405 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15407 2011-07-20 Sam Steingold <sds@gnu.org>
15409 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15410 (etags-tags-included-tables): Call `convert-standard-filename' on
15411 the file names contained in TAGS so that windows Emacs can handle
15412 TAGS files created by cygwin ctags.
15414 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15417 which apparently didn't work.
15419 2011-07-19 Roland Winkler <winkler@gnu.org>
15421 * proced.el (proced-send-signal): For *Marked Processes* buffer
15422 put point at beginning of buffer.
15424 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15426 * proced.el (proced-format): Make header lines align with the text
15429 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15431 * view.el (view-buffer): Allow running in `special' modes if we're
15432 visiting a file (bug#8615).
15434 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15436 * window.el (display-buffer-alist-of-strings-p)
15437 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15439 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15442 2011-07-18 Alan Mackenzie <acm@muc.de>
15444 Fontify declarators properly when, e.g., a jit-lock chunk begins
15445 inside a declaration.
15447 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15449 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15451 (c-complex-decl-matchers): Insert reference to
15452 c-font-lock-enclosing-decls.
15454 * progmodes/cc-engine.el (c-backward-single-comment):
15455 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15456 to nil around calls to (forward-comment -1).
15458 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15460 * image.el (put-image): Doc typo fix.
15462 * progmodes/etags.el (tags-search): Doc typo fix.
15464 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15465 password if we get errors 550 to 554.
15467 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15469 * net/gnutls.el (gnutls-log-level): Remove.
15471 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15472 indentation character (bug#6380).
15474 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15476 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15477 to clarify what the problem is (bug#4291).
15479 * simple.el (current-kill): Clarify what
15480 `interprogram-paste-function' does (bug#7500).
15481 (auto-fill-mode): Document `auto-fill-function' in relation to
15482 `auto-fill-mode' (bug#2470).
15484 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15486 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15487 method if slot is read-only (bug#9035).
15489 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15491 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15492 * window.el (pop-to-buffer): Select window used even if it was
15493 selected before, see discussion of (Bug#8615), (Bug#6954).
15494 Pass argument NORECORD on to select-frame-set-input-focus.
15496 2011-07-15 Glenn Morris <rgm@gnu.org>
15498 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15501 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15503 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15504 (gnutls-negotiate): Use it.
15506 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508 * net/gnutls.el (gnutls-negotiate):
15509 Upcase `gnutls-algorithm-priority'.
15511 2011-07-15 Glenn Morris <rgm@gnu.org>
15513 * jka-compr.el (jka-compr-verbose): Move from here...
15514 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15515 Add missing :version tag.
15516 * info.el: No need to require jka-compr when compiling.
15518 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15520 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15521 (gnutls-negotiate): Use it.
15523 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15525 * info.el (Info-beginning-of-buffer): New command.
15526 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15527 announcing `b' as the key (bug#8325).
15528 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15530 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15532 * international/mule-cmds.el
15533 (describe-specified-language-support): Make the error message
15534 clearer (bug#8905).
15536 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15538 * isearch.el (isearch-barrier): Add a doc string, since it's
15539 mentioned in a function doc string (bug#8678).
15541 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15543 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15544 buffer argument (Bug#9083) and self-identifying label argument.
15546 2011-07-15 Glenn Morris <rgm@gnu.org>
15548 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15550 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15552 * man.el (Man-fontify-manpage): Fix message when formatting the
15553 man page (bug#7929).
15555 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15557 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15558 argument LRM; if non-nil, append an invisible LRM character to the
15560 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15561 last argument non-nil, when formatting buffer names.
15562 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15563 paragraph direction.
15565 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15567 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15568 the man page name (bug#7929).
15570 * image.el (put-image): Mention the `put-image' overlay property
15573 * scroll-bar.el (set-scroll-bar-mode): Mention that
15574 `scroll-bar-mode' lists the values (bug#7772).
15576 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15577 command (bug#7729).
15579 * rect.el (apply-on-rectangle): Return the point after the last
15581 (string-rectangle): Go to the point after the last operation
15584 * printing.el (pr-toggle-region): Clarify the documentation
15585 slightly (bug#7493).
15587 * time.el (display-time-update):
15588 Allow `display-time-mail-function' to return nil (bug#7158).
15589 Fix suggested by Detlev Zundel.
15591 * vc/diff.el (diff): Clarify the order the file names are read
15594 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15595 the doc string (bug#7015).
15597 * font-lock.el (font-lock-maximum-decoration): Mention what
15598 numeric levels mean (bug#6935).
15600 * startup.el (initial-buffer-choice): Don't mention the `none'
15601 selection, which is against policy.
15603 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15605 * window.el (display-buffer-normalize-special):
15606 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15608 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15610 * subr.el (version<, version<=, version=): Mention "-CVS" and
15611 "-12345" alpha version numbers.
15613 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15615 * bindings.el: Add advertised binding for set-mark-command
15618 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15620 * bindings.el (mode-line-other-buffer):
15621 * bookmark.el (bookmark-bmenu-2-window):
15622 * bs.el (bs-cycle-next, bs-cycle-previous):
15623 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15626 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15629 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15631 * follow.el (follow-debug-message, follow-redisplay):
15632 * jka-cmpr-hook.el (with-auto-compression-mode):
15633 Fix typos in docstrings.
15635 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15637 * subr.el (with-silent-modifications): Clarify somewhat what the
15638 macro inhibits (bug#6525).
15640 * simple.el (eval-expression): Note what it does if called
15641 interactively (bug#6495).
15643 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15645 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15646 Use pop-to-buffer buffer-or-name if it is nil.
15648 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15649 Remove switch-to-buffer.
15651 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15653 * files.el (make-directory): Clarify that an error will be raised
15654 if there's an error (bug#6397).
15656 * startup.el (initial-buffer-choice): Add `none' as a choice
15659 * subr.el (add-hook): Clarify section about buffer-local hooks
15662 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15664 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15666 * tabify.el (untabify): Preserve the current column so that point
15667 doesn't move (bug#6032).
15669 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15671 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15672 Rewrite to avoid awkward possessive "s" (bug#5986).
15674 2011-07-13 Glenn Morris <rgm@gnu.org>
15676 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15677 (dired-insert-directory): Give a message the first time
15678 if ls is found not to support --dired.
15680 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15682 * simple.el (toggle-truncate-lines): Clarify what is toggled
15683 (bug#5580). Text by Drew Adams.
15685 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15687 * simple.el (blink-matching-open): Make the error message from the
15688 last change less verbose.
15690 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15692 * font-lock.el (font-lock-comment-face): Use the high contrast
15693 "yellow" color for font-lock-comment-face on low color terminals
15694 using a dark background color (bug#4221).
15696 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15698 * dired.el (dired-insert-set-properties): Make the doc string
15699 reflect what it does now (bug#5325).
15701 * simple.el (blink-matching-open): Say that we were unable to find
15702 the match within the limit, if we're limited (bug#5122).
15704 * international/mule-cmds.el (prefer-coding-system): Add an
15705 example (bug#4869).
15707 * progmodes/etags.el (tags-search): Document `file-list-form'
15710 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15712 * net/browse-url.el (browse-url-default-browser)
15713 (browse-url-browser-function): Make the default browser choice a
15714 bit more logical (bug#4300). Also clean up the doc string.
15716 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15718 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15719 binary endings (bug#4440).
15721 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15723 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15724 which can be pretty annoying (bug#8971).
15726 * jka-compr.el (jka-compr-verbose): New variable, and use
15727 throughout (bug#8971).
15729 * info.el (Info-find-file): Fall back on the installation
15730 directory if we can't find the info node anywhere else.
15732 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15734 * vc/vc.el (vc-revert-file):
15735 Don't set file time-stamp in the past. (Bug#5181)
15737 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15739 * files.el (after-find-file): Give a better error message when
15740 trying to find a symlink that points to a file that doesn't exist
15743 * progmodes/cc-vars.el: Remove (probably) misleading comment
15746 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15748 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15750 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15752 * mouse-sel.el: Hack restoring functionality, while keeping
15753 compatibility with 2010-07-03 changes to mouse selection.
15754 (mouse-sel-primary-overlay): New var.
15755 (mouse-sel-selection-alist): Use it.
15756 (mouse-sel-mode): Doc fix; remove points that are default features
15759 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15762 Fix previous fix (bug#2490).
15764 2011-07-12 Roland Winkler <winkler@gnu.org>
15766 * textmodes/bibtex.el (bibtex-initialize):
15767 Use pop-to-buffer-same-window.
15768 (bibtex-search-entries): Fix interactive call.
15770 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15773 Fontise bytecomp Error lines more correctly (bug#2490).
15774 Fix suggested by Johan Bockgård.
15776 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15778 * dired-x.el (dired-guess-default): Use `delete-dups'.
15780 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15782 * dired.el (dired-mark-prompt):
15783 * dired-aux.el (dired-read-shell-command): Doc fix.
15785 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15787 * mail/sendmail.el (sendmail-query-once):
15788 Use `customize-save-variable' unconditionally, now that it works under
15791 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15793 * cus-edit.el (custom-file): Take an optional no-error variable.
15794 (customize-save-variable): Set the variable, and give a warning if
15795 running under "emacs -q".
15797 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15799 * loadhist.el (unload-feature-special-hooks):
15800 Add `auto-coding-functions', `fill-nobreak-predicate' and
15801 `find-directory-functions' (bug#5327).
15803 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15805 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15807 * cus-edit.el (custom-guess-name-alist): -alist variables should
15808 use the `alist' type (bug#3120). Suggested by Drew Adams.
15810 * printing.el: Add documentation to all the `pr-toggle-' commands.
15812 2011-07-11 Leo Liu <sdl.web@gmail.com>
15814 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15815 backends where it makes sense (bug#2623).
15817 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15819 * dired-x.el (dired-guess-default): Remove duplicate shell command
15820 entries (bug#2028).
15821 (dired-guess-default): Fix grammar in doc string (bug#2028).
15822 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15824 * subr.el (remove-duplicates): New conveniency function.
15826 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15828 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15831 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15833 * window.el (display-buffer-normalize-default): Don't invert
15834 meaning of even-window-heights. Reported by Eli Zaretskii
15837 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15839 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15841 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15843 * window.el (display-buffer): Fix arguments to
15844 display-buffer-reuse-window in last change.
15846 * faces.el (link): Use a less saturated blue on light backgrounds.
15848 * startup.el (fancy-startup-text, fancy-about-text)
15849 (fancy-startup-tail): Use font-lock faces, for background safety.
15851 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15853 * emulation/viper-cmd.el (viper-change-state-to-vi):
15854 Limit triggering of abbrev expansion (Bug#9038).
15856 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15858 * window.el (display-buffer-default-specifiers): Remove.
15859 (display-buffer-macro-specifiers): Remove default specifiers.
15860 (display-buffer-alist): Default to nil.
15861 (display-buffer-reuse-window): New optional argument other-window.
15862 (display-buffer-pop-up-window): Allow splitting internal
15863 windows. Check whether a live window was created.
15864 (display-buffer-other-window-means-other-frame)
15865 (display-buffer-normalize-arguments): Rename to
15866 display-buffer-normalize-argument and rewrite. Set the
15867 other-window specifier.
15868 (display-buffer-normalize-special): New function.
15869 (display-buffer-normalize-options): Rename to
15870 display-buffer-normalize-default and rewrite.
15871 (display-buffer-normalize-options-inhibit): Remove.
15872 (display-buffer-normalize-specifiers): Rewrite.
15873 (display-buffer): Process other-window specifier and call
15874 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15876 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15877 (display-buffer-alist-set): Don't handle 'unset default values.
15878 (display-buffer-in-window, display-buffer-alist-set):
15879 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15880 <tassilo@member.fsf.org>.
15882 2011-07-09 Leo Liu <sdl.web@gmail.com>
15884 * register.el (insert-register): Restore accidental change on
15885 2011-06-26. (Bug#9028)
15887 2011-07-09 Glenn Morris <rgm@gnu.org>
15889 * subr.el (remq): Handle the empty list. (Bug#9024)
15891 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15893 * mail/sendmail.el (send-mail-function): No longer delay custom
15895 * custom.el (custom-initialize-delay): Doc fix.
15897 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15899 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15901 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15903 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15904 human-friendly prompt.
15906 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15908 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15909 provided by a particular plugin.
15911 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15913 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15914 save customizations (with "emacs -Q"), just set the variable
15915 instead of erroring out.
15917 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15919 2011-07-08 Juri Linkov <juri@jurta.org>
15921 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15922 (archive-zip-update-case): Use 7z if found by `executable-find'.
15923 The order of searching the available programs is the same as in
15924 `archive-zip-extract' (bug#8968).
15926 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15928 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15929 (menu-bar-options-menu): Tweak descriptions.
15931 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15933 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15934 menu items into verb phrases (bug#1421). Also refill to fit under
15937 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15939 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15940 (Info-read-node-name): Doc fix (Bug#1084).
15942 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15943 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15944 (end-of-sexp, beginning-of-sexp)
15945 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15946 (forward-symbol, forward-same-syntax, word-at-point)
15947 (sentence-at-point): Doc fix (Bug#1144).
15949 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15951 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15952 should cover it (bug#1281).
15954 * cus-edit.el (custom-show): Mark as obsolete.
15956 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15957 negotiation fails, then possibly try again with a non-encrypted
15958 connection (bug#9017).
15960 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15963 2011-07-07 Richard Stallman <rms@gnu.org>
15965 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15966 property, and handle its changed format.
15967 Look for the correct line number.
15968 Use file's line contents (but not past first =) to find
15969 correct line in message.
15971 2011-07-07 Kenichi Handa <handa@m17n.org>
15973 * international/characters.el (build-unicode-category-table):
15975 (unicode-category-table): Set it by unicode-property-table-internal.
15977 * international/mule-cmds.el (char-code-property-alist): Move to
15979 (get-char-code-property): Call unicode-property-table-internal to
15980 load a file. Call get-unicode-property-internal where necessary.
15981 (put-char-code-property): Call unicode-property-table-internal to
15982 load a file. Call put-unicode-property-internal where necessary.
15983 put-unicode-property-internal where necessary.
15984 (char-code-property-description):
15985 Call unicode-property-table-internal to load a file.
15987 * international/charprop.el:
15988 * international/uni-bidi.el:
15989 * international/uni-category.el:
15990 * international/uni-combining.el:
15991 * international/uni-comment.el:
15992 * international/uni-decimal.el:
15993 * international/uni-decomposition.el:
15994 * international/uni-digit.el:
15995 * international/uni-lowercase.el:
15996 * international/uni-mirrored.el:
15997 * international/uni-name.el:
15998 * international/uni-numeric.el:
15999 * international/uni-old-name.el:
16000 * international/uni-titlecase.el:
16001 * international/uni-uppercase.el: Regenerate.
16003 * loadup.el: Load international/charprop.el before
16004 international/characters.
16006 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16008 * window.el (next-buffer, previous-buffer): Signal an error if
16009 called from a minibuffer window.
16011 * bindings.el: Revert 2011-07-04 change.
16013 2011-07-06 Richard Stallman <rms@gnu.org>
16015 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16016 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16017 Treat markers like ints.
16018 (rmail-mime-entity): Doc fix.
16020 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16022 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16023 defcustom again for backwards compatibility.
16025 * simple.el (shell-command-on-region): Fill.
16027 * dired-aux.el (dired-kill-line): Add a doc string.
16029 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16030 to "\\sw\\|\\s_" (bug#358).
16032 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16033 (dired-unmark-backward): Ditto.
16034 (dired-flag-backup-files): Ditto.
16036 * dired-x.el (dired-mark-sexp): Ditto.
16038 2011-07-06 Richard Stallman <rms@gnu.org>
16040 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16041 (rmail-mime-entity): New arg TRUNCATED.
16042 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16044 (rmail-mime-save): Warn if entity is truncated.
16045 (rmail-mime-toggle-hidden): Likewise, for showing.
16046 (rmail-mime-process-multipart): Record when an entity is truncated.
16048 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16049 if ENTITY is a string.
16051 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16054 of faces when `M-C-x'-ing their definitions (bug#8378).
16055 Also clean up the code slightly.
16057 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16058 because that makes the colors go away.
16060 * mail/sendmail.el (send-mail-function): Change the default to
16061 `sendmail-query-once'.
16062 (sendmail-query-once): Add an autoload cookie.
16064 * net/network-stream.el (network-stream-open-starttls): Try using
16065 a plain connection even if the server offered STARTTLS, and we
16066 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16067 capability. This should make smtpmail.el work in slightly more
16070 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16072 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16074 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16076 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16078 * progmodes/sql.el: Version 3.0
16079 (sql-product-alist): Add product :completion-object,
16080 :completion-column, and :statement attributes.
16081 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16082 (sql-mode-syntax-table): Mark all punctuation.
16083 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16085 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16086 (sql-mode-oracle-font-lock-keywords): Improve.
16087 (sql-oracle-show-reserved-words): New function for development.
16088 (sql-product-font-lock): Simplify for source code buffers.
16089 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16091 (sql-highlight-product): Set product specific syntax table.
16092 (sql-mode-map): Add statement movement functions.
16093 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16095 (sql-statement-regexp, sql-beginning-of-statement)
16096 (sql-end-of-statement, sql-signum): New functions.
16097 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16098 (sql-show-sqli-buffer): Bug fix.
16099 (sql-interactive-mode): Store connection data as buffer local.
16100 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16101 with sql-interactive-mode.
16102 (sql-save-connection): Save buffer local settings.
16103 (sql-connection-menu-filter): Change menu entry name.
16104 (sql-product-interactive): Bug fix.
16105 (sql-preoutput-hold): New variable.
16106 (sql-interactive-remove-continuation-prompt): Bug fixes.
16107 (sql-debug-redirect): New variable.
16108 (sql-str-literal): New function.
16109 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16111 (sql-oracle-save-settings, sql-oracle-restore-settings)
16112 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16113 (sql-completion-object, sql-completion-column)
16114 (sql-completion-sqlbuf): New variables.
16115 (sql-build-completions-1, sql-build-completions)
16116 (sql-try-completion): New functions.
16117 (sql-read-table-name): Use them.
16118 (sql-contains-names): New buffer local variable.
16119 (sql-list-all, sql-list-table): Use it.
16120 (sql-oracle-completion-types): New variable.
16121 (sql-oracle-completion-object, sql-sqlite-completion-object)
16122 (sql-postgres-completion-object): New functions.
16124 2011-07-06 Glenn Morris <rgm@gnu.org>
16126 * window.el (pop-to-buffer): Doc fix.
16128 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16130 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16132 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16134 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16136 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16138 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16140 * button.el (button): Inherit from link face. Suggested by Dan
16143 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16145 * progmodes/gdb-mi.el: Fit in 80 columns.
16146 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16149 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16150 if imenu is simply not configured (bug#8941).
16152 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16154 * allout.el (allout-post-undo-hook): New allout outline-change
16155 event hook to signal undo activity.
16156 (allout-post-command-business): Run allout-post-undo-hook if an
16157 undo just occurred.
16158 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16159 * allout-widgets.el (allout-widgets-after-undo-function):
16160 Ensure the integrity of the current item's decoration after it has been
16161 in the vicinity of an undo.
16162 (allout-widgets-mode): Include allout-widgets-after-undo-function
16163 on the new allout-post-undo-hook.
16165 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16168 Let define-derived-mode define it.
16169 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16170 cycles of abbrev-table inheritance (bug#8998).
16172 2011-07-05 Roland Winkler <winkler@gnu.org>
16174 * textmodes/bibtex.el: Add support for biblatex.
16175 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16176 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16177 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16178 (bibtex-entry-alist, bibtex-field-alist): New variables.
16179 (bibtex-entry-field-alist): Obsolete alias for
16180 bibtex-BibTeX-entry-alist.
16181 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16182 (bibtex-set-dialect): New command.
16183 (bibtex-entry-type, bibtex-entry-head)
16184 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16185 Bind via bibtex-set-dialect.
16186 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16187 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16188 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16189 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16190 Define via bibtex-set-dialect.
16191 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16192 Obey bibtex-no-opt-remove-re.
16193 (bibtex-vec-push, bibtex-vec-incr): New functions.
16194 (bibtex-format-entry, bibtex-field-list)
16195 (bibtex-print-help-message, bibtex-validate)
16196 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16198 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16200 * progmodes/compile.el (compilation-goto-locus):
16201 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16202 * bs.el (bs-cycle-next, bs-cycle-previous):
16203 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16204 * bindings.el (mode-line-other-buffer):
16205 * autoinsert.el (auto-insert):
16206 * arc-mode.el (archive-extract):
16207 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16209 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16211 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16212 Fix check of `emacs-lock-unlockable-modes'.
16213 Coerce true values of `emacs-lock--try-unlocking' to t.
16215 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16217 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16218 * emacs-lock.el: New file.
16220 2011-07-05 Julien Danjou <julien@danjou.info>
16222 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16223 than `boundp' to check if face is set.
16225 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16227 * register.el (registerv-make):
16228 * window.el (window-min-height): Fix typos in docstrings.
16230 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16232 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16235 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16237 * server.el (server-execute): Catch quit and call
16238 `server-return-error' to pass the error back to emacsclient and
16239 close the connection (bug#8942).
16241 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16243 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16244 insecure exception for current topic. Also note that auto-saves
16245 are handled differently.
16247 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16248 State variables for tracking auto-save inhibition situation.
16250 (allout-write-contents-hook-handler): Rename from
16251 'allout-write-file-hook-handler', and describe how it depends on
16252 write-contents-functions sensitivity to non-nil value to prevent
16255 (allout-auto-save-hook-handler): Remove. auto-save does not check
16256 this in individual buffers, only in the starting buffer, so this
16257 is not the right way for us to inhibit auto-save in a buffer
16258 according to its condition.
16260 (allout-mode): Use new allout-write-contents-hook-handler, and
16261 only with write-contents-functions. Remove auto-save provisions -
16262 they're implemented elsewhere.
16264 (allout-before-change-handler): If undo is in progress, note that
16265 for attention of allout-post-command-business.
16267 (allout-post-command-business): If the command we're following was
16268 an undo, check for change in the status of encrypted items and
16269 adjust auto-save inhibitions accordingly.
16271 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16272 according to whether there are or aren't any plain-text topics
16273 pending encryption.
16275 (allout-inhibit-auto-save-info-for-decryption):
16276 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16277 if there are plain-text topics pending encryption.
16279 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16280 buffer-saved-size and some allout state to not inhibit auto-saves
16281 if there are no longer any plain-text topics pending encryption.
16283 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16284 No longer provide for exemption of the current topic.
16286 2011-07-04 Juri Linkov <juri@jurta.org>
16288 Add 7z operations to delete and save changed members (bug#8968).
16289 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16291 (archive-7z-write-file-member): New function.
16292 (archive-7z-summarize): Fix the number of dashes in the
16295 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16297 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16300 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16302 * bindings.el: Ignore next-buffer and previous-buffer in
16303 minibuffer-local-map.
16305 * font-lock.el (font-lock-builtin-face): Change light background
16306 color to dark slate blue (Bug#6693).
16308 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16310 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16312 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16314 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16315 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16316 Add switch-to-buffer.
16318 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16320 * isearch.el (isearch-search-fun-function): Clarify further the
16321 meaning of the function returned.
16323 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16325 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16327 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16328 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16330 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16331 `tramp-default-remote-path' does not exist.
16332 (tramp-send-command-and-read): New optional argument NOERROR.
16333 (tramp-open-connection-setup-interactive-shell)
16334 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16335 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16336 (tramp-process-sentinel): Flush also process' connection property.
16337 (tramp-sh-handle-start-file-process): Do not set process
16338 sentinel. It is done now ...
16339 (tramp-maybe-open-connection): ... here. (Bug#8929)
16341 2011-07-04 MON KEY <monkey@sandpframing.com>
16343 * play/animate.el (animate-string): Doc fixes and allow changing
16344 the buffer name (bug#5417).
16346 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348 * play/animate.el (animation-buffer-name): Rename from *animate*.
16350 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16352 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16353 This is simpler and helps future-proof the code.
16354 (timer-until): Use time-subtract and float-time.
16355 (timer--time-less-p): Use time-less-p.
16357 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16359 * type-break.el (timep): Use the value of `float-time' to avoid a
16360 byte-compiler warning.
16362 * server.el (server-eval-and-print): Return any result, even nil.
16364 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16366 * type-break.el: Accept time formats that the builtins accept.
16367 (timep, type-break-time-difference): Accept any format that
16368 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16369 This is simpler and helps future-proof the code.
16370 (type-break-time-difference): Round rather than ignoring
16371 subseconds components.
16373 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16375 * info.el (Info-apropos-matches): Make non-interactive, since it
16376 doesn't seem to do anything useful as a command (bug#8829).
16378 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16380 * frame.el (frame-background-mode, frame-set-background-mode):
16381 Move from faces.el.
16382 (frame-default-terminal-background): New function.
16384 * custom.el (custom-push-theme): Don't record faces in `changed'
16385 theme; this doesn't work correctly for per-frame face settings.
16386 (disable-theme): Use face-set-after-frame-default to reset faces.
16387 (custom--frame-color-default): New function.
16389 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16391 * dired.el (dired-flagging-regexp): Remove unused variable
16394 2011-03-29 Kevin Ryde <user42@zip.com.au>
16396 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16397 `perl-Test2' extend to match possible "fail #N" rep count
16400 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16402 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16403 `smtpmail-via-smtp' now returns the error instead of nil.
16405 * isearch.el (isearch-search-fun-function): Clarify the doc string
16408 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16410 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16411 unnecessary spaces (bug#8987).
16413 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16415 * net/network-stream.el (open-network-stream): Use the
16416 :end-of-capability command thoughout.
16418 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16420 * net/network-stream.el (open-network-stream): Add the
16421 :end-of-capability command parameter, used by pop3.el.
16423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16425 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16427 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16428 for list)" (bug#6475).
16430 * files.el (file-expand-wildcards): Ignore non-readable
16431 sub-directories while trying to find matches instead of signaling
16432 an error (bug#6297).
16434 * man.el (Man-reference-regexp): Allow matching possible
16435 word-wrapped references (bug#6289).
16437 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16438 for consistency with the other vc buffers (bug#6197).
16439 (vc-checkin): Ditto.
16441 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16443 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16445 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16447 * custom.el (defcustom): Clarify that :set is only used in the
16448 Customize user interface (bug#6089).
16450 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16451 associated with a file, refuse to run instead of erroring out
16454 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16455 the doc string, since it appears that using `fill-column' always
16456 controls the width (bug#7845).
16458 * simple.el (shell-command-on-region): Say where the error output
16459 went if `shell-command-default-error-buffer' is set (bug#6857).
16461 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16463 * allout.el (allout-yank-processing): Adjust cursor position for
16464 backwards-deleted space.
16466 (allout-rebullet-heading): Register changes with
16467 allout-exposure-changed-hook, so the modified topic is properly
16470 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16472 * minibuffer.el (completion-in-region): Document PREDICATE
16475 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16476 of keyword/argument pairs (bug#6904).
16478 * replace.el (multi-occur):
16479 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16481 2011-07-02 Drew Adams <drew.adams@oracle.com>
16483 * dired.el (dired-mark-if): Make the message about whether it's
16484 marking or unmarking clearer (bug#8523).
16486 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16488 * disp-table.el (display-table-print-array): New function.
16489 (describe-display-table): Use it to print the vectors more pretty
16492 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16494 * window.el (window-state-get-1): Don't assign clone numbers.
16495 Add clone-of item to list of window parameters.
16496 (window-state-put-2): Don't process clone numbers.
16497 (display-buffer-alist): Fix doc-string.
16499 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16501 * subr.el (remq): Don't allocate if it's not needed.
16502 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16503 (keymap--merge-bindings): New functions.
16504 (keymap-canonicalize): Use them to refine the canonicalization.
16505 * minibuffer.el (minibuffer-local-completion-map)
16506 (minibuffer-local-must-match-map): Move initialization from C.
16507 (minibuffer-local-filename-completion-map): Move initialization from C;
16508 don't inherit from anything here.
16509 (minibuffer-local-filename-must-match-map): Make obsolete.
16510 (completing-read-default): Use make-composed-keymap to combine
16511 minibuffer-local-filename-completion-map with either
16512 minibuffer-local-must-match-map or
16513 minibuffer-local-filename-completion-map.
16515 2011-07-01 Glenn Morris <rgm@gnu.org>
16517 * type-break.el (type-break-time-sum): Use dolist.
16519 * textmodes/flyspell.el (flyspell-word-search-backward):
16520 Replace CL function.
16522 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16524 * mouse.el (mouse--strip-first-event): New function.
16525 (function-key-map): Use it to map fringe clicks to normal clicks
16528 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16529 (vc-bzr-revision-completion-table): Add support for annotate and date.
16531 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16532 inherit from parent.
16534 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16536 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16537 (dired-show-file-type): Doc fixup (bug#8818).
16539 * dired.el (dired-mode): Fix up the doc string as suggested by
16540 Drew Adams (bug#8817).
16542 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16543 cookie, since the manual says that it should be possible to add
16544 this function to `find-file-hook' (bug#8709).
16546 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16548 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16549 here. Noted Ted Zlatanov as the maintainer.
16550 (cfengine-common-settings, cfengine-common-syntax): New functions
16551 to set up common things between `cfengine-mode' and
16553 (cfengine3-mode): New mode.
16554 (cfengine3-defuns cfengine3-defuns-regex
16555 (cfengine3-class-selector-regex cfengine3-category-regex)
16556 (cfengine3-vartypes cfengine3-font-lock-keywords)
16557 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16558 (cfengine3-indent-line): Add from cfengine3.el.
16560 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16562 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16564 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16566 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16568 * window.el (same-window-buffer-names, same-window-regexps)
16569 (same-window-p, special-display-frame-alist)
16570 (special-display-popup-frame, special-display-function)
16571 (special-display-buffer-names, special-display-regexps)
16572 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16573 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16574 (split-window-preferred-function, split-height-threshold)
16575 (split-width-threshold, even-window-heights)
16576 (display-buffer-mark-dedicated, window-splittable-p)
16577 (split-window-sensibly, window-safely-shrinkable-p):
16579 (display-buffer): Don't spread args with function specifier
16580 because special-display-popup-frame won't like it.
16582 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16584 Time-stamp simplifications and fixes.
16585 These improve accuracy slightly, and future-proof the code
16586 against some potential changes to current-time format.
16588 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16589 by using time-since and float-time.
16591 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16592 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16593 + NNN microseconds".
16595 * type-break.el (type-break-time-sum): Rewrite using time-add.
16597 * play/hanoi.el (hanoi-current-time-float): Remove.
16598 All uses replaced by float-time.
16600 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16601 This yields a more-accurate answer.
16602 (rng-time-to-float): Remove; no longer needed.
16604 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16606 * calendar/timeclock.el (timeclock-seconds-to-time):
16607 Defalias to seconds-to-time, since they're the same thing.
16609 * emacs-lisp/elp.el (elp-elapsed-time):
16610 * emacs-lisp/benchmark.el (benchmark-elapse):
16611 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16613 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * window.el (bury-buffer): Don't iconify the only frame.
16616 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16617 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16619 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16621 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16622 Add mouse-yank-primary.
16624 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16626 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16628 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16630 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16631 (find-library-name): Use it to find relative load names when provided
16632 absolute file name (bug#8803).
16634 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636 * textmodes/flyspell.el (flyspell-word): Consider words that
16637 differ only in case as potential doublons (bug#5687).
16639 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16640 Remove two rather uninteresting debugging-like messages to make
16641 debbugs.el more silent.
16643 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16644 a password-like phrase.
16646 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16648 * progmodes/cc-guess.el: New file.
16650 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16652 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16653 derived from `c-basic-common-init'.
16655 * progmodes/cc-mode.el (top-level): Require cc-guess.
16656 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16658 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16660 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16662 2011-06-30 Alan Mackenzie <acm@muc.de>
16664 * progmodes/cc-engine.el (c-guess-continued-construct):
16665 Correct the handling of template-args-cont, particularly for when font
16666 lock is disabled. Name this case as "CASE G".
16668 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16670 * allout.el (allout-yank-processing): Fix injection of extra space
16671 between bullet and non-whitespace character in first topic when
16672 pasting, ensuring that the actual spacing in the pasted topic
16673 following the bullet char is preserved. This extra space was
16674 causing pasted encrypted topics to get a decrypted status even
16675 when the content was actually still encrypted. Now the decryption
16676 status from before the paste is preserved.
16678 (allout-flag-region): Set all allout overlays so they evaporate
16679 when reduced to zero length (evanescent), to prevent overlay
16682 2011-06-30 Glenn Morris <rgm@gnu.org>
16684 * w32-fns.el (w32-charset-info-alist): Declare.
16686 * find-dired.el (find-grep-options): Simplify.
16688 * term/ns-win.el (ns-set-resource): Declare.
16690 * ses.el (row, col): Declare dynamic variables honestly.
16692 * textmodes/reftex-parse.el (index-tags): Declare.
16694 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16696 * cus-edit.el (customize-push-and-save): New function.
16698 * files.el (hack-local-variables-confirm): Use it.
16700 * custom.el (load-theme): New arg NO-CONFIRM.
16701 Use customize-push-and-save (Bug#8720).
16702 (custom-enabled-themes): Doc fix.
16704 * cus-theme.el (customize-create-theme)
16705 (custom-theme-merge-theme): Callers to load-theme changed.
16707 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16709 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16710 short URLs have at least one dot in them (bug #7614).
16712 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16713 nil, because using a pty is apparently too slow (bug #895).
16715 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16717 * mail/sendmail.el (sendmail-query-once): New function.
16718 (sendmail-query-once-function): New variable.
16720 2011-06-29 Glenn Morris <rgm@gnu.org>
16722 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16724 * ses.el (top-level): Require cl when compiling.
16725 (ses-set-localvars): Fix error statement.
16726 Call it at compile time to silence a storm of warnings.
16728 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16730 * window.el (normalize-live-buffer): Rename to
16731 window-normalize-buffer.
16732 (normalize-live-frame): Rename to window-normalize-frame.
16733 (normalize-any-window): Rename to window-normalize-any-window.
16734 (normalize-live-window): Rename to window-normalize-live-window.
16735 (make-window-atom): Rename to window-make-atom.
16736 (window-resize-reset): Rename to window--resize-reset.
16737 (window-resize-reset-1): Rename to window--resize-reset-1.
16738 (resize-mini-window): Rename to window--resize-mini-window.
16739 (resize-subwindows-skip-p): Rename to
16740 window--resize-subwindows-skip-p.
16741 (resize-subwindows-normal): Rename to
16742 window--resize-subwindows-normal.
16743 (resize-subwindows): Rename to window--resize-subwindows.
16744 (resize-other-windows): Rename to window--resize-siblings.
16745 (resize-this-window): Rename to window--resize-this-window.
16746 (resize-root-window): Rename to window--resize-root-window.
16747 (resize-root-window-vertically): Rename to
16748 window--resize-root-window-vertically.
16749 (normalize-buffer-to-display): Rename to
16750 window-normalize-buffer-to-display.
16751 (normalize-buffer-to-switch-to): Rename to
16752 window-normalize-buffer-to-switch-to.
16753 Correspondingly update all callers of the functions listed
16755 (display-buffer-alist, display-buffer-normalize-arguments)
16756 (display-buffer-normalize-options, display-buffer)
16757 (display-buffer-alist-set): Use "function" instead of
16760 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16762 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16763 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16764 debbugs.gnu.org. Mention acknowledgment email.
16766 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16768 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16769 buffer multibyteness, since it shouldn't matter.
16771 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16773 * window.el (display-buffer-in-side-window): Handle dedicated
16774 windows as in display-buffer-reuse-window.
16775 (display-buffer-normalize-alist): Use value of override
16777 (display-buffer-normalize-specifiers): Use value of
16778 other-window-means-other-frame specifier.
16779 (display-buffer-alist): Rewrite some texts in widgets.
16780 (display-buffer): Spread arguments when calling function
16781 specified by fun-with-args.
16783 2011-06-28 Deniz Dogan <deniz@dogan.se>
16785 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16788 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16789 selectors (Bug#5732).
16790 (css-proprietary-nmstart-re): Use `regexp-opt'.
16792 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16794 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16795 (eshell-ls-date-format): New defcustom.
16796 (eshell-ls-file): Use it.
16798 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16800 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16802 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16804 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16805 (ange-ftp-make-tmp-name): New arg.
16806 (ange-ftp-file-local-copy): Use it.
16808 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16810 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16811 no-conversion (Bug#8870).
16813 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16815 * window.el (window-right, window-left, window-child)
16816 (window-child-count, window-last-child)
16817 (window-iso-combination-p, walk-window-tree-1)
16818 (window-atom-check-1, window-tree-1, delete-window)
16819 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16820 new naming conventions - window-vchild, window-hchild,
16821 window-next and window-prev are now called window-top-child,
16822 window-left-child, window-next-sibling and window-prev-sibling
16824 (resize-window-reset): Rename to window-resize-reset.
16825 (resize-window-reset-1): Rename to window-resize-reset-1.
16826 (resize-window): Rename to window-resize.
16827 (window-min-height, window-min-width)
16828 (resize-mini-window, resize-this-window, resize-root-window)
16829 (resize-root-window-vertically, adjust-window-trailing-edge)
16830 (enlarge-window, shrink-window, maximize-window)
16831 (minimize-window, delete-window, quit-restore-window)
16832 (split-window, balance-windows, balance-windows-area-adjust)
16833 (balance-windows-area, window-state-put-2)
16834 (display-buffer-even-window-sizes, display-buffer-set-height)
16835 (display-buffer-set-width, set-window-text-height)
16836 (fit-window-to-buffer): Rename all "resize-window" prefixed
16837 calls to use the "window-resize" prefix convention.
16838 (display-buffer-alist): Fix symbol for label specifier.
16839 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16840 corresponding specifier.
16841 Reported by Juanma Barranquero <lekktu@gmail.com>.
16843 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16845 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16847 (ses-call-printer): Does not pass an empty string to formatter when the
16848 cell is empty to keep from barking printer Calc math-format-value.
16850 2011-06-27 Richard Stallman <rms@gnu.org>
16852 * battery.el (battery-mode-line-limit): New variable.
16853 (battery-update): Handle it.
16855 * mail/rmailmm.el (rmail-mime-process-multipart):
16856 Handle truncated messages.
16858 2011-06-27 Glenn Morris <rgm@gnu.org>
16860 * progmodes/flymake.el (flymake-err-line-patterns):
16861 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16863 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16865 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16866 (ses--clean-!, ses--clean-_): New functions.
16867 (ses-range): Add configurability of readout order, and conversion
16870 * ses.el (ses-repair-cell-reference-all): New function.
16871 (ses-cell-symbol): Set macro as safe, so that it can be used in
16874 * ses.el: Update cycle detection algorithm.
16875 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16876 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16877 (ses-set-localvars): New function.
16878 (ses-make-cell): Add property-list as a cell element.
16879 (ses-cell-property-get-fun, ses-cell-property-get)
16880 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16881 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16883 (ses-cell-property-set, ses-cell-property-pop)
16884 (ses-cell-property-get-handle): New macro.
16885 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16886 New aliases, used for code readability.
16887 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16889 (ses-self-reference-early-detection): New defcustom.
16890 (ses-formula-references): Robustify against self-referring cells.
16891 (ses-mode): Use ses-set-localvars.
16892 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16893 before lauching the update processing.
16894 (ses-initialize-Dijkstra-attempt): New function.
16895 (ses-recalculate-cell): Update for cycle detection based on
16896 Dijkstra algorithm.
16898 * ses.el: Fix commenting and indenting convention.
16900 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16902 * bs.el (bs-cycle-next): Complete last change.
16904 2011-06-27 Drew Adams <drew.adams@oracle.com>
16906 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16908 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16910 * net/network-stream.el (network-stream-open-starttls):
16911 Don't re-get capabilities unless we've reestablished connection.
16912 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16914 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16915 to binary to possibly avoid line encoding issues on Windows (among
16918 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16920 * net/network-stream.el (open-network-stream): Return an :error
16921 saying what the problem was, if possible.
16923 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16926 * net/network-stream.el (network-stream-open-starttls): If we
16927 wanted to use STARTTLS, and the server offered it, but we weren't
16928 able to because we had no STARTTLS support, then close the connection.
16929 (open-network-stream): Return an :error element, if present.
16931 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16933 * hl-line.el (hl-line-sticky-flag): Doc fix.
16934 (global-hl-line-sticky-flag): New option (Bug#8323).
16935 (global-hl-line-highlight): Obey it.
16937 * vc/vc.el (vc-revert-show-diff): Default to t.
16939 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16941 * allout-widgets.el (allout-widgets-post-command-business):
16942 Stop decorating intermediate isearch matches. They're not being
16943 undecorated when an isearch is continued past, and isearch
16944 automatically collapses them. This leads to "widget leaks", where
16945 decorated items accumulate in collapsed areas. Lines with lots of
16946 hidden widgets can slow down cursor travel, substantially.
16947 Too much complicated machinery would be needed to ensure undecoration,
16948 so we're doing without this nicety.
16950 (allout-widgets-tally-string): Don't try to do a hash-table-count
16951 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16952 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16953 *Messages* when allout-widgets-maintain-tally is t.
16955 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16957 * window.el (display-buffer-normalize-argument): Rename to
16958 display-buffer-normalize-arguments. Handle special meaning of
16959 LABEL argument. Respect special-display-function when popping up
16960 a new frame. Fix code searching for a window showing the buffer
16962 (display-buffer-normalize-specifiers):
16963 Call display-buffer-normalize-arguments.
16964 (display-buffer-in-window): Don't undedicate the window if its
16965 buffer remains the same.
16966 Reported by Drew Adams <drew.adams@oracle.com>.
16967 (display-buffer-alist): Add choice for same-window macro
16969 (display-buffer): Mention special meaning of LABEL argument in
16970 doc-string. Fix quoting. Don't pop up a new frame even as
16973 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16975 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16976 avoid deleting the current window in some cases (bug#8911).
16978 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16980 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16983 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16985 * net/network-stream.el (network-stream-open-starttls):
16986 Use built-in TLS support if `gnutls-available-p' is true.
16987 (network-stream-open-tls): Ditto.
16989 2011-06-26 Leo Liu <sdl.web@gmail.com>
16991 * register.el (registerv): New struct.
16992 (registerv-make): New function.
16993 (jump-to-register, describe-register-1, insert-register):
16994 Support the jump-func, print-func and insert-func slot of a registerv
16997 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16999 * vc/vc.el (vc-revert-show-diff): New defcustom.
17000 (vc-diff-internal): New arg specifying diff buffer.
17001 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17002 reuse an existing *vc-diff* buffer (Bug#8927).
17004 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17006 2011-06-26 Glenn Morris <rgm@gnu.org>
17008 * progmodes/f90.el (f90-critical-indent): New option.
17009 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17010 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17011 (f90-mode): Doc fix.
17012 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17013 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17014 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17015 (f90-match-end): Handle block, critical.
17017 2011-06-25 Glenn Morris <rgm@gnu.org>
17019 * calendar/diary-lib.el (diary-included-files): Doc fix.
17020 (diary-include-files): New function, extracted from
17021 diary-include-other-diary-files and diary-mark-included-diary-files.
17022 (diary-include-other-diary-files, diary-mark-included-diary-files):
17023 Just call diary-include-files.
17024 (diary-mark-entries): Reset diary-included-files on first call.
17026 * calendar/diary-lib.el (diary-mark-entries)
17027 (diary-mark-included-diary-files):
17028 Visit included diary-files in temp buffers.
17030 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17031 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17032 (f90-start-block-re, f90-imenu-generic-expression)
17033 (f90-looking-at-program-block-start, f90-no-block-limit):
17034 Add support for submodules.
17036 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17037 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17039 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17041 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17042 buffer-file-type before setting its value, to avoid disastrous
17043 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17045 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17047 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17049 * ses.el (ses-unload-function):
17050 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17052 * proced.el (proced-unload-function):
17053 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17055 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17057 * server.el (server-create-window-system-frame): Add parameters arg.
17058 (server-process-filter): Doc fix. Handle frame-parameters.
17060 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17062 Fix bug#8730, bug#8781.
17064 * loadhist.el (unload--set-major-mode): New function.
17065 (unload-feature): Use it.
17067 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17068 (python-unload-function): New function.
17070 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17072 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17074 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17076 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17077 the candidates list.
17079 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17081 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17083 2011-06-23 Richard Stallman <rms@gnu.org>
17085 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17086 (rmail-variables): Set next-error-move-function.
17087 (rmail-what-message): Take argument POS.
17088 (rmail-next-error-move): New function.
17090 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17093 messages for adjacent non-terminals.
17095 2011-06-23 Richard Stallman <rms@gnu.org>
17097 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17098 (rmail-show-message-1): Preserve buffer modified flag.
17099 (rmail-start-mail): Don't specify use of rmail-mail-return;
17100 that's done by mail-bury now.
17101 (rmail-mail-return): Handle arg NEWBUF.
17103 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17105 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17108 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17110 * window.el (get-lru-window, get-mru-window)
17111 (get-largest-window): Never return a minibuffer window.
17112 (display-buffer-pop-up-window): Fix a bug that could lead to
17113 reusing the minibuffer window.
17114 (display-buffer): Pass original specifier argument to
17115 display-buffer-function instead of the normalized one.
17116 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17118 2011-06-22 Leo Liu <sdl.web@gmail.com>
17120 * minibuffer.el (completing-read-function)
17121 (completing-read-default): Move from minibuf.c.
17123 2011-06-22 Richard Stallman <rms@gnu.org>
17125 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17126 to Rmail even if not started by a special Rmail command.
17128 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17129 Copy the buffer currently showing just one message.
17131 2011-06-22 Roland Winkler <winkler@gnu.org>
17133 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17134 (bibtex-clean-entry): First delete the old key so that a
17135 customized algorithm for generating the new key does not get
17136 confused by the old key.
17137 (bibtex-url): Obey regexp of first step.
17138 (bibtex-search-entries): Do not use add-to-list with local
17141 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17143 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17144 stored a user name, then query for the password first, instead of
17145 waiting for SMTP to give an error message and the trying again.
17147 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17149 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17150 BUFFER in call-process.
17152 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17154 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17156 (smtpmail-try-auth-methods): Require user name and password from
17159 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17161 * window.el (display-buffer-default-specifiers)
17162 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17163 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17164 (split-window): Normalize SIDE argument (Bug#8916).
17166 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17167 (special-display-frame-alist, special-display-popup-frame):
17168 Remove duplicate declarations. These are now in window.el.
17170 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17172 * mail/smtpmail.el (smtpmail-via-smtp):
17173 Set :use-starttls-if-possible so that we always use STARTTLS if the
17174 server supports it. SMTP servers that support STARTTLS commonly
17177 * net/network-stream.el (network-stream-open-starttls): Support
17178 upgrading to STARTTLS always, even if we don't have built-in support.
17179 (open-network-stream): Add the :always-query-capabilities keyword.
17181 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17182 upgrades with `open-network-stream', and rely solely on
17183 auth-source for all credentials. Big changes throughout the file,
17185 (smtpmail-auth-credentials): Remove.
17186 (smtpmail-starttls-credentials): Remove.
17187 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17190 * net/network-stream.el (network-stream-open-starttls):
17191 Provide support for client certificates both for external and built-in
17193 (auth-source): Require.
17194 (open-network-stream): Document the :client-certificate keyword.
17195 (network-stream-certificate): Change cert-cert to cert and
17198 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17200 * net/tramp-cache.el (top): Don't load the persistency file when
17201 "emacs -Q" has been called.
17203 2011-06-21 Tim Harper <timcharper@gmail.com>
17205 * term/ns-win.el (ns-initialize-window-system):
17206 Set application-specific `ApplePressAndHoldEnabled' system
17207 resource to NO as it is not yet supported by the NS port.
17209 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17211 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17212 (list-dynamic-libraries): ...not here.
17214 2011-06-21 Leo Liu <sdl.web@gmail.com>
17216 * subr.el (sha1): Implement sha1 using secure-hash.
17218 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17220 * window.el (display-buffer-alist): In default value do not
17221 enforce searching a window on any but the selected frame.
17222 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17223 (display-buffer-select-window): Remove function.
17224 (display-buffer-in-window): When a window on another frame gets
17225 reused, do not select it any more but just raise its frame if
17226 necessary (Bug#8851) and (Bug#8856).
17227 (display-buffer-normalize-options): Handle pop-up-frames related
17228 options more faithfully.
17229 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17230 window if it is on another frame.
17231 (display-buffer-alist, display-buffer-default-specifiers):
17232 Don't make new frame unsplittable by default.
17233 (display-buffer-normalize-argument): Fix doc-string typo and use
17234 'same-frame-other-window instead of 'other-window when associating
17235 with display-buffer-macro-specifiers.
17237 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17239 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17241 (5x5-mode-map, 5x5-mode-menu): Bind them.
17242 (5x5-draw-grid): Tweak the solver's rendering.
17244 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17246 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17247 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17249 2011-06-21 Drew Adams <drew.adams@oracle.com>
17251 * menu-bar.el: Use function variable instead of switch-to-buffer.
17252 (menu-bar-select-buffer-function): New variable.
17253 (menu-bar-update-buffers): Use it (bug#8876).
17255 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17257 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17260 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17262 * x-dnd.el (x-dnd-version-from-flags)
17263 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17264 and long as number (Bug#8899).
17265 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17267 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17269 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17270 (completion-try-completion, completion-all-completions): Compute the
17271 metadata argument if it's missing; make it optional (bug#8795).
17273 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17274 (widget-complete): Use new :completion-function property.
17275 (widget-completions-at-point): New function.
17276 (default): Use :completion-function instead of :complete.
17277 (widget-default-completions): Rename from widget-default-complete;
17279 (widget-string-complete, widget-file-complete, widget-color-complete):
17281 (file, symbol, function, variable, coding-system, color):
17282 * international/mule-cmds.el (default-input-method, charset)
17283 (language-info-custom-alist):
17284 * cus-edit.el (face): Use new property :completions.
17286 * progmodes/pascal.el (pascal-completions-at-point): New function.
17287 (pascal-mode): Use it.
17288 (pascal-mode-map): Use completion-at-point.
17289 (pascal-toggle-completions): Make obsolete.
17290 (pascal-complete-word, pascal-show-completions):
17291 * progmodes/octave-mod.el (octave-complete-symbol):
17292 Redefine as obsolete alias.
17293 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17294 Signal absence of completion info for old Octave,
17295 (inferior-octave-complete): Redefine as obsolete alias.
17296 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17297 (meta-completions-at-point): Rename from meta-complete-symbol and
17298 adapt it for use on completion-at-point-functions.
17299 (meta-common-mode): Use it.
17300 (meta-looking-at-backward, meta-match-buffer): Remove.
17301 (meta-complete-symbol): Redefine as obsolete alias.
17302 (meta-common-mode-map): Use completion-at-point.
17303 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17304 (makefile-mode-map): Use completion-at-point.
17305 (makefile-completions-at-point): Rename from makefile-complete and
17306 adapt it for use on completion-at-point-functions.
17307 (makefile-mode): Use it.
17308 (makefile-complete): Redefine as obsolete alias.
17310 2011-06-20 Deniz Dogan <deniz@dogan.se>
17312 * net/rcirc.el: Delete trailing whitespaces once and for all.
17314 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17316 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17318 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17320 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17322 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17324 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17326 * window.el (display-buffer-other-window-means-other-frame):
17327 Call display-buffer-normalize-alist.
17328 (display-buffer-normalize-specifiers-1): Rename to
17329 display-buffer-normalize-argument. New argument other-frame.
17331 (display-buffer-normalize-specifiers-2): Rename to
17332 display-buffer-normalize-options.
17333 (display-buffer-normalize-alist-1): New function.
17334 (display-buffer-normalize-specifiers-3): Rename to
17335 display-buffer-normalize-alist.
17336 Call display-buffer-normalize-alist-1.
17337 (display-buffer-normalize-options-inhibit): New variable.
17338 (display-buffer-normalize-specifiers): Rewrite calling
17339 display-buffer-normalize-alist,
17340 display-buffer-normalize-argument, and
17341 display-buffer-normalize-options. Don't call the latter if
17342 display-buffer-normalize-options-inhibit is non-nil.
17343 (frame-auto-delete): New option.
17344 (window-deletable-p): Use frame-auto-delete.
17345 (window-list-no-nils, window-state-ignored-parameters)
17346 (window-state-get-1, window-state-get, window-state-put-list)
17347 (window-state-put-1, window-state-put-2, window-state-put):
17349 (display-buffer-normalize-options): Move special-display-p group
17350 after pop-up-frame group (Bug#8851) and (Bug#8856).
17352 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17354 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17356 (rx-submatch-n): New function.
17359 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17362 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17364 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17366 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17367 anytime existing face settings are present (Bug#8889).
17369 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17370 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17371 Remove unused argument.
17373 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17375 * window.el (display-buffer-default-specifiers):
17376 Remove pop-up-frame. Add pop-up-window-min-height,
17377 pop-up-window-min-width, and another reuse-window specifier
17378 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17379 (display-buffer-normalize-specifiers-2):
17380 Handle split-height-threshold and split-width-threshold also when
17381 pop-up-windows is unset. Add a reuse-window specifier for the
17382 case popping up a new window fails.
17383 (special-display-popup-frame): Remove double quoting.
17384 (display-buffer-normalize-specifiers-1): Fix thinko.
17386 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17388 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17389 according to comint-completion-addsuffix.
17391 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17392 (pcomplete-suffix-list): Mark as obsolete.
17393 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17394 pcomplete-seen in the closure.
17395 (pcomplete-comint-setup): Setup completion-at-point as well.
17396 (pcomplete--entries): New function.
17397 (pcomplete--env-regexp): New var.
17398 (pcomplete-entries): Rewrite to work with partial-completion and
17399 without relying on pcomplete-suffix-list.
17400 (pcomplete-pare-list): Remove, unused.
17402 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17404 * window.el (display-buffer-alist): Set pop-up-window-min-height
17405 and pop-up-window-min-width in default value. Reported by
17406 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17407 other-window-means-other-frame.
17408 (display-buffer-macro-specifiers): Comment out entry for
17409 other-window specifier.
17410 (display-buffer-other-window-means-other-frame): New function.
17411 (display-buffer-normalize-specifiers-1): New arguments
17412 buffer-name and label. Treat other-window case specially.
17413 (display-buffer-normalize-specifiers-2): Treat other-window case
17415 (display-buffer-normalize-specifiers-3): New function.
17416 (display-buffer-normalize-specifiers):
17417 Call display-buffer-normalize-specifiers-3.
17419 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17421 * window.el (same-window-p): Fix two typos introduced when
17422 adding with-no-warnings.
17423 (display-buffer-normalize-specifiers-1): Don't check
17424 pop-up-frames for 'unset initialization.
17425 (display-buffer-normalize-specifiers-2): Major rewrite using
17426 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17427 (pop-up-frames, display-buffer-reuse-frames)
17428 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17429 Suggested by David Engster <deng@randomsample.de>.
17430 (even-window-heights): Initialize to 'unset.
17431 (display-buffer-alist-set): Handle new 'unset initializations.
17432 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17435 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17437 * window.el (display-buffer-normalize-specifiers-1):
17438 Respect current value of pop-up-frames for most reasonable values of
17439 second argument of display-buffer (Bug#8865).
17440 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17441 (switch-to-buffer-other-window-same-frame)
17442 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17444 (display-buffer): Don't check noninteractive when calling
17445 display-buffer-pop-up-frame.
17446 (display-buffer-pop-up-frame): Never pop up a frame in
17447 noninteractive mode (Bug#8857).
17448 (enlarge-window, shrink-window): Don't report an error when the
17449 window can't be resized as requested (Bug#8862).
17451 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17453 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17455 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17457 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17459 2011-06-15 Alan Mackenzie <acm@muc.de>
17461 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17462 for declarators, disable knr checking to speed up for normal files.
17463 2: Refactor, replacing a sequence of nested if forms by a cond form.
17465 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17467 * net/network-stream.el (open-network-stream): Add the keyword
17468 :always-query-capabilities for the case where you want to force a
17469 `plain' network connection, but the protocol still requires the
17470 capabilitiy command (i.e., SMTP and EHLO).
17472 * subr.el (process-live-p): Rename from `process-alive-p' for
17473 consistency with other `-live-p' functions.
17475 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17477 * window.el (same-window-buffer-names, same-window-regexps)
17478 (special-display-frame-alist, special-display-popup-frame)
17479 (special-display-function, special-display-buffer-names)
17480 (special-display-regexps, pop-up-frame-alist)
17481 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17482 (pop-up-windows, split-window-preferred-function)
17483 (split-height-threshold, split-width-threshold, even-window-heights)
17484 (display-buffer-mark-dedicated): Don't encourage the use of
17485 display-buffer-alist from Elisp code.
17487 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17489 * progmodes/python.el (python-mode): Derive from prog-mode.
17490 * progmodes/ps-mode.el (ps-mode):
17491 * progmodes/mixal-mode.el (mixal-mode):
17492 * progmodes/cfengine.el (cfengine-mode):
17493 * progmodes/ld-script.el (ld-script-mode): Likewise.
17495 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17497 * window.el (display-buffer-alist): Trim default value to avoid
17498 popping up a new frame (Bug#8857) or reusing an arbitrary window
17500 (display-buffer): Do not fall back on popping up a new frame in
17501 batch mode (Bug#8857).
17503 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17505 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17506 (custom-theme-summary): New function.
17507 (customize-themes): Use it.
17509 2011-06-13 Glenn Morris <rgm@gnu.org>
17511 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17513 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17515 * help.el (help-window): Remove variable.
17516 (help-window-point-marker, temp-buffer-max-height)
17517 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17518 (help-print-return-message): Don't set help-window.
17519 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17520 (help-window-setup-finish): Remove.
17521 (help-window-display-message, help-window-setup)
17522 (with-help-window): Major rewrite based on new
17523 display-buffer-window variable.
17525 * help-mode.el (help-mode-finish): Remove help-window related
17528 * view.el (view-exits-all-viewing-windows): Remove reference to
17529 view-return-to-alist in doc-string.
17530 (view-return-to-alist): Make obsolete.
17531 (view-buffer): Call pop-to-buffer-same-window and remove
17533 (view-buffer-other-window): Call pop-to-buffer-other-window and
17534 simplify code. Ignore second argument.
17535 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17536 simplify code. Ignore second argument.
17537 (view-return-to-alist-update): Make obsolete.
17538 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17539 Rewrite using quit-restore window parameters.
17540 (view-mode-exit): Rename second argument to EXIT-ONLY.
17541 Rewrite using quit-restore-window.
17542 (View-exit, View-exit-and-edit, View-leave, View-quit)
17543 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17544 appropriate arguments.
17545 (view-end-message): Use quit-restore window parameter.
17547 * window.el (display-buffer-function): Rewrite doc-string.
17548 (display-buffer-window, display-buffer-alist): New variables.
17549 (display-buffer-split-specifiers)
17550 (display-buffer-side-specifiers)
17551 (display-buffer-macro-specifiers): New constants.
17552 (display-buffer-even-window-sizes, display-buffer-set-height)
17553 (display-buffer-set-width, display-buffer-select-window)
17554 (display-buffer-in-window, display-buffer-reuse-window)
17555 (display-buffer-split-window-1, display-buffer-split-window)
17556 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17557 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17558 (display-buffer-in-side-window, normalize-buffer-to-display)
17559 (display-buffer-normalize-specifiers-1)
17560 (display-buffer-normalize-specifiers-2)
17561 (display-buffer-normalize-specifiers, display-buffer-frame):
17563 (display-buffer): Major rewrite.
17564 (display-buffer-other-window, display-buffer-other-frame)
17565 (pop-to-buffer, switch-to-buffer-other-window)
17566 (switch-to-buffer-other-frame): Rewrite.
17567 (display-buffer-same-window, display-buffer-same-frame)
17568 (display-buffer-same-frame-other-window)
17569 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17570 (pop-to-buffer-other-window)
17571 (pop-to-buffer-same-frame-other-window)
17572 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17573 (switch-to-buffer-other-window-same-frame): New functions.
17574 (same-window-p, special-display-p): Rewrite disabling warnings.
17576 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17577 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17579 (same-window-buffer-names, same-window-regexps)
17580 (special-display-frame-alist, special-display-popup-frame)
17581 (special-display-function, special-display-buffer-names)
17582 (special-display-regexps, pop-up-frame-alist)
17583 (pop-up-frame-function, split-window-preferred-function)
17584 (split-height-threshold, split-width-threshold)
17585 (even-window-heights): Make obsolete.
17587 2011-06-12 Glenn Morris <rgm@gnu.org>
17589 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17590 Misc simplifications.
17592 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17594 * window.el (window-safely-shrinkable-p): Restore function which
17595 was inadvertently removed in change from 2011-06-11. Declare as
17598 * calendar/calendar.el (calendar-generate-window):
17599 Use window-iso-combined-p instead of combination of one-window-p and
17600 window-safely-shrinkable-p.
17602 2011-06-12 Glenn Morris <rgm@gnu.org>
17604 * progmodes/fortran.el (fortran-mode-syntax-table):
17605 * progmodes/f90.el (f90-mode-syntax-table):
17606 Set % to punctuation. (Bug#8820)
17607 (f90-find-tag-default): Remove, no longer needed.
17609 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17611 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17613 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17615 * image.el (image-animated-p): Return animation delay in seconds.
17616 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17617 (image-animate-timeout): Remove DELAY argument. Don't assume
17618 every subimage has the same delay; get it from image-animated-p.
17619 (image-animate): Caller changed.
17621 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17623 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17624 to ignored backtrace functions.
17626 2011-06-11 Glenn Morris <rgm@gnu.org>
17628 * calendar/appt.el (appt-disp-window-function): Doc fix.
17629 (appt-check): Handle overlapping appointments. (Bug#8337)
17631 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17633 * window.el (window-tree-1, window-tree): New functions, moving
17634 the latter to window.el.
17635 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17636 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17637 (bw-refresh-edges): Remove.
17638 (balance-windows-1, balance-windows-2): New functions.
17639 (balance-windows): Rewrite in terms of window tree functions,
17640 balance-windows-1 and balance-windows-2.
17641 (bw-adjust-window): Remove.
17642 (balance-windows-area-adjust): New function with functionality of
17643 bw-adjust-window but using resize-window.
17644 (set-window-text-height): Rewrite doc-string.
17645 Use normalize-live-window and resize-window.
17646 (enlarge-window-horizontally, shrink-window-horizontally):
17647 Rename argument to DELTA.
17648 (window-buffer-height): New function.
17649 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17650 Rewrite using new window resize routines.
17651 (kill-buffer-and-window, mouse-autoselect-window-select):
17652 Use ignore-errors instead of condition-case.
17653 (quit-window): Call delete-frame instead of delete-windows-on
17654 for the only buffer on frame.
17656 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17658 * loadup.el (top-level): Load window before files for the sake
17659 of replace-buffer-in-windows.
17661 * files.el (read-buffer-to-switch)
17662 (switch-to-buffer-other-window)
17663 (switch-to-buffer-other-frame, display-buffer-other-frame):
17666 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17667 (previous-buffer): Move to window.el.
17669 * bindings.el (unbury-buffer): Move to window.el.
17671 * window.el (delete-other-windows-vertically): Move after
17672 definition of delete-other-windows.
17673 (other-window, delete-windows-on, replace-buffer-in-windows):
17674 Move here from window.c.
17675 (record-window-buffer, unrecord-window-buffer)
17676 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17677 (switch-to-next-buffer): New functions.
17678 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17679 from simple.el. Call switch-to-next-buffer.
17680 (previous-buffer): Move here from simple.el.
17681 Call switch-to-prev-buffer.
17682 (bury-buffer): Move here from buffer.c. Switch to previous
17683 buffer when window cannot be deleted.
17684 (unbury-buffer): Move here from bindings.el.
17685 (ctl-x-map): Move binding for other-window from window.c to
17687 (read-buffer-to-switch, switch-to-buffer-other-window)
17688 (switch-to-buffer-other-frame): Move here from files.el.
17689 (normalize-buffer-to-switch-to): New functions.
17690 (switch-to-buffer): Move here from buffer.c.
17691 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17693 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17695 * window.el (window-min-height, window-min-width): Move here
17696 from window.c. Add defcustoms and rewrite doc-strings.
17697 (resize-mini-window, resize-window): New functions.
17698 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17699 Move here from window.c.
17700 (maximize-window, minimize-window): New functions.
17701 (delete-window, delete-other-windows, split-window): Move here
17703 (window-split-min-size): New function.
17704 (split-window-keep-point): Mention split-window-above-each-other
17705 instead of split-window-vertically.
17706 (split-window-above-each-other, split-window-vertically):
17707 Rename split-window-vertically to split-window-above-each-other
17708 and provide defalias for old definition.
17709 (split-window-side-by-side, split-window-horizontally):
17710 Rename split-window-horizontally to split-window-side-by-side
17711 and provide defalias for the old definition.
17712 (ctl-x-map): Move bindings for delete-window,
17713 delete-other-windows and enlarge-window here from window.c.
17714 Replace bindings for split-window-vertically and
17715 split-window-horizontally by bindings for
17716 split-window-above-each-other and split-window-side-by-side.
17718 * cus-start.el (all): Remove entries for window-min-height and
17719 window-min-width. Add entries for window-splits and
17722 2011-06-09 Glenn Morris <rgm@gnu.org>
17724 * calendar/appt.el (appt-mode-line): New function.
17725 (appt-check, appt-disp-window): Use it.
17727 * files.el (hack-one-local-variable-eval-safep):
17728 Allow minor-modes with explicit +/-1 arguments.
17730 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17732 * term/xterm.el (xterm): Add defgroup.
17733 (xterm-extra-capabilities): Add defcustom to supply known xterm
17734 capabilities, skip querying them, or query them (default).
17735 (terminal-init-xterm): Use it.
17736 (terminal-init-xterm-modify-other-keys): New function to set up
17737 modifyOtherKeys support to simplify `terminal-init-xterm'.
17739 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17741 * window.el (resize-window-reset, resize-window-reset-1)
17742 (resize-subwindows-skip-p, resize-subwindows-normal)
17743 (resize-subwindows, resize-other-windows, resize-this-window)
17744 (resize-root-window, resize-root-window-vertically)
17745 (window-deletable-p, window-or-subwindow-p)
17746 (frame-root-window-p): New functions.
17748 2011-06-09 Glenn Morris <rgm@gnu.org>
17750 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17751 (ange-ftp-get-files): Use it.
17753 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17755 * mail/sendmail.el (mail-recover-1, mail-recover):
17756 * files.el (recover-file, recover-session):
17757 Handle dired-listing-switches not being just a single short option.
17759 2011-06-09 Glenn Morris <rgm@gnu.org>
17761 * calendar/appt.el (appt-display-message, appt-disp-window):
17762 Handle lists of appointments.
17764 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17766 * window.el (one-window-p): Move down in code.
17767 Rewrite doc-string.
17768 (window-current-scroll-bars): Rewrite doc-string.
17769 Normalize live window argument.
17770 (walk-windows, get-window-with-predicate, count-windows):
17771 Rewrite doc-string. Use window-list-1.
17772 (window-in-direction-2, window-in-direction, get-mru-window):
17775 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17777 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17778 Doc fix (Bug#8713).
17780 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17782 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17784 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17786 * loadhist.el (unload-feature-special-hooks):
17787 Add `comint-output-filter-functions'.
17789 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17791 * calendar/appt.el (appt-check): Move some initializations into the let.
17793 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17795 * window.el (window-height): Defalias to window-total-height.
17796 (window-width): Defalias to window-body-width.
17798 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17800 * image-mode.el (image-toggle-animation): New command.
17801 (image-mode-map): Bind it to RET.
17802 (image-mode): Update message.
17803 (image-toggle-display-image): Avoid a spurious cache flush.
17804 (image-transform-rotation): Doc fix.
17805 (image-transform-properties): Return quickly in the normal case.
17806 (image-animate-loop): Rename from image-animate-max-time.
17808 * image.el (image-animate-max-time): Move to image-mode.el.
17809 (create-animated-image): Remove unnecessary function.
17810 (image-animate): Rename from image-animate-start. New arg.
17811 (image-animate-stop): Remove; just use image-animate-timer.
17812 (image-animate-timer): Use car-safe.
17813 (image-animate-timeout): Rename argument.
17815 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17817 * window.el (get-lru-window, get-largest-window): Move here from
17818 window.c. Rename first argument to ALL-FRAMES.
17819 Rephrase doc-strings.
17820 (get-buffer-window-list): Rewrite using window-list-1.
17821 Rephrase doc-string.
17822 (window-safe-min-height, window-safe-min-width): New constants.
17823 (window-size-ignore, window-min-size, window-min-size-1)
17824 (window-sizable, window-sizable-p, window-size-fixed-1)
17825 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17826 (window-max-delta-1, window-max-delta, window-resizable)
17827 (window-resizable-p, window-total-height, window-total-width)
17828 (window-body-width): New functions.
17829 (window-full-height-p, window-full-width-p): Rewrite using
17831 (window-body-height): Rewrite using window-body-size.
17833 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17835 * window.el (window-right, window-left, window-child)
17836 (window-child-count, window-last-child, window-any-p)
17837 (normalize-live-buffer, normalize-live-frame)
17838 (normalize-any-window, normalize-live-window)
17839 (window-iso-combination-p, window-iso-combined-p)
17840 (window-iso-combinations)
17841 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17842 (windows-with-parameter, window-with-parameter)
17843 (window-atom-root, make-window-atom, window-atom-check-1)
17844 (window-atom-check, window-side-check, window-check):
17846 (ignore-window-parameters, window-sides, window-sides-vertical)
17847 (window-sides-slots): New variables.
17848 (window-size-fixed): Move down in code. Minor doc-string fix.
17850 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17852 * comint.el (comint-dynamic-complete-as-filename)
17853 (comint-dynamic-complete-filename): Correctly call
17854 completion-in-region.
17856 2011-06-05 Deniz Dogan <deniz@dogan.se>
17858 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17861 2011-06-05 Deniz Dogan <deniz@dogan.se>
17863 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17864 (rcirc): Use it to prompt for encryption.
17866 2011-06-05 Roland Winkler <winkler@gnu.org>
17868 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17869 (bibtex-search-entries): New command bound to C-c C-a.
17870 (bibtex-display-entries): New function.
17872 2011-06-05 Roland Winkler <winkler@gnu.org>
17874 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17875 (bibtex-insert-kill): After yanking insert newline if necessary.
17876 (bibtex-initialize): Call bibtex-string-files-init only once.
17877 (bibtex-mode): Do not call easy-menu-add.
17878 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17879 (bibtex-yank): Set arg properly if nil.
17881 2011-06-05 Roland Winkler <winkler@gnu.org>
17883 * textmodes/bibtex.el (bibtex-search-entry-globally):
17885 (bibtex-search-entry): Use it.
17887 2011-06-05 Roland Winkler <winkler@gnu.org>
17889 * textmodes/bibtex.el (bibtex-entry-format): New option
17891 (bibtex-format-entry, bibtex-reformat): Honor this option.
17892 (bibtex-parse-entry): Return fields in proper order.
17894 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17896 * doc-view.el (doc-view-remove-if): Move computation of result out
17897 of `dolist' to silence misleading lexical-binding warning.
17899 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17901 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17902 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17904 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17906 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17909 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17911 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17912 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17913 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17914 (tramp-parse-putty):
17915 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17916 (tramp-completion-function-alist-ssh)
17917 (tramp-completion-function-alist-telnet)
17918 (tramp-completion-function-alist-su)
17919 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17922 * net/tramp-ftp.el:
17924 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17925 load "tramp.el" `tramp-set-completion-function'.
17927 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * shell.el: Require and use pcomplete.
17930 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17931 (shell-completion-vars): Set pcomplete-default-completion-function.
17933 2011-06-04 Deniz Dogan <deniz@dogan.se>
17935 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17938 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17940 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17942 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17944 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17945 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17946 * vc/log-view.el (log-view-beginning-of-defun):
17947 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17948 (smerge-refine-forward, smerge-refine-chopup-region):
17949 Silence warning for unused `dotimes' counter variables.
17951 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17953 * net/tramp.el (tramp-with-progress-reporter): Rename from
17954 with-progress-reporter. Use `declare'.
17955 * net/tramp-smb.el:
17957 * net/tramp-gvfs.el: Update all uses.
17959 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17961 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17962 buffer isn't killed before making it current.
17964 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17966 Silence various byte-compiler warnings.
17967 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17968 `access-type' and new obsolescence format.
17969 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17971 (byte-compile-check-variable): New `access-type' argument.
17972 Only warn if the access-type is obsolete.
17973 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17974 (byte-compile-variable-set): Adjust callers.
17975 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17976 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17977 setting it as obsolete.
17978 * simple.el (minibuffer-completing-symbol):
17979 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17980 access as obsolete.
17981 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17983 * international/quail.el (quail-mouse-choose-completion): Remove unused
17984 code referring to obsolete var.
17985 (quail-choose-completion-string): Remove.
17986 * server.el (server-clients-with, server-kill-buffer-query-function)
17987 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17988 * proced.el (proced-send-signal):
17989 * emacs-lisp/lisp.el (lisp-complete-symbol):
17990 Replace completion-annotate-function with completion-extra-properties.
17992 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17994 * simple.el (goto-line): Use read-number.
17995 (overriding-map-is-bound): Remove.
17996 (saved-overriding-map): Change default.
17997 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17998 Take the map as argument.
17999 (universal-argument, negative-argument, digit-argument): Use it.
18000 (restore-overriding-map): Adjust.
18001 (do-auto-fill): Use fill-forward-paragraph.
18002 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18004 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18005 (minibuffer-inactive-mode): New major mode.
18006 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18007 the *Messages* buffer" hack.
18008 (mouse-popup-menubar): Don't burp if the event is a normal key.
18010 Miscellaneous tweaks.
18011 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18012 lexical scoping as in subr.el's dolist and dotimes.
18013 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18014 Silence compiler warning.
18015 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18016 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18017 * international/ccl.el (ccl-compile): Trivial simplification.
18018 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18019 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18020 `printflag' argument.
18021 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18022 Purecopy the whole obsolescence data.
18024 2011-06-01 Leo Liu <sdl.web@gmail.com>
18026 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18027 improve doc-string as suggested by Marco Pessotto
18028 <melmothx@gmail.com>.
18029 (rcirc-print): Fix last change.
18031 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18033 * minibuffer.el (complete-with-action): Return nil for the metadata and
18034 boundaries of non-functional tables.
18035 (completion-table-dynamic): Return nil for the metadata.
18036 (completion-table-with-terminator): Add default case, using
18037 complete-with-action.
18038 (completion--metadata): New function.
18039 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18040 to try and avoid pathological performance problems.
18041 (completion--embedded-envvar-table): Return `category' metadata.
18043 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18045 * subr.el (process-alive-p): New tiny convenience function.
18047 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18050 content but also its previous major mode.
18052 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18054 * emacs-lisp/debug.el (debug): Restore the previous content of the
18055 *Backtrace* buffer when we exit with C-M-c.
18057 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18059 * minibuffer.el: Add metadata method to completion tables.
18060 (completion-category-overrides): New defcustom.
18061 (completion-metadata, completion--field-metadata)
18062 (completion-metadata-get, completion--styles)
18063 (completion--cycle-threshold): New functions.
18064 (completion-try-completion, completion-all-completions):
18065 Add `metadata' argument to choose completion-styles.
18066 (completion--do-completion): Use metadata to choose cycling.
18067 (completion-all-sorted-completions): Use metadata for sorting.
18068 Remove :completion-cycle-penalty which is not needed any more.
18069 (completion--try-word-completion): Add `metadata' argument.
18070 (minibuffer-completion-help): Check metadata for annotation function
18072 (completion-file-name-table): Return `category' metadata.
18073 (minibuffer-completing-file-name): Make obsolete.
18074 * simple.el (minibuffer-completing-symbol): Make obsolete.
18075 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18076 completion-try-completion.
18078 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18080 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18082 2011-05-30 Leo Liu <sdl.web@gmail.com>
18084 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18085 (rcirc-print): Decode all incoming messages (bug#8744).
18086 (rcirc-decode-coding-system): Allow value nil for automatic coding
18089 2011-06-01 Glenn Morris <rgm@gnu.org>
18091 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18093 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18095 * image.el (image-animate-max-time): Allow nil and t values.
18097 (create-animated-image): Doc fix.
18098 (image-animate-start): Remove second arg; just use
18099 image-animate-max-time.
18100 (image-animate-timeout): Doc fix. Args changed.
18102 * image-mode.el (image-toggle-display-image): Ensure that the
18103 image spec passed to the animate timer is the same object as in
18104 the buffer's display property (Bug#6981).
18105 (image-transform-properties): Doc fix.
18107 * image.el (image-animate-max-time): Default to nil.
18109 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18111 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18112 entire buffer list (Bug#8184).
18114 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18116 * image.el (imagemagick-types-inhibit)
18117 (imagemagick-register-types): Doc fix.
18119 2011-05-29 Deniz Dogan <deniz@dogan.se>
18121 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18124 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18126 * select.el: Don't perform clipboard-manager saving in hooks;
18127 leave the hooks empty.
18129 2011-05-28 Leo Liu <sdl.web@gmail.com>
18131 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18132 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18133 (occur-edit-mode): New major mode (Bug#8463).
18134 (occur-after-change-function): New function.
18135 (occur-engine): Give Occur tags a read-only property.
18137 2011-05-28 Kevin Ryde <user42@zip.com.au>
18139 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18141 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18143 * bindings.el (help-echo): Make the initial non-indicator dash
18144 empty on graphical terminals (Bug#7295).
18146 * files.el (auto-mode-alist): Move config rule after the
18147 in-stripping one (Bug#8547).
18149 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18151 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18152 setting (Bug#8740).
18154 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18156 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18157 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18160 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18162 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18164 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18166 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18167 (hs-hide-block-at-point, hs-find-block-beginning)
18168 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18171 2011-05-28 Glenn Morris <rgm@gnu.org>
18173 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18175 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18177 * help-fns.el (describe-function-1): If the function is a derived
18178 major mode, print the parent mode.
18180 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18181 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18183 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18185 * minibuffer.el (completion--capf-wrapper): Check applicability before
18186 returning non-nil for non-exclusive completion data.
18187 * progmodes/etags.el (tags-completion-at-point-function):
18188 * info-look.el (info-lookup-completions-at-point): Mark as
18190 (info-complete): Adjust accordingly.
18192 * info-look.el: Convert to lexical-binding and completion-at-point.
18193 (info-lookup-completions-at-point): New function.
18194 (info-complete): Use it and completion-in-region.
18196 2011-05-28 Drew Adams <drew.adams@oracle.com>
18198 * isearch.el: Let M-e start with point at the first mismatched char.
18199 (isearch-fail-pos): New function.
18200 (isearch-edit-string): Use it.
18202 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18204 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18206 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18208 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18209 traversal functions for avl-trees.
18210 (avl-tree--stack): New struct.
18211 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18212 (avl-tree-enter): Add optional `updatefun' arg.
18213 (avl-tree--do-enter): Add optional `updatefun' arg.
18214 Change return value.
18215 (avl-tree-delete): Add optional `test' and `nilflag' args.
18216 (avl-tree--do-delete): Add `test' and `nilflag' args.
18217 Change return value.
18218 (avl-tree-member): Add optional `nilflag'
18219 (avl-tree-member-p): New function.
18220 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18221 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18222 (avl-tree-stack-empty-p): New functions.
18224 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18225 avl-tree--del-balance1 and make it work both ways.
18226 (avl-tree--del-balance2): Remove.
18227 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18228 make it work both ways.
18229 (avl-tree--enter-balance2): Remove.
18230 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18232 (avl-tree--mapc, avl-tree-map): Add direction argument.
18234 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18236 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18238 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18240 * select.el: Support clipboard managers with built-in function
18241 x-clipboard-manager-save, via delete-frame-functions and
18243 (xselect-convert-to-targets): Add MULTIPLE target to list.
18244 (xselect-convert-to-save-targets): New function.
18246 2011-05-27 Kenichi Handa <handa@m17n.org>
18248 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18249 let-binding rfc2047-encode-encoded-words to nil.
18251 2011-05-27 Glenn Morris <rgm@gnu.org>
18253 * mail/emacsbug.el: Don't require url-util.
18255 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18257 * files.el (set-auto-mode):
18258 Also respect mode: entries at the end of the file. (Bug#8586)
18260 2011-05-26 Glenn Morris <rgm@gnu.org>
18262 * files.el (hack-local-variables-prop-line, hack-local-variables):
18263 Downcase mode names, as seems to be traditional.
18264 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18266 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18267 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18269 2011-05-25 Julien Danjou <julien@danjou.info>
18271 * textmodes/rst.el (rst-define-level-faces): Do not define face
18272 symbol if it is already defined.
18274 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18276 * play/5x5.el (5x5-new-game, 5x5-randomize):
18277 Reset 5x5-solver-output to nil when a new grid is cast.
18278 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18279 these debugging traces, as defmacro breaks the compiled code.
18281 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18283 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18285 2011-05-24 Leo Liu <sdl.web@gmail.com>
18287 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18288 (vc-bzr-sha1): Adapt.
18290 * sha1.el: Remove. Function `sha1' is now builtin.
18292 * bindings.el: Provide sha1 feature.
18294 2011-05-24 Kenichi Handa <handa@m17n.org>
18296 * mail/sendmail.el: Require `rfc2047'.
18297 (mail-insert-from-field): Do not perform RFC2047 encoding.
18298 (mail-encode-header): New function.
18299 (sendmail-send-it): Set buffer-file-coding-system of the work
18300 buffer to the return value of select-message-coding-system.
18301 Call mail-encode-header.
18303 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18305 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18307 * mail/supercite.el (sc-default-cite-frame):
18308 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18310 2011-05-24 Glenn Morris <rgm@gnu.org>
18312 * progmodes/python.el (brm-menu): Declare.
18314 * emulation/viper.el (viper-set-hooks): Declare.
18316 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18317 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18318 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18319 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18320 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18321 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18323 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18325 Add an :exit-function for completion-at-point.
18327 * minibuffer.el (completion--done): New fun.
18328 (completion--do-completion): Use it. New arg `expect-exact'.
18329 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18330 since completion--do-completion does it for us now.
18331 (minibuffer-force-complete): Use completion--done and
18332 completion--replace. Handle sole-completion case with more care.
18333 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18334 (completion-extra-properties): New var.
18335 (completion-annotate-function): Make obsolete.
18336 (minibuffer-completion-help): Adjust accordingly.
18337 Use completion-list-insert-choice-function.
18338 (completion-at-point, completion-help-at-point):
18339 Bind completion-extra-properties.
18340 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18341 * simple.el (completion-list-insert-choice-function): New var.
18342 (completion-setup-function): Preserve it.
18343 (choose-completion): Pay attention to it, shuffle the code a bit.
18344 (choose-completion-string): New arg `insert-function'.
18346 * textmodes/bibtex.el: Convert to lexical binding.
18347 (bibtex-mode-map): Use completion-at-point.
18348 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18349 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18350 (bibtex-complete): Define as obsolete alias.
18351 (bibtex-complete-internal): Remove.
18352 (bibtex-format-entry): Remove unused sub-group in regexp.
18353 * shell.el (shell--command-completion-data)
18354 (shell-environment-variable-completion):
18355 * pcomplete.el (pcomplete-completions-at-point):
18356 * comint.el (comint--complete-file-name-data): Use :exit-function
18357 instead of completion-table-with-terminator so it also works for
18360 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18362 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18364 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18367 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18369 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18371 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18372 customization variable and implement: If non-nil, auto-fill will
18373 be inhibited while on topic's header line.
18375 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18377 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18378 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18379 always have a solution in grid size = 5 cases.
18380 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18381 (5x5-solver-output, 5x5-log-buffer): New vars.
18382 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18383 Make these variables buffer local to achieve 5x5 multi-session-ness.
18384 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18385 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18386 (5x5-solve-suggest): New funs.
18387 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18388 randomize a grid so that we ensure that there is always a solution.
18389 (5x5-make-random-grid): Allow other movement than flipping.
18391 2011-05-23 Kevin Ryde <user42@zip.com.au>
18393 * emacs-lisp/advice.el (ad-read-advised-function):
18394 Use `function-called-at-point' as the default, if it has
18395 advice and passes PREDICATE.
18397 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18399 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18400 byte-compile-lambda if it's actually a lambda.
18402 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18403 Fix function quoting. Use backquote better.
18405 2011-05-22 Yuanle Song <sylecn@gmail.com>
18407 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18408 matching (Bug#8516).
18410 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18412 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18413 different face (Bug#8178).
18415 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18417 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18418 defface (Bug#8144).
18420 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18422 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18423 funcall as well (bug#8712). Warn when performing those conversions.
18424 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18426 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18428 2011-05-22 Glenn Morris <rgm@gnu.org>
18430 * files.el (hack-local-variables-prop-line): Small simplifications.
18431 (hack-local-variables, hack-local-variables-prop-line):
18432 If MODE-ONLY, return the mode, rather than just `t'.
18434 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18436 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18438 2011-05-21 Glenn Morris <rgm@gnu.org>
18440 * files.el (hack-local-variables-prop-line, hack-local-variables):
18441 If only interested in the mode, don't bother doing the other stuff.
18443 * image-mode.el (image-after-revert-hook):
18444 Redraw all frames on which the image is visible. (Bug#8567)
18446 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18448 * wid-edit.el (widget-checklist-match-inline):
18449 Fix 2011-04-19 change. (Bug#8649)
18451 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18453 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18454 Also allow singlespace after single-letter capitals followed by a dot.
18456 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18457 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18459 2011-05-20 Nix <nix@esperi.org.uk>
18461 * files.el (basic-save-buffer-2):
18462 Fix handling of break-hardlink-on-save with non-existent files.
18464 2011-05-19 Deniz Dogan <deniz@dogan.se>
18466 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18467 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18469 2011-05-19 Glenn Morris <rgm@gnu.org>
18471 * progmodes/f90.el (f90-type-def-re):
18472 Handle "type, bind(c)". (Bug#8691)
18474 * emacs-lisp/autoload.el (batch-update-autoloads):
18475 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18477 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18479 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18480 property for the correct connection in case of multihops.
18482 2011-05-18 Glenn Morris <rgm@gnu.org>
18484 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18485 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18487 Rationalize calendar handling of day and month abbrev-arrays.
18488 * calendar/calendar.el (calendar-customized-p): New function.
18489 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18490 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18492 (calendar-abbrev-length, calendar-day-abbrev-array)
18493 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18494 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18495 Elements may no longer be nil.
18496 (calendar-day-name, calendar-month-name):
18497 Update for changed nature of abbrev arrays.
18498 * calendar/diary-lib.el (diary-name-pattern):
18499 Update for changed nature of abbrev arrays.
18500 (diary-mark-entries-1): Update calendar-make-alist calls.
18501 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18502 * calendar/cal-html.el (cal-html-day-abbrev-array):
18503 Simply inherit from calendar-day-abbrev-array.
18505 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * progmodes/grep.el (grep-mode): Disable default
18508 compilation-directory-matcher setting (bug#8684).
18510 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18512 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18513 instead of "head" and "tail". There were problems with SunOS 5.9,
18514 and it performs better.
18516 2011-05-17 Glenn Morris <rgm@gnu.org>
18518 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18520 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18521 Replace obsolete function.
18523 * shell.el (pcomplete-parse-arguments-function): Declare.
18525 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18526 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18527 (appt-check): Doc fixes.
18528 (appt-disp-window-function, appt-delete-window-function):
18529 Remove needless special case in custom :type.
18530 (appt-display-count): Default to 0, not nil.
18531 (appt-check): Reset appt-display-count to 0, not nil.
18533 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18535 * progmodes/python.el (python-font-lock-keywords):
18536 Add the Python 3.X keyword "nonlocal" (bug#8639).
18538 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18540 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18542 2011-05-16 Kevin Ryde <user42@zip.com.au>
18544 * info-look.el (makefile-automake-mode): New setups, looking in
18545 automake manual, then makefile-mode.
18546 (makefile-mode): Remove automake manual, have it just in
18547 makefile-automake-mode since there's various things different or
18548 not relevant to plain make.
18549 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18550 believe a hypothetical automake-mode would go to makefile-mode,
18551 not the other way around.
18553 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18555 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18556 hunk-end tags (Bug#8672).
18558 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18559 vc-annotate-show-diff-revision-at-line (Bug#8671).
18561 2011-05-14 Glenn Morris <rgm@gnu.org>
18563 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18564 in the middle of an existing one with multiple authors. (Bug#8645)
18565 (change-log-font-lock-keywords): Also handle multiple author lines
18566 with leading tabs. (Bug#8644)
18568 * calendar/appt.el (appt-check): Rename some local variables.
18569 Some simplification/reordering.
18571 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18572 (feedmail-sendmail-f-doesnt-sell-me-out)
18573 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18574 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18575 (feedmail-queue-runner-message-sender): Set :version.
18576 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18577 (bbdb-dwim-net-address, vm-mail): Declare.
18578 (feedmail-binmail-gnulinuxish-template):
18579 Rename from feedmail-binmail-linuxish-template.
18580 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18581 Use insert-buffer-substring.
18583 2011-05-14 Bill Carpenter <bill@carpenter.org>
18585 * mail/feedmail.el (feedmail-patch-level): Increase.
18586 (feedmail-debug): New custom group.
18587 (feedmail-confirm-outgoing-timeout)
18588 (feedmail-sendmail-f-doesnt-sell-me-out)
18589 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18590 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18591 (feedmail-sender-line, feedmail-from-line)
18592 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18593 (feedmail-spray-this-address)
18594 (feedmail-spray-address-fiddle-plex-list)
18595 (feedmail-queue-use-send-time-for-date)
18596 (feedmail-queue-use-send-time-for-message-id)
18597 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18598 (feedmail-buffer-eating-function):
18600 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18601 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18602 (feedmail-message-action-scroll-down): New functions.
18603 (feedmail-queue-directory, feedmail-queue-draft-directory):
18604 Use expand-file-name.
18605 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18606 Remove C-v help entry.
18607 (feedmail-queue-buffer-file-name): New variable.
18608 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18609 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18610 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18611 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18612 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18613 (feedmail-message-action-toggle-spray)
18614 (feedmail-run-the-queue-no-prompts)
18615 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18616 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18617 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18618 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18619 (feedmail-envelope-deducer, feedmail-fiddle-from)
18620 (feedmail-fiddle-sender, feedmail-default-date-generator)
18621 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18622 (feedmail-fiddle-spray-address)
18623 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18624 (feedmail-fiddle-list-of-fiddle-plexes)
18625 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18626 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18627 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18628 Change default. Doc fix.
18629 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18630 (feedmail-binmail-linuxish-template): New constant.
18631 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18632 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18633 (feedmail-send-it): Add debug call.
18634 Use feedmail-queue-buffer-file-name, and
18635 feedmail-send-it-immediately-wrapper.
18636 (feedmail-message-action-send): Add debug call.
18637 Use feedmail-send-it-immediately-wrapper.
18638 (feedmail-queue-express-to-queue): Add debug call.
18639 Run feedmail-queue-express-hook.
18640 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18641 (feedmail-message-action-help-blat):
18642 Rename from feedmail-queue-send-edit-prompt-help-first.
18643 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18644 Check line-endings. Handle errors better.
18645 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18646 Doc fix. Add debug call.
18647 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18648 Use feedmail-queue-send-edit-prompt-inner.
18649 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18650 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18651 from feedmail-queue-send-edit-prompt.
18652 (feedmail-queue-send-edit-prompt-help)
18653 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18654 (feedmail-tidy-up-slug): Add debug call.
18655 Respect feedmail-queue-slug-suspect-regexp.
18656 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18657 (feedmail-dump-message-to-queue): Add debug call.
18658 Expand queue-directory.
18659 (feedmail-dump-message-to-queue): Change message slightly.
18660 Use feedmail-say-chatter.
18661 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18662 (feedmail-send-it-immediately-wrapper): New function.
18663 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18664 Insert empty string rather than newline. Handle full-frame case.
18665 Use catch/throw. Use feedmail-say-chatter.
18666 (feedmail-fiddle-from): Try mail-host-address.
18667 (feedmail-default-message-id-generator): Doc fix.
18668 Bind system-time-locale. Handle missing end.
18669 (feedmail-fiddle-x-mailer): Add debug call.
18670 Handle feedmail-x-mailer-line being nil.
18671 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18672 Add debug call. Use buffer-substring-no-properties.
18673 (feedmail-say-debug, feedmail-say-chatter): New functions.
18674 (feedmail-find-eoh): Give an explicit error.
18676 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18678 * net/newst-treeview.el (newsticker-treeview-face): Change default
18679 family from helvetica to sans.
18680 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18681 etc/images/newsticker.
18683 * net/newst-reader.el (newsticker-feed-face): Change default
18684 family from helvetica to sans.
18686 * net/newst-plainview.el (newsticker-new-item-face)
18687 (newsticker-old-item-face, newsticker-immortal-item-face)
18688 (newsticker-obsolete-item-face, newsticker-date-face)
18689 (newsticker-statistics-face): Change default family from
18691 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18692 etc/images/newsticker.
18694 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18695 (newsticker--process-auto-mark-filter-match): Tell user about
18698 2011-05-13 Didier Verna <didier@xemacs.org>
18700 Common Lisp indentation improvements on defmethod and lambda-lists.
18701 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18703 (lisp-lambda-list-keyword-parameter-indentation)
18704 (lisp-lambda-list-keyword-parameter-alignment)
18705 (lisp-lambda-list-keyword-alignment): New customizable user options.
18706 (lisp-indent-defun-method): Improve docstring.
18707 (extended-loop-p): Fix comment.
18708 (lisp-indent-lambda-list-keywords-regexp): New variable.
18709 (lisp-indent-lambda-list): New function.
18710 (lisp-indent-259): Use it.
18711 (lisp-indent-defmethod): Support for more than one
18712 method qualifier and properly indent methods lambda-lists.
18713 (defgeneric): Provide a missing common-lisp-indent-function property.
18715 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18717 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18718 bounds for the empty string (bug#8667).
18720 2011-05-13 Glenn Morris <rgm@gnu.org>
18722 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18724 * mail/sendmail.el (sendmail-program): Try executable-find first.
18725 (sendmail-send-it): `sendmail-program' cannot be unbound.
18727 * calendar/appt.el (appt-make-list): Simplify.
18728 (appt-time-msg-list): Doc fix.
18729 (appt-check): Change mode-line message at the time of the appointment.
18731 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18733 * progmodes/ld-script.el (ld-script-keywords)
18734 (ld-script-builtins): Update keywords list.
18736 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18738 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18740 * shell.el (shell-completion-vars): New function.
18742 * simple.el (read-shell-command): Use it.
18743 (blink-matching-open): No need for " [...]" in minibuffer-message.
18745 2011-05-12 Glenn Morris <rgm@gnu.org>
18747 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18748 (appt-check): Simplify.
18750 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18752 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18753 literal "/dev/null".
18755 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18757 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18760 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18762 * progmodes/which-func.el (which-function):
18763 Use add-log-current-defun instead of add-log-current-defun-function,
18764 which might not be defined (Bug#8260).
18766 2011-05-12 Glenn Morris <rgm@gnu.org>
18768 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18769 Let byte-compile-initial-macro-environment always take precedence.
18771 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18773 * net/rcirc.el: Add support for SSL/TLS connections.
18774 (rcirc-server-alist): New field `encryption'.
18775 (rcirc): Check `encryption' settings.
18776 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18777 Merge make-local-variable into `set'.
18778 (rcirc--connection-open-p): New function.
18779 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18780 the process is not a network process (e.g. running gnutls-cli).
18781 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18782 Make rcirc-(en|de)code-coding-system local here.
18783 (rcirc-mode): Merge make-local-variable into `set'.
18784 (rcirc-parent-buffer): Make permanent buffer-local.
18785 (rcirc-multiline-minor-mode): Don't do it here.
18786 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18787 there's no server buffer.
18789 2011-05-11 Glenn Morris <rgm@gnu.org>
18791 * newcomment.el (comment-kill): Prefix "unused" local.
18793 * term/w32console.el (get-screen-color): Declare.
18795 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18796 Handle symbol elements of byte-compile-initial-macro-environment.
18798 2011-05-10 Leo Liu <sdl.web@gmail.com>
18800 * bookmark.el (bookmark-bmenu-mode-map):
18801 Bind bookmark-bmenu-search to `/'.
18803 * mail/footnote.el: Convert to utf-8 encoding.
18804 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18805 (Footnote-unicode): New function.
18806 (footnote-style-alist): Add unicode style to the list.
18807 (footnote-style): Doc fix.
18809 2011-05-10 Jim Meyering <meyering@redhat.com>
18811 Fix doubled-word typos.
18812 * international/quail.el (quail-insert-kbd-layout): and and -> and
18813 * kermit.el: and and -> and
18814 * net/ldap.el (ldap-search-internal): to to -> to
18815 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18816 * progmodes/js.el (js-mode): and and -> and
18817 * textmodes/artist.el (artist-move-to-xy): at at -> at
18818 (artist-draw-region-trim-line-endings): if if -> if
18819 And Safetyc -> Safety.
18820 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18822 2011-05-10 Glenn Morris <rgm@gnu.org>
18823 Stefan Monnier <monnier@iro.umontreal.ca>
18825 * files.el (hack-one-local-variable-eval-safep):
18826 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18828 2011-05-10 Glenn Morris <rgm@gnu.org>
18830 * calendar/diary-lib.el (diary-list-entries-hook)
18831 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18832 (diary-nongregorian-marking-hook, diary-list-entries)
18833 (diary-include-other-diary-files, diary-mark-entries)
18834 (diary-mark-included-diary-files): Doc fixes.
18836 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18838 * misc.el: Require tabulated-list.el during compilation.
18840 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18842 * progmodes/compile.el (compilation-start):
18843 Run compilation-filter-hook for the async case too.
18844 (compilation-filter-hook): Doc fix.
18846 2011-05-09 Deniz Dogan <deniz@dogan.se>
18848 * wdired.el: Remove outdated installation comment. Fix usage
18851 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18853 * misc.el: Implement new command `list-dynamic-libraries'.
18854 (list-dynamic-libraries--loaded-only-p): New variable.
18855 (list-dynamic-libraries--refresh): New function.
18856 (list-dynamic-libraries): New command.
18858 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18860 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18861 Fix the ant regexp to handle end-line and end-column info from jikes.
18862 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18863 higher priority to avoid clobbering by gnu.
18865 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18867 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18868 if the face has existing theme settings (Bug#8454).
18870 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18872 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18873 Only match variables declared via `my' or `our' (Bug#8261).
18875 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18876 special file names `.' and `..' (Bug#8259).
18878 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18880 * progmodes/grep.el (grep-mode-font-lock-keywords):
18881 Remove buffer-changing entries.
18882 (grep-filter): New function.
18883 (grep-mode): Add it to compilation-filter-hook.
18885 * progmodes/compile.el (compilation-filter-hook)
18886 (compilation-filter-start): New defvars.
18887 (compilation-filter): Call compilation-filter-hook prior to
18888 updating the process mark.
18890 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18892 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18894 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18896 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18897 mailclient-send-it even if window-system is nil. (Bug#8595)
18899 * term/w32console.el (terminal-init-w32console):
18900 Call get-screen-color and use its output to set the frame
18901 background-mode. (Bug#8597)
18903 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18905 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18906 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18908 (defgeneric, eieio--defmethod): Use them.
18909 (eieio-defgeneric): Remove.
18910 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18912 2011-05-07 Glenn Morris <rgm@gnu.org>
18914 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18915 Use let rather than let*.
18916 (timeclock-find-discrep): Remove unused local.
18918 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18920 * calendar/appt.el (appt-time-msg-list): Doc fix.
18922 2011-05-06 Noah Friedman <friedman@splode.com>
18924 * apropos.el (apropos-print-doc): Only use
18925 emacs-lisp-docstring-fill-column when it is bound to an integer,
18926 per that variable's documentation.
18928 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18930 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18931 and warnings are not silently discarded (e.g. use -d instead of -P).
18933 2011-05-06 Glenn Morris <rgm@gnu.org>
18935 * calendar/appt.el (appt-message-warning-time): Doc fix.
18936 (appt-warning-time-regexp): New option.
18937 (appt-make-list): Respect appt-message-warning-time.
18939 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18941 (diary-add-to-list): Strip comments from the displayed string.
18942 (diary-mode): Set comment-start and comment-end.
18944 * vc/diff-mode.el (smerge-refine-subst): Declare.
18945 (diff-refine-hunk): Don't require smerge-mode when compiling.
18947 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18949 * simple.el (list-processes): Return nil as the docstring says.
18951 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18953 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18955 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18956 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18957 determining of binary transfer. (Bug#7383)
18959 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18961 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18962 Fix port computation bug. (Bug#8618)
18964 2011-05-05 Glenn Morris <rgm@gnu.org>
18966 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18968 * simple.el (shell-dynamic-complete-functions)
18969 (comint-dynamic-complete-functions): Declare.
18971 * net/network-stream.el (gnutls-negotiate):
18972 * simple.el (tabulated-list-print): Fix declarations.
18974 * progmodes/gud.el (syntax-symbol, syntax-point):
18975 Remove unnecessary and incorrect declarations.
18977 * emacs-lisp/check-declare.el (check-declare-scan):
18978 Handle byte-compile-initial-macro-environment in bytecomp.el.
18980 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18982 Fix earlier half-done eieio-defmethod change (bug#8338).
18983 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18984 Streamline and change calling convention.
18985 (defmethod): Adjust accordingly and simplify.
18986 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18987 new eieio--defmethod.
18988 (slot-boundp): Minor CSE simplification.
18990 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18992 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18993 (glasses-make-readable): Use glasses-separate-capital-groups.
18995 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18997 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18998 (warning-series): Doc fix.
18999 (display-warning): Don't try to create the buffer if we just found it.
19001 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19003 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19004 (autoload-find-generated-file): New function.
19005 (generate-file-autoloads): Bind generated-autoload-file to
19007 (update-file-autoloads, update-directory-autoloads):
19008 Use autoload-find-generated-file. If called interactively, prompt for
19009 output file (Bug#7989).
19010 (batch-update-autoloads): Doc fix.
19012 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19014 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19016 2011-05-04 Glenn Morris <rgm@gnu.org>
19018 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19019 function, so it follows changes in calendar-date-style.
19020 (diary-fancy-date-matcher): New function.
19021 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19022 (diary-fancy-font-lock-fontify-region-function):
19023 Use diary-fancy-date-pattern as a function.
19025 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19026 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19028 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19030 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19031 instead of positional arguments. Allow :keylist and :crlfiles
19033 (open-gnutls-stream): Call it.
19035 * net/network-stream.el (network-stream-open-starttls): Adjust to
19036 call `gnutls-negotiate' with :process and :hostname arguments.
19038 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * minibuffer.el (completion--message): New function.
19041 (completion--do-completion, minibuffer-complete)
19042 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19043 (completion--do-completion): Don't ignore completion-auto-help when in
19046 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19047 internal encoding (e.g. tibetan zero is not whitespace).
19048 (global-whitespace-mode): Prefer save-current-buffer.
19049 (whitespace-trailing-regexp): Remove useless save-match-data.
19050 (whitespace-empty-at-bob-regexp): Minor simplification.
19052 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19054 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19056 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19058 * textmodes/ispell.el (ispell-add-per-file-word-list):
19059 Use `concat' to create string for insertion.
19061 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19063 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19064 Avoid open-line which runs post-self-insert-hook.
19065 (bibtex-fill-entry): Remove unused `end' var.
19067 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19069 * textmodes/ispell.el (ispell-add-per-file-word-list):
19070 Protect against `nil' value of `comment-start' (Bug#8579).
19072 2011-05-03 Leo Liu <sdl.web@gmail.com>
19074 * isearch.el (isearch-yank-pop): New command.
19075 (isearch-mode-map): Bind it to `M-y'.
19076 (isearch-forward): Mention it.
19078 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19080 * simple.el (minibuffer-complete-shell-command): Remove.
19081 (minibuffer-local-shell-command-map): Use completion-at-point.
19082 (read-shell-command): Setup completion vars here instead.
19083 (read-expression-map): Bind TAB to symbol completion.
19085 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19086 error directly rather via storing it into `results'.
19088 2011-05-02 Leo Liu <sdl.web@gmail.com>
19090 * vc/diff.el: Fix description.
19092 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094 * server.el (server-eval-at): New function.
19096 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19098 * net/network-stream.el (open-network-stream): Take a :nowait
19099 parameter and pass it on to `make-network-process'.
19100 (network-stream-open-plain): Ditto.
19102 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19104 * faces.el (face-spec-set-match-display): Don't match toolkit
19105 options on terminal frames.
19107 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19109 * progmodes/pascal.el: Use lexical binding.
19110 (pascal-mode-map): Remove author preferences.
19112 * pcomplete.el (pcomplete-std-complete): Don't abuse
19113 completion-at-point.
19115 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19117 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19118 removing code that has been dead since 1991 or so.
19120 * startup.el (command-line): When warning about "_emacs", use a
19121 delayed warning to allow the user to filter it out.
19123 2011-04-28 Deniz Dogan <deniz@dogan.se>
19125 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19126 user has not joined.
19128 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19130 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19131 aren't any completions at point.
19133 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19135 * subr.el (display-delayed-warnings): New function.
19136 (delayed-warnings-hook): New variable.
19138 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19140 * minibuffer.el (completion-at-point, completion-help-at-point):
19141 Don't presume that a given completion-at-point-function will always
19142 use the same calling convention.
19144 * pcomplete.el (pcomplete-completions-at-point):
19145 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19146 pcomplete-seen is non-nil.
19147 (pcomplete-comint-setup): Also recognize the new comint/shell
19148 completion functions.
19149 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19150 pcomplete-seen is non-nil.
19152 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19154 * calendar/icalendar.el (diary-lib): Add require statement.
19155 (icalendar--create-uid): Read out a uid from a text-property on
19156 the first character in the entry. This allows for code to add its
19157 own uid to the entry.
19158 (icalendar--convert-float-to-ical): Add export of
19159 `diary-float'-entries save for those with the optional DAY
19162 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19164 * subr.el (shell-quote-argument): Use alternate escaping strategy
19165 when we spot a variable reference in a string.
19167 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19169 * cus-start.el (all): Define customization for debug-on-event.
19171 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19173 * subr.el (shell-quote-argument): Escape correctly under Windows.
19175 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19177 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19179 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19181 * net/tramp.el (tramp-process-actions): Add POS argument.
19182 Delete region between POS and (pos).
19184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19185 Use `nil' position in `tramp-process-actions' call.
19186 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19188 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19189 position in `tramp-process-actions' call.
19191 * net/trampver.el: Update release number.
19193 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19195 * custom.el (defcustom): Obey lexical-binding.
19197 Fix octave-inf completion problems reported by Alexander Klimov.
19198 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19199 Inherit from octave-mode-syntax-table.
19200 (inferior-octave-mode): Set info-lookup-mode.
19201 (inferior-octave-completion-at-point): New function.
19202 (inferior-octave-complete): Use it and completion-in-region.
19203 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19204 comint-filename-completion.
19205 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19206 symbol elements which shouldn't be word elements.
19207 (octave-font-lock-keywords, octave-beginning-of-defun)
19208 (octave-function-header-regexp): Adjust regexps accordingly.
19209 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19211 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19213 * net/gnutls.el (gnutls-errorp): Declare before first use.
19215 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19217 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19218 verify-error, and verify-hostname-error parameters. Check whether
19219 default trustfile exists before going to use it. Add missing
19220 argument to gnutls-message-maybe call. Return value.
19221 Reported by Claudio Bley <claudio.bley@gmail.com>.
19222 (open-gnutls-stream): Add usage example.
19224 * net/network-stream.el (network-stream-open-starttls): Give host
19225 parameter to `gnutls-negotiate'.
19226 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19227 * subr.el (shell-quote-argument): Escape correctly under Windows.
19229 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19232 Use correct match group (bug#8438).
19234 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19236 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19237 (package-menu--generate): New arg specifying packages to show.
19238 (package-menu-refresh, package-menu-execute, list-packages):
19240 (package-show-package-list): New function, replacing deleted
19241 package--list-packages (renamed because it is non-internal).
19243 * finder.el (finder-list-matches): Use package-show-package-list
19244 instead of deleted package--list-packages.
19246 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19247 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19248 (vc-annotate-mode-map): Bind it to RET.
19250 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19252 * progmodes/etags.el (next-file): Don't use set-buffer to change
19253 buffers (Bug#8478).
19255 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19257 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19259 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19260 (apropos-accumulator): Doc fix.
19261 (apropos-function, apropos-macro, apropos-command)
19262 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19263 (apropos-plist): Add face property.
19264 (apropos-symbols-internal): Fix indentation.
19265 (apropos-print): Simplify help, and recognize apropos-multi-type.
19266 (apropos-print-doc): Use button-type-get to extract the button's
19267 face property. Fill docstring (Bug#8352).
19269 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19271 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19273 * play/mpuz.el (mpuz-silent): Doc fix.
19274 (mpuz-mode-map): Use mapc.
19275 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19276 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19277 Fix typos in docstrings.
19279 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19280 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19282 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19284 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19286 * minibuffer.el (completion--do-completion): Avoid the "Next char
19287 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19289 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19290 mouse-2 into unread-command-events, it is interpreted correctly.
19292 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19293 (image-toggle-display): Doc fix.
19295 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19297 * textmodes/page.el (what-page): Use line-number-at-pos to
19298 calculate line number (Bug#6825).
19300 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19302 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19303 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19304 Pass argument NO-DEFAULT to `find-tag-interactive'.
19306 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19308 Lexical-binding cleanup.
19310 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19311 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19312 * progmodes/ada-prj.el (ada-prj-initialize-values)
19313 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19314 (ada-prj-show-value):
19315 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19316 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19317 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19318 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19319 * progmodes/bug-reference.el (bug-reference-push-button):
19320 * progmodes/fortran.el (fortran-line-length):
19321 * progmodes/glasses.el (glasses-change):
19322 * progmodes/octave-mod.el (octave-fill-paragraph):
19323 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19324 (python-pdbtrack-grub-for-buffer, python-sentinel):
19325 * progmodes/sql.el (sql-save-connection):
19326 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19327 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19328 Mark unused parameters.
19330 * progmodes/compile.el (compilation--flush-directory-cache)
19331 (compilation--flush-parse, compile-internal): Mark unused parameters.
19332 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19333 (compilation-next-error-function): Remove unused variable `timestamp'.
19335 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19336 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19338 * progmodes/dcl-mode.el (dcl-end-of-command):
19339 Remove unused variable `start'.
19340 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19341 (dcl-option-value-basic, dcl-option-value-offset)
19342 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19343 Mark unused parameters.
19344 (dcl-save-local-variable): Remove unused variable `val'.
19347 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19348 Mark unused parameters.
19349 (delphi-ignore-changes): Move before first use.
19350 (delphi-charset-token-at): Remove unused variable `start'.
19351 (delphi-else-start): Remove unused variable `if-count'.
19352 (delphi-comment-block-start, delphi-comment-block-end):
19353 Remove unused variable `kind'.
19354 (delphi-indent-line): Remove unused variable `new-point'.
19356 * progmodes/ebrowse.el (ebrowse-files-list)
19357 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19358 Mark unused parameters. Don't quote `lambda'.
19359 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19360 Don't quote `lambda'.
19361 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19362 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19363 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19364 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19365 Use `ignore-errors'.
19366 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19367 (ebrowse-view/find-file-and-search-pattern)
19368 (ebrowse-view/find-member-declaration/definition):
19369 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19370 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19371 Rename parameter PREFIX-ARG to PREFIX.
19372 (ebrowse-tags-read-name): Remove unused variables `start' and
19374 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19377 * progmodes/etags.el (local-find-tag-hook): Declare.
19378 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19379 Mark unused parameters.
19381 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19382 (executable-interpret): Mark unused parameter.
19384 * progmodes/flymake.el (flymake-process-sentinel)
19385 (flymake-after-change-function)
19386 (flymake-create-temp-with-folder-structure)
19387 (flymake-get-include-dirs-dot): Mark unused parameters.
19388 (flymake-safe-delete-directory): Remove unused variable `err'.
19390 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19391 (speedbar-timer-fn, speedbar-line-text)
19392 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19393 (speedbar-center-buffer-smartly): Declare functions.
19394 (gdb-find-watch-expression): Remove unused variable `array'.
19395 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19396 (gdb-starting): Mark unused parameters.
19397 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19398 (gdb-table-string): Remove unused variable `res'.
19399 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19400 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19401 (gdb-display-buffer): Remove unused variable `cur-size'.
19403 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19404 allow lexical-binding compilation.
19405 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19406 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19407 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19408 Mark unused parameters.
19409 (gud-gdb-marker-filter): Remove unused variable `match'.
19410 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19411 lambda expressions and funcall them, instead of using `fset'.
19413 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19414 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19416 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19417 variable `header-beg'; use `let'.
19419 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19420 `restart', `last-sexp' and `at-do'.
19422 * progmodes/js.el (js--debug): Mark unused parameter.
19423 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19424 (js--splice-into-items): Remove unused variable `item'.
19425 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19427 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19428 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19429 (makefile-complete): Remove unused variable `try'.
19430 (makefile-fill-paragraph, makefile-match-function-end):
19431 Mark unused parameters.
19433 * progmodes/octave-inf.el (inferior-octave-complete):
19434 Remove unused variable `proc'.
19435 (inferior-octave-output-digest): Mark unused parameter.
19437 * progmodes/perl-mode.el (perl-calculate-indent):
19438 Remove unused variable `err'.
19440 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19441 (prolog-indent-line): Mark unused parameters.
19442 (prolog-indent-line): Remove unused variable `beg'.
19444 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19445 (reporter-dont-compact-list): Declare.
19447 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19448 Remove unused variable `char'.
19449 (sh-debug): Mark unused parameter.
19450 (sh-get-indent-info): Remove unused variable `start'.
19451 (sh-calculate-indent): Remove unused variable `var'.
19453 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19454 (simula-electric-keyword): Remove unused variable `null'.
19455 (simula-search-backward, simula-search-forward): Remove unused
19456 variables `begin' and `end'.
19458 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19459 Remove unused variable `pos'.
19460 (vera-electric-tab, vera-comment-uncomment-region):
19461 Mark unused parameters.
19462 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19464 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19466 * emacs-lisp/package.el (package--builtins, package-alist)
19467 (package-load-descriptor, package-built-in-p, package-activate)
19468 (define-package, package-installed-p)
19469 (package-compute-transaction, package-buffer-info)
19470 (package--push): Doc fix. Distinguish more clearly between
19471 version strings and version lists.
19473 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19475 Lexical-binding cleanup.
19477 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19478 (5x5-make-mutate-best):
19479 * play/fortune.el (fortune-in-buffer):
19480 * play/gomoku.el (gomoku-init-display):
19481 * play/solitaire.el (solitaire, solitaire-do-check):
19482 * play/tetris.el (tetris-default-update-speed-function):
19483 Mark unused parameters.
19485 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19486 (bubbles--shift): Remove unused variable `char-org'.
19487 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19488 (bubbles--show-images): Remove unused variable `char'.
19490 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19491 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19492 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19493 (decipher-analyze-buffer): Use ?\s.
19494 (decipher-make-checkpoint): Remove unused variable `mapping'.
19496 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19498 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19499 Remove unused variable `result'; use `let'.
19501 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19502 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19503 (gametree-children-shown-p, gametree-compute-reduced-score):
19504 Use `ignore-errors'.
19506 * play/handwrite.el (ps-lpr-switches): Declare.
19507 (handwrite): Remove unused variables `pmin' and `lastp'.
19509 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19511 * play/landmark.el (landmark-init-display)
19512 (landmark-update-naught-weights): Mark unused parameters.
19513 (landmark-y): Remove unused variable `noise'. Simplify.
19514 (landmark-human-plays): Remove unused variable `score'.
19516 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19517 (mpuz-try-proposal): Remove unused variable `game'.
19519 * play/zone.el (life-patterns): Declare.
19521 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19523 * vc/vc.el (ediff-vc-internal): Declare function.
19525 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19527 * shell.el: Use lexical-binding and std completion UI.
19528 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19529 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19530 comint-preoutput-filter-functions rather than on
19531 comint-output-filter-functions.
19532 (shell-command-completion, shell--command-completion-data)
19533 (shell-filename-completion, shell-environment-variable-completion)
19534 (shell-c-a-p-replace-by-expanded-directory): New functions.
19535 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19536 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19537 (shell-dynamic-complete-environment-variable): Use them.
19538 (shell-dynamic-complete-as-environment-variable)
19539 (shell-dynamic-complete-as-command): Remove.
19540 (shell-match-partial-variable): Match past point.
19541 * comint.el: Clean up use of completion-at-point-functions.
19542 (comint-completion-at-point): New function.
19543 (comint-mode): Use it completion-at-point-functions.
19544 (comint-dynamic-complete): Make it obsolete.
19545 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19546 (comint-c-a-p-replace-by-expanded-history): New function.
19547 (comint-dynamic-complete-functions)
19548 (comint-replace-by-expanded-history): Use it.
19549 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19550 termination strings. Try harder to avoid second try-completion.
19551 (completion-in-region-mode-map): Disable bindings that don't work yet.
19553 * comint.el: Use lexical-binding. Require CL.
19554 (comint-dynamic-complete-functions): Use comint-filename-completion.
19555 (comint-completion-addsuffix): Tweak custom type.
19556 (comint-filename-completion, comint--common-suffix)
19557 (comint--common-quoted-suffix, comint--table-subvert)
19558 (comint--complete-file-name-data): New functions.
19559 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19560 (comint-dynamic-list-filename-completions): Use them.
19561 (comint-dynamic-simple-complete): Make obsolete.
19563 * minibuffer.el (completion-in-region-mode):
19564 Keep completion-in-region-mode--predicate global.
19565 (completion-in-region--postch):
19566 Assume completion-in-region-mode--predicate is not null.
19568 * progmodes/flymake.el (flymake-start-syntax-check-process):
19569 Obey `dir'. Simplify.
19571 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19572 we're in VC after all.
19574 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19576 * vc/vc.el (vc-diff-build-argument-list-internal)
19577 (vc-version-ediff, vc-ediff): New commands.
19578 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19580 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19582 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19585 * obsolete/erc-hecomplete.el: Make obsolete.
19586 * obsolete/: Standardize obsolescence info in the header.
19588 2011-04-20 Glenn Morris <rgm@gnu.org>
19590 * calendar/solar.el (solar-horizontal-coordinates):
19591 Use the longitude argument rather than `calendar-longitude'.
19592 (solar-date-next-longitude): Remove unused locals.
19594 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19596 * whitespace.el: New version 13.2.1.
19598 2011-04-20 felix <EmacsWiki> (tiny change)
19600 * whitespace.el (global-whitespace-mode): Keep highlight when
19601 switching between major modes on a file.
19603 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19605 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19606 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19607 multi-line comments as well.
19609 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19611 Lexical-binding cleanup.
19613 * arc-mode.el (archive-mode-revert):
19614 * cmuscheme.el (scheme-interactively-start-process):
19615 * custom.el (custom-initialize-delay):
19616 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19617 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19618 * emacs-lock.el (emacs-lock-clear-sentinel):
19619 * ezimage.el (defezimage):
19620 * follow.el (follow-avoid-tail-recenter):
19621 * fringe.el (set-fringe-mode-1):
19622 * generic-x.el (bat-generic-mode-compile):
19623 * help-mode.el (help-info-variable, help-do-xref)
19624 (help-mode-revert-buffer):
19625 * help.el (view-emacs-todo):
19626 * iswitchb.el (iswitchb-completion-help):
19627 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19628 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19629 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19630 * locate.el (locate-update):
19631 * longlines.el (longlines-encode-region)
19632 (longlines-after-change-function):
19633 * outline.el (outline-isearch-open-invisible):
19634 * ps-def.el (declare-function, charset-dimension, char-width)
19636 * ps-mule.el (ps-mule-plot-string):
19637 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19638 (recentf-edit-list-select, recentf-edit-list-validate)
19639 (recentf-open-files-action):
19640 * rect.el (delete-whitespace-rectangle-line)
19641 (rectangle-number-line-callback):
19642 * register.el (window-configuration-to-register)
19643 (frame-configuration-to-register):
19644 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19645 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19646 (xselect-convert-to-targets, xselect-convert-to-delete)
19647 (xselect-convert-to-filename, xselect-convert-to-charpos)
19648 (xselect-convert-to-lineno, xselect-convert-to-colno)
19649 (xselect-convert-to-os, xselect-convert-to-host)
19650 (xselect-convert-to-user, xselect-convert-to-class)
19651 (xselect-convert-to-name, xselect-convert-to-integer)
19652 (xselect-convert-to-atom, xselect-convert-to-identity):
19653 * subr.el (declare, ignore, process-kill-without-query)
19654 (text-clone-maintain):
19655 * terminal.el (te-get-char, te-tic-sentinel):
19656 * tool-bar.el (tool-bar-make-keymap):
19657 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19658 * type-break.el (type-break-mode, type-break-noninteractive-query):
19659 * view.el (View-back-to-mark):
19660 * wid-browse.el (widget-browse-action, widget-browse-widget)
19661 (widget-browse-widgets, widget-browse-sexp):
19662 * widget.el (define-widget-keywords):
19663 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19664 Mark unused parameters.
19666 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19667 (align-areas): Remove unused variable `look'.
19668 (align-region): Remove unused variables `real-end' and `pos-list'.
19670 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19672 * bindings.el (mode-line-modified, mode-line-remote):
19673 Mark unused parameters.
19674 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19676 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19677 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19679 * comint.el (comint-history-isearch-pop-state)
19680 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19681 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19682 (comint-substitute-in-file-name): Doc fix.
19684 * completion.el (cmpl-statistics-block): Mark unused parameter.
19685 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19686 (save-completions-to-file, load-completions-from-file):
19687 Remove unused local variable `e'.
19689 * composite.el (compose-chars): Remove unused variable `len'.
19690 (lgstring-insert-glyph): Remove unused variable `g'.
19691 (compose-glyph-string): Remove unused variables `ascent',
19692 `descent', `lbearing' and `rbearing'.
19693 (compose-glyph-string-relative): Remove unused variables
19694 `lbearing', `rbearing' and `wadjust'.
19695 (compose-gstring-for-graphic): Remove unused variables `header',
19696 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19697 (compose-gstring-for-terminal): Remove unused variables `header'
19698 and `nchars'. Use `let', not `let*'.
19700 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19701 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19702 (Custom-buffer-done, custom-buffer-create-internal)
19703 (custom-browse-visibility-action, custom-browse-group-tag-action)
19704 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19705 (widget-magic-mouse-down-action, custom-toggle-parent)
19706 (custom-add-parent-links, custom-toggle-hide-variable)
19707 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19708 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19709 (custom-face-menu-create, custom-variable-menu-create, get)
19710 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19711 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19712 (customize-apropos): Remove unused variable `tests'.
19713 (custom-group-value-create): Remove unused variable `hidden-p'.
19714 (sort-fold-case): Declare.
19716 * cus-theme.el (custom-reset-standard-faces-list)
19717 (custom-reset-standard-variables-list): Declare.
19718 (customize-create-theme, custom-theme-revert, custom-theme-write)
19719 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19720 Mark unused parameters.
19722 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19724 * delim-col.el (delimit-columns-max): Move defvar before first use.
19726 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19727 (describe-char): Don't quote `lambda'. Mark unused parameter.
19729 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19730 (auto-insert): Declare.
19731 (desktop-restore-file-buffer): Rename desktop-* parameters;
19733 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19734 (desktop-buffer): Rename desktop-* parameters.
19736 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19737 (dframe-reposition-frame-xemacs, dframe-help-echo)
19738 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19739 Mark unused parameters.
19741 * dired-aux.el (backup-extract-version-start, overwrite-query)
19742 (overwrite-backup-query, rename-regexp-query)
19743 (rename-non-directory-query): Declare.
19744 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19745 (dired-add-entry): Remove unused variable `orig-file-name'.
19746 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19747 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19748 `dired-copy-preserve-time' directly.
19749 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19750 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19752 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19753 (dired-virtual-revert, dired-make-relative-symlink):
19754 Mark unused parameters.
19755 (manual-program): Declare.
19756 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19757 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19758 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19760 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19762 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19764 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19767 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19769 * electric.el (Electric-command-loop): Rename parameter
19770 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19772 * expand.el (expand-in-literal): Remove unused variable `here'.
19774 * facemenu.el (facemenu-add-new-color):
19775 Remove unused variable `docstring'.
19777 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19778 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19779 (face-attr-construct): Mark unused parameter. Doc fix.
19780 (read-color): Remove unused variable `hex-string'.
19782 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19783 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19784 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19785 (display-buffer-other-frame): Remove unused variable `old-window'.
19786 (kill-buffer-hook): Declare.
19787 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19788 Mark unused parameters.
19789 (after-find-file): Pass 1 to `auto-save-mode', not t.
19791 * files-x.el (auto-insert): Declare.
19792 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19794 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19795 variable `buf'. Mark unused parameter.
19796 (find-lisp-insert-directory): Mark unused parameter.
19798 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19799 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19800 (format-common-tail): Remove, unused.
19801 (format-deannotate-region): Remove unused variable `loc'.
19802 (format-annotate-region): Remove unused variable `p'.
19803 (format-annotate-single-property-change): Remove unused variables
19804 `default' and `tail'.
19806 * forms.el (read-file-filter): Declare.
19807 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19809 * frame.el (frame-creation-function-alist): Mark unused parameter.
19810 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19812 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19813 Remove unused parameters.
19814 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19815 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19817 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19818 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19819 (hfy-prepare-tag-map): Mark unused parameters.
19820 (htmlfontify-buffer): Use `called-interactively-p'.
19822 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19823 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19824 (ibuffer-do-occur): Mark unused parameters.
19825 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19826 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19828 * ibuffer.el: Don't quote `lambda'.
19829 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19830 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19831 Mark unused parameters.
19833 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19834 (ido-completing-read): Mark unused parameters.
19835 (ido-copy-current-word): Mark unused parameters;
19836 remove unused variable `name'.
19837 (ido-sort-merged-list): Remove unused parameter `dirs'.
19839 * ielm.el (ielm-input-sender): Mark unused parameter.
19840 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19841 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19842 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19843 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19844 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19846 * image-dired.el (image-dired-display-thumbs): Remove unused
19847 variables `curr-file' and `count'.
19848 (image-dired-remove-tag): Remove unused variable `start'.
19849 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19850 variable `curr-file'
19851 (image-dired-rotate-original): Remove unused variable `temp-file'.
19852 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19853 Remove unused variable `file'.
19854 (image-dired-gallery-generate): Remove unused variable `curr'.
19855 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19857 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19859 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19861 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19863 * isearch.el (minibuffer-history-symbol): Declare.
19864 (isearch-edit-string): Remove unused variable `err'.
19865 (isearch-message-prefix, isearch-message-suffix):
19866 Mark unused parameters.
19868 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19870 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19872 * makesum.el (double-column): Remove unused variable `cnt'.
19874 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19875 (ido-ignore-item-temp-list): Declare.
19877 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19878 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19879 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19880 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19883 * mouse-sel.el (mouse-extend-internal):
19884 Remove unused variable `orig-window-frame'.
19886 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19887 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19888 Move declarations before first use.
19889 (pcomplete-opt): Mark unused parameters; doc fix.
19891 * proced.el (proced-revert): Mark unused parameter.
19892 (proced-send-signal): Remove unused variable `err'.
19894 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19895 Rename parameter PREFIX-ARG to ARG.
19896 (ps-basic-plot-string, ps-basic-plot-whitespace):
19897 Mark unused parameters.
19899 * replace.el (replace-count): Define.
19900 (occur-revert-function): Mark unused parameters.
19901 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19902 (isearch-case-fold-search, isearch-string): Declare.
19903 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19904 bind `case-fold-search'. Remove unused variables `beg' and `end',
19906 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19907 COUNT and bind `replace-count'.
19908 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19911 * savehist.el (print-readably, print-string-length): Declare.
19913 * shadowfile.el (shadow-expand-cluster-in-file-name):
19914 Remove unused variable `cluster'.
19915 (shadow-copy-file): Remove unused variable `i'.
19916 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19917 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19918 (shadow-define-literal-group, shadow-define-regexp-group)
19919 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19921 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19922 (shell): Use `called-interactively-p'.
19923 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19925 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19926 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19927 (delete-backward-char): Remove unused variable `ocol'.
19928 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19929 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19930 (event-apply-hyper-modifier, event-apply-shift-modifier)
19931 (event-apply-control-modifier, event-apply-meta-modifier):
19932 Mark unused parameters.
19933 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19934 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19936 * speedbar.el (speedbar-ignored-directory-expressions)
19937 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19938 (speedbar-find-file, speedbar-dir-follow)
19939 (speedbar-directory-buttons-follow, speedbar-tag-find)
19940 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19941 (speedbar-buffers-line-directory, speedbar-buffer-click):
19942 Mark unused parameters.
19943 (speedbar-tag-file): Remove unused variable `mode'.
19944 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19946 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19948 * talk.el (talk): Remove unused variable `display'.
19950 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19951 (tar-write-region-annotate): Mark unused parameter.
19953 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19954 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19955 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19956 warning by another.
19958 * time-stamp.el (time-stamp-string-preprocess):
19959 Remove unused variable `require-padding'.
19961 * tree-widget.el (widget-glyph-enable): Declare.
19962 (tree-widget-action): Mark unused parameter.
19964 * w32-fns.el (x-get-selection): Mark unused parameter.
19965 (autoload-make-program, generated-autoload-file): Declare.
19967 * wdired.el (wdired-revert): Mark unused parameters.
19968 (wdired-xcase-word): Remove unused variable `err'.
19970 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19971 (whitespace-help-scroll): Remove unused variable `data-help'.
19973 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19974 (widget-image-insert, widget-after-change, default)
19975 (widget-default-format-handler, widget-default-notify)
19976 (widget-default-prompt-value, widget-info-link-action)
19977 (widget-url-link-action, widget-function-link-action)
19978 (widget-variable-link-action, widget-file-link-action)
19979 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19980 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19981 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19982 (widget-insert-button-action, widget-delete-button-action, visibility)
19983 (widget-documentation-link-action, widget-documentation-string-action)
19984 (widget-const-prompt-value, widget-regexp-match, symbol)
19985 (widget-coding-system-prompt-value)
19986 (widget-key-sequence-value-to-external, sexp)
19987 (widget-sexp-value-to-internal, character, vector, cons)
19988 (widget-choice-prompt-value, widget-boolean-prompt-value)
19989 (widget-color--choose-action): Mark unused parameters.
19990 (widget-item-match-inline, widget-choice-match-inline)
19991 (widget-checklist-match, widget-checklist-match-inline)
19992 (widget-group-match): Rename parameter VALUES to VALS.
19993 (widget-field-value-set): Remove unused variable `size'.
19994 (widget-color-action): Remove unused variables `value' and `start'.
19996 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19997 variable `dir'. Doc fix.
19998 (windmove-find-other-window): Don't pass it.
20000 * window.el (count-windows): Mark unused parameter.
20001 (bw-adjust-window): Remove unused variable `err'.
20003 * woman.el (woman-file-name): Remove unused variable `default'.
20004 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20005 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20006 (global-font-lock-mode): Declare.
20007 (woman-decode-region): Mark unused parameter.
20008 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20010 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20011 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20012 (x-dnd-handle-moz-url): Remove unused variable `title'.
20013 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20015 * xml.el (xml-parse-tag, xml-parse-attlist):
20016 Remove unused variable `pos'.
20018 2011-04-19 Glenn Morris <rgm@gnu.org>
20020 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20021 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20022 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20023 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20024 * calendar/cal-html.el (cal-html-insert-minical):
20025 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20026 (calendar-mark-date-pattern):
20027 Prefix "unused" locals.
20029 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20030 optional argument `style'.
20032 * calendar/appt.el (appt-make-list):
20033 * calendar/cal-china.el (calendar-chinese-date-string):
20034 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20035 (diary-hebrew-yahrzeit):
20036 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20037 * calendar/calendar.el (calendar-generate-window):
20038 * calendar/time-date.el (time-to-days):
20039 Remove unused local variables.
20041 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20043 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20044 glyphless-char-display table.
20045 (tabulated-list-glyphless-char-display): New var.
20047 2011-04-18 Sam Steingold <sds@gnu.org>
20049 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20050 to acknowledgments.
20052 2011-04-17 Glenn Morris <rgm@gnu.org>
20054 * calendar/diary-lib.el (diary-sexp-entry):
20055 * calendar/holidays.el (holiday-sexp):
20056 Set debug-on-error rather than the removed stack-trace-on-error.
20058 2011-04-16 Glenn Morris <rgm@gnu.org>
20060 * progmodes/f90.el: Use lexical-binding.
20061 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20063 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20066 (mail-mode): Setup mailalias completion here instead.
20067 * mail/mailalias.el: Use lexical-binding.
20068 (pattern, mailalias-done): Declare dynamic.
20069 (mail-completion-at-point-function): New function, from mail-complete.
20070 (mail-complete): Use it.
20071 (mail-completion-expand): New function.
20072 (mail-get-names): Use it.
20073 (mail-directory, mail-directory-process, mail-directory-stream):
20074 Don't use `pattern' for lexically bound arg.
20076 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20078 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20079 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20080 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20082 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20083 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20084 (byte-interactive-p): Define them again, for use when inlining
20087 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20089 * loadup.el: Use `string-to-number', not `string-to-int'.
20091 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20093 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20094 gud-gdb-complete-command.
20095 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20096 (gud-gdb-completion-at-point): New function.
20097 (gud-gdb-completions): Remove.
20099 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20101 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20102 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20103 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20104 whether `executable-find' is bound.
20106 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20108 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20110 * minibuffer.el (completion-in-region-mode-predicate)
20111 (completion-in-region-mode--predicate): New vars.
20112 (completion-in-region, completion-in-region--postch)
20113 (completion-in-region-mode): Use them.
20114 (completion--capf-wrapper): Also return the hook function.
20115 (completion-at-point, completion-help-at-point):
20116 Adjust and provide a predicate.
20118 Preserve arg names for advice of subr and lexical functions (bug#8457).
20119 * help-fns.el (help-function-arglist): Consolidate the subr and
20120 new-byte-code cases. Add argument `preserve-names' to extract names
20121 from the docstring when needed.
20122 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20123 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20124 (ad-arglist): Use help-function-arglist's new arg.
20125 (ad-definition-type): Use cond.
20127 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20129 * autorevert.el (auto-revert-handler):
20130 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20131 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20132 Don't quote lambda.
20134 * image-mode.el (image-transform-set-scale):
20135 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20137 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20139 * net/network-stream.el (network-stream-open-starttls): Only do
20140 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20141 Upgrades via gnutls-cli are too slow to be done opportunistically.
20143 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20145 * dframe.el (dframe-current-frame): Remove spurious quote.
20147 2011-04-12 Glenn Morris <rgm@gnu.org>
20149 * calendar/cal-tex.el (cal-tex-end-document):
20150 Try to automatically use latin1 input if needed.
20152 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20153 Don't try to cons a mark onto an empty element.
20155 2011-04-11 Leo Liu <sdl.web@gmail.com>
20157 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20159 (ido-kill-buffer-at-head): Support killing virtual buffers.
20161 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20163 * minibuffer.el (completion-show-inline-help): New var.
20164 (completion--do-completion, minibuffer-complete)
20165 (minibuffer-force-complete, minibuffer-complete-word):
20166 Inhibit minibuffer messages if completion-show-inline-help is nil.
20168 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20169 to avoid interference from inline help (Bug#5849).
20171 2011-04-10 Leo Liu <sdl.web@gmail.com>
20173 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20176 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20178 * image-mode.el (image-toggle-display-image): Signal an error if
20180 (image-transform-mode, image-transform-resize)
20181 (image-transform-set-rotation): Doc fix.
20182 (image-transform-set-resize): Delete.
20183 (image-transform-set-scale, image-transform-fit-to-height)
20184 (image-transform-fit-to-width): Handle image-toggle-display-image
20185 and image-transform-resize directly.
20187 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20189 * doc-view.el (doc-view-fit-width-to-window)
20190 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20191 New functions for fitting the shown image to the Emacs window size.
20192 (doc-view-mode-map): Add bindings for the new functions.
20194 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20196 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20197 Fix typo in docstring.
20199 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20201 * files.el (file-size-human-readable): Produce one digit after
20202 decimal, like "ls -lh" does.
20204 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20205 the file size representation.
20207 * simple.el (list-processes): If async subprocesses are not
20208 available, error out with a clear error message.
20210 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20212 * help.el (help-form-show): New function, to be called from C.
20213 Put help-form output in a buffer named differently than *Help*.
20215 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20217 * files.el (file-size-human-readable): New function.
20219 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20220 computing the representation inline. Don't require `cl'.
20222 2011-04-08 Glenn Morris <rgm@gnu.org>
20224 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20226 * net/browse-url.el (browse-url-firefox):
20227 Test system-type, not system-configuration.
20229 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20230 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20231 Use log-edit-empty-buffer-p. (Bug#7598)
20233 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20234 (rlogin-mode-map): Initialize in the defvar.
20235 (rlogin): Use ignore-errors.
20237 * replace.el (occur-mode-map): Some fixes for menu items.
20239 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20241 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20243 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20245 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20246 issuing unused warnings.
20248 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20251 * simple.el: Lisp reimplement of list-processes. Based on an
20252 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20253 (process-menu-mode): New major mode.
20254 (list-processes--refresh, list-processes):
20255 (process-menu-visit-buffer): New functions.
20257 * files.el (save-buffers-kill-emacs): Don't assume any return
20258 value of list-processes, which is undocumented anyway.
20260 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20262 * emacs-lisp/tabulated-list.el: New file.
20264 * emacs-lisp/package.el: Use Tabulated List mode.
20265 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20266 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20267 table format using Tabulated List mode variables.
20268 (package--push): New macro, replacing package-list-maybe-add.
20269 (package-menu--generate): Use package--push. Renamed from
20270 package--generate-package-list.
20271 (package-menu-refresh, list-packages): Use it.
20272 (package-menu--print-info): Rename from package-print-package.
20273 Return insertion data instead of inserting it directly.
20274 (package-menu-describe-package, package-menu-execute):
20275 Use tabulated-list-get-id.
20276 (package-menu-mark-delete, package-menu-mark-install)
20277 (package-menu-mark-unmark, package-menu-backup-unmark)
20278 (package-menu-mark-obsolete-for-deletion):
20279 Use tabulated-list-put-tag.
20280 (package--list-packages, package-menu-revert)
20281 (package-menu-get-package, package-menu-get-version)
20282 (package-menu-sort-by-column): Functions deleted.
20283 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20284 (package-menu--status-predicate, package-menu--version-predicate)
20285 (package-menu--name-predicate)
20286 (package-menu--description-predicate): Handle arguments in the
20287 Tabulated List format.
20288 (package-list-packages-no-fetch): Call list-packages.
20290 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20292 * files.el (after-find-file-from-revert-buffer): Remove variable.
20293 (after-find-file): Don't bind it.
20294 (revert-buffer-in-progress-p): New variable.
20295 (revert-buffer): Bind it.
20296 Pass nil for `after-find-file-from-revert-buffer'.
20298 * saveplace.el (save-place-find-file-hook): Use new variable
20299 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20301 2011-04-06 Glenn Morris <rgm@gnu.org>
20303 * Makefile.in (AUTOGEN_VCS): New variable.
20304 (autoloads): Use $AUTOGEN_VCS.
20306 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20307 * calendar/calendar.el (calendar-mode-map):
20308 Check for toolkit scroll bars. (Bug#8305)
20310 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20312 * minibuffer.el (completion-in-region--postch)
20313 (completion-in-region-mode): Remove unnecessary messages.
20315 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20317 * font-lock.el (font-lock-refresh-defaults):
20318 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20319 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20321 * info.el (Info-directory-list, Info-read-node-name-2)
20322 (Info-split-parameter-string): Doc fixes.
20323 (Info-virtual-nodes): Reflow docstring.
20324 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20325 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20326 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20327 Fix typos in docstrings.
20328 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20329 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20330 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20331 (Info-restore-desktop-buffer): Mark unused parameters.
20332 (Info-directory-find-file, Info-directory-find-node)
20333 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20334 (Info-virtual-index-find-node, Info-apropos-find-file)
20335 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20336 Mark unused parameters; fix typos in docstrings.
20337 (Info-virtual-index): Remove unused local variable `nodename'.
20339 2011-04-05 Deniz Dogan <deniz@dogan.se>
20341 * net/rcirc.el: Update my e-mail address.
20342 (rcirc-mode-map): Remove M-o binding.
20344 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20346 * startup.el (command-line): Save the cursor's theme-face
20347 directly, instead of using face-override-spec.
20349 * custom.el (load-theme): Minor optimization in assigning faces.
20351 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20353 * help-fns.el (describe-variable): Complete all variables having
20354 documentation, including keywords.
20355 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20357 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20359 Convert to lexical-binding.
20361 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20362 (bs--get-marked-string, bs--get-modified-string)
20363 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20364 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20365 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20367 * ehelp.el (electric-help-execute-extended)
20368 (electric-help-ctrl-x-prefix):
20369 * hexl.el (hexl-revert-buffer-function):
20370 * linum.el (linum-after-change, linum-after-scroll):
20371 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20373 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20375 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20382 * epg.el: Use lexical binding.
20384 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20386 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20388 * textmodes/flyspell.el (flyspell-word): Recognize default
20389 dictionary case for flyspell-mark-duplications-exceptions.
20390 Use regexp matching for languages.
20391 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20392 default dictionary (Bug#7926).
20394 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20396 * emacs-lisp/package.el (package--with-work-buffer):
20397 Recognize https URLs.
20399 * net/network-stream.el: Move from gnus/proto-stream.el.
20400 Change prefix to network-stream throughout.
20401 (open-protocol-stream): Merge into open-network-stream, leaving
20402 open-protocol-stream as an alias. Handle nil BUFFER args.
20404 * subr.el (open-network-stream): Move to net/network-stream.el.
20406 2011-04-02 Glenn Morris <rgm@gnu.org>
20408 * find-dired.el (find-exec-terminator): New option.
20409 (find-ls-option): Test for -ls support.
20410 (find-ls-subdir-switches): Test for -b in find-ls-option.
20411 (find-dired, find-grep-dired): Doc fixes.
20412 (find-dired): Use find-exec-terminator.
20414 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20415 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20416 (find-name-arg): Remove purecopy.
20418 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20419 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20420 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20421 accordingly. Don't add the null-device if not needed.
20423 * files.el (save-some-buffers): Doc fix.
20425 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20427 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20429 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20431 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20432 Use `dolist' rather than `mapcar'.
20434 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20436 Add lexical binding.
20438 * subr.el (apply-partially): Use new closures rather than CL.
20439 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20440 (dolist, dotimes): Use slightly different expansion for lexical code.
20441 (functionp): Move to C.
20442 (letrec): New macro.
20443 (with-wrapper-hook): Use it and apply-partially instead of CL.
20444 (eval-after-load): Preserve lexical-binding.
20445 (save-window-excursion, with-output-to-temp-buffer): Turn them
20448 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20450 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20452 (help-add-fundoc-usage): Don't add `Not documented'.
20453 (help-function-arglist): Handle closures, subroutines, and new
20454 byte-code-functions.
20455 (help-make-usage): Remove leading underscores.
20456 (describe-function-1): Handle closures.
20457 (describe-variable): Use special-variable-p for completion.
20459 * files.el (lexical-binding): Declare safe.
20461 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20462 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20463 (pcase): Add `let' pattern.
20464 Change memoization so it actually works.
20465 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20466 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20469 * emacs-lisp/macroexp.el: Use lexical binding.
20470 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20471 Don't convert ' to #' without checking that it's indeed quoting
20474 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20475 Use eval-sexp-add-defvars.
20476 (eval-sexp-add-defvars): New fun.
20478 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20480 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20482 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20483 than the internal `byte-compile-lambda'.
20484 (defmethod): Don't hide code under quotes.
20485 (eieio-defmethod): New `code' argument.
20487 * emacs-lisp/eieio-comp.el: Remove.
20489 * emacs-lisp/edebug.el (edebug-eval-defun)
20490 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20491 (edebug-toggle): Avoid `eval'.
20493 * emacs-lisp/disass.el (disassemble-internal): Handle new
20495 (disassemble-1): Handle new byte codes.
20497 * emacs-lisp/cl.el (pushnew): Silence warning.
20499 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20500 (cl-byte-compile-throw): Remove.
20501 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20503 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20506 * emacs-lisp/cconv.el: New file.
20508 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20509 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20510 (byte-compile-initial-macro-environment):
20511 Handle declare-function here.
20512 (byte-compile--lexical-environment): New var.
20513 (byte-stack-ref, byte-stack-set, byte-discardN)
20514 (byte-discardN-preserve-tos): New lap codes.
20515 (byte-interactive-p): Don't use any more.
20516 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20518 (byte-compile-lapcode): Use them and handle new lap codes.
20519 (byte-compile-obsolete): Remove.
20520 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20521 (byte-compile-arglist-warn): Check late def of inlinable funs.
20522 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20523 since they should have been expanded by now.
20524 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20525 (byte-compile-from-buffer): Remove unused second arg.
20526 (byte-compile-preprocess): New function.
20527 (byte-compile-toplevel-file-form): New function to distinguish
20528 file-form calls from outside from file-form calls from hunk-handlers.
20529 (byte-compile-file-form): Simplify.
20530 (byte-compile-file-form-defsubst): Remove.
20531 (byte-compile-file-form-defmumble): Simplify now that
20532 byte-compile-lambda always returns a byte-code-function.
20533 (byte-compile): Preprocess.
20534 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20535 Remove, not used any more.
20536 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20537 (byte-compile-make-args-desc): New funs.
20538 (byte-compile-lambda): Handle lexical functions. Always return
20539 a byte-code-function.
20540 (byte-compile-reserved-constants): New var, to make up room for
20541 closed-over variables.
20542 (byte-compile-constants-vector): Obey it.
20543 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20544 (byte-compile-macroexpand-declare-function): New function.
20545 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20546 byte-code-functions.
20547 (byte-compile-form): Check obsolescence here.
20548 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20549 (byte-compile-variable-ref): Remove.
20550 (byte-compile-dynamic-variable-op): New fun.
20551 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20552 (byte-compile-variable-set): New funs.
20553 (byte-compile-discard): Add 2 args.
20554 (byte-compile-stack-ref, byte-compile-stack-set)
20555 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20556 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20557 macroexpand-all instead.
20558 (byte-compile-quote-form): Remove.
20559 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20560 (byte-compile-bind, byte-compile-unbind): New funs.
20561 (byte-compile-let): Handle let* and lexical binding.
20562 (byte-compile-let*): Remove.
20563 (byte-compile-catch, byte-compile-unwind-protect)
20564 (byte-compile-track-mouse, byte-compile-condition-case):
20565 Handle a new :fun-body form, used for lexical scoping.
20566 (byte-compile-save-window-excursion)
20567 (byte-compile-with-output-to-temp-buffer): Remove.
20568 (byte-compile-defun): Simplify.
20569 (byte-compile-stack-adjustment): New fun.
20570 (byte-compile-out): Use it.
20571 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20573 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20576 * emacs-lisp/byte-opt.el: Use lexical binding.
20577 (byte-inline-lapcode): Remove (to bytecomp).
20578 (byte-compile-inline-expand): Pay attention to inlining to/from
20579 lexically bound code.
20580 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20582 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20583 any more and don't call compiler-macros.
20584 (byte-compile-splice-in-already-compiled-code): Remove.
20585 (byte-code): Don't inline any more.
20586 (disassemble-offset): Receive `bytes' as argument rather than via
20588 (byte-compile-tag-number): Declare before first use.
20589 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20590 `return' even if make-spliceable.
20591 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20592 obsolete interactive-p.
20593 (byte-optimize-lapcode): Optimize new lap-codes.
20594 Don't trip up on new form of `byte-constant' lap code.
20596 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20598 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20600 * custom.el (custom-initialize-default, custom-declare-variable):
20603 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20605 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20606 (COMPILE_FIRST): Add macroexp and cconv.
20607 * makefile.w32-in: Mirror changes in Makefile.in.
20609 * vc/cvs-status.el:
20613 * vc/smerge-mode.el:
20614 * textmodes/bibtex-style.el:
20615 * textmodes/css-mode.el:
20623 * emacs-lisp/smie.el:
20626 * abbrev.el: Use lexical binding.
20628 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20630 * info.el (info-display-manual): New function.
20632 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20634 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20636 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20638 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20639 an entry for that server in rcirc-authinfo. (Bug#8385)
20641 2011-03-31 Glenn Morris <rgm@gnu.org>
20643 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20645 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20647 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20649 * progmodes/python.el (python-default-interpreter)
20650 (python-python-command-args, python-jython-command-args)
20651 (python-which-shell, python-which-args, python-which-bufname)
20652 (python-file-queue, python-comint-output-filter-function)
20653 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20654 variables and functions.
20656 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20658 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20659 (completion-in-region-mode): New minor mode.
20660 (completion-in-region): Use it.
20661 (completion-in-region--data, completion-in-region-mode-map): New vars.
20662 (completion-in-region--postch): New function.
20663 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20665 (completion--capf-wrapper): New function.
20666 (completion-at-point): Use it to track well-behavedness of
20668 (completion-help-at-point): New command.
20670 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20672 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20673 syntax class to search for whitespace on a single line
20674 (Message-ID: <4D938140.4030905@redhat.com>).
20676 2011-03-30 Leo Liu <sdl.web@gmail.com>
20678 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20680 (edit-abbrevs-map): Bind them here.
20681 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20683 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20685 * allout.el (allout-hide-by-annotation, allout-flag-region):
20686 Reduce possibility of overlay leakage by making them volatile.
20688 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20689 hash is not shared between buffers. Mode initialization is
20690 responsible for giving it a useful starting value.
20691 (allout-item-span): Reduce possibility of overlay leakage by
20692 making them volatile.
20693 (allout-widgets-count-buttons-in-region): Add diagnostic function
20694 for tracking down button overlay leaks.
20696 2011-03-29 Leo Liu <sdl.web@gmail.com>
20698 * ido.el (ido-read-internal): Use the default history var
20699 minibuffer-history if no HISTORY is specified.
20701 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20703 * net/imap.el (imap-shell-open, imap-process-connection-type):
20704 Use imap-process-connection-type for 'shell' streams as well as
20705 Kerberos, SSL, other subprocesses.
20707 2011-03-28 Leo Liu <sdl.web@gmail.com>
20709 * abbrev.el (abbrev-table-empty-p): New function.
20710 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20711 nonempty ones. (Bug#5937)
20713 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20715 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20717 2011-03-27 Leo Liu <sdl.web@gmail.com>
20719 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20720 for foreground and background colors.
20721 (ansi-color-make-color-map): Adapt.
20723 2011-03-25 Leo Liu <sdl.web@gmail.com>
20725 * midnight.el (midnight-time-float): Remove. Note it calculates
20726 the microsecond component incorrectly and seconds-to-time does the
20728 Remove redundant (require 'timer).
20730 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20731 (ido-completions): Remove unused arguments. (Bug#8329)
20733 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20735 * minibuffer.el (completion--flush-all-sorted-completions):
20736 Remove itself from hook.
20737 (completion-at-point): Let the functions perform the completion
20738 immediately and return nil or t.
20739 * comint.el (comint-dynamic-complete-functions): Now identical to
20740 completion-at-point-functions.
20741 (comint-dynamic-list-input-ring): Remove unused var `index'.
20742 (comint--match-partial-filename, comint--unquote&expand-filename):
20743 New funs, split from comint-match-partial-filename.
20744 (comint-dynamic-complete): Use completion-at-point.
20745 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20747 2011-03-24 Drew Adams <drew.adams@oracle.com>
20749 * thingatpt.el: Support `defun'.
20751 2011-03-23 Leo Liu <sdl.web@gmail.com>
20753 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20755 * help-mode.el (help-mode-finish): Tweak regexp.
20757 2011-03-23 Glenn Morris <rgm@gnu.org>
20759 * eshell/esh-opt.el (eshell-eval-using-options):
20760 Do not bind unused local variable `eshell-option-stub'.
20762 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20764 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20766 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20767 keymap variable in `with-no-warnings' to avoid a warning when the
20768 keymap has been already `defconst'ed.
20770 2011-03-22 Leo Liu <sdl.web@gmail.com>
20772 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20773 encode all chars in abbrevs; otherwise use emacs-mule or
20774 utf-8-emacs. (Bug#8308)
20776 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20778 * simple.el (backward-delete-char-untabify):
20779 Avoid warning about using `delete-backward-char'.
20781 * image.el (image-type-file-name-regexps): Make it variable.
20782 `imagemagick-register-types' modifies it, and the user may want
20783 to add new extensions for known image types.
20784 (imagemagick-register-types): Throw error if not using ImageMagick.
20786 2011-03-22 Leo Liu <sdl.web@gmail.com>
20788 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20789 located before rcirc-prompt-end-marker.
20790 (rcirc-complete): Error if point is not after rcirc prompt.
20791 Handle the case when table is nil.
20792 (rcirc-user-authenticated): Define to fix compiler warning.
20794 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20796 * custom.el (custom--inhibit-theme-enable): Make it affect only
20797 custom-theme-set-variables and custom-theme-set-faces.
20798 (provide-theme): Ignore custom--inhibit-theme-enable.
20799 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20800 (custom-enabling-themes): Delete variable.
20801 (enable-theme): Accept only loaded themes as arguments.
20802 Ignore the special custom-enabled-themes variable.
20803 (custom-enabled-themes): Forbid themes from setting this.
20804 Eliminate use of custom-enabling-themes.
20805 (custom-push-theme): Quote "changed" custom var entry.
20807 2011-03-21 Leo Liu <sdl.web@gmail.com>
20809 * ido.el (ido-read-internal): Add ido-selected to history instead
20812 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20814 * subr.el (deferred-action-list, deferred-action-function):
20817 2011-03-21 Leo Liu <sdl.web@gmail.com>
20819 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20820 change on 2011-02-13 (bug#8309).
20822 * minibuffer.el (read-file-name-function): Change default value.
20823 (read-file-name--defaults): Rename from read-file-name-defaults.
20824 (read-file-name-default): Rename from read-file-name.
20825 (read-file-name): Call read-file-name-function.
20827 2011-03-21 Glenn Morris <rgm@gnu.org>
20829 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20832 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20834 * cus-theme.el: Add missing provide statement.
20835 (customize-create-theme): Extract theme value correctly.
20836 (custom-theme-visit-theme): Autoload.
20837 (customize-create-theme): Prompt before inserting default faces.
20839 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20841 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20842 units and musical notes.
20844 2011-03-20 Leo Liu <sdl.web@gmail.com>
20846 * ido.el (ido-read-internal): Use completing-read-default.
20847 (ido-completing-read): Fix compatibility with completing-read.
20849 2011-03-20 Christian Ohler <ohler@gnu.org>
20851 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20852 (ert-delete-all-tests): Use `called-interactively-p' rather than
20854 (ert--make-xrefs-region): Respect END.
20856 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20858 * dired-aux.el (dired-create-directory): Signal an error if the
20859 directory already exists (Bug#8246).
20861 * facemenu.el (list-colors-display): Call list-faces-display
20862 inside with-help-window.
20863 (list-colors-print): Use display property to align the final
20864 column, instead of checking window-width.
20866 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20868 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20869 windows-nt systems.
20870 (emerge-protect-metachars): Quote correctly for ms-dos and
20871 windows-nt systems.
20873 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20875 * info.el (info-initialize): Replace all uses of `:' with
20876 path-separator for compatibility with non-Unix systems.
20877 Cache quoting of path-separator. (Bug#8258)
20879 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20881 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20882 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20883 (mouse-avoidance-mode): Fix typos in docstrings.
20885 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20887 * startup.el (package-subdirectory-regexp): Move from package.el.
20888 Omit \\` and \\', and let callers add them.
20890 * emacs-lisp/package.el (package-strip-version)
20891 (package-load-all-descriptors): Add \\` and \\' to
20892 package-subdirectory-regexp before using it.
20893 (package-untar-buffer): New arg DIR; ensure that file untars only
20894 into this expected directory. Remove superfluous delete-region.
20895 (package-unpack): Caller changed.
20896 (package-tar-file-info): Use package-subdirectory-regexp.
20898 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20900 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20901 diff-mode-shared-map (bug#8284).
20902 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20904 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20906 * calendar/time-date.el (format-seconds): Use assoc instead of
20907 assoc-string, since assoc-string doesn't exist in XEmacs.
20909 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20911 * custom.el (custom-known-themes): Reflow docstring.
20912 (custom-theme-load-path): Fix typo in docstring.
20913 (load-theme): Fix typo in error message.
20914 (custom-available-themes, custom-variable-theme-value):
20915 Use `let', not `let*'.
20917 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20919 * calc/README: Mention inclusion of musical notes.
20921 * calc/calc-units.el (calc-lu-quant): Rename from
20922 `calc-logunits-quantity'.
20923 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20924 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20925 (calc-db): Rename from `calc-dblevel'.
20926 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20927 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20928 (calc-np): Rename from `calc-nplevel'.
20929 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20930 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20931 (calc-lu-plus): Rename from `calc-logunits-add'.
20932 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20933 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20934 (calc-lu-minus): Rename from `calc-logunits-sub'.
20935 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20936 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20937 (calc-lu-times): Rename from `calc-logunits-mul'.
20938 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20939 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20940 (calc-lu-divide): Rename from `calc-logunits-div'.
20941 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20942 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20944 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20945 functions being autoloaded.
20947 * calc/calc.el (calc-lu-power-reference): Rename from
20948 `calc-logunits-power-reference'.
20949 (calc-lu-field-reference): Rename from
20950 `calc-logunits-field-reference'.
20952 * calc/calc-help.el (calc-l-prefix-help):
20953 Mention musical note functions.
20955 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20957 * minibuffer.el (completion-all-sorted-completions):
20958 Use :completion-cycle-penalty text property if present.
20960 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20962 * allout.el (allout-yank-processing): Adjust for new rebulleting
20963 regime so bullet being yanked is used without prompting the user
20966 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20968 * startup.el (command-line): Warn the user that _emacs is deprecated.
20970 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20972 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20973 (delphi-verbose, delphi-comment-face, delphi-string-face)
20974 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20975 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20976 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20977 (delphi-new-comment-line, delphi-font-lock-defaults)
20978 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20979 Fix typos in docstrings.
20981 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20983 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20984 Invert the roles of character and string values for INSTEAD, so a
20985 string is used for the more common case of a defaulting prompt.
20987 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20989 * progmodes/ruby-mode.el (ruby-backward-sexp):
20990 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20991 * play/gamegrid.el (gamegrid-make-face):
20992 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20993 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20994 * notifications.el (notifications-notify):
20995 * net/xesam.el (xesam-search-engines):
20996 * net/quickurl.el (quickurl-list-insert):
20997 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20999 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21001 * startup.el (command-line): Update package subdirectory regexp.
21003 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21005 * allout.el (allout-abbreviate-flattened-numbering)
21006 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21008 * subr.el (read-char-choice): Only show the cursor after the prompt,
21009 not after the answer.
21011 2011-03-15 Kevin Ryde <user42@zip.com.au>
21013 * help-fns.el (variable-at-point): Skip leading quotes, if any
21016 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21018 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21021 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21023 * shell.el (shell): When called interactively, offer to change the
21024 shell file name on remote hosts.
21026 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21028 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21029 integration for LDAP parameters. The host, base, user or binddn,
21030 and secret tokens can be specified in a netrc file, for instance.
21031 This is optional because an `auth-source' parameter must be
21032 specified in the search attributes.
21034 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21036 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21038 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21040 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21041 into declaration. Remove redundant and harmful binding.
21043 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21045 * files.el (file-ownership-preserved-p): Pass `integer' as an
21046 explicit 2nd argument to `file-attributes'. If the file's owner
21047 is the Administrators group on Windows, and the current user is
21048 Administrator, consider that a match.
21050 * server.el (server-ensure-safe-dir): Consider server directory
21051 safe on MS-Windows if its owner is the Administrators group while
21052 the current Emacs user is Administrator. Use `=' to compare
21053 numerical UIDs, since they could be integers or floats.
21055 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21057 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21059 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21061 Sync with Tramp 2.2.1.
21063 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21065 * net/trampver.el: Update release number.
21067 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21069 * progmodes/compile.el (compilation--previous-directory): Fix up
21070 various nil/dead-marker mismatches (bug#8014).
21071 (compilation-directory-properties, compilation-error-properties):
21072 Don't call it at a position past the one we're about to change.
21074 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21075 Disable obsolescence warnings in the file that declares it.
21077 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21079 * allout-widgets.el (allout-widgets-tally):
21080 Initialize allout-widgets-tally as a hash table rather than nil to
21081 prevent mode-line redisplay warnings. Also, clarify the module
21082 description and fix a comment typo.
21084 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21086 * help-fns.el (describe-variable): Don't complete keywords.
21087 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21089 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21091 * emacs-lisp/package.el (package-version-join): Impose a standard
21092 string representation for pre/alpha/beta version lists.
21093 (package-unpack-single): Standardize the directory name by passing
21094 it through package-version-join.
21095 (package-strip-rcs-id): Accept any version string that does not
21096 signal an error in version-to-list.
21098 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21100 * simple.el (delete-trailing-whitespace): Return nil for the
21101 benefit of `write-file-functions'.
21103 2011-03-10 Glenn Morris <rgm@gnu.org>
21105 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21107 * vc/vc-git.el (vc-git-program): New option.
21108 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21109 (vc-git--call): Use it.
21111 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21113 * cus-edit.el (Custom-newline): If no button at point, look
21114 for a subgroup button at start-of-line. (Bug#2298)
21116 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21118 2011-03-10 Julien Danjou <julien@danjou.info>
21120 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21121 `cursor-type' is nil.
21123 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21125 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21127 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21129 * allout.el: Change so yank of distinctive-bullet items
21130 preserves the existing header prefix, rebulleting it if necessary,
21131 rather than replacing it. This is necessary for proper operation
21132 of cooperative addons like allout-widgets.
21133 (allout-make-topic-prefix, allout-rebullet-heading):
21134 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21135 value as alternate bullet to be used, instead of prompting the user
21136 for a bullet character.
21138 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21141 Do not use `tramp-file-name-port', because this returns also
21142 `tramp-default-port'.
21144 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21146 * net/rcirc.el (rcirc-handler-001): Remove useless
21147 with-rcirc-process-buffer.
21148 (rcirc-check-auth-status): Swap arguments to string-match.
21150 2011-03-09 Glenn Morris <rgm@gnu.org>
21152 * shell.el (shell-mode):
21153 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21155 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21156 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21158 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21160 * emacs-lisp/package.el (package-refresh-contents)
21161 (package-menu-execute): Use condition-case-no-debug.
21163 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21165 * simple.el (shell-command-to-string): Use `process-file'.
21167 * emacs-lisp/package.el (package-tar-file-info): Handle also
21170 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21171 Use `equal' for upload base check.
21173 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21175 * textmodes/texinfo.el (texinfo-environments):
21176 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21178 2011-03-08 Glenn Morris <rgm@gnu.org>
21180 * cus-start.el (cursor-in-non-selected-windows):
21181 Fix :set quoting oddness. (Bug#8192)
21183 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21184 in some setf expressions. (Bug#2159)
21186 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21188 * custom.el (custom-available-themes): Return themes in
21189 alphabetical order.
21191 See ChangeLog.15 for earlier changes.
21193 ;; Local Variables:
21197 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21199 This file is part of GNU Emacs.
21201 GNU Emacs is free software: you can redistribute it and/or modify
21202 it under the terms of the GNU General Public License as published by
21203 the Free Software Foundation, either version 3 of the License, or
21204 (at your option) any later version.
21206 GNU Emacs is distributed in the hope that it will be useful,
21207 but WITHOUT ANY WARRANTY; without even the implied warranty of
21208 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21209 GNU General Public License for more details.
21211 You should have received a copy of the GNU General Public License
21212 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.